/* Kenaya Digital · prototype website
   Layout concept: a calm linen page on an 8px grid, framed by deep-ink "screens"
   (hero, CTA, footer) where the pixel grid of the K Piksel icon comes alive.
   Gold is used only as the "titik tuntas": one small accent per view. */
:root {
  --ink: #14324B;
  --ink-deep: #0D2234;
  --ink-soft: #1C405E;
  --linen: #F7F3EC;
  --linen-2: #EFE8DB;
  --paper: #FCFAF6;
  --gold: #C8963E;
  --gold-soft: #E2C083;
  --sage: #7E9C8A;
  --charcoal: #1F2328;
  --muted: #5B6670;
  --line: rgba(20, 50, 75, .14);
  --line-strong: rgba(20, 50, 75, .28);
  --on-ink: #F7F3EC;
  --on-ink-muted: rgba(247, 243, 236, .66);
  --line-on-ink: rgba(247, 243, 236, .14);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-card: 12px;
  --r-btn: 8px;
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--charcoal);
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- type ---------- */
.label {
  font-family: var(--f-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
}
.label.plain::before { display: none; }
.on-ink .label { color: var(--on-ink-muted); }

h1, h2, h3, .display {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1, .h1 { font-size: clamp(44px, 7vw, 92px); line-height: .98; letter-spacing: -.025em; font-variation-settings: "SOFT" 0, "WONK" 0; }
h2, .h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.018em; }
h3, .h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.005em; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 300; }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--on-ink); }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 20px; line-height: 32px; color: var(--muted); max-width: 34em; }
.on-ink .lead { color: var(--on-ink-muted); }
.small { font-size: 15px; line-height: 24px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--on-ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 22px;
  border-radius: var(--r-btn);
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 600; letter-spacing: .005em;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn .arrow { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.on-ink .btn { --bg: var(--linen); --fg: var(--ink); }
.on-ink .btn.ghost { --bg: transparent; --fg: var(--on-ink); border-color: var(--line-on-ink); }
.on-ink .btn.ghost:hover { border-color: var(--on-ink-muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px; color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color .3s, gap .4s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: 12px; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink-deep);
}
.site-header {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px);
  z-index: 50;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, color .4s;
  color: var(--on-ink);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
}
.site-header.scrolled {
  background: rgba(13, 34, 52, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-on-ink);
}
.site-header.light:not(.scrolled) { color: var(--ink); }
.site-header.hide { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; color: inherit; }
.brand svg { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  font-size: 15px; font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  opacity: .82;
  transition: opacity .3s;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 1.5px;
  background: var(--gold);
}
.nav .btn { height: 42px; padding: 0 16px; font-size: 15px; margin-left: 12px; --bg: var(--linen); --fg: var(--ink); }
.site-header.light:not(.scrolled) .nav .btn { --bg: var(--ink); --fg: var(--on-ink); }
.menu-btn {
  display: none;
  width: 44px; height: 44px; border-radius: 8px;
  background: transparent; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent);
  cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink-deep); color: var(--on-ink);
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter-r) 40px var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { color: var(--on-ink); background: transparent; box-shadow: none; }
.mobile-menu a {
  font-family: var(--f-display); font-size: 40px; line-height: 1.2; letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--line-on-ink);
  transform: translateY(24px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s;
}
.mobile-menu a small { font-family: var(--f-sans); font-size: 13px; letter-spacing: .16em; color: var(--on-ink-muted); }
.mobile-menu a[aria-current="page"] { color: var(--gold-soft); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }
.mobile-menu .meta { margin-top: auto; font-size: 15px; color: var(--on-ink-muted); }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-header .bar { height: 68px; }
  .brand svg { height: 26px; }
}

/* ---------- ink "screen" sections ---------- */
.on-ink { background: var(--ink-deep); color: var(--on-ink); position: relative; isolation: isolate; }
.grid-field {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; height: 100%;
}
.on-ink .scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 60% at 78% 40%, rgba(28, 64, 94, .9), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(126, 156, 138, .10), transparent 70%);
}

/* ---------- hero ---------- */
.hero { padding-block: calc(150px + env(safe-area-inset-top, 0px)) 72px; overflow: hidden; }
.hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero h1 { color: var(--on-ink); margin-top: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.2s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero .lead { margin-top: 28px; }
.hero .btn-row { margin-top: 40px; }
.hero-k { position: relative; aspect-ratio: 5 / 7; max-width: 380px; width: 100%; justify-self: end; }
.hero-k svg { width: 100%; height: auto; overflow: visible; }
.hero-k .px { transform-box: fill-box; transform-origin: center; }
.hero-k .px-ink { fill: var(--on-ink); }
.hero-k .px-gold { fill: var(--gold); }
.hero-k .ghost-px { fill: none; stroke: var(--line-on-ink); stroke-width: 1; }
.hero-k .caption {
  position: absolute; left: 0; right: 0; bottom: -44px;
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted);
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.hero-stats {
  margin-top: 96px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-on-ink);
}
.hero-stats > div { padding: 24px 24px 0 0; display: grid; gap: 6px; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line-on-ink); }
.hero-stats strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 40px); white-space: nowrap; line-height: 1.1; color: var(--on-ink); letter-spacing: -.01em; }
.hero-stats span { font-size: 14px; line-height: 21px; color: var(--on-ink-muted); }

.page-hero { padding-block: calc(160px + env(safe-area-inset-top, 0px)) 88px; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 24px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 15ch; }
.page-hero .crumbs { font-size: 14px; color: var(--on-ink-muted); display: flex; gap: 10px; align-items: center; }
.page-hero .crumbs a:hover { color: var(--on-ink); }

@media (max-width: 960px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero-k { justify-self: start; max-width: 140px; order: -1; }
  .hero-k .caption { display: none; }
  .hero { padding-top: calc(120px + env(safe-area-inset-top, 0px)); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats > div { padding-bottom: 20px; }
  .page-hero { padding-block: calc(124px + env(safe-area-inset-top, 0px)) 64px; }
}

/* ---------- sections ---------- */
.section { padding-block: 120px; }
.section.tight { padding-block: 88px; }
.section.paper { background: var(--paper); }
.section.alt { background: var(--linen-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 64px; }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead { justify-self: end; }
.sec-head.stack { grid-template-columns: 1fr; }
.sec-head.stack .lead { justify-self: start; }
@media (max-width: 860px) {
  .section { padding-block: 80px; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 44px; }
  .sec-head .lead { justify-self: start; }
}

/* reveal: content is visible at rest; JS adds a gentle settle-in as it enters */
.reveal { transition: transform 1s var(--ease), opacity 1s var(--ease); }
.js .reveal.pre { transform: translateY(28px); opacity: .5; }

/* ---------- promise documents ---------- */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.doc {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 28px 32px;
  display: grid; gap: 18px; align-content: start;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.doc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13, 34, 52, .35); }
.doc .doc-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc .doc-top b { font-weight: 700; color: var(--ink); }
.doc .lines { display: grid; gap: 8px; padding-block: 6px 4px; }
.doc .lines i { display: block; height: 6px; border-radius: 3px; background: var(--linen-2); }
.doc .lines i:nth-child(2) { width: 82%; }
.doc .lines i:nth-child(3) { width: 64%; }
.doc .lines i.g { width: 30%; background: rgba(200, 150, 62, .4); }
.doc h3 { font-size: 26px; }
.doc p { font-size: 16px; line-height: 26px; color: var(--muted); }
.doc .stamp {
  position: absolute; right: 22px; bottom: 22px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--sage); color: var(--sage);
  display: grid; place-items: center;
}
.promise-note { margin-top: 32px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

/* ---------- service list ---------- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr) 48px;
  gap: 24px; align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .6s var(--ease);
}
.svc-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
  background: var(--paper);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.svc-row:hover { padding-inline: 20px; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row { isolation: isolate; }
.svc-row .idx { font-size: 13px; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
.svc-row h3 { font-size: clamp(26px, 3vw, 36px); }
.svc-row p { font-size: 16px; line-height: 26px; color: var(--muted); }
.svc-row .go {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background .4s, color .4s, transform .6s var(--ease);
}
.svc-row:hover .go { background: var(--ink); color: var(--on-ink); transform: rotate(-45deg); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr 48px; gap: 10px 16px; }
  .svc-row .idx { grid-column: 1 / -1; }
  .svc-row p { grid-column: 1 / 2; }
  .svc-row .go { grid-row: 2; grid-column: 2; }
  .svc-row:hover { padding-inline: 0; }
}

/* ---------- packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pkg {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.pkg::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.pkg:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -34px rgba(13, 34, 52, .35); }
.pkg:hover::before { transform: scaleX(1); }
.pkg .pkg-name { display: grid; gap: 2px; }
.pkg .pkg-name small { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.pkg .pkg-name b { font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1.1; color: var(--ink); }
.pkg .pkg-desc { font-size: 15px; line-height: 24px; color: var(--muted); min-height: 72px; }
.pkg .price { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.pkg .price small { font-size: 13px; color: var(--muted); }
.pkg .price strong { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.pkg .price strong span { font-family: var(--f-sans); font-size: 15px; color: var(--muted); letter-spacing: 0; }
.pkg .specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pkg .specs div { background: var(--linen); border-radius: 8px; padding: 10px 8px; display: grid; gap: 2px; text-align: center; }
.pkg .specs b { font-size: 18px; line-height: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pkg .specs span { font-size: 11px; line-height: 14px; color: var(--muted); letter-spacing: .02em; }
.pkg .fit { font-size: 14px; line-height: 22px; color: var(--ink); margin-top: auto; }
.pkg .fit span { color: var(--muted); }
.pkg.featured { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pkg.featured .pkg-name b, .pkg.featured .price strong, .pkg.featured .specs b, .pkg.featured .fit { color: var(--on-ink); }
.pkg.featured .pkg-name small, .pkg.featured .pkg-desc, .pkg.featured .price small, .pkg.featured .price strong span, .pkg.featured .specs span, .pkg.featured .fit span { color: var(--on-ink-muted); }
.pkg.featured .price { border-color: var(--line-on-ink); }
.pkg.featured .specs div { background: rgba(247, 243, 236, .07); }
.pkg .tag {
  position: absolute; right: 18px; top: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 5px;
  background: rgba(200, 150, 62, .16); color: var(--gold-soft);
}
@media (max-width: 1100px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pkgs { grid-template-columns: 1fr; } .pkg .pkg-desc { min-height: 0; } }

/* ---------- process timeline (brand motif) ---------- */
.timeline { position: relative; padding-top: 12px; }
.timeline .track { position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--line); border-radius: 2px; }
.timeline .fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--ink); border-radius: 2px; transition: width .2s linear; }
.timeline .fill::after {
  content: ""; position: absolute; right: -7px; top: -6px; width: 14px; height: 14px; border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(200, 150, 62, .18);
}
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.step { display: grid; gap: 12px; align-content: start; }
.step .node {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--linen); border: 1.5px solid var(--line-strong);
  font-size: 14px; font-weight: 700; color: var(--muted);
  transition: background .5s, border-color .5s, color .5s;
}
.step.done .node { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.step h3 { font-size: 22px; margin-top: 8px; }
.step p { font-size: 15px; line-height: 24px; color: var(--muted); }
.step .dur { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.section.paper .step .node { background: var(--paper); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 64px; }
  .timeline .track { left: 19px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .timeline .fill { width: 2px !important; height: var(--p, 0%); right: auto; bottom: auto; }
  .timeline .fill::after { right: -6px; top: auto; bottom: -7px; }
  .step { position: relative; }
  .step .node { position: absolute; left: -64px; top: 0; }
  .step h3 { margin-top: 0; }
}

/* ---------- progress report mock ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.report {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 80px -50px rgba(13, 34, 52, .45);
  overflow: hidden;
}
.report .r-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.report .r-head b { font-size: 15px; color: var(--ink); }
.report .r-head span { font-size: 13px; color: var(--muted); }
.report .r-bar { padding: 18px 22px 6px; display: grid; gap: 10px; }
.report .r-bar .meter { height: 8px; border-radius: 4px; background: var(--linen-2); overflow: hidden; }
.report .r-bar .meter i { display: block; height: 100%; width: 62%; background: var(--ink); border-radius: 4px; position: relative; }
.report .r-bar .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.report .r-bar .row b { color: var(--ink); }
.report ul { list-style: none; margin: 0; padding: 12px 22px 22px; display: grid; gap: 10px; }
.report li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px; border-radius: 10px; background: var(--linen); }
.report li .st { grid-row: span 2; width: 10px; height: 10px; border-radius: 3px; margin-top: 7px; }
.report li small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.report li p { font-size: 15px; line-height: 22px; color: var(--charcoal); }
.st-done { background: var(--sage); } .t-done { color: #5E7D6B; }
.st-wip { background: var(--ink); } .t-wip { color: var(--ink); }
.st-ask { background: var(--gold); } .t-ask { color: #9A6E22; }
.report .r-foot { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 17px; line-height: 26px; }
.checks svg { margin-top: 1px; color: var(--sage); }
.on-ink .checks li { color: var(--on-ink); }

/* ---------- CTA band ---------- */
.cta { padding-block: 120px; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: end; }
.cta h2 { font-size: clamp(38px, 5.4vw, 72px); color: var(--on-ink); }
.cta p { margin-top: 20px; }
@media (max-width: 860px) { .cta { padding-block: 88px; } .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); padding-block: 72px 32px; border-top: 1px solid var(--line-on-ink); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: var(--on-ink); }
.site-footer .brand svg { height: 34px; }
.site-footer .tag { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 24px; line-height: 1.3; color: var(--on-ink); margin-top: 22px; max-width: 14em; }
.site-footer h4 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer a:hover { color: var(--on-ink); }
.site-footer .bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-on-ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > div:first-child { grid-column: 1 / -1; } }

/* ---------- services page ---------- */
.svc-detail { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.svc-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 72px; padding-block: 64px; border-bottom: 1px solid var(--line); }
.svc-block .meta { display: grid; gap: 16px; align-content: start; position: sticky; top: 110px; }
.svc-block .meta h2 { font-size: clamp(32px, 3.6vw, 44px); }
.svc-block .meta .pk { font-size: 14px; color: var(--muted); }
.svc-block .meta .pk a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--gold); }
.svc-block .body { display: grid; gap: 28px; }
.svc-block .deliver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc-block .deliver div { padding: 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; }
.svc-block .deliver b { font-size: 16px; color: var(--ink); }
.svc-block .deliver span { font-size: 14px; line-height: 22px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
@media (max-width: 860px) {
  .svc-block { grid-template-columns: 1fr; padding-block: 48px; }
  .svc-block .meta { position: static; }
  .svc-block .deliver { grid-template-columns: 1fr; }
}

.faq { display: grid; border-top: 1px solid var(--line-strong); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0;
  font-family: var(--f-display); font-size: 22px; line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-strong); position: relative; transition: transform .5s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 1.5px; background: var(--ink); }
.faq summary .pm::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] .pm { background: var(--ink); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--on-ink); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 56px 26px 0; color: var(--muted); font-size: 17px; line-height: 28px; max-width: 46em; }

/* ---------- pricing page ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
table.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--ink); background: var(--linen); }
.compare thead th:first-child { font-family: var(--f-sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; vertical-align: bottom; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td { color: var(--charcoal); font-variant-numeric: tabular-nums; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: #5E7D6B; font-weight: 600; }
.compare .no { color: var(--line-strong); }

.estimator { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.est-form { display: grid; gap: 28px; }
.est-group { display: grid; gap: 12px; }
.est-group > b { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt {
  position: relative; display: grid; gap: 2px;
  padding: 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--paper);
  cursor: pointer; transition: border-color .3s, background .3s, box-shadow .3s;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { font-size: 17px; color: var(--ink); }
.opt span { font-size: 13px; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt .tick { position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.opt .tick svg { opacity: 0; color: var(--on-ink); transition: opacity .2s; }
.opt:has(input:checked) .tick { background: var(--ink); border-color: var(--ink); }
.opt:has(input:checked) .tick svg { opacity: 1; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stepper { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); }
.stepper .lbl { flex: 1; display: grid; }
.stepper .lbl b { font-size: 16px; color: var(--ink); }
.stepper .lbl span { font-size: 13px; color: var(--muted); }
.stepper button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--linen); cursor: pointer; font-size: 18px; }
.stepper output { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }

.quote {
  position: sticky; top: 100px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(13, 34, 52, .45);
}
.quote .q-head { padding: 20px 24px; background: var(--ink); color: var(--on-ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.quote .q-head b { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.quote .q-head span { font-size: 13px; color: var(--on-ink-muted); font-variant-numeric: tabular-nums; }
.quote .q-title { padding: 22px 24px 4px; }
.quote .q-title h3 { font-size: 24px; }
.quote .q-title p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.quote table { width: 100%; border-collapse: collapse; font-size: 15px; }
.quote th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 16px 24px 8px; }
.quote th:last-child, .quote td:last-child { text-align: right; }
.quote td { padding: 10px 24px; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.quote tr.new td { animation: flash 1.2s var(--ease); }
@keyframes flash { from { background: rgba(200, 150, 62, .16); } to { background: transparent; } }
.quote .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 24px; border-top: 1px solid var(--line-strong); margin-top: 8px; }
.quote .total span { font-size: 14px; font-weight: 600; color: var(--ink); }
.quote .total strong { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.quote .q-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.quote .q-meta div { padding: 14px 16px; display: grid; gap: 2px; text-align: center; }
.quote .q-meta div + div { border-left: 1px solid var(--line); }
.quote .q-meta b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.quote .q-meta span { font-size: 12px; color: var(--muted); }
.quote .q-foot { padding: 16px 24px 22px; font-size: 13px; line-height: 20px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .estimator { grid-template-columns: 1fr; } .quote { position: static; } }
@media (max-width: 560px) { .seg, .addons { grid-template-columns: 1fr; } }

/* ---------- work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button {
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work { display: grid; gap: 18px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.work.out { opacity: .15; transform: scale(.98); pointer-events: none; }
.work .shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden;
  background: var(--ink-deep); isolation: isolate;
}
.work .shot .win {
  position: absolute; left: 9%; right: 9%; top: 12%; bottom: -6%;
  border-radius: 10px 10px 0 0; background: var(--linen);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  transition: transform 1s var(--ease);
  overflow: hidden;
}
.work:hover .shot .win { transform: translateY(-4%) scale(1.02); }
.win .wbar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--linen-2); }
.win .wbar i { width: 8px; height: 8px; border-radius: 2px; background: var(--line-strong); }
.win .wbar i:last-child { background: var(--gold); margin-left: auto; }
.win .wbody { padding: 16px; display: grid; gap: 10px; }
.w-blk { border-radius: 6px; background: var(--linen-2); }
.w-ink { background: var(--ink); }
.w-sage { background: var(--sage); opacity: .7; }
.w-gold { background: var(--gold); }
.work .shot .pxl { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.work .info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; }
.work h3 { font-size: 26px; }
.work .info p { font-size: 15px; line-height: 24px; color: var(--muted); grid-column: 1 / -1; }
.work .kpi { text-align: right; }
.work .kpi b { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1; color: var(--ink); display: block; }
.work .kpi span { font-size: 12px; color: var(--muted); }
.work .meta { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.example-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 5px; background: rgba(247, 243, 236, .12); color: var(--on-ink-muted);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

.case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border-radius: 16px; overflow: hidden; background: var(--ink); color: var(--on-ink);
}
.case .c-text { padding: 56px; display: grid; gap: 20px; align-content: center; }
.case .c-text h2 { color: var(--on-ink); font-size: clamp(30px, 3.4vw, 44px); }
.case .c-text p { color: var(--on-ink-muted); }
.case .ba { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-deep); }
.case .ba div { padding: 56px 32px; display: grid; gap: 10px; align-content: center; text-align: center; }
.case .ba div + div { border-left: 1px solid var(--line-on-ink); }
.case .ba small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); font-weight: 700; }
.case .ba strong { font-family: var(--f-display); font-weight: 300; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -.02em; }
.case .ba div:last-child strong { color: var(--gold-soft); }
.case .ba span { font-size: 14px; color: var(--on-ink-muted); }
.case .note { font-size: 13px; color: var(--on-ink-muted); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case .c-text { padding: 36px 28px; } .case .ba div { padding: 36px 16px; } }

/* ---------- about page ---------- */
.name-split { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; }
.name-split .part { padding: 36px 28px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; transition: transform .6s var(--ease); }
.name-split .part:hover { transform: translateY(-6px); }
.name-split .word { font-family: var(--f-display); font-size: clamp(48px, 6vw, 80px); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.name-split .word em { font-weight: 300; }
.name-split .mean { font-size: 16px; color: var(--muted); }
.name-split .val { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-top: 8px; }
.name-split .op { font-family: var(--f-display); font-size: 40px; color: var(--gold); }
.name-split .part.result { background: var(--ink); border-color: var(--ink); }
.name-split .part.result .word, .name-split .part.result .val { color: var(--on-ink); }
.name-split .part.result .mean { color: var(--on-ink-muted); }
@media (max-width: 900px) { .name-split { grid-template-columns: 1fr; } .name-split .op { justify-self: center; line-height: 1; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.value { padding: 40px 32px 40px 0; display: grid; gap: 14px; align-content: start; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value .root { font-size: 13px; color: var(--muted); }
.value .root b { color: var(--ink); font-weight: 600; }
.value h3 { font-size: 36px; }
.value p { font-size: 16px; line-height: 26px; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.quote-big { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; letter-spacing: -.01em; color: var(--on-ink); max-width: 22em; text-wrap: balance; }
.quote-big em { color: var(--gold-soft); }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; }
.principle .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--linen); display: grid; place-items: center; color: var(--ink); }
.principle b { font-size: 18px; color: var(--ink); }
.principle p { font-size: 15px; line-height: 24px; color: var(--muted); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 36px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field .flabel { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--charcoal);
  padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--linen);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 24px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 3px rgba(20, 50, 75, .1); }
.field .hint { font-size: 13px; color: var(--muted); }
.field.invalid input, .field.invalid textarea { border-color: #A4462F; }
.field .err { font-size: 13px; color: #A4462F; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; height: 40px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pill input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-done { display: grid; gap: 16px; padding: 12px 0; }
.form-done .big-check { width: 64px; height: 64px; border-radius: 14px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; position: relative; }
.form-done .big-check::after { content: ""; position: absolute; right: -5px; top: -5px; width: 14px; height: 14px; border-radius: 3px; background: var(--gold); }
.side-info { display: grid; gap: 28px; }
.info-card { padding: 28px; border-radius: 16px; background: var(--ink); color: var(--on-ink); display: grid; gap: 18px; }
.info-card .row { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line-on-ink); }
.info-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); font-weight: 700; }
.info-card .val { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 18px; }
.copy { height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-on-ink); background: transparent; color: var(--on-ink); font-size: 13px; cursor: pointer; }
.copy:hover { border-color: var(--on-ink-muted); }
.next-steps { display: grid; gap: 0; }
.next-steps div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.next-steps b { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.next-steps span { font-size: 15px; line-height: 24px; color: var(--muted); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 24px 20px; } .form .row2 { grid-template-columns: 1fr; } }

/* ---------- pixel page transition ---------- */
.px-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid;
  pointer-events: none;
}
.px-overlay.active { pointer-events: all; }
.px-overlay .cell {
  background: var(--ink-deep);
  transform: scale(0);
  border-radius: 4px;
  transition: transform .5s var(--ease-io), border-radius .5s;
  transition-delay: var(--d, 0ms);
}
.px-overlay .cell.gold { position: relative; }
.px-overlay .cell.gold::after { content: ""; position: absolute; inset: 30%; border-radius: 3px; background: var(--gold); transform: scale(0); transition: transform .45s var(--ease) var(--d, 0ms); }
.px-overlay.cover .cell.gold::after { transform: scale(1); transition-delay: calc(var(--d, 0ms) + 250ms); }
.px-overlay.cover .cell { transform: scale(1.02); border-radius: 0; }
.px-overlay.instant .cell { transition: none; }
.px-overlay .px-label {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; gap: 14px; justify-items: center; text-align: center;
  color: var(--on-ink); opacity: 0; transition: opacity .35s;
}
.px-overlay.labeled .px-label { opacity: 1; transition-delay: .3s; }
.px-overlay .px-label b { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.01em; }
.px-overlay .px-label span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-muted); }
.px-overlay .px-label i { display: block; width: 120px; height: 2px; background: var(--line-on-ink); position: relative; overflow: hidden; border-radius: 2px; }
.px-overlay .px-label i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.px-overlay.labeled .px-label i::after { animation: load .7s var(--ease) .3s forwards; }
@keyframes load { to { transform: scaleX(1); } }
html.px-entering body::after { content: ""; position: fixed; inset: 0; z-index: 99; background: var(--ink-deep); }

/* ---------- misc ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--paper); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: 28px; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); }
.marquee span:nth-child(even) { font-style: italic; font-weight: 300; }
@keyframes slide { to { transform: translateX(-50%); } }

.proto-note { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.proto-note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--muted); flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .reveal.pre { transform: none; opacity: 1; }
}
.case .label { color: var(--on-ink-muted); }
