/* ————————————————————————————————————————————
   Kopilot — quiet luxury design system
   ivory · forest · gold
———————————————————————————————————————————— */

:root {
  /* Charte Kopilot v1.2 — aucune couleur hors de cette table */
  --ivory: #F7F3EC;              /* Papier chaud */
  --ivory-2: #E7DDCB;            /* Travertin */
  --card: #E7DDCB;
  --ink: #17362B;                /* Encre forêt */
  --ink-soft: rgba(23, 54, 43, .78);
  --stone: rgba(23, 54, 43, .58);
  --forest: #17362B;
  --forest-deep: #0A211A;        /* Nuit canopée */
  --jungle: #2E5C46;             /* états, tags */
  --teck: #8A5A33;               /* hover */
  --moss: rgba(247, 243, 236, .62);
  --gold: #B08D57;               /* Laiton — filets */
  --gold-bright: #F0C36D;        /* Lumière 16:45 — accents sur nuit */
  --brass-soft: #D6B98C;         /* Laiton lisible sur nuit */
  --dawn: #FBEED6;               /* Voile d'aube — wash de tête de page */
  --ink-2: #4A5F55;              /* Texte secondaire */
  --line: rgba(176, 141, 87, .42);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Kanit', 'Anuphan', system-ui, sans-serif;
  --font-body: 'Anuphan', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body:lang(th) { line-height: 1.75; }

img { display: block; max-width: 100%; }

/* paper grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }

a { color: inherit; text-decoration: none; }
::selection { background: rgba(166, 135, 61, .25); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: var(--ivory); padding: 10px 18px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ——— type ——— */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.08;
  text-wrap: balance;
}
:lang(th) h1, :lang(th) h2 { letter-spacing: 0; }
:lang(th) h1, :lang(th) h2 { line-height: 1.3; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
  margin-bottom: 18px;
}
:lang(th) .eyebrow { letter-spacing: .12em; }

/* ——— buttons ——— */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 18px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--forest { background: var(--forest); color: var(--ivory); }
.btn--forest:hover { background: var(--forest-deep); }
.btn--ghost { border-color: rgba(35, 32, 22, .35); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teck); color: var(--teck); }

/* Magnetic CTAs: promote to a stable GPU layer so the JS translate3d never
   re-rasterizes the glyphs on pointermove (the "font tremble" fix). */
.hero__cta .btn, .night__cta .btn {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* ——— nav ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(242, 237, 226, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 30px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 30px; height: 30px; }
.brand span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; letter-spacing: -.01em; color: var(--ink);
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 14.5px; color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--teck); }
.nav__right { display: flex; align-items: center; gap: 18px; }

.langs { display: flex; gap: 2px; }
.langs button {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em;
  background: none; border: none; cursor: pointer;
  color: var(--stone); padding: 6px 7px;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed="true"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav .btn { padding: 10px 20px; font-size: 13.5px; }

/* ——— hero (full-bleed) ——— */
.hero-full { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-full__bg { position: absolute; inset: 0; }
.hero-full__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-full__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10, 33, 26, .05) 30%, rgba(10, 33, 26, .62) 82%);
}
.hero-full__content { position: relative; z-index: 2; padding-bottom: 92px; color: var(--ivory); }
.hero-full .eyebrow { color: var(--gold-bright); margin-bottom: 26px; }
.hero__title {
  font-size: clamp(46px, 7.4vw, 102px);
  line-height: 1.02;
  margin-bottom: 30px;
  max-width: 12em;
  color: var(--ivory);
}
.hero__title em { font-style: normal; color: var(--gold-bright); }
.hero__sub {
  font-size: 18.5px; line-height: 1.7; color: rgba(247, 243, 236, .82);
  max-width: 32em; margin-bottom: 40px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-full .btn--forest { background: var(--ivory); color: var(--ink); }
.hero-full .btn--forest:hover { background: #fff; }
.hero-full .btn--ghost { border-color: rgba(247, 243, 236, .55); color: var(--ivory); }
.hero-full .btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.hero-full__cap {
  position: absolute; right: 34px; bottom: 30px; z-index: 2;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(247, 243, 236, .55);
}

/* nav over the dark hero */
.nav:not(.scrolled) .brand span,
.nav:not(.scrolled) .nav__links a,
.nav:not(.scrolled) .bkk { color: var(--ivory); }
.nav:not(.scrolled) .langs button { color: rgba(247, 243, 236, .6); }
.nav:not(.scrolled) .langs button:hover { color: var(--ivory); }
.nav:not(.scrolled) .langs button[aria-pressed="true"] { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
.nav:not(.scrolled) .btn--forest { background: rgba(247, 243, 236, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ivory); }
.bkk {
  font-size: 11.5px; letter-spacing: .12em; color: var(--stone);
  font-variant-numeric: tabular-nums;
  transition: color .4s var(--ease);
}

/* ——— stats ——— */
.stats { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 74px 0;
}
.stat { padding: 0 52px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  display: block;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(58px, 7.2vw, 104px);
  color: var(--forest);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block; margin-top: 14px;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--stone); max-width: 26em; line-height: 1.7;
}
:lang(th) .stat span { letter-spacing: .06em; }

/* ——— sections ——— */
section.block { padding: 110px 0; }
.block__head { max-width: 640px; margin-bottom: 58px; }
.block__head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.block__head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 18px; }
.block__head p { color: var(--ink-soft); font-size: 17px; }

/* pillars */
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.pillar {
  border-top: 1px solid var(--line);
  padding: 34px 8px 0 0;
  position: relative;
  transition: border-color .5s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 56px; height: 1px; background: var(--gold);
  transition: width .7s var(--ease);
}
.pillar:hover::before { width: 100%; }
.pillar .ico { display: block; width: 48px; height: 48px; margin-bottom: 22px; }
.pillar .ico svg { width: 100%; height: 100%; overflow: visible; }
.pillar .ico .draw { stroke: var(--forest); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar .ico .draw.acc { stroke: var(--gold); }
.pillar .ico .seal { fill: var(--gold); }
.pillar .ico .glyph { fill: var(--forest); font-family: var(--font-display); }
.pillar .ico .glyph.g3 { fill: var(--gold); }
.pillar h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; line-height: 1.25; margin-bottom: 14px;
}
.pillar p { font-size: 15.5px; color: var(--stone); line-height: 1.7; }

/* team — placement card */
.__dead_place_card {
  border: 1px solid var(--line);
  outline: 1px solid rgba(176, 141, 87, .25);
  outline-offset: 5px;
  border-radius: 3px;
  padding: 30px 32px;
  background: var(--ivory);
  margin: 6px;
}
.prow {
  display: grid; grid-template-columns: 150px 1fr;
  gap: 20px; align-items: baseline;
  padding: 19px 0; border-bottom: 1px solid var(--line);
}
.prow:first-child { border-top: 1px solid var(--line); }
.pk {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--stone); font-weight: 600;
}
:lang(th) .pk { letter-spacing: .08em; }
.pv { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.pv--live { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: ping 2.6s var(--ease) infinite; }
}

/* verticals */
.verticals { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vert__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.vert__media { display: flex; flex-direction: column; gap: 20px; }
.vert__media img { width: 100%; height: 272px; object-fit: cover; border-radius: 2px; }
.vcard { padding: 36px 0; }
.vcard + .vcard { border-top: 1px solid var(--line); }
.vcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-bottom: 10px; }
.vcard p { color: var(--ink-soft); font-size: 15.5px; max-width: 34em; }

/* night */
.night {
  position: relative;
  background: var(--forest-deep);
  color: var(--ivory);
  text-align: center;
  padding: 150px 0 160px;
  overflow: hidden;
}
.night__bg { position: absolute; inset: 0; opacity: .34; }
.night__bg img { width: 100%; height: 100%; object-fit: cover; }
.night__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,33,26,.55), rgba(10,33,26,.28) 45%, rgba(10,33,26,.75)); }
.night .container { position: relative; z-index: 2; }
.night .time {
  font-family: var(--font-display);
  font-size: clamp(96px, 16vw, 190px);
  color: var(--gold-bright);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: flex-start; gap: 14px;
}
.night .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-bright);
  margin-top: 18px;
}
@media (prefers-reduced-motion: no-preference) {
  .night .dot { animation: ping 2.6s var(--ease) infinite; }
  @keyframes ping {
    0%, 100% { opacity: .35; transform: scale(.85); }
    12% { opacity: 1; transform: scale(1.15); }
    30% { opacity: .7; transform: scale(1); }
  }
}
.night h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 34px auto 16px; max-width: 18em;
}
.night p { color: var(--moss); font-size: 17px; max-width: 34em; margin: 0 auto; }

/* cta (full-bleed) */
.cta__mail { display: block; margin-top: 22px; font-size: 14.5px; color: rgba(247,243,236,.62); }
.cta__mail a { color: var(--gold-bright); border-bottom: 1px solid rgba(240,195,109,.4); padding-bottom: 1px; }

/* footer */
.foot-notes {
  border-top: 1px solid rgba(176,141,87,.25);
  margin-top: 26px; padding-top: 22px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; color: var(--moss); width: 100%;
}
footer {
  background: var(--forest-deep); color: var(--moss);
  padding: 66px 0 54px;
  overflow: hidden;
}
.foot {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.foot .brand span { color: var(--ivory); }
.foot .tag { font-size: 13.5px; }
.foot .spacer { flex: 1; }
.foot a { color: var(--moss); font-size: 13.5px; transition: color .3s var(--ease); }
.foot a:hover { color: var(--gold-bright); }
.foot .langs button { color: var(--moss); }
.foot .langs button[aria-pressed="true"] { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
.foot .rights { width: 100%; font-size: 12.5px; opacity: .7; margin-top: 8px; }

/* ——— manifesto ——— */
.mani { padding: 96px 0 6px; }
.mani .container { text-align: center; }
.mani__line {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--forest);
  margin: 34px auto;
  max-width: 22em;
  text-wrap: balance;
}
.seal-rule { display: flex; align-items: center; justify-content: center; gap: 12px; }
.seal-rule span { display: block; height: 1px; width: min(180px, 26vw); background: var(--line); }
.seal-rule i {
  display: block; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}

/* ——— how it works ——— */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.step {
  border-top: 1px solid var(--line);
  padding: 30px 8px 0 0; position: relative;
}
.step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 56px; height: 1px; background: var(--gold);
  transition: width .7s var(--ease);
}
.step:hover::before { width: 100%; }
.step .num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 58px); color: var(--gold);
  opacity: .55; line-height: 1;
  display: block; margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-bottom: 14px; line-height: 1.25; }
.step p { font-size: 15.5px; color: var(--stone); line-height: 1.7; }

/* ——— film ——— */
.film__frame { position: relative; max-width: 940px; margin: 0 auto; }
.film__frame video {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: 2px; background: var(--forest-deep);
}
.film__play {
  position: absolute; inset: 0; margin: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(21, 42, 29, .1), rgba(21, 42, 29, .55));
  border: none; cursor: pointer; color: var(--ivory);
  font-family: var(--font-body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .4s var(--ease);
}
.film__play svg { width: 58px; height: 58px; padding: 15px; border: 1px solid var(--gold-bright); border-radius: 50%; color: var(--gold-bright); transition: transform .4s var(--ease), background-color .4s var(--ease); }
.film__play:hover svg { background: rgba(176, 141, 87, .18); }

/* ——— reveal ——— */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .rv.on { opacity: 1; transform: none; }

  /* icon draw-on */
  .pillar .ico .draw {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.3s var(--ease) .25s;
  }
  .pillar .ico .draw.acc { transition-delay: .75s; }
  .pillar.on .ico .draw { stroke-dashoffset: 0; }
  .pillar .ico .seal, .pillar .ico .glyph {
    opacity: 0; transform: scale(.6); transform-origin: center; transform-box: fill-box;
    transition: opacity .6s var(--ease) .8s, transform .6s var(--ease) .8s;
  }
  .pillar .ico .glyph.g2 { transition-delay: .95s; }
  .pillar .ico .glyph.g3 { transition-delay: 1.1s; }
  .pillar.on .ico .seal, .pillar.on .ico .glyph { opacity: 1; transform: none; }
  .pillar:hover .ico .seal { animation: sealBreathe 2.6s var(--ease) infinite; }
  @keyframes sealBreathe {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
  }

  /* image wipe reveal */
  .rv.wipe img, .rv .wipe img {
    clip-path: inset(14% 0 0 0);
    transform: scale(1.06);
    transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease);
  }
  .rv.wipe.on img, .rv.on .wipe img { clip-path: inset(0 0 0 0); transform: none; }
  figure.wipe img { transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease), filter .35s var(--ease); }
  figure.wipe:hover img { filter: brightness(1.04); }

  /* hero entrance — plays once body.boot is removed on load */
  .bt { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
  body:not(.boot) .bt { opacity: 1; transform: none; }
  .bt-img { opacity: 0; transition: opacity 1s var(--ease) var(--d, 0s); }
  .bt-img img { clip-path: inset(0 0 16% 0); transition: clip-path 1.3s var(--ease) var(--d, 0s); }
  body:not(.boot) .bt-img { opacity: 1; }
  body:not(.boot) .bt-img img { clip-path: inset(0 0 0 0); }

  /* nav link underline */
  .nav__links a { position: relative; }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
  }
  .nav__links a:hover::after { transform: scaleX(1); }

  .hero__media img { will-change: transform; }
}

/* ——— responsive ——— */
@media (max-width: 980px) {
  .hero-full__content { padding-bottom: 70px; }
  .hero-full__cap { display: none; }
  .bkk { display: none; }
  .pillars__grid, .steps { gap: 36px; }
  .vert__grid { grid-template-columns: 1fr; gap: 40px; }
  .vert__media img { height: 60vw; max-height: 480px; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section.block { padding: 56px 0; }
  .dusk { height: 165vh; }
  .night--final { padding: 90px 0 80px; }
  .night--final .phone { margin-top: 44px; }
  .night__cta { margin-top: 60px; }
  .block__head { margin-bottom: 34px; }
  .stats__grid { grid-template-columns: 1fr; padding: 12px 0; }
  .stat { padding: 26px 6px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .pillars__grid, .steps { grid-template-columns: 1fr; }
  .mani { padding: 60px 0 0; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .stat { padding: 30px 6px; }
  .prow { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .hero__seal { display: none; }
  .brand span { font-size: 19px; }
  .nav .btn { display: none; }
}

/* ——— comparison ——— */
.comp__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; max-width: 940px; margin: 0 auto; }
.comp__rule { background: var(--line); }
.comp__col { padding: 8px 48px; }
.comp__t {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 26px;
}
:lang(th) .comp__t { letter-spacing: .08em; }
.comp__col--a .comp__t { color: var(--stone); }
.comp__col--b .comp__t { color: var(--teck); }
.comp__col ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.comp__col li {
  font-family: var(--font-display); font-size: 19px; line-height: 1.4;
  padding-left: 26px; position: relative;
}
.comp__col--a li { color: var(--stone); }
.comp__col--a li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 11px; height: 1px; background: var(--stone);
}
.comp__col--b li { color: var(--ink); }
.comp__col--b li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 12px; height: 12px;
  border: 1.5px solid var(--gold); border-radius: 50%;
}
.comp__note {
  text-align: center; max-width: 40em; margin: 54px auto 0;
  font-size: 15px; color: var(--stone); line-height: 1.7;
}

/* ——— pricing ——— */
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.price__cell {
  border-top: 1px solid var(--line);
  padding: 30px 6px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.price__cell::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 56px; height: 1px; background: var(--gold);
  transition: width .7s var(--ease);
}
.price__cell:hover::before { width: 100%; }
.price__cell--hero { border-top-color: var(--gold); }
.price__cell--hero::before { width: 100%; }
.price__k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
:lang(th) .price__k { letter-spacing: .06em; }
.price__v {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.4vw, 42px); color: var(--forest);
  letter-spacing: -.02em; line-height: 1.05; margin-top: 4px;
}
.price__v--zero { color: var(--teck); }
.price__sub { font-size: 14px; color: var(--stone); }
.price__foot {
  margin-top: 40px; font-family: var(--font-display);
  font-size: 17px; color: var(--ink); text-align: center;
}

/* ——— guarantee ——— */
.guar { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guar__wrap { max-width: 680px; margin: 0 auto; text-align: center; }
.guar__seal { width: 96px; height: 96px; margin: 0 auto 30px; }
@media (prefers-reduced-motion: no-preference) {
  .guar__seal svg circle:nth-child(2) { transform-origin: center; animation: sealSpin 60s linear infinite; }
  @keyframes sealSpin { to { transform: rotate(360deg); } }
}
.guar__wrap h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 18px; }
.guar__p { font-size: 17.5px; color: var(--ink-soft); line-height: 1.7; max-width: 32em; margin: 0 auto; }
.guar__points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 48px; text-align: left;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.guar__pt h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.guar__pt p { font-size: 14.5px; color: var(--stone); line-height: 1.65; }

/* ——— faq ——— */
.faq__list { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 2vw, 22px); color: var(--ink);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teck); }
.faq__x { position: relative; width: 15px; height: 15px; flex: none; }
.faq__x::before, .faq__x::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq__x::before { top: 7px; left: 0; width: 15px; height: 1.5px; }
.faq__x::after { left: 7px; top: 0; width: 1.5px; height: 15px; }
.faq__item[open] .faq__x::after { transform: rotate(90deg); opacity: 0; }
.faq__item p {
  padding: 0 44px 28px 0; margin: 0;
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.75;
  max-width: 42em;
}
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p { animation: faqIn .5s var(--ease); }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 780px) {
  .comp__grid { grid-template-columns: 1fr; }
  .comp__rule { height: 1px; margin: 8px 48px; }
  .comp__col { padding: 8px 0; }
  .price__grid { grid-template-columns: 1fr; gap: 0; }
  .price__cell { padding: 26px 0; }
  .guar__points { grid-template-columns: 1fr; gap: 28px; }
}

/* ——— live chat demo ——— */
.phone { max-width: 380px; margin: 0 auto; }
.phone__frame {
  background: var(--forest-deep);
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 40px 90px -40px rgba(10, 33, 26, .7), inset 0 0 0 1px rgba(176,141,87,.18);
}
.phone__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px 12px;
  color: var(--ivory);
}
.phone__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--jungle); flex: none; position: relative; }
.phone__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--gold-bright); }
.phone__biz { font-family: var(--font-display); font-weight: 600; font-size: 15px; flex: 1; }
.phone__time { font-size: 12px; color: var(--moss); font-variant-numeric: tabular-nums; }
.phone__body {
  background: #12241C;
  border-radius: 22px;
  padding: 18px 14px;
  min-height: 380px;
  max-height: 440px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.msg { max-width: 82%; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.msg.on { opacity: 1; transform: none; }
.msg p {
  margin: 0; padding: 11px 14px; font-size: 14.5px; line-height: 1.5;
  border-radius: 16px;
}
.msg--in { align-self: flex-start; }
.msg--in p { background: #EFE7D6; color: #1B2E24; border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; }
.msg--out p { background: var(--jungle); color: var(--ivory); border-bottom-right-radius: 5px; }
.msg--typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; background: #EFE7D6; border-radius: 16px; border-bottom-left-radius: 5px; }
.msg--typing.on ~ .msg--typing { }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9BA79B; }
@media (prefers-reduced-motion: no-preference) {
  .msg--typing.on span { animation: typedot 1.2s var(--ease) infinite; }
  .msg--typing.on span:nth-child(2) { animation-delay: .18s; }
  .msg--typing.on span:nth-child(3) { animation-delay: .36s; }
  @keyframes typedot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
}
.msg--typing:not(.on) { display: none; }
.phone__badge {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 14px; padding: 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-bright);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
:lang(th) .phone__badge { letter-spacing: .06em; }
.phone__badge.on { opacity: 1; transform: none; }

.vert__cases {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teck);
}
:lang(th) .vert__cases { letter-spacing: .06em; }
.vert__cases .arr { transition: transform .35s var(--ease); }
.vert__cases:hover .arr { transform: translateX(4px); }

/* ————————————————————————————————————————————————
   v5 — brief-site-agent v1.3 + motion-site v1
   ———————————————————————————————————————————————— */

/* clocks, stats, prices: tabular figures */
.bkk, .stat b, .dusk__clock, .night .time, .phone__time, .price__v { font-variant-numeric: tabular-nums; }

/* buttons: hover darkens + a 1px brass filet appears */
.btn { position: relative; }
.btn:hover { box-shadow: inset 0 0 0 1px rgba(176, 141, 87, .55); }
.hero-full .btn--forest:hover { background: var(--dawn); }

/* the cream conversion button that lives on night */
.btn--cream { background: var(--ivory); color: var(--ink); border-color: transparent; }
.btn--cream:hover { background: var(--dawn); box-shadow: inset 0 0 0 1px rgba(176, 141, 87, .55); }

/* ——— separator: brass filet, interrupted by a 6px dot ——— */
.sep { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0; }
.sep span { display: block; height: 1px; width: min(300px, 34vw); background: rgba(176, 141, 87, .45); transform: scaleX(0); transition: transform .7s var(--ease); }
.sep span:first-child { transform-origin: right center; }
.sep span:last-child { transform-origin: left center; }
.sep i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0; transition: opacity .4s var(--ease) .2s; }
.sep.on span { transform: scaleX(1); }
.sep.on i { opacity: .85; }

/* ——— the dusk passage: the scroll is a day ——— */
.dusk { height: 240vh; position: relative; }
.dusk__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
}
.dusk__clock {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(72px, 13vw, 168px);
  letter-spacing: -0.01em; line-height: 1;
  color: var(--ink);
}
.dusk__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--jungle); opacity: .45; }
.dusk__dot.pulse { opacity: 1; animation: duskPulse 2.2s var(--ease) infinite; }
@keyframes duskPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 92, 70, .55); }
  50% { box-shadow: 0 0 0 14px rgba(46, 92, 70, 0); }
}

/* ——— final night: clock, conversation, then the interview ——— */
.night--final { padding: 140px 0 120px; }
.night--final .phone { margin: 64px auto 0; }
.night--final .phone__frame { background: var(--ink); }
.phone__id { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.phone__id .phone__biz { flex: none; }
.phone__trans { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-soft); }
.night__cta { margin-top: 88px; }
.night__cta h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 48px);
  color: var(--ivory); margin-bottom: 14px;
}
.night__cta p { color: var(--moss); font-size: 17px; max-width: 32em; margin: 0 auto 34px; }

/* ——— employee registry card: CV verso on tap ——— */
.regflip { perspective: 1400px; }
.regflip__inner { position: relative; transform-style: preserve-3d; transition: transform .3s var(--ease); }
.regflip.flipped .regflip__inner { transform: rotateY(180deg); }
.regflip__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.regflip__back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
}
.cv__t {
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.reg__flipbtn {
  margin-top: 22px; align-self: flex-start;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--teck); border-bottom: 1px solid rgba(138, 90, 51, .4);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.reg__flipbtn:hover { color: var(--ink); border-color: var(--gold); }

/* ——— footer plaque (small, ceremonial — no giant watermark) ——— */
.plaque {
  width: 100%;
  font-family: var(--font-display); font-weight: 500;
  font-size: 15px; letter-spacing: .3em; text-indent: .3em;
  color: var(--brass-soft); text-align: center;
  margin-bottom: 34px;
}

/* ——— reduced motion: a perfect static page ——— */
@media (prefers-reduced-motion: reduce) {
  .dusk { display: none; }
  body { background: var(--ivory) !important; }
  .sep span { transform: scaleX(1); }
  .sep i { opacity: .85; }
  .regflip__inner { transition: none; }
  .dusk__dot.pulse { animation: none; }
}

/* the nav bows out during the dusk passage */
.nav { transition: background-color .4s var(--ease), border-color .4s var(--ease), opacity .5s var(--ease); }
.nav.veiled { opacity: 0; pointer-events: none; }

/* ——— employee roster ——— */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.empcard { perspective: 1500px; }
.empcard__inner { position: relative; transform-style: preserve-3d; transition: transform .55s var(--ease); min-height: 100%; }
.empcard.flipped .empcard__inner { transform: rotateY(180deg); }
.empcard__face { backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--line); outline: 1px solid rgba(176,141,87,.22); outline-offset: 4px;
  border-radius: 4px; background: var(--ivory); overflow: hidden; }
.empcard__front { display: flex; flex-direction: column; height: 100%; }
.empcard__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.empcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .35s var(--ease); }
.empcard:hover .empcard__photo img { filter: brightness(1.04); }
.empcard__stamp {
  position: absolute; top: 20px; right: -6px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .18em;
  color: var(--gold-bright); padding: 7px 16px;
  border: 2px solid var(--gold-bright); border-radius: 3px;
  background: rgba(10,33,26,.42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transform: rotate(-7deg); box-shadow: 0 6px 18px -10px rgba(0,0,0,.7);
}
.empcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.empcard__id { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.empcard__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1; }
.empcard__role { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-align: right; font-weight: 500; }
:lang(th) .empcard__role { letter-spacing: .04em; }
.empcard__phrase { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); flex: 1; }
.empcard__langs { margin-top: 14px; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.empcard__langs .lg { color: var(--stone); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.empcard__perks { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.perk { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(176,141,87,.05); }
.perk__k { color: var(--stone); }
.perk__v { font-family: var(--font-display); font-weight: 600; color: var(--teck); font-variant-numeric: tabular-nums; }
.empcard__foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 14px; }
.empcard__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--forest); font-weight: 500; }
.empcard__status--hired { color: var(--teck); }
.empcard__flip { background: none; border: none; cursor: pointer; padding: 0; font-family: var(--font-body);
  font-size: 12.5px; font-weight: 500; color: var(--stone); display: inline-flex; align-items: center; gap: 5px;
  transition: color .3s var(--ease); white-space: nowrap; }
.empcard__flip:hover { color: var(--teck); }
.empcard__flip .arr { transition: transform .3s var(--ease); }
.empcard__flip:hover .arr { transform: translateX(3px); }
.empcard__back { position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center; padding: 26px 24px; }
.empcard__back .cv__t { margin-bottom: 6px; }
.empcard__back .prow { padding: 12px 0; }
.empcard__hire { margin-top: 18px; justify-content: center; width: 100%; padding: 14px 20px; font-size: 12px; }
.empcard__flip--back { margin-top: 14px; align-self: center; }

@media (max-width: 900px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .roster { grid-template-columns: 1fr; gap: 18px; max-width: 380px; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { .empcard__inner { transition: none; } }

/* ——— full-bleed company showcase (the office that never closes) ——— */
.showcase { position: relative; min-height: 74vh; display: flex; align-items: flex-end; overflow: hidden; }
.showcase__bg { position: absolute; inset: 0; }
.showcase__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.showcase__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10,33,26,.06) 34%, rgba(10,33,26,.68) 88%); }
.showcase .container { position: relative; z-index: 2; padding-bottom: 74px; }
.showcase .eyebrow { color: var(--gold-bright); }
.showcase h2 { font-size: clamp(30px, 4.6vw, 60px); color: var(--ivory); max-width: 15em; }
@media (max-width: 640px) { .showcase { min-height: 62vh; } .showcase .container { padding-bottom: 48px; } }

/* eye mark in the wordmark lockup */
.brand{gap:10px}
.brand__eye{display:inline-block;width:34px;height:19px;color:var(--ink);background:currentColor;-webkit-mask:url(../img/eye.png) left center/contain no-repeat;mask:url(../img/eye.png) left center/contain no-repeat}
.nav:not(.scrolled) .brand__eye{color:var(--ivory)}
.foot .brand__eye{color:var(--ivory)}

/* ——— fixes: seal size, video containment, roster carousel ——— */
.guar__seal { width: 96px !important; height: 96px; }
.guar__seal svg { width: 100%; height: 100%; display: block; }

/* living-avatar video must stay inside the 4:5 frame (never enlarge/pixelate) */
.empcard__photo { position: relative; }
.empcard__photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* roster becomes a horizontal carousel (keeps the page short) */
.roster-wrap { position: relative; }
.roster { display: flex !important; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 22px; padding: 6px 2px 22px; margin: 0 !important; max-width: none !important; scrollbar-width: none; -ms-overflow-style: none; scroll-padding-left: 4px; }
.roster::-webkit-scrollbar { display: none; }
.roster-wrap .empcard { flex: 0 0 clamp(280px, 31%, 336px); scroll-snap-align: center; }
.roster-nav { position: absolute; top: 33%; z-index: 6; width: 46px; height: 46px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-display); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 14px 32px -16px rgba(10,33,26,.45); transition: transform .2s var(--ease), border-color .2s var(--ease); display: flex; align-items: center; justify-content: center; }
.roster-nav:hover { border-color: var(--gold); transform: translateY(-1px); }
.roster-nav.prev { left: -8px; } .roster-nav.next { right: -8px; }
@media (max-width: 640px) { .roster-nav { display: none; } .roster-wrap .empcard { flex-basis: 84%; } .roster { scroll-padding-left: 16px; padding-left: 4px; } }

/* ————————————————————————————————————————————————
   v6 — the tactile pass ($50k feel)
   floating cards you can touch · magnetic CTAs ·
   pointer glare · cursor spotlight · depth · sheen
   ———————————————————————————————————————————————— */

/* scroll-progress: a brass hairline that fills as you read */
.scrollprog {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101;
  transform: scaleX(var(--sp, 0)); transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
body.past-hero .scrollprog { opacity: .9; }

/* primary buttons get a single light sheen on hover */
.btn { overflow: hidden; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(247, 243, 236, .38), transparent);
  transform: skewX(-16deg);
}
.btn > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover::before { animation: btnSheen .9s var(--ease); }
  @keyframes btnSheen { from { left: -130%; } to { left: 150%; } }
}

/* depth: sections are never flat — a faint brass glow breathes behind them */
.stats { position: relative; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 90% at 50% -10%, rgba(176, 141, 87, .12), transparent 60%);
}
.stats__grid { position: relative; z-index: 1; }
.guar { position: relative; }
.guar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(90% 80% at 50% 0%, rgba(176, 141, 87, .14), transparent 62%);
}
.guar .container { position: relative; z-index: 1; }

/* ——— tactile employee cards: they float, they tilt to your hand ——— */
.empcard { will-change: transform; }
.empcard__front { position: relative; }

/* pointer glare riding the portrait */
.empcard__photo::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(190px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .42), transparent 55%);
  opacity: 0; transition: opacity .45s var(--ease); mix-blend-mode: screen;
}
.empcard:hover .empcard__photo::after { opacity: .85; }

/* lift + brass glow on the whole face */
.empcard__face { transition: box-shadow .5s var(--ease), border-color .5s var(--ease); }
.empcard:hover .empcard__front {
  border-color: var(--gold);
  box-shadow: 0 34px 66px -34px rgba(10, 33, 26, .6), 0 10px 26px -16px rgba(10, 33, 26, .4);
}

@media (prefers-reduced-motion: no-preference) {
  /* tilt lives on the inner; float lives on the outer — they compose, never fight */
  .empcard__inner {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .42s var(--ease);
  }
  .empcard.flipped .empcard__inner { transform: rotateY(180deg); }

  .roster-wrap .empcard.on { animation: cardFloat 6.5s var(--ease) 1s infinite; }
  .roster-wrap .empcard.on:nth-child(2n) { animation-duration: 7.6s; animation-delay: 1.6s; }
  .roster-wrap .empcard.on:nth-child(3n) { animation-duration: 6.9s; animation-delay: 2.2s; }
  .empcard.flipped, .empcard:hover { animation-play-state: paused; }
  @keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  /* a softer, richer reveal: slides, fades AND resolves from a light blur.
     never on .empcard — a lingering filter flattens the card's 3D flip/tilt */
  .rv:not(.empcard) { filter: blur(5px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
  .rv:not(.empcard).on { filter: none; }
}

/* ——— cursor spotlight on the dark rooms (the office, the night) ——— */
.showcase, .night, .night--final { --sx: 50%; --sy: 40%; }
.showcase::before, .night::before, .night--final::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(240, 195, 109, .16), transparent 60%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.showcase.lit::before, .night.lit::before, .night--final.lit::before { opacity: 1; }
.showcase .container, .night .container, .night--final .container { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .empcard__inner { transform: none !important; }
  .roster-wrap .empcard.on { animation: none; }
  .showcase::before, .night::before, .night--final::before { display: none; }
}

/* ————————————————————————————————————————————————
   v7 — la fenêtre-lanterne (hero day→night crossfade)
   Activates only when assets/img/brand/window-day.webp +
   window-night.webp both exist. Same composition, night is
   an edit of the elected day master. The interior never
   changes; the city outside falls into night under the
   visitor's thumb. Header clock rides 16:45 → 02:47.
   ———————————————————————————————————————————————— */
.lantern { height: 185vh; position: relative; }
.lantern .hero-full { position: sticky; top: 0; height: 100vh; min-height: 0; }
.hero-full__night {
  position: absolute; inset: 0; z-index: 1;
  opacity: var(--np, 0); pointer-events: none;
}
.hero-full__night img { width: 100%; height: 100%; object-fit: cover; }
/* the legibility gradient (::after) keeps painting above both layers */
.lantern .hero-full__bg::after { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .lantern { height: auto; }
  .lantern .hero-full { position: relative; height: auto; min-height: 100svh; }
  .hero-full__night { display: none; }
}

/* lantern: a quiet ink veil along the top so the nav reads over the bright day sky */
.lantern .hero-full__bg::after {
  background:
    linear-gradient(180deg, rgba(10, 33, 26, .44), rgba(10, 33, 26, 0) 17%),
    linear-gradient(200deg, rgba(10, 33, 26, .05) 30%, rgba(10, 33, 26, .62) 82%);
}

/* ————————————————————————————————————————————————
   lantern v2 — two acts: the day speaks, then the night.
   The day text slips away mid-scroll; the night text takes
   the whole frame while the city goes dark behind the glass.
   ———————————————————————————————————————————————— */
.hero__scene--night { display: none; }
body.lantern-on .lantern { height: 260vh; }
body.lantern-on .hero-full__content { position: relative; width: 100%; }
body.lantern-on .hero__scene--day {
  opacity: var(--dayo, 1);
  transform: translateY(calc((1 - var(--dayo, 1)) * -34px));
  pointer-events: auto;
}
body.lantern-on .hero__scene--day[data-gone] { pointer-events: none; }
body.lantern-on .hero__scene--night {
  display: block;
  position: absolute; left: 0; right: 0; bottom: 0;
  opacity: var(--nighto, 0);
  transform: translateY(calc((1 - var(--nighto, 0)) * 40px));
  pointer-events: none;
}
body.lantern-on .hero__scene--night[data-live] { pointer-events: auto; }
/* the text takes the whole image */
body.lantern-on .hero__title { max-width: none; font-size: clamp(46px, 7.9vw, 118px); }
body.lantern-on .hero__sub { max-width: 46em; }
.hero__title--night { line-height: 1.02; margin-bottom: 30px; color: var(--ivory); font-family: var(--font-display); font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.hero__title--night em { font-style: normal; color: var(--gold-bright); }
.hero__scene--night .eyebrow { color: var(--gold-bright); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  body.lantern-on .lantern { height: auto; }
  .hero__scene--night { display: none !important; }
}

/* ——— packs: one employee, the team, the full house (no prices) ——— */
.packs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pack { position: relative; border: 1px solid var(--line); outline: 1px solid rgba(176,141,87,.22); outline-offset: 4px;
  border-radius: 4px; background: var(--ivory); padding: 30px 26px 26px; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.pack:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 26px 50px -30px rgba(10,33,26,.45); }
.pack--mid { border-color: var(--gold); }
.pack__n { font-family: var(--font-display); font-size: 40px; color: var(--gold); opacity: .5; line-height: 1; display: block; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.pack h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin-bottom: 10px; }
.pack p { font-size: 14.5px; color: var(--stone); line-height: 1.7; }
@media (max-width: 780px) { .packs__grid { grid-template-columns: 1fr; gap: 14px; } }

/* ——— contact modal: Chris + Kook ——— */
.cmodal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10,33,26,.66); }
.cmodal[hidden] { display: none; }
.cmodal__card { position: relative; width: 100%; max-width: 460px; background: var(--ivory); border: 1px solid var(--line); outline: 1px solid rgba(176,141,87,.25); outline-offset: 5px; border-radius: 4px; padding: 30px 28px 24px; color: var(--ink); }
.cmodal__t { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin-bottom: 18px; }
.cmodal__x { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 24px; color: var(--stone); cursor: pointer; line-height: 1; }
.cmodal__x:hover { color: var(--teck); }
.cperson { border-top: 1px solid var(--line); padding: 16px 0 14px; }
.cperson__id b { font-family: var(--font-display); font-size: 17px; }
.cperson__id span { display: block; font-size: 12.5px; color: var(--stone); margin-top: 2px; }
.cperson__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cperson__acts .btn { padding: 11px 18px; font-size: 12px; }
.cmodal .btn[hidden] { display: none !important; }
