/* =====================================================================
   TechWithSubham — public site
   Dark, editorial, cinematic. Almost monochrome: the UI stays quiet so
   imagery and typography carry the experience.
   ===================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin.woff2") format("woff2-variations"), url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0b0a;
  --bg-2: #111110;
  --bg-3: #181816;
  --fg: #ece8e0;
  --fg-2: #a6a299;
  --fg-3: #8b877f;
  --fg-4: #57544f;
  --line: rgba(236, 232, 224, 0.12);
  --line-2: rgba(236, 232, 224, 0.24);
  --bg-rgb: 11, 11, 10;
  --plate-a: #1f1e1b;
  --plate-b: #131312;
  --plate-c: #0d0d0c;
  --ghost: #1c1b19;
  --ghost-fill: rgba(236, 232, 224, 0.028);
  --ghost-stroke: rgba(236, 232, 224, 0.16);
  --plate-stroke: rgba(236, 232, 224, 0.2);
  --err: #d9b3aa;
  --shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75);

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1680px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Type scale — bounded by viewport height too, so 14" laptops never overflow */
  --t-display: clamp(2.5rem, min(6.2vw, 10.5vh), 7.25rem);
  --t-display-2: clamp(1.9rem, min(3.9vw, 7.4vh), 4.4rem);
  --t-chapter: clamp(2.6rem, min(8.4vw, 14vh), 9.5rem);
  --t-statement: clamp(1.75rem, min(4.1vw, 7.6vh), 4.6rem);
  --t-lede: clamp(1.12rem, 1.45vw, 1.5rem);
  --t-body: clamp(0.98rem, 1.02vw, 1.06rem);
  --t-label: 0.6875rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 340;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, figure, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--fg); color: var(--bg); }

:focus { outline: none; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 10px 14px; background: var(--fg); color: var(--bg);
  font-size: var(--t-label); letter-spacing: 0.2em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------------------------------------------------------------------
   Type primitives
   --------------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-size: var(--t-label);
  font-weight: 460;
  font-stretch: 112%;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--fg-2);
}
.display {
  font-size: var(--t-display);
  font-weight: 260;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
}
.display-2 {
  font-size: var(--t-display-2);
  font-weight: 280;
  font-stretch: 106%;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.lede {
  font-size: var(--t-lede);
  font-weight: 320;
  line-height: 1.5;
  color: var(--fg);
  max-width: 30em;
}
.prose { color: var(--fg-2); max-width: 36em; }
.prose p + p { margin-top: 1.1em; }
.prose--cols { max-width: none; columns: 2 22rem; column-gap: clamp(32px, 5vw, 96px); }
.prose--cols p { break-inside: avoid; }

/* SplitText line masks */
.line-mask { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* Links ------------------------------------------------------------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-size: var(--t-label); font-weight: 480; font-stretch: 112%;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg);
  padding: 0.6em 0;
  position: relative;
  transition: opacity 0.4s var(--ease);
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15em; height: 1px;
  background: currentColor; transform: scaleX(0.28); transform-origin: left;
  opacity: 0.5; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.link-arrow__icon { display: inline-block; font-size: 1.25em; letter-spacing: 0; transition: transform 0.6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); opacity: 1; }
.link-arrow:hover .link-arrow__icon { transform: translateX(5px); }
.link-arrow--back:hover .link-arrow__icon { transform: translateX(-5px); }
.link-arrow--lg { font-size: 0.8rem; }

.u-link { position: relative; color: var(--fg); }
.u-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease);
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Section header: label + hairline */
.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: clamp(40px, 7vh, 88px); }
.section-head .label { flex: none; }
.section-head__rule { flex: 1; height: 1px; background: var(--line); transform-origin: left; }

/* =====================================================================
   BRAND — one element, two states (intro centre → navbar)
   Logo units: the supplied lockup is 633 units wide; the mark is 263×229,
   TECH WITH 326×27, SUBHAM 268×28, with a 39-unit word gap and 68 units
   between mark and wordmark. --um / --uw are px per unit.
   ===================================================================== */
.brand {
  --um: calc(30px / 229);
  --uw: calc(8px / 27);
  position: relative;
  display: flex; align-items: center; gap: 18px;
  color: var(--fg);
  z-index: 2;
}
.brand-mark {
  position: relative; display: block; flex: none;
  width: calc(263 * var(--um)); height: calc(229 * var(--um));
}
.brand-mark .ts { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-word {
  display: flex; align-items: flex-start; flex: none;
  gap: calc(39 * var(--uw));
  height: calc(28 * var(--uw));
}
/* CSS transitions only outside the intro — they would fight GSAP/Flip */
html:not(.intro-running) .brand-word { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.bw { display: block; overflow: hidden; height: 100%; }
.bw svg { height: 100%; width: auto; }
.bw-tech { width: calc(326 * var(--uw)); height: calc(27 * var(--uw)); }
.bw-subham { width: calc(268 * var(--uw)); }
.bw svg { width: 100%; }

/* Intro state: the brand is centred and large */
html.is-intro body { overflow: hidden; }
html.is-intro .brand {
  --u: calc(min(56vw, 440px) / 633);
  --um: var(--u); --uw: var(--u);
  position: fixed; inset: 0;
  flex-direction: column; justify-content: center; gap: 0;
  pointer-events: none;
}
html.is-intro .brand-word { margin-top: calc(68 * var(--u)); }
html.is-intro .ts, html.is-intro .bw svg { opacity: 0; }
html.is-intro .site-header::before { opacity: 0; }

.intro-curtain {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  pointer-events: none; opacity: 0; visibility: hidden;
}
html.is-intro .intro-curtain { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: transform 0.9s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(var(--bg-rgb), 0.88), rgba(var(--bg-rgb), 0));
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled .brand-word { opacity: 0; transform: translateX(-8px); pointer-events: none; }

.nav__list { display: flex; gap: clamp(24px, 3.2vw, 52px); }
.nav__link {
  position: relative; display: block; padding: 10px 0;
  font-size: var(--t-label); font-weight: 470; font-stretch: 112%;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-2);
  transition: color 0.4s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0.24em; bottom: 4px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--fg); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
html.is-intro .nav__link, html.is-intro .menu-toggle { opacity: 0; }

.menu-toggle {
  display: none; position: relative; z-index: 2;
  font-size: var(--t-label); font-weight: 480; font-stretch: 112%;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 12px 0;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.menu-panel {
  position: fixed; inset: 0; z-index: 58; background: var(--bg);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(48px + env(safe-area-inset-bottom));
}
.menu-panel[hidden] { display: none; }
.menu-panel__list { width: 100%; }
.menu-panel__list li { border-top: 1px solid var(--line); }
.menu-panel__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 18px 0;
  font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 260; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.1;
}
.menu-panel__num { font-size: var(--t-label); letter-spacing: 0.2em; color: var(--fg-3); font-weight: 460; }

/* =====================================================================
   HERO — statement on the left, device composition on the right
   ===================================================================== */
.hero { position: relative; overflow: clip; }
.hero__inner {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; gap: clamp(32px, 4vw, 80px);
  padding-top: calc(var(--header-h) + 3vh);
  padding-bottom: clamp(40px, 8vh, 96px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__label { margin-bottom: clamp(18px, 3vh, 30px); }
.hero__title {
  font-size: clamp(2.4rem, min(4.3vw, 8.6vh), 5.8rem);
  font-weight: 270; font-stretch: 106%;
  line-height: 1.02; letter-spacing: -0.03em;
}
.hero__text {
  margin-top: clamp(22px, 3.6vh, 36px);
  max-width: 27em; color: var(--fg-2); font-size: var(--t-lede); line-height: 1.5;
}
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(30px, 5vh, 52px); }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 4vh, 36px);
  color: var(--fg-3); display: flex; align-items: center; gap: 14px;
}
.hero__scroll::before { content: ""; width: 44px; height: 1px; background: var(--line-2); }
html.is-intro [data-hero-item], html.is-intro .hero__title, html.is-intro .hero__visual { opacity: 0; }

/* Primary button — restrained, rectangular */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 0.9em;
  padding: 1.35em 1.9em;
  background: var(--fg); color: var(--bg);
  font-size: var(--t-label); font-weight: 520; font-stretch: 112%;
  letter-spacing: 0.22em; text-transform: uppercase;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary .link-arrow__icon { font-size: 1.25em; letter-spacing: 0; transition: transform 0.6s var(--ease); }
.btn-primary:hover .link-arrow__icon { transform: translateX(5px); }

/* Device composition */
.hero__visual { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.12 / 1; max-height: 78vh; }
.laptop { position: absolute; left: 4%; right: 6%; top: 18%; }
.laptop__screen {
  position: relative; aspect-ratio: 16 / 10;
  background: #161615; border-radius: 14px 14px 4px 4px;
  padding: 2.2% 2.2% 3%;
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow);
}
.laptop__screen::before { /* camera */
  content: ""; position: absolute; top: 0.9%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: #2c2c2a;
}
.laptop__display { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; background: var(--bg-3); }
.laptop__base {
  position: relative; height: 0; padding-bottom: 3.4%; margin: 0 -7%;
  background: linear-gradient(to bottom, #3a3936, #1c1c1a 70%, #121211);
  border-radius: 0 0 16px 16px;
}
.laptop__base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; margin-left: -8%;
  background: #121211; border-radius: 0 0 8px 8px;
}
.win {
  position: absolute; overflow: hidden; border-radius: 10px;
  background: var(--bg-3); box-shadow: 0 0 0 1px var(--line-2), var(--shadow);
}
.win__bar { height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.win__bar span { flex: 1; height: 8px; margin-left: 10px; border-radius: 4px; background: var(--line); max-width: 46%; }
.win__body { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.win--a { right: 0; top: 0; width: 42%; }
.win--b { left: -2%; bottom: 2%; width: 30%; }
.win--b .win__body { aspect-ratio: 3 / 4; }
.screen-img, .screen-img picture { width: 100%; height: 100%; }
.screen-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Abstract UI when no screenshots are uploaded yet */
.skel { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; gap: 5%; background: var(--bg-3); }
.skel__nav { display: flex; justify-content: space-between; align-items: center; }
.skel__nav b { width: 18%; height: 7px; background: var(--fg); opacity: 0.85; border-radius: 2px; }
.skel__nav em { width: 34%; height: 5px; background: var(--line-2); border-radius: 2px; }
.skel__hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 7%; align-items: center; }
.skel__lines { display: grid; gap: 9px; }
.skel__lines i { display: block; height: 9px; background: var(--fg); opacity: 0.8; border-radius: 2px; }
.skel__lines i:nth-child(2) { width: 82%; }
.skel__lines i:nth-child(3) { width: 58%; height: 5px; opacity: 0.25; margin-top: 6px; }
.skel__lines i:nth-child(4) { width: 34%; height: 14px; opacity: 1; margin-top: 8px; }
.skel__media { aspect-ratio: 4 / 5; border-radius: 3px; background: linear-gradient(150deg, var(--plate-a), var(--plate-c)); box-shadow: inset 0 0 0 1px var(--line); }
.skel__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.skel__row i { display: block; aspect-ratio: 4 / 3; border-radius: 3px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.skel--card { padding: 10%; gap: 8%; }
.skel--card .skel__media { aspect-ratio: 16 / 10; }
.skel__bars { display: grid; gap: 8px; }
.skel__bars i { display: block; height: 6px; border-radius: 2px; background: var(--line-2); }
.skel__bars i:first-child { width: 70%; background: var(--fg); opacity: 0.75; height: 8px; }
.skel__bars i:last-child { width: 45%; }
.skel__chart { flex: 1; display: flex; align-items: flex-end; gap: 6%; }
.skel__chart i { flex: 1; background: var(--fg); opacity: 0.18; border-radius: 2px 2px 0 0; }
.skel__chart i:nth-child(1) { height: 35%; } .skel__chart i:nth-child(2) { height: 55%; }
.skel__chart i:nth-child(3) { height: 45%; } .skel__chart i:nth-child(4) { height: 75%; opacity: 0.5; }
.skel__chart i:nth-child(5) { height: 92%; opacity: 0.85; }

/* Opening statement (shown at the start of About) */
.statement {
  font-size: var(--t-statement); font-weight: 270; font-stretch: 106%;
  line-height: 1.16; letter-spacing: -0.018em; max-width: 17em; text-wrap: balance;
}
/* =====================================================================
   ABOUT
   ===================================================================== */
.about { position: relative; z-index: 3; background: var(--bg); padding-block: clamp(96px, 18vh, 200px) clamp(80px, 14vh, 160px); }
.about__title { max-width: 18em; margin-bottom: clamp(56px, 10vh, 120px); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 140px); align-items: start;
}
.about__grid--noimg { grid-template-columns: minmax(0, 1fr); padding-left: 33%; }
.about__portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.about__portrait-inner { position: absolute; inset: 0; }
.cover, .about__portrait picture, [data-clip-inner] picture { width: 100%; height: 100%; }
.cover { object-fit: cover; }
.about__copy { padding-top: clamp(0px, 6vh, 72px); }
.about__copy .prose { margin-top: clamp(28px, 4vh, 44px); }

.facts { margin-top: clamp(48px, 8vh, 88px); border-top: 1px solid var(--line); }
.facts__row {
  display: grid; grid-template-columns: 10rem 1fr; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.facts__row dd { color: var(--fg); }

/* =====================================================================
   WORK — chapters
   ===================================================================== */
.work { position: relative; background: var(--bg); padding-top: clamp(80px, 14vh, 160px); }
.work__intro { margin-bottom: clamp(64px, 12vh, 140px); }
.work__count { color: var(--fg-3); margin-left: 0.4em; }
.work__title {
  font-size: clamp(3rem, min(11vw, 19vh), 12.5rem); font-weight: 220; font-stretch: 118%;
  line-height: 0.95; letter-spacing: -0.035em; text-transform: uppercase;
}

.chapter { position: relative; padding-bottom: clamp(110px, 20vh, 240px); }
.chapter__head {
  display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 11fr); gap: 24px;
  align-items: end; margin-bottom: clamp(28px, 5vh, 56px);
}
.chapter__index {
  font-size: var(--t-label); font-weight: 460; letter-spacing: 0.2em; color: var(--fg-3);
  padding-bottom: 0.9em;
}
.chapter__heading .label { margin-bottom: 14px; }
.chapter__title {
  font-size: var(--t-chapter); font-weight: 230; font-stretch: 122%;
  line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase;
}

.chapter__visual { display: block; padding-inline: clamp(0px, 2vw, 32px); }
.chapter__frame {
  position: relative; overflow: hidden; background: var(--bg-2);
  height: min(82vh, 56vw); min-height: 320px;
  transform-origin: 50% 0%;
}
.visual { position: absolute; inset: -9% 0; } /* oversize for parallax travel */
.visual picture, .visual__img { width: 100%; height: 100%; }
.visual__img { object-fit: cover; }
.visual__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.visual__video.is-playing { opacity: 1; }
.chapter__visual:hover .visual__img { transform: scale(1.025); }
.visual__img { transition: transform 1.6s var(--ease); }

/* Editorial type plate (no image uploaded yet) */
.plate {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(90% 80% at 72% 28%, var(--plate-a) 0%, var(--plate-b) 48%, var(--plate-c) 100%);
}
.plate__frame { position: absolute; inset: clamp(14px, 2vw, 28px); border: 1px solid var(--line); }
.plate__index, .plate__cat {
  position: absolute; top: calc(clamp(14px, 2vw, 28px) + 22px);
  font-size: var(--t-label); letter-spacing: 0.24em; color: var(--fg-3);
}
.plate__index { left: calc(clamp(14px, 2vw, 28px) + 24px); }
.plate__cat { right: calc(clamp(14px, 2vw, 28px) + 24px); }
.plate__title {
  position: absolute; left: 3%; bottom: 6%;
  font-size: clamp(4rem, 15vw, 17rem); font-weight: 200; font-stretch: 125%;
  line-height: 0.82; letter-spacing: -0.04em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--plate-stroke);
}
@supports not (-webkit-text-stroke: 1px black) {
  .plate__title { color: var(--ghost-fill); }
}

.chapter__body {
  display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 5fr) minmax(0, 6fr); gap: 24px;
  margin-top: clamp(32px, 6vh, 64px);
}
.chapter__lede {
  grid-column: 2 / 3; font-size: var(--t-lede); font-weight: 320; line-height: 1.45; max-width: 22em;
}
.chapter__body .meta { grid-column: 3 / 4; }
.chapter__cta { grid-column: 2 / 3; justify-self: start; margin-top: 8px; }

.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 32px; align-content: start; }
.meta__item { border-top: 1px solid var(--line); padding-top: 14px; }
.meta__item dt { margin-bottom: 8px; }
.meta__item dd { color: var(--fg); font-size: 0.95rem; line-height: 1.5; }
.meta--wide { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* Close-up details */
.details {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(80px, 14vh, 160px);
}
.detail--a { grid-column: 2 / 8; }
.detail--b { grid-column: 9 / 13; margin-top: clamp(80px, 22vh, 260px); }
.details--single .detail--a { grid-column: 4 / 11; }
.detail__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.detail--b .detail__media { aspect-ratio: 4 / 5; }
.detail__media > div { position: absolute; inset: 0; }
.detail__cap { display: flex; gap: 14px; margin-top: 16px; color: var(--fg-2); font-size: 0.9rem; }

/* =====================================================================
   EXPERIENCE
   ===================================================================== */
.experience { padding-block: clamp(100px, 16vh, 180px); background: var(--bg); }
.xp {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 24px 32px;
  padding-block: clamp(32px, 6vh, 64px);
}
.xp__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.xp:last-child { border-bottom: 1px solid var(--line); }
.xp__period { padding-top: 0.9em; }
.xp__company {
  font-size: var(--t-display-2); font-weight: 260; font-stretch: 116%;
  line-height: 1.02; letter-spacing: -0.02em;
}
.xp__role { margin-top: 14px; color: var(--fg); }
.xp__loc { color: var(--fg-3); }
.xp__desc { padding-top: 0.5em; }

/* =====================================================================
   CAPABILITIES — typography only
   ===================================================================== */
.capabilities { padding-block: clamp(80px, 12vh, 140px) clamp(100px, 16vh, 180px); background: var(--bg); }
.cap-list { border-top: 1px solid var(--line); }
.cap {
  display: grid; grid-template-columns: minmax(60px, 1fr) minmax(0, 7fr) minmax(0, 4fr);
  align-items: baseline; gap: 24px;
  padding-block: clamp(16px, 2.6vh, 28px);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.5s var(--ease);
}
.cap__num { color: var(--fg-4); }
.cap__title {
  font-size: clamp(2rem, min(5.4vw, 9vh), 5.6rem); font-weight: 230; font-stretch: 118%;
  line-height: 1; letter-spacing: -0.03em;
  transition: transform 0.7s var(--ease);
}
.cap__desc { color: var(--fg-2); max-width: 22em; }
@media (hover: hover) {
  .cap-list:hover .cap { opacity: 0.32; }
  .cap-list .cap:hover { opacity: 1; }
  .cap:hover .cap__title { transform: translateX(14px); }
}

/* =====================================================================
   PHILOSOPHY
   ===================================================================== */
.philosophy {
  background: var(--bg);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 16vh;
}
.philosophy__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.philosophy__statement {
  margin-top: clamp(24px, 4vh, 40px);
  font-size: clamp(2.4rem, min(7.2vw, 12.5vh), 8.4rem); font-weight: 220; font-stretch: 116%;
  line-height: 1; letter-spacing: -0.035em; max-width: 12em; text-wrap: balance;
}
.philosophy__support { margin-top: clamp(28px, 5vh, 56px); color: var(--fg-2); max-width: 30em; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding-block: clamp(100px, 16vh, 180px) clamp(80px, 12vh, 140px); background: var(--bg); }
.contact__title { max-width: 12em; margin-bottom: clamp(56px, 10vh, 120px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 160px); }
.contact__email {
  display: inline-block; margin-top: clamp(28px, 4vh, 44px);
  font-size: clamp(1.25rem, 2vw, 1.9rem); font-weight: 300; font-stretch: 108%;
  border-bottom: 1px solid var(--line-2); padding-bottom: 6px;
  transition: border-color 0.5s var(--ease);
  overflow-wrap: anywhere;
}
.contact__email:hover { border-color: var(--fg); }
.contact__socials { margin-top: clamp(28px, 5vh, 52px); display: flex; flex-wrap: wrap; gap: 6px 32px; }

.form { display: grid; gap: clamp(24px, 4vh, 40px); }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.field { position: relative; }
.field .label { display: block; margin-bottom: 6px; }
.field__opt { color: var(--fg-4); letter-spacing: 0.1em; }
.field input, .field textarea {
  width: 100%; display: block;
  background: transparent; color: var(--fg);
  font: inherit; font-size: 1.06rem; font-weight: 340;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.4s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--fg); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--fg); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--err); }
.field__error { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--err); }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.form__submit[disabled] { opacity: 0.45; pointer-events: none; }
.form__status { color: var(--fg-2); font-size: 0.95rem; }
.form__status.is-error { color: var(--err); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--bg); padding-top: clamp(80px, 12vh, 140px); border-top: 1px solid var(--line); overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.site-footer__col .label { margin-bottom: 18px; }
.site-footer__col--end { display: flex; justify-content: flex-end; align-items: flex-start; }
.site-footer__list { display: grid; gap: 8px; }
.site-footer__list a { color: var(--fg-2); transition: color 0.4s var(--ease); }
.site-footer__list a:hover { color: var(--fg); }
.site-footer__loc { color: var(--fg-2); }
.site-footer__word {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 4vw; padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(28px, 4vh, 44px);
  color: var(--ghost);
}
.site-footer__word svg { height: auto; }
.site-footer__word svg:first-child { width: 48.6%; }
.site-footer__word svg:last-child { width: 40%; }
.site-footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px 28px; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--fg-3); letter-spacing: 0.04em;
}

/* =====================================================================
   PROJECT PAGE
   ===================================================================== */
.phero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: var(--bg-2) center / cover no-repeat; }
.phero__media { inset: 0; }
.phero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.25) 45%, rgba(var(--bg-rgb), 0.45) 100%);
}
.phero__content {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto;
  padding-bottom: clamp(36px, 7vh, 80px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.phero__content .link-arrow { margin-bottom: clamp(16px, 4vh, 40px); }
.phero__title {
  font-size: clamp(3rem, min(11vw, 18vh), 12rem); font-weight: 220; font-stretch: 122%;
  line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase;
}
html.is-arriving .phero__content > *, html.is-arriving .phero__shade { opacity: 0; }

.pinfo { padding-block: clamp(64px, 11vh, 120px) clamp(80px, 14vh, 160px); }
.pinfo__lede { max-width: 20em; margin-top: clamp(72px, 13vh, 150px); }
.pinfo__body { margin-top: clamp(40px, 7vh, 80px); padding-left: 33%; }

.pblock { margin-bottom: clamp(96px, 16vh, 180px); }
.pfig { position: relative; }
.pfig__media { position: relative; overflow: hidden; background: var(--bg-2); }
.pfig__media > div { position: absolute; inset: -6% 0; }
.pfig__cap { margin-top: 14px; }
.pfig--bleed .pfig__media { height: min(92vh, 62vw); min-height: 300px; }
.pfig--bleed .pfig__cap { padding-inline: var(--gutter); }
.pblock--pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pblock--pair .pfig--a { grid-column: 1 / 8; }
.pblock--pair .pfig--b { grid-column: 9 / 13; margin-top: clamp(80px, 20vh, 240px); }
.pfig--a .pfig__media { aspect-ratio: 4 / 3; }
.pfig--b .pfig__media { aspect-ratio: 4 / 5; }
.pblock--rest { display: grid; gap: clamp(80px, 14vh, 160px); }
.pfig--left, .pfig--right { width: min(100%, 72%); }
.pfig--right { justify-self: end; }
.pfig--left .pfig__media, .pfig--right .pfig__media { aspect-ratio: 16 / 10; }

.pstory {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 32px;
  margin-bottom: clamp(96px, 16vh, 180px);
}
.pstory__head .label { display: block; margin-bottom: 14px; }
.pstory__title {
  font-size: var(--t-display-2); font-weight: 260; font-stretch: 112%; line-height: 1.05; letter-spacing: -0.02em;
}
.pstory__body { font-size: var(--t-lede); line-height: 1.55; max-width: 28em; padding-top: 0.6em; }

.pvisit { margin-bottom: clamp(96px, 16vh, 180px); display: flex; justify-content: center; }

.pnext { padding-bottom: clamp(60px, 10vh, 120px); }
.pnext__link { display: block; }
.pnext__head { margin-bottom: clamp(28px, 5vh, 56px); }
.pnext__head .label { margin-bottom: 14px; }
.pnext__title {
  font-size: var(--t-chapter); font-weight: 230; font-stretch: 122%;
  line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase;
}
.pnext__frame { position: relative; overflow: hidden; height: min(70vh, 48vw); min-height: 280px; background: var(--bg-2); margin-inline: clamp(0px, 2vw, 32px); }

.notfound { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding-top: var(--header-h); }

/* Page-transition clone */
.pt {
  position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none;
  background: var(--bg-2);
}
.pt > img, .pt > .plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; }

/* =====================================================================
   CURSOR (desktop, fine pointer only)
   ===================================================================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
    width: 0; height: 0;
  }
  .cursor__dot {
    position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%;
    background: var(--fg);
    display: flex; align-items: center; justify-content: center;
    transform: scale(0.09);
    transition: transform 0.55s var(--ease), opacity 0.4s var(--ease), background-color 0.4s var(--ease);
  }
  .cursor__label {
    font-size: 0.62rem; font-weight: 520; font-stretch: 112%; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--bg); opacity: 0; transition: opacity 0.3s var(--ease);
    padding-left: 0.24em;
  }
  .cursor.is-link .cursor__dot { transform: scale(0.34); opacity: 0.22; }
  .cursor.is-view .cursor__dot { transform: scale(1); opacity: 1; }
  .cursor.is-view .cursor__label { opacity: 1; transition-delay: 0.1s; }
  .cursor.is-hidden .cursor__dot { opacity: 0; }
  .cursor.is-text .cursor__dot { opacity: 0; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) and (min-width: 761px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 40px); gap: 56px; }
  .hero__visual { max-width: 760px; justify-self: center; max-height: none; }
}
@media (max-width: 1100px) {
  .chapter__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chapter__lede { grid-column: 1 / 2; }
  .chapter__body .meta { grid-column: 2 / 3; }
  .chapter__cta { grid-column: 1 / 2; }
  .chapter__head { grid-template-columns: 1fr; gap: 10px; }
  .chapter__index { padding: 0; }
  .xp { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .xp__desc { grid-column: 2 / 3; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__col--end { justify-content: flex-start; }
  .about__grid--noimg { padding-left: 0; }
  .pinfo__body { padding-left: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header .brand-word { display: none; }
  .brand { --um: calc(26px / 229); }
  html.is-intro .brand { --u: calc(min(74vw, 340px) / 633); }
  html.is-intro .site-header .brand-word { display: flex; }

  .hero__inner { grid-template-columns: 1fr; align-content: center; gap: 48px; padding-top: calc(var(--header-h) + 28px); }
  .hero__title { font-size: clamp(2.3rem, 10.4vw, 3.4rem); }
  .hero__visual { max-height: none; width: 104%; margin-left: -2%; }
  .hero__scroll { display: none; }
  .win__bar { height: 14px; gap: 4px; padding: 0 6px; }
  .win__bar i { width: 4px; height: 4px; }
  .win__bar span { height: 5px; }
  .skel__lines { gap: 5px; }
  .skel__lines i { height: 5px; }
  .statement { max-width: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 520px; }
  .facts__row { grid-template-columns: 7.5rem 1fr; }

  .chapter__visual { padding-inline: 0; }
  .chapter__frame { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .chapter__body { grid-template-columns: 1fr; }
  .chapter__lede, .chapter__body .meta, .chapter__cta { grid-column: 1 / -1; }
  .plate__title { font-size: 26vw; }
  .details { grid-template-columns: 1fr; gap: 48px; }
  .detail--a, .detail--b, .details--single .detail--a { grid-column: 1 / -1; margin-top: 0; }
  .detail--b { width: 78%; justify-self: end; }

  .xp { grid-template-columns: 1fr; gap: 12px; }
  .xp__desc { grid-column: auto; }
  .cap { grid-template-columns: 40px 1fr; }
  .cap__desc { grid-column: 2 / 3; }

  .contact__grid { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__word { flex-direction: column; gap: 14px; }
  .site-footer__word svg:first-child { width: 92%; }
  .site-footer__word svg:last-child { width: 76%; }

  .pstory { grid-template-columns: 1fr; }
  .pblock--pair { grid-template-columns: 1fr; gap: 48px; }
  .pblock--pair .pfig--a, .pblock--pair .pfig--b { grid-column: 1 / -1; margin-top: 0; }
  .pblock--pair .pfig--b { width: 78%; justify-self: end; }
  .pfig--left, .pfig--right { width: 100%; }
  .pfig--bleed .pfig__media { height: auto; aspect-ratio: 4 / 5; }
  .pnext__frame { margin-inline: 0; height: auto; aspect-ratio: 4 / 5; }
}

/* Short landscape screens (e.g. 13–14" laptops at high zoom) */
@media (min-width: 761px) and (max-height: 760px) {
  :root { --header-h: 76px; }
  .chapter__frame { height: min(78vh, 56vw); }
}

/* =====================================================================
   REDUCED MOTION — everything visible, no movement
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .visual { inset: 0; }
  .pfig__media > div { inset: 0; }
}

/* No-JS fallback */
html:not(.js) .menu-toggle { display: none; }
@media (max-width: 760px) { html:not(.js) .nav { display: block; } html:not(.js) .nav__list { gap: 16px; } }

/* The project hero carries its own title — the plate stays a quiet backdrop */
.phero .plate__title, .phero .plate__index, .phero .plate__cat, .phero .plate__frame { display: none; }

/* =====================================================================
   LIGHT THEME — same design language, inverted
   ===================================================================== */
html[data-theme="light"] {
  --bg: #f3f1ec;
  --bg-2: #eae7e0;
  --bg-3: #fbfaf7;
  --fg: #141413;
  --fg-2: #55524c;
  --fg-3: #75716a;
  --fg-4: #a39f97;
  --line: rgba(20, 20, 19, 0.12);
  --line-2: rgba(20, 20, 19, 0.26);
  --bg-rgb: 243, 241, 236;
  --plate-a: #e3dfd6;
  --plate-b: #ebe8e1;
  --plate-c: #f1efea;
  --ghost: #e3dfd7;
  --ghost-fill: rgba(20, 20, 19, 0.04);
  --ghost-stroke: rgba(20, 20, 19, 0.14);
  --plate-stroke: rgba(20, 20, 19, 0.2);
  --err: #a33a2b;
  --shadow: 0 50px 90px -40px rgba(60, 45, 30, 0.35);
  color-scheme: light;
}
html[data-theme="light"] .site-footer__word { color: var(--ghost); }

/* Theme switch */
.header-tools { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 0;
  font-size: var(--t-label); font-weight: 470; font-stretch: 112%;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-2);
  transition: color 0.4s var(--ease);
}
.theme-toggle:hover { color: var(--fg); }
.theme-toggle__dot {
  position: relative; width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid currentColor; overflow: hidden;
}
.theme-toggle__dot::after { content: ""; position: absolute; inset: 0 0 0 50%; background: currentColor; }
html.is-intro .theme-toggle { opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.5s; }

/* =====================================================================
   SERVICES — cards
   ===================================================================== */
.services { padding-block: clamp(100px, 16vh, 180px); background: var(--bg); }
.services__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(48px, 8vh, 88px); }
.services__title { font-size: var(--t-display-2); font-weight: 270; font-stretch: 106%; line-height: 1.08; letter-spacing: -0.02em; max-width: 14em; }
.services__intro { color: var(--fg-2); max-width: 28em; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; background: var(--bg); padding: clamp(28px, 3vw, 44px);
  min-height: clamp(260px, 34vh, 340px);
  display: flex; flex-direction: column;
  transition: background-color 0.5s var(--ease);
}
.service:hover { background: var(--bg-2); }
.service__num { color: var(--fg-3); }
.service__title {
  margin-top: auto; padding-top: 48px;
  font-size: clamp(1.45rem, 2vw, 2.1rem); font-weight: 300; font-stretch: 110%;
  line-height: 1.1; letter-spacing: -0.015em;
}
.service__points { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.service__points li {
  font-size: 0.8rem; color: var(--fg-2); letter-spacing: 0.02em;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
}
.service__arrow {
  position: absolute; top: clamp(28px, 3vw, 44px); right: clamp(28px, 3vw, 44px);
  color: var(--fg-3); font-size: 1.1rem; transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}
.service:hover .service__arrow { transform: translate(4px, -4px); color: var(--fg); }

/* =====================================================================
   WHY HIRE ME
   ===================================================================== */
.why { padding-block: clamp(100px, 16vh, 180px); background: var(--bg); }
.why__title {
  font-size: clamp(2.6rem, min(7vw, 12vh), 8rem); font-weight: 220; font-stretch: 118%;
  line-height: 0.95; letter-spacing: -0.035em; margin-bottom: clamp(56px, 10vh, 110px);
}
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why-item {
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px) clamp(36px, 5vh, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.why-item + .why-item { padding-left: clamp(16px, 2vw, 28px); }
.why-item:nth-child(4n + 1) { padding-left: 0; }
.why-item:not(:nth-child(4n + 1)) { border-left: 1px solid var(--line); }
.why-item__num { color: var(--fg-3); }
.why-item__title { margin-top: clamp(28px, 5vh, 56px); font-size: clamp(1.25rem, 1.7vw, 1.7rem); font-weight: 320; font-stretch: 108%; line-height: 1.2; letter-spacing: -0.01em; }
.why-item__desc { margin-top: 10px; color: var(--fg-2); font-size: 0.92rem; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding-block: clamp(90px, 14vh, 160px); background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.faq__title { font-size: var(--t-display-2); font-weight: 270; font-stretch: 106%; line-height: 1.08; letter-spacing: -0.02em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 26px 0; font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 340;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--fg-3); transition: transform 0.5s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__a { padding: 0 0 28px; color: var(--fg-2); max-width: 46em; }

/* =====================================================================
   CONTACT — channels
   ===================================================================== */
.contact__sub { margin-top: -40px; margin-bottom: clamp(56px, 9vh, 100px); font-size: var(--t-lede); color: var(--fg-2); }
.channels { border-top: 1px solid var(--line); }
.channel {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.6vh, 26px) 0; border-bottom: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.channel__name { font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 280; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.1; }
.channel__meta { color: var(--fg-3); font-size: 0.9rem; text-align: right; overflow-wrap: anywhere; }
.channel__arrow { display: inline-block; margin-left: 12px; transition: transform 0.6s var(--ease); }
.channel:hover .channel__arrow { transform: translate(4px, -4px); }
.channel:hover .channel__name { color: var(--fg); }
.contact__form-title { margin-bottom: 28px; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(n) { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
  .why-item:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-tools { gap: 22px; }
  .theme-toggle__label { display: none; }
  .services__head { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__title { padding-top: 28px; }
  .contact__sub { margin-top: -24px; }
  .channel { flex-direction: column; gap: 4px; }
  .channel__meta { text-align: left; }
}
.site-header .nav { margin-left: auto; margin-right: clamp(28px, 3.4vw, 56px); }
.statement-band { padding-block: clamp(100px, 22vh, 220px) clamp(40px, 8vh, 80px); background: var(--bg); }
.about { padding-top: clamp(80px, 12vh, 140px); }

/* =====================================================================
   FLOW v3 — Hero → About → Services → Work → FAQ → Contact
   Tighter, even section rhythm.
   ===================================================================== */
.about, .services, .work, .faq, .contact {
  padding-top: clamp(88px, 13vh, 150px);
  padding-bottom: clamp(88px, 13vh, 150px);
}
.work { padding-bottom: 0; }
.about { position: relative; z-index: 3; background: var(--bg); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 6vh, 64px); }

.about__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px); align-items: start; padding-left: 0;
}
.about__title { max-width: 14em; margin-bottom: 0; }
.about__statement {
  margin-top: clamp(28px, 5vh, 48px);
  font-size: var(--t-lede); line-height: 1.5; color: var(--fg); max-width: 26em;
}
.about__portrait { margin-top: clamp(36px, 6vh, 64px); max-width: 420px; }
.about__copy { padding-top: 0.5em; }
.about__copy .prose { margin-top: 24px; }
.facts { margin-top: clamp(32px, 5vh, 56px); }

.about__xp { margin-top: clamp(40px, 7vh, 72px); }
.about__xp-label { margin-bottom: 16px; }
.xp-mini { border-top: 1px solid var(--line); }
.xp-mini__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.xp-mini__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.xp-mini__company { font-size: clamp(1.35rem, 1.9vw, 1.8rem); font-weight: 300; font-stretch: 110%; letter-spacing: -0.015em; }
.xp-mini__role { margin-top: 6px; color: var(--fg); font-size: 0.95rem; }
.xp-mini__loc { color: var(--fg-3); }
.xp-mini__desc { margin-top: 10px; color: var(--fg-2); font-size: 0.95rem; }

/* Why hire me — closing block of Services */
.services .why { padding: 0; margin-top: clamp(80px, 12vh, 140px); background: transparent; }
.services .why__title {
  font-size: var(--t-display-2); font-weight: 270; font-stretch: 106%;
  line-height: 1.08; letter-spacing: -0.02em; margin-bottom: clamp(32px, 5vh, 56px);
}

/* Work */
.work__intro { margin-bottom: clamp(48px, 8vh, 96px); }
.work__empty { padding-bottom: clamp(88px, 13vh, 150px); display: grid; gap: 24px; justify-items: start; }
.chapter { padding-bottom: clamp(88px, 14vh, 170px); }

/* Contact sub-line sits under the heading */
.contact__title { margin-bottom: clamp(20px, 3vh, 32px); }
.contact__sub { margin-top: 0; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 520px; }
}

/* =====================================================================
   v4 — ACCENT + MORE LIFE BETWEEN SECTIONS
   ===================================================================== */
:root { --accent: #c8a96a; --accent-ink: var(--accent); }
html[data-theme="light"] { --accent-ink: color-mix(in srgb, var(--accent) 72%, #000); }

/* Highlighted words: write *word* in the admin */
.hl { font-style: normal; color: var(--accent-ink); }
.label__num { color: var(--accent-ink); margin-right: 0.9em; }
.nav__link.is-active { color: var(--fg); }
.nav__link::after { background: var(--accent-ink); }
.link-arrow::after { background: var(--accent-ink); }
.btn-primary:hover { opacity: 1; background: var(--accent); color: #141413; }
.chapter__index, .service__num, .faq-item summary::after { color: var(--accent-ink); }
::selection { background: var(--accent); color: #141413; }

/* Accent button */
.btn-accent {
  display: inline-flex; align-items: center; gap: 0.9em;
  padding: 1.35em 1.9em; background: var(--accent); color: #141413;
  font-size: var(--t-label); font-weight: 560; font-stretch: 112%;
  letter-spacing: 0.22em; text-transform: uppercase;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.btn-accent:hover { filter: brightness(1.08); }
.btn-accent .link-arrow__icon { font-size: 1.25em; letter-spacing: 0; transition: transform 0.6s var(--ease); }
.btn-accent:hover .link-arrow__icon { transform: translateX(5px); }

/* ---- Marquee band (scroll-driven, transform only) ------------------- */
.marquee {
  position: relative; overflow: hidden; background: var(--bg);
  padding-block: clamp(36px, 7vh, 72px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee__row { display: flex; width: max-content; white-space: nowrap; align-items: center; will-change: transform; }
.marquee__row--2 { margin-top: clamp(4px, 1vh, 12px); }
.marquee__word {
  font-size: clamp(2.6rem, 7.4vw, 7.6rem); font-weight: 240; font-stretch: 122%;
  line-height: 1.05; letter-spacing: -0.035em; text-transform: uppercase; color: var(--fg);
  padding-inline: clamp(16px, 2vw, 32px);
}
.marquee__word--outline { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee__row--2 .marquee__word { color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee__row--2 .marquee__word--outline { color: var(--fg-3); -webkit-text-stroke: 0; }
.marquee__dot { color: var(--accent); font-size: clamp(1rem, 2vw, 1.8rem); }

/* ---- Services: sticky aside + cards ---------------------------------- */
.services { border-top: 0; }
.services__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.services__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.services__title { max-width: 11em; }
.services__count { margin-top: clamp(28px, 5vh, 48px); color: var(--fg-2); display: flex; align-items: baseline; gap: 14px; }
.services__count-n { font-size: clamp(3rem, 5vw, 5rem); font-weight: 220; font-stretch: 118%; line-height: 1; color: var(--accent-ink); letter-spacing: -0.04em; }
.services__cta { margin-top: clamp(28px, 5vh, 44px); }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); background: none; border: 0; gap: 16px; }
.service {
  min-height: clamp(240px, 30vh, 300px);
  border: 1px solid var(--line); background: var(--bg-2);
  overflow: hidden; isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.service::before { /* accent wash that rises on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.service::after { /* accent line grows along the top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease);
}
.service:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--bg-2); }
.service:hover::before { opacity: 1; }
.service:hover::after { transform: scaleX(1); }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service__num { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; }
.service__arrow { position: static; }
.service:hover .service__arrow { color: var(--accent-ink); }
.service__points li { border-color: var(--line-2); background: var(--bg); }
.service__points li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }

/* ---- Why hire me: pinned horizontal strip ---------------------------- */
.services .why { margin-top: clamp(100px, 15vh, 180px); }
.why__pin { overflow: hidden; }
.why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vh, 56px); }
.services .why__title { margin-bottom: 0; }
.why__hint { display: flex; align-items: center; gap: 12px; color: var(--fg-3); }
.why__hint [data-why-progress] { color: var(--accent-ink); }
.why__hint-line { width: 48px; height: 1px; background: var(--line-2); }
.why__viewport { padding-inline: var(--gutter); }
.why-track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.why-card {
  position: relative; flex: none;
  width: clamp(260px, 26vw, 380px); min-height: clamp(260px, 38vh, 360px);
  padding: clamp(24px, 2.4vw, 36px);
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.why-card__num {
  font-size: clamp(3.4rem, 5.4vw, 5.6rem); font-weight: 200; font-stretch: 118%;
  line-height: 0.9; letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: 1px var(--accent-ink);
}
.why-card__title { margin-top: auto; padding-top: 32px; font-size: clamp(1.35rem, 1.9vw, 1.9rem); font-weight: 300; font-stretch: 110%; line-height: 1.15; letter-spacing: -0.015em; }
.why-card__desc { margin-top: 10px; color: var(--fg-2); font-size: 0.92rem; }
.why-card__line { position: absolute; left: clamp(24px, 2.4vw, 36px); right: clamp(24px, 2.4vw, 36px); bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0.12); transform-origin: left; transition: transform 0.8s var(--ease); }
.why-card:hover .why-card__line { transform: scaleX(1); }

/* ---- Contact: inverted call-to-action band --------------------------- */
.contact { padding-top: 0; }
.cta-band {
  --fg: #141413; --fg-2: #4d4a44; --fg-3: #6f6b64; --line: rgba(20, 20, 19, 0.14); --line-2: rgba(20, 20, 19, 0.3);
  --accent-ink: color-mix(in srgb, var(--accent) 70%, #000);
  background: #ece8e0; color: var(--fg);
  padding-block: clamp(90px, 15vh, 170px);
  margin-bottom: clamp(80px, 12vh, 140px);
}
html[data-theme="light"] .cta-band {
  --fg: #ece8e0; --fg-2: #b9b5ad; --fg-3: #8b877f; --line: rgba(236, 232, 224, 0.14); --line-2: rgba(236, 232, 224, 0.3);
  --accent-ink: var(--accent);
  background: #141413;
}
.cta-band__label { color: var(--fg-2); margin-bottom: clamp(28px, 5vh, 48px); }
.cta-band__title {
  font-size: clamp(2.8rem, min(8.2vw, 14vh), 9.4rem); font-weight: 230; font-stretch: 112%;
  line-height: 0.96; letter-spacing: -0.04em; max-width: 11em;
}
.cta-band__foot { margin-top: clamp(40px, 7vh, 72px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-band__text { font-size: var(--t-lede); color: var(--fg-2); max-width: 24em; }
.cta-band__actions { display: flex; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
.cta-band .btn-accent { color: #141413; }
.contact__body { padding-bottom: clamp(20px, 4vh, 40px); }

@media (max-width: 1023px) {
  .services__layout { grid-template-columns: 1fr; }
  .services__sticky { position: static; }
  .why__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: none; }
  .why__viewport::-webkit-scrollbar { display: none; }
  .why-card { scroll-snap-align: start; width: min(78vw, 340px); }
  .why__hint { display: none; }
}
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
  .marquee__word { font-size: 2.6rem; }
  .cta-band__title { font-size: clamp(2.5rem, 12vw, 4rem); }
}
.why:not(.is-pinned) .why__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.why:not(.is-pinned) .why__viewport::-webkit-scrollbar { display: none; }
.why:not(.is-pinned) .why-card { scroll-snap-align: start; }
.why:not(.is-pinned) .why__viewport { scroll-padding-inline: var(--gutter); }

/* =====================================================================
   v5 — SPYKER-STYLE PALETTE + TYPE
   Pure white / pure black, neo-grotesk (Inter Tight ≈ Helvetica Neue),
   regular weights, tight tracking, mixed-case headings.
   ===================================================================== */
@font-face {
  font-family: "Inter Tight";
  font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2-variations"), url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2-variations"), url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Dark: pure black / pure white */
  --bg: #000000; --bg-2: #0d0d0d; --bg-3: #161616;
  --fg: #ffffff; --fg-2: #b3b3b3; --fg-3: #8c8c8c; --fg-4: #5c5c5c;
  --line: rgba(255, 255, 255, 0.14); --line-2: rgba(255, 255, 255, 0.28);
  --bg-rgb: 0, 0, 0;
  --plate-a: #1c1c1c; --plate-b: #101010; --plate-c: #060606;
  --ghost: #161616;
}
html[data-theme="light"] {
  /* Light: pure white / pure black — as on spykercars.com */
  --bg: #ffffff; --bg-2: #f4f4f4; --bg-3: #ffffff;
  --fg: #000000; --fg-2: #4d4d4d; --fg-3: #6b6b6b; --fg-4: #a3a3a3;
  --line: rgba(0, 0, 0, 0.12); --line-2: rgba(0, 0, 0, 0.26);
  --bg-rgb: 255, 255, 255;
  --plate-a: #ececec; --plate-b: #f3f3f3; --plate-c: #f9f9f9;
  --ghost: #efefef;
}
body { font-family: var(--font); font-weight: 400; letter-spacing: -0.005em; }

/* Headings: regular weight, tight tracking, mixed case */
.display, .display-2, .hero__title, .statement, .about__title, .services__title,
.why__title, .services .why__title, .faq__title, .cta-band__title, .work__title,
.chapter__title, .phero__title, .pnext__title, .pstory__title, .xp__company,
.philosophy__statement, .menu-panel__list a, .channel__name, .contact__email {
  font-weight: 400; letter-spacing: -0.035em; font-stretch: normal;
}
.hero__title { letter-spacing: -0.045em; line-height: 1; }
.work__title, .chapter__title, .phero__title, .pnext__title, .cta-band__title { text-transform: none; letter-spacing: -0.05em; }
.work__title { font-size: clamp(3rem, min(9.5vw, 17vh), 11rem); line-height: 0.92; }
.chapter__title, .pnext__title { line-height: 0.95; }
.service__title, .why-card__title, .xp-mini__company, .why-item__title { font-weight: 450; letter-spacing: -0.025em; font-stretch: normal; }
.lede, .hero__text, .about__statement, .cta-band__text { font-weight: 400; letter-spacing: -0.01em; }

/* Small text: plain, not spaced-out caps (Spyker-style), labels stay crisp */
.label, .nav__link, .link-arrow, .theme-toggle, .menu-toggle, .btn-primary, .btn-accent {
  font-stretch: normal; font-weight: 500; letter-spacing: 0.12em;
}
.nav__link, .theme-toggle, .menu-toggle {
  text-transform: none; letter-spacing: -0.005em; font-size: 0.95rem; font-weight: 450;
}
.marquee__word { font-weight: 400; font-stretch: normal; letter-spacing: -0.045em; text-transform: none; }
.plate__title { font-weight: 300; font-stretch: normal; text-transform: none; letter-spacing: -0.05em; }
.why-card__num, .services__count-n { font-weight: 300; font-stretch: normal; }

/* Buttons: black on white / white on black, accent only on hover */
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #000; }
.cta-band { background: #ffffff; --fg: #000000; --fg-2: #4d4d4d; --fg-3: #6b6b6b; --line: rgba(0,0,0,.12); --line-2: rgba(0,0,0,.26); }
html[data-theme="light"] .cta-band { background: #000000; --fg: #ffffff; --fg-2: #b3b3b3; --fg-3: #8c8c8c; --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.28); }
.laptop__screen { background: #111; }

/* About v5 — two clean rows on a 12-column grid
   Row 1: heading (7 cols) · statement (5 cols, aligned to the heading's last line)
   Row 2: portrait (5 cols) · story + facts (6 cols), tops aligned            */
.about__top {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 120px); align-items: end;
  margin-bottom: clamp(56px, 9vh, 104px);
}
.about__top .about__title { letter-spacing: -0.03em; max-width: none; }
.about__top .about__statement { margin: 0; padding-bottom: 0.4em; max-width: 30em; color: var(--fg-2); }
.about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.about__grid--noimg { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.about__grid--noimg .about__copy { grid-column: 2; }
.about__portrait { margin: 0; max-width: none; width: 100%; aspect-ratio: 4 / 5; }
.about__copy { padding-top: 0; }
.about__copy > .lede:first-child { margin-top: -0.3em; }  /* optical: cap height aligns with image top */
.facts__row { align-items: baseline; grid-template-columns: 9.5rem 1fr; }
.facts__row dt { line-height: 1; }
@media (max-width: 900px) {
  .about__top, .about__grid, .about__grid--noimg { grid-template-columns: 1fr; }
  .about__grid--noimg .about__copy { grid-column: auto; }
  .about__portrait { max-width: 520px; }
}
/* Both About rows share one column line, so the right-hand text edges align */
.about__top, .about__grid, .about__grid--noimg { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); }
.about__top .about__statement, .about__copy { max-width: 36rem; }
@media (max-width: 900px) { .about__top, .about__grid, .about__grid--noimg { grid-template-columns: 1fr; } }

/* =====================================================================
   v6 — CONTENT-LED FLOW
   ===================================================================== */
/* Hero availability note */
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: clamp(22px, 3.5vh, 34px); font-size: 0.9rem; color: var(--fg-2); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px color-mix(in srgb, #2fbf71 22%, transparent); flex: none; }

/* Trust strip */
.trust { background: var(--bg); padding-top: clamp(64px, 10vh, 110px); border-top: 1px solid var(--line); }
.trust__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
.trust__title { font-size: var(--t-display-2); line-height: 1.06; letter-spacing: -0.035em; font-weight: 400; max-width: 14em; }
.trust__note { color: var(--fg-2); max-width: 30em; padding-bottom: 0.3em; }
.trust .marquee { border-top: 1px solid var(--line); }
.about { border-top: 0; }

/* About caption */
.about__portrait { overflow: visible; }
.about__portrait-inner { overflow: hidden; }
.about__portrait { aspect-ratio: auto; }
.about__portrait-inner { position: relative; inset: auto; aspect-ratio: 4 / 5; }
.about__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.about__name { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }

/* Services v2 */
.service { min-height: 0; padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 0; }
.service__title { margin-top: clamp(28px, 4vh, 44px); padding-top: 0; font-size: clamp(1.45rem, 1.9vw, 1.9rem); }
.service__tagline { margin-top: 12px; color: var(--fg); font-size: 1rem; line-height: 1.45; font-weight: 450; }
.service__desc { margin-top: 10px; color: var(--fg-2); font-size: 0.92rem; line-height: 1.55; }
.service__meta { margin-top: auto; padding-top: 22px; }
.service__meta-label { display: block; margin-bottom: 10px; color: var(--fg-3); }
.service__points { margin-top: 0; }
.service__arrow { text-decoration: none; padding: 4px; margin: -4px; }

/* Work intro */
.work__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.work__intro-text { color: var(--fg-2); max-width: 28em; padding-bottom: 0.6em; }
.chapter__ctas { grid-column: 2 / 3; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 8px; }
.chapter__ctas .chapter__cta { grid-column: auto; margin: 0; }

/* How I work */
.process { background: var(--bg); padding-block: clamp(88px, 13vh, 150px); }
.process__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 8vh, 88px); }
.process__title { font-size: var(--t-display-2); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; }
.process__intro { color: var(--fg-2); max-width: 26em; padding-bottom: 0.4em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 6vh, 64px) clamp(24px, 3vw, 48px); counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; }
.step__line::after { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.step__num { display: block; font-size: clamp(2.4rem, 3.6vw, 3.6rem); font-weight: 300; line-height: 1; letter-spacing: -0.05em; color: var(--accent-ink); }
.step__title { margin-top: 18px; font-size: clamp(1.3rem, 1.7vw, 1.65rem); font-weight: 450; letter-spacing: -0.025em; }
.step__desc { margin-top: 10px; color: var(--fg-2); font-size: 0.95rem; max-width: 26em; }

/* Why — standalone section with the pinned strip */
.why--standalone { background: var(--bg); padding-top: clamp(88px, 13vh, 150px); padding-bottom: clamp(88px, 13vh, 150px); margin: 0; }
.why--standalone .why__title { font-size: var(--t-display-2); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; margin: 0; max-width: 14em; }
.why-card { min-height: clamp(280px, 40vh, 380px); }
.why-card__title { font-size: clamp(1.3rem, 1.7vw, 1.7rem); }
.why-card__desc { font-size: 0.95rem; line-height: 1.5; }

/* Technologies */
.tech { background: var(--bg); padding-block: clamp(72px, 11vh, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.tech__note { margin-top: 18px; color: var(--fg-2); max-width: 22em; font-size: 1.05rem; line-height: 1.45; }
.tech__list { display: flex; flex-wrap: wrap; gap: 6px 0; }
.tech__item { font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.15; }
.tech__item:not(:last-child)::after { content: "/"; color: var(--fg-4); font-weight: 300; margin: 0 0.32em; }
.tech__item:hover { color: var(--accent-ink); }

/* Maintenance */
.maint { background: var(--bg-2); padding-block: clamp(88px, 13vh, 150px); }
.maint__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.maint__title { margin-top: 18px; font-size: var(--t-display-2); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; max-width: 12em; }
.maint__text { margin-top: 22px; color: var(--fg-2); max-width: 28em; font-size: var(--t-lede); line-height: 1.5; }
.maint__cta { margin-top: clamp(28px, 5vh, 44px); }
.maint__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.maint__item { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.maint__item:nth-child(odd) { padding-right: 20px; }
.maint__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.maint__check { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #000; font-size: 0.75rem; flex: none; }

/* Free review */
.review { background: var(--bg); padding-block: clamp(72px, 11vh, 120px); }
.review__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
  padding: clamp(32px, 5vw, 72px); border: 1px solid var(--line-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--bg)) 0%, var(--bg) 60%);
}
.review__badge { display: inline-block; padding: 4px 9px; margin-right: 10px; background: var(--accent); color: #000; letter-spacing: 0.12em; }
.review__title { margin-top: 20px; font-size: var(--t-display-2); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; max-width: 15em; }
.review__text { margin-top: 18px; color: var(--fg-2); max-width: 34em; }
.review__items { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.review__items li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.88rem; background: var(--bg); }

/* Contact band extras */
.cta-band__copy { max-width: 34em; }
.cta-band__more { margin-top: 14px; color: var(--fg-3); }
.cta-band__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band__reply { font-size: 0.85rem; color: var(--fg-3); }
.cta-band__avail { margin-top: clamp(36px, 6vh, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 0.95rem; flex-wrap: wrap; }
.cta-band__loc { color: var(--fg-3); }
.contact__aside-label { margin-bottom: 18px; }
.contact__none { color: var(--fg-2); }
.field select {
  width: 100%; display: block; appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--fg); font: inherit; font-size: 1.06rem;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 10px 28px 12px 0;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-3) 50%), linear-gradient(135deg, var(--fg-3) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
  cursor: pointer;
}
.field select:focus { border-bottom-color: var(--fg); outline: none; }
.field select option { color: #000; background: #fff; }
.form__submit { border: 0; cursor: pointer; }

/* Footer v2 */
.site-footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
.site-footer__brand { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; }
.site-footer__tag { margin-top: 12px; color: var(--fg-2); max-width: 22em; }
.site-footer__loc { margin-top: 18px; }
.site-footer__top { margin-top: 22px; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .trust__head, .work__head, .process__head, .tech__inner, .maint__inner { grid-template-columns: 1fr; }
  .review__card { grid-template-columns: 1fr; }
  .chapter__ctas { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .maint__list { grid-template-columns: 1fr; }
  .maint__item:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
