/* ==========================================================================
   Entrepreneurs' Roundtable — ERT 2026
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Brand tokens ---------- */
:root {
  --gold: #978663;          /* ERT gold */
  --gold-text: #76684B;     /* gold for small text on light backgrounds (readable) */
  --gold-light: #C9B890;    /* gold for text on dark backgrounds */
  --orange: #FF7518;        /* ERT NEXT orange */
  --orange-deep: #C2550B;   /* ERT NEXT orange, deepened for text on white */
  --ink: #252221;           /* near-black from the logo */
  --ink-2: #3A3530;
  --muted: #5E5850;
  --line: #ECE6DC;
  --ground: #FAF8F4;        /* warm off-white page background */
  --sand: #F1EADF;
  --dark: #3B3631;          /* ERT NEXT background */
  --dark-2: #47413B;        /* ERT NEXT cards */
  --dark-line: #5A534C;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 104px) + 32px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, p, blockquote, figure, ul { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--white { background: #fff; }
.section--sand { background: var(--sand); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 48px); line-height: 1.1; }
.rule { width: 56px; height: 2px; background: var(--gold); margin: 28px 0; border: 0; }
.lead { max-width: 640px; color: #4A4540; margin-top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn--gold { background: var(--gold); color: #1E1A17; }
.btn--gold:hover { background: #857553; color: #fff; }
/* "ERT NEXT" wordmark, fully orange. On light backgrounds a deeper orange is used so it stays readable;
   in the dark ERT NEXT section it uses the original #FF7518. */
.brand-next { white-space: nowrap; color: var(--orange-deep); font-weight: 600; }
.next .brand-next { color: var(--orange); }
.h2 .brand-next { font-weight: 500; }
.next-word { color: inherit; }
.btn--outline { border-color: var(--gold); color: var(--gold-text); }
.btn--outline:hover { background: var(--sand); color: var(--ink); }
.link-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 2px solid var(--gold); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.header__logo img { width: 270px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav a { color: var(--gold-text); padding: 10px 0; }
.nav a:hover { color: var(--ink); }
.nav .nav__cta { color: #1E1A17; background: var(--gold); padding: 10px 18px; }
.nav .nav__cta:hover { background: #857553; color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 12px; text-align: center; border: 0; }
  /* Phone/tablet menu: chapters listed indented under Advisory Boards */
  .nav__group { display: block; }
  .nav .nav__drop { display: flex; justify-content: space-between; align-items: center; }
  .nav__caret { display: none; }
  .nav__menu { position: static; display: block; min-width: 0; padding: 0 0 0 18px; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; }
  .nav__menu a { padding: 12px 0; font-size: 12px; }
  .header__logo img { width: 230px; }
}

/* ---------- Advisory Boards drop-down (wide screens) ---------- */
.nav__group { position: relative; }
.nav .nav__drop { display: inline-flex; align-items: center; gap: 8px; }
.nav__caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__group.is-open .nav__caret, .nav__group:hover .nav__caret { transform: translateY(1px) rotate(225deg); }
.nav__menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 12px 28px rgba(37,34,33,.10); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.nav__menu a { display: block; padding: 10px 18px; white-space: nowrap; }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--ground); color: var(--ink); }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F4EFE7 100%); }
.hero__mark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(820px, 90vw); height: auto; max-width: none; opacity: .14; pointer-events: none; }
.hero__inner { position: relative; padding-top: 140px; padding-bottom: 130px; }
.hero__kicker { font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--gold-text); margin-bottom: 22px; text-transform: uppercase; }
.hero h1 { max-width: 820px; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 86px); line-height: 1.04; letter-spacing: -.01em; }
.hero h1 em { color: var(--gold); }
.hero__text { max-width: 620px; margin-top: 30px; font-size: 19px; font-weight: 300; color: #4A4540; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
@media (max-width: 640px) { .hero__inner { padding-top: 90px; padding-bottom: 90px; } .hero__text { font-size: 17px; } }

/* ---------- About ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split__side { flex: 1 1 320px; }
.split__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); }
.pull { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.45; color: #4A4540; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 18px; }
.facts > div { background: #fff; padding: 24px; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--gold-text); }
.facts strong.small { font-size: 30px; line-height: 1.2; }
.facts span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-top: 8px; color: var(--muted); }

/* ---------- Tabs & people ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 36px; }
.tab { min-height: 44px; padding: 0 22px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-radius: 999px; background: #fff; color: #4A4540; border: 1px solid #DCD2C3; }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--gold); color: #1E1A17; border-color: var(--gold); }
.panel[hidden] { display: none; }
.panel__title { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 20px; }
.js .panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.panel + .panel { margin-top: 48px; }
.js .panel + .panel { margin-top: 0; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.person { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.person img { width: 120px; height: 150px; object-fit: cover; object-position: top; background: var(--sand); }
.person h3, .person h4 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.person ul { list-style: none; padding: 0; margin-top: 8px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }

.alumni-band { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alumni { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.alumni img { width: 88px; height: 110px; object-fit: cover; object-position: top; }
.alumni__body { flex: 1 1 320px; }
.alumni__body p + p { margin-top: 4px; }
.alumni__note { flex: 0 1 300px; font-size: 14px; color: var(--muted); }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 48px; }
.founder { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 24px; padding: 32px; background: var(--ground); border: 1px solid var(--line); }
.founder > img { width: 140px; height: 175px; object-fit: cover; object-position: top; background: var(--sand); }
.founder__body { flex: 1 1 220px; min-width: 0; }
.founder h3 { font-size: 20px; font-weight: 600; }
.founder__role { margin: 4px 0 12px; font-size: 14px; color: var(--gold-text); }
.founder__contact { font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.founder__contact a { padding: 2px 0; }
.founder__summary { margin-top: 14px; font-size: 15px; color: #4A4540; }
.bio { flex-basis: 100%; }
.bio summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.bio summary::-webkit-details-marker { display: none; }
.bio summary::after { content: "+"; margin-left: 10px; font-size: 18px; }
.bio[open] summary::after { content: "–"; }
.bio[open] summary .bio__more { display: none; }
.bio:not([open]) summary .bio__less { display: none; }
.bio__text { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-2); padding-top: 4px; }

.cofounders { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; list-style: none; padding: 0; }
.cofounder { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); padding: 18px; }
.cofounder img { width: 64px; height: 80px; object-fit: cover; object-position: top; }
.cofounder small { display: block; font-size: 11px; letter-spacing: .18em; font-weight: 600; color: var(--gold-text); text-transform: uppercase; }
.cofounder strong { display: block; margin-top: 5px; font-family: "Nunito", var(--sans); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--ink); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.quote { background: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; height: 28px; font-size: 64px; line-height: 1; color: var(--gold); }
.quote blockquote { padding-bottom: 24px; }
/* Closing mark sits directly below the final full stop. */
.quote__end { position: relative; white-space: nowrap; }
.quote__close { position: absolute; left: -14px; top: 16px; font-size: 64px; line-height: 1; color: var(--gold); pointer-events: none; }
.quote figcaption { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; }
.quote figcaption .quote__since { margin-top: 4px; font-size: 12px; letter-spacing: .06em; color: var(--gold-text); }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; background: var(--sand); }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { display: block; color: var(--muted); }
.js .quotes.is-collapsed .quote:nth-child(n+7) { display: none; }
.quotes-more { margin-top: 32px; }
.quotes-more[hidden] { display: none; }

/* ---------- ERT NEXT ---------- */
.next { position: relative; overflow: hidden; background: var(--dark); color: #F4EFE7; border-top: 6px solid var(--orange); }
.next__mark { position: absolute; left: -220px; top: 40px; width: 900px; height: auto; max-width: none; opacity: .12; pointer-events: none; }
.next .wrap { position: relative; }
.next .eyebrow { color: var(--orange); }
.next .h2, .next h3, .next h4 { color: #fff; }
.next p { color: #DCD3C6; }
.next a { color: var(--orange); }
.next a:hover { color: #fff; }
.next__lead { font-weight: 300; margin-top: 24px; }
.next__lead + .next__lead { margin-top: 16px; }
.next .pull { color: #EDE6DA; margin-top: 28px; }
.criteria { border: 1px solid var(--dark-line); border-top: 3px solid var(--orange); padding: 32px; }
.criteria ul { padding-left: 18px; display: flex; flex-direction: column; gap: 10px; color: #EDE6DA; font-size: 15px; }
.next .btn--orange { margin-top: 26px; background: var(--orange); color: #1E1A17; }
.next .btn--orange:hover { background: #fff; color: #1E1A17; }
.next .sub { margin-top: 90px; }
.next .sub__title { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; }
.next .founders { margin-top: 36px; }
.next .founder { background: var(--dark-2); border-color: var(--dark-line); }
.next .founder > img { background: #554C44; border-bottom: 3px solid var(--orange); }
.next .founder__role { color: var(--orange); }
.next .bio summary { color: var(--orange); }
.next .bio__text { color: #DCD3C6; }
.next .people { margin-top: 36px; }
.next .person { background: var(--dark-2); border-color: var(--dark-line); }
.next .person img { background: #554C44; border-bottom: 3px solid var(--orange); }
.next .person ul { color: #CFC6BA; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 40px; }
.footer__name { font-family: var(--serif); font-size: 30px; line-height: 1.25; }
.footer__addr { font-size: 15px; color: #4A4540; }
.footer__addr a { display: inline-block; margin-top: 10px; padding: 6px 0; font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom a { color: var(--muted); }

/* ---------- Privacy page ---------- */
.legal { max-width: 760px; padding-top: 90px; padding-bottom: 110px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 56px); line-height: 1.1; }
.legal h2 { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-top: 44px; margin-bottom: 12px; }
.legal p, .legal ul { color: var(--ink-2); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal address { font-style: normal; margin-top: 24px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.legal a { overflow-wrap: anywhere; }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Before the script has set up the tabs, show only the first chapter (avoids a flash of all five). */
.js:not(.tabs-ready) .panel + .panel { display: none; }

.btn .arrow { margin-left: .5em; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .header__logo img { width: 200px; }
  .header__inner { padding-top: 14px; padding-bottom: 14px; }
  .hero__kicker { font-size: 11px; letter-spacing: .16em; }
  .hero__actions .btn { flex: 1 1 100%; }
  .split { gap: 40px; }
  .pull { font-size: 22px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div { padding: 16px 12px; }
  .facts strong { font-size: 32px; }
  .facts strong.small { font-size: 18px; }
  .facts span { font-size: 10px; letter-spacing: .08em; }

  .tabs { gap: 6px; margin: 28px 0 24px; }
  .tab { min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: .08em; }

  /* Two portraits per row on phones */
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .person h3, .person h4 { font-size: 15px; }
  .person ul { font-size: 12px; }

  .alumni-band { padding: 40px 0; }
  .alumni { gap: 16px; }
  .alumni__note { flex-basis: 100%; }

  .founders { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .founder { padding: 20px; gap: 16px; }
  .founder > img { width: 104px; height: 130px; }
  .founder__body { flex-basis: 160px; }
  .founder h3, .founder h4 { font-size: 18px; }
  .founder__contact { font-size: 13px; }
  .founder__contact a { display: inline-flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; }

  .quotes { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .quote { padding: 24px; gap: 22px; }
  .quote blockquote { font-size: 20px; }

  .criteria { padding: 24px; }
  .next .btn--orange { width: 100%; padding: 0 12px; font-size: 12px; letter-spacing: .08em; }
  .next .sub { margin-top: 64px; }
  .next .sub__title { font-size: 34px; }
  .next__mark { width: 640px; left: -200px; }

  .footer__top { padding-top: 56px; gap: 28px; }
  .footer__name { font-size: 24px; }
  .footer__bottom a, .footer__addr a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* Float-in: cards rise gently into place, one after another.
   Used for the Advisory Board tabs and, on first view, for co-founders, founders and the ERT NEXT board. */
@keyframes float-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.panel.pre-float .person, .reveal.pre-float > * { opacity: 0; }
.panel.float-in .person, .reveal.float-in > * { animation: float-in 1.8s cubic-bezier(.25,.46,.45,.94) both; animation-delay: calc(var(--i, 0) * .4s); }
@media (prefers-reduced-motion: reduce) {
  .panel.float-in .person, .reveal.float-in > * { animation: none; }
  .panel.pre-float .person, .reveal.pre-float > * { opacity: 1; }
}

/* ---------- Board member cards: the portrait is the card, gold rule and text below ---------- */
.cards-a .people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1000px) { .cards-a .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .cards-a .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }
.cards-a .person { display: block; padding: 0; background: transparent; border: 0; }
.cards-a .person img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.next .person img { border-bottom: 0; }
.cards-a .person > div::before { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin: 18px 0 12px; }
.cards-a .next .person { background: transparent; }
.cards-a .next .person > div::before { background: var(--orange); }

/* ---------- Membership ---------- */
.membership__grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 64px; margin-top: 8px; }
.membership__title { flex: 1 1 380px; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; color: var(--ink); }
.membership__body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.membership__lead { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--ink); }
.membership__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.membership__facts > div { background: #fff; padding: 28px; }
.membership__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; color: var(--gold-text); }
.membership__facts strong.small { font-size: 40px; line-height: 1.4; }
.membership__facts span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .membership__lead { font-size: 22px; }
  .membership__facts { margin-top: 36px; }
  .membership__facts > div { padding: 22px; }
}

/* ERT NEXT founders: title after the name, in white */
.founder__title { color: #fff; font-weight: 400; white-space: nowrap; }
