/* ============================================================
   THOMAS KNOOIHUIZEN — EXECUTIVE PORTFOLIO
   Token system:
   Color   — ink navy base, muted steel-blue primary accent,
             champagne gold reserved only for defining numbers
   Type    — Fraunces (display) / Inter (body) / IBM Plex Mono (data)
   Motif   — the account growth curve, told as editorial narrative
   ============================================================ */

:root {
  --bg: #0A0E13;
  --bg-alt: #0E141B;
  --surface: #131A22;
  --surface-2: #1A222C;
  --border: rgba(237, 234, 225, 0.09);
  --border-soft: rgba(237, 234, 225, 0.05);
  --text: #EDEAE1;
  --text-dim: #B7BEC6;
  --text-muted: #7C8791;
  --blue: #6E93B3;
  --blue-bright: #8FB2CF;
  --blue-deep: #2E4258;
  --blue-soft: rgba(110, 147, 179, 0.14);
  --gold: #C9A868;
  --gold-soft: rgba(201, 168, 104, 0.14);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --edge: clamp(24px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
  display: block;
}
.story-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.story-intro {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(.16,.8,.24,1), transform 0.8s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #0A0E13; font-weight: 600; }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(237,234,225,0.4); color: var(--text); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-large { padding: 18px 34px; font-size: 14px; margin-top: 8px; }

/* Signature interactive button — used for every primary action across the site */
.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 104, 0.35);
  background: linear-gradient(120deg, rgba(110,147,179,0.10), rgba(201,168,104,0.10));
  cursor: pointer;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--blue) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(.16,.8,.24,1);
  z-index: 0;
}
.btn-premium .btn-label,
.btn-premium .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(.16,.8,.24,1);
}
.btn-premium .btn-arrow { display: inline-block; }
.btn-premium:hover {
  color: #0A0E13;
  border-color: transparent;
  box-shadow: 0 16px 36px -12px rgba(110, 147, 179, 0.55);
  transform: translateY(-2px);
}
.btn-premium:hover::before { transform: scaleX(1); }
.btn-premium:hover .btn-arrow { transform: translateX(5px); }
.btn-premium--small { padding: 11px 22px; font-size: 12px; }
.btn-premium--full { width: 100%; padding: 17px 30px; margin-top: 6px; }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 19, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-progress {
  position: absolute; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
  transition: width 0.1s linear;
  z-index: 1;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--edge);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-mark { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; font-weight: 600; }
.nav-mark-dot { color: var(--gold); }
.nav-links {
  display: flex; gap: 24px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; text-transform: uppercase;
  color: rgba(237,234,225,0.8);
}
.nav-links a { position: relative; padding-bottom: 4px; transition: color 0.25s ease; white-space: nowrap; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px;
  background: var(--gold);
  transition: right 0.3s cubic-bezier(.16,.8,.24,1);
}
.nav-links a:hover { color: var(--blue-bright); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after { right: 0; }
@media (max-width: 980px) { .nav-links { display: none; } }

/* ================= HERO (full-bleed portrait) ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 78% center;
  filter: grayscale(8%) contrast(1.12) brightness(1.1) saturate(1.15);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,11,15,0.95) 0%, rgba(8,11,15,0.74) 32%, rgba(8,11,15,0.22) 58%, rgba(8,11,15,0.04) 100%),
    linear-gradient(0deg, rgba(8,11,15,0.96) 0%, rgba(8,11,15,0.38) 32%, rgba(8,11,15,0.06) 60%, rgba(8,11,15,0.22) 100%);
}
.hero-scrim::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--blue-deep);
  mix-blend-mode: color;
  opacity: 0.2;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 140px var(--edge) 96px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 6px 0 26px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 34px; border: 1px solid rgba(237,234,225,0.4); border-radius: 12px; display: none; z-index: 2;
}
@media (min-width: 700px) { .scroll-cue { display: block; } }
.scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 3px; height: 6px;
  background: var(--blue-bright); border-radius: 2px; transform: translateX(-50%);
  animation: cue-move 1.8s ease infinite;
}
@keyframes cue-move { 0% { top: 6px; opacity: 1; } 70% { top: 18px; opacity: 0; } 100% { top: 18px; opacity: 0; } }

/* ================= TICKER ================= */
.ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 46px var(--edge);
}
.ticker-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500; color: var(--blue-bright); letter-spacing: -0.01em;
}
.stat-label { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 980px) { .ticker-inner { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; } }
@media (max-width: 560px) { .ticker-inner { grid-template-columns: repeat(2, 1fr); } }

/* ================= ABOUT ================= */
.about { padding: 120px var(--edge) 40px; background: var(--bg); scroll-margin-top: 70px; }
.about-intro { max-width: 820px; margin: 0 auto 100px; }
.about-lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400; line-height: 1.5; color: var(--text); margin-bottom: 40px;
}
.about-lede strong { color: var(--blue-bright); font-weight: 500; }
.about-competencies { display: flex; flex-wrap: wrap; gap: 10px; }
.about-competencies span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--text-dim);
  border: 1px solid var(--border); padding: 9px 16px; border-radius: 20px;
}

.account-story { max-width: 840px; margin: 0 auto; }
.account-story-header { margin-bottom: 56px; }
.account-story-kicker {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 16px;
}
.account-story-header h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin-bottom: 20px;
}
.account-story-header p { color: var(--text-dim); font-size: 17px; line-height: 1.75; }

/* Growth band — editorial, not a dashboard card */
.growth-band {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  padding: 44px 0 56px;
  margin-bottom: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.growth-band-figure { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.growth-band-figure--end { align-items: flex-end; text-align: right; }
.growth-band-value {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px); color: var(--text); letter-spacing: -0.01em; line-height: 1;
}
.growth-band-value--gold { color: var(--gold); }
.growth-band-year { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.growth-band-line { flex: 1; position: relative; padding-top: 8px; }
.growth-band-line svg { width: 100%; height: 44px; overflow: visible; }
.growth-band-path {
  fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 500; stroke-dashoffset: 500;
  animation: draw-band 1.8s cubic-bezier(.4,0,.2,1) 0.2s forwards;
}
@keyframes draw-band { to { stroke-dashoffset: 0; } }
.growth-band-mid {
  display: block; text-align: center; margin-top: 14px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .growth-band { flex-direction: column; align-items: stretch; gap: 20px; }
  .growth-band-figure--end { align-items: flex-start; text-align: left; }
  .growth-band-line { order: 3; }
}

.story-block { margin-bottom: 56px; }
.story-block-num {
  display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-bright); margin-bottom: 16px;
}
.story-block > p { color: var(--text-dim); font-size: 16.5px; line-height: 1.8; max-width: 760px; }

.action-list { display: flex; flex-direction: column; }
.action-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--border);
}
.action-list li:last-child { border-bottom: 1px solid var(--border); }
.action-list-num { font-family: var(--font-display); font-size: 22px; color: var(--gold); font-weight: 400; }
.action-list h4 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.action-list p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 560px) { .action-list li { grid-template-columns: 36px 1fr; } }

.results-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-bottom: 56px;
}
.result {
  padding: 30px 20px 30px 0;
  display: flex; flex-direction: column; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.result:nth-child(4n) { padding-right: 0; }
.result-value { font-family: var(--font-mono); font-size: clamp(17px, 1.8vw, 21px); color: var(--blue-bright); font-weight: 500; }
.result-label { font-size: 12px; color: var(--text-muted); }
@media (max-width: 760px) { .results-band { grid-template-columns: repeat(2, 1fr); } }

.story-takeaway {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.55; color: var(--text);
  border-left: 2px solid var(--gold); padding-left: 28px; max-width: 720px;
}
.story-takeaway strong { color: var(--gold); font-style: normal; }

/* ================= CAREER ================= */
.career { padding: 110px var(--edge); background: var(--bg-alt); border-top: 1px solid var(--border-soft); }
.career .story-title, .career .eyebrow { max-width: var(--container); margin-left: auto; margin-right: auto; }
.timeline { position: relative; max-width: var(--container); margin: 56px auto 0; display: flex; flex-direction: column; }
.timeline::before {
  content: '';
  position: absolute;
  top: 46px; bottom: 46px;
  left: 198px;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 32px 1fr;
  column-gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: 1px solid var(--border); }
.timeline-years { font-family: var(--font-mono); font-size: 13px; color: var(--gold); padding-top: 8px; text-align: right; }
.timeline-marker { position: relative; display: flex; justify-content: center; }
.timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  margin-top: 10px;
  box-shadow: 0 0 0 5px var(--bg-alt);
  position: relative; z-index: 1;
}
.timeline-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 30px 34px;
  transition: border-color 0.3s ease;
}
.timeline-body:hover { border-color: var(--blue); }
.timeline-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 4px; }
.timeline-org { color: var(--blue-bright); font-size: 14px; margin-bottom: 18px; }
.timeline-body p:not(.timeline-org) {
  color: var(--text-dim); font-size: 15px; max-width: 680px; line-height: 1.75;
}
.timeline-body p:not(.timeline-org) + p:not(.timeline-org) { margin-top: 16px; }
.timeline-body strong { color: var(--gold); font-weight: 600; }
@media (max-width: 700px) {
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; row-gap: 12px; }
  .timeline-marker { display: none; }
  .timeline-years { text-align: left; padding-top: 0; }
  .timeline-body { padding: 26px 22px; }
}

/* ================= KEY ACHIEVEMENTS ================= */
.achievements { padding: 120px var(--edge) 100px; background: var(--bg); scroll-margin-top: 70px; }
.achievements-header { max-width: 680px; margin: 0 auto 76px; text-align: center; }
.achievements-header .eyebrow, .achievements-header .story-title, .achievements-header .story-intro { margin-left: auto; margin-right: auto; text-align: center; }

.achv-category { max-width: var(--container); margin: 0 auto 64px; }
.achv-category--last { margin-bottom: 0; }
.achv-category-label {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.achv-category-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.achv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.achv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s cubic-bezier(.16,.8,.24,1), border-color 0.3s ease, background 0.3s ease;
}
.achv-card:hover { transform: translateY(-5px); border-color: var(--blue); background: var(--surface-2); }
.achv-value {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px); color: var(--gold); letter-spacing: -0.005em; line-height: 1.1;
}
.achv-title {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-bright);
}
.achv-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-top: 2px; }
.toolkit {
  position: relative;
  padding: 130px var(--edge) 140px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  overflow: hidden;
}
.toolkit-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 75%);
  pointer-events: none;
}
.toolkit-header { position: relative; max-width: 640px; margin: 0 auto 76px; text-align: center; }
.toolkit-header .eyebrow, .toolkit-header .story-title, .toolkit-header .story-intro { margin-left: auto; margin-right: auto; }
.toolkit-header .story-intro { text-align: center; }

.toolkit-columns {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.toolkit-col {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}
.toolkit-col:first-child { border-left: none; padding-left: 0; }
.toolkit-col:last-child { padding-right: 0; }
.toolkit-col-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.toolkit-col-label em {
  font-style: normal;
  color: var(--gold);
  margin-right: 8px;
}
.toolkit-list { display: flex; flex-direction: column; gap: 26px; }
.toolkit-list li { display: flex; flex-direction: column; gap: 4px; }
.toolkit-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease;
}
.toolkit-list li:hover .toolkit-name { color: var(--blue-bright); }
.toolkit-desc { font-size: 13px; color: var(--text-muted); }
@media (max-width: 820px) {
  .toolkit-columns { grid-template-columns: 1fr; gap: 48px; }
  .toolkit-col { border-left: none; padding: 0 !important; border-top: 1px solid var(--border); padding-top: 40px !important; }
  .toolkit-col:first-child { border-top: none; }
}

/* ================= DOCUMENTS ================= */
.documents { padding: 100px var(--edge) 120px; background: var(--bg-alt); border-top: 1px solid var(--border-soft); scroll-margin-top: 70px; }
.documents .eyebrow, .documents .story-title, .documents .story-intro { max-width: var(--container); margin-left: auto; margin-right: auto; }
.doc-grid {
  max-width: var(--container); margin: 48px auto 0;
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.doc-card {
  flex: 1 1 240px; background: var(--bg-alt); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 26px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}
.doc-card:hover { background: var(--surface-2); }
.doc-card-icon { font-family: var(--font-mono); font-size: 12px; color: var(--gold); }
.doc-card-name { font-family: var(--font-display); font-size: 18px; line-height: 1.35; }
.doc-card-action { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-bright); margin-top: auto; }

/* ================= CONTACT ================= */
.contact {
  position: relative;
  padding: 150px var(--edge) 160px;
  background:
    radial-gradient(ellipse 900px 600px at 15% 10%, rgba(110,147,179,0.10), transparent 60%),
    var(--bg);
  scroll-margin-top: 70px;
  overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-ghost-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: min(60vw, 780px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237,234,225,0.05);
  letter-spacing: -0.04em;
  user-select: none;
}
.contact-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 65% 55% at 85% 15%, black 0%, transparent 75%);
}

.contact-inner { position: relative; max-width: var(--container); margin: 0 auto; }
.contact-lead { max-width: 680px; margin: 0 auto 70px; text-align: center; }
.contact-lead .eyebrow { text-align: center; }
.contact-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.18; margin-bottom: 26px;
}
.contact-lede { color: var(--text-dim); font-size: 17px; line-height: 1.7; }

.contact-columns {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info-intro { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 40px; }
.contact-info-list { display: flex; flex-direction: column; gap: 4px; }
.contact-info-row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 4px;
  border-top: 1px solid var(--border);
  transition: padding-left 0.3s ease;
}
.contact-info-list a.contact-info-row:hover { padding-left: 10px; }
.contact-info-list .contact-info-row:last-child { border-bottom: 1px solid var(--border); }
.contact-info-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%;
  font-size: 14px; color: var(--gold);
  font-family: var(--font-mono);
}
.contact-info-text { display: flex; flex-direction: column; gap: 3px; }
.contact-info-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.contact-info-value { font-size: 15px; color: var(--text-dim); transition: color 0.25s ease; word-break: break-word; }
.contact-info-row:hover .contact-info-value { color: var(--blue-bright); }

/* ---- Contact form ---- */
.contact-form {
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 44px 44px 40px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.contact-form-hidden { position: absolute; left: -9999px; }
.contact-form-title { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-field label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--text);
  background: rgba(10,14,19,0.5);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 13px 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(10,14,19,0.75);
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%237C8791'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-field select option { background: var(--bg-alt); color: var(--text); }

/* Floating labels */
.form-field--float { position: relative; display: block; margin-bottom: 22px; }
.form-field--float input,
.form-field--float textarea {
  width: 100%;
  padding: 22px 14px 10px;
}
.form-field--float label {
  position: absolute;
  left: 14px; top: 17px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s ease, color 0.2s ease, top 0.2s ease;
}
.form-field--float textarea ~ label { top: 20px; }
.form-field--float input:focus ~ label,
.form-field--float input:not(:placeholder-shown) ~ label,
.form-field--float textarea:focus ~ label,
.form-field--float textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: scale(0.72);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .contact-columns { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 34px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ================= FOOTER ================= */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  padding: 76px var(--edge) 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-name { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.footer-tagline { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--blue-bright); text-transform: uppercase; margin-bottom: 18px; }
.footer-blurb { color: var(--text-muted); font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col-title {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col a {
  display: block; color: var(--text-dim); font-size: 14.5px; line-height: 2.4; transition: color 0.25s ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 26px var(--edge);
  margin: 0 calc(var(--edge) * -1);
}
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
}
.footer-credit { color: var(--text-muted); }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ================= GRAIN OVERLAY ================= */
.grain-overlay {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 168, 104, 0.35);
  background: linear-gradient(120deg, rgba(110,147,179,0.12), rgba(201,168,104,0.12));
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px -10px rgba(201, 168, 104, 0.5);
  transform: translateY(-3px);
}
@media (max-width: 700px) {
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 16px; }
}

/* ================= CARD TILT ================= */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ================= RECOMMENDATIONS ================= */
.recommendations { padding: 120px var(--edge) 130px; background: var(--bg-alt); border-top: 1px solid var(--border-soft); scroll-margin-top: 70px; }
.recommendations-header { max-width: 680px; margin: 0 auto 70px; text-align: center; }
.recommendations-header .eyebrow, .recommendations-header .story-title, .recommendations-header .story-intro { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Featured spotlight quote ---- */
.rec-featured {
  position: relative;
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 64px 70px 52px;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 104, 0.3);
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg-alt) 100%);
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.7);
}
.rec-featured-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 500px 300px at 15% 0%, rgba(201,168,104,0.16), transparent 60%),
    radial-gradient(ellipse 500px 300px at 85% 100%, rgba(110,147,179,0.16), transparent 60%);
}
.rec-featured-mark {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 6px;
}
.rec-featured-text {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.55;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 38px;
}
.rec-featured-highlight {
  color: var(--gold);
  font-weight: 500;
}
.rec-featured-attribution {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 360px;
  margin: 0 auto;
}
.rec-avatar--lg {
  width: 58px; height: 58px; font-size: 16px;
  margin-bottom: 10px;
  box-shadow: 0 0 0 4px rgba(201,168,104,0.1);
}

/* ---- Grid cards ---- */
.rec-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.rec-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: 8px;
  padding: 38px 32px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.rec-card--gold { border-top-color: var(--gold); }
.rec-card--blue { border-top-color: var(--blue); }
.rec-card--gold:hover { box-shadow: 0 24px 50px -22px rgba(201, 168, 104, 0.35); border-color: rgba(201,168,104,0.4); }
.rec-card--blue:hover { box-shadow: 0 24px 50px -22px rgba(110, 147, 179, 0.4); border-color: rgba(110,147,179,0.5); }
.rec-card:hover { background: var(--surface-2); }
.rec-quote-mark {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 2px;
  display: block;
}
.rec-card--blue .rec-quote-mark { color: var(--blue-bright); }
.rec-text {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 28px;
  flex: 1;
}
.rec-attribution {
  display: flex; align-items: center; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.rec-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(110,147,179,0.25), rgba(201,168,104,0.25));
  border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--blue-bright);
}
.rec-attribution-text { display: flex; flex-direction: column; gap: 2px; }
.rec-name { font-family: var(--font-display); font-size: 15.5px; font-weight: 500; color: var(--text); }
.rec-role { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.rec-context { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

@media (max-width: 980px) {
  .rec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .rec-featured { padding: 48px 26px 40px; }
  .rec-card { padding: 32px 26px 28px; }
}
