/* You Were Part of My Story: warm ivory, deep navy, quiet gold.
   Fonts: Newsreader (headings) + Inter (body). */

:root {
  --ivory: #F6F0E2;
  --paper: #FBF8F0;
  --navy: #0B1330;
  --navy-2: #16224A;
  --gold: #B48A3C;
  --gold-soft: #D9BE82;
  --ink: #1B1F33;
  --muted: #565B70;
  --line: rgba(27, 31, 51, .14);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- layout ---------- */
.sec { padding: 88px var(--gutter); position: relative; }
.sec--ivory { background: var(--ivory); }
.sec--paper { background: var(--paper); }
.sec--navy { background: var(--navy); color: #EDE7D6; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap--mid { max-width: 880px; }
.wrap--narrow { max-width: 680px; }
.center { text-align: center; }

.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow--gold { color: var(--gold-soft); }
.display { font: 500 clamp(34px, 6vw, 62px)/1.08 var(--serif); letter-spacing: -.01em; margin: 0 0 28px; }
.display--sm { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 18px; }
.light { color: #F4EEDD; }
.lede { font: 400 clamp(19px, 2.2vw, 22px)/1.55 var(--serif); color: var(--muted); max-width: 640px; margin: 0 0 36px; }
.lede.light { color: #CFCBC0; }
.center .lede { margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 18px; }
.prose em { font-family: var(--serif); font-size: 1.08em; }
.sign { font-family: var(--serif); font-size: 21px; margin: 30px 0 32px; line-height: 1.4; }
.note { color: var(--muted); font-size: 15px; max-width: 640px; margin: 0 0 20px; }
.tiny { font-size: 13px; color: var(--muted); }
.tiny.light { color: #A9A89F; margin-top: 18px; }
.concept { font-size: 14px; color: #B9B7AE; max-width: 640px; margin: 28px auto 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.concept strong { color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: 600 15px/1 var(--sans); letter-spacing: .02em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9C762F; }
.btn--navy { background: var(--navy); color: #F4EEDD; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: #F4EEDD; border-color: rgba(244,238,221,.45); }
.btn--ghost:hover { background: rgba(244,238,221,.1); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: rgba(11,19,48,.35); }
.btn--ghost-dark:hover { background: rgba(11,19,48,.06); }
.link { background: none; border: 0; padding: 4px 0; font: 500 14px var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px var(--gutter);
  background: rgba(11, 19, 48, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #F4EEDD;
}
.nav__brand { font: 500 17px var(--serif); text-decoration: none; letter-spacing: .01em; }
.nav__by { opacity: .7; font-size: .85em; font-family: var(--sans); letter-spacing: .02em; }
.nav__links { display: flex; gap: 22px; }
.nav__links a { font-size: 14px; text-decoration: none; opacity: .85; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav__toggle { display: none; background: none; border: 1px solid rgba(244,238,221,.4); color: inherit; border-radius: 999px; padding: 7px 14px; font: 500 13px var(--sans); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: radial-gradient(ellipse at 50% 42%, #14204A 0%, var(--navy) 62%, #070C1F 100%); color: #F4EEDD; display: grid; place-items: center; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }
.hero__text { position: relative; z-index: 2; text-align: center; padding: 120px var(--gutter) 90px; pointer-events: none; max-width: 820px; }
.hero__text .btn, .hero__text a { pointer-events: auto; }
.hero h1 { font: 500 clamp(44px, 9vw, 96px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 26px; text-shadow: 0 2px 30px rgba(11,19,48,.6); }
.hero__sub { font: italic 400 clamp(19px, 2.6vw, 26px)/1.45 var(--serif); color: #D9D3C2; max-width: 560px; margin: 0 auto 34px; }
.hero__hint { margin: 26px 0 0; font-size: 13px; color: #9C9BA8; letter-spacing: .04em; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(244,238,221,.4); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-soft); animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(12px); opacity: .3; } }

/* ---------- faces (circular crops of the approved cards) ---------- */
.face {
  --s: 44px; width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  background-color: var(--navy-2); background-repeat: no-repeat;
  background-size: 210% auto; background-position: var(--fx, 4%) var(--fy, 30%);
  border: 2px solid var(--gold-soft); box-shadow: 0 2px 10px rgba(0,0,0,.25);
  padding: 0; cursor: pointer; display: block;
}
.faces--row { display: flex; justify-content: center; margin: 0 0 34px; }
.faces--row .face { --s: 58px; margin-left: -14px; border-color: var(--ivory); cursor: default; }
.faces--row .face:first-child { margin-left: 0; }

/* ---------- tabs / chips ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 12px 16px; font: 500 15px var(--sans); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.tabs--small button { font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { font: 500 14px var(--sans); padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(11,19,48,.25); background: transparent; color: var(--navy); cursor: pointer; }
.chip:hover { background: rgba(180,138,60,.12); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--navy); color: #F4EEDD; border-color: var(--navy); }

/* ---------- story grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.tile { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.tile__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--navy); box-shadow: 0 1px 2px rgba(11,19,48,.12), 0 10px 26px -14px rgba(11,19,48,.4); transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(11,19,48,.12), 0 18px 34px -14px rgba(11,19,48,.5); }
.tile__name { display: block; margin-top: 10px; font: 500 15px var(--sans); }
.tile__more { color: var(--gold); font-size: 13px; }
.theme { margin: 0 0 48px; }
.theme h3 { font: 500 28px var(--serif); margin: 0 0 4px; }
.theme p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.theme .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.theme .tile__name { font-size: 13px; }

/* ---------- constellation ---------- */
.constellation { position: relative; width: 100%; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 50%, #17244F 0%, var(--navy) 75%); border-radius: 14px; overflow: hidden; }
.constellation__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.constellation__lines line { stroke: var(--gold-soft); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .22; transition: opacity .3s; }
.constellation__lines line.on { opacity: .85; stroke-width: 1.6; }
.constellation .star { position: absolute; transform: translate(-50%, -50%); --s: 40px; transition: transform .2s ease, opacity .3s ease, box-shadow .3s; }
.constellation .star:hover, .constellation .star:focus-visible { transform: translate(-50%, -50%) scale(1.25); z-index: 5; box-shadow: 0 0 0 6px rgba(217,190,130,.25); }
.constellation .star.dim { opacity: .28; }
.constellation__label { min-height: 28px; color: var(--muted); font: italic 400 18px var(--serif); margin: 14px 0 0; }

/* ---------- ripple ---------- */
.ripple-stage { position: relative; width: min(100%, 680px); aspect-ratio: 1; margin: 18px auto 24px; }
.ripple-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ripple-core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(217,190,130,.28), rgba(217,190,130,.04) 70%); border: 1px solid rgba(217,190,130,.5); font: italic 400 clamp(11px, 2vw, 16px)/1.2 var(--serif); color: var(--gold-soft); }
.ripple-stage .face { position: absolute; transform: translate(-50%, -50%); --s: clamp(26px, 6vw, 46px); transition: transform .2s, box-shadow .3s; }
.ripple-stage .face:hover, .ripple-stage .face:focus-visible, .ripple-stage .face.is-on { transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 0 6px rgba(217,190,130,.3); z-index: 3; }
.ripple-caption { min-height: 120px; max-width: 620px; margin: 0 auto 18px; text-align: center; }
.ripple-caption__who { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 8px; }
.ripple-caption__line { font: italic 400 clamp(19px, 2.6vw, 25px)/1.45 var(--serif); color: #F4EEDD; margin: 0; }
.ripple-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.builder fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.builder legend { font: 500 22px var(--serif); margin: 0 0 14px; padding: 0; display: flex; align-items: center; gap: 12px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--ivory); font: 600 13px var(--sans); }
.field { display: block; margin: 12px 0 0; }
.field > span:first-child { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field em { font-style: normal; opacity: .8; }
input[type="text"], textarea { width: 100%; font: 400 17px/1.5 var(--sans); padding: 13px 14px; border: 1.5px solid rgba(11,19,48,.25); border-radius: 10px; background: #FFFDF8; color: var(--ink); }
textarea { font-family: var(--serif); font-size: 19px; resize: vertical; }
input[type="text"]:focus, textarea:focus { outline: 3px solid rgba(180,138,60,.45); border-color: var(--gold); }
.field__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.field__row-btns { display: flex; gap: 18px; }
.count { font-size: 13px; color: var(--muted); }
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.style-opt { border: 1.5px solid rgba(11,19,48,.2); border-radius: 12px; padding: 8px; background: transparent; cursor: pointer; font: 500 13px var(--sans); color: var(--ink); text-align: center; }
.style-opt[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,138,60,.3); }
.style-opt i { display: block; height: 46px; border-radius: 7px; margin-bottom: 8px; }
.style-opt .sw-ivory { background: linear-gradient(135deg, #FBF6E8, #E9DDBF); border: 1px solid rgba(0,0,0,.08); }
.style-opt .sw-midnight { background: radial-gradient(circle at 30% 40%, #2B3C7A 0, #0B1330 70%); }
.style-opt .sw-ripple { background: repeating-radial-gradient(circle at 50% 50%, #FBF6E8 0 6px, #EBDDB6 6px 8px); }
.builder__preview { position: sticky; top: 84px; }
.builder__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.status { min-height: 24px; margin: 12px 0 0; font-size: 15px; color: #2F6B3F; }
.cardwrap { container-type: inline-size; }

/* the card itself */
.card { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; padding: 9cqw 9cqw 8cqw; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 2px 4px rgba(11,19,48,.1), 0 26px 50px -22px rgba(11,19,48,.55); }
.card__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.card__top { position: relative; font: 600 3cqw var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 6cqw; }
.card__to { position: relative; font: italic 500 6.2cqw/1.2 var(--serif); margin: 0 0 4cqw; }
.card__msg { position: relative; font: 400 5cqw/1.42 var(--serif); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; flex: 1; }
.card__from { position: relative; font: italic 500 5.2cqw/1.3 var(--serif); margin: 4cqw 0 0; }
.card__foot { position: relative; font: 500 2.7cqw var(--sans); letter-spacing: .08em; margin: 5cqw 0 0; opacity: .8; }
.card--ivory { background: linear-gradient(160deg, #FCF8EC, #F1E8D0); color: #231F1A; }
.card--ivory .card__top { color: var(--gold); }
.card--midnight { background: radial-gradient(ellipse at 30% 20%, #223070 0%, #0B1330 65%); color: #F4EEDD; }
.card--midnight .card__top { color: var(--gold-soft); }
.card--ripple { background: #FBF6E8; color: #1E2438; }
.card--ripple .card__top { color: #8E6A26; }
.card--empty .card__msg { opacity: .45; font-style: italic; }

/* ---------- living collection ---------- */
.live { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 10px; }
.live[hidden] { display: none; }
.live h3 { font: 500 30px/1.2 var(--serif); margin: 0 0 12px; }
.live p { color: var(--muted); margin: 0; }
.mock { margin: 0; background: var(--navy); color: #F4EEDD; border-radius: 14px; padding: 30px; position: relative; overflow: hidden; }
.mock__tag { display: inline-block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(217,190,130,.5); padding: 5px 10px; border-radius: 999px; margin-bottom: 20px; }
.mock__quote { font: italic 400 24px/1.4 var(--serif); margin: 0 0 14px; color: #F4EEDD !important; }
.mock__by { font-size: 14px; color: #A9A89F !important; margin: 0 0 18px; }
.mock__thread { width: 100%; height: 20px; }
.mock__thread path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mock--weave svg { width: 100%; height: auto; display: block; }

/* ---------- footer ---------- */
.foot { background: #070C1F; color: #CFCBC0; text-align: center; padding: 40px var(--gutter); }
.foot p { margin: 0 0 8px; font-family: var(--serif); font-size: 18px; }
.foot .tiny { color: #8F8E99; font-family: var(--sans); font-size: 13px; }

/* ---------- modal ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(7,12,31,.78); }
.modal__panel { position: relative; width: min(1000px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(11,19,48,.85); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.modal__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.modal__side { background: var(--navy); border-radius: 14px 0 0 14px; align-self: stretch; }
.modal__side > * { position: relative; }
.modal__card { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px 0 0 0; background: var(--navy); display: block; }
.status--light { color: var(--gold-soft); margin: 4px 0 0; }
.modal__text { padding: 38px 36px 30px; }
.modal__text h3 { font: 500 32px/1.15 var(--serif); margin: 0 0 6px; }
.modal__role { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.modal__letter p { font: 400 20px/1.55 var(--serif); margin: 0 0 16px; }
.modal__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 22px; text-align: center; }
.modal__nav { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
body.modal-open { overflow: hidden; }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .sec { padding: 64px var(--gutter); }
  .nav__toggle { display: inline-block; }
  .nav__by { display: none; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(11,19,48,.97); padding: 6px var(--gutter) 14px; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .builder { grid-template-columns: 1fr; gap: 36px; }
  .builder__preview { position: static; }
  .live { grid-template-columns: 1fr; gap: 22px; }
  .modal__body { grid-template-columns: 1fr; }
  .modal__side { border-radius: 14px 14px 0 0; }
  .modal__card { border-radius: 14px 14px 0 0; }
  .modal__text { padding: 24px 22px 24px; }
  .constellation { aspect-ratio: 4 / 5; }
  .constellation .star { --s: 30px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .styles { gap: 8px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mock__thread path { stroke-dashoffset: 0; }
}

/* =====================================================================
   Revision 2: new story flow (letter → ripples → none of us got here alone → thank someone)
   ===================================================================== */

/* nav: four longer labels */
.nav__links { gap: 20px; }
.nav__links a { font-size: 14px; white-space: nowrap; }
@media (max-width: 1240px) { .nav__by { display: none; } }
@media (max-width: 1000px) and (min-width: 821px) { .nav__links { gap: 14px; } .nav__links a { font-size: 13px; } }

/* hero */
.hero__context { font: 400 17px/1.55 var(--sans); color: #B9B7AE; max-width: 520px; margin: -14px auto 30px; }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__ctas .btn { pointer-events: auto; }

/* Larry: his own framed, quiet space */
.sec--larry { padding-bottom: 72px; }
.larry-panel { background: var(--paper); border: 1px solid rgba(180,138,60,.55); outline: 1px solid rgba(180,138,60,.25); outline-offset: 7px; padding: 56px 44px 40px; margin: 8px 0 72px; }
.larry-panel .display { margin-bottom: 26px; }
.prose strong { font-weight: 600; }
.prose__big { font: italic 500 27px/1.3 var(--serif); color: var(--navy); margin-top: 26px !important; }
.shelf-head { display: flex; justify-content: space-between; align-items: end; margin: 0 0 14px; gap: 16px; }
.shelf-head h3 { font: 500 28px var(--serif); margin: 0; }
.shelf-ctrl { display: flex; gap: 8px; }
.shelf-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(11,19,48,.3); background: transparent; font-size: 18px; cursor: pointer; color: var(--navy); }
.shelf-btn:hover { background: rgba(180,138,60,.14); }
.shelf { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-color: var(--gold) transparent; }
.shelf .tile { flex: 0 0 min(250px, 64vw); scroll-snap-align: start; }
.shelf--grid { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; }
.shelf--grid .tile { flex: 0 0 calc(25% - 12px); }
@media (max-width: 820px) { .shelf--grid .tile { flex: 0 0 calc(50% - 8px); } .larry-panel { padding: 40px 24px 28px; outline-offset: 5px; } }
.shelf-foot { text-align: center; margin: 4px 0 0; }
.larry-next { text-align: center; padding-top: 52px; }
.larry-next p { font: italic 400 clamp(21px, 2.6vw, 26px)/1.4 var(--serif); color: var(--muted); margin: 0 0 22px; }

/* ripples section on navy */
.sec--navy .tabs { border-bottom-color: rgba(255,255,255,.18); }
.sec--navy .tabs button { color: #B9B7AE; }
.sec--navy .tabs button[aria-selected="true"] { color: #F4EEDD; border-bottom-color: var(--gold-soft); }
.sec--navy .chip { color: #F4EEDD; border-color: rgba(244,238,221,.4); }
.sec--navy .chip:hover { background: rgba(217,190,130,.16); }
.sec--navy .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.note--light { color: #B9B7AE !important; }
.sec--navy .tile__name { color: #EDE7D6; }
.sec--navy .theme h3 { color: #F4EEDD; }
.sec--navy .theme p { color: #B9B7AE; }
.sec--navy .constellation__label { color: #CFCBC0; }
.sec--navy .constellation { border: 1px solid rgba(217,190,130,.22); }
.welcome { border-left: 3px solid var(--gold-soft); background: rgba(217,190,130,.1); padding: 16px 20px; margin: 0 0 36px; font-size: 16px; color: #EDE7D6; }
.welcome[hidden] { display: none; }

.inside { margin-top: 96px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.14); }
.inside__title { font: 500 clamp(28px, 4vw, 40px)/1.15 var(--serif); margin: 0 0 12px; color: #F4EEDD; }
.inside__sub { color: #CFCBC0; max-width: 620px; margin: 0 0 32px; }
.inside__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .inside__grid { grid-template-columns: 1fr; } }
.qcard { background: rgba(255,255,255,.05); border: 1px solid rgba(217,190,130,.3); border-radius: 12px; padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 16px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.qcard:hover, .qcard:focus-visible { background: rgba(217,190,130,.1); }
.qcard blockquote { margin: 0; font: italic 400 20px/1.45 var(--serif); color: #F4EEDD; }
.qcard__by { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; color: #CFCBC0; }
.qcard__by .face { --s: 40px; cursor: inherit; }
.qcard__by b { display: block; font-weight: 600; color: #F4EEDD; }
.qcard__go { color: var(--gold-soft); font-size: 13px; }

/* the turn: "None of us got here alone" */
.turn { background: radial-gradient(ellipse at 70% 40%, #14204A 0%, var(--navy) 60%, #070C1F 100%); color: #F4EEDD; position: relative; }
.turn__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1280px; margin: 0 auto; }
.turn__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; order: 2; }
.turn__square { position: relative; width: min(100%, 92svh); aspect-ratio: 1; }
.turn__square svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.turn__caption { position: absolute; bottom: 22px; left: 8%; right: 8%; margin: 0; text-align: center; font-size: 12.5px; color: #8F8E99; opacity: 0; transition: opacity 1.2s ease; }
.s3 .turn__caption { opacity: 1; }
.turn__beats { order: 1; padding: 0 var(--gutter) 0 max(var(--gutter), 4vw); }
.beat { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; max-width: 520px; }
.beat__text { font: 400 clamp(22px, 2.4vw, 28px)/1.5 var(--serif); margin: 0; color: #E9E3D2; }
.beat__text--lead { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; color: #F4EEDD; }
.beat__big { font: 500 clamp(36px, 5vw, 58px)/1.08 var(--serif); margin: 0; color: #F4EEDD; letter-spacing: -.01em; }
.beat__ask { font: italic 500 clamp(40px, 6vw, 66px)/1.05 var(--serif); color: var(--gold-soft); margin: 10px 0 6px; }
.beat { opacity: .35; transition: opacity .8s ease; }
.beat.is-active { opacity: 1; }

.turn svg .ring { fill: none; stroke: #D9BE82; stroke-width: 1.2px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; animation: expand 7s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes expand { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(var(--k, 12)); opacity: 0; } }
.t-larry circle.core { fill: var(--gold); }
.t-larry circle.halo { fill: rgba(217,190,130,.22); }
.t-larry text { font: italic 500 3px var(--serif); fill: #F4EEDD; text-anchor: middle; transition: opacity 1s ease; }
.t-larry .l-us, .t-larry .l-you { opacity: 0; }
.s3 .t-larry .l-larry { opacity: 0; }
.s3 .t-larry .l-us { opacity: 1; }
.s4 .t-larry .l-us { opacity: 0; }
.s4 .t-larry .l-you { opacity: 1; fill: #EBD6A0; font-size: 3.6px; }
.t-rings1, .t-faces, .t-web { opacity: 0; transition: opacity 1.4s ease; }
.s2 .t-rings1, .s2 .t-faces { opacity: 1; }
.s3 .t-web { opacity: 1; }
.t-web line { stroke: #D9BE82; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .28; transition: opacity 1.4s ease; }
.s4 .t-web line { opacity: .6; }
.t-web circle { fill: #EBD6A0; opacity: .85; }
.s4 .t-web circle { animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.stage-face { position: absolute; transform: translate(-50%, -50%); --s: clamp(30px, 7vmin, 58px); opacity: 0; transition: opacity 1.2s ease; cursor: default; }
.s2 .stage-face { opacity: 1; }

@media (max-width: 900px) {
  .turn__inner { grid-template-columns: 1fr; }
  .turn__stage { order: 1; height: 46svh; top: 56px; z-index: 3; background: linear-gradient(180deg, var(--navy) 80%, rgba(11,19,48,0)); }
  .turn__square { width: min(100%, 44svh); }
  .turn__caption { display: none; }
  .turn__beats { order: 2; padding: 0 var(--gutter); }
  .beat { min-height: 62svh; max-width: none; padding: 30px 0; }
  .turn__stage { margin-top: 0; }
}

/* thank someone */
.link--block { display: block; margin-top: 16px; }
.card__lead { position: relative; font: italic 400 3.6cqw/1.4 var(--serif); margin: 4cqw 0 0; opacity: .9; }
.card--ivory .card__lead { color: #8E6A26; }
.card--midnight .card__lead { color: var(--gold-soft); }
.card--ripple .card__lead { color: #8E6A26; }
.card--md .card__msg { font-size: 4.3cqw; }
.card--sm .card__msg { font-size: 3.7cqw; line-height: 1.38; }
.card--md .card__to, .card--sm .card__to { margin-bottom: 3cqw; }

/* the gift as a recipient first sees it */
.gift { position: fixed; inset: 0; z-index: 400; background: radial-gradient(ellipse at 50% 20%, #17244F 0%, var(--navy) 60%, #070C1F 100%); color: #F4EEDD; overflow-y: auto; display: flex; padding: 56px var(--gutter) 48px; }
.gift[hidden] { display: none; }
.gift__inner { margin: auto; width: min(100%, 520px); text-align: center; }
.gift__title { font: 500 clamp(28px, 5vw, 38px)/1.2 var(--serif); margin: 0 0 26px; }
.gift__card { margin: 0 auto 28px; width: min(100%, 440px); animation: rise 1.1s .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.gift__about { font-size: 15.5px; color: #CFCBC0; max-width: 460px; margin: 0 auto 24px; }
.gift__about strong { color: #F4EEDD; font-weight: 600; }
.gift__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* people in a letter (modal) */
.modal__people { margin: 22px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(180,138,60,.1); }
.modal__people[hidden] { display: none; }
.modal__people-tag { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8E6A26; margin: 0 0 6px; }
.modal__people-quote { font: italic 400 20px/1.5 var(--serif); margin: 0; }

/* keep the ripples going (dark) */
.next-up { margin-top: 96px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; }
.next-up .tabs { justify-content: center; }
.next-up__title { font: 500 clamp(26px, 3.6vw, 36px) var(--serif); margin: 0 0 6px; color: #F4EEDD; }
.next-up__sub { color: #B9B7AE; font-size: 15px; margin: 0 0 24px; }
.sec--navy .live { text-align: left; }
.sec--navy .live h3 { color: #F4EEDD; }
.sec--navy .live p { color: #CFCBC0; }
.sec--navy .mock { background: var(--navy-2); border: 1px solid rgba(217,190,130,.3); }
[hidden] { display: none !important; }
.card { text-align: left; }
.gift .card { text-align: left; }

.display--room { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12; text-wrap: balance; }

.prose a { color: #8E6A26; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--navy); }

/* long button labels wrap instead of overflowing on small screens */
.btn { max-width: 100%; white-space: normal; text-align: center; }

.closing-line { font: italic 400 clamp(22px, 2.6vw, 28px)/1.3 var(--serif); color: #F4EFE3; margin: 44px 0 0; }
.lede--tight { margin-bottom: 14px; }

/* Keep the Ripples Going: let the text use the section's width */
#sen .lede { max-width: 800px; }

.foot p.foot__partners { font-size: 15px; color: #B9B7AE; max-width: 760px; margin: 14px auto 12px; line-height: 1.5; }

/* The Ripples intro: one-line headline and a wider reading column */
#stories > .wrap > .lede { max-width: 800px; }
.t-larry text { stroke: #0E1638; stroke-width: 1.1px; paint-order: stroke; stroke-linejoin: round; }

/* Program row (opens under the who-to-thank buttons) */
.prog { margin: -6px 0 18px; padding: 14px 14px 4px; border-left: 3px solid var(--gold); background: rgba(180,138,60,.08); border-radius: 0 12px 12px 0; }
.prog__q { font: 500 italic 18px var(--serif); margin: 0 0 10px; color: var(--navy); }


/* Class-year line */
.field-row { display: grid; grid-template-columns: 1fr 150px; gap: 14px; align-items: end; }
.field-row .field { margin: 0 0 18px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr 120px; gap: 10px; } }
.card__class { position: relative; font: 600 2.7cqw/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 1.4cqw 0 0; }
.card--ivory .card__class, .card--ripple .card__class { color: #8E6A26; }
.card--midnight .card__class { color: var(--gold-soft); }

/* Invitation for more scholars to send their letter */
.contribute { max-width: 760px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid rgba(11,19,48,.16); text-align: center; font: 400 19px/1.55 var(--serif); color: #4A4F5C; }
.contribute a { color: #3162F5; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.contribute--dark { border-top-color: rgba(244,238,221,.18); color: #CFCBC0; margin-top: 56px; }
.contribute--dark a { color: #8FA8FF; }

.gift__about--small { font-size: 13.5px; opacity: .8; margin-top: -10px; }

.foot .tiny a { color: #B9B7AE; text-decoration: underline; text-underline-offset: 3px; }
.foot .tiny a:hover { color: #F4EEDD; }
