/* Showcase styles for the homepage (index.html) and The Otter Report (blog.html).
   Loaded after site.css. Not loaded on guide pages (guides.css uses some of the same class names). */
:root{ --unfilled:#D3CFDD; }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --unfilled:rgba(243,238,226,.18); } }
:root[data-theme="dark"]{ --unfilled:rgba(243,238,226,.18); }

body{overflow-x:hidden}
.serif-bold, .showcase h1, .showcase h2{font-family:var(--font-serif); font-weight:700; letter-spacing:-.01em}

/* Loader */
.loader{position:fixed; inset:0; z-index:100; background:#fff; display:grid; place-items:center; transition:opacity .7s ease, visibility .7s}
.loader img{width:130px; animation:vo-pulse 1.4s ease-in-out infinite}
.loader.done{opacity:0; visibility:hidden}
@keyframes vo-pulse{50%{opacity:.45; transform:scale(.97)}}

/* Pill buttons */
.pill-btn{display:inline-flex; align-items:center; gap:10px; padding:15px 30px; border-radius:var(--radius-pill); font:600 15px/1.2 var(--font-sans); text-decoration:none; border:0; cursor:pointer; transition:transform .25s, background .25s}
.pill-btn:hover{transform:translateY(-2px)}
.pill-btn svg{width:18px; height:18px; flex:none}
.pill-btn.ghost{background:rgba(255,255,255,.24); color:#fff; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px)}
.pill-btn.ghost:hover{background:rgba(255,255,255,.4)}
.pill-btn.ghost-dark{background:rgba(17,17,17,.12); color:var(--ink)}
.pill-btn.ghost-dark:hover{background:rgba(17,17,17,.2)}
.pill-btn.solid{background:var(--violet); color:#fff}
.pill-btn.solid:hover{background:var(--violet-deep)}
.pill-btn.gold{background:var(--sunset-gold); color:var(--ink)}
.pill-btn.ink{background:var(--ink); color:#fff}
.pill-btn.outline{border:2px solid var(--ink); color:var(--ink)}
.pill-btn.ig{background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.35)}

/* Homepage hero */
.hero{position:relative; height:100vh; min-height:560px; overflow:hidden; background:var(--evergreen); color:#fff}
.hero video,.hero .poster{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.hero::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(13,37,47,0) 40%, rgba(13,37,47,.72))}
.hero-copy{position:absolute; left:0; right:0; bottom:9vh; z-index:2; padding:0 5vw; display:flex; justify-content:space-between; align-items:flex-end; gap:32px; flex-wrap:wrap}
.hero h1{font-size:clamp(46px, 8vw, 120px); line-height:1; max-width:11ch}
.hero-side{max-width:360px}
.hero-side p{font-size:17px; line-height:1.6; opacity:.95}
.hero-side .actions{margin-top:20px; gap:10px}
.scroll-cue{position:absolute; left:50%; bottom:22px; z-index:2; transform:translateX(-50%); width:26px; height:42px; border:2px solid rgba(255,255,255,.8); border-radius:20px}
.scroll-cue::after{content:""; position:absolute; left:50%; top:8px; width:4px; height:8px; margin-left:-2px; background:#fff; border-radius:2px; animation:cue 1.6s infinite}
@keyframes cue{0%{opacity:0; transform:translateY(0)} 40%{opacity:1} 100%{opacity:0; transform:translateY(14px)}}
@media (max-width:700px){ .hero-copy{bottom:72px} }

/* Scroll-fill statement */
.statement{height:230vh; position:relative}
.statement .sticky{position:sticky; top:0; height:100vh; display:grid; place-items:center; padding:0 6vw}
.statement p{font-family:var(--font-serif); font-size:clamp(32px, 4.8vw, 70px); font-weight:700; line-height:1.15; text-align:center; max-width:18ch}
.statement .w{color:var(--unfilled); transition:color .25s}
.statement .w.on{color:var(--link)}

/* Big color band */
.band{min-height:100vh; background:var(--violet); color:#fff; display:grid; place-items:center; text-align:center; padding:120px 6vw}
.band h2{font-size:clamp(38px, 5.4vw, 78px); line-height:1.05; max-width:16ch; margin:0 auto 22px}
.band p{font-size:18px; line-height:1.6; max-width:560px; margin:0 auto 36px; opacity:.95}

/* Section titles and tiles */
.section-title{font-family:var(--font-serif); font-size:clamp(38px, 4.8vw, 66px); line-height:1.1; font-weight:700; text-align:center; padding:22vh 6vw 10vh; color:var(--text)}
.section-title small{display:block; font-family:var(--font-sans); font-size:17px; line-height:1.5; font-weight:400; color:var(--text-muted); margin-top:16px}
.tiles{display:grid; grid-template-columns:repeat(3, 1fr)}
.tile{position:relative; aspect-ratio:1 / 1.05; overflow:hidden; display:grid; place-items:center; text-align:center; padding:40px; color:#fff; isolation:isolate}
.tile .pattern{position:absolute; inset:0; z-index:-1; opacity:.14; background-image:radial-gradient(circle at 50% 50%, transparent 14px, currentColor 15px, currentColor 17px, transparent 18px); background-size:72px 72px; transition:transform 1.2s ease}
.tile:hover .pattern{transform:scale(1.12) rotate(4deg)}
.tile .mark{font-family:var(--font-serif); font-size:clamp(32px, 3.3vw, 48px); font-weight:700; line-height:1.05; margin-bottom:16px}
.tile .sub{font-size:16px; line-height:1.4; font-weight:500}
.tile .reveal{max-height:0; opacity:0; overflow:hidden; transition:max-height .5s ease, opacity .4s ease, margin .4s}
.tile .reveal p{font-size:15px; line-height:1.6; max-width:32ch; margin:0 auto 22px}
.tile:hover .reveal,.tile:focus-within .reveal{max-height:300px; opacity:1; margin-top:22px}
.t-violet{background:var(--violet)} .t-twilight{background:var(--twilight)} .t-gold{background:var(--sunset-gold); color:var(--ink)}
.t-evergreen{background:var(--evergreen)} .t-cream{background:var(--cream); color:var(--ink)} .t-forest{background:var(--forest)}
@media (hover:none){ .tile .reveal{max-height:none; opacity:1; margin-top:22px} }
@media (max-width:820px){ .tiles{grid-template-columns:1fr} .tile{aspect-ratio:auto; min-height:420px} }

/* About */
.about-v2{display:grid; grid-template-columns:1fr 1fr; gap:6vw; align-items:center; padding:22vh 6vw; max-width:1400px; margin:0 auto}
.about-v2 .photo{border-radius:var(--radius-lg); overflow:hidden; background:var(--cream); aspect-ratio:4/5}
.about-v2 .photo img{width:100%; height:100%; object-fit:cover}
.about-v2 h2{font-size:clamp(40px, 5vw, 72px); line-height:1; margin-bottom:28px; color:var(--link)}
.about-v2 p{font-size:17px; line-height:1.7; color:var(--text-muted); margin-bottom:18px; max-width:52ch}
.about-v2 .jls{margin-top:28px; width:auto; height:54px; background:#fff; border-radius:8px; padding:4px}
@media (max-width:820px){ .about-v2{grid-template-columns:1fr; padding:14vh 6vw} }

/* Feature cards with town tags */
.feature-wrap{position:relative; padding:14vh 6vw 20vh; background:var(--panel); color:var(--panel-text); overflow:hidden}
.feature-wrap h2{text-align:center; font-size:clamp(38px, 4.8vw, 66px); margin-bottom:8vh}
.cards{position:relative; z-index:2; display:grid; gap:28px; max-width:760px; margin:0 auto}
.card{position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:16 / 8; display:grid; place-items:center; text-align:center; color:#fff; text-decoration:none; background:var(--evergreen)}
.card .bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 1s ease}
.card:hover .bg{transform:scale(1.05)}
.card::after{content:""; position:absolute; inset:0; background:rgba(13,37,47,.35)}
.card .inner{position:relative; z-index:2; padding:24px}
.card h3{font-family:var(--font-serif); font-weight:700; font-size:clamp(36px, 4.6vw, 62px); line-height:1.1; margin-bottom:18px}
.card.c-violet{background:var(--violet)} .card.c-violet::after{display:none}
.tags{position:absolute; inset:0; pointer-events:none; z-index:1}
.tag{position:absolute; padding:10px 18px; border-radius:10px; font-weight:600; font-size:16px; line-height:1.2; color:#fff; background:var(--c); white-space:nowrap}
.tag.dark-text{color:var(--ink)}
.tag::before{content:""; position:absolute; top:50%; width:22vw; height:2px}
.tag.l::before{right:100%; background:linear-gradient(90deg, transparent, var(--c))}
.tag.r::before{left:100%; background:linear-gradient(90deg, var(--c), transparent)}
@media (max-width:1100px){ .tags{display:none} }

/* Reviews marquee */
.reviews-v2{padding:22vh 0; overflow:hidden}
.reviews-v2 h2{text-align:center; font-size:clamp(38px, 4.8vw, 66px); margin-bottom:8vh; padding:0 6vw}
.track{display:flex; gap:22px; width:max-content; animation:slide 70s linear infinite}
.reviews-v2:hover .track,.reviews-v2:focus-within .track{animation-play-state:paused}
@keyframes slide{to{transform:translateX(-50%)}}
.quote{width:400px; flex:none; margin:0; border-radius:var(--radius-lg); padding:34px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; min-height:300px}
.quote blockquote{margin:0; font-family:var(--font-serif); font-size:20px; line-height:1.5}
.quote figcaption{font-size:13px; line-height:1.4; font-weight:600; opacity:.85}
.q1{background:var(--violet); color:#fff} .q2{background:var(--cream); color:var(--ink)} .q3{background:var(--twilight); color:#fff}
.q4{background:var(--sunset-gold); color:var(--ink)} .q5{background:var(--evergreen); color:#fff} .q6{background:var(--forest); color:#fff}
@media (max-width:600px){ .quote{width:300px} }
@media (prefers-reduced-motion:reduce){ .track{animation:none} .reviews-v2{overflow-x:auto} }

/* Contact band */
.contact-v2{background:var(--violet-deep); color:#fff; padding:20vh 6vw}
.contact-v2 .inner{max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.05fr 1fr; gap:6vw; align-items:start}
.contact-v2 h2{font-size:clamp(52px, 7vw, 108px); line-height:.95; margin-bottom:26px}
.contact-v2 p{font-size:17px; line-height:1.6; opacity:.95; margin-bottom:18px}
.contact-v2 p a{color:#fff}
.contact-v2 .big-phone{display:inline-block; font-family:var(--font-serif); font-size:clamp(32px, 3.6vw, 48px); line-height:1.2; font-weight:700; margin:6px 0 22px; color:var(--sunset-gold); text-decoration:none; border-bottom:2px solid rgba(251,188,97,.5)}
.contact-v2 form{background:#fff; color:var(--ink); border-radius:var(--radius-lg); padding:34px; gap:14px}
.contact-v2 label{color:var(--ink-muted); font-size:13px; font-weight:600}
.contact-v2 label .opt-note{color:var(--ink-muted)}
.contact-v2 input,.contact-v2 textarea{background:#faf9fc; color:var(--ink); border:1px solid var(--hairline); border-radius:14px; padding:14px 18px; font-size:16px}
.contact-v2 input:focus,.contact-v2 textarea:focus{outline:2px solid var(--violet); outline-offset:1px}
.contact-v2 .form-note{color:var(--ink-muted); font-size:13px}
.contact-v2 .form-status{color:var(--violet)}
.contact-v2 .center{text-align:center; max-width:760px; margin:0 auto}
.contact-v2 .center p{max-width:50ch; margin-left:auto; margin-right:auto}
.contact-v2 .center .actions{justify-content:center}
@media (max-width:900px){ .contact-v2 .inner{grid-template-columns:1fr} }

/* Fade-up on scroll (only when JavaScript is running) */
.js .fade{opacity:0; transform:translateY(40px); transition:opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1)}
.js .fade.in{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){ .js .fade{opacity:1; transform:none; transition:none} .scroll-cue::after,.loader img{animation:none} }

/* ---------- The Otter Report ---------- */
.or-hero{position:relative; min-height:100vh; background:var(--evergreen); color:#fff; display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:4vw; padding:120px 6vw 80px; overflow:hidden}
.or-hero .eyebrow{display:inline-block; font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--sunset-gold); margin-bottom:22px}
.or-hero h1{font-size:clamp(56px, 9.5vw, 150px); line-height:.92; margin-bottom:28px}
.or-hero h1 span{display:block; color:var(--sunset-gold); font-style:italic}
.or-hero p{font-size:18px; line-height:1.6; max-width:46ch; opacity:.92; margin-bottom:34px}
.or-hero .actions{gap:12px; margin-top:0}
.or-hero .otter{position:relative; justify-self:center; width:min(100%, 460px)}
.or-hero .otter video{width:100%; height:auto; -webkit-mask-image:radial-gradient(ellipse 70% 72% at 50% 50%, #000 62%, transparent 100%); mask-image:radial-gradient(ellipse 70% 72% at 50% 50%, #000 62%, transparent 100%)}
.or-hero .bubble{position:absolute; top:6%; right:-2%; background:#fff; color:var(--ink); font-family:var(--font-serif); font-weight:700; font-size:20px; line-height:1.2; padding:14px 20px; border-radius:22px 22px 22px 6px; box-shadow:0 10px 30px rgba(0,0,0,.25); animation:bob 3.2s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-8px)}}
@media (max-width:900px){ .or-hero{grid-template-columns:1fr; padding-top:110px} .or-hero .otter{width:min(78%, 340px); order:-1} .or-hero .bubble{font-size:16px} }
@media (prefers-reduced-motion:reduce){ .or-hero .bubble{animation:none} }

.featured{padding:20vh 6vw 10vh}
.featured .label{text-align:center; font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--link); margin-bottom:18px}
.featured-card{max-width:1080px; margin:0 auto; display:grid; grid-template-columns:minmax(240px, 360px) 1fr; border-radius:var(--radius-lg); overflow:hidden; background:var(--violet); color:#fff}
.featured-card .media{position:relative; aspect-ratio:9 / 16; background:var(--evergreen)}
.featured-card .media img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 1s ease}
.featured-card:hover .media img{transform:scale(1.04)}
.featured-card .body{padding:clamp(32px, 4vw, 56px); display:flex; flex-direction:column; justify-content:center}
.featured-card .meta{font-size:13px; font-weight:600; opacity:.8; margin-bottom:14px}
.featured-card h2{font-size:clamp(34px, 4vw, 60px); line-height:1.05; margin-bottom:18px}
.featured-card p{font-size:17px; line-height:1.6; opacity:.92; margin-bottom:28px}
.featured-card .actions{gap:12px; margin-top:0}
.play{position:absolute; left:50%; top:50%; width:84px; height:84px; margin:-42px 0 0 -42px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; box-shadow:0 8px 30px rgba(0,0,0,.3); transition:transform .3s; z-index:2}
.play svg{width:30px; height:30px; margin-left:5px; fill:var(--violet)}
.featured-card:hover .play,.short-card:hover .play{transform:scale(1.08)}
@media (max-width:760px){ .featured-card{grid-template-columns:1fr} .featured-card .media{aspect-ratio:4 / 5} }

.latest-v2{padding:10vh 6vw 20vh}
.latest-head{max-width:1180px; margin:0 auto 6vh; display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap}
.latest-head h2{font-size:clamp(38px, 4.8vw, 66px); line-height:1}
.latest-head p{color:var(--text-muted); font-size:16px}
.latest-head a{color:var(--link); font-weight:600}
.shorts{max-width:1180px; margin:0 auto; display:grid; grid-template-columns:repeat(4, 1fr); gap:22px}
.short-card{display:flex; flex-direction:column; gap:14px}
.short-card .frame{position:relative; aspect-ratio:9 / 16; border-radius:22px; overflow:hidden; background:var(--evergreen); cursor:pointer; border:0; padding:0; width:100%}
.short-card .frame img{width:100%; height:100%; object-fit:cover; transition:transform .8s ease}
.short-card:hover .frame img{transform:scale(1.05)}
.short-card .frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.short-card .frame .play{width:64px; height:64px; margin:-32px 0 0 -32px}
.short-card .frame .play svg{width:24px; height:24px}
.short-card .series{align-self:flex-start; font-size:12px; line-height:1.3; font-weight:600; padding:6px 12px; border-radius:var(--radius-pill); color:#fff; background:var(--c)}
.short-card h3{font-family:var(--font-serif); font-weight:700; font-size:20px; line-height:1.25; color:var(--text)}
@media (max-width:1000px){ .shorts{grid-template-columns:repeat(2, 1fr)} }
@media (max-width:520px){ .shorts{gap:14px} .short-card h3{font-size:16px} }
.tile button.pill-btn{font-family:var(--font-sans)}

.posts-wrap{padding:18vh 6vw 20vh; background:var(--panel); color:var(--panel-text)}
.posts-wrap h2{text-align:center; font-size:clamp(38px, 4.8vw, 66px); margin-bottom:4vh}
.filters{display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:16px}
.filters button{font:500 14px var(--font-sans); padding:10px 18px; border-radius:var(--radius-pill); border:1px solid var(--hairline); background:var(--bg); color:var(--text); cursor:pointer; transition:.2s}
.filters button:hover{border-color:var(--violet)}
.filters button[aria-pressed="true"]{background:var(--violet); border-color:var(--violet); color:#fff}
.posts-wrap .pillar-note{text-align:center; color:var(--text-muted); min-height:1.6em; margin-bottom:6vh; font-size:15px}
.post-grid{max-width:1180px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:24px}
.post-card{background:var(--bg); color:var(--text); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; text-decoration:none; transition:transform .3s, box-shadow .3s}
.post-card:hover{transform:translateY(-4px); box-shadow:0 16px 40px rgba(13,37,47,.12)}
.post-card img{aspect-ratio:16/9; width:100%; object-fit:cover}
.post-card .body{padding:26px}
.post-card .meta{font-size:13px; font-weight:600; color:var(--link); margin-bottom:10px}
.post-card h3{font-family:var(--font-serif); font-weight:700; font-size:24px; line-height:1.2; margin-bottom:10px}
.post-card p{font-size:15px; line-height:1.6; color:var(--text-muted)}
.empty-v2{max-width:560px; margin:0 auto; text-align:center; background:var(--bg); color:var(--text); border-radius:var(--radius-lg); padding:44px 34px; display:none; flex-direction:column; align-items:center; gap:16px}
.empty-v2 img{width:110px}
.empty-v2 h3{font-family:var(--font-serif); font-weight:700; font-size:28px; line-height:1.2}
.empty-v2 p{color:var(--text-muted); line-height:1.6}

.subscribe{background:var(--sunset-gold); color:var(--ink); padding:16vh 6vw; display:grid; grid-template-columns:auto 1fr; gap:5vw; align-items:center; justify-content:center}
.subscribe img{width:clamp(150px, 18vw, 240px)}
.subscribe h2{font-size:clamp(42px, 6vw, 92px); line-height:.95; margin-bottom:20px}
.subscribe p{font-size:18px; line-height:1.6; max-width:44ch; margin-bottom:30px}
.subscribe .actions{gap:12px; margin-top:0}
@media (max-width:760px){ .subscribe{grid-template-columns:1fr} }
