/* =========================================================
   Serafima Digital - Shared Styles
   Imported by every page under ./site/
   ========================================================= */

:root {
  --bg:        #0b0a08;
  --bg-2:      #100e0b;
  --fg:        #efeae0;
  --fg-muted:  #a8a097;
  --fg-dim:    #6b655c;
  --line:      rgba(239, 234, 224, 0.10);
  --line-2:    rgba(239, 234, 224, 0.18);

  --ember:     oklch(0.74 0.12 55);
  --ember-soft: oklch(0.74 0.12 55 / 0.18);
  --bright:    #FF6B3D; /* vivid tangerine - hero / accent highlight */

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono:  "Geist Mono", ui-monospace, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
}

:root[data-theme="light"] {
  --bg:        #f6f1e6;
  --bg-2:      #ece5d5;
  --fg:        #15130f;
  --fg-muted:  #5a544c;
  --fg-dim:    #968d80;
  --line:      rgba(21, 19, 15, 0.08);
  --line-2:    rgba(21, 19, 15, 0.20);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background-color .6s ease, color .6s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--bright); color: var(--bg); }

/* ----- Ambient film grain ----- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  transition: opacity .6s ease;
}
:root[data-theme="light"] body::after {
  mix-blend-mode: multiply;
  opacity: 0.04;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: backdrop-filter .4s ease, background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.01em;
  display: flex; align-items: baseline; gap: 10px;
  white-space: nowrap;
}
.brand .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bright);
  display: inline-block;
  transform: translateY(-3px);
  box-shadow: 0 0 18px var(--bright);
}
.brand em {
  font-style: italic;
  color: var(--fg-muted);
  font-size: 0.85em;
}
.nav-links {
  display: flex; gap: clamp(14px, 2.5vw, 32px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 1px; background: var(--fg);
  transition: right .35s cubic-bezier(.6,.2,.2,1);
}
.nav-links a.is-current { color: var(--fg); }
.nav-links a.is-current::after { right: 0; background: var(--bright); }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { right: 0; }

/* Theme switcher */
.theme-switch {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--fg-muted);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.theme-switch:hover { border-color: var(--fg-muted); }
.theme-switch span[data-mode] { transition: color .3s ease, opacity .3s ease; opacity: 0.55; }
.theme-switch .ts-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bright);
  transition: transform .4s cubic-bezier(.6,.2,.2,1);
}
:root[data-theme="dark"] .theme-switch span[data-mode="dark"] { color: var(--bright); opacity: 1; }
:root[data-theme="light"] .theme-switch span[data-mode="light"] { color: var(--bright); opacity: 1; }

/* Hamburger - hidden on desktop, shown ≤860px */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color .3s ease;
}
.nav-toggle:hover { border-color: var(--fg-muted); }
.nav-toggle .bar {
  display: block;
  width: 16px; height: 1px;
  background: var(--fg);
  transition: transform .35s cubic-bezier(.6,.2,.2,1), opacity .25s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { padding: 14px var(--pad); }
  .nav-toggle { display: inline-flex; order: 3; }
  .theme-switch { order: 2; margin-left: auto; }
  .brand { order: 1; }

  /* Mobile drawer */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 84px var(--pad) 32px;
    background: color-mix(in oklab, var(--bg) 96%, transparent);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    letter-spacing: 0.1em;
    transform: translateY(-102%);
    transition: transform .45s cubic-bezier(.6,.2,.2,1);
    pointer-events: none;
    z-index: 40;
    max-height: 100vh;
    max-height: 100svh;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--fg);
  }
  .nav-links a::after { display: none; }
  .nav-links a.is-current { color: var(--bright); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .theme-switch { padding: 8px 12px; font-size: 10px; }
  .brand { font-size: 18px; }
}

/* =========================================================
   SECTION PRIMITIVES
   ========================================================= */
section { position: relative; padding: 0 var(--pad); }
.wrap { max-width: var(--maxw); margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 14px;
}
.section-label .bar {
  flex: 0 0 28px; height: 1px; background: var(--fg-dim);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--fg-muted); }

/* =========================================================
   HERO (index)
   ========================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-bottom: clamp(40px, 8vh, 96px);
  padding-top: clamp(110px, 14vh, 150px);
  overflow: hidden;
  position: relative;
}
#hero-perlin {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#hero-perlin canvas {
  /* Soft vignette so the wave fades toward the edges of the hero. */
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 55%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 55%, #000 55%, transparent 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow::before {
  content: "";
  position: absolute;
  left: 50%; top: 38%;
  width: 1100px; height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center,
    rgba(255, 107, 61, 0.18) 0%,
    rgba(255, 107, 61, 0.08) 22%,
    transparent 60%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-glow::after {
  content: "";
  position: absolute;
  right: -10%; bottom: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center,
    oklch(0.55 0.06 250 / 0.20) 0%,
    transparent 60%);
  filter: blur(30px);
  animation: drift2 22s ease-in-out infinite alternate;
}
:root[data-theme="light"] .hero-glow::before {
  background: radial-gradient(circle at center,
    rgba(255, 107, 61, 0.16) 0%,
    rgba(255, 107, 61, 0.06) 22%,
    transparent 60%);
}
:root[data-theme="light"] .hero-glow::after {
  background: radial-gradient(circle at center,
    oklch(0.55 0.06 250 / 0.10) 0%,
    transparent 60%);
}
@keyframes drift {
  0%   { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-46%, -54%) scale(1.08); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -30px) scale(1.1); }
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(16px, 2.5vh, 28px);
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta .col {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.8;
}
.hero-meta .col .k { color: var(--fg-dim); display: block; margin-bottom: 4px; }

.hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 14.5vw, 240px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.hero-title .row { display: block; }
.hero-title em { font-style: italic; color: var(--fg-muted); }
.hero-title em.bright {
  color: var(--bright);
  font-style: italic;
  text-shadow: 0 0 80px rgba(255, 107, 61, 0.35);
  position: relative;
}

.hero-foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(4px, 0.8vh, 14px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--fg);
  max-width: 32ch;
  margin: 0;
}
.hero-sub::before {
  content: none;
}
.hero-support {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 38ch;
  border-left: 1px solid var(--line-2);
  padding-left: 20px;
}
@media (max-width: 720px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-support { border-left: none; padding-left: 0; padding-top: 16px; border-top: 1px solid var(--line); }
}

.scroll-cue {
  position: absolute;
  bottom: 24px; right: var(--pad);
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
}
.scroll-cue .line {
  width: 1px; height: 36px; background: var(--fg-dim);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -100%;
  height: 100%;
  background: var(--bright);
  animation: trickle 2.4s ease-in-out infinite;
}
@keyframes trickle {
  0%   { top: -100%; }
  100% { top: 100%; }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-sec {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.marquee-wrap {
  display: block;
  padding: clamp(28px, 5vh, 44px) 0;
  overflow: hidden;
  position: relative;
  color: var(--fg);
  cursor: pointer;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee-track > span:not(.dot-sep) {
  transition: color .4s ease, font-style .4s ease;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-wrap:hover .marquee-track > span:not(.dot-sep) {
  font-style: italic;
  color: var(--bright);
}
.marquee-track .dot-sep {
  color: var(--ember);
  font-size: 0.3em;
  transform: translateY(-0.15em);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   PAGE HERO (about / services / contact)
   ========================================================= */
.page-hero {
  padding-top: clamp(140px, 22vh, 220px);
  padding-bottom: clamp(60px, 10vh, 120px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -10%;
  width: 1000px; height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(255, 107, 61, 0.14),
    transparent 60%);
  filter: blur(36px);
  pointer-events: none;
}
.page-hero .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page-hero .crumbs a { color: var(--fg-muted); transition: color .25s; }
.page-hero .crumbs a:hover { color: var(--bright); }
.page-hero .crumbs .here { color: var(--fg); }
.page-hero .crumbs .sep { opacity: 0.5; }

.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(80px, 18vw, 320px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.page-title em { font-style: italic; color: var(--fg-muted); }
.page-title .period,
.page-title .bright {
  color: var(--bright);
  font-style: normal;
}
.page-title em.bright {
  font-style: italic;
  font-size: 0.8em;
  text-shadow: 0 0 80px rgba(255, 107, 61, 0.30);
}

.page-hero-foot {
  margin-top: clamp(40px, 7vh, 80px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 96px);
  align-items: end;
  position: relative;
}
.page-hero-foot .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--fg);
  max-width: 28ch;
  margin: 0;
}
.page-hero-foot .lede::before {
  content: none;
}
.page-hero-foot .colophon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.page-hero-foot .colophon .k { color: var(--fg-dim); display: block; margin-bottom: 6px; }
@media (max-width: 860px) {
  .page-hero-foot { grid-template-columns: 1fr; }
}

/* =========================================================
   BIO (about)
   ========================================================= */
.bio {
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
}
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
}
.portrait-wrap { position: sticky; top: 100px; }
@media (max-width: 860px) { .portrait-wrap { position: static; } }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0;
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s ease;
}
.portrait:hover img { transform: scale(1.02); }
:root[data-theme="dark"] .portrait img { filter: saturate(0.85) contrast(1.05) brightness(0.92); }
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 107, 61, 0.10),
    transparent 60%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
:root[data-theme="light"] .portrait::after { mix-blend-mode: multiply; opacity: 0.6; }
.portrait .frame-marks {
  position: absolute; inset: 14px;
  border: 1px solid var(--line-2);
  z-index: 3;
  pointer-events: none;
}
.portrait .frame-marks::before,
.portrait .frame-marks::after {
  content: ""; position: absolute;
  width: 10px; height: 10px;
  border-color: var(--fg-muted);
  border-style: solid;
}
.portrait .frame-marks::before {
  top: -1px; left: -1px;
  border-width: 1px 0 0 1px;
}
.portrait .frame-marks::after {
  bottom: -1px; right: -1px;
  border-width: 0 1px 1px 0;
}
.portrait-caption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.bio-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 18px 0 28px;
  text-wrap: balance;
}
.bio-copy h2 em { font-style: italic; color: var(--fg-muted); }
.bio-copy p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--fg);
  margin: 0 0 22px;
  max-width: 56ch;
}
.bio-copy p.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.1vw, 28px);
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 28px;
}
.bio-copy .pull {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--bright);
  border-left: 1px solid var(--bright);
  padding-left: 24px;
  margin: 36px 0;
  max-width: 38ch;
}
.bio-copy .pull em { font-style: italic; }
.bio-copy .signoff {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 12px;
}
.bio-copy .signoff .signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--fg);
  letter-spacing: 0;
  text-transform: none;
}

/* =========================================================
   PRINCIPLES (about)
   ========================================================= */
.principles {
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
  position: relative;
}
.principles-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(48px, 8vh, 96px);
  align-items: end;
}
@media (max-width: 860px) { .principles-head { grid-template-columns: 1fr; } }
.principles-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--fg-muted);
  max-width: 38ch;
  margin: 0;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .principle-grid { grid-template-columns: 1fr; } }
.principle {
  background: var(--bg);
  padding: clamp(28px, 4vh, 44px);
  position: relative;
  transition: background .4s ease;
}
.principle:hover { background: var(--bg-2); }
.principle:hover .p-num { color: var(--bright); }
.principle .p-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  margin-bottom: 24px;
  display: block;
  transition: color .35s ease;
}
.principle h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.principle h3 em { font-style: italic; color: var(--fg-muted); }
.principle p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 46ch;
}

/* =========================================================
   CREDENTIALS (about)
   ========================================================= */
.creds {
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
}
.creds-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .creds-grid { grid-template-columns: 1fr; } }
.creds-side { position: sticky; top: 100px; }
@media (max-width: 860px) { .creds-side { position: static; } }
.creds-side h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 18px 0 24px;
}
.creds-side h2 em { font-style: italic; color: var(--fg-muted); }
.creds-side p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 36ch;
}
.creds-list dl {
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.creds-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 720px) { .creds-row { grid-template-columns: 1fr; gap: 8px; } }
.creds-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0;
}
.creds-row dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.35;
  color: var(--fg);
}
.creds-row dd em {
  font-style: italic;
  color: var(--fg-muted);
  font-size: 0.78em;
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  letter-spacing: 0;
}
.creds-row .chips { margin-top: 4px; }
.creds-link {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: color .25s, border-color .25s;
}
.creds-link:hover {
  color: var(--bright);
  border-bottom-color: var(--bright);
}
.creds-row .chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin: 4px 6px 4px 0;
  text-decoration: none;
  transition: color .25s, border-color .25s, background-color .25s;
}
a.chip:hover {
  color: var(--bright);
  border-color: var(--bright);
}

/* =========================================================
   WORK (work page) - case study cards
   ========================================================= */
.work-intro {
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 860px) { .work-intro { grid-template-columns: 1fr; } }
.work-intro .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4;
  color: var(--fg-muted);
  max-width: 40ch;
  margin: 0;
}

.case {
  padding: clamp(64px, 11vh, 128px) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.case.flip { grid-template-columns: 1fr 1.05fr; }
.case.flip .case-figure { order: 2; }
.case.flip .case-content { order: 1; }
@media (max-width: 860px) {
  .case, .case.flip { grid-template-columns: 1fr; gap: 28px; }
  .case.flip .case-figure { order: 0; }
  .case.flip .case-content { order: 0; }
}

.case-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
  display: block;
  text-decoration: none;
  color: inherit;
}
a.case-figure { cursor: pointer; }
.case:hover .case-figure { transform: translateY(-4px); }
.case-figure::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg,
    transparent 0 14px,
    color-mix(in oklab, var(--fg) 5%, transparent) 14px 15px);
}
.case-figure.has-image::before,
.case-figure.has-image .case-tag-big { display: none; }
.case-figure > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s ease;
  filter: saturate(0.92);
}
.case-figure.has-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 10, 8, 0.25) 0%,
    rgba(11, 10, 8, 0.0) 30%,
    rgba(11, 10, 8, 0.0) 60%,
    rgba(11, 10, 8, 0.55) 100%);
  mix-blend-mode: normal;
  z-index: 2;
}
:root[data-theme="light"] .case-figure.has-image::after {
  background: linear-gradient(180deg,
    rgba(21, 19, 15, 0.10) 0%,
    rgba(21, 19, 15, 0.0) 30%,
    rgba(21, 19, 15, 0.0) 60%,
    rgba(21, 19, 15, 0.30) 100%);
}
a.case-figure:hover > img:not(.case-logo-svg) { transform: scale(1.03); filter: saturate(1); }
.case-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 96px);
  height: clamp(64px, 7vw, 96px);
  border-radius: 50%;
  background: var(--bright);
  color: #0b0a08;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(22px, 2.4vw, 30px);
  z-index: 5;
  box-shadow: 0 0 50px rgba(255, 107, 61, 0.45);
  transition: transform .4s cubic-bezier(.6,.2,.2,1);
  pointer-events: none;
  font-family: var(--sans);
  padding-left: 6px; /* offset triangle visually */
}
a.case-figure:hover .case-play { transform: translate(-50%, -50%) scale(1.08); }
.case-link-badge {
  position: absolute;
  right: clamp(20px, 3vw, 32px);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 4;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
a.case-figure:hover .case-link-badge { background: var(--bright); border-color: var(--bright); color: #0b0a08; }

/* Two-image grid (Instagram-style preview inside a case figure) */
.case-figure.has-grid::before,
.case-figure.has-grid .case-tag-big { display: none; }
.case-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  z-index: 1;
  background: var(--bg);
}
.case-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s ease;
}
.case-figure.has-grid::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 10, 8, 0.20) 0%,
    transparent 28%,
    transparent 62%,
    rgba(11, 10, 8, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
:root[data-theme="light"] .case-figure.has-grid::after {
  background: linear-gradient(180deg,
    rgba(21, 19, 15, 0.08) 0%,
    transparent 28%,
    transparent 62%,
    rgba(21, 19, 15, 0.30) 100%);
}
a.case-figure.has-grid:hover .case-grid img { transform: scale(1.04); filter: saturate(1); }

/* 3-cell grid: brand cell + two photo cells stacked */
.case-grid-3 {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  z-index: 1;
  background: var(--bg);
}
.case-grid-3 .cell-brand {
  grid-row: span 2;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.case-grid-3 img:not(.cell-brand) {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s ease;
}
a.case-figure.has-grid:hover .case-grid-3 img { transform: scale(1.04); }
a.case-figure.has-grid:hover .case-grid-3 img:not(.cell-brand) { filter: saturate(1); }

/* Slideshow with centered round logo */
.case-figure.has-slideshow::before,
.case-figure.has-slideshow .case-tag-big { display: none; }
.case-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg-2);
  overflow: hidden;
}
.case-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  animation: slideshowFade 50s infinite ease-in-out;
  will-change: opacity, transform;
}
/* 10 slides × 5s each = 50s cycle. Stagger delays in display order. */
.case-slideshow img:nth-child(1)  { animation-delay:  0s; }
.case-slideshow img:nth-child(2)  { animation-delay:  5s; }
.case-slideshow img:nth-child(3)  { animation-delay: 10s; }
.case-slideshow img:nth-child(4)  { animation-delay: 15s; }
.case-slideshow img:nth-child(5)  { animation-delay: 20s; }
.case-slideshow img:nth-child(6)  { animation-delay: 25s; }
.case-slideshow img:nth-child(7)  { animation-delay: 30s; }
.case-slideshow img:nth-child(8)  { animation-delay: 35s; }
.case-slideshow img:nth-child(9)  { animation-delay: 40s; }
.case-slideshow img:nth-child(10) { animation-delay: 45s; }
@keyframes slideshowFade {
  0%       { opacity: 0; transform: scale(1.02); }
  2%       { opacity: 1; transform: scale(1.04); }
  8%       { opacity: 1; transform: scale(1.08); }
  10%      { opacity: 0; transform: scale(1.10); }
  100%     { opacity: 0; transform: scale(1.02); }
}
.case-figure.has-slideshow::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(11,10,8,0.10), rgba(11,10,8,0.45) 75%),
    linear-gradient(180deg, rgba(11,10,8,0.25), transparent 30%, transparent 60%, rgba(11,10,8,0.55));
  z-index: 2;
  pointer-events: none;
}
:root[data-theme="light"] .case-figure.has-slideshow::after {
  background:
    radial-gradient(circle at center, rgba(21,19,15,0.05), rgba(21,19,15,0.20) 75%),
    linear-gradient(180deg, rgba(21,19,15,0.10), transparent 30%, transparent 60%, rgba(21,19,15,0.25));
}

.case-center-logo {
  position: absolute;
  left: clamp(16px, 2.4%, 28px);
  top: clamp(16px, 2.4%, 28px);
  width: clamp(96px, 18%, 160px);
  aspect-ratio: 1 / 1;
  z-index: 4;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 14px 36px rgba(0,0,0,0.40),
    0 0 0 2px rgba(255,255,255,0.12),
    0 0 0 8px rgba(0,0,0,0.18);
  transition: transform .6s cubic-bezier(.6,.2,.2,1);
}
a.case-figure.has-slideshow:hover .case-center-logo {
  transform: scale(1.04) rotate(-1deg);
}
.case-center-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Logo sits in the top-left now - suppress the duplicate "Fig. 03" caption there. */
.case-figure.has-slideshow .case-overlay .corner-l { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .case-slideshow img { animation: none; opacity: 1; transform: none; }
  .case-slideshow img:nth-child(n+2) { display: none; }
}
.case-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%,
    rgba(255, 107, 61, 0.10),
    transparent 60%);
  mix-blend-mode: screen;
}
:root[data-theme="light"] .case-figure::after { mix-blend-mode: multiply; }
.case-figure .case-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  z-index: 2;
}
.case-figure .case-overlay .corner-l,
.case-figure .case-overlay .corner-r {
  display: flex; justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.case-brand-img {
  height: clamp(32px, 3.8vw, 52px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}
.case-figure .case-tag-big {
  position: absolute;
  left: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 44px);
  color: var(--fg-muted);
  letter-spacing: -0.01em;
  text-transform: none;
  z-index: 3;
  line-height: 1.15;
}
.case-figure .case-tag-big em { color: var(--bright); font-style: italic; }
.case-figure .case-logo-svg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 50%, 360px);
  height: auto;
  z-index: 3;
  color: var(--fg);
}
.case-figure .case-logo-svg path[data-fill="brand"] { fill: var(--bright); }
.case-figure .case-logo-svg path[data-fill="fg"] { fill: currentColor; }

/* Coming-soon treatment (NovaEx) */
.case-figure.has-coming-soon .case-logo-svg {
  top: 40%;
  width: clamp(150px, 42%, 300px);
}
.case-coming-soon {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, 0);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}
.case-coming-soon .cs-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #FE7427;
  box-shadow: 0 0 0 0 rgba(254,116,39,0.6);
  animation: cs-pulse 2s ease-out infinite;
}
@keyframes cs-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(254,116,39,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(254,116,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(254,116,39,0); }
}
.case-coming-soon .cs-label {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.case-coming-soon .cs-sub {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(4px);
}
@media (prefers-reduced-motion: reduce) {
  .case-coming-soon .cs-pulse { animation: none; }
}

.case-figure .frame-marks {
  position: absolute; inset: 14px;
  border: 1px solid var(--line-2);
  z-index: 3;
  pointer-events: none;
}

.case-content { display: flex; flex-direction: column; gap: 16px; }
.case-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.case-meta .case-num { color: var(--bright); }
.case-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-dim); display: inline-block; }
.case-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
  text-wrap: balance;
}
.case-title em { font-style: italic; color: var(--fg-muted); }
.case-blurb {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--fg);
  margin: 0 0 12px;
  max-width: 46ch;
}
.case-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 0;
  max-width: 50ch;
}
.case-features {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 50ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.case-features li {
  display: grid;
  grid-template-columns: 1.4em 1fr;
  gap: 6px;
  align-items: baseline;
}
.case-features li > span:first-child {
  font-family: var(--mono);
  color: var(--fg-dim);
  font-size: 13px;
}
.case-features li b {
  font-weight: 500;
  color: var(--fg);
}
.case-stats {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.case-stats > div {
  background: var(--bg);
  padding: 16px 14px;
}
.case-stats dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 6px;
}
.case-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg);
  line-height: 1.2;
}

/* Client roster strip */
.clients {
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
}
.clients-head { margin-bottom: clamp(40px, 6vh, 64px); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.client-cell {
  background: var(--bg);
  padding: clamp(22px, 3.5vh, 32px);
  min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .4s ease, color .4s ease;
}
.client-cell:hover { background: var(--bg-2); }
.client-cell:hover .c-name { color: var(--bright); }
.client-cell .c-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.client-cell .c-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--fg);
  margin-top: 14px;
  letter-spacing: -0.01em;
  transition: color .3s ease;
}
.client-cell .c-name em { font-style: italic; color: var(--fg-muted); }

/* =========================================================
   LOCATION (about) - wide city image + caption
   ========================================================= */
.location {
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
  position: relative;
}
.location-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(48px, 8vh, 80px);
  align-items: end;
}
@media (max-width: 860px) { .location-head { grid-template-columns: 1fr; } }
.location-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--fg-muted);
  max-width: 40ch;
  margin: 0;
}
.city-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.city-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(.2,.6,.2,1);
}
.city-photo:hover img { transform: scale(1.02); }
.city-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, color-mix(in oklab, var(--bg) 60%, transparent) 100%);
  pointer-events: none;
}
.city-caption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  gap: 16px;
  flex-wrap: wrap;
}
.city-stats {
  margin-top: clamp(36px, 6vh, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .city-stats { grid-template-columns: repeat(2, 1fr); } }
.city-stats > div {
  background: var(--bg);
  padding: 22px 22px 24px;
}
.city-stats .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 10px;
}
.city-stats .v {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}
.city-stats .v em { font-style: italic; color: var(--fg-muted); font-size: 0.7em; display: block; margin-top: 4px; }

/* =========================================================
   SERVICES (services page) - deep blocks
   ========================================================= */
.svc-head {
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 860px) { .svc-head { grid-template-columns: 1fr; } }
.svc-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4;
  color: var(--fg-muted);
  max-width: 38ch;
  margin: 0;
}

.svc-block {
  padding-top: clamp(64px, 11vh, 128px);
  padding-bottom: clamp(64px, 11vh, 128px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  position: relative;
}
@media (max-width: 860px) {
  .svc-block { grid-template-columns: 1fr; gap: 28px; }
}
.svc-block .svc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  padding-top: 14px;
}
.svc-block .svc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}
.svc-block .svc-title em { font-style: italic; color: var(--fg-muted); }
.svc-block .svc-body p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--fg);
  margin: 0 0 20px;
  max-width: 52ch;
}
.svc-block .svc-body p.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4;
  color: var(--fg);
}
.svc-block .svc-body ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.svc-block .svc-body ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex; align-items: baseline; gap: 14px;
}
.svc-block .svc-body ul li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--bright);
  display: inline-block;
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-1px);
}

/* =========================================================
   PROCESS (services page)
   ========================================================= */
.process {
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
}
.process-head { margin-bottom: clamp(48px, 8vh, 96px); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 860px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-list { grid-template-columns: 1fr; } }
.process-step {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 4vh, 36px);
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .4s ease;
}
.process-step:hover { background: var(--bg-2); }
.process-step:hover .ps-num { color: var(--bright); }
.process-step .ps-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  transition: color .3s ease;
}
.process-step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 18px 0 12px;
  letter-spacing: -0.01em;
}
.process-step h4 em { font-style: italic; color: var(--fg-muted); }
.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* =========================================================
   CONTACT (contact page)
   ========================================================= */
.contact-methods {
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
}
.contact-list {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.contact-link {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4.5vh, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s cubic-bezier(.6,.2,.2,1), color .3s ease;
  position: relative;
}
.contact-link::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--bg-2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
}
.contact-link:hover { padding-left: 22px; padding-right: 22px; color: var(--bright); }
.contact-link:hover::before { opacity: 1; }
.contact-link:hover .cl-arrow { transform: translateX(10px); }
.contact-link:hover .cl-handle { color: var(--fg-muted); }
.cl-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.cl-value {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.cl-handle {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 8px;
  transition: color .3s ease;
}
.cl-arrow {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--fg-muted);
  transition: transform .35s ease;
}
@media (max-width: 720px) {
  .contact-link { grid-template-columns: 1fr auto; }
  .cl-label { grid-column: 1 / -1; margin-bottom: -8px; }
}

.contact-aside {
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
}
.contact-aside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
}
@media (max-width: 860px) {
  .contact-aside-grid { grid-template-columns: 1fr; }
}
.contact-aside-grid > div {
  padding: clamp(28px, 4vh, 44px);
  border: 1px solid var(--line);
  background: var(--bg);
  position: relative;
}
.contact-aside-grid h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  margin: 18px 0 12px;
  letter-spacing: -0.01em;
}
.contact-aside-grid h3 em { font-style: italic; color: var(--fg-muted); }
.contact-aside-grid p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 40ch;
}
.contact-aside-grid .status-dot {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: 22px;
}
.contact-aside-grid .status-dot .ind {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 14px var(--bright);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta {
  padding-top: clamp(80px, 14vh, 160px);
  padding-bottom: clamp(80px, 14vh, 160px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -40%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(255, 107, 61, 0.18),
    transparent 60%);
  filter: blur(36px);
  pointer-events: none;
}
.cta .section-label { justify-content: center; }
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 24px 0 36px;
  position: relative;
  text-wrap: balance;
}
.cta h2 em { font-style: italic; color: var(--fg-muted); }
.cta h2 .bright { color: var(--bright); font-style: italic; }
.cta-actions {
  position: relative;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: all .3s ease;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
}
.btn .arr { font-family: var(--serif); font-size: 18px; transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(6px); }
.btn.primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn.primary:hover { background: var(--bright); border-color: var(--bright); color: #fff; }
.btn.ghost:hover { border-color: var(--bright); color: var(--bright); }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  padding: 32px var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.foot .brand-text { font-family: var(--serif); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--fg-muted); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.6,.2,1), transform 1.1s cubic-bezier(.2,.6,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal.d6 { transition-delay: 0.48s; }

.hero-enter > *,
.page-enter > * {
  opacity: 0;
  transform: translateY(20px);
  animation: enter 1.2s cubic-bezier(.2,.6,.2,1) forwards;
}
.hero-enter > *:nth-child(1),
.page-enter > *:nth-child(1) { animation-delay: 0.2s; }
.hero-enter > *:nth-child(2),
.page-enter > *:nth-child(2) { animation-delay: 0.45s; }
.hero-enter > *:nth-child(3),
.page-enter > *:nth-child(3) { animation-delay: 0.7s; }
@keyframes enter { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-enter > *, .page-enter > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
