/* ==========================================================================
   Passion Venture Capital — design tokens & base system
   ========================================================================== */

:root {
  /* Color: bright ivory-paper ground, deep charcoal-jade ink, emerald
     accent. Jade nods to the fund's China/Asia growth-bridge story;
     --accent-bright is reserved for use on the hero's own dark night-photo
     backdrop (a deliberate dark "island" within an otherwise bright site)
     and for decorative, non-text glows — it's too light-on-light to use
     as text on the paper background. --accent is the workhorse for text,
     borders, and icons on light surfaces. */
  --bg: #f7f7f1;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-hover: #eeece2;
  --border: rgba(18, 36, 28, 0.1);
  --border-strong: rgba(18, 36, 28, 0.2);
  --text-primary: #13241c;
  --text-secondary: #47584e;
  --text-tertiary: #798a80;
  --gold: #128049;
  --gold-bright: #3ddc84;
  --gold-deep: #0b5c33;
  --gold-wash: rgba(18, 128, 73, 0.08);

  --font-display: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 144px;

  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-slow: 600ms;
}

@media (prefers-color-scheme: light) {
  :root {
    /* Site is intentionally a single, deliberate dark theme (matches PVC's
       existing brand) rather than adapting to system light mode. */
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #f7f7f1;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-6); }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 46ch;
}

p {
  color: var(--text-secondary);
}

.text-primary { color: var(--text-primary); }
.text-gold { color: var(--gold); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-fg: #0b0a06;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  min-height: 48px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  background-clip: border-box;
  color: var(--btn-fg);
  border: none;
  box-shadow: 0 4px 14px rgba(14, 122, 86, 0.22);
}

.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(14, 122, 86, 0.32);
  transform: translateY(-1px);
}

/* Conference recap pages: match the "Get Funded" button from the homepage
   (index.html), which uses styles.css's solid forest green instead of this
   page family's brighter gold-green gradient. */
.btn-forest {
  background: #1f3d2b;
  color: #fdfbf5;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(31, 61, 43, 0.55);
}

.btn-forest:hover {
  background: #2c4a34;
  box-shadow: 0 12px 26px -8px rgba(31, 61, 43, 0.6);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Ghost buttons over the hero's dark photo need light text/borders by
   default (the base .btn-ghost uses the now-dark page text/border tokens),
   and the brighter, dark-bg-safe accent on hover instead of the base tone
   used everywhere else. */
.hero .btn-ghost {
  color: #f4f1e8;
  border-color: rgba(244, 241, 232, 0.3);
}

.hero .btn-ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-arrow {
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
  /* Always a light, legible bar — including at the very top of the
     homepage, where it floats over the hero's dark photo — rather than
     only gaining a background once scrolled. */
  background: rgba(247, 247, 241, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(247, 247, 241, 0.93);
  padding: 14px 0;
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand img {
  height: 30px;
  width: auto;
}

.brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  /* Literal gold, matching the logo mark itself — not var(--gold), which
     is the site's green accent token. */
  color: #8c6d2e;
  margin-top: 1px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* The header's own "Get Funded" button is redundant with the one inside
   the mobile drawer, and competing with it for space is what forces the
   brand lockup to wrap across several lines on narrow screens. */
.header-actions > .btn-gold {
  display: none;
}

@media (min-width: 980px) {
  .header-actions > .btn-gold {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
  margin-inline: auto;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.mobile-nav a {
  font-size: 28px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.mobile-nav .btn { align-self: flex-start; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 128px 0 var(--space-7);
  overflow: hidden;
  /* The hero stays a deliberate dark, cinematic moment — a fixed island —
     even though the rest of the site is now a bright ivory theme. Every
     hero text color below is hardcoded to this dark backdrop rather than
     the (now light) page tokens. */
  background: #0a0a08;
  color: #f4f1e8;
}

@media (min-width: 768px) {
  .hero {
    padding: 168px 0 var(--space-8);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, #0a0a08 0%, rgba(7, 6, 5, 0.86) 26%, rgba(7, 6, 5, 0.5) 56%, rgba(7, 6, 5, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 6, 5, 0.25) 0%, rgba(7, 6, 5, 0.15) 45%, #0a0a08 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-top: var(--space-4);
  max-width: 16ch;
  color: #f4f1e8;
}

.hero .eyebrow,
.hero .eyebrow::before {
  color: var(--gold-bright);
}

.hero .eyebrow::before {
  background: var(--gold-bright);
}

/* Bright-to-deep works on the hero's dark photo backdrop. On light page
   backgrounds the bright end would wash out, so .gradient-gold (used
   outside the hero) runs base-to-deep instead — both ends stay legible
   against a pale ground. Each rule sets `background` *before*
   `background-clip`, since the `background` shorthand resets clip to its
   initial value if declared afterward. */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-gold {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: var(--space-5);
  max-width: 44ch;
  color: rgba(244, 241, 232, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(244, 241, 232, 0.16);
}

.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #f4f1e8;
}

.hero-meta div span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.55);
}

/* --------------------------------------------------------------------------
   Section rhythm
   -------------------------------------------------------------------------- */

.section {
  padding: var(--space-8) 0;
  position: relative;
}

.section-tight { padding: var(--space-7) 0; }

.section-divider {
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-7);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 { margin-top: var(--space-3); }
.section-head p { margin-top: var(--space-4); }

.section-tag {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   About statement (Tresmares-style large centered statement)
   -------------------------------------------------------------------------- */

.statement {
  text-align: center;
  padding: var(--space-8) 0;
}

.statement .eyebrow {
  justify-content: center;
}

.statement .eyebrow::before { display: none; }

.statement h2 {
  max-width: 20ch;
  margin: var(--space-4) auto 0;
}

.statement p {
  max-width: 62ch;
  margin: var(--space-5) auto 0;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Stats grid
   -------------------------------------------------------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
}

.stat {
  background: var(--bg-elevated);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Pillars (4-card strategy grid, echoes Tresmares financial-solutions cards)
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: var(--bg-elevated);
  transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}

.pillar:hover {
  border-color: var(--border-strong);
  background: var(--surface);
  transform: translateY(-3px);
}

.pillar .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.pillar h3 { margin-top: var(--space-4); }
.pillar p { margin-top: var(--space-3); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Focus areas
   -------------------------------------------------------------------------- */

.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .focus-grid { grid-template-columns: repeat(3, 1fr); }
}

.focus-card {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: radial-gradient(120% 120% at 0% 0%, var(--gold-wash), transparent 55%), var(--bg-elevated);
  overflow: hidden;
  transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.focus-card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-3px);
}

.focus-card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.focus-card .icon svg { width: 20px; height: 20px; }

.focus-card h3 { font-size: 1.15rem; }
.focus-card p { margin-top: var(--space-2); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .step { grid-template-columns: 90px 1fr 1fr; align-items: start; }
}

.step .num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.step h3 { font-size: 1.2rem; }
.step p { margin-top: var(--space-2); }

/* --------------------------------------------------------------------------
   Locations
   -------------------------------------------------------------------------- */

.locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 860px) {
  .locations { grid-template-columns: repeat(3, 1fr); }
}

.location-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: var(--bg-elevated);
}

.location-card .tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.location-card h3 { margin-top: var(--space-3); }
.location-card p { margin-top: var(--space-3); font-size: 14.5px; }

.map-panel {
  display: flex;
  justify-content: center;
  margin: var(--space-6) 0;
}

.dot-map {
  position: relative;
  width: 100%;
  max-width: 640px;
}

.dot-map-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 42%, #000 25%, transparent 82%);
  mask-image: radial-gradient(ellipse 60% 62% at 50% 42%, #000 25%, transparent 82%);
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  padding: 0;
}

.map-pin-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.map-pin-dot::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid var(--gold-bright);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.map-pin:hover .map-pin-dot,
.map-pin:focus-visible .map-pin-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(201, 162, 75, 0.28);
}

.map-pin:hover .map-pin-dot::before,
.map-pin:focus-visible .map-pin-dot::before {
  opacity: 1;
  transform: scale(1);
  animation: pin-pulse 1.6s var(--ease-out) infinite;
}

@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin-dot::before { animation: none !important; }
}

.map-pin-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 150px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  z-index: 2;
}

.map-pin-tooltip strong {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
}

.map-pin:hover .map-pin-tooltip,
.map-pin:focus-visible .map-pin-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 700px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .team-grid.leads { grid-template-columns: repeat(3, 1fr); }
}

.team-card figure {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-slow) var(--ease-out);
}

.team-card:hover img { transform: scale(1.04); }

.team-card h3 {
  margin-top: var(--space-3);
  font-size: 1.05rem;
}

.team-card .role {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 600;
}

.team-card .bio {
  margin-top: var(--space-3);
  font-size: 13.5px;
  line-height: 1.6;
}

.team-card .bio li {
  position: relative;
  padding-left: 14px;
  margin-top: 6px;
}

.team-card .bio li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 1px;
  background: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   Portfolio marquee
   -------------------------------------------------------------------------- */

.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: max-content;
  animation: marquee 32s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .testimonial-rail { animation: none; }
}

.marquee-track img {
  height: 64px;
  width: auto;
  filter: grayscale(1) brightness(1.8) contrast(0.9);
  opacity: 0.72;
  transition: opacity var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}

@media (min-width: 768px) {
  .marquee-track img { height: 80px; }
}

.marquee-track img:hover {
  opacity: 1;
  filter: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Portfolio grid
   -------------------------------------------------------------------------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

.portfolio-card {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--bg-elevated);
  transition: border-color var(--dur-med) var(--ease-out);
}

.portfolio-card:hover { border-color: var(--border-strong); }

.portfolio-card figure {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.portfolio-card img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-card h3 { font-size: 1.05rem; }
.portfolio-card p { margin-top: 6px; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonial-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.testimonial-rail {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  padding-bottom: var(--space-3);
  animation: testimonial-scroll 42s linear infinite;
}

.testimonial-viewport:hover .testimonial-rail { animation-play-state: paused; }

@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 min(420px, 86vw);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: var(--bg-elevated);
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold-deep);
  line-height: 1;
}

.testimonial-card p.quote {
  margin-top: var(--space-3);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
}

.testimonial-card .attribution {
  margin-top: var(--space-4);
  font-size: 13px;
}

.testimonial-card .attribution strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.testimonial-card .attribution span {
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 860px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  min-height: 220px;
  background: var(--bg-elevated);
  transition: border-color var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.news-card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-3px);
}

.news-card .tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.news-card h3 {
  margin-top: var(--space-3);
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-card .read-more {
  margin-top: var(--space-4);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */

.cta-banner {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  background: radial-gradient(80% 140% at 50% 0%, var(--gold-wash), transparent 60%), var(--bg-elevated);
}

.cta-banner h2 { max-width: 18ch; margin-inline: auto; }
.cta-banner p { margin: var(--space-4) auto 0; max-width: 50ch; }
.cta-banner .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 700px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

.field input,
.field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--surface);
  outline: none;
}

.field .hint {
  font-size: 12px;
  color: var(--text-tertiary);
}

.form-note {
  font-size: 13px;
  color: var(--text-tertiary);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

@media (min-width: 640px) {
  .checklist { grid-template-columns: 1fr 1fr; }
}

.checklist li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* Long-form legal sub-lists (Privacy/Terms) — same dash-bullet as
   .checklist, but single-column since these items run long. */
.legal-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.legal-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-5);
}

.footer-statement {
  max-width: 18ch;
  margin-bottom: var(--space-7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.footer-bottom a { color: var(--text-tertiary); }
.footer-bottom a:hover { color: var(--gold); }

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll utility
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Page hero (secondary pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 156px 0 var(--space-7);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: var(--space-4); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.breadcrumb a:hover { color: var(--gold); }

/* Timeline (Our Journey) ---------------------------------------------------- */

.timeline {
  position: relative;
  border-left: 1px solid var(--border);
  margin-left: 8px;
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) - 5px);
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-item .year {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.timeline-item h3 { margin-top: var(--space-2); }
.timeline-item p { margin-top: var(--space-2); max-width: 62ch; }

/* Utility --------------------------------------------------------------- */

.mt-8 { margin-top: var(--space-8); }
.mt-7 { margin-top: var(--space-7); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Cookie & Privacy Consent Banner */
.pvc-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 720px;
  background-color: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(12px);
  color: #f5f5f4;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pvc-cookie-content {
  flex: 1 1 300px;
}

.pvc-cookie-content p {
  margin: 0;
  color: #e7e5e4;
  font-size: 13.5px;
}

.pvc-cookie-content a {
  color: #facc15;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pvc-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.pvc-cookie-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pvc-cookie-btn-decline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #475569;
}

.pvc-cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pvc-cookie-btn-accept {
  background: #ca8a04;
  color: #ffffff;
  border: none;
  font-weight: 600;
}

.pvc-cookie-btn-accept:hover {
  background: #a16207;
}

@media (max-width: 640px) {
  .pvc-cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px 18px;
  }
  .pvc-cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
