/* ==========================================================================
   Al Tabaa Cards — styles
   White sheet, black ink, one flat gold accent. Print colours (CMYK) appear only where print would show them.
   ========================================================================== */

:root {
  --gold: #C9A84C;
  --gold-ink: #85651B;          /* gold for small text: 5.2:1 on white */
  --gold-deep: #B8953A;
  --c: #00AEEF; --m: #EC008C; --y: #FFF200;   /* process inks */
  --shu: #B5302A;               /* vermilion — seal only */
  --navy: #111111;              /* ink: headlines, buttons, dark card stock */
  --navy-2: #2A2A2A;
  --cream: #FFFFFF;             /* light text on ink */
  --sand: #F3F2EF;              /* neutral placeholder */
  --charcoal: #2C2C2C;
  --paper: #FFFFFF;
  --muted: #66676B;
  --line: rgba(17, 17, 17, .13);
  --line-light: rgba(255, 255, 255, .14);

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --rail: 0px;
  --bar: 64px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.19, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 1024px) {
  :root { --rail: 88px; --bar: 88px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--navy); }

:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
.menu :focus-visible { outline-color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 18px; background: var(--navy); color: var(--cream);
  font-size: 13px; font-weight: 600; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.serif i, .serif em { font-style: italic; }

.wrap {
  width: 100%;
  max-width: calc(1560px + var(--rail));
  margin-inline: auto;
  padding-left: calc(var(--rail) + var(--gutter));
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow--light { color: var(--gold-ink); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 1px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn__arrow { display: inline-block; font-size: 15px; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--ink { background: var(--navy); color: var(--cream); }
.btn--ink:hover { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--navy); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }

.link-line {
  position: relative; display: inline-block; padding: 4px 0;
  background: none; border: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--navy); transform-origin: right; transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(.35); }

/* ---------- Crop marks (print motif) ---------- */
.crop { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--navy); }
.crop::before { width: 100%; height: 1px; }
.crop::after { width: 1px; height: 100%; }
.crop--tl { left: -30px; top: -30px; }
.crop--tl::before { bottom: 8px; } .crop--tl::after { right: 8px; }
.crop--tr { right: -30px; top: -30px; }
.crop--tr::before { bottom: 8px; } .crop--tr::after { left: 8px; }
.crop--bl { left: -30px; bottom: -30px; }
.crop--bl::before { top: 8px; } .crop--bl::after { right: 8px; }
.crop--br { right: -30px; bottom: -30px; }
.crop--br::before { top: 8px; } .crop--br::after { left: 8px; }

/* ==========================================================================
   Rail (desktop)
   ========================================================================== */
.rail { display: none; }
@media (min-width: 1024px) {
  .rail {
    display: block; position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; width: var(--rail);
    background: var(--paper); border-right: 1px solid var(--line);
    transition: background-color .6s var(--ease), border-color .6s var(--ease);
  }
  .rail__menu {
    display: grid; place-items: center; width: var(--rail); height: var(--rail);
    background: var(--gold); border: 0; transition: background-color .5s var(--ease);
  }
  .rail__menu:hover { background: var(--gold-deep); }
  .rail__menu .burger i { background: #fff; }
  .rail__index { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
  .rail__index ol { display: grid; justify-items: center; gap: 6px; }
  .rail__index a { position: relative; display: grid; place-items: center; width: 34px; height: 30px; }
  .rail__index a::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(17, 17, 17, .3);
    transition: background-color .4s, transform .4s var(--ease);
  }
  .rail__index a::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
    border: 1px solid var(--navy); border-radius: 50%; transform: scale(.3); opacity: 0;
    transition: transform .5s var(--ease), opacity .4s;
  }
  .rail__index a.is-active::before { background: var(--navy); }
  .rail__index a.is-active::after { transform: none; opacity: 1; }
  .rail__index a:hover::before { background: var(--gold); }
  .rail__label {
    position: absolute; left: calc(100% + 14px); top: 50%; transform: translate(-6px, -50%);
    white-space: nowrap; padding: 6px 10px; background: var(--navy); color: var(--cream);
    font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
  }
  .rail__index a:hover .rail__label, .rail__index a:focus-visible .rail__label { opacity: 1; transform: translate(0, -50%); }
  .rail__progress { position: absolute; left: 50%; bottom: 92px; width: 1px; height: 72px; background: var(--line); }
  .rail__progress span { position: absolute; inset: 0; background: var(--navy); transform-origin: top; transform: scaleY(0); }
  .rail__meta {
    position: absolute; left: 0; right: 0; bottom: 36px; text-align: center;
    font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums;
  }
  .rail__meta span { color: var(--navy); }

  body.is-dark .rail { background: var(--navy); border-color: var(--line); }
  body.is-dark .rail__menu { background: var(--gold); }
  body.is-dark .rail__menu .burger i { background: var(--navy); }
  body.is-dark .rail__index a::before { background: rgba(255, 255, 255, .3); }
  body.is-dark .rail__index a.is-active::before { background: var(--cream); }
  body.is-dark .rail__index a::after { border-color: var(--cream); }
  body.is-dark .rail__progress { background: var(--line); }
  body.is-dark .rail__meta, body.is-dark .rail__meta span { color: rgba(255, 255, 255, .7); }
}

.burger { display: grid; gap: 5px; justify-items: start; }
.burger i { display: block; height: 1.5px; width: 24px; background: var(--navy); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s, background-color .5s; }
.burger i:nth-child(2) { width: 16px; }
.burger i:nth-child(3) { width: 20px; }
.burger--small i { width: 18px; background: var(--navy); }
.burger--small i:nth-child(2) { width: 12px; }
[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 22px; }
[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }
[aria-expanded="true"] .burger--small i:nth-child(1) { transform: translateY(3.25px) rotate(45deg); width: 16px; }
[aria-expanded="true"] .burger--small i:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); width: 16px; opacity: 1; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: var(--bar);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0);
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.topbar.is-solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__logo img { width: auto; height: 34px; }
.topbar__nav, .topbar__cta { display: none; }
.topbar__menu {
  margin-left: auto; display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 10px 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
}
body.menu-open .topbar { background: transparent; box-shadow: none; transform: none; }

@media (min-width: 1024px) {
  .topbar { position: absolute; left: var(--rail); padding: 0 var(--gutter); background: transparent; }
  .topbar.is-solid { background: transparent; box-shadow: none; }
  .topbar.is-hidden { transform: none; }
  .topbar__logo img { height: 40px; }
  .topbar__nav { display: flex; gap: clamp(24px, 3vw, 48px); margin-left: auto; }
  .topbar__nav a { position: relative; font-size: 13.5px; font-weight: 500; color: var(--charcoal); padding: 6px 0; }
  .topbar__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--navy);
    transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
  }
  .topbar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .topbar__cta {
    display: inline-flex; align-items: center; height: 42px; padding: 0 20px; margin-left: clamp(16px, 2.4vw, 40px);
    border: 1px solid var(--navy); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
    transition: background-color .4s var(--ease), color .4s var(--ease);
  }
  .topbar__cta:hover { background: var(--navy); color: var(--cream); }
  .topbar__menu { display: none; }
}

/* ==========================================================================
   Menu overlay
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-io);
  overflow-y: auto;
}
.menu[hidden] { display: block; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__inner {
  min-height: 100%;
  display: grid; gap: 48px; align-content: center;
  padding: calc(var(--bar) + 32px) var(--gutter) 48px calc(var(--rail) + var(--gutter));
}
.menu__nav { display: grid; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(40px, 7vw, 92px); line-height: 1.08; color: var(--navy);
  transform: translateY(30px); opacity: 0;
  transition: transform .9s var(--ease), opacity .6s, color .3s;
}
.menu__nav a small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--gold-ink); }
.menu__nav a:hover { font-style: italic; }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__aside { display: grid; gap: 10px; align-content: start; }
.menu__aside .eyebrow { margin-bottom: 8px; }
.menu__line { font-size: 17px; color: var(--navy); width: fit-content; border-bottom: 1px solid transparent; }
.menu__line:hover { border-color: var(--navy); }
.menu__addr { font-size: 14px; color: var(--muted); }
.menu__close { display: none; }
@media (min-width: 1024px) {
  .menu__inner { grid-template-columns: 1.4fr .8fr; align-items: end; gap: 8vw; padding-top: 120px; }
  .menu__close {
    display: block; position: absolute; top: 30px; right: var(--gutter);
    background: none; border: 0; padding: 8px 0;
    font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
  }
}

/* ==========================================================================
   01 — Hero
   ========================================================================== */
.hero { position: relative; }
.hero__stage { position: relative; padding-top: calc(var(--bar) + 36px); overflow: clip; }
.hero__copy { position: relative; z-index: 3; padding: 0 var(--gutter); will-change: transform; }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 0 9px; font-size: 10.5px; letter-spacing: .24em; }
.hero__eyebrow span + span::before { content: "·"; margin-right: 9px; color: var(--gold); }
@media (max-width: 639px) { .hv-vert { display: none; } }
.hero__title {
  margin: .28em 0 .38em;
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(58px, 17.6vw, 150px);
  line-height: .9; letter-spacing: -.048em; color: var(--navy);
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lede { max-width: 38ch; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }

.hero__visual { position: relative; z-index: 2; height: clamp(460px, 128vw, 820px); margin-top: 52px; perspective: 1400px; }
.hv-ghost {
  display: none;
  position: absolute; left: -12vw; top: 6%; width: 50vw; height: 62%; opacity: .16;
  filter: grayscale(1) contrast(.95);
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent);
          mask-image: radial-gradient(closest-side, #000 45%, transparent);
  will-change: transform;
}
.hv-ghost picture { width: 100%; height: 100%; }
.hv-ghost img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hv-panel {
  position: absolute; left: 18vw; top: 0; width: 84vw; aspect-ratio: 1;
  will-change: transform;
}
.hv-panel svg { width: 100%; height: 100%; overflow: visible; }
.hv-vert {
  position: absolute; z-index: 4; right: 10px; top: 2%; writing-mode: vertical-rl;
  font-size: 10px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--navy);
}
.hv-vert::after { content: ""; display: inline-block; width: 1px; height: 56px; margin-top: 18px; background: var(--navy); vertical-align: top; }
.seal {
  position: absolute; z-index: 3; right: -16px; bottom: 30px; width: 54px; height: 54px;
  display: grid; place-items: center; transform: rotate(-3deg);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal span {
  position: relative; display: grid; gap: 1px; text-align: center; color: #fff;
  font: 700 8.5px/1.05 var(--sans); letter-spacing: .14em; margin-right: -.14em; text-transform: uppercase;
}
.seal i { display: block; font-style: normal;
}
.hv-photo { position: absolute; right: 12vw; top: 27%; width: 56vw; height: 64%; will-change: transform; transform-style: preserve-3d; }
.hv-photo__frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--sand);
  box-shadow: 0 50px 80px -40px rgba(17, 17, 17, .55), 0 2px 6px rgba(17, 17, 17, .08);
}
.hv-photo__frame picture { width: 100%; height: 100%; }
.hv-photo__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 46%; }
.hv-photo .crop { width: 16px; height: 16px; }
.hv-photo .crop--tl, .hv-photo .crop--bl { left: -22px; }
.hv-photo .crop--tr, .hv-photo .crop--br { right: -22px; }
.hv-photo .crop--tl, .hv-photo .crop--tr { top: -22px; }
.hv-photo .crop--bl, .hv-photo .crop--br { bottom: -22px; }
.plate-caption {
  position: absolute; right: 0; top: calc(100% + 18px); white-space: nowrap;
  font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.plate-caption span { color: var(--gold-ink); font-weight: 700; margin-right: 10px; }
.hv-cards { position: absolute; left: var(--gutter); bottom: 9%; width: 44vw; max-width: 230px; aspect-ratio: 1.75; transform-style: preserve-3d; z-index: 5; }
.hero__foot { display: none; }

/* Physical card */
.pcard {
  --t: 4px;
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.pcard__face {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: #FFFFFF var(--noise);
  box-shadow: inset 0 0 0 .5px rgba(17, 17, 17, .08);
}
.pcard__face--front { transform: translateZ(calc(var(--t) / 2)); }
.pcard__face--back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.pcard__face--stock { background: #E2DED6 var(--noise); color: var(--navy); }
.pcard__edge { position: absolute; background: #E3E1DB; }
.pcard__face--stock ~ .pcard__edge { background: #D3CFC6; }
.pcard__edge--t, .pcard__edge--b { left: 0; width: 100%; height: var(--t); }
.pcard__edge--t { top: calc(var(--t) / -2); transform: rotateX(90deg); }
.pcard__edge--b { bottom: calc(var(--t) / -2); transform: rotateX(90deg); }
.pcard__edge--l, .pcard__edge--r { top: 0; height: 100%; width: var(--t); }
.pcard__edge--l { left: calc(var(--t) / -2); transform: rotateY(90deg); }
.pcard__edge--r { right: calc(var(--t) / -2); transform: rotateY(90deg); }

.hv-cards .pcard__face { padding: 9% 9%; display: flex; flex-direction: column; }
.pcard__logo { width: 24%; height: auto; }
.pcard__name { margin-top: auto; font-size: clamp(7px, 1.9vw, 9.5px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); }
.pcard__small { margin-top: 4px; font-size: clamp(6px, 1.4vw, 7.5px); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.pcard__small--light { color: var(--muted); margin-top: 0; }
.pcard__face--stock { align-items: center; justify-content: center; text-align: center; }
.pcard__tag { margin: auto; font-size: clamp(6px, 1.5vw, 8px); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); }
.pcard__word { font-size: clamp(10px, 2.6vw, 14px); font-weight: 600; letter-spacing: .55em; margin-right: -.55em; color: var(--navy); }
.pcard__rule { width: 26px; height: 1px; background: var(--navy); margin: 10px 0; }
.pcard__lines { display: grid; gap: 3px; margin-top: auto; font-size: clamp(6px, 1.5vw, 8px); letter-spacing: .08em; color: var(--navy); }

@media (min-width: 640px) and (max-width: 1023px) {
  .hero__title { font-size: clamp(96px, 15vw, 150px); }
  .hv-photo { width: 46vw; right: 14vw; }
  .hv-panel { width: 62vw; left: 26vw; }
}

@media (min-width: 1024px) {
  .hero { height: 190vh; }
  .hero__stage { position: sticky; top: 0; height: 100vh; min-height: 640px; padding: 0; overflow: hidden; }
  .hero__copy {
    position: absolute; left: calc(var(--rail) + var(--gutter) * 1.5); top: max(150px, 22vh);
    width: min(50vw, 800px); padding: 0;
  }
  .hero__eyebrow { font-size: 13px; letter-spacing: .44em; gap: 0 14px; }
  .hero__eyebrow span + span::before { margin-right: 14px; }
  .hero__title { font-size: clamp(88px, 10.4vw, 188px); margin: .2em 0 .34em; }
  .hero__lede { max-width: 42ch; }
  .hero__actions { margin-top: 40px; }

  .hero__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 58vw; height: auto; margin: 0; perspective: 1600px; }
  .hv-ghost { left: -4vw; top: 18vh; width: 32vw; height: 62vh; opacity: .2; }
  .hv-panel { left: 16vw; right: auto; top: 5vh; width: 38vw; }
  .hv-vert { right: 30px; top: 14vh; }
  .seal { right: -24px; bottom: 54px; width: 62px; height: 62px; }
  .seal span { font-size: 9.5px; }
  .hv-photo { right: 10vw; top: 30vh; width: 25vw; height: 57vh; }
  .hv-cards { left: 10vw; bottom: 9vh; width: clamp(200px, 15vw, 270px); max-width: none; }
  .hero__foot {
    display: flex; gap: 40px; align-items: center; position: absolute; z-index: 3;
    left: calc(var(--rail) + var(--gutter) * 1.5); bottom: 34px;
    font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  }
  .hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
}
@keyframes scrollcue { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ==========================================================================
   02 — Introduction
   ========================================================================== */
.intro { position: relative; padding: clamp(96px, 16vh, 180px) 0 clamp(96px, 14vh, 170px); }
.intro__grid { display: grid; gap: 28px; }
.intro__figure { display: flex; align-items: flex-start; gap: 18px; will-change: transform; }
.intro__num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(150px, 46vw, 440px); line-height: .78; letter-spacing: -.045em; color: var(--navy);
}
.intro__num em { font-style: normal; font-weight: 400; color: var(--gold); }
.intro__unit {
  padding-top: 14px; border-top: 1px solid var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .26em; line-height: 1.75; text-transform: uppercase; color: var(--navy);
  margin-top: 2.2vw;
}
.intro__text { display: grid; gap: 24px; max-width: 560px; }
.intro__title { font-size: clamp(32px, 7.6vw, 54px); line-height: 1.04; color: var(--navy); }
.intro__title i { color: inherit; }
.intro__text p { color: var(--muted); }
.intro__caps { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.intro__caps li:not(:last-child)::after { content: "/"; margin: 0 12px; color: var(--muted); font-weight: 400; }
.intro__motto {
  margin-top: clamp(40px, 8vh, 96px); padding-top: 26px; border-top: 1px solid var(--line);
  font-size: clamp(28px, 4.2vw, 60px); line-height: 1.1; color: var(--navy); text-align: right;
}
.intro__motto i { color: inherit; }

@media (min-width: 1024px) {
  .intro__grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 0; align-items: end; }
  .intro__eyebrow { grid-column: 1 / -1; margin-bottom: 4vh; }
  .intro__figure { grid-column: 1 / 8; }
  .intro__num { font-size: clamp(240px, 29vw, 470px); }
  .intro__text { grid-column: 8 / 13; padding-bottom: 2.4vw; }
  .intro__motto { grid-column: 1 / -1; }
}

/* ==========================================================================
   03 — Services
   ========================================================================== */
.services { position: relative; padding: clamp(80px, 12vh, 140px) 0 clamp(110px, 16vh, 180px); }
.section-head { display: grid; gap: 22px; }
.section-head__title { font-size: clamp(44px, 10vw, 104px); line-height: .95; color: var(--navy); }
.section-head__title i { color: inherit; }
.section-head__note { max-width: 38ch; color: var(--muted); }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head__note { padding-bottom: 10px; }
}

.svc-list { margin-top: clamp(48px, 9vh, 96px); border-top: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid; grid-template-columns: 38px 1fr 64px; grid-template-areas: "num name swatch" ". desc swatch";
  column-gap: 14px; row-gap: 8px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.svc__num { grid-area: num; align-self: start; padding-top: .6em; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.svc__name {
  grid-area: name; font-family: var(--sans); font-weight: 600;
  font-size: clamp(26px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; color: var(--navy);
  transition: transform .8s var(--ease), color .5s;
}
.svc__desc { grid-area: desc; max-width: 40ch; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.svc__swatch { grid-area: swatch; position: relative !important; display: block; width: 64px; height: 80px; inset: auto !important; }

@media (min-width: 1024px) {
  .svc { grid-template-columns: 90px 1fr minmax(260px, 30%); grid-template-areas: "num name desc"; padding: 30px 0; }
  .svc__num { padding-top: 0; align-self: center; }
  .svc .svc__swatch { display: none; }
  .svc__desc { transition: color .5s; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .svc-list:hover .svc:not(:hover) { opacity: .36; }
  .svc:hover::after { transform: scaleX(1); }
  .svc:hover .svc__name { transform: translateX(28px); }
  .svc:hover .svc__desc { color: var(--charcoal); }
}

.svc-float { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .svc-float {
    display: block; position: fixed; z-index: 20; left: 0; top: 0; width: 260px; height: 330px;
    pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
    will-change: transform;
  }
  .svc-float.is-on { opacity: 1; }
  .svc-float__inner { position: absolute; inset: 0; overflow: hidden; box-shadow: 0 40px 60px -30px rgba(17, 17, 17, .5); }
  .svc-float .plate { opacity: 0; transform: scale(1.12); transition: opacity .5s var(--ease), transform 1s var(--ease); }
  .svc-float .plate.is-on { opacity: 1; transform: none; }
}

/* Material plates — CSS-built print surfaces */
.plate { position: absolute; inset: 0; display: block; overflow: hidden; background: #FFFFFF var(--noise); }
.plate::before, .plate::after { content: ""; position: absolute; }
.plate--digital {
  background:
    radial-gradient(circle, var(--c) 34%, transparent 37%) 0 0 / 11px 11px,
    #FFFFFF;
  -webkit-mask-image: linear-gradient(150deg, #000 20%, rgba(0, 0, 0, .25) 90%);
          mask-image: linear-gradient(150deg, #000 20%, rgba(0, 0, 0, .25) 90%);
}
.plate--digital::before {
  inset: 0; mix-blend-mode: multiply; background: radial-gradient(circle, var(--m) 30%, transparent 33%) 5px 5px / 11px 11px;
  -webkit-mask-image: linear-gradient(-30deg, #000 10%, transparent 75%); mask-image: linear-gradient(-30deg, #000 10%, transparent 75%);
}
.plate--offset {
  background:
    repeating-linear-gradient(180deg, rgba(17, 17, 17, .55) 0 2px, transparent 2px 11px) 18% 22% / 54% 32% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 18% 64% / 64% 18% no-repeat,
    #FFFFFF var(--noise);
}
.plate--offset::before {
  left: 8%; right: 8%; bottom: 7%; height: 6%;
  background: linear-gradient(90deg, var(--c) 0 12.5%, var(--m) 0 25%, var(--y) 0 37.5%, #111 0 50%, #7FD6F7 0 62.5%, #F57FC5 0 75%, #FFF87F 0 87.5%, #888 0);
}
.plate--offset::after {
  right: 9%; top: 8%; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--navy);
  background: linear-gradient(var(--navy), var(--navy)) center / 1px 140% no-repeat, linear-gradient(var(--navy), var(--navy)) center / 140% 1px no-repeat;
}
.plate--screen {
  background:
    repeating-linear-gradient(0deg, rgba(17, 17, 17, .16) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, .16) 0 1px, transparent 1px 5px),
    var(--sand);
}
.plate--screen::before {
  left: -10%; right: -10%; top: 40%; height: 26%; background: var(--m); mix-blend-mode: multiply;
  transform: rotate(-8deg); box-shadow: 0 1px 0 rgba(17, 17, 17, .2);
}
.plate--screen::after { left: 12%; right: 12%; top: 18%; height: 7%; background: var(--navy); }
.plate--uv { background: radial-gradient(120% 90% at 30% 20%, #343434, #080808 70%); }
.plate--uv::before {
  left: 22%; top: 26%; width: 56%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18) 30%, rgba(17, 17, 17, .1) 62%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.plate--uv::after { inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .22) 48%, transparent 58%); }
.plate--large { background: var(--sand) var(--noise); }
.plate--large::before { left: 10%; bottom: 10%; width: 80%; height: 64%; border: 1px solid var(--navy); }
.plate--large::after { left: 10%; bottom: 10%; width: 40%; height: 32%; background: var(--navy); }
.plate--promo { background: #eee url("../assets/img/enamel-keychains-480.webp") 50% 50% / cover no-repeat; }
.plate--creative {
  background:
    repeating-linear-gradient(90deg, rgba(0, 174, 239, .45) 0 1px, transparent 1px 12.5%),
    #FFFFFF var(--noise);
}
.plate--creative::before { left: 12.5%; top: 12%; width: 50%; height: 40%; background: var(--navy); }
.plate--creative::after {
  left: 12.5%; right: 25%; top: 60%; height: 24%;
  background: repeating-linear-gradient(180deg, var(--charcoal) 0 2px, transparent 2px 10px);
  opacity: .7;
}

/* ==========================================================================
   04 — Process (pinned 3D card)
   ========================================================================== */
.process { position: relative; height: 440vh; background: var(--paper); border-top: 1px solid var(--line); }
.process__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
  padding: calc(var(--bar) + 12px) var(--gutter) 28px;
}
.process__title { font-size: clamp(34px, 8vw, 72px); line-height: 1; color: var(--navy); margin: 12px 0 20px; }
.process__title i { color: inherit; }
.process__steps li { display: none; grid-template-columns: 40px 1fr; column-gap: 8px; }
.process__steps li.is-active { display: grid; }
.process__steps span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold-ink); padding-top: 5px; }
.process__steps h3 { font-size: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.process__steps p { grid-column: 2; max-width: 40ch; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.process__bar { position: relative; height: 1px; margin-top: 18px; background: var(--line); }
.process__bar span { position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(0); }

.process__scene { position: relative; perspective: 1500px; perspective-origin: 50% 40%; }
.pscene {
  position: absolute; left: 50%; top: 48%; width: min(78vw, 560px); aspect-ratio: 1.75;
  transform: translate(-50%, -50%); transform-style: preserve-3d;
}
.pcard--xl { --t: 6px; }
.pcard--xl .pcard__face--front { background-color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .07); }
.psheet {
  position: absolute; left: -24%; top: -40%; width: 148%; height: 180%;
  background: #F5F4F1 var(--noise); box-shadow: 0 1px 2px rgba(17, 17, 17, .1), 0 30px 50px -30px rgba(17, 17, 17, .35);
  opacity: 0; will-change: transform, opacity;
}
.psheet .crop { width: 18px; height: 18px; }
.psheet .crop--tl { left: 14%; top: 18%; } .psheet .crop--tr { right: 14%; top: 18%; }
.psheet .crop--bl { left: 14%; bottom: 18%; } .psheet .crop--br { right: 14%; bottom: 18%; }
.psheet .crop::before, .psheet .crop::after { background: var(--navy); }
.psheet__reg {
  position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 1px solid var(--navy);
  background: linear-gradient(var(--navy), var(--navy)) center / 1px 150% no-repeat, linear-gradient(var(--navy), var(--navy)) center / 150% 1px no-repeat;
}
.psheet__reg--l { left: 5%; } .psheet__reg--r { right: 5%; }
.psheet__bar { position: absolute; left: 16%; right: 16%; bottom: 6%; height: 4%; display: flex; }
.psheet__bar i { flex: 1; }
.psheet__bar i:nth-child(1) { background: var(--c); } .psheet__bar i:nth-child(2) { background: var(--m); }
.psheet__bar i:nth-child(3) { background: var(--y); } .psheet__bar i:nth-child(4) { background: #111; }
.psheet__bar i:nth-child(5) { background: #7FD6F7; } .psheet__bar i:nth-child(6) { background: #F57FC5; }
.psheet__bar i:nth-child(7) { background: #FFF87F; } .psheet__bar i:nth-child(8) { background: #888; }
.pcopy {
  position: absolute; inset: 0; background: #FFFFFF var(--noise);
  box-shadow: 0 1px 1px rgba(17, 17, 17, .18); opacity: 0; will-change: transform, opacity;
}
.pc-sketch { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(44, 44, 44, .55); stroke-width: 1.3; stroke-linecap: round; }
.pc-sketch path { stroke-dasharray: 420; stroke-dashoffset: 420; vector-effect: non-scaling-stroke; }
.pc-guides { position: absolute; inset: 0; opacity: 0; }
.pc-guides .g { position: absolute; background: rgba(0, 174, 239, .75); }
.g--v1, .g--v2 { top: 0; bottom: 0; width: 1px; }
.g--v1 { left: 9%; } .g--v2 { right: 9%; }
.g--h1, .g--h2 { left: 0; right: 0; height: 1px; }
.g--h1 { top: 14%; } .g--h2 { bottom: 14%; }
.pc-art { position: absolute; inset: 14% 9%; display: flex; flex-direction: column; }
.pc-art__logo { width: 21%; height: auto; }
.pc-art__name { margin-top: auto; font-size: clamp(9px, 2.1vw, 14px); font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--navy); }
.pc-art__meta { margin-top: 6px; font-size: clamp(7px, 1.4vw, 9.5px); font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
/* blind impression: the type sits pressed into the stock */
.pc-art--final .pc-art__name, .pc-art--final .pc-art__meta { text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 -.5px 0 rgba(17, 17, 17, .25); }
.pc-art--proof { opacity: 0; filter: grayscale(1); }
.pc-art--proof .pc-art__name, .pc-art--proof .pc-art__meta { color: #888; }
.pc-art--final { clip-path: inset(0 100% 0 0); }
.pc-roller {
  position: absolute; top: -6%; bottom: -6%; left: 0; width: 9%; opacity: 0;
  background: linear-gradient(90deg, #0a0a0a, #3a3a3a 45%, #5a5a5a 55%, #0a0a0a);
  box-shadow: 8px 0 18px rgba(17, 17, 17, .3);
}
.pc-sheen {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 47%, rgba(255, 255, 255, .5) 53%, transparent 68%) 0 0 / 260% 100% no-repeat;
}
.pc-back { margin: auto; display: grid; justify-items: center; gap: 5px; text-align: center; font-size: clamp(7px, 1.5vw, 10px); letter-spacing: .14em; color: var(--charcoal); }
.pc-back__word { font-size: clamp(11px, 2.6vw, 17px); font-weight: 600; letter-spacing: .55em; margin-right: -.55em; color: var(--navy); }
.pc-back__rule { width: 30px; height: 1px; background: var(--navy); margin: 8px 0 10px; }
.pcard--xl .pcard__face--stock { display: flex; }
.psleeve {
  position: absolute; left: -5%; width: 110%; top: 56%; height: 74%;
  background: #FFFFFF var(--noise); opacity: 0;
  box-shadow: 0 -1px 0 rgba(17, 17, 17, .08), 0 40px 60px -30px rgba(17, 17, 17, .45);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7%;
  will-change: transform, opacity;
}
.psleeve::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18%; background: linear-gradient(rgba(17, 17, 17, .08), transparent); }
.psleeve span { font-size: clamp(7px, 1.4vw, 9.5px); font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--navy); }
.pshadow {
  position: absolute; left: 6%; right: 6%; top: 88%; height: 34%;
  background: radial-gradient(closest-side, rgba(17, 17, 17, .3), transparent);
  transform: translateZ(-160px); filter: blur(6px); will-change: transform, opacity;
}
.process__stage-label {
  position: absolute; right: 0; bottom: 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--navy);
}
.process__stage-label span:first-child { color: var(--gold-ink); margin-right: 8px; }

@media (min-width: 1024px) {
  .process { height: 520vh; }
  .process__pin {
    grid-template-rows: none; grid-template-columns: minmax(340px, 34%) 1fr; column-gap: 4vw; align-items: center;
    padding: 0 var(--gutter) 0 calc(var(--rail) + var(--gutter));
  }
  .process__title { font-size: clamp(44px, 4.6vw, 76px); margin: 18px 0 44px; }
  .process__steps li {
    display: grid; padding: 15px 0; border-top: 1px solid var(--line); opacity: .4;
    transition: opacity .5s var(--ease);
  }
  .process__steps li:last-child { border-bottom: 1px solid var(--line); }
  .process__steps li.is-active { opacity: 1; }
  .process__steps p { max-height: 0; overflow: hidden; margin-top: 0; transition: max-height .7s var(--ease), margin .7s var(--ease); }
  .process__steps li.is-active p { max-height: 6em; margin-top: 8px; }
  .process__bar { margin-top: 28px; }
  .process__scene { height: 100%; }
  .pscene { width: min(40vw, 600px); top: 50%; }
  .process__stage-label { bottom: auto; top: 48px; }
}

/* ==========================================================================
   05 — Selected work
   ========================================================================== */
.work { position: relative; padding: clamp(100px, 16vh, 180px) 0 0; }
.work__grid { display: grid; gap: 56px; }
.work__head { display: grid; gap: 18px; }
.work__title { font-size: clamp(44px, 10vw, 92px); line-height: .95; color: var(--navy); }
.work__title i { color: inherit; }
.work__head p:last-child { max-width: 36ch; color: var(--muted); }
.wk { position: relative; }
.wk__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); overflow: hidden; }
.wk__btn picture { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.wk__btn img { width: 100%; height: 100%; object-fit: cover; }
.wk__btn:hover picture, .wk__btn:focus-visible picture { transform: scale(1.04); }
.wk figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 14px; }
.wk__n { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.wk__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.wk__t { font-size: 13px; color: var(--muted); }

.wk--feature .wk__btn { aspect-ratio: 4 / 5; }
.wk--feature img { object-position: 50% 62%; }
.wk--a { width: 82%; margin-left: auto; }
.wk--a .wk__btn { aspect-ratio: 3 / 4; }
.wk--a img { object-position: 60% 50%; }
.wk--b { width: 72%; }
.wk--b .wk__btn { aspect-ratio: 3 / 4; }
.wk--b img { object-position: 50% 52%; }
.wk--wide .wk__btn { aspect-ratio: 4 / 3; }
.wk--wide img { object-position: 50% 20%; }

@media (min-width: 1024px) {
  .work__grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 0; }
  .wk--feature { grid-column: 1 / 8; grid-row: 1 / 3; }
  .work__head { grid-column: 9 / 13; grid-row: 1; align-self: start; padding-top: 4vh; }
  .wk--a { grid-column: 9 / 13; grid-row: 2 / 4; width: auto; margin: 8vh 0 0 -5vw; align-self: start; z-index: 2; }
  .wk--a .wk__btn { box-shadow: 0 40px 60px -40px rgba(17, 17, 17, .45); }
  .wk--b { grid-column: 2 / 6; grid-row: 3; width: auto; margin-top: 12vh; align-self: start; }
  .wk--wide { grid-column: 5 / 13; grid-row: 4; margin-top: -8vh; margin-left: 4vw; z-index: 2; }
  .wk--wide .wk__btn { aspect-ratio: 16 / 9; }
  .wk--wide img { object-position: 50% 17%; }
}

.wk-full { position: relative; margin-top: clamp(96px, 16vh, 180px); margin-left: var(--rail); }
.wk-full__btn { position: relative; height: 72vh; height: 72svh; min-height: 420px; max-height: 920px; }
.wk-full__btn picture { position: absolute; inset: -12% 0; height: auto; }
.wk-full__btn img { will-change: transform; object-position: 50% 52%; }
.wk-full__btn:hover picture { transform: none; }
.wk-full__cap {
  position: absolute; left: var(--gutter); bottom: var(--gutter); right: var(--gutter);
  display: grid; gap: 8px; max-width: 440px; padding: 24px 26px;
  background: var(--paper); pointer-events: none;
}
.wk-full__title { font-size: clamp(30px, 6vw, 50px); line-height: 1; color: var(--navy); }
.wk-full__title i { color: inherit; }
@media (min-width: 1024px) {
  .wk-full__btn { height: 88vh; }
  .wk-full__cap { right: auto; left: var(--gutter); bottom: 56px; padding: 32px 36px; }
}

/* ==========================================================================
   06 — Why / 07 — CTA (dark)
   ========================================================================== */
.why { position: relative; background: var(--paper); color: var(--charcoal); border-top: 1px solid var(--line); padding-top: clamp(100px, 16vh, 180px); }
.why__grid { display: grid; gap: 56px; }
.why__title { font-size: clamp(42px, 10vw, 92px); line-height: .98; color: var(--navy); margin-top: 22px; }
.why__title i { color: inherit; }
.why__list li {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 8px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list span { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.1; color: var(--muted); }
.why__list h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; color: var(--navy); }
.why__list p { margin-top: 6px; max-width: 46ch; font-size: 15px; color: var(--muted); }
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .why__head { grid-column: 1 / 6; position: sticky; top: 16vh; align-self: start; }
  .why__list { grid-column: 7 / 13; }
  .why__list li:nth-child(even) { padding-left: 12%; }
}

.cta { position: relative; padding: clamp(130px, 22vh, 240px) 0 clamp(120px, 18vh, 200px); }
.cta .wrap { position: relative; }
.cta__title { font-size: clamp(58px, 15vw, 196px); line-height: .9; letter-spacing: -.025em; color: var(--navy); }
.cta__title i { position: relative; color: var(--navy); }
.enso { position: absolute; left: -.16em; top: -.06em; width: 3em; height: 1.24em; pointer-events: none; overflow: visible; }
.enso path { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.4s var(--ease-io) .5s; }
.is-in .enso path, html:not(.js) .enso path { stroke-dashoffset: 0; }
.cta__title i > span.real { position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(40px, 7vh, 64px); }

/* ==========================================================================
   08 — Contact
   ========================================================================== */
.contact { padding: clamp(100px, 15vh, 170px) 0; background: var(--paper); }
.contact__grid { display: grid; gap: 64px; }
.contact__title { font-size: clamp(38px, 8vw, 70px); line-height: 1; color: var(--navy); margin-top: 20px; }
.contact__list { margin-top: 40px; }
.contact__list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__list div:last-child { border-bottom: 1px solid var(--line); }
.contact__list dt { padding-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { font-size: 16px; color: var(--navy); line-height: 1.6; }
.contact__list a { background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }

.form { display: grid; gap: 28px; align-content: start; }
.form__row { display: grid; gap: 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); }
.field label span { font-weight: 500; letter-spacing: .08em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(17, 17, 17, .28); border-radius: 0;
  background: transparent; color: var(--navy); font: 400 16px/1.5 var(--sans);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F1B35' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-color: #A23A2E; }
.field__err { font-size: 12.5px; color: #A23A2E; }
.field textarea::placeholder { color: #8f9096; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
.form__status { font-size: 14px; color: var(--navy); min-height: 1.4em; }

@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .contact__info { grid-column: 1 / 6; }
  .form { grid-column: 7 / 13; padding-top: 46px; }
}

/* ==========================================================================
   09 — Footer
   ========================================================================== */
.footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); padding: 88px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.footer__grid { display: grid; gap: 44px; }
.footer__tile { display: inline-flex; align-items: center; gap: 22px; }
.footer__tile img { width: 64px; }
.footer__tile .seal { position: relative; left: auto; bottom: auto; width: 46px; height: 46px; }
.footer__tile .seal span { font-size: 7.5px; }
.footer__tag { margin-top: 26px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; color: var(--navy); }
.footer__tag i { color: inherit; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__addr a { width: fit-content; transition: color .3s; }
.footer__nav a { color: var(--navy); }
.footer__nav a:hover, .footer__addr a:hover { color: var(--gold-ink); }
.footer__addr { line-height: 1.9; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 72px; padding-top: 24px; padding-right: 76px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .04em;
}
.footer__top:hover { color: var(--gold-ink); }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.4fr .6fr 1fr; align-items: start; }
}

/* ==========================================================================
   WhatsApp
   ========================================================================== */
.wa {
  position: fixed; z-index: 55;
  right: max(18px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--navy);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .14), 0 14px 30px -14px rgba(17, 17, 17, .4);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.wa:hover { transform: translateY(-3px); background: var(--navy); color: #fff; }
.wa__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap;
  padding: 8px 12px; background: #fff; color: var(--navy); box-shadow: 0 0 0 1px rgba(17, 17, 17, .14);
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translate(8px, -50%); pointer-events: none;
  transition: opacity .4s, transform .6s var(--ease);
}
.wa:hover .wa__tip, .wa:focus-visible .wa__tip, .wa.is-hint .wa__tip { opacity: 1; transform: translate(0, -50%); }
.wa.is-dark { background: var(--gold); color: var(--navy); }
.wa.is-dark .wa__tip { background: var(--cream); color: var(--navy); }
body.menu-open .wa { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(255, 255, 255, .98); color: var(--navy);
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbin .6s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox form { display: flex; justify-content: flex-end; padding: 18px var(--gutter); }
.lightbox__close { background: none; border: 0; padding: 10px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.lightbox__pic { min-height: 0; display: grid; place-items: center; padding: 0 var(--gutter); }
.lightbox__pic img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { padding: 18px var(--gutter) 28px; text-align: center; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Cursor (fine pointers only)
   ========================================================================== */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
html.has-cursor select { cursor: pointer; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--navy); transition: opacity .3s, background-color .4s; }
.cursor__ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: grid; place-items: center;
}
.cursor__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(17, 17, 17, .35);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.cursor__label {
  position: relative; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: var(--cream);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); white-space: nowrap;
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.5); border-color: var(--navy); }
.cursor.is-label .cursor__ring::before { transform: scale(2.6); background: var(--navy); border-color: var(--navy); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { opacity: 0; }
body.is-dark .cursor__dot { background: var(--cream); }
body.is-dark .cursor__ring::before { border-color: rgba(255, 255, 255, .4); }
body.is-dark .cursor.is-label .cursor__ring::before { background: var(--gold); border-color: var(--gold); }
body.is-dark .cursor.is-label .cursor__label { color: var(--navy); }
.cursor.is-hidden { opacity: 0; }

/* ==========================================================================
   Reveal states (only when JS is running)
   ========================================================================== */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.serif .line, .serif.line { padding-bottom: .2em; margin-bottom: -.2em; }
.line > span { display: inline-block; }

html.js [data-reveal]:not([data-reveal="lines"]):not([data-reveal="mask"]):not([data-reveal="img"]) {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
html.js [data-reveal].is-in { opacity: 1 !important; transform: none !important; }

html.js [data-reveal="lines"] .line > span,
html.js [data-reveal="mask"] > span,
html.js .hero__title .line > span { transform: translateY(108%); transition: transform 1.3s var(--ease); }
html.js [data-reveal="mask"] { display: inline-block; overflow: hidden; padding-bottom: .06em; }
html.js [data-reveal="lines"].is-in .line > span,
html.js [data-reveal="mask"].is-in > span,
html.js.is-loaded .hero__title .line > span { transform: none; }
html.js [data-reveal="lines"] .line:nth-child(2) > span, html.js .hero__title .line:nth-child(2) > span { transition-delay: .09s; }
html.js [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .18s; }

html.js .hero__eyebrow, html.js .hero__lede, html.js .hero__actions, html.js .hero__visual, html.js .hero__foot {
  opacity: 0; transition: opacity 1.2s var(--ease) .35s;
}
html.js .hero__visual { transition-delay: .15s; }
html.js.is-loaded .hero__eyebrow, html.js.is-loaded .hero__lede, html.js.is-loaded .hero__actions,
html.js.is-loaded .hero__visual, html.js.is-loaded .hero__foot { opacity: 1; }

.wk__btn { position: relative; }
html.js [data-reveal="img"] .wk__btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--paper); transform-origin: 50% 0; transition: transform 1.4s var(--ease);
}
html.js [data-reveal="img"] figcaption { opacity: 0; transition: opacity 1s var(--ease) .5s; }
html.js [data-reveal="img"].is-in .wk__btn::after { transform: scaleY(0); }
html.js [data-reveal="img"].is-in figcaption { opacity: 1; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero { height: auto !important; }
  .hero__stage { position: relative !important; }
  @media (min-width: 1024px) { .hero { height: 100vh !important; min-height: 680px; } .hero__stage { height: 100% !important; } }
  .process { height: auto !important; }
  .process__pin { position: relative !important; height: auto !important; min-height: 100vh; }
  .process__steps li { display: grid !important; opacity: 1 !important; padding: 12px 0; }
  .process__steps li p { max-height: none !important; margin-top: 6px !important; }
  .process__scene { min-height: 380px; }
  .process__stage-label { display: none; }
}

/* Vertical section labels — desktop only */
.vlabel { display: none; }
@media (min-width: 1024px) {
  .vlabel {
    display: block; position: absolute; right: 26px; top: clamp(100px, 16vh, 180px); writing-mode: vertical-rl;
    font-size: 10px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--muted);
  }
  .vlabel::before { content: ""; display: inline-block; width: 1px; height: 44px; margin-bottom: 18px; background: var(--navy); vertical-align: top; }
}

@media (max-width: 1023px) { .process__stage-label { display: none; } }

/* ==========================================================================
   ATATC Studio — futuristic entry button + warp transition
   ========================================================================== */
@property --xa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.xbtn {
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  position: relative; isolation: isolate; flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; margin-left: 14px; padding: 0 12px 0 11px;
  background: #0B0B0C; color: #EDEDED; border-radius: 2px; overflow: hidden; contain: paint;
  font: 600 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* running light around the edge */
.xbtn::before {
  content: ""; position: absolute; inset: -40%; z-index: -2;
  background: conic-gradient(from var(--xa), transparent 0 62%, rgba(0, 174, 239, .9) 74%, #fff 79%, rgba(236, 0, 140, .9) 86%, transparent 94%);
  animation: xspin 3.6s linear infinite;
}
.xbtn::after { content: ""; position: absolute; inset: 1px; z-index: -1; background: #0B0B0C; border-radius: 1px;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 100% 3px; }
@keyframes xspin { to { --xa: 360deg; } }
.xbtn__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #00AEEF; box-shadow: 0 0 8px rgba(0, 174, 239, .9); }
.xbtn__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(0, 174, 239, .7); animation: xping 2.2s var(--ease) infinite; }
@keyframes xping { 0% { transform: scale(.4); opacity: 1; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.xbtn__txt { white-space: nowrap; font-variant-ligatures: none; }
.xbtn__arrow { display: none; font-family: var(--sans); font-size: 12px; transition: transform .5s var(--ease); }
.xbtn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0, 174, 239, .6); }
.xbtn:hover .xbtn__arrow { transform: translate(2px, -2px); }
.xbtn:hover::before { animation-duration: 1.4s; }
.xbtn:focus-visible { outline: 2px solid #00AEEF; outline-offset: 3px; }
@media (min-width: 400px) { .xbtn__arrow { display: inline; } }
@media (min-width: 1024px) {
  .xbtn { height: 40px; margin-left: 28px; padding: 0 16px 0 14px; gap: 12px; font-size: 10.5px; letter-spacing: .22em; }
}

/* Warp overlay */
.warp {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: #0B0B0C; color: #EDEDED; font-family: "IBM Plex Mono", ui-monospace, monospace;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s var(--ease-io), visibility 0s linear .7s;
}
.warp.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .7s var(--ease-io), visibility 0s; }
.warp__grid {
  position: absolute; inset: -20%;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(58deg) translateY(10%) scale(1.4); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(transparent, #000 45%, transparent 95%); mask-image: linear-gradient(transparent, #000 45%, transparent 95%);
  opacity: 0; transition: opacity 1.2s var(--ease) .2s;
}
.warp.is-on .warp__grid { opacity: 1; animation: gridrun 1.6s linear infinite; }
@keyframes gridrun { to { background-position: 0 64px, 0 0; } }
.warp__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #00AEEF 30%, #fff 50%, #EC008C 70%, transparent); box-shadow: 0 0 18px rgba(0, 174, 239, .8); opacity: 0; }
.warp.is-on .warp__scan { animation: scan 1.4s var(--ease-io) .25s forwards; }
@keyframes scan { 0% { transform: translateY(0); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(100vh); opacity: 0; } }
.warp__inner { position: relative; width: min(1100px, calc(100vw - 2 * var(--gutter))); }
.warp__kicker { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(237, 237, 237, .6); }
.warp__live { width: 6px; height: 6px; border-radius: 50%; background: #EC008C; box-shadow: 0 0 10px #EC008C; animation: blinkx 1s steps(1) infinite; }
@keyframes blinkx { 50% { opacity: .2; } }
.warp__title {
  margin: 22px 0 34px; min-height: 2.1em;
  font: 600 clamp(30px, 6.4vw, 96px)/1.02 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: -.035em; text-transform: uppercase;
  word-break: break-word;
}
.warp__title .hl { color: #00AEEF; }
.warp__bar { position: relative; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.warp__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, #00AEEF, #fff, #EC008C); transform: scaleX(0); transform-origin: left; }
.warp__meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(237, 237, 237, .55); font-variant-numeric: tabular-nums; }

/* the page itself dissolves underneath */
body.is-warping > :not(.warp):not(.cursor) {
  opacity: 0; filter: blur(10px); transform: scale(.985);
  transition: opacity .9s var(--ease-io), filter .9s var(--ease-io), transform 1.1s var(--ease-io);
}
body.is-warping .rail, body.is-warping .topbar { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .xbtn::before, .xbtn__dot::after, .warp__grid, .warp__live { animation: none !important; }
  body.is-warping > :not(.warp):not(.cursor) { filter: none; transform: none; }
}

/* Crystal / acrylic additions */
.plate--crystal { background: #eef0f2 url("../assets/img/crystal-sphere-480.webp") 60% 45% / cover no-repeat; }
.plate--acrylic { background: #eee url("../assets/img/acrylic-award-480.webp") 50% 45% / cover no-repeat; }
.svc__badge {
  display: inline-block; vertical-align: super; margin-left: .35em; padding: .32em .55em .28em;
  font: 700 clamp(9px, 1.1vw, 12px)/1 var(--sans); letter-spacing: .14em; font-style: normal;
  color: #fff; background: var(--gold); border-radius: 1px;
}
.hero__lede strong { font-weight: 600; color: var(--navy); }

/* ---------- Responsive refinements ---------- */
.contact__list dd, .footer__addr { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 359px) {
  .contact__list div { grid-template-columns: 84px 1fr; }
  .hero__eyebrow { letter-spacing: .2em; }
  .xbtn { padding: 0 9px; gap: 7px; letter-spacing: .12em; margin-left: 10px; }
  .topbar { gap: 12px; }
}
/* small laptops: give the header room */
@media (min-width: 1024px) and (max-width: 1279px) {
  .topbar__nav { gap: 22px; }
  .topbar__nav a { font-size: 13px; }
  .topbar__cta { display: none; }
  .xbtn { margin-left: 20px; }
}
.topbar__cta { white-space: nowrap; }
/* landscape phones: process becomes two columns so the card never covers the copy */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 560px) {
  .process__pin { grid-template-rows: none; grid-template-columns: 1fr 1.1fr; column-gap: 24px; align-items: center; padding-top: calc(var(--bar) + 4px); }
  .process__title { font-size: 26px; margin: 6px 0 10px; }
  .process__steps p { font-size: 13px; }
  .process__scene { height: 100%; overflow: hidden; }
  .pscene { width: min(34vw, 100svh); }
  .hero__visual { height: min(128vw, 760px); }
}
/* large screens: scale the reading sizes with the canvas */
@media (min-width: 1800px) {
  body { font-size: 17px; }
  .hero__copy { width: min(46vw, 1000px); }
  .hero__title { font-size: clamp(188px, 10.4vw, 260px); }
  .hero__lede { font-size: 18px; max-width: 44ch; }
  .hero__eyebrow { font-size: 14px; }
  .btn { min-height: 60px; padding: 0 34px; font-size: 13px; }
  .svc__desc, .intro__text p, .why__list p { font-size: 17px; }
  .wrap { max-width: calc(1760px + var(--rail)); }
}
@media (min-width: 2400px) {
  .hero__lede { font-size: 20px; }
  .topbar__nav a { font-size: 15px; }
}

/* Scroll arrows */
.chev { position: relative; display: inline-block; width: 14px; height: 24px; flex: none; }
.chev i {
  position: absolute; left: 50%; top: 2px; width: 9px; height: 9px; margin-left: -4.5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  opacity: 0; transform: translateY(0) rotate(45deg); animation: chevdown 1.9s var(--ease-io) infinite;
}
.chev i:nth-child(2) { animation-delay: .32s; }
@keyframes chevdown {
  0% { opacity: 0; transform: translateY(-2px) rotate(45deg); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(11px) rotate(45deg); }
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--navy);
  transition: opacity .5s var(--ease);
}
body.has-scrolled .scroll-cue, body.has-scrolled .hero__scroll { opacity: 0; pointer-events: none; }
.hero__scroll { transition: opacity .5s var(--ease); }
@media (min-width: 1024px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .chev i { animation: none; opacity: 1; } .chev i:nth-child(2) { opacity: .4; transform: translateY(7px) rotate(45deg); } }
