/* ============================================================
   SAINTO GROUP — Dark Cinematic Tech
   ============================================================ */

:root {
  /* Surfaces */
  --bg:        #07080a;
  --bg-2:      #0c0d10;
  --bg-3:      #131418;
  --ink:       #f4f5f7;
  --ink-dim:   #9aa0a8;
  --ink-mute:  #5e636c;
  --rule:      rgba(255, 255, 255, 0.07);
  --rule-2:    rgba(255, 255, 255, 0.14);
  --rule-3:    rgba(255, 255, 255, 0.28);
  --accent:    #e8e2d0;       /* whispered marble cream */
  --signal:    #d6e2f0;       /* cool moonlight */

  /* Type */
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', 'Times New Roman', serif;

  /* Layout */
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --gutter: clamp(18px, 2vw, 28px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; }

/* Subtle global film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Container */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.mono-dim { color: var(--ink-mute); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.eyebrow .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Display headings */
.display-xl {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(48px, 8.6vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.display-lg {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.display-md {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(7,8,10,0.85), rgba(7,8,10,0.55) 70%, rgba(7,8,10,0));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav.is-stuck {
  background: rgba(7,8,10,0.85);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand .mark {
  width: 22px; height: 22px;
  position: relative;
  display: inline-grid; place-items: center;
}
.brand .mark::before, .brand .mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--ink);
}
.brand .mark::after { transform: scale(0.45); background: var(--ink); border: none; }
.brand .name {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand .slash { color: var(--ink-mute); margin: 0 2px; }

.nav-mid {
  display: flex;
  gap: 28px;
  justify-self: center;
}
.nav-mid a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.2s;
}
.nav-mid a:hover { color: var(--ink); }
.nav-mid a[aria-current="page"] {
  color: var(--ink);
}
.nav-mid a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent);
}

.nav-end { justify-self: end; display: flex; align-items: center; gap: 12px; }

@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-mid { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bg-btn: var(--ink);
  --fg-btn: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-btn);
  color: var(--fg-btn);
  border: 1px solid var(--bg-btn);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border 0.25s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-3);
}

.btn.ghost {
  --bg-btn: transparent;
  --fg-btn: var(--ink);
  border-color: var(--rule-2);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn.lg {
  padding: 18px 28px;
  font-size: 14.5px;
}

.btn .arrow {
  width: 14px; height: 14px;
  display: inline-flex;
}

/* Magnetic CTA wrapper */
.magnet { display: inline-block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--pad) clamp(40px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(7,8,10,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(7,8,10,0.85) 0%, transparent 60%),
    linear-gradient(180deg, rgba(7,8,10,0.5) 0%, transparent 30%, transparent 60%, rgba(7,8,10,0.9) 100%);
}

.hero-grid {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(46px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin: 0;
  max-width: 14ch;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-size: 1.02em;
}

.hero-sub {
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin: 0;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  gap: 24px;
  flex-wrap: wrap;
}
.hero-footnote .tags {
  display: flex; gap: 18px;
  flex-wrap: wrap;
}
.hero-footnote .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-footnote .tag::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--ink-mute);
  border-radius: 50%;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.scroll-cue .bar {
  display: inline-block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 100%; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: travel 2.6s var(--ease) infinite;
}
@keyframes travel {
  0% { transform: translateY(0); }
  100% { transform: translateY(72px); }
}

/* Hero corners — subtle "instrument" decoration */
.hero-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--rule-2);
  pointer-events: none;
}
.hero-corner.tl { top: 90px; left: var(--pad); border-right: none; border-bottom: none; }
.hero-corner.tr { top: 90px; right: var(--pad); border-left: none; border-bottom: none; }
.hero-corner.bl { bottom: 20px; left: var(--pad); border-right: none; border-top: none; }
.hero-corner.br { bottom: 20px; right: var(--pad); border-left: none; border-top: none; }

/* ============================================================
   SECTIONS (common)
   ============================================================ */
section {
  position: relative;
  padding: clamp(90px, 11vw, 180px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.section-head .left { display: flex; flex-direction: column; gap: 18px; }
.section-head .right { display: flex; flex-direction: column; gap: 18px; }
.section-head .lead {
  font-size: 17px;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 52ch;
}

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.manifesto-list .item {
  padding: 56px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--rule);
}
.manifesto-list .item:nth-child(2n) {
  border-left: 1px solid var(--rule);
  padding-left: 40px;
}
.manifesto-list .item:nth-child(2n+1) { padding-right: 40px; }
.manifesto-list .item:nth-last-child(-n+2) { border-bottom: none; }

.manifesto-list .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  padding-top: 6px;
}
.manifesto-list h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.manifesto-list p {
  margin: 0;
  color: var(--ink-dim);
  line-height: 1.55;
  font-size: 15.5px;
  max-width: 50ch;
}

@media (max-width: 820px) {
  .manifesto-list { grid-template-columns: 1fr; }
  .manifesto-list .item { padding: 36px 0 !important; border-left: none !important; }
}

/* ============================================================
   SERVICES — row list
   ============================================================ */
.svc {
  border-top: 1px solid var(--rule);
}
.svc-row {
  display: grid;
  grid-template-columns: 60px minmax(180px, 1.2fr) minmax(0, 2.2fr) 60px;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
  transition: padding 0.35s var(--ease);
}
.svc-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.025), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.svc-row:hover::before { opacity: 1; }
.svc-row:hover .svc-name { color: var(--ink); }
.svc-row:hover .svc-arrow { transform: translate(8px, -8px); opacity: 1; }

.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.svc-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.02em;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.svc-desc {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.5;
  max-width: 60ch;
}
.svc-arrow {
  justify-self: end;
  width: 14px; height: 14px;
  color: var(--ink-dim);
  opacity: 0.5;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

@media (max-width: 820px) {
  .svc-row {
    grid-template-columns: 32px 1fr;
    gap: 14px 18px;
    padding: 24px 0;
  }
  .svc-desc { grid-column: 2; }
  .svc-arrow { display: none; }
}

/* ============================================================
   REPLACE BIG TYPE BLOCK
   ============================================================ */
.replace {
  position: relative;
}
.replace .big-line {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--ink-mute);
  max-width: 18ch;
}
.replace .big-line .hot { color: var(--ink); }
.replace .big-line em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.replace-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.replace-stack {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.replace-stat {
  background: var(--bg);
  padding: 28px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 22px;
  align-items: center;
}
.replace-stat .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.replace-stat .v {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: right;
}
.replace-stat .v small {
  font-size: 0.55em;
  color: var(--ink-dim);
  margin-left: 6px;
  font-weight: 400;
}

@media (max-width: 820px) {
  .replace-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VERTICALS
   ============================================================ */
.verticals {
  border-top: 1px solid var(--rule);
}
.v-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.v-card {
  padding: 48px 36px 40px;
  border-right: 1px solid var(--rule);
  position: relative;
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 440px;
  transition: background 0.4s;
}
.v-card:last-child { border-right: none; }
.v-card:hover { background: var(--bg-2); }

.v-card .v-num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.v-card .v-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}
.v-card .v-name em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.v-card .v-desc {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin: 0;
}
.v-card .v-specs {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.v-card .v-spec {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v-card .v-spec .k { color: var(--ink-mute); }
.v-card .v-spec .val { color: var(--ink); }

@media (max-width: 880px) {
  .v-grid { grid-template-columns: 1fr; }
  .v-card { border-right: none; border-bottom: 1px solid var(--rule); min-height: auto; }
  .v-card:last-child { border-bottom: none; }
}

/* ============================================================
   RESULTS / TRUST
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.result {
  background: var(--bg);
  padding: 40px 28px;
}
.result .v {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.result .v em {
  font-family: var(--serif);
  color: var(--accent);
  font-weight: 400;
}
.result .l {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  max-width: 24ch;
  line-height: 1.5;
}

.trust-strip {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-strip .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.trust-strip .names {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-strip .name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
}
.trust-strip .name.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
}

@media (max-width: 880px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORKS — Strip (home-page teaser)
   ============================================================ */
.works-strip {
  border-top: 1px solid var(--rule);
  margin-bottom: 56px;
}
.ws-row {
  display: grid;
  grid-template-columns: 56px minmax(140px, 1fr) minmax(0, 1.7fr) auto 40px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: padding 0.35s var(--ease);
}
.ws-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.025), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ws-row:hover::before { opacity: 1; }
.ws-row:hover .ws-name { color: var(--ink); }
.ws-row:hover .ws-arrow { transform: translate(6px, -6px); opacity: 1; color: var(--ink); }

.ws-num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ws-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.025em;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.ws-sector {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.ws-metric {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.ws-metric strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ws-arrow {
  justify-self: end;
  width: 14px; height: 14px;
  color: var(--ink-dim);
  opacity: 0.5;
  transition: transform 0.35s var(--ease), opacity 0.3s, color 0.3s;
}
.works-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 820px) {
  .ws-row {
    grid-template-columns: 36px 1fr;
    gap: 6px 16px;
    padding: 22px 0;
  }
  .ws-sector, .ws-metric { grid-column: 2; }
  .ws-arrow { display: none; }
}

/* ============================================================
   PAGE HEADER (dedicated subpages)
   ============================================================ */
.page-header {
  padding: 160px var(--pad) 88px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-header .wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-header h1 {
  margin: 0;
  max-width: 18ch;
}
.page-lead {
  max-width: 60ch;
  font-size: 17px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0;
}
.page-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.page-meta .pm {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-meta .pm::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--ink-mute);
  border-radius: 50%;
}
.page-meta .pm:first-child::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Faint nebula tint on page-header */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(232, 226, 208, 0.04), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 0%, rgba(214, 226, 240, 0.04), transparent 60%);
}

/* ============================================================
   WORKS — Selected engagements (cards)
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.work {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background 0.5s var(--ease);
  position: relative;
  isolation: isolate;
}
.work:hover { background: var(--bg-2); }
.work:hover .work-visual::after { opacity: 1; }
.work:hover .work-visual svg { transform: scale(1.04); opacity: 1; }
.work:hover .work-name { color: var(--ink); }

.work-visual {
  position: relative;
  height: 240px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.025), transparent 70%);
}
.work-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232, 226, 208, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.work-visual svg {
  position: relative;
  width: 78%;
  max-width: 380px;
  height: auto;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0.85;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  padding: 22px 28px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.work-body {
  padding: 0 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.work-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  color: var(--ink-dim);
  transition: color 0.3s;
}

.work-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  flex-wrap: wrap;
}
.work-tag .sep { color: var(--ink-mute); }

.work-desc {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 4px 0 0;
  max-width: 52ch;
}

.work-stats {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.work-stat {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work-stat .k { color: var(--ink-mute); }
.work-stat .v { color: var(--ink); }

.work-foot {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.work-foot em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0 8px;
}

@media (max-width: 880px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-visual { height: 200px; }
  .work-body { padding: 0 22px 28px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.process-step {
  padding: 40px 28px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
}
.process-step:last-child { border-right: none; }
.process-step .pnum {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.process-step .ptitle {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.process-step .pdesc {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  width: 14px;
  height: 1px;
  background: var(--rule-2);
}
.process-step:last-child::after { display: none; }

@media (max-width: 880px) {
  .process-list { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .process-step::after { display: none; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: clamp(120px, 14vw, 220px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.7;
}
.final-cta::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(7,8,10,0.7) 70%, var(--bg) 100%);
  pointer-events: none;
  z-index: -1;
}
.final-cta .big {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
}
.final-cta .big em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}
.final-cta .sub {
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 48ch;
  margin: 0 auto 40px;
}
.final-cta .meta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--rule);
  padding: 36px var(--pad);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.foot-inner a { color: var(--ink-dim); }
.foot-inner a:hover { color: var(--ink); }
.foot-end { display: flex; gap: 24px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .scroll-cue .bar::after { animation: none; }
}

@media print {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero { min-height: auto; padding: 60px var(--pad); }
  .nav { position: static; }
  canvas, body::after { display: none !important; }
}
