/* ---------- Tokens ---------- */
:root {
  --bg: #faf5eb;
  --bg-soft: #f3ead8;
  --bg-deep: #1a2c47;
  --bg-deep-2: #122036;
  --ink: #1d1a16;
  --ink-soft: #4a4339;
  --ink-mute: #786e60;
  --line: #e5dac3;
  --line-strong: #c8b894;
  --accent: #b6431f;        /* warm flame */
  --accent-2: #d97a1f;      /* lighter flame */
  --accent-deep: #7a2812;
  --gold: #f4b942;
  --blue: #1f3a5f;          /* echoes her blazer */
  --blue-soft: #2e5081;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 56px);

  --serif: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 16, 10, 0.06), 0 4px 14px rgba(20, 16, 10, 0.05);
  --shadow-md: 0 6px 20px rgba(20, 16, 10, 0.08), 0 18px 60px rgba(20, 16, 10, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 14px;
  border-radius: 0 0 6px 6px; font-weight: 600;
}
.skip:focus { left: 16px; top: 0; z-index: 100; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 235, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(200, 184, 148, 0.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 30px; height: 38px; color: var(--accent);
  display: inline-flex;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.05rem; letter-spacing: -0.01em;
}
.brand-role { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.92rem; color: var(--ink-soft); text-decoration: none;
  font-weight: 500; padding: 6px 0; position: relative;
}
.nav a:not(.nav-cta):hover { color: var(--accent); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--accent); transition: right 0.25s ease;
}
.nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 9px 16px !important; border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none; background: transparent; border: 0;
  width: 40px; height: 40px; padding: 0; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 4px auto; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a {
  padding: 16px var(--pad); text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(244, 185, 66, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(182, 67, 31, 0.10), transparent 60%),
    linear-gradient(180deg, #fbf6ec 0%, #f7eed9 100%);
  overflow: hidden;
  padding-top: clamp(40px, 8vw, 88px);
  padding-bottom: clamp(64px, 10vw, 120px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600; margin: 0 0 18px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.h-line { display: block; }
.h-accent {
  font-style: italic; font-weight: 400;
  color: var(--accent);
  font-feature-settings: "ss01";
}
.h-sub {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  letter-spacing: 0;
  margin-top: 18px;
  color: var(--ink-soft);
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.96rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.vote-note {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--ink-mute); margin: 0;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(182, 67, 31, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(182, 67, 31, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(182, 67, 31, 0.04); }
}

/* Portrait */
.hero-portrait {
  margin: 0;
  position: relative;
  justify-self: center;
}
.portrait-frame {
  position: relative;
  width: min(420px, 85vw);
  aspect-ratio: 415 / 550;
  border-radius: 220px 220px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.7),
              inset 0 0 0 7px rgba(182, 67, 31, 0.15);
  pointer-events: none; z-index: 2;
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
.hero-portrait::before {
  content: ""; position: absolute;
  inset: -22px -22px auto auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.35), transparent 60%);
  z-index: -1;
}
.hero-portrait figcaption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.chalice-mini { width: 18px; height: 22px; color: var(--accent); flex-shrink: 0; }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 25%, 0 70%);
}

/* ---------- Sections ---------- */
.section {
  padding-top: clamp(72px, 10vw, 130px);
  padding-bottom: clamp(72px, 10vw, 130px);
  position: relative;
}
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 12px;
}
.kicker.light { color: var(--gold); }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: start;
}
.about-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 60ch;
}
.about-body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.6em;
  float: left;
  line-height: 0.85;
  margin: 6px 10px -4px 0;
  color: var(--accent);
  font-weight: 500;
}
.about-side {
  background: linear-gradient(180deg, #fff 0%, #fdf7e7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 14px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 96px;
}
.about-side h3 {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-family: var(--sans); font-weight: 700;
  margin: 0 0 18px;
}
.facts { list-style: none; padding: 0; margin: 0; }
.facts li {
  display: flex; flex-direction: column;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts li span { color: var(--ink-mute); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.facts li strong { font-weight: 500; color: var(--ink); }

/* ---------- Vision ---------- */
.vision {
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 50% 30% at 50% 0%, rgba(244, 185, 66, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(182, 67, 31, 0.20), transparent 70%);
  color: #f4eeda;
}
.vision h2 { color: #fbf6ec; max-width: 26ch; margin-left: auto; margin-right: auto; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.value-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 185, 66, 0.18);
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(244, 185, 66, 0.35);
}
.value-num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.3rem; color: var(--gold); display: block; margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.value-card h3 { color: #fbf6ec; margin-bottom: 10px; }
.value-card p { color: rgba(251, 246, 236, 0.78); font-size: 1rem; margin: 0; }
.value-card em { color: var(--gold); font-style: italic; }

.pullquote {
  margin: 70px auto 0;
  max-width: 680px;
  position: relative;
  padding: 16px 24px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  font-style: italic;
  color: #fbf6ec;
}
.quote-mark {
  font-family: var(--serif);
  position: absolute; left: -18px; top: -40px;
  font-size: 7rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  font-style: normal;
}
.pullquote footer {
  margin-top: 18px;
  font-size: 0.9rem;
  font-style: normal;
  font-family: var(--sans);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Experience ---------- */
.experience { background: var(--bg-soft); }
.exp-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.exp-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.exp-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.exp-col h3 {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 700;
  color: var(--accent); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.exp-list { list-style: none; padding: 0; margin: 0; }
.exp-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.5;
}
.exp-list li:first-child { border-top: 0; }
.exp-list li::before {
  content: "";
  position: absolute; left: 0; top: 19px;
  width: 12px; height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  opacity: 0.7;
}
.exp-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Endorsements ---------- */
.endorsements { background: var(--bg); }
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.endorse-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.endorse-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.endorse-quote {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 22px;
  font-style: italic;
  position: relative;
  padding-left: 18px;
}
.endorse-quote::before {
  content: "\201C";
  position: absolute; left: -4px; top: -8px;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  font-style: normal;
  opacity: 0.55;
}
.endorse-attr {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
}
.endorse-attr strong {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.endorse-attr span { color: var(--ink-mute); font-size: 0.85rem; }

/* "Be the first" empty-state card */
.endorse-empty {
  grid-column: 1 / -1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #fdf7e7 100%);
  padding: 44px 36px;
}
.endorse-empty .endorse-icon {
  display: inline-flex;
  width: 44px; height: 56px;
  color: var(--accent);
  margin-bottom: 18px;
}
.endorse-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--ink);
  max-width: 22ch;
}
.endorse-empty p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 14px;
  max-width: 52ch;
}
.endorse-empty p:nth-of-type(2) { margin-bottom: 26px; }
.endorse-empty .btn span { transition: transform 0.2s ease; }
.endorse-empty .btn:hover span { transform: translateX(4px); }

/* ---------- Position ---------- */
.position { background: var(--bg); }
.position-wrap { max-width: 880px; margin: 0 auto; }
.position-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.position-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}
.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  margin: 0 0 36px;
}
.position-grid > div { padding-bottom: 4px; }
.position-grid dt {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px; font-weight: 600;
}
.position-grid dd {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.position-note {
  font-size: 1.02rem; color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin: 0 0 28px;
  max-width: 64ch;
}
.position-cta { margin: 0; }
.position-cta .btn span { transition: transform 0.2s ease; }
.position-cta .btn:hover span { transform: translateX(4px); }

/* ---------- Support ---------- */
.support {
  background: linear-gradient(160deg, #1f3a5f 0%, #122036 100%);
  color: #f4eeda;
  position: relative;
  overflow: hidden;
}
.support::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(244, 185, 66, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(182, 67, 31, 0.18), transparent 55%);
  pointer-events: none;
}
.support-wrap { position: relative; }
.support h2 { color: #fbf6ec; max-width: 26ch; margin-left: auto; margin-right: auto; }
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.support-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 185, 66, 0.2);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  transition: transform 0.25s ease, background 0.25s ease;
}
.support-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); }
.support-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--bg-deep);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 16px;
}
.support-card h3 { color: #fbf6ec; }
.support-card p { color: rgba(251, 246, 236, 0.8); margin: 0; font-size: 0.98rem; }
.support-foot {
  text-align: center;
  margin: 50px auto 0;
  font-size: 1.02rem;
  color: rgba(251, 246, 236, 0.85);
}
.support-foot a {
  color: var(--gold); text-decoration: underline;
  text-decoration-color: rgba(244, 185, 66, 0.4);
}
.support-foot a:hover { text-decoration-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: #100b07;
  color: rgba(244, 238, 218, 0.65);
  padding: 50px 0 40px;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-mark { color: var(--gold); width: 28px; height: 36px; }
.footer-brand p { margin: 0; font-size: 0.92rem; color: rgba(244, 238, 218, 0.85); }
.footer-fine {
  font-size: 0.82rem; color: rgba(244, 238, 218, 0.55);
  max-width: 460px; text-align: right; margin: 0;
}
.footer-fine a { color: var(--gold); text-decoration: none; }
.footer-fine a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 320px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .exp-cols { grid-template-columns: 1fr; }
  .position-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-fine { text-align: left; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .position-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1; justify-content: center; }
  .pullquote { padding: 0 8px; }
  .quote-mark { left: -4px; top: -34px; font-size: 5.5rem; }
}

/* ---------- Scroll-in animations (JS opt-in) ---------- */
/* Default: fully visible. JS adds .has-anim to body to enable opacity:0 start state. */
.has-anim .section {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.has-anim .section.is-visible {
  opacity: 1; transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .section, .hero-copy, .hero-portrait { opacity: 1; transform: none; }
}
