@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f6f2eb;
  --surface: #fffcf7;
  --surface-strong: #ffffff;
  --ink: #18212f;
  --muted: #5f6c7c;
  --line: rgba(24, 33, 47, 0.12);
  --line-strong: rgba(24, 33, 47, 0.28);
  --brand: #203a5b;
  --brand-soft: #dfe7f4;
  --accent: #b78c4d;
  --accent-soft: #f2e5cf;
  --success: #0d684d;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 60px rgba(18, 29, 43, 0.08);
  --shadow-md: 0 8px 28px rgba(18, 29, 43, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf8f3 0%, #f4efe6 100%);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

/* ─── Accessibility ─────────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

  .faq-content {
    transition: none !important;
  }

  .button {
    transition: none !important;
  }
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section-tight {
  padding: 2.5rem 0;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-title,
.display,
h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.display {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  max-width: 12ch;
}

.page-title,
h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 30px rgba(32, 58, 91, 0.24);
}

.button-primary:hover {
  background: #2d4f7a;
  box-shadow: 0 18px 44px rgba(32, 58, 91, 0.34);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.button-ghost {
  padding-inline: 0;
  color: var(--brand);
}

.button-ghost:hover {
  color: var(--accent);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 243, 0.82);
  border-bottom: 1px solid rgba(24, 33, 47, 0.06);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.97);
  box-shadow: 0 2px 20px rgba(18, 29, 43, 0.08);
  border-bottom-color: rgba(24, 33, 47, 0.1);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), #3a5f8f);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 150ms ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 60%, rgba(183, 140, 77, 0.07) 0%, transparent 52%),
    radial-gradient(circle at 85% 20%, rgba(32, 58, 91, 0.05) 0%, transparent 45%);
  pointer-events: none;
}

/* ─── Grids ──────────────────────────────────────────────────────────────── */

.hero-grid,
.split-grid,
.feature-grid,
.content-grid,
.stats-grid,
.cards-grid,
.bio-grid,
.article-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.hero-copy p {
  max-width: 60ch;
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ─── Property Icon Row ──────────────────────────────────────────────────── */

.property-icon-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.2rem 0;
}

.property-icon-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.property-icon-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.property-icon-row .divider {
  width: 1px;
  height: 1rem;
  background: var(--line);
}

/* ─── Cards & Surfaces ───────────────────────────────────────────────────── */

.hero-card,
.panel,
.card,
.stat,
.quote-card,
.faq-item,
.resource-card,
.video-card,
.opportunity-card,
.team-card,
.form-card,
.article-card,
.process-step,
.case-card,
.bio-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 33, 47, 0.07);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* ─── Hero Card ──────────────────────────────────────────────────────────── */

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(183, 140, 77, 0.28), transparent 38%),
    linear-gradient(160deg, rgba(32, 58, 91, 0.97), rgba(14, 26, 42, 0.98));
  color: #fff;
  min-height: 480px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-md) - 0.4rem);
  pointer-events: none;
}

.hero-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  height: 100%;
  gap: 1.4rem;
}

.hero-card-divider {
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(183, 140, 77, 0.3));
  border-radius: 999px;
  margin: 0.2rem 0;
}

.hero-kicker,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(183, 140, 77, 0.18);
  border: 1px solid rgba(183, 140, 77, 0.3);
  color: #e8c98a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ─── POPP Allocation Bars ───────────────────────────────────────────────── */

.popp-allocation {
  display: grid;
  gap: 0.9rem;
}

.popp-allocation-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.popp-allocation-label span:first-child {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.popp-allocation-label span:last-child {
  font-size: 0.82rem;
  color: #e8c98a;
  font-weight: 700;
}

.popp-bar-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.popp-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1d3a0, var(--accent));
  transition: width 600ms ease;
}

.popp-allocation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.popp-chip {
  font-size: 0.76rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.popp-disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Check Lists ────────────────────────────────────────────────────────── */

.hero-points,
.check-list,
.icon-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}

.hero-points li,
.check-list li,
.icon-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.hero-points li::before,
.check-list li::before,
.icon-list li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1d3a0, #b78c4d);
  box-shadow: 0 0 0 4px rgba(183, 140, 77, 0.15);
  flex-shrink: 0;
}

/* ─── Trust Bar / Stats ──────────────────────────────────────────────────── */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.3rem 1.2rem;
  border-left: 3px solid var(--accent);
}

.stat strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ─── Split Grid ─────────────────────────────────────────────────────────── */

.split-grid,
.bio-grid,
.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.panel,
.card,
.quote-card,
.faq-item,
.resource-card,
.video-card,
.opportunity-card,
.team-card,
.form-card,
.article-card,
.process-step,
.case-card,
.bio-card {
  padding: 1.75rem;
}

.surface-highlight {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(232, 239, 246, 0.75));
}

.accent-panel {
  background: linear-gradient(160deg, rgba(32, 58, 91, 0.96), rgba(20, 38, 60, 0.98));
  color: #fff;
}

.accent-panel p,
.accent-panel li,
.hero-card p,
.hero-card li {
  color: rgba(255, 255, 255, 0.82);
}

.accent-panel .eyebrow {
  color: #e8c98a;
}

/* ─── Cards Grids ────────────────────────────────────────────────────────── */

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── Process Steps ──────────────────────────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.process-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Connector line — top row only */
.process-grid::before {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: calc(1.75rem + 1.3rem);
  right: calc(1.75rem + 1.3rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(183, 140, 77, 0.2));
  z-index: 0;
}

/* Three-column variant: connector only spans first row (first 3 steps) */
.process-grid--three::before {
  right: calc(33.33% + 1.75rem + 1.3rem);
  /* Span only across top row by limiting right edge */
  right: calc(1.75rem + 1.3rem);
}

.process-step {
  position: relative;
  z-index: 1;
  margin: 0 0.5rem;
  border-radius: var(--radius-md);
}

.process-step:first-child { margin-left: 0; }
.process-step:last-child  { margin-right: 0; }

.process-step-number {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1d3a0, #b78c4d);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(183, 140, 77, 0.35);
  margin-bottom: 1rem;
}

/* ─── Quote Cards ────────────────────────────────────────────────────────── */

.quote-card {
  position: relative;
  border-left: 3px solid var(--accent);
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  pointer-events: none;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.quote-card cite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-cite-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-soft), #c8d8ed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}

.quote-card-featured {
  background: linear-gradient(160deg, rgba(32, 58, 91, 0.97), rgba(20, 38, 60, 0.98));
  border-left-color: var(--accent);
  color: #fff;
}

.quote-card-featured blockquote {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
}

.quote-card-featured cite {
  color: rgba(255, 255, 255, 0.7);
}

.quote-card-featured .quote-cite-avatar {
  background: linear-gradient(145deg, #f1d3a0, #b78c4d);
  color: #fff;
}

.quote-card-featured::before {
  color: rgba(183, 140, 77, 0.25);
}

/* ─── Brad Quote Treatment ───────────────────────────────────────────────── */

.founder-quote {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(32, 58, 91, 0.97), rgba(20, 38, 60, 0.98));
  border-left: 3px solid var(--accent);
}

.founder-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  color: rgba(183, 140, 77, 0.25);
  font-family: Georgia, serif;
  pointer-events: none;
}

.founder-quote blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  font-style: italic;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.founder-quote cite {
  display: block;
  margin-top: 1.25rem;
  color: #e8c98a;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: color 150ms ease;
}

.faq-toggle:hover {
  color: var(--brand);
}

.faq-toggle::after {
  content: "";
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235f6c7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 280ms ease;
}

.faq-item.is-open .faq-toggle::after {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-toggle {
  color: var(--brand);
}

.faq-content {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 1.5rem;
}

.faq-item.is-open .faq-content {
  max-height: 600px;
  padding-bottom: 1.5rem;
}

/* ─── Chips / KPI Strip ──────────────────────────────────────────────────── */

.kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(32, 58, 91, 0.07);
  border: 1px solid rgba(32, 58, 91, 0.12);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ─── Media Placeholders ─────────────────────────────────────────────────── */

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(183, 140, 77, 0.18), transparent 50%),
    linear-gradient(180deg, #223a58, #162739);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  padding: 2rem;
}

.media-placeholder small {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.media-placeholder--short {
  min-height: 200px;
}

.media-placeholder--tall {
  min-height: 400px;
}

/* Portrait monogram placeholder */
.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 280px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #1a3050, #102035);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  padding: 2rem;
}

.portrait-monogram {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1d3a0, #b78c4d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 20px rgba(183, 140, 77, 0.4);
  letter-spacing: -0.02em;
}

.portrait-placeholder small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ─── Video Embeds ───────────────────────────────────────────────────────── */

.video-embed-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-embed-thumb {
  position: relative;
  cursor: pointer;
  background: linear-gradient(160deg, #1a3050, #102035);
  min-height: 200px;
  display: grid;
  place-items: center;
}

.video-embed-thumb:hover .video-play-btn {
  transform: scale(1.08);
  background: var(--accent);
}

.video-play-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease;
  position: relative;
  z-index: 1;
}

.video-play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.video-embed-thumb-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.video-embed-body {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 33, 47, 0.07);
  border-top: none;
  padding: 1.25rem 1.5rem;
}

.video-embed-body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.video-embed-body p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.video-embed-iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── Opportunity Cards ──────────────────────────────────────────────────── */

.opportunity-card--with-icon {
  padding-top: 1.5rem;
}

.opportunity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  background: var(--brand-soft);
  margin-bottom: 1rem;
  color: var(--brand);
}

/* ─── Team Cards ─────────────────────────────────────────────────────────── */

.team-card--with-portrait {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
}

.team-monogram {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1d3a0, #b78c4d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(183, 140, 77, 0.3);
}

.team-card--with-portrait h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.team-card--with-portrait .team-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-card--with-portrait p {
  font-size: 0.9rem;
  margin: 0;
}

/* ─── Case Study Layout ──────────────────────────────────────────────────── */

.case-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.case-table th,
.case-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  text-align: left;
}

.case-table th {
  color: var(--ink);
  font-weight: 600;
  background: rgba(32, 58, 91, 0.04);
}

.case-table td {
  color: var(--muted);
}

.case-table .value {
  color: var(--brand);
  font-weight: 700;
}

/* ─── Table ──────────────────────────────────────────────────────────────── */

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
}

.table th {
  color: var(--ink);
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(32, 58, 91, 0.1);
}

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

/* ─── Accreditation Note ─────────────────────────────────────────────────── */

.accreditation-note {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(32, 58, 91, 0.05);
  border: 1px solid rgba(32, 58, 91, 0.1);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.accreditation-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.placeholder-note {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(183, 140, 77, 0.12);
  border: 1px solid rgba(183, 140, 77, 0.2);
  color: #6d542c;
  font-size: 0.92rem;
}

/* ─── Calculator ─────────────────────────────────────────────────────────── */

.results {
  display: grid;
  gap: 1rem;
}

.results-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.results-card .stat {
  min-height: 100%;
}

/* ─── Articles ───────────────────────────────────────────────────────────── */

.article-meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  align-items: center;
}

.article-tag {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.article-prose {
  display: grid;
  gap: 1rem;
}

.article-prose h2,
.article-prose h3 {
  margin-top: 1.5rem;
}

.article-prose p,
.article-prose li {
  max-width: 74ch;
}

.article-callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--ink);
}

.article-callout p {
  color: var(--ink);
  margin: 0;
}

.article-related {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.article-related h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.related-links {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.related-links li a {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

.related-links li a:hover {
  color: var(--accent);
}

.article-card h3,
.team-card h3,
.resource-card h3,
.video-card h3,
.opportunity-card h3,
.case-card h3,
.bio-card h3 {
  margin-bottom: 0.45rem;
}

.team-card p,
.article-card p,
.resource-card p,
.video-card p,
.opportunity-card p,
.case-card p,
.bio-card p {
  margin-bottom: 0.85rem;
}

/* ─── Section CTA Row ────────────────────────────────────────────────────── */

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-top: 1rem;
}

.section-cta p {
  max-width: 52ch;
  font-size: 1.02rem;
}

/* ─── Footer CTA ─────────────────────────────────────────────────────────── */

.footer-cta-band {
  background: linear-gradient(160deg, rgba(32, 58, 91, 0.05), rgba(183, 140, 77, 0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
  text-align: center;
}

.footer-cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 36ch;
  margin: 0 auto 0.75rem;
}

.footer-cta-band p {
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 4rem 0 2rem;
  background: #102033;
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading,
.footer-label,
.footer-meta,
.footer-contact-list a,
.footer-links a {
  color: #fff;
}

.footer-copy,
.footer-links,
.footer-contact-list,
.footer-legal p {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list,
.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: #e8c98a;
}

.footer-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(183, 140, 77, 0.2);
  border-color: rgba(183, 140, 77, 0.4);
  color: #e8c98a;
}

.footer-legal {
  padding-top: 1.5rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-meta a:hover {
  color: #e8c98a;
}

.footer-heading {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms ease, transform 480ms ease;
}

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

[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .bio-grid,
  .article-grid,
  .footer-grid,
  .feature-grid,
  .trust-bar,
  .cards-grid,
  .cards-grid--two,
  .process-grid,
  .process-grid--three,
  .results-card {
    grid-template-columns: 1fr;
  }

  .process-grid::before,
  .process-grid--three::before {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .brand-text small {
    display: none;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .media-placeholder,
  .portrait-placeholder {
    min-height: 220px;
  }

  .property-icon-row {
    gap: 0.6rem;
  }

  .property-icon-row .divider {
    display: none;
  }
}
