/* ============================================================
   Khader International — corporate site
   Dark theme · header + landscape hero · split sections
   Palette + typography per the official brand pack.
   ============================================================ */

:root {
  /* Palette */
  --bg:             #1E2632;
  --bg-deep:        #161C26;
  --bg-band:        #2C3645;     /* header + footer — a step lighter than the body */
  --bg-band-edge:   rgba(255, 255, 255, 0.06);

  --gold:           #C8A24A;
  --gold-soft:      #D6BB72;
  --gold-dim:       rgba(200, 162, 74, 0.32);
  --gold-line:      rgba(200, 162, 74, 0.18);

  --silver:         #C9CCD3;
  --silver-dim:     #9CA0AA;
  --silver-low:     #7A7E87;

  --text:           #E8E5DC;
  --text-muted:     #A8ACB5;
  --text-dim:       #6B6F78;

  --hairline:       rgba(255, 255, 255, 0.08);
  --hairline-warm:  rgba(232, 229, 220, 0.06);

  /* Type */
  --serif:         Georgia, "Times New Roman", Cambria, serif;
  --sans:          -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
  --sans-display:  Arial, Helvetica, sans-serif;

  /* Layout */
  --max-w:                1200px;
  --section-gap:           160px;
  --section-gap-mobile:     96px;
  --gutter:                 32px;
  --gutter-mobile:          20px;
  --header-h:               122px;    /* aligns with the gold rules around INTERNATIONAL in the lockup (63.3% of --brand-h) */
  --brand-h:                192px;     /* hero-size lockup straddling the header */
  --brand-gap:               4px;     /* breathing room between the gold separator segments and the brand-mark */

  /* Motion */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --dur:         320ms;
  --dur-slow:    720ms;
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

[id] { scroll-margin-top: 24px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 22px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

a:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

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

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

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

.site-header {
  position: relative;     /* sits at the top of the document; scrolls away with content (no longer locked to viewport) */
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg-band);
  box-shadow: 0 1px 0 var(--bg-band-edge) inset;
  opacity: 0;
  animation: fadeIn 600ms var(--ease-out) 200ms forwards;
}

/* Gold separator line — split into two segments with a gap around the brand-mark */
.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  top: 100%;
  height: 1px;
  background: var(--gold);
  pointer-events: none;
}
.site-header::before {
  /* Left segment: viewport edge → card left − gap */
  left: 0;
  width: calc(max(var(--gutter), (100vw - var(--max-w)) / 2 + var(--gutter)) - var(--brand-gap));
}
.site-header::after {
  /* Right segment: brand-mark right + gap → viewport edge */
  right: 0;
  left: calc(max(var(--gutter), (100vw - var(--max-w)) / 2 + var(--gutter)) + var(--brand-h) * 2.4 + var(--brand-gap));
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner { justify-content: flex-end; }   /* nav-only; pushed right */

.header-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.header-nav a {
  font-family: var(--sans-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.header-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}

.header-nav a[aria-current="page"]:hover {
  border-bottom-color: var(--gold);
}

/* Nav dropdown — Ventures opens a small panel listing the ventures */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Trigger styled to MATCH .header-nav a exactly — same metrics, same baseline */
.nav-dropdown-trigger {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 3px;            /* same as .header-nav a */
  margin: 0;
  cursor: pointer;
  font-family: var(--sans-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  line-height: inherit;        /* matches the anchor's inherited line-height */
  -webkit-user-select: none;
  user-select: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* No outline shift when focused; use box-shadow ring instead so layout doesn't move */
.nav-dropdown-trigger:focus { outline: none; }
.nav-dropdown-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
  border-radius: 1px;
}

/* Menu panel — translucent accent-blue glass with a full gold border */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(74, 94, 133, 0.18);          /* H2H accent blue at 18% — transparent tint */
  backdrop-filter: blur(10px) saturate(140%);   /* frosted-glass effect */
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 0;
  min-width: 300px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease),
    visibility 0s 220ms;
  z-index: 200;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s, 0s, 0s;
}

/* KG mark widget — vertical gold line + K monogram + label, all on one row */
.kg-mark {
  display: inline-flex;
  align-items: stretch;            /* line stretches to match monogram's height */
  gap: 6px;
  padding: 12px 16px;
  border-bottom: none;
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}

.kg-mark:hover,
.kg-mark:focus-visible {
  border-bottom: none;
  background: rgba(200, 162, 74, 0.06);
  outline: none;
}

.kg-mark-line {
  display: block;
  width: 1px;
  background: var(--gold);
  flex-shrink: 0;
  /* no explicit height — align-items: stretch fills the cross axis */
}

.kg-mark-mono {
  display: block;
  height: 16px;
  width: auto;
  flex-shrink: 0;
}

.kg-mark-text {
  align-self: center;             /* vertically center the text against the K's middle */
  margin-left: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--silver);
  transition: color var(--dur) var(--ease);
}

.kg-mark:hover .kg-mark-text,
.kg-mark:focus-visible .kg-mark-text {
  color: var(--gold-soft);
}

/* Item — editorial title + italic tagline, gold left-border activator on hover */
.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 28px;
  border-bottom: none;
  border-left: 2px solid transparent;
  white-space: nowrap;
  transition:
    background    var(--dur) var(--ease),
    border-color  var(--dur) var(--ease);
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: rgba(200, 162, 74, 0.045);
  border-left-color: var(--gold);
  border-bottom: none;
  outline: none;
}

.dropdown-item-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.dropdown-item:hover .dropdown-item-title,
.dropdown-item:focus-visible .dropdown-item-title {
  color: var(--gold-soft);
}

.dropdown-item-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--silver-dim);
}

/* ------------------------------------------------------------
   Brand mark — straddles the header / body boundary
   ------------------------------------------------------------ */

.brand-mark-rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;        /* above the header band */
  pointer-events: none;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand-mark {
  display: inline-block;
  pointer-events: auto;
  border-bottom: none;
  padding: 0;
  transition: opacity var(--dur) var(--ease);
  opacity: 0;
  animation: fadeIn 700ms var(--ease-out) 300ms forwards;
}

.brand-mark:hover {
  border-bottom: none;
  opacity: 0.88;
}

.brand-mark-logo {
  height: var(--brand-h);
  width: auto;
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ------------------------------------------------------------
   Hero — landscape grid
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 48px var(--gutter) 96px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200, 162, 74, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(200, 162, 74, 0.04) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 60%);
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.hero-content {
  grid-column: 2;             /* sits in the right half; brand-mark occupies left half visually */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px 0;
  opacity: 0;
  transform: translateX(16px);
  animation: heroEnterRight 900ms var(--ease-out) 450ms forwards;
}

.hero-eyebrow {
  font-family: var(--sans-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--text);
  margin: 0 0 28px;
}

.hero-lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  max-width: 500px;
}

@keyframes heroEnterRight {
  to { opacity: 1; transform: translateX(0); }
}

/* ------------------------------------------------------------
   Sections — landscape split grid
   ------------------------------------------------------------ */

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 96px;
  align-items: start;
}

.section-meta { min-width: 0; }
.section-content { min-width: 0; }

.eyebrow {
  font-family: var(--sans-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
  padding-left: 18px;
  position: relative;
}

.eyebrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1em;          /* small vertical accent matching the text's font-size */
  background: var(--gold);
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform 900ms var(--ease-out) 200ms;
}

/* Eyebrow variant: monogram replaces the "Khader" word; tick + monogram + text bottom-aligned */
.eyebrow--mono {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  /* preserves padding-left: 18px from .eyebrow for the tick */
}

.eyebrow--mono::before {
  /* tick anchored to the bottom, full K height — nudged down so its top lines up with K's top */
  top: auto;
  bottom: -10px;
  height: 1.8em;
  transform: scaleY(0);
  transform-origin: bottom;
}

.reveal.is-visible .eyebrow--mono::before {
  transform: scaleY(1);
}

.eyebrow-mono {
  height: 1.8em;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.eyebrow-mono-text {
  display: block;
  line-height: 1;          /* tight box so its bottom = baseline of the letters */
}

.section h2,
.section .section-h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

/* First section of a subpage (no hero above it) — clears the brand-mark's overhang past the header */
.section--head {
  padding-top: calc(var(--brand-h) - var(--header-h) + 32px);
}

/* Vision & Mission — two declarative statements side by side */
.vision-mission {
  max-width: none;
  padding-left: clamp(32px, 4vw, 96px);
  padding-right: clamp(32px, 4vw, 96px);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 6vw, 120px);
  max-width: 1120px;
  margin: 0 auto;
}

.vm-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.vm-statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.002em;
  color: var(--text);
  margin: 0;
}

/* Contact page — intro + form, single centered column */
.contact-head {
  padding-bottom: 0;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-intro {
  margin-bottom: 56px;
}

.contact-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--silver-dim);
  margin: 28px 0 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-family: var(--sans-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.contact-input,
.contact-textarea {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--text-dim);
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(200, 162, 74, 0.025);
}

.contact-textarea {
  resize: vertical;
  min-height: 160px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 14px 36px;
  font-family: var(--sans-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    color      var(--dur) var(--ease);
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--gold);
  color: var(--bg);
  outline: none;
}

.contact-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 16px 0 0;
}

.contact-note a {
  color: var(--silver-dim);
  border-bottom-color: var(--gold-dim);
}

.contact-note a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* About page header section — break out of max-width so the meta column is wide enough for a one-line title */
.about-head {
  max-width: none;
  padding-left: clamp(32px, 4vw, 96px);
  padding-right: clamp(32px, 4vw, 96px);
}

.about-head .section-grid {
  max-width: none;
  margin: 0;
}

.about-head .section-h1 {
  white-space: nowrap;
}

/* Empty horizontal banner placeholder card (sits between header and hero) */
.banner-card-section {
  max-width: none;             /* break out of the regular content max-width */
  padding-left: clamp(16px, 2vw, 28px);
  padding-right: clamp(16px, 2vw, 28px);
  padding-bottom: 0;
}

.banner-card {
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 300px;
  background: linear-gradient(135deg, #242C3A 0%, #161C26 100%);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;            /* text + visual centered together, gap unchanged */
  gap: clamp(220px, 24vw, 460px);
  padding: 40px clamp(28px, 4vw, 64px);
  overflow: hidden;
}

.banner-text {
  flex: 1 1 auto;
  max-width: 520px;
}

.banner-text .h2h-lead {
  max-width: 100%;
  margin-top: 24px;
}

/* Visual block (logo above thesis), sits in the right-middle area of the card */
.banner-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: clamp(320px, 32vw, 440px);
}

.banner-visual .venture-page-visual {
  display: block;
  margin: 0;
  padding: 0;
  width: clamp(140px, 14vw, 210px);
  transform: translate(-12px, -8px);   /* nudge logo slightly up and left; paragraph stays put */
}

.banner-visual .venture-page-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}

.banner-visual .h2h-thesis {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text);
  text-align: left;
  margin: 16px 0 0;
  max-width: 100%;
}

.banner-visual .h2h-thesis + .h2h-thesis {
  margin-top: 12px;
}

.banner-visual .h2h-thesis--accent {
  color: var(--silver);
  font-style: italic;
  font-weight: 700;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gold);
}

/* Hero immediately after the banner card — smaller top spacing than a normal section gap */
.banner-card-section + .h2h-hero {
  padding-top: 96px;
}

/* Venture detail page — feature visual + external link */
.venture-page-visual {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.venture-page-img {
  width: clamp(260px, 42vw, 440px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 36px rgba(0, 0, 0, 0.55));
}

/* H2H hero — single column: logo + thesis, right-aligned blocks */
.h2h-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.h2h-hero .venture-page-visual {
  display: block;
  margin: 0 0 0 auto;
  padding: 0;
  width: clamp(260px, 38vw, 440px);
}

.h2h-hero .venture-page-img {
  display: block;
  width: 100%;
  margin: 0;
}

.h2h-hero .h2h-thesis {
  display: block;
  margin: 32px 0 0 auto;
  max-width: 540px;
  text-align: left;
}

.h2h-hero .h2h-thesis + .h2h-thesis { margin-top: 18px; }

/* H2H hero — subheadline under the headline */
.h2h-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--silver);
  margin: 28px 0 0;
  max-width: 480px;
}

/* Thesis paragraphs — sit below the figure-icon in the right column of the hero */
.h2h-thesis {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--text);
  margin: 44px 0 0;
  max-width: 560px;
}

.h2h-thesis + .h2h-thesis { margin-top: 20px; }

.h2h-thesis--accent {
  font-style: italic;
  color: var(--silver);
}

/* Essay sections — centered editorial paragraphs (thesis, who-it's-for, vision) */
.essay-inner {
  max-width: 720px;
  margin: 0 auto;
}

.essay-lede {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 28px;
}

.essay-lede:last-child { margin-bottom: 0; }

.essay-lede--accent {
  color: var(--silver);
  font-style: italic;
}

.essay-para {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 26px;
}

.essay-para:last-child { margin-bottom: 0; }

.essay-coda {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--silver);
  margin: 36px 0 0;
}

.essay-large {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 24px;
}

.essay-vision-coda {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--silver);
  margin: 52px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

/* H2H proximity radar — visual recreation of the app's main radar screen */
.h2h-radar-section {
  padding-top: 96px;
  padding-bottom: 0;
}

/* Radar composition — radar centered with pillars stacked vertically on each side */
.h2h-radar-section {
  max-width: none;
  padding-left: clamp(32px, 4vw, 96px);
  padding-right: clamp(32px, 4vw, 96px);
}

.h2h-radar-composition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;     /* recentered — pillars use a fixed gap instead of stretching to radar height */
  max-width: none;
  margin: 0 auto;
}

/* L-shaped pointer lines from each pillar toward the radar — symmetrical, four corners */
.radar-pillar-pointers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.radar-pillar-pointers polyline {
  stroke: rgba(200, 162, 74, 0.55);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.pointer-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.pointer-dot-tl { top: 28%; left: 33%; }
.pointer-dot-bl { top: 72%; left: 33%; }
.pointer-dot-tr { top: 28%; left: 67%; }
.pointer-dot-br { top: 72%; left: 67%; }

/* Pillars and radar render above the pointers */
.radar-pillars,
.h2h-radar-card {
  position: relative;
  z-index: 2;
}

.h2h-radar-composition .pillar-title {
  white-space: nowrap;
}

.radar-pillars {
  display: flex;
  flex-direction: column;
  gap: 180px;
}

.radar-pillars-left  .pillar { text-align: left; }
.radar-pillars-right .pillar { text-align: left; }

.h2h-radar-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 0;
}

.radar-stage {
  position: relative;
  width: clamp(300px, 36vw, 480px);
  aspect-ratio: 1;
  display: block;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(74, 94, 133, 0.30);
}

.radar-ring-1 { width: 100%; height: 100%; border-color: rgba(74, 94, 133, 0.18); }
.radar-ring-2 { width: 75%;  height: 75%; }
.radar-ring-3 { width: 50%;  height: 50%; }
.radar-ring-4 { width: 25%;  height: 25%; }

.radar-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25%;
  height: 25%;
  border: 2px solid #4A5E85;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: radarPulse 6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

.radar-pulse-d2 { animation-delay: 2s; }
.radar-pulse-d3 { animation-delay: 4s; }

@keyframes radarPulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(4);   opacity: 0; }
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: var(--bg);                /* matches the page background */
  border: 3px solid #4A5E85;            /* H2H blue ring — thicker */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(74, 94, 133, 0.4), 0 0 0 4px rgba(74, 94, 133, 0.1);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  padding-left: 0.14em;                 /* compensates trailing letter-spacing so YOU is optically centered */
  line-height: 1;
}

.radar-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #4A5E85;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(74, 94, 133, 0.55);
  animation: dotIdle 4.4s ease-in-out infinite;
}

.radar-dot-1 { top: 22%;  left: 32%; animation-delay: 0s;   }
.radar-dot-2 { top: 38%;  left: 70%; animation-delay: 0.6s; }
.radar-dot-3 { top: 64%;  left: 24%; animation-delay: 1.2s; }
.radar-dot-4 { top: 72%;  left: 66%; animation-delay: 1.8s; }
.radar-dot-5 { top: 30%;  left: 52%; animation-delay: 2.4s; background: #FFA726; box-shadow: 0 0 12px rgba(255, 167, 38, 0.5); }
.radar-dot-6 { top: 50%;  left: 10%; animation-delay: 3.0s; background: #FFA726; box-shadow: 0 0 12px rgba(255, 167, 38, 0.5); }
.radar-dot-7 { top: 82%;  left: 42%; animation-delay: 3.6s; background: #FFA726; box-shadow: 0 0 12px rgba(255, 167, 38, 0.5); }

@keyframes dotIdle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .radar-pulse, .radar-dot { animation: none; }
}

/* Three primitives — grid of three text columns, spread across the full viewport width */
.h2h-primitives {
  max-width: none;
  padding-top: 64px;
  padding-left: clamp(32px, 4vw, 96px);
  padding-right: clamp(32px, 4vw, 96px);
}

.primitives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 120px);
  max-width: none;
  margin: 0 auto;
}

.primitive {
  display: flex;
  flex-direction: column;
}

.primitives-grid .primitive-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 36px;
}

.primitive-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.primitive-body em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--silver);
}

/* Chrome emphasis — used to elevate a key sentence within body copy */
.emph-chrome {
  font-weight: inherit;
  color: var(--silver);
}

/* Four pillars — 2x2 grid of short statements */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 64px;
  max-width: 880px;
  margin: 0 auto;
}

.pillar {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 12px;
}

.pillar-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Three credo cards — editorial vision statements paired to their primitives */
.h2h-credos {
  max-width: none;
  padding-top: 96px;
  padding-left: clamp(32px, 4vw, 96px);
  padding-right: clamp(32px, 4vw, 96px);
}

.credos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 4.5vw, 80px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.credo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 36px 36px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.012);
  transition:
    border-color var(--dur) var(--ease),
    background    var(--dur) var(--ease),
    transform     var(--dur) var(--ease);
}

.credo:hover {
  border-color: var(--gold-line);
  background: rgba(200, 162, 74, 0.035);
  transform: translateY(-2px);
}

.credo-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--silver-dim);
}

.credo-statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.credo-tag {
  font-family: var(--sans-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 14px;
  position: relative;
  align-self: flex-start;
}

.credo-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1em;
  background: var(--gold);
  transform: translateY(-50%);
}

/* CTA section — availability + external link */
.cta-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.cta-availability {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--silver);
  margin: 0 0 36px;
}

.cta-link-wrap {
  margin: 0;
  display: flex;
  justify-content: center;
}

.venture-external {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.venture-external-link {
  font-family: var(--sans-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: none;
  padding: 0 0 0 18px;
  position: relative;
}

.venture-external-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1em;
  background: var(--gold);
  transform: translateY(-50%);
}

.venture-external-link:hover {
  color: var(--gold-soft);
  border-bottom: none;
}

.venture-external-link:hover::before { background: var(--gold-soft); }

.section-content p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.78;
}

.section-content > p:first-child { margin-top: 0; }

/* ------------------------------------------------------------
   Venture card
   ------------------------------------------------------------ */

.venture-card {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  position: relative;
}

.venture-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.venture-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
}

.venture-meta {
  font-family: var(--sans-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-low);
  margin: 0;
  white-space: nowrap;
}

.venture-desc {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-muted);
  margin: 0 0 26px;
}

.venture-link {
  display: inline-block;
  font-family: var(--sans-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 3px;
}

.venture-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.venture-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform var(--dur) var(--ease);
}

.venture-link:hover span { transform: translateX(5px); }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact-email {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  border-bottom-color: var(--gold);
}

.contact-email:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-soft);
}

.contact-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

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

footer {
  margin-top: var(--section-gap);
  padding: 96px var(--gutter) 56px;
  text-align: center;
  position: relative;
  background: var(--bg-band);
  border-top: 1px solid var(--gold);
  box-shadow: 0 1px 0 var(--bg-band-edge) inset;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* 3-column footer — location / brand / contact */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col--center {
  align-items: center;
  text-align: center;
}

.footer-col--right {
  text-align: left;             /* keep readable; column position carries the visual asymmetry */
  padding-left: 112px;          /* shift contact block rightward within its column */
}

.footer-detail {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  margin: 0;
  padding-left: 18px;          /* matches the eyebrow's padding-left so eyebrow text + body align */
}

.footer-link {
  color: var(--silver);
  border-bottom: 1px solid var(--gold-dim);
  font-style: normal;
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-logo {
  width: 320px;
  max-width: 72%;
  height: auto;
  margin: 0 auto 14px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.footer-place {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin: 0 0 48px;
}

.footer-legal {
  font-family: var(--sans-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}

/* ------------------------------------------------------------
   Reveal animations
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

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

.reveal.is-visible .eyebrow::before { transform: translateY(-50%) scaleY(1); }

/* ------------------------------------------------------------
   Ventures rail — horizontal scroll-snap product cards
   ------------------------------------------------------------ */

.ventures-rail {
  padding: calc(var(--brand-h) - var(--header-h) + 48px) 0 96px;
  width: 100%;
  overflow: hidden;
}

.ventures-scroller {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px var(--gutter) 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}

.ventures-scroller::-webkit-scrollbar { height: 4px; }
.ventures-scroller::-webkit-scrollbar-track { background: transparent; }
.ventures-scroller::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }
.ventures-scroller::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.ventures-scroller:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.venture-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: clamp(320px, 60vw, 640px);
}

.venture-link {
  display: block;
  border: none;
  color: inherit;
  padding: 0;
}

.venture-link:hover { border: none; }

.venture-card {
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  transition:
    border-color var(--dur) var(--ease),
    transform    var(--dur) var(--ease),
    box-shadow   var(--dur) var(--ease);
}

.venture-link:hover .venture-card {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

/* Each venture lights up in its own accent on hover */
.venture-link:hover .venture-card--h2h  { border-color: var(--gold); }
.venture-link:hover .venture-card--echo { border-color: #FFA726; }

/* H2H Protocol card — typographic + faint radar arcs */

.venture-card--h2h {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(200, 162, 74, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(200, 162, 74, 0.06) 0%, transparent 50%),
    linear-gradient(140deg, #1F2734 0%, #131A24 100%);
}

.venture-card--h2h::after {
  /* Three concentric arcs — evokes the proximity radar without being literal */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  margin-left: -360px;
  margin-top: -360px;
  background:
    radial-gradient(circle, transparent 218px, rgba(200, 162, 74, 0.06) 219px, rgba(200, 162, 74, 0.06) 220px, transparent 221px),
    radial-gradient(circle, transparent 278px, rgba(200, 162, 74, 0.045) 279px, rgba(200, 162, 74, 0.045) 280px, transparent 281px),
    radial-gradient(circle, transparent 338px, rgba(200, 162, 74, 0.03) 339px, rgba(200, 162, 74, 0.03) 340px, transparent 341px);
  pointer-events: none;
  z-index: 1;
}

.venture-status {
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: var(--sans-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
  padding-left: 18px;
}

.venture-status::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1em;
  background: var(--gold);
  transform: translateY(-50%);
}

.venture-typeset {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 32px;
}

.venture-mark-img {
  width: clamp(180px, 34vw, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.venture-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 19px);
  color: var(--silver-dim);
  margin-top: 14px;
}

/* Echo Apps card — dark navy with orange accents (matches H2H card system, venture-specific accent) */

.venture-card--echo {
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(255, 167, 38, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 167, 38, 0.08) 0%, transparent 50%),
    linear-gradient(140deg, #1F2734 0%, #131A24 100%);
}

.venture-mark-img--echo {
  width: clamp(220px, 50vw, 460px);
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

/* Echo's status badge uses the venture's orange accent instead of gold */
.venture-status--echo { color: #FFA726; }
.venture-status--echo::before { background: #FFA726; }

/* Title under each card */

.venture-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--silver);   /* chrome register — matches the KHADER wordmark, lets the card stay the focal point */
  margin: 22px 0 0;
}

.venture-item--coming .venture-name {
  color: var(--text-dim);
  font-style: italic;
  font-weight: 500;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-headline { font-size: 38px; }
  .hero-content {
    grid-column: 1;
    align-items: center;
    text-align: center;
    padding-top: calc(var(--brand-h) - var(--header-h));   /* clear the brand-mark's overflow into hero */
  }
  .hero-lead { max-width: 540px; }
}

@media (max-width: 880px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .primitives-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .essay-inner {
    padding: 0 0;
  }
  .h2h-lead { max-width: 100%; }
  .banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px clamp(20px, 4vw, 40px);
    aspect-ratio: auto;
    gap: 32px;
  }
  .banner-text { max-width: 100%; }
  .banner-visual { width: 100%; max-width: 320px; margin: 0 auto; }
  .h2h-radar-composition {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
  }
  .credos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .credo { padding: 32px 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    justify-items: center;
  }
  .footer-col,
  .footer-col--right { text-align: center; align-items: center; }
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .h2h-radar-composition .pillar-title { white-space: normal; }
  .radar-pillars { gap: 36px; }
  .radar-pillars-left  .pillar,
  .radar-pillars-right .pillar { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  :root { --header-h: 102px; --brand-h: 160px; --brand-gap: 3px; }   /* 63.3% of brand-h */

  .header-nav { gap: 22px; }
  .header-nav a { font-size: 12px; letter-spacing: 0.16em; }

  .hero {
    padding: calc(var(--header-h) + 32px) var(--gutter-mobile) 80px;
    min-height: 92vh;
  }
  .hero-grid { gap: 40px; }
  .hero-headline { font-size: 30px; }
  .hero-lead { font-size: 16px; }

  .section { padding: var(--section-gap-mobile) var(--gutter-mobile) 0; }
  .section h2 { font-size: 26px; }
  .section-content p { font-size: 16px; }

  .ventures-scroller { gap: 20px; padding: 8px var(--gutter-mobile) 24px; }
  .venture-item { width: clamp(260px, 78vw, 480px); }
  .venture-status { top: 20px; left: 20px; font-size: 9px; letter-spacing: 0.2em; }
  .venture-name { font-size: 18px; margin-top: 18px; }

  .venture-card { padding: 28px 24px; }
  .venture-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .venture-name { font-size: 22px; }
  .venture-desc { font-size: 15px; }

  .contact-email { font-size: 18px; word-break: break-all; }

  footer {
    padding: 64px var(--gutter-mobile) 32px;
    margin-top: var(--section-gap-mobile);
  }
  .footer-logo { width: 260px; margin-bottom: 28px; }
  .footer-place { margin-bottom: 40px; font-size: 14px; }
}

@media (max-width: 480px) {
  :root { --header-h: 76px; --brand-h: 120px; --brand-gap: 2px; }   /* 63.3% of brand-h */
  .hero-headline { font-size: 26px; }
  .section h2 { font-size: 24px; }
  .footer-logo { width: 200px; }
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal .eyebrow::before { transform: translateY(-50%) scaleY(1); }
  .hero-content, .site-header, .brand-mark { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Print
   ------------------------------------------------------------ */

@media print {
  html, body { background: #fff; color: #000; }
  .site-header { position: static; background: none; border-bottom-color: #000; }
  .header-nav a { color: #000; }
  .hero { min-height: auto; padding: 32px 0; background: none; }
  .hero-grid, .section-grid { display: block; }
  .hero-content { padding: 16px 0; align-items: flex-start; text-align: left; }
  .section-meta { margin-bottom: 16px; }
  .eyebrow, .hero-eyebrow { color: #B8923B; }
  .hero-headline, .hero-lead, .section h2, .section-content p,
  .footer-place, .footer-legal,
  .contact-email, .venture-name, .venture-desc { color: #000; }
  footer { background: none; border-top-color: #000; margin-top: 48px; }
  a { color: #000; border-bottom-color: #000; }
}
