/* Approved October 30 homepage. Scope every rule to the public homepage. */
body[data-page=home]{background:#fff;color:#241329}
body[data-page=home] #main-content{margin:0;padding:0}
body[data-page=home] #home.home-scene{position:relative;isolation:isolate;min-height:calc(100svh - 65px);height:max(1250px,72vw);overflow:hidden;color:#fffdf8}
body[data-page=home] #home.home-scene::before,body[data-page=home] #home.home-scene::after{content:none;background:none}
body[data-page=home] #home .home-photograph{position:absolute;inset:0;z-index:-2;display:block}
body[data-page=home] #home .hero-background{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:0}
body[data-page=home] #home .home-page{position:absolute;inset:0;max-width:none;width:100%;margin:0;padding:0}
body[data-page=home] #home .home-hero{display:block;position:absolute;top:10%;left:7%;width:86%;min-height:0;padding:0;margin:0}
body[data-page=home] #home .home-hero-copy{position:relative;isolation:isolate;max-width:760px}
body[data-page=home] #home .home-hero-copy::before{content:'';position:absolute;inset:-35px -35px -20px -60px;background:radial-gradient(ellipse at center,#fff4e699 0%,#fff4e64d 35%,transparent 70%);z-index:-1;pointer-events:none}
body[data-page=home] #home .home-hero h1{font:700 clamp(54px,6.2vw,86px)/.99 Georgia,'Times New Roman',serif;letter-spacing:-3.5px;color:#23002f;text-shadow:none;margin:0 0 26px}
body[data-page=home] #home .home-hero h1 em{color:inherit;white-space:nowrap;font-weight:700;font-style:italic}
body[data-page=home] #home .home-lede{max-width:none;margin:0 0 24px;font:400 clamp(18px,1.8vw,24px)/1.35 Arial,Helvetica,sans-serif;color:#211b24;text-shadow:none}
body[data-page=home] #home .home-actions{display:grid;grid-template-columns:max-content max-content;align-items:center;justify-content:start;gap:12px 28px}
body[data-page=home] .home-account-actions{display:contents}
body[data-page=home] #home .home-actions .btn{grid-column:1;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:54px;border:0;border-radius:9px;padding:12px 25px;background:#6e4e73;color:#fff;font:400 21px/1.2 Arial,Helvetica,sans-serif;box-shadow:none;text-decoration:none}
body[data-page=home] #home .home-actions .btn:hover{background:#553b59}
body[data-page=home] #home .home-actions .btn span{font-size:26px;line-height:1}
body[data-page=home] #home .hero-browse{grid-column:2;grid-row:1;display:inline-flex;align-items:center;min-height:44px;padding:7px 0;color:#200e3a;text-shadow:none;font:600 18px/1.25 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:4px}
body[data-page=home] #home .hero-login{grid-column:1/-1;grid-row:2;justify-self:start;display:inline-flex;align-items:center;min-height:44px;padding:0;color:#261d2f;text-shadow:none;font:400 16px/1.3 Arial,Helvetica,sans-serif;text-decoration:none}
body[data-page=home] #home .hero-login span{margin-left:5px;text-decoration:underline;text-underline-offset:3px}
body[data-page=home] #home .home-journey{position:absolute;z-index:1;left:50%;top:79%;transform:translateX(-50%);width:86%;max-width:980px;padding:0;margin:0;color:#3b1846;text-align:center;isolation:isolate;scroll-margin-top:20px}
body[data-page=home] #home .home-journey::before{content:'';position:absolute;z-index:-1;inset:-22px -9% -22px;background:radial-gradient(ellipse closest-side at center,rgba(255,242,230,.18) 0%,rgba(255,242,230,.12) 45%,transparent 100%);pointer-events:none}
body[data-page=home] .home-journey-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
body[data-page=home] .home-journey-steps li{position:relative;min-width:0;padding:0;text-align:center}
body[data-page=home] .home-journey-icon{display:flex;align-items:center;justify-content:center;--journey-icon-height:24px;height:54px;margin:0 0 9px;background:none;border:0;border-radius:0}
body[data-page=home] .home-journey-icon img{display:block;object-fit:contain;width:auto;height:var(--journey-icon-height);max-width:100%}
body[data-page=home] .home-journey-icon img[src$="community-rays.svg"]{height:var(--journey-icon-height)}
body[data-page=home] .home-journey-icon .journey-wordmark{font:800 25px/1 Arial,Helvetica,sans-serif;letter-spacing:-1.3px;color:#2b2330;white-space:nowrap}
body[data-page=home] .home-journey-icon .journey-wordmark em{color:#6e4e73;font-style:italic}
body[data-page=home] .home-journey-steps h2{margin:0 0 4px;font:700 29px/1.15 Georgia,'Times New Roman',serif;letter-spacing:0;color:inherit}
body[data-page=home] .home-journey-steps p{margin:0;font:400 17px/1.25 Arial,Helvetica,sans-serif;color:inherit;text-shadow:0 1px 3px #28110c66}
body[data-page=home] .journey-chevron{position:absolute;top:7px;right:-18px;width:18px;color:#3b1846;font:400 38px/1 Arial,Helvetica,sans-serif}
body[data-page=home] .repeat-hang{width:88%;max-width:800px;margin:12px auto 0}
body[data-page=home] .repeat-hang img{display:block;width:100%;height:auto;max-height:70px}
body[data-page=home] .repeat-hang p{margin:-3px -5% 0;font:700 italic 23px/1.25 Georgia,'Times New Roman',serif;letter-spacing:0;color:#3b1846;text-shadow:0 1px 2px #fff4e650}
body[data-page=home] :is(a,button):focus-visible{outline:3px solid #5c1b71;outline-offset:4px}
body[data-page=home] .home-journey :is(a,button):focus-visible{outline-color:#fff}
@media(max-width:1000px) and (min-width:761px){
 body[data-page=home] #home.home-scene{height:1250px}
 body[data-page=home] #home .home-hero{top:14%}
 body[data-page=home] #home .home-hero h1{font-size:64px}
 body[data-page=home] #home .home-journey{top:79%}
}
@media(max-width:760px){
 body[data-page=home] #home.home-scene{height:169vw}
 body[data-page=home] #home .home-hero{top:5%;left:7%;width:86%;padding:0}
 body[data-page=home] #home .home-hero-copy{max-width:none}
 body[data-page=home] #home .home-hero-copy::before{content:none}
 body[data-page=home] #home .home-hero h1{font-size:9.5vw;line-height:.99;letter-spacing:-.48vw;margin:0 0 4vw}
 body[data-page=home] #home .home-lede{font-size:3.8vw;line-height:1.3;margin:0 0 3.7vw;letter-spacing:-.07vw}
 body[data-page=home] #home .home-actions{gap:6px 4vw}
 body[data-page=home] #home .home-actions .btn{min-height:44px;border-radius:8px;padding:10px 4vw;gap:3vw;font-size:3.9vw}
 body[data-page=home] #home .home-actions .btn span{font-size:5vw}
 body[data-page=home] #home .hero-browse{font-size:3.5vw;min-height:44px;padding:6px 0}
 body[data-page=home] #home .hero-login{font-size:3.15vw;min-height:44px}
 body[data-page=home] #home .home-journey{top:73.5%;width:86%;max-width:none}
 body[data-page=home] .home-journey-steps{gap:3vw}
 body[data-page=home] .home-journey-icon{--journey-icon-height:5.1vw;height:5.9vw;margin-bottom:1.8vw}
 body[data-page=home] .home-journey-icon img{height:var(--journey-icon-height);width:auto}
 body[data-page=home] .home-journey-icon .journey-wordmark{font-size:4.9vw;letter-spacing:-.2vw}
 body[data-page=home] .home-journey-steps h2{font-size:4.5vw;line-height:1.1;margin:0 0 1vw}
 body[data-page=home] .home-journey-steps p{font-size:3.32vw;line-height:1.2;letter-spacing:-.03vw}
 body[data-page=home] .journey-chevron{top:.35vw;right:-3vw;width:3vw;font-size:6.5vw}
 body[data-page=home] .repeat-hang{width:88%;margin-top:1.4vw}
 body[data-page=home] .repeat-hang img{max-height:8vw}
 body[data-page=home] .repeat-hang p{margin:-.7vw -12% 0;font-size:4.05vw;line-height:1.2}
}

/* The production header rules in site-header.css intentionally remain authoritative. */
body[data-page=home] .home-journey-steps p{color:#46234e;text-shadow:0 1px 2px #fff4e640}
body[data-page=home] .home-journey-icon img[src$="community-rays.svg"]{height:var(--journey-icon-height);width:auto}
body[data-page=home] .hero-login a{color:inherit;text-decoration:underline;text-underline-offset:3px;margin-left:5px}
body[data-page=home] .beach-audio{position:absolute;right:3.5%;bottom:2.5%;z-index:5;display:grid;place-items:center;width:44px;height:44px;padding:11px;border:0;border-radius:50%;background:#6e4e7399;color:white;cursor:pointer}
body[data-page=home] .beach-audio svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body[data-page=home] .beach-audio [data-sound-on]{display:none}
body[data-page=home] .beach-audio[aria-pressed=true] [data-sound-on]{display:block}
body[data-page=home] .beach-audio[aria-pressed=true] [data-sound-off]{display:none}

body[data-page=home] .site-header .site-menu-toggle{color:#000}
@media(max-width:760px){body[data-page=home] .beach-audio{bottom:.5%;width:32px;min-width:32px;height:32px;min-height:32px;padding:6px}}
@media(min-width:761px) and (max-width:900px){body[data-page=home] #home.home-scene{height:179.8vw}body[data-page=home] #home .home-hero{top:8.2%}body[data-page=home] #home .home-journey{top:77%}}
@media(max-width:340px){body[data-page=home] #home.home-scene{height:169vw}body[data-page=home] #home .home-journey{top:72%}}

@media(min-width:761px) and (max-width:900px){body[data-page=home] .beach-audio{bottom:1%}}

body[data-page=home] #home .hero-login{margin:0}
@media(max-width:900px){body[data-page=home] #home .hero-background{object-position:50% 100%}}

@media(max-width:340px){body[data-page=home] #home .home-hero{top:4%}}

/* Final mobile polish: photo-only treatment, including its masked fire pixels. */
body[data-page=home] #home .hero-background{filter:saturate(.875)}

/* A1: compact marks and infinity return loop. Header, photo geometry and hero stay unchanged. */
body[data-page=home] #home .home-journey{top:auto;bottom:6%;width:76%;max-width:820px}
body[data-page=home] #home .home-journey::before{content:none}
body[data-page=home] .home-journey-steps{gap:18px;align-items:center}
body[data-page=home] .home-journey-icon{height:54px;margin:0;--journey-icon-height:44px}
body[data-page=home] .home-journey-icon img[src$="community-rays.svg"]{height:42px}
body[data-page=home] .home-journey-icon .journey-wordmark{font-size:26px}
body[data-page=home] .journey-chevron{top:50%;transform:translateY(-50%);font-size:28px}
body[data-page=home] .repeat-hang{width:92%;max-width:none;margin:3px auto 0}
body[data-page=home] .repeat-loop{display:block;width:100%;height:auto;color:#6e4e73;overflow:visible}
body[data-page=home] .repeat-hang p{margin:8px -6% 0;font:500 italic 23px/1.25 Georgia,'Times New Roman',serif;color:#3b1846;text-shadow:none}
@media(max-width:900px){
 body[data-page=home] #home .home-journey{top:auto;bottom:5%;width:76%;max-width:none}
 body[data-page=home] .home-journey-steps{gap:3vw}
 body[data-page=home] .home-journey-icon{height:8vw;--journey-icon-height:7vw}
 body[data-page=home] .home-journey-icon img[src$="community-rays.svg"]{height:7.3vw}
 body[data-page=home] .home-journey-icon .journey-wordmark{font-size:3.4vw;letter-spacing:-.15vw}
 body[data-page=home] .journey-chevron{right:-3vw;width:3vw;font-size:4.7vw}
 body[data-page=home] .repeat-hang{margin-top:1vw}
 body[data-page=home] .repeat-hang p{margin:1.1vw -8% 0;font-size:3.25vw;white-space:nowrap}
}

/* Final approved localized ivory separation; sand remains visible between marks. */
body[data-page=home] .home-journey-icon{position:relative;isolation:isolate}
body[data-page=home] .home-journey-icon::before{content:'';position:absolute;z-index:-1;inset:-12px -8px;background:radial-gradient(ellipse at center,rgba(255,253,241,.19),rgba(255,253,241,.08) 38%,transparent 72%);pointer-events:none}
body[data-page=home] .home-journey-icon img[src$="community-rays.svg"]{height:var(--journey-icon-height)}
body[data-page=home] .repeat-hang p{position:relative;isolation:isolate}
body[data-page=home] .repeat-hang p::before{content:'';position:absolute;z-index:-1;inset:-8px -12px;background:radial-gradient(ellipse at center,rgba(255,253,241,.18),rgba(255,253,241,.07) 40%,transparent 73%);pointer-events:none}
@media(max-width:900px){body[data-page=home] .home-journey-icon::before{inset:-2vw -1vw}body[data-page=home] .repeat-hang p::before{inset:-1.5vw -2vw}}

/* Flame-only alpha frames. Position and source photograph never animate. */
body[data-page=home] .bonfire-flames{position:absolute;z-index:0;pointer-events:none;opacity:.72;mask-image:linear-gradient(transparent,black 12%,black 76%,transparent 98%)}
body[data-page=home] .bonfire-flames[hidden]{display:none}
body[data-page=home] .bonfire-flames img{display:block;width:100%;height:100%;object-fit:fill}
@media(prefers-reduced-motion:reduce){body[data-page=home] .bonfire-flames{display:none}}

/* Five acceptance corrections; header, picture geometry, marks and loop are unchanged. */
body[data-page=home]{--home-serif:Georgia,'Times New Roman',serif;--home-sans:Arial,Helvetica,sans-serif}
body[data-page=home] #home .home-hero h1,body[data-page=home] .repeat-hang p{font-family:var(--home-serif)}
body[data-page=home] #home :is(.home-lede,.home-actions a){font-family:var(--home-sans)}
body[data-page=home] #home .home-hero-copy::before{content:none}
body[data-page=home] #home .hero-browse,body[data-page=home] #home .hero-browse:is(:hover,:active,:focus){background:transparent;background-image:none;box-shadow:none;font-weight:400;color:#3b1846}
body[data-page=home] #home .hero-browse:focus-visible{outline:3px solid #5c1b71;outline-offset:4px}
body[data-page=home] .home-journey-icon::before{inset:-15px -12px;background:radial-gradient(ellipse at center,rgba(255,249,232,.625),rgba(255,249,232,.28125) 40%,transparent 74%)}
body[data-page=home] .repeat-hang p::before{inset:-10px -14px;background:radial-gradient(ellipse at center,rgba(255,249,232,.5625),rgba(255,249,232,.25) 42%,transparent 75%)}
body[data-page=home] .repeat-hang p{font-size:26.4px;font-weight:500}
body[data-page=home] .flame-correction{position:absolute;z-index:0;pointer-events:none;visibility:hidden;border-radius:0}
body[data-page=home] .flame-clean-plate{filter:saturate(.875)}
body[data-page=home] .orange-flame-tongues{opacity:.94;mask-image:linear-gradient(transparent,black 10%,black 82%,transparent)}
@media(max-width:900px){body[data-page=home] .repeat-hang p{font-size:3.96vw}body[data-page=home] .home-journey-icon::before{inset:-2.5vw -1.7vw}body[data-page=home] .repeat-hang p::before{inset:-1.8vw -2.2vw}}
@media(prefers-reduced-motion:reduce){body[data-page=home] .flame-correction{display:none}}

body[data-page=home] .orange-flame-tongues{object-fit:contain;object-position:center bottom}
body[data-page=home] #home :is(.home-hero h1,.home-lede,.home-actions a),body[data-page=home] .repeat-hang p{font-synthesis:none}

/* Founder polish: account/browse copy has one shared responsive size. */
body[data-page=home]{--home-account-size:18px}
body[data-page=home] #home :is(.hero-browse,.hero-login,.hero-login a,.hero-login span){font-size:var(--home-account-size);font-family:var(--home-sans);font-weight:400}
@media(max-width:760px){body[data-page=home]{--home-account-size:3.5vw}}

/* Mobile viewport fit: preserve approved composition, with a readable short-screen floor. */
@media(max-width:600px){
 body[data-page=home] .site-header.branding-header .site-header-inner{padding-top:calc(8px + env(safe-area-inset-top,0px));min-height:calc(64px + env(safe-area-inset-top,0px))}
 body[data-page=home] #home.home-scene{height:max(calc(max(560px,150vw) + env(safe-area-inset-bottom,0px)),calc(100dvh - 65px - env(safe-area-inset-top,0px)));min-height:calc(max(560px,150vw) + env(safe-area-inset-bottom,0px))}
 body[data-page=home] #home .home-hero{top:clamp(12px,4dvh,36px)}
 body[data-page=home] #home .home-lede{font-size:max(14px,3.8vw)}
 body[data-page=home] #home .home-actions .btn{font-size:max(14px,3.9vw)}
 body[data-page=home]{--home-account-size:max(14px,3.5vw)}
 body[data-page=home] .repeat-hang p{font-size:max(14px,3.96vw)}
 body[data-page=home] #home .home-journey{bottom:calc(50px + env(safe-area-inset-bottom,0px))}
 body[data-page=home] .beach-audio{width:44px;min-width:44px;height:44px;min-height:44px;right:max(3.5%,env(safe-area-inset-right,0px));bottom:calc(4px + env(safe-area-inset-bottom,0px))}
}

/* Short phones retain the standard portrait canvas rather than compressing it. */
@media(max-width:600px) and (max-height:760px){
 body[data-page=home] #home.home-scene{min-height:calc(200vw + env(safe-area-inset-bottom,0px))}
 body[data-page=home] #home .home-hero{top:clamp(12px,8.7vw,36px)}
}
@media(max-width:600px){body[data-page=home] #home .hero-login a{display:inline-flex;align-items:center;min-width:44px;min-height:44px}}

/* Text-only contrast: no backing surface or broad blur. */
body[data-page=home] #home :is(.hero-browse,.hero-login,.hero-login a,.hero-login span){font-weight:500;text-shadow:0 0 1px rgba(255,248,235,.8)}
body[data-page=home] #home a.hero-browse{font-weight:600;text-decoration-thickness:1.5px;text-underline-offset:3px}

/* Desktop has its own landscape composition; approved mobile remains unchanged. */
@media(min-width:1001px){
 body[data-page=home] #home.home-scene{height:calc(100dvh - var(--desktop-header-height,65px));min-height:calc(445px + 26vw)}
 body[data-page=home] #home .hero-background{object-position:50% var(--desktop-photo-top,50%)}
 body[data-page=home] #home :is(.bonfire-flames,.flame-correction){transform:translateY(var(--desktop-flame-shift,0px))}
 body[data-page=home] #home .home-hero{top:14px}
 body[data-page=home] #home .home-hero-copy{max-width:100%}
 body[data-page=home] #home .home-hero h1{margin-bottom:10px}
 body[data-page=home] #home .home-lede{margin-bottom:10px}
 body[data-page=home] #home .home-lede br{display:none}
 body[data-page=home] #home .home-actions{row-gap:4px}
 body[data-page=home] #home .home-journey{bottom:12px;width:520px;max-width:70%}
 body[data-page=home] .home-journey-icon{height:32px;--journey-icon-height:32px}
 body[data-page=home] .home-journey-icon .journey-wordmark{font-size:26px}
 body[data-page=home] .repeat-hang{margin-top:0}
 body[data-page=home] .repeat-loop{height:40px}
 body[data-page=home] .repeat-hang p{margin-top:2px}
 body[data-page=home] .beach-audio{bottom:12px}
}

/* Short desktop: scale the foreground together, preserving the continuous photo.
   Keep 44px controls; allow scrolling below the proportional composition floor. */
@media(min-width:1001px){
 body[data-page=home].homepage-fit .site-header.branding-header .site-header-inner{min-height:56px;padding-block:4px}
 body[data-page=home].homepage-fit .site-header.branding-header :is(.site-brand,.sf-wordmark){font-size:22px!important}
 body[data-page=home].homepage-fit #home.home-scene{min-height:calc(222.5px + 26vw)}
 body[data-page=home].homepage-fit #home .home-hero{top:8px}
 body[data-page=home].homepage-fit #home .home-hero h1{font-size:43px;letter-spacing:-1.75px;margin-bottom:6px}
 body[data-page=home].homepage-fit #home .home-lede{font-size:16px;margin-bottom:6px}
 body[data-page=home].homepage-fit #home .home-actions{row-gap:0;column-gap:20px}
 body[data-page=home].homepage-fit #home .home-actions .btn{font-size:16px;min-height:44px;padding:10px 16px;gap:12px}
 body[data-page=home].homepage-fit #home .home-actions .btn span{font-size:22px}
 body[data-page=home].homepage-fit #home :is(.hero-browse,.hero-login,.hero-login a){font-size:14px;min-height:44px}
 body[data-page=home].homepage-fit #home .hero-login{align-items:flex-start;line-height:20px}
 body[data-page=home].homepage-fit #home .hero-login a{display:inline-flex;align-items:flex-start;line-height:20px}
 body[data-page=home].homepage-fit #home .home-journey{width:340px;bottom:10px}
 body[data-page=home].homepage-fit .home-journey-icon{height:20px;--journey-icon-height:20px}
 body[data-page=home].homepage-fit .home-journey-icon .journey-wordmark{font-size:18px;letter-spacing:-.8px}
 body[data-page=home].homepage-fit .journey-chevron{font-size:20px}
 body[data-page=home].homepage-fit .repeat-loop{height:20px}
 body[data-page=home].homepage-fit .repeat-hang p{font-size:16px;line-height:1.25;margin-top:2px}
}

/* Founder-approved desktop-only login spacing. Mobile remains unchanged. */
@media(min-width:1001px){body[data-page=home] #home .hero-login{margin-top:8px}}

/* Mobile revision: original proportions, 15% smaller headline and 20% smaller gaps.
   Equal outer margins replace the rejected compact treatment. */
@media(max-width:600px){
 body[data-page=home].homepage-mobile-balanced #home.home-scene{--mobile-edge-gap:48px;height:calc(100dvh - var(--mobile-header-height,65px));min-height:calc(max(700px,180px + 132vw) + env(safe-area-inset-bottom,0px))}
 body[data-page=home].homepage-mobile-balanced #home .home-hero{top:var(--mobile-edge-gap)}
 body[data-page=home].homepage-mobile-balanced #home .home-hero h1{font-size:8.075vw;margin-bottom:3.2vw}
 body[data-page=home].homepage-mobile-balanced #home .home-lede{margin-bottom:2.96vw}
 body[data-page=home].homepage-mobile-balanced #home .home-actions{row-gap:4.8px;column-gap:3.2vw}
 body[data-page=home].homepage-mobile-balanced #home .home-journey{bottom:calc(var(--mobile-edge-gap) + env(safe-area-inset-bottom,0px))}
 body[data-page=home].homepage-mobile-balanced #home .hero-background{object-position:50% var(--mobile-photo-top,100%)}
 body[data-page=home].homepage-mobile-balanced #home :is(.bonfire-flames,.flame-correction){transform:translateY(var(--mobile-flame-shift,0px))}
 /* Members have one opaque CTA rather than the two additional guest text links. */
 html[data-session=member] body[data-page=home].homepage-mobile-balanced #home.home-scene{min-height:calc(max(560px,130px + 120vw) + env(safe-area-inset-bottom,0px))}
}
