/* =========================================================
   Santana Thrasybule — Design Leader
   Light-switch portfolio. Dark = cinematic, Light = editorial.
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root {
  --accent: #d4af37;        /* true gold */
  --accent-deep: #a9842a;   /* deeper gold for light-mode contrast */
  --radius: 14px;
  --maxw: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --font-serif: "Montserrat", system-ui, sans-serif;  /* display */
  --font-sans: "Montserrat", system-ui, sans-serif;   /* body */
  --font-mono: "Montserrat", ui-monospace, monospace; /* labels (uppercase + tracked) */
}

/* DARK — cinematic (lights off) */
html[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --surface: #16161a;
  --line: #26262c;
  --text: #f4f1ea;
  --muted: #9a978f;
  --faint: #56545150;
  --accent-ui: var(--accent);
  --portrait-bright: .92;
  --portrait-contrast: 1.06;
  --portrait-gray: .12;
  --frame-glow: 0 0 90px -10px rgba(233,178,76,.38), 0 40px 80px -30px rgba(0,0,0,.9);
  --frame-border: rgba(233,178,76,.16);
  --scrim-opacity: 1;
  color-scheme: dark;
}

/* LIGHT — editorial (lights on) */
html[data-theme="light"] {
  --bg: #f6f3ec;
  --bg-2: #efeae0;
  --surface: #ffffff;
  --line: #e0d9cb;
  --text: #17150f;
  --muted: #6c675c;
  --faint: #1715100d;
  --accent-ui: var(--accent-deep);
  --portrait-bright: 1.02;
  --portrait-contrast: 1;
  --portrait-gray: 0;
  --frame-glow: 0 30px 60px -30px rgba(60,50,30,.28);
  --frame-border: rgba(23,21,15,.08);
  --scrim-opacity: 0;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .6s var(--ease), color .6s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #101010; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: #111; padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-mono); font-size: .8rem; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: .8em;
  margin-bottom: 2rem;
}
.eyebrow__num {
  color: var(--accent-ui);
  border: 1px solid var(--line);
  padding: .25em .5em;
  border-radius: 6px;
}
.section__lead {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.section__lead--sm { font-size: clamp(1.8rem, 4vw, 3rem); }
.section__lead em { font-style: italic; font-weight: 500; color: var(--accent-ui); }  /* two-tone: base + gold */
.now__cat em, .now__sub em, .ethos__body em, .contact__sub em { font-style: italic; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-end; gap: 2rem;
  padding: 16px var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav--scrolled {
  backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom-color: var(--line);
}
/* Legibility when nav is transparent over the bright hero top */
html[data-theme="dark"] .nav:not(.nav--scrolled) { text-shadow: 0 1px 14px rgba(0,0,0,.65); }
html[data-theme="light"] .nav:not(.nav--scrolled) { text-shadow: 0 1px 14px rgba(255,255,255,.75); }
.nav--scrolled { text-shadow: none; }
.nav__mark { display: none; align-items: center; margin-right: auto; }  /* desktop: logo lives in the eyebrow */
.nav__logo {
  height: 34px; width: auto; display: block;
  transition: filter .5s var(--ease), opacity .25s;
}
html[data-theme="dark"]  .nav__logo { filter: brightness(0) invert(1); }   /* white on dark */
html[data-theme="light"] .nav__logo { filter: brightness(0); }             /* black on light */
.nav__mark:hover .nav__logo { opacity: .65; }

.nav__right { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.8rem); }
.nav__index {
  display: inline-flex; align-items: center; gap: .6rem; padding: .3rem 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text); transition: color .25s;
}
.nav__index-glyph { display: inline-flex; flex-direction: column; gap: 3.5px; }
.nav__index-glyph i { display: block; width: 20px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.nav__index:hover { color: var(--accent-ui); }
.nav__index:hover .nav__index-glyph i:nth-child(1),
.nav__index:hover .nav__index-glyph i:nth-child(3) { width: 12px; }
.nav__index:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 4px; }

/* ---------- Left-edge scroll-spy nav (00–06) ---------- */
.spy {
  position: fixed; left: clamp(10px, 1.8vw, 24px); top: 50%; z-index: 55;
  display: flex; flex-direction: column; gap: .1rem;
  padding: .7rem .3rem; border-radius: 100px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--line);
  /* hidden over the hero, slides in once the user scrolls into the content */
  transform: translate(-14px, -50%); opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.spy.is-revealed { transform: translate(0, -50%); opacity: 1; pointer-events: auto; }
.spy a {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em;
  color: var(--muted); text-decoration: none;
  padding: .5rem .55rem; border-radius: 100px; text-align: center;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.spy a:hover { color: var(--text); }
.spy a.is-active { color: var(--accent-ui); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.spy a:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 2px; }

/* ---------- Index overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  padding: clamp(1.1rem, 3.5vw, 2.2rem) var(--pad) clamp(1.8rem, 5vh, 3rem);
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: blur(26px) saturate(1.1);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu__eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.menu__close {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); transition: color .25s;
}
.menu__close i { font-size: 1.5rem; line-height: 1; color: var(--accent-ui); }
.menu__close:hover { color: var(--accent-ui); }
.menu__close:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 4px; }

.menu__nav {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(.05rem, .6vh, .4rem); width: 100%; max-width: var(--maxw); margin: 0 auto;
}
.menu__nav a {
  display: flex; align-items: baseline; gap: clamp(1rem, 3vw, 2rem);
  font-family: var(--font-serif); font-weight: 500; color: var(--text);
  font-size: clamp(1.9rem, 6vw, 4rem); line-height: 1.12; letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px);
  transition: color .3s var(--ease), transform .5s var(--ease), padding-left .4s var(--ease), opacity .5s var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .06s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .11s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .16s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .21s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .26s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .31s; }
.menu.is-open .menu__nav a:nth-child(7) { transition-delay: .36s; }
.menu__nav a i { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--muted); font-style: normal; min-width: 2.6ch; transition: color .3s; }
.menu__nav a:hover { color: var(--accent-ui); padding-left: clamp(.5rem, 2vw, 1.4rem); }
.menu__nav a:hover i { color: var(--accent-ui); }

.menu__foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  width: 100%; max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.menu__tag { font-family: var(--font-serif); font-style: italic; color: var(--muted); }
.menu__social { display: flex; gap: 1.4rem; }
.menu__social a { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.menu__social a:hover { color: var(--text); }
body.menu-open { overflow: hidden; }

/* ---------- Light switch ---------- */
.switch {
  display: flex; align-items: center; gap: .7rem;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit;
}
.switch__label {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); transition: color .3s;
}
.switch:hover .switch__label { color: var(--text); }
/* Realistic ivory wall switch plate */
.switch__plate {
  position: relative; width: 46px; height: 74px; border-radius: 7px;
  background: linear-gradient(155deg, #f3f1ea, #dbd8cf);
  border: 1px solid rgba(0,0,0,.22);
  box-shadow: 0 4px 14px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.75);
  display: grid; place-items: center;
}
.switch__screw {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #a29e94, #57554f);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.switch__screw::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 4px; height: 1.2px; background: rgba(0,0,0,.45); border-radius: 1px;
}
.switch__screw--top { top: 6px; }
.switch__screw--bot { bottom: 6px; }

/* Recessed toggle housing + flip lever (bat) */
.switch__toggle {
  position: relative; width: 22px; height: 42px; border-radius: 4px;
  background: linear-gradient(180deg, #17171b, #303036);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.75), inset 0 -1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.switch__bat {
  position: absolute; left: 3px; right: 3px; top: 3px; height: 45%;
  border-radius: 3px;
  background: linear-gradient(180deg, #f6f4ee 0%, #e7e4db 55%, #c9c6bb 100%);
  box-shadow: 0 2px 3px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.85);
  transform: translateY(19px);                 /* OFF (dark) = flipped down */
  transition: transform .38s var(--ease);
}
html[data-theme="light"] .switch__bat { transform: translateY(0); }   /* ON (light) = flipped up */
.switch:focus-visible .switch__plate { outline: 2px solid var(--accent-ui); outline-offset: 3px; }

/* Persistent room switch — starts near the head, docks to the corner on scroll */
.switch--float {
  position: fixed; z-index: 60;
  top: 24%; right: 13%;                 /* starts near the hairline */
  flex-direction: column; gap: .55rem;
  transition: top .65s var(--ease), right .65s var(--ease);
}
.switch--float.switch--docked {
  top: clamp(16px, 3vh, 28px); right: clamp(16px, 4vw, 44px);   /* docks to the top-right corner on scroll */
}
.switch--float .switch__label { letter-spacing: .22em; color: var(--muted); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
html[data-theme="light"] .switch--float .switch__label { text-shadow: 0 1px 10px rgba(255,255,255,.75); }
@keyframes switchBreathe {
  0%,100% { box-shadow: 0 4px 14px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.75); }
  50%     { box-shadow: 0 4px 14px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.75), 0 0 24px 2px rgba(212,175,55,.42); }
}
.switch--float .switch__plate { animation: switchBreathe 3.4s ease-in-out infinite; }

/* ---------- Persistent chrome: logo (mobile) + vertical Index (both fixed, follow scroll) ---------- */
.hero__logo { position: fixed; top: clamp(16px, 3vh, 26px); left: var(--pad); z-index: 60; display: none; }
.hero__logo img { height: 34px; width: auto; display: block; transition: filter .5s var(--ease); }
html[data-theme="dark"]  .hero__logo img { filter: brightness(0) invert(1); }
html[data-theme="light"] .hero__logo img { filter: brightness(0); }

.hero__index {
  position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
  cursor: pointer; border: none;
  background: var(--text); color: var(--bg);
  padding: 1.6rem .72rem; border-radius: 12px 0 0 12px;
  box-shadow: 0 12px 34px -12px rgba(0,0,0,.55);
  transition: background .3s var(--ease), color .3s, padding .3s var(--ease);
}
.hero__index .hero__index-label { text-shadow: none; }
.hero__index:hover { background: var(--accent-ui); color: #fff; padding-right: 1.05rem; }
.hero__index-glyph { display: inline-flex; flex-direction: column; gap: 3.5px; }
.hero__index-glyph i { display: block; width: 17px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.hero__index-label { writing-mode: vertical-rl; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; }
html[data-theme="dark"]  .hero__index .hero__index-label { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
html[data-theme="light"] .hero__index .hero__index-label { text-shadow: 0 1px 10px rgba(255,255,255,.7); }
.hero__index:hover .hero__index-glyph i:nth-child(1),
.hero__index:hover .hero__index-glyph i:nth-child(3) { width: 10px; }
.hero__index:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 3px; }

/* Flash overlay when toggled */
.light-flash {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: radial-gradient(circle at 90% 4%, rgba(255,240,200,.9), rgba(255,225,160,.2) 40%, transparent 70%);
  opacity: 0;
}
.light-flash.fire { animation: flash .6s var(--ease); }
@keyframes flash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Hero (full-bleed, day/night crossfade) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
html[data-theme="dark"]  .hero { --ink: #f5f2ec; --ink-soft: #cdc9c0; }
html[data-theme="light"] .hero { --ink: #17150f; --ink-soft: #45423b; }

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% center;
  transition: opacity 1s var(--ease);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.hero__img--light { opacity: 0; }
html[data-theme="light"] .hero__img--light { opacity: 1; }
html[data-theme="light"] .hero__img--dark  { opacity: 0; }
@keyframes heroDrift { from { transform: scale(1.03); } to { transform: scale(1.09) translateY(-1.2%); } }

/* Theme-aware scrim: darkens/lightens top (for nav) + left (for copy) */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: background 1s var(--ease); }
html[data-theme="dark"] .hero__scrim {
  background:
    linear-gradient(90deg, rgba(6,8,13,.88) 0%, rgba(6,8,13,.5) 24%, rgba(6,8,13,.1) 42%, rgba(6,8,13,0) 54%),
    linear-gradient(180deg, rgba(6,8,13,.8) 0%, rgba(6,8,13,0) 22%),
    linear-gradient(0deg, rgba(6,8,13,.45) 0%, rgba(6,8,13,0) 36%);
}
html[data-theme="light"] .hero__scrim {
  background:
    linear-gradient(90deg, rgba(234,237,242,.9) 0%, rgba(234,237,242,.52) 24%, rgba(234,237,242,.12) 42%, rgba(234,237,242,0) 54%),
    linear-gradient(180deg, rgba(234,237,242,.85) 0%, rgba(234,237,242,0) 22%),
    linear-gradient(0deg, rgba(234,237,242,.36) 0%, rgba(234,237,242,0) 34%);
}

.hero__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad) clamp(3.5rem, 11vh, 7.5rem);
}
.hero__copy { max-width: 34rem; }
html[data-theme="dark"]  .hero__copy { text-shadow: 0 1px 22px rgba(4,6,12,.55); }
html[data-theme="light"] .hero__copy { text-shadow: 0 1px 16px rgba(255,255,255,.6); }
.hero__eyebrow {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-soft);
}
.hero__rule { flex: 0 0 44px; height: 1px; background: currentColor; opacity: .5; }
.hero__eyebrow-logo { height: 30px; width: auto; flex: 0 0 auto; margin-right: .1rem; opacity: .95; transition: filter .5s var(--ease); }
html[data-theme="dark"]  .hero__eyebrow-logo { filter: brightness(0) invert(1); }
html[data-theme="light"] .hero__eyebrow-logo { filter: brightness(0); }
.hero__title {
  font-family: var(--font-serif); font-weight: 340; color: var(--ink);
  font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.0; letter-spacing: -.03em;
  margin-bottom: 1.4rem;
}
.hero__title em { color: var(--accent-ui); font-style: italic; font-weight: 440; }

/* Stat row (breedlove-style proof) */
.hero__stats {
  display: flex; gap: clamp(1.5rem, 3vw, 2.6rem); flex-wrap: wrap;
  border-top: 1px solid color-mix(in srgb, var(--ink) 26%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 26%, transparent);
  padding: 1.3rem 0; margin: 1.2rem 0 1.5rem;
}
.stat { display: flex; flex-direction: column; gap: .4rem; flex: 0 1 auto; min-width: 0; }
.stat b {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: .92; letter-spacing: -.03em;
}
.stat > span {
  font-family: var(--font-sans); font-size: .72rem; color: var(--ink-soft);
  line-height: 1.3; max-width: 15ch;
}
.hero__sub {
  font-size: clamp(.8rem, .95vw, .9rem); color: var(--ink-soft);
  max-width: 46ch; margin-bottom: 1.9rem; line-height: 1.55;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  font-size: .9rem; font-weight: 500; padding: .85em 1.5em; border-radius: 100px;
  transition: transform .2s var(--ease), background .3s, color .3s, border-color .3s;
  display: inline-flex; align-items: center; gap: .5em; border: 1px solid transparent;
}
.btn--solid { background: var(--accent-ui); color: #14100a; }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(212,175,55,.5); }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 34%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent-ui); color: var(--accent-ui); transform: translateY(-2px); }
.btn--full { width: 100%; justify-content: center; margin-top: .5rem; }

/* Right-edge vertical badge (breedlove "Nominee" style) */
.hero__badge {
  position: absolute; right: 0; top: 50%; z-index: 1;
  transform: translateY(-50%); writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft); padding: 1.1rem .55rem; border-left: 1px solid currentColor; opacity: .6;
}
/* Scroll cue */
.hero__scrollcue {
  position: absolute; left: var(--pad); bottom: 1.8rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__scrollcue i { color: var(--accent-ui); font-style: normal; animation: nudgeDown 2s var(--ease) infinite; }
@keyframes nudgeDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Hero chrome — dynamic entrance on load */
@keyframes chromeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chromeFade { from { opacity: 0; } to { opacity: 1; } }
.hero__logo    { animation: chromeIn .7s var(--ease) both .12s; }
.switch--float { animation: chromeIn .8s var(--ease) both .30s; }
.hero__index   { animation: chromeFade .9s var(--ease) both .42s; }

/* ---------- NOW status strip ---------- */
.now { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.now__row {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(1.8rem, 3.5vw, 2.6rem) var(--pad);
  display: grid; grid-template-columns: auto repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start;
}
.now__stamp {
  display: flex; align-items: center; gap: .55rem; white-space: nowrap; padding-top: .15rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.now__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ui); flex: 0 0 auto; }
.now__line { width: 34px; height: 1px; background: var(--line); flex: 0 0 auto; }
.now__cat { display: block; margin-bottom: .7rem; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ui); }
.now__title { font-family: var(--font-serif); font-weight: 600; font-style: italic; font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.18; letter-spacing: -.01em; color: var(--text); margin-bottom: .35rem; }
.now__sub { font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vh, 160px) var(--pad); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Background / Experience */
.bg__eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.6rem;
}
.bg__num { color: var(--accent-ui); }
.bg__dash { width: 44px; height: 1px; background: color-mix(in srgb, var(--muted) 60%, transparent); flex: 0 0 auto; }
.bg__title {
  font-family: var(--font-serif); font-weight: 800; color: var(--text);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 62%;
}
@media (max-width: 740px) { .bg__title { max-width: 100%; } }
.bg__title em { display: block; font-style: italic; font-weight: 700; color: var(--accent-ui); letter-spacing: -.02em; }

.bg__disc {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0; overflow: hidden;
}
.bg__disc-arrow { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ui); white-space: nowrap; flex: 0 0 auto; }
/* auto-scrolling disciplines ticker (breedlove-style) — the "Disciplines" label holds, the list moves */
.bg__disc-list { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.bg__disc-track { display: flex; width: max-content; animation: discScroll 32s linear infinite; }
.bg__disc:hover .bg__disc-track { animation-play-state: paused; }
.bg__disc-group { display: flex; align-items: center; flex: 0 0 auto; }
.bg__disc-group span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; }
.bg__disc-group span::after { content: "·"; margin: 0 clamp(.8rem, 2vw, 1.6rem); color: color-mix(in srgb, var(--muted) 55%, transparent); }
@keyframes discScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bg__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: clamp(2.5rem, 6vw, 4rem); }
.bg__intro {
  font-size: clamp(1.02rem, 1.4vw, 1.28rem); line-height: 1.55; color: var(--text);
  margin-bottom: 1.6rem; max-width: 46ch;
  border-left: 3px solid var(--accent-ui); padding-left: 1.4rem;
}
.bg__drop { float: left; font-family: var(--font-serif); font-weight: 700; font-size: 3.2em; line-height: .78; padding: .04em .1em 0 0; color: var(--accent-ui); }
.bg__body { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-bottom: 1.1rem; max-width: 48ch; }
.bg__sign { margin: 1.8rem 0 0; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); display: flex; align-items: baseline; gap: .5em; flex-wrap: wrap; }
.bg__sign span { color: var(--accent-ui); }
.bg__sign b { font-family: var(--font-serif); font-weight: 600; font-style: italic; font-size: 1.35rem; letter-spacing: -.01em; color: var(--text); }
.bg__sign i { text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; font-style: normal; }

.timeline { border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 2rem; }
.timeline__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.timeline__list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.timeline__list li { display: flex; align-items: baseline; gap: 1.2rem; color: var(--text); font-size: 1rem; }
.timeline__list li span { font-family: var(--font-mono); font-size: .78rem; color: var(--accent-ui); min-width: 3.2ch; }

.bg__aside { display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 6rem; }
.bg__portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.bg__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.vitals { padding: 0; }   /* no panel — flush text + divider rules, like breedlove */
.vitals__head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; margin-bottom: .8rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.vitals__head span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.vitals__row { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.vitals__row:last-child { border-bottom: none; }
.vitals__row > span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.vitals__row b { display: block; font-weight: 600; font-size: .92rem; color: var(--text); }
.vitals__row i { font-style: italic; font-size: .8rem; color: var(--muted); }

/* Capabilities */
.cap__list { list-style: none; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap {
  background: var(--bg); padding: 2.2rem 1.8rem; min-height: 220px;
  display: flex; flex-direction: column; gap: .6rem;
  transition: background .4s var(--ease);
}
.cap:hover { background: var(--surface); }
.cap__idx { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-ui); letter-spacing: .1em; }
.cap h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; letter-spacing: -.01em; margin-top: auto; }
.cap p { color: var(--muted); font-size: .95rem; }

/* Work — studies / large alternating image plates */
.studies__intro {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem); line-height: 1.7;
  color: var(--muted); max-width: 27rem; margin-bottom: clamp(2.8rem, 7vw, 4.5rem);
  border-left: 3px solid var(--accent-ui); padding-left: 1.4rem;
}
/* alternating side-by-side rows: text | picture, reversed on every other study */
.studies { display: flex; flex-direction: column; gap: clamp(3.5rem, 8vw, 7rem); }
.study { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.study .study__caption { order: 1; }   /* text on the left */
.study .study__media   { order: 2; }   /* picture on the right */
.study:nth-child(even) .study__caption { order: 2; }   /* reversed: text on the right */
.study:nth-child(even) .study__media   { order: 1; }   /* picture on the left */
.study__media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin: 0;
  border: 1px solid var(--line); display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 28% 18%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    repeating-linear-gradient(135deg, var(--bg-2) 0 26px, var(--surface) 26px 52px);
  transition: transform .5s var(--ease), border-color .3s;
}
.study:hover .study__media { transform: translateY(-4px); border-color: var(--accent-ui); }
.study__ph { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .55; }
.study__caption { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.study__num { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-ui); letter-spacing: .1em; padding-top: .45rem; white-space: nowrap; }
.study__text { max-width: 42ch; }
.study__text h3 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -.02em; line-height: 1.05; margin-bottom: .7rem; }
.study__text p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* shared corner labels on image plates */
.plate__corner {
  position: absolute; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.plate__corner--tl { top: 1rem; left: 1rem; color: var(--accent-ui); }
.plate__corner--tr { top: 1rem; right: 1rem; }
.plate__corner--bl { bottom: 1rem; left: 1rem; }
.plate__corner--br { bottom: 1rem; right: 1rem; }

/* --- Designer's-lens hover effect (vision study plates) --- */
.study__media--vision { background: #0c0e12; }
.study__media--vision picture { position: absolute; inset: 0; }
.study__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.6) brightness(.9) contrast(1.06); transform: scale(1.02);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}
.study:hover .study__media--vision .study__img,
.study__media--vision:focus-within .study__img { filter: grayscale(0) brightness(1) contrast(1); transform: scale(1.05); }
.study__media--vision .plate__corner { color: rgba(240,236,228,.82); text-shadow: 0 1px 8px rgba(0,0,0,.6); z-index: 4; }
.study__media--vision .plate__corner--tl { color: var(--accent-ui); }

/* blueprint grid */
.plate__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--accent) 60%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--accent) 60%, transparent) 1px, transparent 1px);
  background-size: 44px 44px; mix-blend-mode: screen;
  transition: opacity .55s var(--ease);
}
.study:hover .plate__grid, .study__media--vision:focus-within .plate__grid { opacity: .3; }

/* scan-line sweep */
.plate__scan {
  position: absolute; left: 0; right: 0; top: -16%; height: 14%; pointer-events: none; opacity: 0; z-index: 3;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--accent) 80%, transparent) 55%, transparent);
  mix-blend-mode: screen;
}
.study:hover .plate__scan, .study__media--vision:focus-within .plate__scan { opacity: .85; animation: scanSweep 2.6s var(--ease) infinite; }
@keyframes scanSweep { 0% { top: -16%; } 100% { top: 104%; } }

/* keyword */
.plate__word {
  position: absolute; top: 2.3rem; left: 1rem; pointer-events: none; z-index: 4;
  font-family: var(--font-serif); font-weight: 800; font-style: italic; letter-spacing: -.02em;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s;
}
.study:hover .plate__word, .study__media--vision:focus-within .plate__word { opacity: 1; transform: translateY(0); }

/* touch devices: show full color at rest (no hover to trigger the reveal) */
@media (hover: none) { .study__media--vision .study__img { filter: none; transform: none; } }

/* Contents / index rows (breedlove magazine TOC) — used atop Experience */
.toc { margin: clamp(2.4rem, 6vw, 4rem) 0 clamp(1rem, 3vw, 2rem); }
.toc__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; }
.toc__head span:first-child { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.toc__head span:last-child { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toc__row {
  display: grid; grid-template-columns: 2.4rem minmax(170px, 1.1fr) 2fr 9.5rem; gap: clamp(1rem, 3vw, 2.4rem);
  align-items: baseline; padding: 1.15rem clamp(.5rem, 1.5vw, 1.2rem); border-top: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background .3s;
}
.toc__row:last-child { border-bottom: 1px solid var(--line); }
.toc__row:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.toc__rn { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 1.15rem; color: var(--accent-ui); }
.toc__role { display: flex; flex-direction: column; gap: .3rem; }
.toc__role b { font-family: var(--font-sans); font-weight: 700; font-size: 1.02rem; color: var(--text); }
.toc__metric { font-family: var(--font-mono); font-style: normal; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
html[data-theme="dark"] .toc__metric { color: var(--accent-ui); }
.toc__org { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc__dates { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); text-align: right; white-space: nowrap; }
html[data-theme="dark"] .toc__dates { color: var(--accent-ui); }

/* Experience — breedlove "Engineering Experience" adaptation */
.xp { margin-top: clamp(2.5rem, 6vw, 4rem); }
.xp__entry {
  display: grid; grid-template-columns: 0.85fr 1.6fr; gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.4rem, 5vw, 3.6rem) 0; border-top: 1px solid var(--line);
}
.xp__entry:last-child { border-bottom: 1px solid var(--line); }
.xp__meta { align-self: start; position: sticky; top: clamp(90px, 14vh, 130px); }
.xp__rn { display: block; font-family: var(--font-serif); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent-ui); line-height: 1; letter-spacing: -.02em; }
.xp__dates { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }
.xp__role { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.65rem); letter-spacing: -.01em; margin-top: .7rem; line-height: 1.2; }
.xp__role span { color: var(--muted); font-weight: 500; }
.xp__org { color: var(--muted); font-size: .95rem; margin-top: .35rem; }
.xp__summary { font-size: 1.05rem; line-height: 1.6; color: var(--text); margin-bottom: 1.8rem; max-width: 54ch; }
.xp__points { list-style: none; display: grid; gap: 1.4rem; }
.xp__points li { display: grid; gap: .35rem; }
.xp__pt-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.xp__pt-head b { font-family: var(--font-sans); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.xp__metric {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 16%, transparent);
  padding: .22rem .6rem; border-radius: 6px; white-space: nowrap;
}
html[data-theme="dark"] .xp__metric { color: var(--accent-ui); background: color-mix(in srgb, var(--accent) 22%, transparent); }
.xp__points p { color: var(--muted); font-size: .95rem; line-height: 1.55; max-width: 56ch; }

/* Trusted */
.trusted__strip {
  margin-top: 3rem; display: flex; align-items: center; justify-content: center;
  gap: clamp(2.5rem, 8vw, 6rem); flex-wrap: wrap;
  padding: 3rem clamp(1rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.trusted__logo { height: 46px; width: auto; object-fit: contain; }
img.trusted__logo {
  filter: brightness(0) saturate(0); opacity: .5; transition: opacity .3s, filter .3s;
}
html[data-theme="dark"] img.trusted__logo { filter: brightness(0) invert(1); opacity: .55; }
img.trusted__logo:hover { opacity: 1; }
.trusted__wordmark {
  font-family: var(--font-sans); font-weight: 600; letter-spacing: .28em; font-size: 1.5rem;
  color: var(--text); opacity: .5; display: inline-flex; align-items: center; height: 46px;
}
.trusted__wordmark:hover { opacity: 1; }

/* Ticker / marquee (full-bleed) above Products */
.ticker {
  overflow: hidden; margin-top: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(.9rem, 2vw, 1.3rem) 0; background: var(--bg-2);
}
.ticker__track { display: flex; width: max-content; animation: tickerScroll 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: 0 0 auto; }
.ticker__item {
  font-family: var(--font-sans); font-weight: 600; font-size: clamp(.72rem, 1vw, .82rem);
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center;
}
.ticker__item::after { content: "·"; margin: 0 clamp(1.2rem, 3vw, 2.6rem); color: var(--accent-ui); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Products — breedlove "Independent Products" adaptation */
.products-head { display: grid; grid-template-columns: 1fr minmax(210px, 300px); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.products-note {
  font-family: var(--font-mono); font-size: .68rem; line-height: 1.75; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); align-self: end; padding-bottom: .4rem;
}
.products { margin-top: clamp(2.6rem, 6vw, 4.2rem); display: flex; flex-direction: column; gap: clamp(3.5rem, 8vw, 6.5rem); }

/* each product = one card: dark cover on top, lighter base below */
.product {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.product:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 20px 44px -26px rgba(0,0,0,.42); }

/* cover / preview panel (dark in both themes) */
.product__cover {
  position: relative; overflow: hidden;
  background: radial-gradient(130% 150% at 50% -10%, #1c1813, #0b0a09 72%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 20%, #000);
  color: #efe7d8; padding: clamp(3.4rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  min-height: clamp(230px, 30vw, 400px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(1rem, 2.4vw, 1.7rem);
}
.cover__top, .cover__foot {
  position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: center;
  gap: clamp(.7rem, 2vw, 1.5rem); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .24em;
  text-transform: uppercase; color: color-mix(in srgb, #efe7d8 52%, transparent); padding: 0 1.5rem;
}
.cover__top { top: clamp(1.1rem, 2.5vw, 1.9rem); }
.cover__foot { bottom: clamp(1.1rem, 2.5vw, 1.9rem); color: color-mix(in srgb, #efe7d8 40%, transparent); letter-spacing: .2em; }
.cover__lead { color: var(--accent-ui); }
.product__cover--kup .cover__lead { color: #fff; }
.product__cover--brunch { border-bottom: none; }

/* contact form inline status */
.form-status { margin: 1rem 0 0; font-family: var(--font-mono); font-size: .78rem; line-height: 1.5; letter-spacing: .01em; min-height: 1.2em; }
.form-status--ok  { color: var(--accent-deep); }
.form-status--err { color: #c0492f; }
.form-status--pending { color: var(--muted); }
html[data-theme="dark"] .form-status--ok { color: var(--accent-ui); }
html[data-theme="dark"] .form-status--err { color: #e2795f; }
.cover__rule { width: clamp(28px, 6vw, 90px); height: 1px; background: color-mix(in srgb, var(--accent) 45%, transparent); flex: 0 1 auto; }
.cover__word {
  font-family: var(--font-serif); font-weight: 800; font-size: clamp(2.1rem, 6.4vw, 4.8rem);
  letter-spacing: -.02em; line-height: .95; text-align: center; color: #f3ecde;
}
.cover__rule2 { position: relative; width: min(62%, 540px); height: 1px; background: color-mix(in srgb, var(--accent) 40%, transparent); }
.cover__rule2::after { content: "\25C6"; position: absolute; right: 0; top: 50%; transform: translate(50%, -50%); color: var(--accent-ui); font-size: .6rem; }
.cover__caps {
  font-family: var(--font-sans); font-weight: 600; font-size: clamp(.72rem, 1.3vw, .95rem);
  letter-spacing: .32em; text-transform: uppercase; color: color-mix(in srgb, #efe7d8 80%, transparent);
  display: inline-flex; align-items: center; gap: .9em; text-align: center;
}
.cover__diamond { color: var(--accent-ui); font-size: .62em; }

/* image cover (designed banner art fills the panel; Plate line centered top, status centered bottom) */
.product__cover--image { padding: 0; min-height: 0; display: block; aspect-ratio: 2480 / 900; }
.cover__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__cover--image::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.42), transparent);
}
.product__cover--image::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 26%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.44), transparent);
}
.product__cover--image .cover__top,
.product__cover--image .cover__foot { z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.product__cover--image .cover__top  { color: color-mix(in srgb, #efe7d8 82%, transparent); }
.product__cover--image .cover__foot { color: color-mix(in srgb, #efe7d8 80%, transparent); }

/* light banner art: dark labels + light scrim so the Plate line stays legible */
.product__cover--light::before { background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); }
.product__cover--light::after  { background: linear-gradient(to top, rgba(255,255,255,.55), transparent); }
.product__cover--light .cover__top,
.product__cover--light .cover__foot { color: rgba(26,22,16,.8); text-shadow: 0 1px 6px rgba(255,255,255,.65); }
.product__cover--light .cover__lead { color: var(--accent-deep); }

/* plate line as a left-indented eyebrow (breedlove SmrtFood style) instead of centered */
.product__cover--plate-left .cover__top {
  justify-content: flex-start; left: clamp(1.4rem, 4vw, 3rem); right: auto;
}

/* detail block (sits on the lighter card base): meta | quote + desc + tags */
.product__detail { padding: clamp(2rem, 4vw, 3.4rem); display: grid; grid-template-columns: .8fr 1.45fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product__plate { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ui); }
.product__name { font-family: var(--font-serif); font-weight: 700; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.7rem); letter-spacing: -.02em; margin: .55rem 0 1.5rem; line-height: 1; }
.product__specs { display: grid; gap: .85rem; margin: 0; }
.product__specs > div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: baseline; }
.product__specs dt { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product__specs dd { margin: 0; font-size: .98rem; color: var(--text); }
.product__link { display: inline-block; margin-top: 1.7rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ui); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent-ui) 45%, transparent); padding-bottom: 3px; }
.product__link:hover { color: var(--accent-deep); }
.product__quote { position: relative; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.12rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--text); padding-left: 1.6rem; margin-bottom: 1.5rem; }
.product__quote::before { content: "\201C"; position: absolute; left: -.1rem; top: -.02em; font-family: Georgia, serif; font-size: 2.4em; line-height: 1; color: var(--accent-ui); }
.product__desc { font-family: Georgia, "Times New Roman", serif; color: var(--muted); font-size: 1.05rem; line-height: 1.62; max-width: 62ch; margin-bottom: 1.5rem; }
.product__desc b { color: var(--text); font-weight: 700; font-style: italic; }
.product__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; }
.product__tags li { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .85rem; }

/* ---- split plate: small icon + text on the left, tall key-art on the right (breedlove / K9Lingo style) ---- */
.product--split { display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; }
.product--split .product__detail {
  padding: clamp(2.2rem, 4vw, 3.6rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  order: 1;
}
.product--split .product__cover {
  order: 2; border-bottom: none;
  border-left: 1px solid color-mix(in srgb, var(--accent) 20%, #000);
  min-height: clamp(520px, 58vw, 700px);
}
.product--split .product__cover--image { aspect-ratio: auto; height: 100%; background: #09090b; }
.product--split .cover__img { object-fit: contain; }
.product__idrow { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; }
.product__icon { width: clamp(72px, 6.4vw, 96px); height: auto; display: block; }
.product--split .product__tags { margin-top: 1.7rem; }
.product--split .product__name { margin: 0 0 1.4rem; }
.product__disclaimer { margin: 1.5rem 0 0; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: .8; }
@media (max-width: 860px) {
  .product--split { grid-template-columns: 1fr; }
  .product--split .product__cover { border-left: none; border-top: 1px solid color-mix(in srgb, var(--accent) 20%, #000); min-height: clamp(360px, 80vw, 520px); order: 1; }
  .product--split .product__detail { order: 2; }
}

/* Process */
.process__list { list-style: none; margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { border-top: 2px solid var(--accent-ui); padding-top: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.step__num { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-ui); letter-spacing: .1em; }
.step h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Design Toolkit — breedlove "Technical Toolkit" adaptation */
.toolkit__grid { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.5rem); }
.tool {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.tool:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,0,0,.4); }
.tool__head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tool__id { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; color: var(--accent-ui); }
.tool__name { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.01em; }
.tool__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.tool__tags li { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .34rem .72rem; transition: color .25s, border-color .25s; }
.tool:hover .tool__tags li { border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; margin-top: 1rem; }
.contact__sub { color: var(--muted); font-size: 1.1rem; margin: 1.5rem 0 2rem; max-width: 34ch; }
.contact__social { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.contact__social a { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: .4em; transition: color .25s; width: fit-content; }
.contact__social a span { color: var(--accent-ui); }
.contact__social a:hover { color: var(--text); }
.contact__form { display: flex; flex-direction: column; gap: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.6rem); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .85em 1em; resize: vertical;
  transition: border-color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-ui); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 3rem var(--pad) 4rem;
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
}
.footer__mark { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin-right: auto; }
.footer__logo { height: 30px; width: auto; display: block; }
html[data-theme="dark"]  .footer__logo { filter: brightness(0) invert(1); }
html[data-theme="light"] .footer__logo { filter: brightness(0); }
.footer__tag { font-family: var(--font-serif); font-style: italic; color: var(--muted); }
.footer__legal { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .04em; width: 100%; padding-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .contact__grid { grid-template-columns: 1fr; }
  .bg__grid { grid-template-columns: 1fr; }
  .bg__aside { position: static; }
  .cap__list { grid-template-columns: 1fr 1fr; }
  .process__list { grid-template-columns: 1fr 1fr; }
  .now__row { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; }
  .now__stamp { grid-column: 1 / -1; margin-bottom: .2rem; }
}
/* Mobile hero: push subject into the upper frame, copy sits on a strong bottom scrim */
@media (max-width: 740px) {
  /* Photo-forward hero: zoom in + crop the ceiling so his head sits near the top (less empty space above) */
  .hero__img { object-position: 50% 84%; animation: none; transform: scale(1.42); transform-origin: 50% 74%; }
  .hero__inner { padding-bottom: clamp(1.8rem, 5vh, 3rem); }
  .hero__scrollcue { display: none; }   /* was overlapping the CTAs on small screens */
  .hero__copy { max-width: 100%; }
  .hero__eyebrow, .hero__sub { display: none; }  /* keep copy off the face; punchy on mobile */
  .hero__logo { display: block; }                /* logo shows top-left on mobile (eyebrow hidden) */
  .spy { display: none; }                         /* scroll-spy hidden on mobile (switch/index already present) */
  /* switch lives at the top-right corner on mobile (hero + on scroll) */
  html .switch--float { top: clamp(20px, 4.5vh, 34px); right: 4%; }
  html .switch--float.switch--docked { top: clamp(12px, 3vh, 22px); right: 4%; }
  .hero__index { padding: 1rem .45rem; }
  .hero__index-label { font-size: .62rem; letter-spacing: .24em; }
  .hero__stats { gap: 1rem; margin: .5rem 0 1.2rem; padding-top: .9rem; }
  .stat b { font-size: clamp(1.5rem, 8vw, 2.1rem); }
  .stat > span { font-size: .6rem; max-width: 11ch; line-height: 1.3; }
  /* tighter scrim so more of the photo shows above the copy band */
  html[data-theme="dark"] .hero__scrim {
    background:
      linear-gradient(0deg, rgba(6,8,13,.98) 0%, rgba(6,8,13,.9) 20%, rgba(6,8,13,.34) 31%, rgba(6,8,13,0) 40%),
      linear-gradient(180deg, rgba(6,8,13,.5) 0%, rgba(6,8,13,0) 11%);
  }
  html[data-theme="light"] .hero__scrim {
    background:
      linear-gradient(0deg, rgba(234,237,242,.98) 0%, rgba(234,237,242,.9) 20%, rgba(234,237,242,.34) 31%, rgba(234,237,242,0) 40%),
      linear-gradient(180deg, rgba(234,237,242,.6) 0%, rgba(234,237,242,0) 11%);
  }
}
@media (max-width: 740px) {
  /* studies collapse to a single column: picture on top, text below */
  .study { grid-template-columns: 1fr; gap: 1.4rem; }
  .study .study__media, .study:nth-child(even) .study__media { order: 1; }
  .study .study__caption, .study:nth-child(even) .study__caption { order: 2; }
  /* experience entries stack: meta above body, no sticky */
  .xp__entry { grid-template-columns: 1fr; gap: 1.3rem; }
  .xp__meta { position: static; }
  /* Contents rows: drop the middle org column on mobile */
  .toc__row { grid-template-columns: 1.8rem 1fr auto; column-gap: 1rem; }
  .toc__org { display: none; }
  /* products stack: heading note below, detail single column */
  .products-head { grid-template-columns: 1fr; gap: 1.1rem; }
  .products-note { padding-bottom: 0; }
  .product__detail { grid-template-columns: 1fr; gap: 1.4rem; }
  .product__specs > div { grid-template-columns: 4.5rem 1fr; }
  .toolkit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .now__row { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .cap__list { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
