/* JustIn1Shoot sites. Deploy copies this into each site's assets/ folder.
   The look comes from the logo: one unbroken line, pine green on linen, a gold flag.
   Golf pages sit on pine (body.golf); homes pages and the hub sit on linen. */
:root{
  --pine:#0f2a1d; --fairway:#1d4a33; --moss:#3d6b52; --linen:#f8f4ea; --sand:#ece5d3;
  --gold:#c9a45f; --gold-deep:#8f6d2c; --ink:#16201a; --muted:#56635a; --rule:#d8d0bc;
  --bg:var(--linen); --fg:var(--ink); --soft:var(--muted); --line:var(--rule); --panel:#fffdf7;
  --brand:var(--fairway); --on-brand:var(--linen);
  /* Keyboard focus ring: deep gold on linen (4.3:1), bright gold on pine and footage */
  --focus:var(--gold-deep);
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua","URW Palladio L",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --measure:62ch; --wide:1160px;
}
body.golf{--bg:var(--pine); --fg:var(--linen); --soft:#b9c7bb; --line:#2c4a3a; --panel:#13351f;
  --brand:var(--gold); --on-brand:var(--pine); --focus:var(--gold)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--fg);font:400 18px/1.65 var(--sans)}
img,video,iframe,canvas,svg{max-width:100%;display:block}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-color:var(--gold)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-999px;top:8px;background:var(--fg);color:var(--bg);padding:8px 14px;z-index:20}
.skip:focus{left:12px}
.wrap{max-width:var(--wide);margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:var(--serif);font-weight:500;letter-spacing:-.01em;line-height:1.08;margin:0;text-wrap:balance}
h1{font-size:clamp(40px,6.2vw,84px);max-width:17ch}
h2{font-size:clamp(30px,3.6vw,46px);max-width:20ch;margin-bottom:14px}
h3{font-size:24px;line-height:1.2}
/* Only the old hero heading: the film's first-screen h1 and the plain pages' h1 keep their own sizes */
body.homes .hero h1{font-size:clamp(38px,5.2vw,68px);max-width:21ch}
p{margin:0 0 1em;max-width:var(--measure)}
.lead{font-size:clamp(19px,1.6vw,22px);color:var(--soft);max-width:54ch}

/* Header */
header.top{position:sticky;top:0;z-index:10;background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:saturate(1.2) blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;height:68px;gap:20px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:var(--serif);font-size:21px;white-space:nowrap}
.brand img{height:40px;width:40px;border-radius:8px;background:var(--linen)}
nav{display:flex;gap:26px;font-size:15px}
nav a{text-decoration:none;color:var(--soft)}
nav a:hover{color:var(--fg)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;
  background:var(--brand);color:var(--on-brand);border:1.5px solid var(--brand);border-radius:4px;
  font:600 16px/1 var(--sans);text-decoration:none;cursor:pointer;transition:background .2s,color .2s}
.btn:hover{background:transparent;color:var(--brand)}
.btn.ghost{background:transparent;color:var(--fg);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--fg)}
.ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

/* Hero */
.hero{padding:clamp(64px,9vw,120px) 0 clamp(48px,6vw,80px)}
.hero .lead{margin-top:26px}
.offer{margin-top:22px;font-size:15px;color:var(--soft)}
.offer::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--gold);margin-right:10px;vertical-align:1px}

/* The film: the website footage fixed behind the whole page, playing as you scroll
   (scroll.js + scroll.json). The page is built inside it: every section is a
   glass panel floating over the footage. Without footage it is a still pine sky. */
body.cine{background:#08180f;color:#fff;--fg:#fff;--soft:rgba(255,255,255,.76);--line:rgba(255,255,255,.18);
  --brand:var(--gold);--on-brand:var(--pine);--panel:rgba(255,255,255,.06);--focus:var(--gold)}
.backdrop{position:fixed;inset:0;z-index:0;background:#0b2117 radial-gradient(120% 90% at 70% 15%,#1d4a33 0%,#0f2a1d 55%,#06140c 100%);
  background-size:cover;background-position:center}
.backdrop canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity 1s}
.backdrop.playing canvas{opacity:1}
.backdrop.still-poster .shade{background:linear-gradient(to top,rgba(4,12,8,.6),rgba(4,12,8,.15) 60%)}
.backdrop .shade{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgba(4,12,8,.55) 0%,rgba(4,12,8,.08) 40%,rgba(4,12,8,0) 60%),
             linear-gradient(to bottom,rgba(4,12,8,.5) 0%,rgba(4,12,8,0) 16%)}
body.cine main,body.cine footer{position:relative;z-index:1}
body.cine header.top{position:fixed;left:0;right:0;top:0;z-index:10;background:transparent;border-color:transparent;
  backdrop-filter:none;-webkit-backdrop-filter:none;color:#fff;transition:background .4s,border-color .4s}
body.cine header.top.scrolled{background:rgba(6,16,11,.38);border-color:rgba(255,255,255,.1);
  backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2)}
body.cine header.top nav a{color:rgba(255,255,255,.82)}
body.cine header.top nav a:hover{color:#fff}
body.cine header.top .pill{border-color:rgba(255,255,255,.7);color:#fff}
header.top .wrap{position:relative}
body.cine header.top .wrap{max-width:none;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
.pill{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1.5px solid var(--line);border-radius:999px;
  text-decoration:none;font:600 14px/1 var(--sans);white-space:nowrap}
.pill:hover{border-color:var(--gold)}

/* First screen: the title over the footage */
.film .screen{position:relative;height:100vh;height:100svh;min-height:540px;display:flex;flex-direction:column;justify-content:flex-end}
.film .over{padding-bottom:clamp(28px,5vh,56px)}
.film .over .wrap{max-width:none;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px));
  display:flex;flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:24px 48px}
.film .title{min-width:0}
.film h1{font:500 clamp(17px,1.5vw,21px)/1.45 var(--sans);letter-spacing:0;max-width:36ch;margin:0 0 14px;color:rgba(255,255,255,.92);text-wrap:balance}
.wordmark{margin:0;max-width:none;font-family:"Archivo",var(--sans);font-weight:800;font-stretch:125%;
  font-size:clamp(48px,7.4vw,156px);line-height:.86;letter-spacing:-.025em;color:#fff;white-space:nowrap}
.film .side{display:flex;flex-direction:column;align-items:flex-end;gap:12px;padding-bottom:6px;flex:none}
.facts{display:flex;gap:clamp(18px,2.6vw,40px)}
.facts div{display:flex;flex-direction:column;min-width:0}
.facts strong{font:500 clamp(22px,2vw,30px)/1 var(--serif);color:#fff}
.facts span{font-size:14px;line-height:1.3;color:rgba(255,255,255,.75);max-width:13ch;margin-top:6px}
.film-caption{font-size:14px;color:rgba(255,255,255,.85);margin:0;max-width:44ch;text-align:right}

/* Every section after it: a glass panel over the footage, with the film showing between */
body.cine section.block,body.cine .intro{border-top:0;padding:18vh 0}
body.cine section.block>.wrap,body.cine .intro>.wrap{background:rgba(6,18,12,.5);border:1px solid rgba(255,255,255,.12);
  border-radius:10px;padding:clamp(28px,4.5vw,64px);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);
  max-width:1080px}
body.cine.homes section.block>.wrap,body.cine.homes .intro>.wrap{background:rgba(248,244,234,.84);border-color:rgba(255,255,255,.5);color:var(--ink);
  --fg:var(--ink);--soft:var(--muted);--line:var(--rule);--brand:var(--fairway);--on-brand:var(--linen);--panel:#fffdf7;--focus:var(--gold-deep)}
body.cine .intro .lead{font-size:clamp(20px,1.9vw,26px);line-height:1.5;color:var(--fg);max-width:44ch}
body.cine .intro .ctas{margin-top:28px}
body.cine .honest{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
body.cine footer{border-top:0;padding:10vh 0 0}
body.cine footer .wrap{background:rgba(6,18,12,.62);border-radius:10px 10px 0 0;padding:32px clamp(24px,4vw,48px);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:rgba(255,255,255,.8);max-width:1080px}
body.cine .steps li{border-top-color:var(--fg)}
body.cine .menu{border-top-color:var(--fg)}

/* Once the footage is playing (.has-film), the panels disappear: the text sits
   straight on the film, white with a soft shadow, over a gentle overall dim. */
.has-film .backdrop .shade{background:
  linear-gradient(to top,rgba(4,12,8,.6) 0%,rgba(4,12,8,.1) 40%,rgba(4,12,8,0) 60%),
  linear-gradient(to bottom,rgba(4,12,8,.5) 0%,rgba(4,12,8,0) 16%),
  rgba(4,12,8,.32)}
.has-film body.cine section.block>.wrap,.has-film body.cine .intro>.wrap,
.has-film body.cine.homes section.block>.wrap,.has-film body.cine.homes .intro>.wrap,
.has-film body.cine footer .wrap{background:transparent;border-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.has-film body.cine.homes section.block>.wrap,.has-film body.cine.homes .intro>.wrap{color:#fff;
  --fg:#fff;--soft:rgba(255,255,255,.8);--line:rgba(255,255,255,.3);--brand:var(--gold);--on-brand:var(--pine);--panel:rgba(255,255,255,.06);--focus:var(--gold)}
.has-film body.cine main,.has-film body.cine footer{text-shadow:0 1px 2px rgba(0,0,0,.35),0 2px 22px rgba(0,0,0,.45)}
.has-film body.cine .btn{text-shadow:none}
.has-film body.cine .steps li::before{color:var(--gold)}

/* Text reveals (scroll.js adds .rv; nothing is hidden without it) */
.rv [data-r]{opacity:0;transform:translateY(28px);filter:blur(6px);
  transition:opacity .9s cubic-bezier(.2,.7,.2,1) var(--d,0s),transform .9s cubic-bezier(.2,.7,.2,1) var(--d,0s),filter .9s ease var(--d,0s)}
.rv [data-r].in{opacity:1;transform:none;filter:none}
.w{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em;margin-bottom:-.08em}
.w>span{display:inline-block}
.rv [data-split] .w>span{transform:translateY(105%);transition:transform .9s cubic-bezier(.2,.75,.15,1)}
.rv [data-split].in .w>span{transform:none}

/* Sections */
section.block{padding:clamp(64px,9vw,120px) 0;border-top:1px solid var(--line)}
.sub{color:var(--soft);margin-bottom:40px}
.video{margin-top:8px;aspect-ratio:16/9;border:1px solid var(--line);border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--soft);background:var(--panel);overflow:hidden}
.video iframe{width:100%;height:100%;border:0}
/* While a sample is "coming soon" the box holds only text: keep it slim, not a big empty 16:9 panel */
.video:not(:has(iframe)){aspect-ratio:auto;min-height:140px;padding:24px;text-align:center}

/* How it works: a real sequence, so it's numbered */
.steps{list-style:none;margin:0;padding:0;counter-reset:step;display:grid;gap:36px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.steps li{counter-increment:step;border-top:1.5px solid var(--fg);padding-top:20px}
.steps li::before{content:counter(step);display:block;font:500 40px/1 var(--serif);color:var(--gold-deep);margin-bottom:14px}
body.golf .steps li::before{color:var(--gold)}
.steps h3{margin-bottom:8px}
.steps p{color:var(--soft);font-size:16px}

/* Packages: a price list, read across */
.menu{border-top:1.5px solid var(--fg)}
.item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) 150px 140px;gap:28px;align-items:center;padding:28px 0;border-bottom:1px solid var(--line)}
.item h3{font-size:26px}
.item ul{margin:0;padding:0;list-style:none;color:var(--soft);font-size:16px}
.item li+li{margin-top:2px}
.price{font:500 34px/1 var(--serif);white-space:nowrap;text-align:right}
.price small{display:block;font:400 14px/1.3 var(--sans);color:var(--soft);margin-top:6px}
.item .btn{white-space:nowrap;width:100%}
.fine{font-size:14px;color:var(--soft);margin-top:18px}

/* Honesty */
.honest{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:48px;align-items:start}
.honest p{color:var(--soft)}

/* Questions */
details{border-bottom:1px solid var(--line);padding:20px 0;max-width:820px}
summary{cursor:pointer;font:500 21px/1.3 var(--serif);list-style:none;display:flex;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--sans);color:var(--soft);transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details p{color:var(--soft);margin:12px 0 0}

/* Footer */
footer{border-top:1px solid var(--line);padding:44px 0 56px;font-size:15px;color:var(--soft)}
footer .wrap{display:flex;flex-wrap:wrap;gap:14px 40px;justify-content:space-between}
footer p{margin:0}
footer .links{display:flex;gap:0 22px;flex-wrap:wrap;margin:-10px 0}
footer .links a{display:inline-flex;align-items:center;min-height:44px}

/* Hub */
body.hub .hero{padding-bottom:40px}
.choose{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:48px}
.choose a{display:flex;flex-direction:column;justify-content:space-between;min-height:300px;padding:34px;border-radius:6px;text-decoration:none}
.choose a h2{font-size:clamp(30px,3vw,40px)}
.choose a p{opacity:.85;margin:12px 0 0}
.choose a svg{width:100%;max-width:260px;margin-top:28px}
.choose a svg .line{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.choose a svg .flag{fill:var(--gold)}
.choose .g{background:var(--pine);color:var(--linen)}
.choose .h{background:var(--panel);color:var(--ink);border:1px solid var(--rule)}
.choose a:hover h2{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}

/* Plain pages (privacy, 404) */
.page{padding:72px 0}
.page h1{font-size:clamp(34px,4.6vw,54px);margin-bottom:24px}
.page h2{font-size:26px;margin:36px 0 10px}

@media (max-width:820px){
  nav{display:none}
  .film .over .wrap{flex-wrap:wrap}
  body.cine section.block,body.cine .intro{padding:12vh 0}
  body.cine section.block>.wrap,body.cine .intro>.wrap{margin:0 12px;border-radius:8px}
  body.cine footer .wrap{margin:0 12px}
  .wordmark{font-size:clamp(34px,9.4vw,90px)}
  .film .side{align-items:flex-start;width:100%}
  .film-caption{text-align:left}
  .facts span{max-width:11ch}
  .item{grid-template-columns:1fr auto;gap:14px 20px}
  .price{text-align:left}
  .item ul{grid-column:1/-1;grid-row:2}
  .item .btn{grid-column:1/-1}
  .honest,body.cine .honest{grid-template-columns:1fr;gap:16px}
}
@media (max-width:480px){
  body{font-size:17px}
  .pill{min-height:44px;padding:0 14px;font-size:13px}
  .wrap{padding:0 18px}
  .brand{font-size:19px}
  .ctas .btn{flex:1 1 100%}
}
