:root {
  --ink: #080809;
  --paper: #f3efe6;
  --coral: #ff644f;
  --yellow: #f4c84e;
  --muted: rgba(243,239,230,.66);
  --line: rgba(243,239,230,.25);
  --serif: Georgia,"Times New Roman",serif;
  --sans: Arial,Helvetica,sans-serif;
  --page: min(1380px,calc(100% - 64px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-height: 100svh; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: var(--sans); }
body::after { content:""; position: fixed; inset: 0; z-index: 40; opacity: .055; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"); }
[hidden] { display: none!important; }
a { color: inherit; text-decoration: none; }
button,input { color: inherit; font: inherit; }
button { border: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 80; padding: 12px 16px; color: var(--ink); background: var(--yellow); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Privacy-safe entry */
.home-gate { min-height: 100svh; isolation: isolate; position: relative; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden auto; padding: 42px clamp(32px,7vw,108px) 35px; background: var(--ink); }
.home-gate::before { content:""; position: absolute; z-index: -2; inset: -5% -2% -5% 34%; background: url("assets/family-gate-filmstrip.webp") right center / auto 108% no-repeat; transform-origin: 78% 48%; animation: gate-film-drift 18s ease-in-out infinite alternate; }
.home-gate::after { content:""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 82% 52%,rgba(244,200,78,.13),transparent 34%),linear-gradient(90deg,var(--ink) 0%,rgba(8,8,9,.97) 31%,rgba(8,8,9,.62) 58%,rgba(8,8,9,.08) 100%); animation: gate-light 9s ease-in-out infinite alternate; }
.gate-wordmark { justify-self: start; z-index: 1; font: 400 20px/1 var(--serif); letter-spacing: .28em; animation: gate-reveal .7s .05s both; }
.gate-copy { width: min(680px,65vw); z-index: 1; align-self: center; padding: 58px 0 38px; }
.gate-copy h1 { max-width: 680px; margin: 0; font: italic 400 clamp(58px,6.2vw,90px)/.89 var(--serif); letter-spacing: -.05em; animation: gate-reveal .85s .12s both; }
.gate-copy h1 em { color: var(--paper); text-shadow: 0 0 44px rgba(244,200,78,.08); }
.gate-copy p { max-width: 545px; margin: 28px 0 0; color: rgba(243,239,230,.74); font: 400 17px/1.65 var(--serif); animation: gate-reveal .85s .2s both; }
.home-join-form { width: min(500px,100%); display: grid; grid-template-columns: 1fr 1fr; gap: 21px 24px; margin-top: 34px; animation: gate-reveal .85s .28s both; }
.home-join-form label { min-width: 0; display: grid; gap: 9px; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; }
.home-join-form input { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 2px 12px; outline: 0; background: transparent; font-size: 17px; letter-spacing: normal; transition: border-color .2s ease,box-shadow .2s ease; }
.home-join-form label:focus-within { color: var(--yellow); }
.home-join-form input:focus { border-color: var(--yellow); box-shadow: 0 8px 18px -18px var(--yellow); }
.home-join-form button { grid-column: 1/-1; min-height: 56px; display: flex; align-items: center; justify-content: space-between; margin-top: 3px; border: 1px solid var(--coral); padding: 0 20px; background: var(--coral); color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background .2s ease,color .2s ease,transform .2s ease; }
.home-join-form button svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.home-join-form button:hover { background: #ff7866; transform: translateY(-2px); }
.home-join-form button:hover svg { transform: translateX(4px); }
.home-join-form button:disabled { opacity: .55; cursor: wait; }
.home-join-form output { grid-column: 1/-1; min-height: 17px; margin-top: -10px; color: var(--coral); font-size: 12px; }
.gate-era { position: absolute; z-index: 1; right: clamp(31px,4vw,70px); bottom: 36px; display: flex; align-items: center; gap: 13px; color: rgba(243,239,230,.64); font-size: 9px; letter-spacing: .2em; animation: gate-reveal .8s .4s both; }
.gate-era i { width: clamp(55px,7vw,108px); height: 1px; display: block; background: linear-gradient(90deg,var(--coral),var(--yellow)); }
.gate-note { z-index: 1; margin: 0; color: rgba(243,239,230,.48); font-size: 9px; letter-spacing: .04em; animation: gate-reveal .8s .4s both; }

@keyframes gate-film-drift { from { transform: scale(1.01) rotate(-.15deg) translate3d(0,0,0); } to { transform: scale(1.045) rotate(.25deg) translate3d(-.8%,.5%,0); } }
@keyframes gate-light { from { opacity: .78; } to { opacity: 1; } }
@keyframes gate-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Personal channel */
.home-header { width: var(--page); min-height: 84px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.home-wordmark { font: 400 22px/1 var(--serif); letter-spacing: .26em; }
.home-nav { align-self: stretch; display: flex; gap: 52px; align-items: center; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.home-nav a { height: 100%; display: grid; place-items: center; position: relative; }
.home-nav a:hover,.home-nav a.active { color: var(--coral); }
.home-nav a.active::after { content:""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--coral); }
.home-menu-trigger { justify-self: end; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); cursor: pointer; font: 400 17px var(--serif); }
#home-content { width: var(--page); margin: 0 auto; }
.channel-hero { min-height: 680px; display: grid; grid-template-columns: minmax(320px,.7fr) minmax(520px,1.3fr); grid-template-rows: 1fr auto; column-gap: 48px; padding: 28px 0 0; border-bottom: 1px solid var(--line); }
.hero-identity { align-self: center; padding: 35px 0 50px; }
.hero-identity h1 { max-width: 470px; margin: 0 0 22px; font: italic 400 clamp(72px,7vw,112px)/.82 var(--serif); letter-spacing: -.055em; }
.hero-identity > p:not(.hero-note) { max-width: 420px; margin: 0; color: #d3cec4; font: 400 20px/1.45 var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions a { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 22px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-actions svg,.home-section-heading svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.coral-action { background: var(--coral); color: var(--ink); }
.coral-action:hover { background: #ff7866; }
.outline-action { border: 1px solid var(--line); color: var(--yellow); }
.outline-action:hover { border-color: var(--yellow); }
.hero-note { margin: 34px 0 0; color: var(--coral); font: italic 17px var(--serif); transform: rotate(-5deg); }
.hero-media { min-height: 520px; position: relative; display: block; overflow: hidden; background: #111; clip-path: polygon(0 .7%,99.4% 0,100% 99%,.4% 100%); }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.88); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-media:hover img { transform: scale(1.018); }
.hero-play { position: absolute; right: 22px; bottom: 20px; width: 45px; height: 45px; display: grid; place-items: center; background: rgba(8,8,9,.75); }
.hero-play svg { width: 18px; fill: var(--paper); }
.channel-facts { grid-column: 2; min-height: 82px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; border-top: 1px solid var(--line); }
.channel-facts > span { min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid var(--line); }
.channel-facts > span:last-child { border-right: 0; }
.channel-facts svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.channel-facts strong { font-size: 10px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.home-section { padding: 32px 0 38px; border-bottom: 1px solid var(--line); }
.home-section-heading { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-bottom: 22px; }
.home-section-heading h2 { margin: 0; font: 400 14px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.home-section-heading > a { display: inline-flex; align-items: center; gap: 17px; color: var(--coral); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.moment-rail { display: grid; grid-auto-columns: minmax(150px,1fr); grid-auto-flow: column; gap: 9px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--coral) var(--line); scroll-snap-type: x proximity; padding-bottom: 15px; }
.moment-card { min-width: 0; aspect-ratio: .86; position: relative; overflow: hidden; scroll-snap-align: start; background: #111; }
.moment-card img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.82); transition: transform .45s ease; }
.moment-card:hover img { transform: scale(1.035); }
.moment-card::after { content:""; position: absolute; inset: auto 0 0; height: 38%; pointer-events: none; background: linear-gradient(transparent,rgba(0,0,0,.7)); }
.moment-card span { position: absolute; z-index: 1; right: 10px; bottom: 9px; left: 10px; overflow: hidden; color: var(--paper); font: italic 14px var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.moment-card.video::before { content:""; position: absolute; z-index: 2; top: 50%; left: 50%; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--paper); transform: translate(-40%,-50%); filter: drop-shadow(0 2px 5px #000); }
.archive-pulse { min-height: 470px; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(35px,7vw,110px); align-items: center; padding: 48px 4vw; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 74% 50%,rgba(255,100,79,.09),transparent 35%); }
.archive-pulse-copy .eyebrow { margin: 0 0 12px; color: var(--coral); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.archive-pulse-copy h2 { margin: 0; font: 400 clamp(44px,5.2vw,76px)/.9 var(--serif); letter-spacing: -.045em; }
.archive-pulse-copy h2 em { color: var(--yellow); }
.archive-pulse-copy > p:not(.eyebrow) { max-width: 420px; margin: 21px 0 0; color: var(--muted); font: 16px/1.55 var(--serif); }
.archive-pulse-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 25px 0 0; padding: 0; list-style: none; }
.archive-pulse-summary li { color: var(--paper); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.archive-pulse-summary strong { margin-right: 4px; color: var(--coral); font: italic 20px/1 var(--serif); }
.archive-radar-frame { width: min(100%,580px); margin: 0 auto; }
.archive-radar-frame svg { width: 100%; display: block; overflow: visible; }
.archive-radar-frame figcaption { max-width: 410px; margin: -8px auto 0; color: rgba(243,239,230,.47); text-align: center; font-size: 9px; line-height: 1.5; letter-spacing: .06em; }
.radar-ring { fill: none; stroke: rgba(243,239,230,.16); stroke-width: 1; }
.radar-ring:last-child { stroke: rgba(244,200,78,.46); }
.radar-spoke { stroke: rgba(243,239,230,.23); stroke-width: 1; }
#archive-radar-shape { fill: rgba(255,100,79,.2); stroke: var(--coral); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: radar-rise .8s ease-out both; }
.radar-point { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.radar-label { fill: var(--paper); font: 9px var(--sans); letter-spacing: .11em; text-transform: uppercase; }
.radar-value { fill: var(--coral); font: italic 19px var(--serif); letter-spacing: 0; }
@keyframes radar-rise { from { opacity: 0; transform: scale(.25); } to { opacity: 1; transform: scale(1); } }
.home-empty { grid-column: 1/-1; margin: 0; padding: 35px 0; color: var(--muted); font: italic 17px var(--serif); }
.favorite-feature { min-height: 320px; display: grid; grid-template-columns: minmax(0,1fr) 170px; gap: 28px; align-items: center; }
.favorite-feature > img { width: 100%; height: 320px; object-fit: cover; filter: saturate(.8); background: #111; }
.favorite-heart { display: grid; justify-items: start; gap: 7px; }
.favorite-heart svg { width: 54px; fill: var(--coral); stroke: var(--coral); }
.favorite-heart strong { font: 400 44px/1 var(--serif); }
.favorite-heart small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.album-home-list { display: grid; gap: 22px; }
.album-home-row { display: grid; grid-template-columns: 150px 1fr 28px; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.album-home-row:last-child { padding-bottom: 0; border-bottom: 0; }
.album-home-copy { display: grid; gap: 8px; }
.album-home-copy strong { color: var(--yellow); font: 700 14px/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.album-home-copy small { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.album-home-strip { height: 132px; display: flex; overflow: hidden; }
.album-home-moment { flex: 1; min-width: 0; overflow: hidden; }
.album-home-strip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .35s ease,filter .35s ease; }
.album-home-moment:hover img { filter: saturate(1); transform: scale(1.04); }
.album-home-arrow svg { width: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.2; }
.home-footer { width: var(--page); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 55px; }
.home-footer a,.home-footer button { border: 0; padding: 8px 0; background: transparent; cursor: pointer; color: var(--paper); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.home-footer a:hover,.home-footer button:hover { color: var(--coral); }
.home-shell { padding-bottom: 78px; }
.bottom-tabs { position: fixed; z-index: 35; right: 50%; bottom: 16px; width: min(390px,calc(100% - 28px)); min-height: 58px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(243,239,230,.22); background: rgba(8,8,9,.92); box-shadow: 0 14px 55px rgba(0,0,0,.46); backdrop-filter: blur(18px); transform: translateX(50%); }
.bottom-tabs a { display: grid; place-content: center; gap: 4px; color: var(--muted); text-align: center; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.bottom-tabs a span { color: var(--paper); font-size: 13px; line-height: 1; }
.bottom-tabs a:hover,.bottom-tabs a.active { color: var(--coral); }
.bottom-tabs a.active span { color: var(--coral); }

.home-menu { width: min(310px,calc(100% - 28px)); margin: 92px 42px auto auto; border: 1px solid var(--line); border-radius: 0; padding: 26px; background: rgba(8,8,9,.98); color: var(--paper); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.home-menu::backdrop { background: rgba(0,0,0,.38); }
.home-menu h2 { margin: 0 0 20px; font: 400 30px/1 var(--serif); }
.home-menu nav { display: grid; border-top: 1px solid var(--line); }
.home-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.home-menu > button:not(.home-menu-close) { margin-top: 20px; padding: 0; background: transparent; color: var(--coral); cursor: pointer; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.home-menu-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 8px; background: transparent; cursor: pointer; }
.home-menu-close svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }

@media (max-width: 980px) {
  :root { --page: calc(100% - 38px); }
  .channel-hero { grid-template-columns: minmax(270px,.7fr) minmax(430px,1.3fr); gap: 28px; }
  .hero-identity h1 { font-size: clamp(68px,9vw,92px); }
  .channel-facts strong { font-size: 8px; }
}

@media (max-width: 740px) {
  :root { --page: calc(100% - 38px); }
  .home-gate { min-height: 100svh; padding: max(27px,env(safe-area-inset-top)) 25px max(23px,env(safe-area-inset-bottom)); }
  .home-gate::before { inset: -3% -66% -3% -5%; background-position: center; background-size: auto 106%; opacity: .9; }
  .home-gate::after { background: radial-gradient(ellipse at 73% 54%,rgba(244,200,78,.13),transparent 38%),linear-gradient(90deg,rgba(8,8,9,.99),rgba(8,8,9,.76) 61%,rgba(8,8,9,.2)); }
  .gate-copy { width: 100%; align-self: end; padding: 110px 0 27px; }
  .gate-copy h1 { max-width: 345px; font-size: clamp(49px,13.6vw,57px); line-height: .93; }
  .gate-copy p { max-width: 335px; margin-top: 24px; color: rgba(243,239,230,.79); font-size: 15px; line-height: 1.55; }
  .home-join-form { grid-template-columns: 1fr; gap: 19px; margin-top: 28px; }
  .home-join-form button,.home-join-form output { grid-column: 1; }
  .home-join-form button { min-height: 56px; margin-top: 1px; }
  .gate-era { display: none; }
  .gate-note { justify-self: center; font-size: 8px; }
  .gate-note span { margin: 0 3px; }
  .home-header { min-height: 83px; grid-template-columns: 1fr auto; }
  .home-wordmark { font-size: 20px; }
  .home-nav { display: none; }
  .home-menu-trigger { width: 40px; height: 40px; border: 1px solid var(--yellow); background: transparent; color: var(--yellow); }
  .channel-hero { min-height: 0; display: flex; flex-direction: column; gap: 0; padding-top: 0; }
  .hero-identity { display: contents; }
  .hero-identity h1 { order: 1; max-width: none; margin: 58px 0 20px; text-align: center; font-size: clamp(58px,16vw,78px); line-height: .92; }
  .hero-identity > p:not(.hero-note) { order: 2; max-width: 340px; align-self: center; padding: 0 8px; text-align: center; font-size: 17px; }
  .hero-media { order: 3; min-height: 0; aspect-ratio: 1.24; margin-top: 34px; clip-path: none; border: 1px solid var(--paper); }
  .hero-actions { order: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
  .hero-actions a { min-height: 58px; gap: 12px; padding: 0 10px; font: italic 19px var(--serif); letter-spacing: normal; text-transform: none; }
  .hero-note { display: none; }
  .channel-facts { order: 5; min-height: 94px; grid-template-columns: .8fr 1.45fr .8fr; }
  .channel-facts > span { min-height: 68px; display: grid; align-content: center; justify-items: start; gap: 8px; padding-left: 12px; }
  .channel-facts svg { display: none; }
  .channel-facts strong { font: italic 13px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
  .archive-pulse { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding: 43px 0 38px; background: radial-gradient(circle at 50% 65%,rgba(255,100,79,.1),transparent 42%); }
  .archive-pulse-copy { text-align: center; }
  .archive-pulse-copy h2 { font-size: 49px; }
  .archive-pulse-copy > p:not(.eyebrow) { margin-inline: auto; padding: 0 13px; font-size: 15px; }
  .archive-pulse-summary { justify-content: center; gap: 8px 14px; }
  .archive-radar-frame { width: min(100%,430px); }
  .archive-radar-frame figcaption { padding: 0 24px; }
  .home-section { padding: 28px 0 31px; }
  .home-section-heading { grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 19px; }
  .home-section-heading h2 { font: italic 27px/1 var(--serif); letter-spacing: -.02em; text-transform: none; }
  .home-section-heading > a { gap: 8px; font-size: 8px; }
  .home-section-heading > a svg { width: 18px; }
  .moment-rail { grid-auto-columns: 44vw; gap: 8px; margin-right: calc(var(--page) * -0.05); }
  .moment-card { aspect-ratio: .82; }
  .favorite-feature { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
  .favorite-feature > img { height: auto; aspect-ratio: 1.45; }
  .favorite-heart { grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; gap: 10px; padding-top: 13px; }
  .favorite-heart svg { width: 32px; }
  .favorite-heart strong { font-size: 28px; }
  .album-home-row { grid-template-columns: 100px minmax(310px,1fr); overflow-x: auto; gap: 15px; }
  .album-home-arrow { display: none; }
  .album-home-strip { height: 125px; }
  .home-shell { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .home-footer { min-height: 90px; justify-content: space-between; gap: 15px; }
  .home-footer a,.home-footer button { font-size: 8px; }
  .bottom-tabs { bottom: max(10px,env(safe-area-inset-bottom)); }
  .home-menu { margin: max(70px,env(safe-area-inset-top)) 14px auto auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms!important; animation-duration: .01ms!important; }
}
