/* ==========================================================================
   19TEN / Home page
   Base styles are the static, readable layout (used with reduced motion or
   if JS fails). `.home-motion` (added by home.js) switches on the pinned and
   horizontal-scroll layouts.

   1. Intro      4. Welcome   7. This month   10. Final CTA
   2. Hero       5. Expect    8. Watch
   3. Lost/Found              9. Serve
   ========================================================================== */

/* 1. Intro ----------------------------------------------------------------- */
.intro { display: none; }
.intro-on .intro {
	display: block; position: fixed; inset: 0; z-index: 9000;
	background: var(--ink); color: var(--paper);
	overflow: hidden;
}
.intro-on, .intro-on body { overflow: hidden; }
.intro-on .site-header { opacity: 0; }
.site-header { transition: transform .7s var(--ease), color .4s, opacity .8s; }

.intro__media { position: absolute; inset: 0; }
.intro__video, .intro__still {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.12);
	filter: contrast(1.08) saturate(.88) sepia(.1);
}
.intro__shade { position: absolute; inset: 0; background: #000; opacity: 0; }

.intro__brand {
	position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px;
	text-align: center; padding: var(--gutter);
}
.intro__logo { opacity: 0; transform: scale(.86); }
.intro__mark { height: min(42vh, 360px); width: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .55)); }
.intro__logo .logo__type { font-size: clamp(4rem, 16vw, 12rem); }
.intro__tagline {
	margin: 0; max-width: 24ch; text-wrap: balance;
	font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em;
	font-size: clamp(1.3rem, 2.6vw, 2.3rem); line-height: 1.15;
}
.intro__tagline > span { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .24em; margin: 0 -.06em -.12em; }
.intro__tagline > span > span { display: inline-block; transform: translateY(115%); }
.intro__skip {
	position: absolute; right: var(--gutter); bottom: clamp(20px, 4vw, 40px);
	height: 40px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--line-dark); color: rgba(247, 245, 240, .75);
	font-size: var(--fs-small); font-weight: 500; letter-spacing: .04em;
	transition: border-color .3s, color .3s;
}
.intro__skip:hover { border-color: var(--gold); color: var(--paper); }

/* 2. Hero ------------------------------------------------------------------ */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	background: var(--ink); color: var(--paper);
	padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media-inner { position: absolute; inset: -10% 0; }
.hero__photo { height: 100%; border-radius: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(.88) sepia(.1); }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(15, 15, 17, .78) 0%, rgba(15, 15, 17, .35) 22%, rgba(15, 15, 17, .3) 40%, rgba(15, 15, 17, .82) 72%, var(--ink) 100%),
		radial-gradient(120% 80% at 80% 20%, transparent 40%, rgba(15, 15, 17, .5));
}
.hero__inner { position: relative; }
/* No intro this visit: the hero animates with CSS from first paint (no waiting
   on scripts). After an intro, home.js choreographs it instead (html.hero-js). */
.js:not(.hero-js) .hero [data-reveal="manual"] { opacity: 1; animation: nt-rise 1.1s var(--ease-out) .05s both; }
.js:not(.hero-js) .hero .hero__foot [data-reveal="manual"] { animation-delay: .25s; }
.js:not(.hero-js) .hero .hero__foot [data-reveal="manual"] + [data-reveal="manual"] { animation-delay: .35s; }
.hero__title { white-space: nowrap; font-size: min(var(--fs-hero), 8.4vw); }
.hero__foot {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 28px 40px; margin-top: clamp(32px, 4vw, 56px);
	padding-top: 28px; border-top: 1px solid var(--line-dark);
}
.hero__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0;
	font-size: 1.05rem; color: rgba(247, 245, 240, .88);
}
.hero__sep { opacity: .35; }
.hero__live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(199, 158, 78, .55); } 100% { box-shadow: 0 0 0 14px rgba(199, 158, 78, 0); } }
.hero__verse {
	position: absolute; right: var(--gutter); top: 50%; margin: 0;
	writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
	font-size: var(--fs-label); font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
	color: rgba(247, 245, 240, .6);
}
.hero__scroll {
	position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
	display: none; flex-direction: column; align-items: center; gap: 10px;
	font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(247, 245, 240, .55);
}
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 1024px) { .hero__scroll { display: flex; } }
@media (max-width: 767px) { .hero__verse { display: none; } }

/* 3. Lost → Found ---------------------------------------------------------- */
.lf { position: relative; background: var(--ink); color: var(--paper); }
.lf__pin {
	position: relative; overflow: hidden;
	display: grid; justify-items: center; gap: 48px;
	padding: var(--space-section) var(--gutter);
	text-align: center;
}
.lf__eyebrow { color: var(--paper); justify-self: start; }
.lf__word {
	margin: 0;
	font-family: var(--f-display); font-weight: 800;
	font-size: min(27vw, 46vh); line-height: .8; letter-spacing: -0.055em;
	white-space: nowrap; font-variant-ligatures: none;
	display: flex; justify-content: center; align-items: flex-start; /* flex: no gaps from markup whitespace */
}
/* Each slot stacks its LOST letter and FOUND letter in one masked cell. The
   static (no-motion) state shows FOUND. */
.lf__slot {
	display: inline-grid; vertical-align: top;
	padding-block: .06em; margin-block: -.06em;
	/* Clip vertically only: tight letter-spacing lets glyphs overhang their box sideways. */
	clip-path: inset(0 -0.5em);
}
.lf__old, .lf__new { grid-area: 1 / 1; display: block; justify-self: center; } /* content-width, so JS can measure each glyph */
.lf__old { visibility: hidden; }
.lf__dot { color: var(--gold); }

.home-motion .lf__old { visibility: visible; }
.home-motion .lf__slot:not(.is-same) .lf__new { transform: translateY(105%); }
.home-motion .lf__slot.is-same .lf__new { visibility: hidden; }
.home-motion .lf__slot.is-new { width: 0; }
.home-motion .lf__dot { display: inline-block; opacity: 0; transform: scale(0); }
.lf__ref {
	display: flex; align-items: baseline; justify-content: center; gap: .35em; margin: 0 0 .3em;
	font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.lf__num { color: var(--gold); font-size: 2.6em; line-height: .9; }
.lf__quote {
	font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em;
	font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1.05;
}
.lf__line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.1em; }
.lf__line > span { display: inline-block; }
.lf__progress { display: none; }

.home-motion .lf__pin {
	height: 100vh; height: 100svh; padding: 0;
	display: block;
}
.home-motion .lf__eyebrow { position: absolute; top: calc(var(--header-h) + 24px); left: var(--gutter); }
.home-motion .lf__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.home-motion .lf__word { will-change: transform; }
.home-motion .lf__verse {
	position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
	transform: translateY(-38%);
}
.home-motion .lf__ref { opacity: 0; }
.home-motion .lf__line > span { transform: translateY(110%); }
.home-motion .lf__progress {
	display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
	height: 1px; background: var(--line-dark);
}
.lf__progress i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* 4. Welcome --------------------------------------------------------------- */
.welcome__grid { display: grid; gap: clamp(72px, 9vw, 120px); align-items: center; }
@media (min-width: 900px) { .welcome__grid { grid-template-columns: 5fr 6fr; gap: 7vw; } }
.welcome__media { position: relative; padding: 0 12% 14% 0; }
.welcome__main .photo { aspect-ratio: 4 / 5; } /* no shadow: the reveal's clip-path would crop it into a hard edge */
.welcome__float { position: absolute; right: 0; bottom: 0; width: 50%; }
.welcome__float .photo { aspect-ratio: 4 / 5; border: 8px solid var(--paper); }
.welcome__body { margin-top: 2rem; max-width: 52ch; }
.welcome__body p { margin-bottom: .9em; }
.welcome__sign { margin: 2rem 0 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 52ch; }
.welcome__signature { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; }
.welcome__role { margin: .5rem 0 0; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* 5. What to expect ------------------------------------------------------ */
/* An endless strip that glides on its own (JS moves it with a transform) and
   eases to a stop on hover. Drag, swipe and the arrow buttons also move it.
   The page's vertical scroll is never taken over. */
.expect { overflow: hidden; }
.expect__head {
	display: grid; gap: 24px; align-items: end;
	margin-bottom: clamp(40px, 5vw, 72px);
}
@media (min-width: 900px) { .expect__head { grid-template-columns: 1.3fr 1fr; } }
.expect__head .lead { margin: 0; max-width: 34ch; }

.expect__viewport { position: relative; overflow: hidden; }
/* Soft fade on both edges so cards drift in and out gently. */
.expect__viewport::before,
.expect__viewport::after {
	content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(32px, 6vw, 110px);
	pointer-events: none;
}
.expect__viewport::before { left: 0; background: linear-gradient(270deg, rgba(236, 232, 223, 0), var(--bone)); }
.expect__viewport::after { right: 0; background: linear-gradient(90deg, rgba(236, 232, 223, 0), var(--bone)); }

.expect__track {
	--edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: flex-start;
	width: max-content;
	padding: 4px var(--edge) 8px;
	touch-action: pan-y; /* vertical swipes still scroll the page */
	will-change: transform;
	cursor: grab;
}
.expect__track.is-dragging { cursor: grabbing; user-select: none; }
.expect__track.is-dragging a { pointer-events: none; }
.expect__track:focus-visible { outline-offset: -4px; }

.expect__card { flex: none; }
/* Card width is capped by viewport HEIGHT as well, so photo + text always fit
   on screen without scrolling (short laptop windows included). */
.expect { --card-w: clamp(280px, min(32vw, calc((100svh - 300px) * 1.02)), 460px); }
.expect__card { width: var(--card-w); }
.expect__photo { position: relative; margin-bottom: 20px; }
.expect__photo .photo { aspect-ratio: 1; }
.expect__photo img { -webkit-user-drag: none; user-select: none; }
.expect__num {
	position: absolute; top: 16px; left: 16px; z-index: 3;
	height: 34px; min-width: 34px; padding: 0 12px; border-radius: 999px;
	display: grid; place-items: center;
	background: var(--paper); color: var(--ink);
	font-size: .8rem; font-weight: 600; letter-spacing: .06em;
}
.expect__card h3 { margin-bottom: .6rem; max-width: 16ch; }
.expect__card p { margin: 0; max-width: 34ch; }
.expect__link { margin-top: 14px; font-weight: 600; }

/* Translucent arrow buttons over the photos. */
.expect__arrow {
	position: absolute; z-index: 2;
	top: calc(var(--card-w) / 2 + 4px); /* middle of the (square) photos */
	width: 60px; height: 60px; margin-top: -30px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(247, 245, 240, .55); color: var(--ink);
	border: 1px solid rgba(15, 15, 17, .08);
	backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
	box-shadow: 0 10px 30px -12px rgba(15, 15, 17, .35);
	transition: opacity .4s, transform .5s var(--ease), background-color .3s;
}
.expect__arrow:hover { background: rgba(247, 245, 240, .92); transform: scale(1.06); }
.expect__arrow--prev { left: max(12px, calc(var(--gutter) - 30px)); }
.expect__arrow--next { right: max(12px, calc(var(--gutter) - 30px)); }
@media (max-width: 599px) {
	.expect__arrow { width: 48px; height: 48px; margin-top: -24px; }
	.expect__arrow--prev { display: none; } /* phones swipe; keep one "more →" cue */
}

/* 7. This month ------------------------------------------------------------ */
.month__grid { display: grid; gap: 56px; }
@media (min-width: 900px) {
	.month__grid { grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; }
	.month__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.month__head p { margin: 1.6rem 0 2.2rem; max-width: 40ch; }
.month__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.month__item { border-top: 1px solid var(--line); }
.month__link {
	position: relative; isolation: isolate;
	display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: center;
	padding: 28px 8px;
}
.month__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--radius-sm);
	background: var(--bone); transform: scaleX(0); transform-origin: left;
	transition: transform .7s var(--ease);
}
.month__link:hover::before, .month__link:focus-visible::before { transform: scaleX(1); }
.month__date { display: grid; justify-items: start; line-height: 1; }
.month__day { font-family: var(--f-display); font-weight: 700; font-size: 3.2rem; letter-spacing: -0.04em; }
.month__mon { margin-top: 6px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.month__info { display: grid; gap: 6px; }
.month__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.month__meta { color: var(--muted); font-size: .95rem; }
.month__arrow {
	width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
	display: grid; place-items: center;
	transform: rotate(-45deg);
	transition: transform .6s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.month__link:hover .month__arrow { transform: none; background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 599px) {
	.month__link { grid-template-columns: 60px 1fr; }
	.month__arrow { display: none; }
	.month__day { font-size: 2.6rem; }
}
.month__empty { padding: 40px; border-radius: var(--radius); background: var(--bone); }
.month__empty .nt-display { margin-bottom: 1rem; }

.month__sub {
	margin: 0 0 14px;
	font-family: var(--f-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted);
}
.month__weekly { margin-bottom: clamp(40px, 5vw, 64px); }
.month__schedule { display: grid; gap: 10px; }
@media (min-width: 600px) { .month__schedule { grid-template-columns: 1fr 1fr; } }
.month__schedule li {
	display: grid; gap: 4px; padding: 18px 20px;
	border-radius: var(--radius-sm); background: var(--bone);
}
.month__schedule li:first-child { background: var(--ink); color: var(--paper); }
.month__schedule li:first-child .month__sched-when { color: var(--gold); }
.month__sched-name { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.month__sched-when { font-size: .95rem; color: var(--gold-text); font-weight: 500; }

/* 8. Watch ----------------------------------------------------------------- */
.watch { overflow: hidden; }
.watch__grid { display: grid; gap: 56px; align-items: center; }
.watch__text .lead { margin: 1.6rem 0 2.4rem; max-width: 36ch; }
.watch__media { position: relative; display: block; margin-inline: var(--gutter); }
.watch__photo .photo { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
	.watch__grid { grid-template-columns: 5fr 7fr; gap: 4vw; }
	.watch__text { max-width: none; padding-right: 0; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
	.watch__media { margin: 0; }
	.watch__photo .photo { aspect-ratio: 16 / 11; border-radius: var(--radius) 0 0 var(--radius); }
}
.watch__photo .photo::before { background: linear-gradient(180deg, rgba(15, 15, 17, .1), rgba(15, 15, 17, .5)); mix-blend-mode: normal; }
.watch__badge {
	position: absolute; top: 20px; left: 20px; z-index: 3;
	display: inline-flex; align-items: center; gap: 10px;
	height: 38px; padding: 0 16px; border-radius: 999px;
	background: rgba(15, 15, 17, .72); color: var(--paper);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.watch__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.watch__badge.is-live .watch__dot { background: #E5484D; animation: ring-red 1.6s var(--ease-out) infinite; }
@keyframes ring-red { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); } 100% { box-shadow: 0 0 0 12px rgba(229, 72, 77, 0); } }
.watch__play {
	position: absolute; left: 50%; top: 50%; z-index: 3;
	width: clamp(88px, 9vw, 128px); aspect-ratio: 1; margin: calc(clamp(88px, 9vw, 128px) / -2) 0 0 calc(clamp(88px, 9vw, 128px) / -2);
	border-radius: 50%; display: grid; place-items: center;
	background: var(--gold); color: var(--ink);
	box-shadow: 0 0 0 0 rgba(199, 158, 78, .5);
	animation: ring-gold 2.4s var(--ease-out) infinite;
	transition: background-color .4s;
}
.watch__play svg { margin-left: 4px; }
.watch__media:hover .watch__play { background: var(--paper); }
@keyframes ring-gold { 0% { box-shadow: 0 0 0 0 rgba(199, 158, 78, .5); } 100% { box-shadow: 0 0 0 28px rgba(199, 158, 78, 0); } }

/* 9. Serve ----------------------------------------------------------------- */
.serve {
	position: relative; overflow: hidden; isolation: isolate;
	padding-block: clamp(150px, 20vw, 280px);
	background: var(--paper); text-align: center;
}
.serve__marquee {
	position: absolute; inset: 0; z-index: -1;
	display: flex; flex-direction: column; justify-content: center; gap: 1vw;
	transform: rotate(-4deg) scale(1.1);
	pointer-events: none; user-select: none;
}
.serve__row {
	display: flex; white-space: nowrap;
	font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(4.5rem, 14vw, 13rem); line-height: .95; letter-spacing: -0.04em;
}
.serve__row > div { display: flex; flex: none; align-items: center; gap: .3em; padding-right: .3em; }
.serve__row i {
	font-style: normal; font-size: .28em; line-height: 1;
	color: var(--gold); -webkit-text-stroke: 0; opacity: .7;
}
.serve__row--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(15, 15, 17, .14); }
.serve__row--solid { color: var(--bone); }
.serve__content { position: relative; max-width: 980px; }
.serve__content .eyebrow { justify-content: center; }
.serve__content .lead { margin: 1.8rem auto 2.4rem; max-width: 40ch; }

/* 10. Final CTA ------------------------------------------------------------ */
.cta {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	background: var(--ink); color: var(--paper);
}
.cta__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta__media-inner { position: absolute; inset: -10% 0; }
.cta__media .photo { height: 100%; border-radius: 0; }
.cta__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15, 15, 17, .55), rgba(15, 15, 17, .4) 40%, rgba(15, 15, 17, .92) 85%, var(--ink));
}
.cta__inner {
	display: grid; gap: 48px; align-items: end;
	padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(48px, 7vw, 96px);
}
@media (min-width: 1024px) { .cta__inner { grid-template-columns: 1.5fr 1fr; gap: 5vw; } }
.cta__text .btn-row { margin-top: 2.4rem; }
.cta__card {
	border-radius: var(--radius); padding: 12px;
	background: rgba(247, 245, 240, .08); border: 1px solid var(--line-dark);
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	max-width: 460px;
}
.cta__map { border-radius: var(--radius-sm); overflow: hidden; height: 210px; background: var(--ink-2); }
.cta__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.cta__details { padding: 20px 12px 8px; color: var(--muted-dark); }
.cta__details p { margin: 0 0 10px; }
.cta__time { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--paper); }
.cta__details .link { color: var(--paper); font-weight: 600; }
