:root { --teal: #3AA6B9; }
* { box-sizing: border-box; }
html { background: #000; overflow-x: clip; }
body { margin: 0; color: #fff; font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 15px; line-height: 1.55; overflow-x: clip; }
img { max-width: 100%; display: block; }
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #000 url(assets/bg-portrait.webp) center / cover no-repeat; }
.wrap { position: relative; z-index: 1; max-width: 988px; margin: 0 auto; padding: 0 24px 80px; }

h1, h2 { font-family: Montserrat, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(28px, 4.600vw, 44px); }
h2 { font-size: clamp(28px, 4.400vw, 42px); }
h2.h-sm { font-size: clamp(22px, 3vw, 30px); }
h2.h-md { font-size: clamp(26px, 4vw, 38px); }
h2.year { font-style: italic; font-weight: 900; font-size: clamp(44px, 6vw, 62px); text-align: center; margin: 48px 0 28px; }
h2.teal-h { color: var(--teal); margin-top: 36px; }
.brand { font-size: 15px; font-weight: 600; margin: 36px 0 48px; }
.spaced { font-weight: 500; letter-spacing: .4em; text-transform: uppercase; font-size: 17px; margin: 0 0 22px; }
.ital { font-style: italic; font-weight: 700; font-size: 14px; }
.dateline { text-align: center; font-style: italic; font-weight: 800; font-family: Montserrat, sans-serif; margin: -6px 0 18px; }
.label { font-style: italic; font-weight: 800; font-family: Montserrat, sans-serif; margin: 20px 0 10px; }
.label.up { font-style: normal; letter-spacing: .04em; }
.small { font-size: 13px; }
.ctr { text-align: center; }
ul { padding-left: 22px; } li { margin: 10px 0; }
hr { border: 0; border-top: 2px solid var(--teal); margin: 56px 0; }
hr.thin { border-top: 1px solid rgba(255,255,255,.5); margin: 24px 0 40px; }
section { margin: 40px 0; }

.hero { max-width: 780px; width: 100%; margin: 0 auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.two.top-align { align-items: start; }
.center { display: flex; justify-content: center; }
.center.top { align-self: start; }
.centered { text-align: center; }
.centered img { margin-inline: auto; }
.stack { display: grid; gap: 20px; }
.stack.ctr { justify-items: center; }
.headshot { width: 290px; border-radius: 50%; }
.cutout { width: 360px; } .cutout.sm { width: 300px; }
.feature { max-width: 780px; width: 100%; margin: 20px auto 0; }
.logo-wide { width: 380px; margin-top: 18px; }
.emblem { width: 250px; } .emblem.sm { width: 140px; }
.team { width: 250px; }
.rhoback { width: 250px; margin: 10px auto; }
.stimulus { border: 4px solid var(--teal); width: 100%; }
.bordered { border: 2px solid var(--teal); width: 100%; }
.full { width: 100%; margin-bottom: 32px; }
.emails { margin-top: 28px; }
.palmer { max-width: 560px; width: 100%; }
.map { width: 100%; height: 300px; border: 0; margin-top: 16px; }
.final { max-width: 900px; width: 100%; margin: 28px auto 0; }
.future p { font-size: 19px; }
.switch .ig { display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 22px; }
.switch .ig img { width: 120px; margin: 0; }
.arrow { color: var(--teal); font-size: 54px; line-height: 1.2; font-weight: 800; }
.down { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #000; font-size: 40px; line-height: 60px; margin: 10px auto 0; font-weight: 800; }
.zoom { cursor: zoom-in; } .video { cursor: pointer; }
.video:hover { filter: brightness(1.080); }

/* ---------- timeline */
.segment { position: relative; padding: 24px 0 40px; }
.spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.500px; background: #fff; }
.spine-fill { width: 100%; background: var(--teal); }
.item { position: relative; width: 44%; margin-top: -70px; }
.item.first { margin-top: 0; }
.item.same { margin-top: 20px; }
.item.R { margin-left: 56%; }
.card { position: relative; background: #fff; border-radius: 6px; padding: 20px; box-shadow: 0 8px 28px rgba(0,0,0,.45); opacity: 0; transition: opacity .3s; }
.card.in { opacity: 1; }
.card-inner { opacity: 0; transition: opacity .45s ease-out .25s; }
.card.in .card-inner { opacity: 1; }
.card::after { content: ""; position: absolute; top: 50%; margin-top: -9px; border: 9px solid transparent; }
.L .card::after { left: 100%; border-left-color: #fff; }
.R .card::after { right: 100%; border-right-color: #fff; }
.card .media { width: 100%; }
.card .below { margin-top: 14px; } .card .below.small { width: 75%; }
.card h3 { color: #141414; font-size: 18px; font-weight: 600; text-align: center; margin: 14px 0 2px; line-height: 1.35; }
.card .teal { color: var(--teal); font-size: 12px; font-weight: 500; text-align: center; margin: 10px 0 0; }
.card .teal-note { color: var(--teal); font-size: 11px; font-style: italic; text-align: center; margin: 8px 0 0; }
.card .sub { color: #757575; font-size: 12px; font-weight: 400; text-align: center; margin: 10px 0 0; }
.node { position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: #fff; border: 2px solid #fff; display: grid; place-items: center; transition: border-color .2s; }
.node.on { border-color: var(--teal); }
.node svg { width: 16px; height: 16px; fill: #111; }
.L .node { left: calc(100% / .44 * .5 - 18px); }
.R .node { right: calc(100% / .44 * .5 - 18px); }
.when { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; }
.L .when { left: calc(100% / .44 * .5 + 36px); }
.R .when { right: calc(100% / .44 * .5 + 36px); text-align: right; }
.when em { display: block; color: var(--teal); font-size: 17px; font-weight: 700; }
.when span { color: #b0b0b0; font-size: 12px; font-weight: 400; }

/* ---------- reveal animations */
[data-anim] { opacity: 0; transition: opacity .6s ease-out var(--d, 0s), transform .75s cubic-bezier(.22,1,.36,1) var(--d, 0s); }
[data-anim].in { opacity: 1; transform: none; }
[data-anim=right] { transform: translateX(320px); }
[data-anim=left] { transform: translateX(-320px); }
[data-anim=left-sm] { transform: translateX(-140px); }
[data-anim=tilt] { transform: rotate(-22deg) translate(-110px, 65px) scale(1.050); }
[data-anim=untilt] { transform: rotate(-8deg); transform-origin: left top; }
[data-anim=grow] { transform: scale(.45); transform-origin: left center; }

/* ---------- lightbox */
#lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.92); display: none; overflow: auto; padding: 40px 16px; }
#lightbox.open { display: block; }
.box-body { max-width: 1200px; margin: 0 auto; pointer-events: none; }
.box-body img, .box-body iframe { margin: 0 auto; pointer-events: auto; }
.box-body img { max-height: none; max-width: 100%; }
.box-body iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.box-close { position: fixed; top: 10px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; z-index: 2; }

@media (max-width: 760px) {
  .two { grid-template-columns: 1fr; gap: 24px; }
  .spine { left: 14px; }
  .item, .item.R { width: auto; margin: 0 0 28px 44px !important; padding-top: 46px; }
  .card::after { display: none; }
  .L .node, .R .node { left: -48px; right: auto; top: 18px; }
  .L .when, .R .when { left: 0; right: auto; top: 0; transform: none; text-align: left; }
  [data-anim=right], [data-anim=left], [data-anim=left-sm], [data-anim=tilt] { transform: translateY(20px); }
  .headshot, .cutout { width: 220px; }
}
@media (prefers-reduced-motion: reduce) { [data-anim], .card, .card-inner { transition: none; opacity: 1; transform: none; } }
