/* ============================================================
   The Boiardee Thought Leaders of Tomorrow Scholarship
   In-world: built by the law firm that established the
   Foundation. Tasteful, stiff, a little dated. Fixed narrow
   column, double rules, small caps, no motion.
   ============================================================ */

:root {
  --cream: #f3ecdd;
  --paper: #fbf7ee;
  --vellum: #f1e6cf;
  --ox: #5b1a23;
  --ox-deep: #43121a;
  --gold: #b4924c;
  --gold-deep: #8e6f33;
  --gold-pale: #d9c493;
  --ink: #2b211e;
  --muted: #6e5f57;
  --rule: #d9ccb0;
  --error: #8a1c1c;

  --f-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --f-caps: "Cormorant SC", "Cormorant Garamond", Garamond, serif;
  --f-text: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;

  --measure: 880px;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16.5px;
  line-height: 1.7;
}

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

a { color: var(--ox); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ox-deep); text-decoration-color: var(--ox); }
a.is-tbd { color: inherit; text-decoration: none; cursor: default; }

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--ox); color: var(--cream); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; color: var(--ox); line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 2.9rem); }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.eyebrow { font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; letter-spacing: 0.16em; color: var(--gold-deep); font-size: 1.05rem; margin: 0 0 0.4em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- ornament: rule — lozenge — rule ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 0; max-width: 220px; }
.ornament::before,
.ornament::after { content: ""; flex: 1; border-top: 1px solid var(--gold); }
.ornament span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ---------- header: letterhead, nav ---------- */
.letterhead { background: var(--paper); border-bottom: 1px solid var(--rule); }
.letterhead-inner { display: flex; flex-direction: column; align-items: center; padding: 26px 24px 0; }
.letterhead-mark { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.letterhead-mark svg { width: 62px; height: auto; }
.letterhead-name { font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; color: var(--ox); line-height: 1.1; }
.letterhead-name small { display: block; font-size: 0.95rem; letter-spacing: 0.24em; color: var(--gold-deep); }
.letterhead-name span { display: block; font-size: 1.55rem; letter-spacing: 0.06em; }

.nav { width: 100%; max-width: var(--measure); margin-top: 20px; border-top: 3px double var(--gold); }
.nav ul { list-style: none; margin: 0; padding: 10px 0 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.nav li { display: flex; align-items: center; }
.nav li + li::before { content: "·"; color: var(--gold); padding: 0 14px; }
.nav a { font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; letter-spacing: 0.12em; font-size: 1.12rem; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--ox); }
.nav a[aria-current="page"] { color: var(--ox); border-bottom: 1px solid var(--gold); }

/* ---------- page head ---------- */
.page-head { text-align: center; padding: 56px 0 36px; }
.page-head .lede { font-style: italic; color: var(--muted); max-width: 36em; margin: 14px auto 0; }

.section { padding: 28px 0 44px; }
.section + .section { border-top: 1px solid var(--rule); }
.section-title { text-align: center; }
.section-tight { padding-top: 0; }
.section + .section-tight { border-top: 0; }
section[id] { scroll-margin-top: 16px; }

/* in-page contents (combined pages) */
.contents { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 18px 0 0; }
.contents a { font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; letter-spacing: 0.12em; font-size: 1rem; text-decoration: none; color: var(--gold-deep); }
.contents a:hover { color: var(--ox); }
.contents a + a::before { content: "·"; color: var(--gold); padding: 0 12px; }

/* ---------- home ---------- */
.hero { text-align: center; padding: 56px 0 48px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero-crest { width: 210px; margin: 0 auto 22px; }
.hero-crest svg { width: 100%; height: auto; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.1rem); max-width: 15em; margin: 0 auto; }
.hero h1 small { display: block; font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.24em; font-size: 0.42em; color: var(--gold-deep); margin-bottom: 6px; }
.tagline { font-style: italic; font-size: 1.15rem; color: var(--muted); max-width: 30em; margin: 18px auto 0; }

.intro { text-align: center; max-width: 40em; margin: 0 auto; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px; }
.pillar { padding: 8px 26px 4px; text-align: center; }
.pillar + .pillar { border-left: 1px solid var(--rule); }
.pillar .numeral { font-family: var(--f-display); color: var(--gold-deep); font-size: 1.1rem; letter-spacing: 0.1em; display: block; }
.pillar h3 { font-size: 1.7rem; margin: 2px 0 10px; }
.pillar p { font-size: 0.95rem; }

.quote { margin: 0 auto; max-width: 36em; text-align: center; }
.quote p { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.3; color: var(--ox); margin: 0; }
.quote p::before { content: "\201C"; color: var(--gold); }
.quote p::after { content: "\201D"; color: var(--gold); }
.quote footer { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }
.quote footer strong { font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.1em; color: var(--ink); font-size: 1.1rem; }

.stats { background: var(--ox); color: var(--cream); }
.stats ul { list-style: none; margin: 0 auto; padding: 30px 24px; max-width: var(--measure); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; text-align: center; }
.stats li + li { border-left: 1px solid rgba(217, 196, 147, 0.35); }
.stats .label { display: block; font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.16em; font-weight: 600; color: var(--gold-pale); font-size: 0.95rem; }
.stats .value { display: block; font-family: var(--f-display); font-size: 2.1rem; font-weight: 600; line-height: 1.2; }

.cta { text-align: center; }
.quote + .cta { margin-top: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; letter-spacing: 0.16em; font-size: 1.12rem;
  color: var(--cream); background: var(--ox); text-decoration: none;
  border: 0; border-radius: 0; padding: 11px 30px 13px; cursor: pointer;
  outline: 1px solid var(--gold); outline-offset: -5px;
}
.btn:hover { background: var(--ox-deep); color: var(--cream); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- portraits: oval vignettes ---------- */
.portrait { width: 160px; aspect-ratio: 4 / 5; border-radius: 50%; overflow: hidden; background: var(--vellum); border: 1px solid var(--gold); outline: 4px solid var(--paper); box-shadow: 0 0 0 5px var(--gold-pale); margin: 0 auto; position: relative; flex: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait .silhouette { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-note { position: absolute; left: 8%; right: 8%; bottom: 16%; font-size: 0.56rem; line-height: 1.25; color: var(--ox); text-align: center; font-family: ui-monospace, Menlo, monospace; word-break: break-all; background: rgba(251, 247, 238, 0.85); padding: 2px; }
.portrait-sm { width: 116px; }

/* ---------- founder's letter ---------- */
.letter { background: var(--paper); border: 1px solid var(--rule); padding: 44px 48px 36px; position: relative; }
.letter::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule); pointer-events: none; }
.letter-head { display: flex; gap: 28px; align-items: center; margin-bottom: 24px; }
.letter-head h2 { margin: 0; }
.letter-head .small { margin: 0; }
.letter .dropcap::first-letter { font-family: var(--f-display); font-weight: 600; color: var(--ox); float: left; font-size: 3.6em; line-height: 0.82; padding: 6px 8px 0 0; }
.signature { margin-top: 28px; }
.signature .sig { font-family: var(--f-display); font-style: italic; font-size: 2rem; color: var(--ox); line-height: 1; display: block; }
.signature .who { font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.12em; font-weight: 600; }
.dictated { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 18px; }

sup.fn { font-size: 0.7em; line-height: 0; }
sup.fn a { text-decoration: none; }
.footnotes { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 12px; font-size: 0.82rem; color: var(--muted); }
.footnotes ol { margin: 0; padding-left: 1.4em; }
.footnotes > p { margin: 0; }

.compliance { font-size: 0.8rem; line-height: 1.55; color: var(--muted); border: 1px solid var(--rule); background: var(--vellum); padding: 16px 20px; }
.compliance p { margin: 0 0 0.6em; }
.compliance p:last-child { margin: 0; }
.compliance .eyebrow { font-size: 0.95rem; }

/* ---------- the award ---------- */
.benefits { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.benefits > li { counter-increment: b; display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.benefits > li:last-child { border-bottom: 0; } /* the footnotes' rule follows */
.benefits > li::before { content: counter(b, upper-roman) "."; font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; color: var(--gold-deep); line-height: 1.3; }
.benefits h3 { margin: 0 0 4px; font-size: 1.35rem; }
.benefits p { margin: 0; font-size: 0.97rem; }

.placements { margin: 8px 0 0; padding-left: 1.2em; font-size: 0.95rem; list-style: disc; }
.placements li { padding: 1px 0; }

/* ---------- eligibility ---------- */
.plain { border-left: 3px solid var(--ox); background: var(--paper); padding: 14px 20px; font-size: 1.05rem; }
.criteria { list-style: none; padding: 0; margin: 0; }
.criteria li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.criteria li::before { content: ""; position: absolute; left: 6px; top: 1.15em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.criteria + h3 { margin-top: 28px; }
.two-col + .cta { margin-top: 34px; }

/* ---------- scholars + committee ---------- */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; background: var(--paper); border: 1px solid var(--rule); padding: 34px; }
.profile .portrait { width: 180px; }
.profile h3 { font-size: 1.8rem; margin-bottom: 2px; }
.profile .class { font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.14em; color: var(--gold-deep); font-weight: 600; margin-bottom: 14px; }
.record { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 0 0 18px; font-size: 0.95rem; }
.record dt { font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.1em; font-weight: 600; color: var(--muted); }
.record dd { margin: 0; }
.profile blockquote { margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--gold); font-style: italic; }
.profile blockquote p { margin: 0; }
.profile + .section-title { margin-top: 44px; }
.committee-note { text-align: center; margin-bottom: 24px; }

/* ---------- the documentary (In the Media) ---------- */
.film { position: relative; aspect-ratio: 16 / 9; background: var(--ox-deep); border: 1px solid var(--gold); outline: 4px solid var(--paper); box-shadow: 0 0 0 5px var(--gold-pale); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--ox-deep); color: var(--paper); font: inherit; text-align: left; }
.film-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 16px; padding: clamp(14px, 2.6vw, 22px); background: linear-gradient(180deg, transparent, rgba(43, 13, 18, 0.85)); }
.film-btn { flex: none; display: grid; place-items: center; width: clamp(48px, 6vw, 58px); aspect-ratio: 1; border-radius: 50%; background: var(--ox); color: var(--paper); border: 1px solid var(--gold); box-shadow: 0 0 0 3px var(--ox), 0 0 0 4px var(--gold-pale); transition: background 0.2s; }
.film-btn svg { width: 36%; height: 36%; margin-left: 8%; }
.film-play:hover .film-btn, .film-play:focus-visible .film-btn { background: var(--ox-deep); }
.film-play:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.film-text { display: grid; gap: 2px; }
.film-title { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.1; }
.film-note { font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.16em; font-size: 0.9rem; color: var(--gold-pale); }
.film-soon { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-style: italic; color: var(--gold-pale); }
@media (max-width: 560px) { .film-note { display: none; } }

.member { display: grid; grid-template-columns: 160px 1fr; gap: 44px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.member h3 { margin: 0; }
.member .role { font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.12em; color: var(--gold-deep); font-weight: 600; margin: 0 0 8px; }
.member p:last-child { margin: 0; }

/* ---------- forms ---------- */
.form-panel { background: var(--paper); border: 1px solid var(--rule); padding: 34px 38px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-caps); text-transform: lowercase; letter-spacing: 0.12em; font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.field label .opt { font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.field input { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-bottom: 2px solid var(--gold); border-radius: 0; padding: 9px 12px; }
.field input:focus { outline: none; border-color: var(--gold-deep); background: #fffdf8; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { border: 1px solid var(--ox); background: #fff; padding: 14px 18px; font-size: 1rem; line-height: 1.55; margin: 26px 0 18px; }
.notice p { margin: 0; }
.notice a { color: var(--ox); }
.field-zip input { max-width: 10em; }
.form-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.privacy-link { font-size: 0.92rem; }

.form-success { text-align: center; padding: 20px 0 6px; }
.form-success p { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.35; color: var(--ox); font-style: italic; margin: 0 auto; max-width: 22em; }
.form-error { border: 1px solid var(--error); color: var(--error); background: #fff; padding: 12px 16px; margin-top: 16px; font-size: 0.92rem; }
.form-error p { margin: 0; }

/* ---------- prose / privacy ---------- */
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.disclosure { border: 2px solid var(--ox); background: #fff; padding: 20px 24px; margin-bottom: 30px; }
.disclosure p:last-child { margin-bottom: 0; }
.prose .as-seen-in { margin-top: 44px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ox-deep); color: var(--gold-pale); }
.footer-inner { max-width: var(--measure); margin: 0 auto; padding: 44px 24px 28px; display: grid; grid-template-columns: 110px 1fr 110px; gap: 32px; align-items: start; }
.footer-crest svg { width: 100%; height: auto; }
.footer-main { text-align: center; }
.footer-name { font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; letter-spacing: 0.12em; color: var(--cream); font-size: 1.2rem; margin: 0; line-height: 1.3; }
.footer-program { font-style: italic; margin: 8px auto 18px; font-size: 0.85rem; line-height: 1.55; max-width: 34em; }
.partners { border-top: 1px solid rgba(217, 196, 147, 0.3); border-bottom: 1px solid rgba(217, 196, 147, 0.3); padding: 12px 0; margin: 0 0 18px; }
.partners .eyebrow { color: var(--gold); font-size: 0.9rem; margin-bottom: 6px; }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px; }
.partners li { font-size: 0.92rem; }
.partners a { color: var(--cream); font-family: var(--f-caps); font-weight: 600; text-transform: lowercase; letter-spacing: 0.1em; font-size: 1.1rem; text-decoration: none; }
.partners a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.partners span { display: block; font-size: 0.78rem; font-style: italic; color: var(--gold-pale); }
.footer-fine { font-size: 0.8rem; margin: 0; line-height: 1.8; }
.footer-fine a, .footer-program a { color: var(--cream); }
.footer-program a:hover { color: #fff; }
.footer-fine .dot { color: var(--gold); padding: 0 6px; }
.footer-seal svg { width: 100%; height: auto; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .letterhead-inner { padding: 20px 16px 0; }
  .letterhead-mark svg { width: 48px; }
  .letterhead-name span { font-size: 1.2rem; }
  .letterhead-name small { font-size: 0.8rem; }
  .nav ul { gap: 4px 20px; }
  .nav li + li::before { content: none; }
  .nav a { font-size: 1rem; }
  .pillars, .two-col { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
  .stats ul { grid-auto-flow: row; grid-template-columns: 1fr; gap: 16px; padding: 26px 16px; }
  .stats li + li { border-left: 0; border-top: 1px solid rgba(217, 196, 147, 0.35); padding-top: 16px; }
  .letter { padding: 30px 22px 26px; }
  .letter-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .profile { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .member { grid-template-columns: 96px 1fr; gap: 28px; }
  .member .portrait { width: 96px; }
  .form-panel { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 22px; padding: 36px 16px 24px; }
  .footer-crest, .footer-seal { width: 96px; }
}

