/* =======================
   FONT FACES
   ======================= */
@font-face {
  font-family: 'Ayuthaya';
  src: url('../fonts/Ayuthaya.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Libre';
  src: url('../fonts/Barlow-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* =======================
   BASE / LAYOUT
   ======================= */
.row { flex-wrap: nowrap; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f3ece8;
  margin: 0;
  padding: 0;
  font-family: 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html, body { overflow-x: hidden; }

.main-container {
  background: black;
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  animation: wipeDown 1s cubic-bezier(0.42, 0, 1, 1) forwards;
  will-change: clip-path;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  height: auto;
}

.boxed-layout { max-width: 1180px; width: 100%; margin: 0 auto; }
.main-section { padding: 50px 20px 0px 20px; }
@media (min-width: 768px) { .main-section { padding: 50px 70px 0px 70px; } }
/* @media (min-width: 768px) { .main-section { padding: 50px 20px 0px 20px; } } */

@keyframes wipeDown {
  from { -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); }
  to   { -webkit-clip-path: inset(0 0 0 0);    clip-path: inset(0 0 0 0); }
}

.logo { width: 40px; }
@media (min-width: 768px) { .logo { width: 50px; } }

/* =======================
   HERO TYPOGRAPHY
   ======================= */
.headline {
  font-family: 'Ayuthaya';
  font-weight: 600;
  font-size: 36px;
  color: white;
  letter-spacing: 2px;
  line-height: 90%;
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  -webkit-clip-path: inset(100% 0 0 0);
  clip-path: inset(100% 0 0 0);
  animation: revealText 1s linear forwards;
  will-change: opacity, transform, clip-path;
}
@media (min-width: 768px) { .headline { font-size: 50px; } }
/* @media (min-width: 1024px) { .headline { font-size: 50px; } } */
.headline-1 { animation-delay: 2s; }
.headline-2 { animation-delay: 2.5s; }
.headline-3 { animation-delay: 2.75s; }

@keyframes revealText {
  0% { opacity: 0; transform: translate3d(0, 100%, 0); clip-path: inset(100% 0 0 0); }
  100%{ opacity: 1; transform: translate3d(0, 0, 0);   clip-path: inset(0 0 0 0); }
}

.cta { display:flex; flex-direction: row; align-items: center; gap: 10px; }

.paragraph {
  font-family: 'Libre';
  font-size: 16px;
  line-height: 25px;
  font-weight: 300;
  color: white;
  opacity: 0;
  animation: fadeIn 1s ease-out 4.75s forwards;
  margin-top: 0px !important;
}
.paragraphblack {
  font-family: 'Libre';
  font-size: 17px;
  line-height: 22px;
  font-weight: 300;
  color: rgb(0, 0, 0);
  opacity: 0;
  animation: fadeIn 1s ease-out 4.75s forwards;
}
@media (min-width: 768px) { .paragraph { font-size: 20px; } }
/* @media (min-width: 1025px) { .paragraph { font-size: 20px; } } */

/* Inline “arrow” after hero body copy — links to About */
.olo-hero__about-arrow {
  display: inline-block;
  margin-left: 0.2em;
  text-decoration: none;
  color: inherit;
  font-family: 'Ayuthaya', 'Libre', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1;
  vertical-align: baseline;
  cursor: pointer;
  transition: color 0.2s ease;
}
.olo-hero__about-arrow:hover,
.olo-hero__about-arrow:focus-visible {
  color: #e7168b;
  outline: none;
}
.olo-hero__about-arrow:focus-visible {
  outline: 2px solid #e7168b;
  outline-offset: 2px;
}

.olo-hero__lottie-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  line-height: 0;
}
.olo-hero__lottie-link:focus-visible {
  outline: 2px solid #e7168b;
  outline-offset: 4px;
  border-radius: 4px;
}

.second-paragraph {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: white;
  opacity: 0;
  animation: fadeIn 1s ease-out 5s forwards;
}

@media (min-width: 768px) {
/* @media (min-width: 900px) { */
  .col-md-5 {
    flex: 0 0 auto; width: 41.66666667%;
    display: flex; height: 530px; flex-direction: column; justify-content: flex-end;
  }
}
@media (min-width: 768px) {
  .second-paragraph { font-size: 15px; line-height: 20px; }
}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.right-content { padding-top: 0px; margin-top: 20px; }
@media (min-width: 768px) { .right-content { margin-top: 0; } }

.second-container { background-color: #c3b795; }
.second-section { padding: 20px 20px 0px 20px; }
@media (min-width: 768px) { .second-section { padding: 20px 70px 0px 70px; } }

.pink-headline {
  font-weight: 600; font-size: 20px; color: #e7168b; opacity: 0;
  -webkit-clip-path: inset(100% 0 0 0); clip-path: inset(100% 0 0 0);
  animation: revealFromBottom 1s ease-in forwards; animation-delay: 4.5s;
}
@media (min-width: 768px) { .pink-headline { font-size: 22px; } }

@keyframes revealFromBottom {
  0% { opacity: 0; transform: translate3d(0, 100%, 0); clip-path: inset(100% 0 0 0); }
  100%{ opacity: 1; transform: translate3d(0, 0, 0);   clip-path: inset(0 0 0 0); }
}

.black-copy { font-size: 14px; line-height: 18px; color: black; opacity: 0; animation: fadeIn 1s ease-out 4.5s forwards; }
@media (min-width: 768px) { .black-copy { font-size: 16px; line-height: 20px; } }

.grey-text { font-size: 14px; color: lightgrey; opacity: 0; animation: fadeIn 2s ease-out 4.5s forwards; }
@media (min-width: 768px) { .grey-text { font-size: 15px; } }

.company-description {
  font-weight: 700; text-align: center; font-size: 14px; line-height: 20px; color: #000;
  opacity: 0; animation: fadeIn 0.5s ease-in 10s forwards;
}
@media (min-width: 768px) { .company-description { font-size: 16px; line-height: 24px; } }

.copyright {
  opacity: 0; font-size: 11px; color: #f2ecdc; animation: fadeIn 1s ease-out 5.25s forwards; margin-top: 20px; text-align: center;
}
@media (min-width: 768px) { .copyright { font-size: 12px; text-align: left; } }

/* Modal (generic) */
.modal-content { background-color: #222; border-radius: 10px; border: 1px solid #444; }
.modal-header { border-bottom: 1px solid #444; }
.modal-footer { border-top: 1px solid #444; }
.modal-title { color: #e7168b; }
.form-control { background-color: #333; border: 1px solid #555; color: #fff; }
.form-control:focus { background-color: #444; border-color: #e7168b; color: #fff; box-shadow: 0 0 0 0.25rem rgba(231, 22, 139, 0.25); }
.form-control::placeholder { color: #aaa; }
.modal-submit-btn { background-color: #e7168b; border: none; color: white; border-radius: 20px; transition: background-color 0.3s; margin-bottom: 10px; }
.modal-submit-btn:hover { background-color: #c41476; }
.modal-close-btn { color: #aaa; border: 1px solid #444; border-radius: 20px; transition: all 0.3s; }
.modal-close-btn:hover { color: #fff; border-color: #666; }
.success-message { display: none; color: #4bb543; text-align: center; margin-top: 10px; }

/* Mobile specific styles */
@media (max-width: 767.98px) {
  .btn-group-mobile { display: flex; flex-direction: column; width: 100%; }
  .btn-group-mobile .btn { margin-bottom: 10px; width: 100%; }
  .modal-dialog { margin: 10px; max-width: calc(100% - 20px); }
}

/* Safari-specific fixes */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    .main-container, .headline, .paragraph, .second-paragraph, .pink-headline, .black-copy, .grey-text,
    .contact-button, .circular-image, .contact-link, .company-description, .copyright {
      -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
    }
  }
}

#lottieInline {
  max-width: 600px; width: 100%; display: block; height: 650px !important; overflow: hidden;
}
@media (min-width: 768px) {
  #lottieInline { margin-bottom: -120px; margin-top: -120px; overflow: auto; }
}

.contact-link { opacity: 0; animation: fadeIn 1s ease-out 5.25s forwards; }
.contact-link a { color: #ded3b4; text-decoration: none; }
.contact-link a:hover { color: #ffffff; text-decoration: underline; }

/* =======================
   HERO STRIP
   ======================= */
.olo-hero{
  background: #f3ece8 !important;
  margin-bottom: 15px;
  min-width: auto;
  opacity: 0;
  --bg: #f3ece800;
  --ink: #232323;
  --muted: #a7a1a1;
  --accent: #c41476;
  --accent-press:#c41476;
  background: var(--bg);
  color: var(--ink);
  animation: fadeIn 1s ease-out 5s forwards;
}
.olo-hero__wrap{
  max-width: 1180px; margin: 0 auto; padding: 20px 20px 0px 20px;
  /* max-width: 1240px; margin: 0 auto; padding: 20px 20px 0px 20px; */
  animation: fadeIn 1s ease-out 5s forwards; display: flex; flex-wrap: nowrap;
}
@media (min-width: 768px) { .olo-hero__wrap { padding: 20px 70px 0px 70px; } }
/* @media (min-width: 768px) { .olo-hero__wrap { padding: 50px 20px 0px 20px; } } */

.olo-hero__title{
  font-family: 'Libre';
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 5px;
  line-height: 1.15;
  color: var(--accent);
}
.olo-hero__brand{ color: var(--accent); font-weight: 800; }
.olo-hero__lede{ margin: 0 0 14px; font-size: clamp(16px, 2vw, 22px); line-height: 1.5; }
.olo-hero__note{ margin: 0 0 14px; font-size: 18px; color: var(--muted); }

.olo-hero__cta{
  display: inline-block; background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 999px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .20em; font-size: 10px; text-decoration: none;
  box-shadow: 0 4px 12px #e0129325; transition: transform .06s ease, background .12s ease;
}
.olo-hero__cta:active{ transform: translateY(1px); background: var(--accent-press); }
.olo-hero__logo { height: 130px; }

@media (max-width: 860px){
  .olo-hero__wrap{ 
    /* flex-direction: column-reverse;  */
    gap: 5px;
  }
  .row { flex-direction: column; }
  .olo-hero__art{ order: -1; }
  /* #lottieInline { height: 425px !important; } */
  .olo-hero__logo{ width: 46vw; max-width: 320px; }
dotlottie-wc { padding-left: 0; display: block; margin: 0 auto; }}

/* ================================
   PORTFOLIO GRID
   ================================ */
.portfolio{ background:#f3ece8; padding:10px 0 40px; }
.portfolio__wrap{ max-width:1180px; margin:0 auto; padding:0 20px; }
/* .portfolio__wrap{ max-width:1240px; margin:0 auto; padding:0 20px; } */
@media (min-width:768px){ .portfolio__wrap{ padding:0 70px; } }
/* @media (min-width:768px){ .portfolio__wrap{ padding:0 20px; } } */

.portfolio__grid{
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  grid-auto-flow: dense;
}
/* .portfolio__grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
@media (max-width:1100px){ .portfolio__grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:860px){ .portfolio__grid{ grid-template-columns:repeat(2,1fr); } } */

.portfolio__item {
  position:relative; display:block; overflow:hidden; 
  /* background:#111; */
  box-shadow:0 3px 10px rgba(0,0,0,.08); transition:transform .12s ease, box-shadow .12s ease; cursor: pointer;
}

.portfolio__item.tall {grid-column: span 1; grid-row: span 2;}
.portfolio__item.wide {grid-column: span 2; grid-row: span 1;}
/* .portfolio__item{
  position:relative; display:block; border-radius:6px; overflow:hidden; background:#111;
  box-shadow:0 3px 10px rgba(0,0,0,.08); transition:transform .12s ease, box-shadow .12s ease; cursor: pointer;
} */
.portfolio__item:hover{ transform:translateY(-1px); box-shadow:0 8px 18px rgba(0,0,0,.12); }

/* Manual grid tiles with noLink — no modal; default cursor, no lift on hover */
.portfolio__item--static {
  cursor: default;
}
.portfolio__item--static:hover {
  transform: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
/* .portfolio__img{ width:100%; height:100%; object-fit:cover; aspect-ratio:1/1; display:block; } */
.portfolio__img {width: 100%; height: 100%; object-fit: cover;display:block;}

/* ================================
   EXACT POPUP PANEL (Modal)
   ================================ */
.deck-modal .modal-dialog{
  width: min(900px, calc(100vw - 40px));
  max-width: 900px;
  margin:1.5rem auto;
}
.deck-modal .modal-content{
  display:grid; grid-template-rows:auto 1fr;
  background:radial-gradient(180% 120% at 50% 10%, #eef1f6 0%, #e7ebf2 40%, #e3e7ee 100%);
  border:0; border-radius:10px; color:#232323;
  box-shadow:0 24px 60px rgba(0,0,0,.25);
  overflow: visible; /* allow close button to sit outside panel */
}

/* Header */
.deck-modal__head{ display:flex; justify-content:space-between; align-items:flex-start; padding:18px 24px 0; }
.deck-modal__title{
  margin:0;
  font-family:'Ayuthaya';
  font-weight:600;
  font-size:28px;
  letter-spacing:.12em;
  color:#343434;
}
.deck-modal__subtitle{ margin-top:6px; }
.deck-modal__subtitle span{
  display:block; font-family:'Libre'; font-weight:600; color:#555; font-size:16px; line-height:1.2;
}
.deck-modal__subtitle em{
  display:block; font-family:'Libre'; font-style:italic; color:#555; font-size:16px; line-height:1.2;
}
.deck-modal__next{
  border:0; background:transparent; color:#9aa0a6; font-family:'Libre';
  font-weight:800; letter-spacing:.22em; font-size:12px; text-transform:uppercase;
  cursor:pointer;
}

/* Body */
.deck-modal__body{ position:relative; padding:12px 24px 34px; overflow:hidden; display:flex; flex-direction:column; }

/* Big chevrons */
.deck-arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:110px; height:110px; opacity:.35; background:transparent; border:0; z-index:40;
}
.deck-arrow--prev{ left:18px; }
.deck-arrow--next{ right:18px; }
.deck-arrow::before{
  content:""; position:absolute; inset:0; margin:auto; width:52px; height:52px; border:3px solid #a5a9b1;
  border-top-color:transparent; border-right-color:transparent; transform:rotate(45deg);
}
.deck-arrow--next::before{ transform:rotate(-135deg); }

/* Carousel internals */
.deck-modal .carousel-item img{ width:100%; height:100%; object-fit:cover; }
.deck-modal .carousel-indicators{
  position:static; margin-top:18px; display:flex; gap:12px; justify-content:center;
}
.deck-modal .carousel-indicators [data-bs-target]{
  width:10px; height:10px; border-radius:50%; background:transparent; border:2px solid #a5a9b1; opacity:1; box-shadow:none;
}
.deck-modal .carousel-indicators .active{ background:#a5a9b1; }

/* Safety responsive adjustments */
@media (max-width:1380px), (max-height:710px){
  .deck-modal .modal-dialog{ width:calc(100vw - 24px); }
  .deck-modal .modal-content{ height:auto; }
}

/* ================================
   REAL DEVICE FRAME (Mac image)
   ================================ */
.device{
  position: relative;
  /* width: min(100%, 500px); */
  margin-inline: auto;
}
.device__frame{
  position: relative;
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
  user-select:none;
  z-index:1;           
}
.device__screen{
  position:absolute;
  left: var(--screen-left, 8.5%);
  top: var(--screen-top, 10.5%);
  width: var(--screen-width, 83%);
  height: var(--screen-height, 60%);
  overflow:hidden;
  /* border-radius: var(--screen-radius, 12px); */
  /* background:#000; */
  /* box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset; */
  z-index:2;
  background: transparent;
  box-sizing: content-box;
  padding-bottom: 140px;
}
.device__screen .carousel,
.device__screen .carousel-inner,
.device__screen .carousel-item{ width:100%; height:100%; }
.device__screen .carousel-item img{
  width:100%; height:100%; object-fit: contain; background:#000;
}
/* .device__screen .carousel-indicators{ margin:0; bottom:.5rem; } */
.device__screen .carousel-indicators{ margin:0; bottom:.5rem; position: absolute; bottom: -140px;}


/*-------- Logo SLider --------*/
.logo-modal__body .device__screen {
  position: relative;
  overflow: hidden;
  height: 400px;
}
.logo-modal__body .device__screen .carousel-item img{
  width:100%; height:100%; object-fit: contain; background: transparent;
}

/*-------- Tablet Modal Popup --------*/
.tablet-modal__body {
  padding-bottom: 50px;
}
.tablet-modal__body .device__screen {
  height: 80%;
}
.tablet-modal__body .device__screen .carousel-item img{
  width:100%; height:100%; object-fit: contain; background: transparent;
}

/*-------- Dynamic Modal Body --------*/
.dynamic-modal__body {
  position: relative;
  padding: 12px 24px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.device-container > .device {
  display: block;
  margin: 0 auto;
}

/* Plain viewer (no device frame) - used for brochures like Caesars, BJK */
.device-container.device-plain {
  flex-direction: column;
  padding: 20px;
}
.device-container.device-plain .plain-viewer {
  width: 100%;
  max-width: 600px;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.device-container.device-plain .plain-viewer .carousel,
.device-container.device-plain .plain-viewer .carousel-inner {
  width: 100%;
  height: 100%;
}
.device-container.device-plain .plain-viewer .carousel-item {
  width: 100%;
  text-align: center;
}
.device-container.device-plain .plain-viewer .carousel-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: transparent;
  margin: 0 auto;
  display: block;
}

/* External indicators (only for flagged projects, e.g., Live Nation) */
.device-container.has-external-indicators {
  flex-direction: column;
  gap: 16px;
}
.device-container .device-indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.device-container .device-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #a5a9b1;
  opacity: 1;
  padding: 0;
}
.device-container .device-indicators button.active {
  background: #a5a9b1;
}

/* Device type: none (for logos) */
.device-container.device-none {
  padding: 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  min-height: 500px;
}

.device-container.device-none .logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.device-container.device-none .logo-info h3 {
  font-family: 'Ayuthaya', serif;
  font-size: 28px;
  font-weight: bold;
  color: #343434;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.device-container.device-none .logo-info p {
  font-family: 'Libre', sans-serif;
  font-size: 16px;
  color: #666;
  margin: 0;
  font-style: italic;
}

.device-container.device-none .device__screen {
  position: relative;
  overflow: hidden;
  height: 500px;
  width: 100%;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-container.device-none .carousel {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-container.device-none .carousel-inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-container.device-none .carousel-item {
  height: 100%;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
}

.device-container.device-none .carousel-item img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}

/* Hide carousel indicators for logos */
.device-container.device-none .carousel-indicators {
  display: none !important;
}

/* Device type: tablet */
.device-container.device-tablet {
  padding-bottom: 50px;
}

.device-container.device-tablet .device {
  /* Exact cutout from `images/screen/tablet.png` transparent screen hole */
  /* Add a tiny bleed to hide anti-aliased edge pixels (prevents thin gaps) */
  --screen-bleed: 0.45%;
  --screen-left: calc(5.931% - var(--screen-bleed));
  --screen-top: calc(9.0072% - var(--screen-bleed));
  --screen-width: calc(88.2069% + 0.9%);
  --screen-height: calc(81.781% + 0.9%);
  --screen-radius: 10px;
  overflow: hidden; /* hard-clip so slides never render outside the tablet frame */
  width: min(100%, 500px); /* tablet-only width cap */
}

.device-container.device-tablet .device__screen {
  height: var(--screen-height);
  /* Tablet-only: keep the slide strictly inside the device screen (no spill outside frame) */
  padding-bottom: 0;          /* base .device__screen reserves space for indicators; tablet hides them */
  box-sizing: border-box;     /* avoid content-box padding changing the screen's visible size */
  border-radius: var(--screen-radius);
  z-index: 1;                 /* keep screen under the frame */
}

.device-container.device-tablet .device__frame {
  z-index: 2;
}

.device-container.device-tablet .device__screen .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* Device type: laptop (MacBook) - updated for laptopSilo1.2shad.png */
.device-container.device-laptop .device {
  /* Exact cutout from `images/screen/laptopSilo1.2shad.png` transparent screen hole (no bleed = no spill) */
  --screen-left: 15%;
  --screen-top: 12%;
  --screen-width: 70%;
  --screen-height: 50%;
  --screen-radius: 10px;
  overflow: hidden; /* hard-clip so slides never render outside the laptop frame */
}

.device-container.device-laptop .device__screen {
  height: var(--screen-height);
  padding-bottom: 0;
  box-sizing: border-box;
  border-radius: var(--screen-radius);
  z-index: 1;
}

.device-container.device-laptop .device__frame { z-index: 2; }

.device-container.device-laptop .device__screen .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make deck modal laptop carousel respect contentGaps padding */
.device-container.device-laptop .device__screen.has-content-gaps {
  padding-bottom: 0 !important;
  height: var(--screen-height) !important;
  min-height: var(--screen-height);
}

.device-container.device-laptop .device__screen.has-content-gaps .carousel {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  min-height: 100%;
}

.device-container.device-laptop .device__screen.has-content-gaps .carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 100%;
}

.device-container.device-laptop .device__screen.has-content-gaps .carousel-item {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 100%;
}

/* Make laptop images respect contentGaps padding - use contain instead of cover */
.device-container.device-laptop .device__screen.has-content-gaps .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  position: relative;
  min-height: 100%;
}

/* Device type: imac */
.device-container.device-imac .device {
  overflow: hidden;
  background: transparent; /* don't show black outside device */
}

/* Device type: frame (asurion) */
.device-container.device-frame .device {
  /* screen.png inner border bbox (auto-detected) */
  /* Stable cutout (no bleed): prevents bezel/black area changes between slides */
  --screen-left: 24.5229%;
  --screen-top: 19.0476%;
  --screen-width: 50.9065%;
  --screen-height: 61.0301%;
  --screen-radius: 0px;
  overflow: hidden;
  /* Bigger Asurion frame preview */
  width: min(100%, 900px);
  max-height: 520px;
  aspect-ratio: 2096 / 1029; /* prevents first-open layout jump before image load */
}

/* Frame: Fixed dimensions for carousel to prevent ANY size change during slide */
.device-container.device-frame .device__screen{
  padding-bottom: 0;
  box-sizing: border-box;
  border-radius: var(--screen-radius);
  background: #fff;
  /* Force fixed dimensions */
  overflow: hidden;
}
.device-container.device-frame .device__screen .carousel {
  width: 100% !important;
  height: 100% !important;
  position: relative;
}
.device-container.device-frame .device__screen .carousel-inner {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}
.device-container.device-frame .device__screen .carousel-item {
  width: 100% !important;
  height: 100% !important;
  /* Disable any scale transform during slide - only allow translateX */
  backface-visibility: hidden;
}
/* Frame: keep image stable (no zoom/scale), fixed size */
.device-container.device-frame .device__screen .carousel-item img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background: transparent;
  /* Prevent any transform on the image itself */
  transform: none !important;
  /* Prevent size recalculation */
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.device-container.device-frame .device__frame{ z-index: 2; }
.device-container.device-frame .device__screen{ z-index: 1; }

/* iMac: keep screen behind the frame so nothing appears on top of the bezel/stand */
.device-container.device-imac .device__frame { z-index: 2; }
.device-container.device-imac .device__screen { z-index: 1; }

/* iMac: remove base indicator padding from the shared .device__screen */
.device-container.device-imac .device__screen {
  /* iMac: fixed screen rectangle (reliable across browsers) */
  left: 4.2857%;
  top: 5.3715%;
  width: 91.3929%;
  height: 64.3688%;
  padding-bottom: 0;
  box-sizing: border-box;
  background: #000; /* screen backing */
  overflow: hidden;
}

.device-container.device-imac .device__screen .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1025px) {
  .portfolio__grid{
    grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.olo-hero {
    margin-bottom: 10px;
}

.olo-hero__note {
    margin: 0 0 0px;
}
}

@media screen and (max-width: 900px) {
  .portfolio__grid{
grid-template-columns: repeat(3, 1fr)
}

}

@media screen and (max-width: 600px) {
  .portfolio__grid{
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.hero_paragraph {
    padding-bottom: 40px !important;
}
}

@media screen and (max-width: 479px) {
  .portfolio__grid{
  grid-template-columns: repeat(0, 1fr);
  gap: 10px;
}

}