/* ─────────────────────────────────────────────
   index.css — Homepage Page-Specific Styles
   Design: Figma node 699:325
   ───────────────────────────────────────────── */

/* ─── HERO CONTAINER ───────────────────────── */

.hero-container {
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* ─── HERO COVER PHOTO ─────────────────────── */

.hero-cover {
  position: absolute;
  top: 809px;          /* figma crew group 1256:588 (y=809) */
  /* Centered + enlarged so it fills the width on wide screens.
     margin:auto centering (not transform) keeps the GSAP translateY parallax intact. */
  left: 0;
  right: 0;
  margin-inline: auto;
  width: calc(100% - var(--gutter) * 2);
  max-width: 1500px;
  aspect-ratio: 1159 / 463;
  z-index: var(--z-cover);
  pointer-events: none;
}

.hero-cover__img {
  width: 100%;
  height: 100%;
  /* crew composite is a transparent cutout — show it whole, no crop */
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* ─── HERO "LET'S TALK" CTA ─────────────────── */

.hero-lets-talk {
  position: fixed;
  right: clamp(18px, 2.2vw, 34px);
  bottom: clamp(18px, 2.2vw, 34px);
  width: clamp(88px, 8.75vw, 126px);
  height: clamp(88px, 8.75vw, 126px);
  z-index: calc(var(--z-nav) + 2);
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-lets-talk:hover { transform: scale(1.07) rotate(15deg); }

.hero-lets-talk img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── SIMPLIFIED MOBILE HERO (≤600px only) ─────────────
   The desktop KMC+ · BETA lockup is a wide, layered composition that can't hold
   its annotations at phone widths, so on small screens we hide it and show a
   clean stacked wordmark + tagline instead (cover photo flows below). ── */
.hero-mobile {
  display: none;
}

/* ─── NO ADS / BUT STORIES — FULLSCREEN POSTER ─── */

.stories-section {
  position: relative;
  background: #C21F1F;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(4px, 1vh, 16px);
  padding: 0 clamp(16px, 2vw, 32px);
  overflow: hidden;
}

/* ── Shared typography base ── */
.stories-row-1,
.stories-row-2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-fustat);
  font-weight: 200;
  font-size: clamp(72px, 13.2vw, 170px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #F4F3EF;
  margin: 0;
}

/* ── Row 1: NO [capsule] ADS ── */
.stories-row-1 {
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 32px);
  overflow: visible;
  align-items: flex-end;
}

.stories-no,
.stories-ads,
.stories-but {
  margin: 0;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: #f4f3ef;
  text-transform: inherit;
}

.stories-no {
  margin-left: -0.07em;
}

.stories-ads {
  margin-left: -0.03em;
}

/* Vertical capsule window between NO and ADS */
.stories-capsule {
  border: 0;
  background: none;
  padding: 0;
  display: inline-block;
  width: clamp(14px, 1.2vw, 18px);
  height: clamp(150px, 15vw, 200px);
  border-radius: 999px;
  overflow: hidden;
  cursor: default;
  position: relative;
  align-self: flex-end;
  transform: translateY(0);
}

.stories-capsule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  display: block;
}

.stories-capsule__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
}

.stories-capsule.is-open img {
  opacity: 0;
}

.stories-capsule.is-open .stories-capsule__video {
  opacity: 1;
}

/* ── Row 2: BUT ←→ STORIES ── */
.stories-row-2 {
  align-items: flex-start;
}

.stories-but {
  margin-left: -0.07em;
}

/* ── Right-side info block (SVG: L-arrow + See The Works + tag) ── */
.stories-info {
  position: absolute;
  right: clamp(16px, 2.5vw, 40px);
  bottom: 10vh;
  width: clamp(140px, 22vw, 320px);
  will-change: transform;
}

.stories-info a {
  display: block;
  text-decoration: none;
}

.stories-info img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop shows the full graphic (with tagline); the compact "See The Works"
   arrow is for the phone layout only. (element+class specificity to beat the
   `.stories-info img` base rule above.) */
.stories-info img.stories-info__img--compact {
  display: none;
}

/* ─── SERVICES SECTION ──────────────────────── */

.services-section {
  position: relative;
  background: var(--dark);
  padding: 80px var(--gutter) 120px;
  min-height: 600px;
}

.services-section__label {
  position: absolute;
  top: 80px;
  right: var(--gutter);
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: capitalize;
  color: var(--sand);
  margin: 0;
}

/* Preview area — left column */
.services-preview {
  position: relative;
  width: clamp(360px, 52vw, 780px);
  height: clamp(420px, 48vw, 660px);
  margin-top: 80px;
  overflow: visible;
}

/* Each service image is its own composition — distinct size, distinct
   placement (no shared crop, no single alignment edge). Only one shows at a
   time via cross-fade, so each occupies its own footprint within the canvas. */
.svc-layer {
  position: absolute;
  opacity: 0;
  transform-origin: center;
}

.svc-layer.is-active {
  opacity: 1;
}

.svc-layer__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

/* 01 — portrait, upper-left */
.svc-layer[data-svc="01"] {
  width: clamp(230px, 30vw, 420px);
  top: 0;
  left: 2%;
}

/* 02 — wide landscape, largest, dropped center-low */
.svc-layer[data-svc="02"] {
  width: clamp(400px, 48vw, 700px);
  top: 26%;
  left: 8%;
}

/* 03 — very wide, anchored lower, slightly off the right */
.svc-layer[data-svc="03"] {
  width: clamp(360px, 44vw, 640px);
  bottom: 2%;
  left: 12%;
}

/* 04 — wide, mid, offset inward */
.svc-layer[data-svc="04"] {
  width: clamp(340px, 42vw, 600px);
  top: 16%;
  left: 6%;
}

/* 05 — landscape, upper area */
.svc-layer[data-svc="05"] {
  width: clamp(360px, 44vw, 620px);
  top: 4%;
  left: 10%;
}

.svc-layer__desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(32, 29, 19, 0.85) 0%, transparent 100%);
  font-family: var(--font-fustat);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
}

/* Fixed clip region — list slides inside it; anything pushed past the top
   edge (e.g. item 01 when hovering 04/05) is clipped out of view. */
.services-list-clip {
  position: absolute;
  right: var(--gutter);
  top: 140px;
  width: min(760px, 72vw);
  height: clamp(440px, 64vh, 780px);
  overflow: hidden;
  pointer-events: none;
}

.services-list {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.services-item {
  display: block;
  position: relative;
  font-family: var(--font-fustat);
  font-weight: 300;
  font-size: var(--fs-service);
  line-height: 1.725;
  letter-spacing: -0.05em;
  text-transform: capitalize;
  color: var(--cream);
  opacity: 0.4;
  text-align: right;
  text-decoration: none;
  transform: translateX(0);
  transition: opacity 0.28s var(--ease-std), transform 0.32s var(--ease-std), letter-spacing 0.32s var(--ease-std), color 0.32s var(--ease-std);
}

.services-item__name {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3em;
  white-space: nowrap;
}

.services-item__num {
  height: 0.6em;
  width: auto;
  flex: none;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.34s var(--ease-std),
    transform 0.42s var(--ease-std);
}

.services-item:hover .services-item__num,
.services-item:focus-within .services-item__num,
.services-item.is-open .services-item__num {
  opacity: 1;
  transform: translateX(0);
}

.services-item:hover,
.services-item.is-current,
.services-item.is-open {
  color: #fff;
  transform: translateX(-8px);
  letter-spacing: -0.03em;
}

/* Hover-reveal description (mirrors About nav-item interaction) */
.services-item__detail {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-std);
}

.services-item__line {
  display: block;
  max-width: 360px;
  margin-left: auto;
  font-family: var(--font-fustat);
  font-weight: 300;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: var(--sand);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.48s var(--ease-std),
    transform 0.62s var(--ease-std);
}

.services-item__line + .services-item__line {
  margin-top: 6px;
}

.services-item:hover .services-item__detail,
.services-item:focus-within .services-item__detail,
.services-item.is-open .services-item__detail {
  max-height: 360px;
  padding-top: 14px;
}

.services-item:hover .services-item__line,
.services-item:focus-within .services-item__line,
.services-item.is-open .services-item__line {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom items (04/05) push the list UP instead of overflowing downward.
   The detail stays in flow; site.js translates the whole list up by the
   revealed height on hover, so items above slide up and items below hold. */
.services-list {
  transition: transform 0.5s var(--ease-std);
  will-change: transform;
}

.services-item:hover .services-item__line:nth-child(1),
.services-item:focus-within .services-item__line:nth-child(1) {
  transition-delay: 0.04s;
}

.services-item:hover .services-item__line:nth-child(2),
.services-item:focus-within .services-item__line:nth-child(2) {
  transition-delay: 0.14s;
}

.services-item:hover .services-item__line:nth-child(3),
.services-item:focus-within .services-item__line:nth-child(3) {
  transition-delay: 0.24s;
}

/* ─── ABOUT SECTION ─────────────────────────── */

.about-section {
  position: relative;
  background: var(--cream);
  padding: 0;
}

.about-card {
  position: relative;
  background: var(--cream);
  margin-left: calc(20% + 273px);
  width: 880px;
  min-height: 843px;
  display: flex;
  flex-direction: row;
}

.about-photo {
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  width: 559px;
  overflow: hidden;
}

.about-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
  transform-origin: center center;
}

.about-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.about-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-nav-item {
  border-top: 1px solid rgba(100, 93, 69, 0.15);
  cursor: default;
}

/* Keyboard focus ring (mouse focus stays clean via :focus-visible) */
.about-nav-item:focus { outline: none; }
.about-nav-item:focus-visible {
  outline: 2px solid var(--red, #c21f1f);
  outline-offset: 3px;
}

.about-nav-item:last-of-type {
  border-bottom: 1px solid rgba(100, 93, 69, 0.15);
}

.about-nav-item__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
}

.about-nav-item__label {
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: 1.36;
  letter-spacing: -0.05em;
  text-transform: capitalize;
  color: var(--sand);
  transition: color 0.25s var(--ease-std);
}

.about-nav-item__num {
  font-family: var(--font-gruppo);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--red-hot);
  flex-shrink: 0;
  transition: transform 0.32s var(--ease-std);
}

/* ── Expand detail on hover / keyboard focus ── */
.about-nav-item__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-std);
}

.about-nav-item__detail-inner p {
  margin: 0 0 14px;
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--sand);
  max-width: 420px;
}

.about-nav-item__reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.48s var(--ease-std),
    transform 0.62s var(--ease-std);
}

.about-nav-item__reveal-line + .about-nav-item__reveal-line {
  margin-top: 2px;
}

.about-nav-item:hover .about-nav-item__detail,
.about-nav-item:focus-within .about-nav-item__detail {
  max-height: 240px;
}

.about-nav-item:hover .about-nav-item__reveal-line,
.about-nav-item:focus-within .about-nav-item__reveal-line {
  opacity: 1;
  transform: translateY(0);
}

.about-nav-item:hover .about-nav-item__reveal-line:nth-child(1),
.about-nav-item:focus-within .about-nav-item__reveal-line:nth-child(1) {
  transition-delay: 0.02s;
}

.about-nav-item:hover .about-nav-item__reveal-line:nth-child(2),
.about-nav-item:focus-within .about-nav-item__reveal-line:nth-child(2) {
  transition-delay: 0.12s;
}

.about-nav-item:hover .about-nav-item__reveal-line:nth-child(3),
.about-nav-item:focus-within .about-nav-item__reveal-line:nth-child(3) {
  transition-delay: 0.22s;
}

.about-nav-item:hover .about-nav-item__reveal-line:nth-child(4),
.about-nav-item:focus-within .about-nav-item__reveal-line:nth-child(4) {
  transition-delay: 0.32s;
}

.about-nav-item:hover .about-nav-item__label,
.about-nav-item:focus-within .about-nav-item__label {
  color: var(--red-hot);
}

.about-nav-item:hover .about-nav-item__num,
.about-nav-item:focus-within .about-nav-item__num {
  transform: translateX(-3px);
}

.about-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: capitalize;
  color: var(--sand);
  text-decoration: none;
  transition: opacity 0.25s var(--ease-std);
}

.about-more-link:hover { opacity: 0.7; }

.about-more-link__arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.about-founder {
  margin-top: 48px;
  margin-left: -60px;
}

.about-founder__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-founder__accent {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--red-hot);
}

.about-founder__name {
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: clamp(32px, 3.1vw, 45px);
  line-height: 1.13;
  letter-spacing: -0.05em;
  color: var(--sand);
  margin: 0;
  white-space: nowrap;
}

.about-founder__role {
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--sand);
  margin: 0;
  white-space: nowrap;
}

.about-founder__quote {
  font-family: var(--font-fustat);
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.36;
  letter-spacing: -0.04em;
  color: var(--sand);
  margin: 24px 0 0;
  border: 0;
  padding: 0 0 0 48px;
  max-width: 700px;
}

/* ─── LOGO MARQUEE ──────────────────────────── */

.mrq {
  background: var(--cream);
  border-top: 1px solid rgba(100, 93, 69, 0.12);
  border-bottom: 1px solid rgba(100, 93, 69, 0.12);
}

/* ─── CONTACT / LET'S TALK ──────────────────── */

.contact-section {
  background: var(--dark);
  padding: 80px var(--gutter) 0;
}

.contact-section__heading {
  font-family: var(--font-fustat);
  font-weight: 200;
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 80px;
  text-align: right;
}

.contact-section__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 80px;
  border-top: 1px solid rgba(244, 243, 239, 0.15);
  padding-top: 48px;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-fustat);
  font-size: 16px;
  font-weight: 300;
  transition: opacity 0.25s var(--ease-std);
}

.contact-social:hover { opacity: 0.7; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__field label {
  font-family: var(--font-fustat);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.5);
}

.contact-form__field input,
.contact-form__field textarea {
  background: rgba(244, 243, 239, 0.08);
  border: 1px solid rgba(244, 243, 239, 0.2);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--cream);
  font-family: var(--font-fustat);
  font-size: 16px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s var(--ease-std);
}

.contact-form__field textarea {
  height: 120px;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: rgba(244, 243, 239, 0.5);
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
  padding: 14px 32px;
  background: var(--red-hot);
  color: var(--cream);
  font-family: var(--font-fustat);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s var(--ease-std);
}

.contact-form__submit:hover { opacity: 0.85; }
.contact-form__submit svg { width: 18px; height: 18px; }
.contact-form__submit:disabled { opacity: 0.5; cursor: default; }

.contact-form__status {
  align-self: flex-end;
  margin: 4px 0 0;
  font-family: var(--font-fustat);
  font-size: 14px;
  font-weight: 500;
}
.contact-form__status[data-state="ok"]    { color: var(--sand); }
.contact-form__status[data-state="error"] { color: var(--red); }

.contact-section__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(244, 243, 239, 0.1);
  font-family: var(--font-fustat);
  font-size: 12px;
  font-weight: 300;
  color: rgba(244, 243, 239, 0.4);
}

/* ─── RESPONSIVE (< 1024px: simplified single-column) ── */

@media (max-width: 1023px) {

  .hero-cover {
    top: clamp(200px, 38vw, 450px);
    left: var(--gutter);
    width: calc(100% - calc(var(--gutter) * 2));
    max-width: none;
    height: auto;
    aspect-ratio: 1159 / 463;
  }

  .hero-lets-talk {
    right: 14px;
    bottom: 14px;
    width: 88px;
    height: 88px;
  }

  /* stories: vw units self-scale. On phones, show the compact "See The Works"
     arrow pinned to the bottom-right corner (clearing the floating Let's Talk
     button), and hide the full tagline graphic. */
  .stories-info {
    position: absolute;
    right: clamp(16px, 5vw, 28px);
    bottom: clamp(100px, 17vh, 150px);
    width: clamp(128px, 40vw, 176px);
    margin: 0;
    will-change: auto;
  }
  .stories-info img.stories-info__img--full { display: none; }
  .stories-info img.stories-info__img--compact { display: block; }

  .services-preview {
    display: none;
  }

  /* The desktop clip is a fixed-width, overflow-hidden window on the right that
     the list slides inside — on phones it cuts off the left side (the 01/02
     numbers). Make it a normal full-width flow container so nothing is clipped. */
  .services-list-clip {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }

  .services-list {
    position: static;
    align-items: flex-start;
    margin-top: 80px;
  }

  .services-item {
    text-align: left;
    white-space: normal;
  }

  /* No hover on touch — reveal descriptions inline, left-aligned */
  .services-item__name {
    justify-content: flex-start;
  }

  /* Detail is collapsed by default; tapping a service toggles .is-open to
     reveal it (mirrors the desktop hover-to-reveal, driven by site.js). */
  .services-item__line {
    margin-left: 0;
    max-width: 100%;
  }

  .about-card {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    min-height: unset;
  }

  .about-photo {
    position: static;
    width: 100%;
    height: clamp(340px, 80vw, 520px);
  }

  .about-photo__img {
    object-position: bottom center;
  }

  .about-content {
    padding: 40px var(--gutter);
  }

  .contact-section__body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-section__heading {
    text-align: left;
  }
}

/* ─── Phone (≤600px): use the simplified stacked hero instead of the lockup ── */
@media (max-width: 600px) {
  /* Hide the desktop lockup; show the stacked wordmark + tagline */
  .brand-wrap {
    display: none;
  }
  .hero-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 104px var(--gutter) 0;
  }
  .hero-mobile__mark {
    width: 100%;
    max-width: 340px;
    height: auto;
  }
  .hero-mobile__tag {
    font-family: var(--font-fustat);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--red);
  }

  /* Cover photo flows below the wordmark (no more absolute overlap) */
  .hero-container {
    min-height: auto;
  }
  .hero-cover {
    position: static;
    margin: 28px auto 0;
    top: auto;
    left: auto;
    width: calc(100% - var(--gutter) * 2);
    max-width: none;
    aspect-ratio: 1159 / 463;
  }
  .hero-lets-talk {
    width: 72px;
    height: 72px;
  }
}

/* ═══ Lottie opening (homepage; assets/opening-xl.json) ═══ */
html.opening-active {
  overflow: hidden;
}

.opening-lottie-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.75s;
  touch-action: none;
}

.opening-lottie-view {
  width: min(96vw, calc(96vh * 1920 / 1080));
  max-height: 96vh;
}

.opening-lottie-view svg {
  display: block;
  width: 100% !important;
  height: auto !important;
}

html.has-opening:not(.opening-finished) .site-nav,
html.has-opening:not(.opening-finished) .hero-container {
  opacity: 0;
  transform: translate3d(0, clamp(1.25rem, 4vh, 2.75rem), 0);
  filter: blur(10px);
  pointer-events: none;
  transition: none;
}

html.has-opening.opening-finished .site-nav,
html.has-opening.opening-finished .hero-container {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
  pointer-events: auto;
  transition: none;
}

html.opening-finished .opening-lottie-root {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -2.5vh, 0);
}

@media (prefers-reduced-motion: reduce) {
  .opening-lottie-root {
    display: none !important;
  }

  html.has-opening:not(.opening-finished) .site-nav,
  html.has-opening:not(.opening-finished) .hero-container {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }
}
