/* THANKSGIVING-2026-11-01 (V4, owner-approved 2026-11-01):
   Sentinel Command — the Thanksgiving entry splash's stylesheet,
   the V4 twin of the public site's (static/thanksgiving.js builds
   the overlay in JS). V4 creative: the approved feast-hero living
   scene — the art as three parallax band plates under a slow
   push-in, layered DOM living animation (fire, six candles,
   smoke, steam, leaves in three depth classes, fireflies, moon,
   mist), the Sentinel logo FLASH front and center at ~4.5s
   (screen-blended lockup at 70% of frame height over the dimmed
   scene), and "HAPPY THANKSGIVING" letter-built into the scene's
   bottom-center band from ~7.25s. NO video anywhere — the
   rejected T-N1 creative is gone. Overlay sits at z-index 95,
   under halloween.css's 96; the controllers are ordered so they
   never stack. Palette: the fleet's black/white/green plus the
   scene's own warm firelight and the greeting's gold. */

.sentinel-thanksgiving{position:fixed;inset:0;z-index:95;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#060806;color:#d7e0d8;cursor:pointer;isolation:isolate;opacity:1;transition:opacity .45s ease;animation:thanksgivingFadeIn .3s ease both}
.sentinel-thanksgiving.is-exiting{opacity:0;pointer-events:none}
.sentinel-thanksgiving__stage{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px}
.sentinel-thanksgiving__skip{margin:0;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#d7e0d8;opacity:.72}
@keyframes thanksgivingFadeIn{from{opacity:0}to{opacity:1}}

/* ---- the scene frame (16:9, exactly the composite's canvas) ---- */
.tg-scene{position:relative;width:min(96vw,calc((100vh - 96px)*16/9),1180px);aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#000;container-type:inline-size;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 34px rgba(255,150,60,.10);animation:tgSceneGlow 6s ease-in-out infinite alternate}
@keyframes tgSceneGlow{from{box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 18px rgba(255,150,60,.06)}to{box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 48px rgba(255,150,60,.14)}}
.tg-base{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(120% 90% at 50% 112%,rgba(0,230,118,.05),transparent 55%),radial-gradient(100% 70% at 50% -12%,rgba(255,170,80,.055),transparent 60%),#060806;animation:tgBreathe 9s ease-in-out infinite alternate}
@keyframes tgBreathe{from{opacity:.72}to{opacity:1}}

/* ---- parallax bands + the push-in camera (transform-origin 0 0;
   the translate/scale stops are the composite camera's crop window
   at g=0 / g~0.98 / g=1, per band) ---- */
.tg-bands{position:absolute;inset:0;z-index:1}
.tg-band{position:absolute;inset:0;width:100%;height:100%;display:block;transform-origin:0 0;will-change:transform}
.tg-band--bg{animation:tgPushBg 10.5s linear both}
.tg-band--mid{animation:tgPushMid 10.5s linear both}
.tg-band--fg{animation:tgPushFg 10.5s linear both}
@keyframes tgPushBg{0%{transform:translate(-.95%,-8.4%) scale(1.0188)}43%{transform:translate(-6.11%,-23.17%) scale(1.1566)}100%{transform:translate(-6.2%,-23.6%) scale(1.1598)}}
@keyframes tgPushMid{0%{transform:translate(-1%,-8.4%) scale(1.02)}43%{transform:translate(-6.16%,-25.55%) scale(1.1666)}100%{transform:translate(-6.3%,-26%) scale(1.17)}}
@keyframes tgPushFg{0%{transform:translate(-1.07%,-8.5%) scale(1.0214)}43%{transform:translate(-6.28%,-28.06%) scale(1.1783)}100%{transform:translate(-6.4%,-28.5%) scale(1.1819)}}
/* anchored-effect wrappers share their band's camera exactly */
.tg-fx{position:absolute;inset:0;pointer-events:none;transform-origin:0 0}
.tg-fx--bg{z-index:3;animation:tgPushBg 10.5s linear both}
.tg-fx--mid{z-index:4;animation:tgPushMid 10.5s linear both}
/* the dark warm open: exposure ramps up over the first ~2.4s */
.tg-expo{position:absolute;inset:0;z-index:2;pointer-events:none;background:#020302;opacity:.66;animation:tgExpo 2.4s ease-out both}
@keyframes tgExpo{0%{opacity:.66}55%{opacity:.16}74%{opacity:.24}100%{opacity:0}}
/* reduced-motion still (also the scene's only image in that mode) */
.tg-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}
.sentinel-thanksgiving.is-reduced .tg-poster{display:block}
.sentinel-thanksgiving.is-reduced .tg-bands,.sentinel-thanksgiving.is-reduced .tg-fx,.sentinel-thanksgiving.is-reduced .tg-expo{display:none}

/* ---- moon-glow shimmer (anchored to the moon, BG camera) ---- */
.tg-moonh{position:absolute;left:70.6%;top:14.5%;width:23%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(232,242,214,.20) 0%,rgba(205,225,190,.06) 45%,transparent 68%);mix-blend-mode:screen;animation:tgMoonPulse 7s ease-in-out infinite alternate}
@keyframes tgMoonPulse{from{opacity:.5}to{opacity:.9}}

/* ---- ridge mist (screen space, slow drift) ---- */
.tg-mist{position:absolute;left:-15%;width:130%;height:15%;z-index:5;pointer-events:none;filter:blur(10px);background:radial-gradient(ellipse at center,rgba(205,215,225,.075),transparent 65%)}
.tg-mist--a{top:13%;animation:tgMistA 26s ease-in-out infinite alternate}
.tg-mist--b{top:21%;opacity:.65;animation:tgMistB 38s ease-in-out infinite alternate}
.tg-mist--c{top:29%;opacity:.45;animation:tgMistA 47s ease-in-out infinite alternate-reverse}
@keyframes tgMistA{from{transform:translateX(-3.5%)}to{transform:translateX(3.5%)}}
@keyframes tgMistB{from{transform:translateX(3%)}to{transform:translateX(-3%)}}

/* ---- fire: flicker glow, embers, smoke (anchored, MID camera) ---- */
.tg-fireglow{position:absolute;left:11.96%;top:65.97%;width:24%;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:screen;animation:tgFireIn 1.5s ease .9s both}
.tg-fireglow__in{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,rgba(255,176,74,.55) 0%,rgba(255,124,42,.20) 45%,transparent 68%);animation:tgFlicker 1.7s linear infinite}
@keyframes tgFireIn{0%{opacity:.25;transform:translate(-50%,-50%) scale(.85)}100%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes tgFlicker{0%{transform:scale(1);opacity:.82}13%{transform:scale(1.05);opacity:.95}27%{transform:scale(.97);opacity:.78}41%{transform:scale(1.07);opacity:1}56%{transform:scale(.99);opacity:.85}70%{transform:scale(1.04);opacity:.93}84%{transform:scale(.98);opacity:.8}100%{transform:scale(1.02);opacity:.9}}
.tg-embers{position:absolute;left:11.96%;top:65.97%;width:10%;height:6%;pointer-events:none}
.tg-embers--burst{opacity:0;animation:tgBurstEnv 2.8s ease 1s both}
@keyframes tgBurstEnv{0%{opacity:0}10%{opacity:1}72%{opacity:1}100%{opacity:0}}
.tg-ember{position:absolute;bottom:0;left:50%;width:.55cqw;min-width:2px;aspect-ratio:1;border-radius:50%;background:#ffb35c;box-shadow:0 0 6px 1px rgba(255,150,60,.55);opacity:0;animation-name:tgEmberRise;animation-timing-function:linear;animation-iteration-count:infinite}
@keyframes tgEmberRise{0%{transform:translate(-50%,0) scale(1);opacity:0}10%{opacity:1}100%{transform:translate(calc(-50% + var(--dx)),var(--ry)) scale(.35);opacity:0}}
/* smoke + steam puffs (anchored points; puffs rise in cqw) */
.tg-puffs{position:absolute;pointer-events:none}
.tg-puff{position:absolute;left:0;top:0;border-radius:50%;opacity:0;animation-name:tgPuffRise;animation-timing-function:linear;animation-iteration-count:infinite}
.tg-puffs--smoke .tg-puff{width:7.5cqw;aspect-ratio:1;margin:-3.75cqw 0 0 -3.75cqw;filter:blur(6px);background:radial-gradient(circle,rgba(172,182,198,.5),transparent 70%)}
.tg-puffs--steam .tg-puff{width:3.6cqw;aspect-ratio:1;margin:-1.8cqw 0 0 -1.8cqw;filter:blur(3px);background:radial-gradient(circle,rgba(255,250,238,.55),transparent 70%)}
@keyframes tgPuffRise{0%{transform:translate(0,0) scale(.35);opacity:0}20%{opacity:var(--po,.32)}100%{transform:translate(var(--cx),var(--ry)) scale(1.55);opacity:0}}

/* ---- six candle flames on the table (anchored, MID camera) ---- */
.tg-candles{position:absolute;inset:0;pointer-events:none}
.tg-candle{position:absolute;width:3cqw;height:3.6cqw;pointer-events:none;transform:translate(-50%,-100%) scale(var(--cs,1))}
.tg-candle__halo{position:absolute;left:50%;bottom:-1cqw;width:3.8cqw;aspect-ratio:1;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,196,100,.4),transparent 65%);mix-blend-mode:screen;animation:tgHaloFlicker 1.3s ease-in-out infinite alternate}
.tg-candle__flame{position:absolute;left:50%;bottom:.55cqw;width:1.05cqw;height:1.9cqw;transform-origin:50% 92%;border-radius:50% 50% 50% 50%/58% 58% 42% 42%;background:radial-gradient(50% 62% at 50% 68%,#fff8e0 0%,#ffd98a 34%,#ff9c3f 62%,rgba(255,110,30,0) 78%);animation:tgFlame 1.15s ease-in-out infinite alternate}
.tg-candle:nth-child(2) .tg-candle__flame{animation-duration:1.32s;animation-delay:-.4s}
.tg-candle:nth-child(3) .tg-candle__flame{animation-duration:1.05s;animation-delay:-.7s}
.tg-candle:nth-child(4) .tg-candle__flame{animation-duration:1.24s;animation-delay:-.2s}
.tg-candle:nth-child(5) .tg-candle__flame{animation-duration:1.42s;animation-delay:-.9s}
.tg-candle:nth-child(6) .tg-candle__flame{animation-duration:1.18s;animation-delay:-.55s}
.tg-candle:nth-child(2) .tg-candle__halo{animation-delay:-.5s}
.tg-candle:nth-child(4) .tg-candle__halo{animation-delay:-.8s}
.tg-candle:nth-child(5) .tg-candle__halo{animation-delay:-.3s}
@keyframes tgFlame{from{transform:translateX(-50%) scaleY(.92) skewX(-2deg);opacity:.86}to{transform:translateX(-50%) scaleY(1.09) skewX(2.5deg);opacity:1}}
@keyframes tgHaloFlicker{from{opacity:.65}to{opacity:1}}

/* ---- fireflies over the midground (anchored, MID camera) ---- */
.tg-fly{position:absolute;width:.5cqw;min-width:2px;aspect-ratio:1;border-radius:50%;background:#d8f09a;box-shadow:0 0 6px 2px rgba(206,232,148,.45);opacity:.15;animation-name:tgFly;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-direction:alternate}
@keyframes tgFly{0%{transform:translate(0,0);opacity:.12}50%{opacity:.85}100%{transform:translate(var(--fx),var(--fy));opacity:.2}}

/* ---- autumn leaves in three depth classes (screen space) ---- */
.tg-leaves{position:absolute;inset:0;z-index:6;pointer-events:none;overflow:hidden}
.tg-leaf{position:absolute;top:-4cqw;border-radius:2px 62% 2px 62%;background:linear-gradient(135deg,rgba(255,196,110,.95),rgba(214,110,44,.9) 55%,rgba(150,62,30,.9));opacity:0;animation-name:tgLeafFall;animation-timing-function:linear;animation-iteration-count:infinite}
.tg-leaves--far .tg-leaf{width:1.1cqw;height:.8cqw;filter:blur(1px);--lo:.5}
.tg-leaves--mid .tg-leaf{width:1.9cqw;height:1.4cqw;filter:blur(.4px);--lo:.62}
.tg-leaves--near .tg-leaf{width:3.6cqw;height:2.7cqw;--lo:.72}
@keyframes tgLeafFall{0%{transform:translate3d(0,-4cqw,0) rotate(0deg);opacity:0}7%{opacity:var(--lo,.6)}50%{transform:translate3d(var(--sw),26cqw,0) rotate(170deg)}93%{opacity:var(--lo,.6)}100%{transform:translate3d(calc(var(--sw)*-.6),59.5cqw,0) rotate(335deg);opacity:0}}

/* ---- flash dimmer ---- */
.tg-dim{position:absolute;inset:0;z-index:7;pointer-events:none;background:#000;opacity:0}
.tg-flash-on .tg-dim{animation:tgDim 2.2s linear both}
@keyframes tgDim{0%{opacity:0}14%{opacity:.42}70%{opacity:.42}100%{opacity:0}}

/* ---- THE LOGO FLASH — front and center, a trailer title card ----
   The full lockup (canonical logo asset) lands at the scene's
   center at ~70% of frame height, screen-blended (luminance key)
   so its dark ground vanishes into the scene; arrival is a glitch
   sear + scale punch, two luminous shockwave rings sweep out, a
   shimmer crosses the hold, and the whole beat dissolves. */
.tg-flash{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0}
.tg-flash__bloom{position:absolute;left:50%;top:48.3%;width:66%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,226,170,.5) 0%,rgba(255,192,110,.16) 45%,transparent 68%);mix-blend-mode:screen;opacity:0}
.tg-ring{position:absolute;left:50%;top:48.3%;width:12%;aspect-ratio:1;border:2px solid rgba(255,236,200,.85);border-radius:50%;transform:translate(-50%,-50%) scale(.25);opacity:0;mix-blend-mode:screen;pointer-events:none}
.tg-flash__box{position:relative;height:70%;aspect-ratio:390/475;margin-top:-3%;transform:scale(1.17)}
.tg-flash__img{position:absolute;inset:0;width:100%;height:100%;display:block;mix-blend-mode:screen}
.tg-flash__img--a,.tg-flash__img--b{opacity:0}
.tg-flash__box::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 42%,rgba(255,240,200,.5) 50%,transparent 58%);background-size:280% 100%;background-position:130% 0;opacity:0;pointer-events:none}
.tg-flash.is-flash{animation:tgLogoEnv 2.05s linear both}
.tg-flash.is-flash .tg-flash__bloom{animation:tgBloom 2.05s linear both}
.tg-flash.is-flash .tg-ring--a{animation:tgRing .9s cubic-bezier(.2,.6,.3,1) both}
.tg-flash.is-flash .tg-ring--b{animation:tgRing .9s cubic-bezier(.2,.6,.3,1) .14s both}
.tg-flash.is-flash .tg-flash__box{animation:tgLogoPunch 2.05s linear both}
.tg-flash.is-flash .tg-flash__box::after{animation:tgShimmer .95s ease .45s both}
.tg-flash.is-flash .tg-flash__img--base{animation:tgFlashBase 2.05s linear both}
.tg-flash.is-flash .tg-flash__img--a{animation:tgFlashSliceA 2.05s linear both}
.tg-flash.is-flash .tg-flash__img--b{animation:tgFlashSliceB 2.05s linear both}
@keyframes tgLogoEnv{0%{opacity:0}5%{opacity:1}69%{opacity:1}100%{opacity:0}}
@keyframes tgBloom{0%{opacity:0}6%{opacity:.95}30%{opacity:.4}68%{opacity:.4}76%{opacity:.8}100%{opacity:0}}
@keyframes tgRing{0%{opacity:0;transform:translate(-50%,-50%) scale(.25)}18%{opacity:.55}100%{opacity:0;transform:translate(-50%,-50%) scale(10.5)}}
@keyframes tgLogoPunch{0%{transform:scale(1.17)}8%{transform:scale(1)}100%{transform:scale(1)}}
@keyframes tgShimmer{0%{opacity:0;background-position:130% 0}15%{opacity:1}85%{opacity:1}100%{opacity:0;background-position:-40% 0}}
@keyframes tgFlashBase{0%{filter:brightness(2.4) contrast(1.15)}10%{filter:brightness(1.25)}20%{filter:brightness(1)}68%{filter:brightness(1)}74%{filter:brightness(1.9)}84%{filter:brightness(1)}100%{filter:brightness(1)}}
@keyframes tgFlashSliceA{0%,100%{opacity:0;transform:translateX(0);clip-path:inset(8% 0 64% 0)}2%{opacity:.85;transform:translateX(-9px)}6%{opacity:.85;transform:translateX(7px);clip-path:inset(14% 0 58% 0)}11%{opacity:0}68%{opacity:0}71%{opacity:.65;transform:translateX(6px);clip-path:inset(10% 0 66% 0)}76%{opacity:0}}
@keyframes tgFlashSliceB{0%,100%{opacity:0;transform:translateX(0);clip-path:inset(58% 0 12% 0)}3%{opacity:.8;transform:translateX(8px)}8%{opacity:.8;transform:translateX(-7px);clip-path:inset(52% 0 18% 0)}13%{opacity:0}70%{opacity:0}74%{opacity:.6;transform:translateX(-5px);clip-path:inset(62% 0 8% 0)}79%{opacity:0}}

/* ---- greeting scrim + HAPPY THANKSGIVING, center bottom ---- */
.tg-scrim{position:absolute;left:0;right:0;bottom:0;height:23%;z-index:9;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.55),transparent);opacity:0;animation:tgScrimIn .8s ease 6.9s both}
@keyframes tgScrimIn{from{opacity:0}to{opacity:1}}
.tg-greet{position:absolute;left:0;right:0;bottom:5.2%;z-index:10;margin:0;font-family:Georgia,'Times New Roman',serif;font-size:5.2cqw;font-weight:700;letter-spacing:.16em;text-indent:.16em;text-align:center;color:#f3cd8b;visibility:hidden;pointer-events:none}
.tg-greet.is-on{visibility:visible;animation:tgGreetGlow 3.4s ease-in-out 8.8s infinite alternate}
.tg-greet__ch{display:inline-block;opacity:0;background:linear-gradient(180deg,#fadc94 0%,#e9b95e 55%,#cb8f3a 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#f3cd8b}
.tg-greet.is-on .tg-greet__ch{animation:tgGreetIn .38s cubic-bezier(.22,.61,.21,1) both}
.tg-greet__sp{display:inline-block;width:.3em}
.tg-greet.is-on .tg-greet__ch:nth-child(1){animation-delay:7.25s}
.tg-greet.is-on .tg-greet__ch:nth-child(2){animation-delay:7.295s}
.tg-greet.is-on .tg-greet__ch:nth-child(3){animation-delay:7.34s}
.tg-greet.is-on .tg-greet__ch:nth-child(4){animation-delay:7.385s}
.tg-greet.is-on .tg-greet__ch:nth-child(5){animation-delay:7.43s}
.tg-greet.is-on .tg-greet__ch:nth-child(7){animation-delay:7.475s}
.tg-greet.is-on .tg-greet__ch:nth-child(8){animation-delay:7.52s}
.tg-greet.is-on .tg-greet__ch:nth-child(9){animation-delay:7.565s}
.tg-greet.is-on .tg-greet__ch:nth-child(10){animation-delay:7.61s}
.tg-greet.is-on .tg-greet__ch:nth-child(11){animation-delay:7.655s}
.tg-greet.is-on .tg-greet__ch:nth-child(12){animation-delay:7.7s}
.tg-greet.is-on .tg-greet__ch:nth-child(13){animation-delay:7.745s}
.tg-greet.is-on .tg-greet__ch:nth-child(14){animation-delay:7.79s}
.tg-greet.is-on .tg-greet__ch:nth-child(15){animation-delay:7.835s}
.tg-greet.is-on .tg-greet__ch:nth-child(16){animation-delay:7.88s}
.tg-greet.is-on .tg-greet__ch:nth-child(17){animation-delay:7.925s}
.tg-greet.is-on .tg-greet__ch:nth-child(18){animation-delay:7.97s}
@keyframes tgGreetIn{from{opacity:0;transform:translateY(2.2cqw)}to{opacity:1;transform:translateY(0)}}
@keyframes tgGreetGlow{from{text-shadow:0 0 6px rgba(255,150,60,.25)}to{text-shadow:0 0 16px rgba(255,150,60,.55)}}
.tg-greet--still .tg-greet__ch{opacity:1;animation:none!important;background:none;-webkit-text-fill-color:currentColor}
.tg-greet--still{animation:none!important}

@media (max-height:560px){
  .tg-scene{width:min(96vw,calc((100vh - 70px)*16/9),1180px)}
}
@media (prefers-reduced-motion: reduce){
  .sentinel-thanksgiving{animation:none}
  .tg-base,.tg-band,.tg-fx,.tg-moonh,.tg-mist,.tg-fireglow,.tg-fireglow__in,.tg-candle__flame,.tg-candle__halo,.tg-scene,.tg-scrim,.tg-greet,.tg-greet__ch{animation:none!important}
  .tg-leaves,.tg-embers,.tg-fly,.tg-puffs,.tg-flash,.tg-expo{display:none!important}
  .tg-greet{visibility:visible}
  .tg-greet__ch{opacity:1}
}
