/* ============================================================================
   sven.fm — "Pine" redesign
   ----------------------------------------------------------------------------
   Deep pine field alternating with a pistachio-sage paper band, brass accent,
   oversized Syne display type, paper grain over everything, physically deep
   buttons, slow ambient motion.

   Plain CSS, no build step. Every value comes from the token block below
   (redesign/tokens.css). Sections:

     1. Fonts
     2. Tokens
     3. Base
     4. Atmosphere        grain + ambient light
     5. Buttons
     6. Header            sticky bar, desktop nav, mobile sheet
     7. Hero
     8. Numbers band
     9. Ways to engage
    10. About
    11. Career
    12. Angel portfolio + press
    13. Common questions
    14. Closing CTA, mobile action bar, footer
    15. Motion + reduced motion
   ========================================================================== */

/* ── 1. Fonts ─────────────────────────────────────────────────────────────
   Self-hosted variable subsets (latin + latin-ext), same approach as before. */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/syne-latin-var.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: "Syne";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/syne-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, 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;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-var.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: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/work-sans-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, 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;
}

/* ── 2. Tokens ────────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --surface-pine: #13291F;
  --surface-pine-glass: rgba(19, 41, 31, .82);
  --surface-sage: #DCE4D2;
  --surface-raised: rgba(220, 228, 210, .045);
  --surface-raised-hover: rgba(220, 228, 210, .075);
  --rule-on-pine: rgba(220, 228, 210, .16);
  --rule-on-sage: rgba(19, 41, 31, .14);

  /* Text */
  --text-on-pine: #DCE4D2;
  --text-on-pine-body: rgba(220, 228, 210, .74);
  --text-on-pine-muted: rgba(220, 228, 210, .72); /* AA at 11–12px — do not dim */
  --text-on-pine-subtle: rgba(220, 228, 210, .62);
  --text-on-sage: #13291F;
  --text-on-sage-body: rgba(19, 41, 31, .72);
  --text-on-sage-muted: rgba(19, 41, 31, .74);

  /* Accent */
  --brass: #D0A928;
  --brass-on-sage: #7A5C0A;
  --brass-button: linear-gradient(180deg, #E0BC48, #C79E20);
  --brass-halo: rgba(208, 169, 40, .24);

  /* Type */
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  /* 10.5vw is tuned so the longest word ("companies") just fills the line.
     Below ~400px the gutter stops shrinking with the viewport, so the second
     term takes over and keeps the word inside the container instead of
     clipping it — the prototype's 48px floor overflowed every phone. */
  --fs-h1: min(10.5vw, calc((100vw - 40px) / 8.6), 158px);
  --fs-h2: clamp(30px, 5vw, 72px);
  --fs-h2-closing: clamp(52px, 13vw, 190px);
  --fs-h3: clamp(20px, 2.4vw, 32px);
  --fs-role: clamp(21px, 2.4vw, 32px);
  --fs-about-lead: clamp(22px, 2.8vw, 38px);
  --fs-career: clamp(19px, 2.1vw, 27px);
  --fs-faq: clamp(18px, 2vw, 25px);
  --fs-metric: clamp(34px, 4vw, 58px);
  --fs-portfolio: clamp(16px, 1.4vw, 19px);
  --fs-hero-body: clamp(16px, 1.25vw, 19px);
  --fs-body: 16px;
  --fs-body-sm: 15.5px;
  --fs-card: 13.5px;
  --fs-metric-label: 13px;
  --fs-nav: 13.5px;
  --fs-eyebrow: 11.5px;
  --fs-tag: 11px;

  --track-display: -.045em;
  --track-h2: -.04em;
  --track-h3: -.03em;
  --track-eyebrow: .22em;
  --track-meta: .16em;
  --track-tag: .12em;

  /* Space */
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(52px, 8vw, 120px);
  --hero-top: clamp(40px, 7vw, 110px);
  --col-gap: clamp(16px, 3vw, 56px);
  --row-y: clamp(20px, 3vw, 32px);
  --maxw: 1320px;

  /* Radii */
  --r-pill: 999px;
  --r-card: 20px;
  --r-chip: 8px;
  --r-portrait-frame: 200px 200px 34px 34px;
  --r-portrait-img: 184px 184px 22px 22px;

  /* Elevation */
  --shadow-btn: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.14),
                0 2px 5px rgba(0,0,0,.22), 0 16px 30px -14px rgba(0,0,0,.7);
  --shadow-btn-hover: inset 0 1px 0 rgba(255,255,255,.6), 0 3px 8px rgba(0,0,0,.24),
                      0 26px 42px -16px rgba(0,0,0,.75);
  --shadow-btn-active: inset 0 2px 6px rgba(0,0,0,.28), 0 6px 14px -8px rgba(0,0,0,.6);
  --shadow-ghost: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 24px -16px rgba(0,0,0,.6);
  --shadow-card: inset 0 1px 0 rgba(255,255,255,.09);
  --shadow-portrait: inset 0 1px 0 rgba(255,255,255,.12), 0 46px 70px -38px rgba(0,0,0,.9);
  --shadow-favicon: 0 1px 3px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.07);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-press: 300ms;
  --dur-role-fade: 420ms;
  --dur-role-hold: 3400ms;
  --dur-reveal: 900ms;
  --dur-count: 1300ms;
  --reveal-offset: 16px;
  --parallax-clamp: 44px;
}

/* ── 3. Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* clip, never hidden: overflow:hidden on the root clips the fixed ambient layers */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface-pine);
  color: var(--text-on-pine);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

a {
  color: var(--brass);
  text-decoration: none;
  transition: color .24s var(--ease);
}
a:hover { color: var(--text-on-pine); }

::selection { background: var(--brass); color: var(--surface-pine); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 70;
  padding: 12px 18px;
  background: var(--brass);
  color: var(--surface-pine);
  font-weight: 600;
  border-radius: 0 0 var(--r-chip) 0;
}
.skip:focus { left: 0; color: var(--surface-pine); }

.container { max-width: var(--maxw); margin: 0 auto; }

.section { padding: var(--section-y) var(--gutter); }
.section--sage { background: var(--surface-sage); color: var(--text-on-sage); }
.section[id] { scroll-margin-top: 96px; }

/* Small uppercase labels. Never dim below 72% on pine (AA at 11–12px). */
.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--brass);
}
.section--sage .eyebrow { color: var(--brass-on-sage); }

.meta {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--text-on-pine-muted);
}

.rule {
  display: block;
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--brass);
}

/* ── 4. Atmosphere ────────────────────────────────────────────────────────
   Grain and light sit ABOVE the section backgrounds so band edges can't clip
   them. Both are fixed, inert and blended. The ambient layers translate only —
   scaling, or a gradient that never reaches transparent, shows a moving edge. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.glow {
  position: fixed;
  z-index: 55;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.glow--warm {
  top: -30vh;
  left: -20vw;
  width: 110vw;
  height: 110vh;
  opacity: .85;
  background: radial-gradient(closest-side,
    rgba(208,169,40,.5), rgba(208,169,40,.22) 42%, rgba(208,169,40,.06) 70%, rgba(208,169,40,0) 100%);
  animation: glow-drift 46s ease-in-out infinite;
}
.glow--cool {
  bottom: -35vh;
  right: -25vw;
  width: 105vw;
  height: 105vh;
  opacity: .7;
  background: radial-gradient(closest-side,
    rgba(240,246,230,.4), rgba(240,246,230,.16) 45%, rgba(240,246,230,.04) 72%, rgba(240,246,230,0) 100%);
  animation: glow-drift-alt 62s ease-in-out infinite;
}

@keyframes glow-drift {
  0%   { transform: translate3d(-5%, -3%, 0); }
  50%  { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(-5%, -3%, 0); }
}
@keyframes glow-drift-alt {
  0%   { transform: translate3d(3%, 4%, 0); }
  50%  { transform: translate3d(-3%, -4%, 0); }
  100% { transform: translate3d(3%, 4%, 0); }
}

/* ── 5. Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--surface-pine);
  background: var(--brass-button);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease),
              box-shadow var(--dur-press) var(--ease),
              filter var(--dur-press) ease;
}
.btn:hover {
  color: var(--surface-pine);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}
.btn:active {
  transform: translateY(0) scale(.985);
  box-shadow: var(--shadow-btn-active);
}

.btn--ghost {
  color: var(--text-on-pine);
  background: rgba(220, 228, 210, .06);
  border: 1px solid rgba(220, 228, 210, .28);
  box-shadow: var(--shadow-ghost);
  transition: transform var(--dur-press) var(--ease),
              box-shadow var(--dur-press) var(--ease),
              border-color var(--dur-press) ease,
              background var(--dur-press) ease;
}
.btn--ghost:hover {
  color: var(--text-on-pine);
  filter: none;
  border-color: rgba(220, 228, 210, .6);
  background: rgba(220, 228, 210, .11);
  transform: translateY(-2px);
  box-shadow: var(--shadow-ghost);
}
.btn--ghost:active { transform: translateY(0) scale(.985); }

.btn--sm { font-size: var(--fs-nav); letter-spacing: .02em; padding: 12px 22px; min-height: 44px; }
.btn--lg { font-size: 15px; padding: 17px 32px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 38px); }
.cta-row--center { justify-content: center; margin-top: clamp(26px, 3.5vw, 44px); }

/* ── 6. Header ────────────────────────────────────────────────────────── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface-pine-glass);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(220, 228, 210, .12);
}
.hdr__in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  padding: 13px var(--gutter);
}
.hdr__spacer { flex: 1; }

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--text-on-pine);
}
.wordmark:hover { color: var(--text-on-pine); }
.wordmark__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(208, 169, 40, .16);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a {
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(220, 228, 210, .68);
  transition: color .24s var(--ease);
}
.nav a:hover { color: var(--text-on-pine); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0 11px;
  border: 1px solid rgba(220, 228, 210, .28);
  background: rgba(220, 228, 210, .06);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.menu-btn__bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text-on-pine);
  border-radius: 2px;
  transition: transform .32s var(--ease), opacity .24s ease;
}
.menu-btn[aria-expanded="true"] .menu-btn__bar:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bar:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.sheet {
  display: none;
  border-top: 1px solid rgba(220, 228, 210, .12);
  padding: 10px var(--gutter) 22px;
  gap: 2px;
}
.sheet.is-open { display: grid; }
.sheet a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.03em;
  color: var(--text-on-pine);
  padding: 12px 0;
  border-bottom: 1px solid rgba(220, 228, 210, .1);
}
.sheet a:last-child { border-bottom: 0; }
.sheet a:hover { color: var(--brass); }

/* ── 7. Hero ──────────────────────────────────────────────────────────── */
.hero { padding: var(--hero-top) var(--gutter) var(--section-y); position: relative; }

.hero__eyebrow { display: flex; align-items: center; gap: 11px; }

.hero__h1 {
  margin: clamp(26px, 4vw, 52px) 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: .86;
  letter-spacing: var(--track-display);
  max-width: 15ch;
  text-wrap: balance;
}
.hero__h1 em { font-style: normal; color: var(--brass); }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(26px, 4vw, 64px);
  margin-top: clamp(34px, 5vw, 72px);
  align-items: end;
}

.roleline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-role);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: rgba(220, 228, 210, .55);
}
.role {
  display: inline-block;
  color: var(--text-on-pine);
  transition: opacity var(--dur-role-fade) var(--ease),
              transform var(--dur-role-fade) var(--ease),
              filter var(--dur-role-fade) ease;
}
.role.is-out { opacity: 0; transform: translateY(8px); filter: blur(2px); }

.hero__body {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  max-width: 50ch;
  font-size: var(--fs-hero-body);
  line-height: 1.6;
  color: var(--text-on-pine-body);
  text-wrap: pretty;
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-on-pine-muted);
}
.availability__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(208, 169, 40, .16);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(208, 169, 40, .16); }
  50%      { box-shadow: 0 0 0 7px rgba(208, 169, 40, .05); }
}

.portrait { justify-self: end; max-width: 360px; width: 100%; position: relative; }
.portrait__halo {
  position: absolute;
  inset: -16% -12% -10%;
  pointer-events: none;
  background: radial-gradient(closest-side,
    var(--brass-halo), rgba(208,169,40,.08) 55%, rgba(208,169,40,0) 100%);
}
.portrait__frame {
  position: relative;
  padding: 16px;
  border-radius: var(--r-portrait-frame);
  background: linear-gradient(180deg, rgba(220,228,210,.10), rgba(220,228,210,.015));
  border: 1px solid var(--rule-on-pine);
  box-shadow: var(--shadow-portrait);
}
.portrait__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--r-portrait-img);
  filter: saturate(.86) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 84%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.55) 84%, rgba(0,0,0,0) 100%);
}
.portrait__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--text-on-pine-muted);
}
.portrait__cap .rule { width: 20px; border-radius: 2px; }
.portrait__cap span:last-child { margin-left: auto; }

/* ── 8. Numbers band ──────────────────────────────────────────────────── */
.band { padding: clamp(40px, 6vw, 84px) var(--gutter); }

/* minmax is 250px, not the prototype's 170px: at 58px Syne 800 the widest
   value ("20M+") measures ~250px, so narrower tracks spilled it into the
   neighbouring column. Keeping the display size costs a column — the band is
   four across on a wide screen rather than six. */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.metric__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-metric);
  line-height: 1;
  letter-spacing: var(--track-h2);
  font-variant-numeric: tabular-nums;
}
.metric__label {
  margin-top: 12px;
  font-size: var(--fs-metric-label);
  line-height: 1.45;
  color: var(--text-on-sage-muted);
  max-width: 22ch;
}

/* ── 9. Ways to engage ────────────────────────────────────────────────── */
.section__h2 {
  margin: clamp(18px, 2.5vw, 32px) 0 clamp(30px, 4vw, 56px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: var(--track-h2);
  max-width: 22ch;
  text-wrap: balance;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: var(--col-gap);
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid var(--rule-on-pine);
  align-items: start;
}
.mode__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: var(--track-h3);
}
.mode__num { color: var(--brass); }
.mode__desc {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(220, 228, 210, .7);
  max-width: 58ch;
  text-wrap: pretty;
}

/* ── 10. About ────────────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 5vw, 80px);
}
.about__lead {
  margin: clamp(18px, 2.5vw, 30px) 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-about-lead);
  line-height: 1.12;
  letter-spacing: var(--track-h3);
  max-width: 24ch;
  text-wrap: balance;
}
.about__bio {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-on-sage-body);
  max-width: 60ch;
}
.about__bio p + p { margin-top: 1.1em; }
.about__bio a {
  color: var(--brass-on-sage);
  border-bottom: 1px solid rgba(0, 0, 0, .35);
}
.about__bio a:hover { color: var(--text-on-sage); border-bottom-color: var(--text-on-sage); }

/* ── 11. Career ───────────────────────────────────────────────────────── */
.career-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--col-gap);
  padding: var(--row-y) 0;
  border-top: 1px solid var(--rule-on-pine);
  align-items: start;
}
.career__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-career);
  line-height: 1.14;
  letter-spacing: var(--track-h3);
}
.career__meta { margin-top: 9px; }
.career__desc {
  font-size: var(--fs-body-sm);
  line-height: 1.62;
  color: rgba(220, 228, 210, .7);
  text-wrap: pretty;
}
.career__sub { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.career__sub li {
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--text-on-pine-subtle);
  border: 1px solid rgba(220, 228, 210, .2);
  background: rgba(220, 228, 210, .04);
  border-radius: var(--r-pill);
  padding: 6px 13px;
}

/* ── 12. Angel portfolio + press ──────────────────────────────────────── */
.section--portfolio { padding-top: 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: baseline;
}

.pf {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 36px);
}
/* flex, not grid: no phantom empty cells at any column count */
.pf > li { flex: 1 1 280px; min-width: 0; display: flex; }

.pf-card {
  flex: 1;
  display: block;
  border: 1px solid rgba(220, 228, 210, .18);
  background: var(--surface-raised);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 16px 18px 17px;
  color: var(--text-on-pine);
  transition: transform var(--dur-press) var(--ease),
              border-color var(--dur-press) ease,
              background var(--dur-press) ease;
}
.pf-card:hover,
.pf-card:focus-within {
  color: var(--text-on-pine);
  border-color: rgba(208, 169, 40, .6);
  background: var(--surface-raised-hover);
  transform: translateY(-2px);
}
.pf-card__name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-portfolio);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.pf-card__name a { color: inherit; }
.pf-card__name a:hover { color: var(--brass); }
.pf-card__desc {
  margin-top: 9px;
  font-size: var(--fs-card);
  line-height: 1.5;
  color: var(--text-on-pine-subtle);
  text-wrap: pretty;
}

.tag {
  font-family: var(--font-body);
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: var(--track-tag);
  text-transform: uppercase;
  color: rgba(220, 228, 210, .78);
  border: 1px solid rgba(220, 228, 210, .24);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}

/* Favicon chip: letter first, DuckDuckGo icon fades in over it if it loads. */
.fav {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-chip);
  background: #FFFFFF;
  box-shadow: var(--shadow-favicon);
  overflow: hidden;
}
.fav__letter {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--surface-pine);
  transition: opacity var(--dur-press) ease;
}
.fav img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0;
  transition: opacity var(--dur-press) ease;
}
.fav--dual {
  width: auto;
  gap: 3px;
  padding: 0 5px;
  overflow: visible;
}
.fav--dual img { position: static; width: 13px; height: 13px; transform: none; }

.press {
  margin-top: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 3vw, 32px);
}
.press a {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--rule-on-pine);
  color: var(--text-on-pine);
  transition: border-top-color var(--dur-press) ease;
}
.press a:hover { border-top-color: var(--brass); color: var(--text-on-pine); }
.press__pub {
  display: block;
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--brass);
}
.press__title {
  display: block;
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(220, 228, 210, .65);
}

/* ── 13. Common questions ─────────────────────────────────────────────── */
.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(14px, 3vw, 56px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-top: 1px solid var(--rule-on-sage);
  align-items: start;
}
.faq-row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-faq);
  line-height: 1.15;
  letter-spacing: var(--track-h3);
}
.faq-row dd {
  font-size: var(--fs-body-sm);
  line-height: 1.62;
  color: rgba(19, 41, 31, .7);
  text-wrap: pretty;
}
.faq-row dd a { color: var(--brass-on-sage); border-bottom: 1px solid rgba(0, 0, 0, .35); }
.faq-row dd a:hover { color: var(--text-on-sage); border-bottom-color: var(--text-on-sage); }

/* ── 14. Closing CTA + footer ─────────────────────────────────────────── */
.close {
  padding: clamp(64px, 10vw, 150px) var(--gutter) clamp(52px, 7vw, 110px);
  text-align: center;
}
.close__h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2-closing);
  line-height: .85;
  letter-spacing: -.05em;
}
.close__body {
  margin: clamp(22px, 3vw, 36px) auto 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--text-on-pine-muted);
  text-wrap: pretty;
}

.close__sign {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--brass);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px var(--gutter) 36px;
  border-top: 1px solid rgba(220, 228, 210, .14);
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--text-on-pine-muted);
}
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: var(--text-on-pine-muted); }
.footer__links a:hover { color: var(--brass); }

/* ── 15. Responsive ───────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: flex; }

  .row,
  .career-row,
  .faq-row { grid-template-columns: 1fr; gap: 12px; }

  .portrait { justify-self: center; }
  .hero__grid { align-items: start; }
}

@media (max-width: 520px) {
  .hero__grid { gap: clamp(30px, 8vw, 48px); }
  .footer { gap: 10px; }
}

/* ── 16. Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
