/* ============================================================
   Mirajon — 2026 theme
   Loaded AFTER styles.css. Three jobs:
     1. Flip the site to light mode by redefining the palette tokens.
     2. Replace the hero with the cinematic full-bleed video stage.
     3. Replace the footer with the three-column character-video footer.
   NOTE ON TOKEN NAMES: styles.css is written against --navy* (surface) and
   --cream* (ink). In light mode those roles invert in value but NOT in
   meaning — --navy* is still "the surface", --cream* is still "the ink".
   The names are kept so styles.css needs no edits.
   ============================================================ */

@font-face{font-family:'DM Sans';src:url('/assets/fonts/DMSans-Regular.woff2') format('woff2');
  font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Epilogue;src:url('/assets/fonts/Epilogue-Black.woff2') format('woff2');
  font-weight:900;font-style:normal;font-display:swap}

/* ---------- 1. Light palette ---------- */
:root{
  /* surfaces (were dark) */
  --navy:#FBFAF7;
  --navy-2:#F4F1EA;
  --navy-3:#EDE8DE;
  --navy-ink:#E7E1D4;
  /* ink (was cream) */
  --cream:#101B26;
  --cream-2:#0B131C;
  --cream-3:#1B2836;
  --warm:#46545F;
  /* accents retuned for contrast on light */
  --gold:#8F6616;
  --gold-2:#7C5711;
  --slate:#5A6876;
  --rust:#8C4A2A;
  /* new tokens for the 2026 sections */
  --stage:#050505;
  --ink-hard:#080909;
  --lav:#f0eefa;
  --ui:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --dm:'DM Sans',Arial,sans-serif;
  --epi:Epilogue,Arial,sans-serif;
}
html,body{background:var(--navy);color:var(--cream);}
body{text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;}

/* Borders/fills in styles.css assume a dark ground — invert the few that break. */
.btn--ghost{border-color:rgba(16,27,38,.28);color:var(--cream);}
.btn--ghost:hover{border-color:var(--cream);background:rgba(16,27,38,.06);}
.btn--glass{background:rgba(16,27,38,.05);border-color:rgba(16,27,38,.22);color:var(--cream);}
.btn--glass:hover{background:rgba(16,27,38,.10);border-color:var(--cream);}
.btn--outline{border-color:rgba(143,102,22,.55);}
.hero__grain{opacity:.03;}
.footer::before{display:none;}

/* ============================================================
   2. HERO — cinematic video stage
   Unit system locks the composition to viewport HEIGHT so the whole
   thing always fills one screen. Reference canvas 1487 x 1058.
   ============================================================ */
.hero--stage{
  --u:calc(100vh / 1058);
  --uw:calc(100vw / 1487);
  --h:clamp(var(--u), calc(var(--u) * .65 + var(--uw) * .35), calc(var(--u) * 1.16));
  position:relative;min-height:100vh;padding:0;overflow:hidden;isolation:isolate;
  background:var(--stage);display:block;
}
@supports (height:100dvh){
  .hero--stage{--u:calc(100dvh / 1058);min-height:100dvh;}
}

.plate{position:absolute;inset:0;z-index:-1;pointer-events:none;}
.plate-video{
  position:absolute;left:50%;top:calc(1 * var(--u));
  width:calc(1492 * var(--u));height:calc(1054 * var(--u));
  transform:translateX(calc(-50% - (0.5 * var(--u))));
  display:block;object-fit:cover;object-position:center;pointer-events:none;
}
/* Bottom fade resolves to BLACK so the hero reads as a self-contained
   cinematic band; the light page starts cleanly underneath it. */
.plate::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    /* left scrim — the portal sits centre-frame in this clip, so the type
       column needs its own ground to stay legible. */
    linear-gradient(to right,
      rgba(5,5,5,.88) 0%, rgba(5,5,5,.76) 20%, rgba(5,5,5,.54) 36%,
      rgba(5,5,5,.30) 50%, rgba(5,5,5,.10) 61%, rgba(5,5,5,0) 70%),
    linear-gradient(to bottom,
      rgba(5,5,5,0) 78.8%, rgba(5,5,5,.23) 79.6%, rgba(5,5,5,.45) 81.4%,
      rgba(5,5,5,.75) 83.3%, rgba(11,11,10,.84) 85.2%, rgba(40,38,34,.888) 88%,
      rgba(5,5,5,.905) 91%, rgba(5,5,5,.98) 96.5%, var(--stage) 100%),
    linear-gradient(to right,
      var(--stage) calc(50% - (746 * var(--u))),
      transparent calc(50% - (676 * var(--u))),
      transparent calc(50% + (676 * var(--u))),
      var(--stage) calc(50% + (746 * var(--u))));
}

/* ---- hero type ---- */
.hero--stage .hero__inner{
  position:absolute;left:calc(75.5 * var(--u));top:calc(230.5 * var(--u));
  max-width:none;z-index:2;
}
.hero--stage .headline{
  margin:0;font-family:var(--ui);font-weight:400;
  font-size:calc(71.6 * var(--h));line-height:calc(80.5 * var(--h));
  letter-spacing:calc(.3 * var(--h));color:#fafafa;
}
.hero--stage .headline span{display:block;white-space:nowrap;}
.hero--stage .sub{
  margin:calc(189 * var(--h)) 0 0;font-family:var(--ui);font-weight:400;
  font-size:calc(20.7 * var(--h));line-height:calc(23.5 * var(--h));
  word-spacing:calc(1.8 * var(--h));color:#a7a6a6;
  position:absolute;top:0;left:0;
}
.hero--stage .sub span{display:block;white-space:nowrap;}
.hero--stage .actions{position:absolute;top:calc(264.5 * var(--h));left:calc(-.6 * var(--u));
  display:flex;align-items:center;gap:calc(45 * var(--h));}
.pill{
  display:inline-flex;align-items:center;justify-content:center;
  width:calc(175.6 * var(--h));height:calc(50 * var(--h));border-radius:999px;
  background:#fff;color:#050505;font-family:var(--ui);font-weight:500;
  font-size:calc(20.6 * var(--h));line-height:1;text-decoration:none;
  transition:transform .3s var(--ease),background .3s;
}
.pill span{transform:translateY(calc(1 * var(--h)));}
.pill:hover{background:#e9e9e9;transform:translateY(-2px);}
.ghost{
  font-family:var(--ui);font-weight:500;font-size:calc(20.6 * var(--h));
  letter-spacing:calc(.12 * var(--h));color:#fff;text-decoration:none;white-space:nowrap;
  transition:opacity .3s;
}
.ghost:hover{opacity:.72;}

/* ---- partner strip: the real case-study brands, pulled from work_items ---- */
.logos{
  position:absolute;left:50%;bottom:calc(96 * var(--u));
  transform:translateX(calc(-50% + (20 * var(--u))));
  width:calc(741 * var(--u));display:flex;align-items:baseline;
  justify-content:space-between;gap:calc(24 * var(--u));z-index:2;
  color:#9d9c9a;font-family:var(--ui);font-weight:700;
  font-size:calc(17.5 * var(--u));letter-spacing:.02em;white-space:nowrap;
}
.logos__rot{display:contents;}
.logos__track{display:flex;width:100%;}
.logos__set{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:calc(24 * var(--u));flex:1 0 100%;
}
.logos__set + .logos__set{display:none;}   /* dupe is only for the mobile marquee */
.logos a,.logos span{color:inherit;text-decoration:none;transition:color .3s;}
.logos a:hover{color:#fff;}

/* The brand strip now anchors the bottom of the stage, so the old scroll cue
   would sit on top of it. */
.hero--stage .hero__scroll{display:none;}

/* ---- nav ----
   The white treatment is ONLY for the homepage, where the nav floats over the
   dark hero video. Every other page (blog, legal, 404) keeps dark-on-light,
   otherwise the brand would be white on a cream background. */
.nav__links a:not(.btn){font-family:var(--ui);}
.nav .btn--outline{border-radius:999px;font-family:var(--ui);font-weight:500;padding:11px 26px;}

.nav--over-dark:not(.is-scrolled) .brand__name{color:#fafafa;}
.nav--over-dark:not(.is-scrolled) .brand__tag{color:#8b8a8a;}
.nav--over-dark:not(.is-scrolled) .nav__links a:not(.btn){color:#b6b5b5;}
.nav--over-dark:not(.is-scrolled) .nav__links a:not(.btn):hover{color:#fff;}
.nav--over-dark:not(.is-scrolled) .btn--outline{background:#fff;border-color:#fff;color:#050505;}
.nav--over-dark:not(.is-scrolled) .btn--outline:hover{background:#e9e9e9;border-color:#e9e9e9;color:#050505;}
.nav--over-dark:not(.is-scrolled) .burger span{background:#fafafa;}
/* once scrolled past the stage the nav sits on light ground */
.nav.is-scrolled{background:rgba(251,250,247,.88);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(16,27,38,.08);}
.nav.is-scrolled .brand__name{color:var(--cream);}
.nav.is-scrolled .brand__tag{color:var(--slate);}
.nav.is-scrolled .nav__links a:not(.btn){color:var(--warm);}
.nav.is-scrolled .nav__links a:not(.btn):hover{color:var(--gold);}
.nav.is-scrolled .btn--outline{background:var(--cream);border-color:var(--cream);color:var(--navy);}
.nav.is-scrolled .burger span{background:var(--cream);}

/* ============================================================
   3. FOOTER — three columns over the character video
   ============================================================ */
.footer--studio{
  /* styles.css lays the old footer out as a bottom-justified flex column —
     reset to block so the three columns position from the top. */
  display:block;justify-content:normal;align-items:normal;
  position:relative;min-height:100vh;padding:calc(6.54vw) 0 0;
  isolation:isolate;overflow:hidden;background:var(--lav);
  color:var(--ink-hard);font-family:var(--dm);font-weight:400;font-synthesis:none;
}
.footer--studio a{color:inherit;text-decoration:none;}
.footer--studio a:hover{opacity:.62;}
.footer--studio a:focus-visible{outline:2px solid currentColor;outline-offset:6px;}

.f-jobs{margin-left:8.65vw;width:25vw;}
.f-tag{
  display:inline-flex;align-items:center;border-radius:100px;background:#f7f8fa;
  padding:.39vw .61vw;font-size:.88vw;line-height:1.2;height:1.9vw;white-space:nowrap;
}
.f-head{font-family:var(--epi);font-weight:900;font-size:1.66vw;line-height:1.2;letter-spacing:0;}
.f-title{display:block;margin-top:1.45vw;}
.f-nav{display:flex;flex-direction:column;align-items:flex-start;gap:.93vw;
  margin-top:1.3vw;font-size:1.075vw;line-height:1.35;}

.f-logo{position:absolute;left:40.33vw;top:7.7vw;width:17vw;text-align:center;}
.f-logo .brand__name{font-size:3.1vw;letter-spacing:.16em;color:var(--ink-hard);line-height:1;}
.f-logo .brand__tag{font-size:.72vw;letter-spacing:.42em;color:var(--ink-hard);opacity:.55;margin-top:.5vw;}

.f-contact{position:absolute;left:74.3vw;top:6.54vw;}
.f-links{display:flex;flex-direction:column;align-items:flex-start;margin-top:1.45vw;white-space:nowrap;}
.f-note{margin:1.05vw 0 0;font-size:.733vw;line-height:1.4;white-space:nowrap;}
.f-connect{display:flex;flex-direction:column;align-items:flex-start;gap:.62vw;
  margin-top:1.61vw;font-size:.85vw;line-height:1.35;}

/* z-index 0 rather than -1: styles.css already lifts every direct child of
   .footer to z-index 1, so the columns stay above the video without relying
   on a negative index sliding under the footer's own background. */
.footer-background{position:absolute;inset:0;z-index:0;pointer-events:none;}
.footer-background video{position:absolute;inset:0;display:block;width:100%;height:100%;
  object-fit:cover;object-position:center;}

/* ============================================================
   4. Entrance animation
   ============================================================ */
@media (prefers-reduced-motion:no-preference){
  @keyframes t26-rise{from{opacity:0;transform:translateY(calc(14 * var(--u)))}}
  @keyframes t26-fade{from{opacity:0}}
  .hero--stage .hero__inner{animation:t26-rise .9s cubic-bezier(.22,1,.36,1) .06s both;}
  .hero--stage .logos{animation:t26-fade 1.1s cubic-bezier(.22,1,.36,1) .34s both;}
}

/* ============================================================
   5. Portrait / mobile
   ============================================================ */
@media (max-aspect-ratio:11/10),(max-width:700px){
  .hero--stage{
    --m:min(calc(100vw / 430), 1.34px);
    --u:var(--m);--h:var(--m);
    display:flex;flex-direction:column;justify-content:flex-end;
    min-height:100svh;padding:0 0 calc(300 * var(--m));
  }
  .plate-video{
    position:absolute;inset:0;left:0;top:0;width:100%;height:100%;
    transform:none;object-fit:cover;object-position:43% center;
  }
  .plate::after{
    background:
      linear-gradient(to right,rgba(5,5,5,.86),rgba(5,5,5,.66) 42%,rgba(5,5,5,.20) 78%,rgba(5,5,5,.10)),
      linear-gradient(to bottom,rgba(5,5,5,.72),rgba(5,5,5,.34) 24%,rgba(5,5,5,.34) 56%,
        rgba(5,5,5,.80) 82%,rgba(5,5,5,.97) 94%,var(--stage) 100%);
  }
  .hero--stage .hero__inner{
    position:static;padding:0 24px;margin-top:auto;
  }
  /* The lead paragraph is dropped on phones — the headline plus the CTAs
     carry the message and the screen stops feeling text-heavy. */
  .hero--stage .sub{display:none;}
  .hero--stage .headline{font-size:clamp(30px,8.6vw,44px);line-height:1.14;letter-spacing:-.01em;}
  .hero--stage .headline span{display:inline;white-space:normal;}
  .hero--stage .sub{
    position:static;margin:18px 0 0;font-size:clamp(14px,3.9vw,17px);line-height:1.5;
    word-spacing:normal;max-width:34ch;
  }
  .hero--stage .sub span{display:inline;white-space:normal;}
  .hero--stage .actions{position:static;margin-top:26px;left:auto;gap:18px;flex-wrap:wrap;}
  .pill{width:auto;min-width:154px;height:48px;padding:0 26px;font-size:16px;}
  .ghost{font-size:16px;}
  /* Brand strip becomes a single diagonal ticker running right-to-left.
     .logos is a clip window pinned to the bottom band of the hero, so the
     45deg ribbon inside it can never cross the headline or the CTAs. */
  .logos{
    position:absolute;left:0;right:0;bottom:0;top:auto;
    width:auto;height:30%;max-width:none;margin:0;padding:0;transform:none;
    display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:3;
    font-size:15px;letter-spacing:.04em;white-space:nowrap;color:#cbcac8;
  }
  .logos__rot{
    display:block;width:210vw;overflow:hidden;
    transform:rotate(-45deg);transform-origin:50% 50%;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
            mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
  }
  .logos__track{width:max-content;animation:logos-marquee 24s linear infinite;}
  .logos__set{flex:0 0 auto;justify-content:flex-start;gap:30px;padding-right:30px;}
  .logos__set + .logos__set{display:flex;}
  @keyframes logos-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
  @media (prefers-reduced-motion:reduce){
    .logos__track{animation:none;}
  }
  .hero--stage .hero__scroll{display:none;}

  /* ---- footer ---- */
  .footer--studio{
    display:flex;flex-direction:column;gap:36px;min-height:100svh;
    padding:40px 24px 0;background:var(--lav);
  }
  .f-logo{position:static;order:0;align-self:flex-start;width:210px;max-width:75%;
    margin-bottom:4px;text-align:left;}
  .f-logo .brand__name{font-size:34px;}
  .f-logo .brand__tag{font-size:9px;letter-spacing:.34em;margin-top:5px;}
  .f-jobs{order:1;margin:0;width:100%;}
  .f-tag{height:30px;padding:6px 11px;font-size:14px;}
  .f-head{font-size:clamp(22px,6.3vw,30px);line-height:1.25;}
  .f-title,.f-links{margin-top:19px;}
  .f-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:20px;
    font-size:17px;line-height:1.4;}
  .f-nav a{display:flex;align-items:center;min-height:44px;}
  .f-contact{position:static;order:2;width:100%;}
  .f-links{gap:4px;white-space:normal;}
  .f-note{max-width:34ch;margin:16px 0 0;font-size:14px;line-height:1.5;white-space:normal;}
  .f-connect{gap:0;margin-top:8px;font-size:15px;}
  .f-connect a{display:flex;align-items:center;min-height:44px;}
  .footer-background{position:relative;inset:auto;order:3;z-index:auto;flex:none;
    align-self:center;width:calc(100% + 48px);aspect-ratio:4/3;margin-top:-16px;}
  .footer-background video{position:absolute;inset:0;width:100%;height:100%;
    object-fit:cover;object-position:center;}
}

/* Tablet band — a little more room than phone. */
@media (min-width:600px) and (max-aspect-ratio:11/10){
  .hero--stage{--m:min(calc(100vw / 860), calc(100vh / 760), 1.25px);}
  .plate-video{object-position:44% center;}
  .hero--stage .headline span{display:block;}
  .logos{grid-template-columns:repeat(4,auto);justify-content:space-between;}
}

/* Wide phones/tablets keep the desktop footer but need the columns to breathe. */
@media (min-width:701px) and (max-width:1100px){
  .f-jobs{width:30vw;}
  .f-contact{left:66vw;}
  .f-logo{left:38vw;width:22vw;}
}

/* ============================================================
   6. Light-mode retones for the mid-page sections
   ============================================================ */

/* ---- buttons: gold needs white text on a light ground ---- */
.btn--gold{color:#fff;}
.btn--outline:hover{background:var(--gold);border-color:var(--gold);color:#fff;}

/* ---- WHY MIRAJON ----
   This section shipped with markup but no CSS at all, so it rendered as
   unstyled stacked text. These are its first real styles. */
.why__intro{
  font-family:var(--body);font-size:1.02rem;line-height:1.8;color:var(--warm);
  max-width:620px;margin:22px 0 0;
}
.why__grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;margin-top:52px;
}
.why__card{
  position:relative;background:#fff;border:1px solid rgba(16,27,38,.09);
  border-radius:12px;padding:32px 30px 34px;
  box-shadow:0 1px 2px rgba(16,27,38,.04);
  transition:transform .5s var(--ease),border-color .4s,box-shadow .5s;
}
.why__card:hover{
  transform:translateY(-5px);border-color:rgba(143,102,22,.38);
  box-shadow:0 26px 48px -30px rgba(16,27,38,.34);
}
.why__num{
  display:block;font-family:var(--serif);font-style:italic;font-weight:600;
  font-size:2.1rem;line-height:1;color:var(--gold);margin-bottom:16px;
}
.why__title{
  font-family:var(--sans);font-weight:600;font-size:1.1rem;letter-spacing:.2px;
  color:var(--cream);margin:0 0 12px;
}
.why__desc{font-family:var(--body);font-size:14.5px;line-height:1.8;color:var(--warm);margin:0;}
.why__cta{margin-top:46px;}
@media (max-width:760px){
  .why__grid{grid-template-columns:1fr;gap:14px;margin-top:36px;}
  .why__card{padding:26px 24px 28px;}
}

/* ---- PROCESS steps ---- */
.step{
  background:#fff;border-color:rgba(16,27,38,.09);
  box-shadow:0 1px 2px rgba(16,27,38,.04);
}
.step:hover{
  border-color:rgba(143,102,22,.4);
  box-shadow:0 26px 50px -32px rgba(16,27,38,.34);
}
.step__node{background:linear-gradient(90deg,rgba(143,102,22,.55),transparent);}
.process__intro{color:var(--warm);}

/* ---- CONTACT ---- */
.contact{
  background-color:var(--navy-2);
  background-image:radial-gradient(70% 60% at 50% 45%,rgba(143,102,22,.10) 0%,var(--navy-2) 68%);
}
.contact__float{border-color:rgba(143,102,22,.30);}
.contact__lead{color:var(--gold-2);}
.contact__email{color:var(--cream);}
.contact__email:hover{border-bottom-color:var(--cream);}
.field input,.field textarea{
  background:#fff;border-color:rgba(16,27,38,.16);color:var(--cream);
}
.field input::placeholder,.field textarea::placeholder{color:rgba(70,84,95,.5);}
.field input:focus,.field textarea:focus{
  background:#fff;border-color:var(--gold);box-shadow:0 0 0 3px rgba(143,102,22,.16);
}
.form-note--ok{background:rgba(143,102,22,.12);border-color:var(--gold);color:var(--cream);}
.form-note--err{background:rgba(140,74,42,.10);border-color:var(--rust);color:#7A3B1F;}

/* ---- services carousel on light ---- */
.svc3d__card{background:#fff;border-color:rgba(16,27,38,.10);box-shadow:0 20px 50px -34px rgba(16,27,38,.4);}
.svc3d__desc{color:var(--warm);}
.svc-hint{color:var(--slate);}

/* ============================================================
   7. Hamburger + mobile menu
   ============================================================ */
.burger{
  position:relative;width:46px;height:46px;padding:0;gap:0;
  align-items:center;justify-content:center;border-radius:50%;
  border:1px solid rgba(16,27,38,.16);background:rgba(16,27,38,.04);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background .3s,border-color .3s,transform .3s var(--ease);
}
.burger:hover{transform:scale(1.06);}
.burger span{
  position:absolute;left:50%;top:50%;width:18px;height:1.6px;border-radius:2px;
  background:var(--cream);
  transition:transform .45s var(--ease),width .35s var(--ease),opacity .3s;
}
.burger span:nth-child(1){transform:translate(-50%,calc(-50% - 4px));}
.burger span:nth-child(2){transform:translate(-50%,calc(-50% + 4px));width:12px;}
.burger:hover span:nth-child(2){width:18px;}
.burger.is-open{border-color:rgba(240,228,204,.4);background:rgba(240,228,204,.10);}
.burger.is-open span{background:#F2EFE8;width:19px;}
.burger.is-open span:nth-child(1){transform:translate(-50%,-50%) rotate(45deg);}
.burger.is-open span:nth-child(2){transform:translate(-50%,-50%) rotate(-45deg);}
/* over the dark hero the icon is white */
.nav--over-dark:not(.is-scrolled) .burger{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.06);}
.nav--over-dark:not(.is-scrolled) .burger span{background:#fafafa;}

/* ---- overlay: deep ink panel, circular wipe from the burger ---- */
.overlay{
  background:linear-gradient(165deg,#0B131C 0%,#101B26 55%,#1B2836 100%);
  display:flex;flex-direction:column;align-items:stretch;justify-content:center;
  gap:0;padding:96px 26px 40px;
  opacity:1;transform:none;visibility:hidden;pointer-events:none;
  clip-path:circle(0% at calc(100% - 40px) 44px);
  transition:clip-path .66s var(--ease),visibility 0s linear .66s;
}
.overlay.is-open{
  visibility:visible;pointer-events:auto;
  clip-path:circle(150% at calc(100% - 40px) 44px);
  transition:clip-path .72s var(--ease),visibility 0s;
}
.overlay__nav{display:flex;flex-direction:column;align-items:stretch;gap:2px;}
.overlay a{
  font-family:var(--serif);font-style:italic;font-weight:600;font-size:2.6rem;
  color:#F2EFE8;display:flex;align-items:baseline;gap:16px;
  padding:10px 0;border-bottom:1px solid rgba(240,228,204,.10);
  opacity:0;transform:translateY(22px);
  transition:opacity .5s ease,transform .6s var(--ease),color .25s;
}
.overlay.is-open a{opacity:1;transform:translateY(0);}
.overlay.is-open .overlay__nav a:nth-child(1){transition-delay:.16s;}
.overlay.is-open .overlay__nav a:nth-child(2){transition-delay:.22s;}
.overlay.is-open .overlay__nav a:nth-child(3){transition-delay:.28s;}
.overlay.is-open .overlay__nav a:nth-child(4){transition-delay:.34s;}
.overlay.is-open .overlay__foot > *{transition-delay:.42s;}
.overlay a:hover,.overlay a:active{color:#D8B25F;}
.overlay__idx{
  font-family:var(--sans);font-style:normal;font-weight:500;font-size:11px;
  letter-spacing:2px;color:#C9A24D;flex:0 0 auto;opacity:.85;
}
.overlay__foot{
  margin-top:auto;padding-top:28px;display:flex;flex-direction:column;
  align-items:flex-start;gap:16px;
}
.overlay__foot a{
  font-family:var(--body);font-style:normal;font-size:1rem;border:none;padding:0;
  color:#A9B2BB;opacity:0;transform:translateY(22px);
}
.overlay.is-open .overlay__foot a{opacity:1;transform:translateY(0);}
.overlay__foot .btn{
  font-family:var(--sans);border:1px solid rgba(242,239,232,.42);color:#F2EFE8;
  padding:13px 26px;border-radius:999px;margin:0;
}
.overlay__close{
  position:absolute;top:34px;right:26px;color:#C9A24D;
  font-family:var(--sans);font-size:11px;letter-spacing:2px;
}
@media (prefers-reduced-motion:reduce){
  .overlay,.overlay a,.overlay__foot a{transition-duration:.001s;}
}
