/* Front door: Alumni Stadium walk-in -> field-level reveal -> four entrances. */
html.at-door, html.at-door body { overflow: hidden; background: #0B0607; }
html.at-door .ws { display: none; }
html:not(.at-door) .door { display: none; }

.door { position: fixed; inset: 0; z-index: 50; color: #fff; overflow: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #0B0607; }
.door-stage { position: fixed; inset: 0; overflow: hidden; container-type: size; z-index: 0; background: #0B0607; }

/* cover-mapped frame: children are positioned in source-image percentages (1672 x 941) */
.frame { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * 1.7768)); aspect-ratio: 1672 / 941; transform: translate(calc(var(--fx, .5) * -100%), calc(var(--fy, .5) * -100%)); container-type: inline-size; }
.par { position: absolute; inset: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .9s var(--ease-out); will-change: transform; }
.cam { position: absolute; inset: 0; transform-origin: 50% 58%; will-change: transform, filter; }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.1s var(--ease-io); user-select: none; -webkit-user-drag: none; }
.plate-night { opacity: 0; }
[data-theme="dark"] .plate-night { opacity: 1; }
/* foreground depth slice: the near end zone moves more than the stands */
.fg { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 60%, #000 74%); mask-image: linear-gradient(180deg, transparent 0%, transparent 60%, #000 74%); transform: translate3d(var(--fgx, 0px), var(--fgy, 0px), 0) scale(1.012); transition: transform .9s var(--ease-out); }
.fg .plate { position: absolute; }

/* the painted venue name on the scoreboard (image px 1338..1457 x 296..360) */
.board { position: absolute; left: 80.05%; top: 31.5%; width: 7.05%; height: 6.75%; display: grid; place-items: center; overflow: hidden; background: #120407; border-radius: .08cqw; opacity: 0; }
.board-in { display: flex; align-items: center; gap: .32cqw; padding: 0 .25cqw; }
.board-in img { width: 1.5cqw; height: auto; flex: none; }
.board b { display: block; font: 900 .8cqw/.98 var(--f-display); letter-spacing: .02em; color: #F3E3BC; white-space: nowrap; }
.board small { display: block; margin-top: .2cqw; font: 700 .3cqw/1 var(--f-display); letter-spacing: .16em; color: #E7B6BE; white-space: nowrap; }
[data-theme="dark"] .board { box-shadow: 0 0 1.2cqw .2cqw rgba(255, 196, 140, .25); background: #1A0509; }
[data-theme="dark"] .board b { text-shadow: 0 0 .5cqw rgba(255, 220, 160, .7); }
.board::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); pointer-events: none; }

/* night floodlight bloom (light at image 1555,45) */
.flood { position: absolute; left: 93%; top: 4.8%; width: 26cqw; height: 26cqw; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,250,235,.55) 0%, rgba(255,236,200,.18) 22%, rgba(255,220,170,0) 60%); opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity 1.2s ease; }
[data-theme="dark"] .flood { opacity: 1; animation: floodHum 6s ease-in-out infinite alternate; }
@keyframes floodHum { from { opacity: .82; } to { opacity: 1; } }

/* tunnel (walk-in) */
.tunnel { position: absolute; inset: 0; transform-origin: 50% 43.5%; opacity: 0; will-change: transform, opacity, filter; }
.tunnel picture { position: absolute; inset: 0; transition: opacity .8s ease; }
.tunnel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43.5%; }
.tunnel .t-night { opacity: 0; }
[data-theme="dark"] .tunnel .t-night { opacity: 1; }

.atmos { position: absolute; inset: 0; pointer-events: none; }
.grain { opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"); }
.sweep { background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 210, .16) 48%, transparent 60%); background-size: 300% 100%; background-position: 120% 0; mix-blend-mode: screen; opacity: 0; }
.vignette { background: radial-gradient(130% 100% at 60% 45%, transparent 45%, rgba(10, 2, 4, .55) 100%); }
.scrim { transition: background .9s ease; background:
    linear-gradient(90deg, rgba(247, 241, 232, .95) 0%, rgba(247, 241, 232, .88) 34%, rgba(247, 241, 232, .5) 54%, rgba(247, 241, 232, 0) 70%),
    linear-gradient(0deg, rgba(247, 241, 232, .96) 0%, rgba(247, 241, 232, .72) 22%, rgba(247, 241, 232, 0) 44%); }
[data-theme="dark"] .scrim { background:
    linear-gradient(90deg, rgba(18, 4, 8, .90) 0%, rgba(18, 4, 8, .72) 30%, rgba(18, 4, 8, .22) 54%, rgba(18, 4, 8, 0) 68%),
    linear-gradient(0deg, rgba(14, 3, 6, .96) 0%, rgba(14, 3, 6, .70) 24%, rgba(14, 3, 6, 0) 46%); }
.preroll { position: absolute; inset: 0; background: #0B0607; display: grid; place-items: center; z-index: 5; transition: opacity .6s ease; }
.preroll .loader { position: relative; width: 74px; }
.preroll .loader::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: -18px; height: 2px; background: var(--foil-line); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.door.ready .preroll { opacity: 0; pointer-events: none; }

/* ---- UI over the scene ---- */
.door-ui { position: relative; z-index: 2; min-height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; padding: 0 clamp(20px, 4.4vw, 72px); }
.door-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(16px, 3vh, 34px) 0 0; }
.d-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.d-brand .crest { position: relative; width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 20%, #6B1726 0%, #4A0F18 55%, #2A070D 100%); box-shadow: inset 0 0 0 1px rgba(221, 201, 163, .45), 0 10px 30px -8px rgba(42, 7, 13, .6); }
.d-brand .crest::after { content: ""; position: absolute; inset: 3px; border-radius: 13px; border: 1px solid rgba(221, 201, 163, .22); }
.d-brand .crest img { width: 52px; }
.d-brand .wm b { display: block; font: 900 26px/1 var(--f-display); letter-spacing: -.005em; color: var(--m-700); }
.d-brand .wm small { display: block; margin-top: 7px; font: 700 10.5px/1 var(--f-display); letter-spacing: .34em; color: var(--m-600); }
[data-theme="dark"] .d-brand .wm b { color: #fff; }
[data-theme="dark"] .d-brand .wm small { color: var(--g-300); }
.d-ctrl { display: flex; align-items: center; gap: 10px; }
.glass { background: rgba(255, 251, 245, .62); border: 1px solid rgba(74, 15, 24, .14); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); color: var(--m-800); box-shadow: 0 8px 24px -12px rgba(42, 7, 13, .35); }
[data-theme="dark"] .glass { background: rgba(26, 8, 12, .5); border-color: rgba(221, 201, 163, .2); color: #F4ECDD; box-shadow: 0 8px 28px -12px rgba(0, 0, 0, .7); }
.d-btn { height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--f-display); text-decoration: none; transition: background .25s, border-color .25s, transform .25s var(--ease-out); }
.d-btn:hover { border-color: rgba(185, 151, 91, .8); }
.d-btn.icon { width: 44px; padding: 0; justify-content: center; }
.d-seg { display: inline-flex; padding: 4px; border-radius: 999px; height: 44px; position: relative; }
.d-seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 0 16px; border-radius: 999px; font: 600 13.5px/1 var(--f-display); display: inline-flex; align-items: center; gap: 7px; color: inherit; transition: color .3s; }
.d-seg .knob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--m-700); box-shadow: inset 0 0 0 1px rgba(221, 201, 163, .4); transition: transform .45s var(--ease-out), background .3s; }
.d-seg button[aria-pressed="true"] { color: #fff; }
[data-theme="dark"] .d-seg .knob { transform: translateX(100%); background: linear-gradient(135deg, #D9BE86, #B9975B); }
[data-theme="dark"] .d-seg button[aria-pressed="true"] { color: #2A070D; }

.door-copy { align-self: center; max-width: min(760px, 58vw); padding: clamp(10px, 3vh, 40px) 0 clamp(18px, 3vh, 36px); }
.d-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 700 12px/1.2 var(--f-display); letter-spacing: .28em; text-transform: uppercase; color: var(--m-600); }
.d-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--foil-deep); }
[data-theme="dark"] .d-eyebrow { color: var(--g-300); }
[data-theme="dark"] .d-eyebrow::before { background: var(--foil); }
.d-h { margin: 0; font: 900 clamp(54px, 7.6vw, 124px)/.86 var(--f-display); letter-spacing: -.035em; text-transform: uppercase; color: var(--m-700); }
.d-h .ln { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.d-h .ln > span { display: block; }
.d-h .foil { background: var(--foil-deep); background-size: 250% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
[data-theme="dark"] .d-h { color: #fff; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
[data-theme="dark"] .d-h .foil { background-image: var(--foil); background-size: 250% 100%; text-shadow: none; }
.d-sub { margin: 22px 0 0; max-width: 33em; font: 400 clamp(17px, 1.45vw, 21px)/1.5 var(--f-serif); color: var(--m-900); }
[data-theme="dark"] .d-sub { color: #EFE4E2; }
.d-sig { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; font: italic 500 17px/1 var(--f-serif); color: var(--m-600); letter-spacing: .01em; }
.d-sig .rule { width: 46px; height: 1px; background: var(--foil-line); transform-origin: left; }
.d-sig .rule:last-child { transform-origin: right; }
[data-theme="dark"] .d-sig { color: var(--g-300); }

.doors { display: grid; grid-template-columns: 1.38fr 1fr 1fr 1fr; gap: 14px; padding-bottom: 16px; }
.dcard { position: relative; display: grid; grid-template-rows: 112px auto; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.dcard.glass { box-shadow: 0 18px 50px -24px rgba(42, 7, 13, .55); }
.dcard.glass { color: var(--m-800); }
[data-theme="dark"] .dcard.glass { color: #F4ECDD; }
.dcard .art { position: relative; overflow: hidden; }
.dcard .art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out), opacity .8s ease; }
.dcard .art .n { position: absolute; inset: 0; opacity: 0; }
[data-theme="dark"] .dcard .art .n { opacity: 1; }
.dcard .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 4, 8, 0) 40%, rgba(20, 4, 8, .45) 100%); }
.dcard .tag { position: absolute; z-index: 2; left: 14px; top: 12px; display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px; font: 700 10px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(20, 4, 8, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }
.dcard .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #5BE38F; box-shadow: 0 0 0 0 rgba(91, 227, 143, .7); animation: livePulse 2.2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(91, 227, 143, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(91, 227, 143, 0); } }
.dcard .body { position: relative; padding: 14px 16px 15px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; }
.dcard .k { grid-column: 1 / -1; font: 700 10.5px/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--m-500); }
[data-theme="dark"] .dcard .k { color: var(--g-300); }
.dcard h2 { margin: 0; font: 800 21px/1.1 var(--f-display); letter-spacing: -.01em; }
.dcard .meta { grid-column: 1; margin: 2px 0 0; font: 400 13.5px/1.35 var(--f-serif); opacity: .86; }
.dcard .go { grid-column: 2; grid-row: 2 / span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--m-700); color: #fff; box-shadow: inset 0 0 0 1px rgba(221, 201, 163, .45); transition: transform .45s var(--ease-out), background .3s; }
[data-theme="dark"] .dcard .go { background: linear-gradient(135deg, #E6D0A0, #B9975B); color: #2A070D; }
.dcard::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; background: var(--foil); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.dcard:hover, .dcard:focus-visible { transform: translateY(-4px); box-shadow: 0 28px 60px -24px rgba(42, 7, 13, .7); }
.dcard:hover::before, .dcard:focus-visible::before, .dcard.primary::before { opacity: 1; }
.dcard:hover .art img { transform: scale(1.08); }
.dcard:hover .go { transform: translateX(3px); }
.dcard.primary .go { width: 46px; height: 46px; }
.dcard.primary h2 { font-size: 23px; }
.dcard:focus-visible { outline-offset: 4px; }

.door-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 18px; border-top: 1px solid rgba(74, 15, 24, .14); font: 400 12px/1.4 var(--f-serif); color: var(--m-900); }
[data-theme="dark"] .door-foot { border-color: rgba(221, 201, 163, .16); color: #E5D9D6; }
.door-foot .venue b { font: 700 11px/1 var(--f-display); letter-spacing: .24em; margin-right: 10px; }
.door-foot .pw { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-family: var(--f-display); font-size: 12.5px; }
.door-foot .pw b { color: #CC0001; font-weight: 800; }
[data-theme="dark"] .door-foot .pw b { color: #FF4B4B; }
.door-foot .r { display: flex; align-items: center; gap: 18px; }
.door-foot .r > * { white-space: nowrap; }
.door-foot .venue { min-width: 0; }
.door-foot button.lnk { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font: inherit; color: inherit; }
.skip-intro { position: fixed; z-index: 6; right: clamp(20px, 4.4vw, 72px); bottom: 26px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.door.playing .skip-intro { opacity: 1; pointer-events: auto; }

/* ---- the walk-in sequence ---- */
.door.play .tunnel { opacity: 1; animation: walk 2.9s .2s cubic-bezier(.55, .02, .45, 1) forwards; }
.door.play .cam { animation: reveal 2.6s 1.55s var(--ease-out) both; }
.door.play .scrim, .door.play .vignette { animation: fadeIn 1.2s 2.7s ease both; opacity: 0; }
.door.play .sweep { animation: sweep 2.4s 2.6s ease-out forwards; }
.door.play .board { animation: boardOn 1.1s 3.15s steps(1, end) forwards, boardGlow .8s 3.4s ease forwards; }
.door.play .door-top, .door.play .door-foot { animation: rise .9s 3.0s var(--ease-out) both; }
.door.play .d-eyebrow { animation: rise .9s 3.05s var(--ease-out) both; }
.door.play .d-h .ln > span { animation: lineUp 1.05s var(--ease-out) both; }
.door.play .d-h .ln:nth-child(1) > span { animation-delay: 3.1s; }
.door.play .d-h .ln:nth-child(2) > span { animation-delay: 3.22s; }
.door.play .d-h .foil { animation: lineUp 1.05s 3.22s var(--ease-out) both, foilSweep 2.6s 3.9s var(--ease-io) both; }
.door.play .d-sub { animation: rise 1s 3.45s var(--ease-out) both; }
.door.play .d-sig { animation: rise 1s 3.6s var(--ease-out) both; }
.door.play .d-sig .rule { animation: drawX 1s 3.75s var(--ease-out) both; }
.door.play .dcard { animation: cardIn 1s var(--ease-out) both; }
.door.play .dcard:nth-child(1) { animation-delay: 3.55s; } .door.play .dcard:nth-child(2) { animation-delay: 3.65s; }
.door.play .dcard:nth-child(3) { animation-delay: 3.75s; } .door.play .dcard:nth-child(4) { animation-delay: 3.85s; }
.door.settled .cam { animation: drift 28s ease-in-out infinite alternate; }
.door.settled .board { opacity: 1; }
.door.settled .d-h .foil { animation: foilIdle 9s 1s ease-in-out infinite; }
.door.paused .cam, .door.paused .d-h .foil, .door.paused .flood, .door.paused .tag .dot { animation-play-state: paused !important; }

/* short replay when returning to the front door in the same session */
.door.short .tunnel { display: none; }
.door.short .cam { animation: revealShort 1.6s var(--ease-out) both; }
.door.short .board { opacity: 1; }
.door.short .door-top, .door.short .door-foot, .door.short .d-eyebrow, .door.short .d-sub, .door.short .d-sig { animation: rise .8s .15s var(--ease-out) both; }
.door.short .d-h .ln > span { animation: lineUp .9s .2s var(--ease-out) both; }
.door.short .dcard { animation: cardIn .9s .3s var(--ease-out) both; }

@keyframes walk {
  0% { transform: scale(1); filter: brightness(.2); opacity: 1; }
  16% { filter: brightness(1); }
  40% { transform: scale(1.18); opacity: 1; filter: brightness(1.02); }
  66% { transform: scale(2.05); opacity: 1; filter: brightness(1.1); }
  86% { transform: scale(2.9); opacity: 0; filter: brightness(1.3) blur(1.5px); }
  100% { transform: scale(3.1); opacity: 0; }
}
@keyframes reveal { 0% { transform: scale(1.24) translateY(-2.2%); filter: brightness(1.18) saturate(.92); } 45% { filter: brightness(1.04) saturate(1); } 100% { transform: scale(1) translateY(0); filter: none; } }
@keyframes revealShort { 0% { transform: scale(1.1); filter: blur(4px); opacity: .4; } 100% { transform: none; filter: none; opacity: 1; } }
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.045) translate3d(-.6%, -.4%, 0); } }
@keyframes sweep { 0% { opacity: 0; background-position: 120% 0; } 20% { opacity: 1; } 100% { opacity: 0; background-position: -60% 0; } }
@keyframes boardOn { 0% { opacity: 0; } 10% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: 1; } 38% { opacity: .35; } 50%, 100% { opacity: 1; } }
@keyframes boardGlow { from { filter: brightness(1.8); } to { filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes foilSweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes foilIdle { 0%, 70% { background-position: 0 0; } 85% { background-position: 60% 0; } 100% { background-position: 0 0; } }
@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(34px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .door .tunnel { display: none; }
  .door *, .door *::before, .door *::after { animation: none !important; transition-duration: .01s !important; }
  .door .board { opacity: 1; }
}

/* ---- responsive ---- */
@media (max-width: 1180px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door-copy { max-width: 640px; }
}
@media (max-height: 820px) and (min-width: 900px) {
  .dcard { grid-template-rows: 84px auto; }
  .d-sub { margin-top: 16px; } .d-sig { margin-top: 16px; }
  .d-h { font-size: clamp(50px, 6.6vw, 100px); }
}
@media (max-width: 760px) {
  .door { --fx: .5; }
  .frame { --fx: .47; }
  .door-ui { padding: 0 18px; grid-template-rows: auto auto auto auto; }
  .door-top { padding-top: 14px; align-items: flex-start; }
  .d-brand { gap: 10px; }
  .d-brand .crest { width: 52px; height: 52px; border-radius: 12px; }
  .d-brand .crest::after { border-radius: 9px; }
  .d-brand .crest img { width: 38px; }
  .d-brand .wm b { font-size: 18px; }
  .d-brand .wm small { font-size: 8.5px; letter-spacing: .26em; margin-top: 5px; }
  .d-ctrl { flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 170px; }
  .d-ctrl .gpt span { display: none; }
  .d-ctrl .gpt { width: 44px; padding: 0; justify-content: center; }
  .d-seg button { padding: 0 11px; }
  .d-seg button span { display: none; }
  .door-copy { max-width: none; padding: 24vh 0 24px; }
  .d-eyebrow { font-size: 10.5px; letter-spacing: .22em; margin-bottom: 14px; }
  .d-h { font-size: clamp(38px, 12.4vw, 60px); }
  .d-sub { font-size: 17px; margin-top: 16px; }
  .doors { grid-template-columns: 1fr; gap: 12px; }
  .dcard { grid-template-rows: none; grid-template-columns: 112px 1fr; }
  .dcard.primary { grid-template-columns: none; grid-template-rows: 120px auto; }
  .dcard .art { min-height: 96px; }
  .dcard .tag { left: 8px; top: 8px; height: 20px; padding: 0 7px; font-size: 8.5px; letter-spacing: .1em; }
  .dcard:not(.primary) .tag .txt { display: none; }
  .dcard h2 { font-size: 18px; }
  .dcard.primary h2 { font-size: 21px; }
  .dcard .body { padding: 12px 14px; }
  .door-foot { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 92px; }
  .door-foot .r { flex-wrap: wrap; gap: 10px 18px; }
  .scrim { background: linear-gradient(180deg, rgba(247,241,232,.55) 0%, rgba(247,241,232,0) 14%, rgba(247,241,232,0) 24%, rgba(247,241,232,.82) 44%, rgba(247,241,232,.97) 62%) !important; }
  [data-theme="dark"] .scrim { background: linear-gradient(180deg, rgba(14,3,6,.55) 0%, rgba(14,3,6,0) 14%, rgba(14,3,6,0) 24%, rgba(14,3,6,.8) 44%, rgba(14,3,6,.97) 62%) !important; }
  .skip-intro { bottom: 18px; right: 18px; }
}
.door.settled .tunnel { display: none; }
/* localized legibility glow behind the copy (keeps the tower crisp) */
.door-copy { position: relative; }
.door-copy::before { content: ""; position: absolute; z-index: -1; left: -14%; top: -18%; width: 128%; height: 136%; pointer-events: none; background: radial-gradient(closest-side, rgba(247, 241, 232, .82), rgba(247, 241, 232, .5) 55%, rgba(247, 241, 232, 0)); }
[data-theme="dark"] .door-copy::before { background: radial-gradient(closest-side, rgba(18, 4, 8, .62), rgba(18, 4, 8, .3) 55%, rgba(18, 4, 8, 0)); }
.door.play .door-copy::before { animation: fadeIn 1.2s 2.8s ease both; opacity: 0; }
@media (max-width: 760px) {
  .d-ctrl { flex-wrap: nowrap; max-width: none; gap: 6px; }
  .d-ctrl .d-btn.icon, .d-ctrl .gpt { width: 40px; height: 40px; }
  .d-seg { height: 40px; padding: 3px; }
  .d-seg .knob { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); }
  .d-seg button { padding: 0 10px; }
  .door-copy::before { left: -6%; width: 112%; }
}
@media (max-width: 374px) { .d-brand .wm b { font-size: 15px; } .d-brand .crest { width: 44px; height: 44px; } .d-brand .crest img { width: 32px; } }
/* nothing of the UI shows until the sequence (or the settled state) is ready: no flash of final state */
.door:not(.ready) .door-ui, .door:not(.ready) .skip-intro { visibility: hidden; }

/* Review pass (Noah, 10/29): Day hero was washed out and the gold line read muddy.
   Tighter light scrim keeps the stadium vivid; deeper foil plus a soft lift keeps the gold legible. */
.scrim { background:
    linear-gradient(90deg, rgba(247, 241, 232, .9) 0%, rgba(247, 241, 232, .7) 28%, rgba(247, 241, 232, .18) 46%, rgba(247, 241, 232, 0) 58%),
    linear-gradient(0deg, rgba(247, 241, 232, .94) 0%, rgba(247, 241, 232, .55) 18%, rgba(247, 241, 232, 0) 36%); }
.door-copy::before { background: radial-gradient(closest-side, rgba(247, 241, 232, .74), rgba(247, 241, 232, .38) 58%, rgba(247, 241, 232, 0)); }
.d-h .foil { background-image: linear-gradient(100deg, #4A3210 0%, #7A5A26 22%, #A8853F 38%, #5E4319 56%, #8C6B30 76%, #4A3210 100%);
  filter: drop-shadow(0 1px 0 rgba(255, 248, 232, .55)) drop-shadow(0 6px 18px rgba(74, 15, 24, .18)); }
[data-theme="dark"] .d-h .foil { filter: none; }
