/* Being Acupuncture — site styles (warm apothecary). Static, no build step beyond build.py. */
:root{
  --teal:#1f4a42; --teal700:#163a33; --terra:#c56a4a; --terra600:#a9533a;
  --cream:#f4ece0; --card:#fbf6ee; --clay:#a8967f; --rose:#d9a7a0; --ink:#2a211b;
  --head:'Fraunces',Georgia,serif; --body:'Mulish',system-ui,sans-serif;
  --maxw:1120px; --radius:14px; --shadow:0 14px 40px -22px rgba(42,33,27,.45);
}
*{box-sizing:border-box}
/* overflow-x:clip (NOT hidden) prevents sideways scroll WITHOUT breaking position:sticky */
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--body);font-size:1.06rem;line-height:1.7;overflow-x:clip}
/* full-bleed: break an element out to the full viewport width (edge to edge) */
.bleed{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:var(--head);font-weight:460;line-height:1.12;letter-spacing:-.01em;color:var(--teal);margin:0 0 .5em;font-optical-sizing:auto}
h1{font-size:clamp(2.3rem,6vw,4.1rem)} h2{font-size:clamp(1.7rem,4vw,2.6rem)} h3{font-size:clamp(1.2rem,2.4vw,1.5rem)}
p{margin:0 0 1.1em} a{color:var(--terra600);text-underline-offset:3px}
.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.narrow{max-width:740px}
.sec{padding-block:clamp(3rem,8vw,6rem)}
/* sentence-case label, no ALL-CAPS */
.eyebrow{font-weight:700;font-size:.95rem;letter-spacing:0;color:var(--terra600);margin:0 0 .7rem;font-style:italic;font-family:var(--head)}
.lede{font-size:clamp(1.15rem,2.2vw,1.4rem);color:var(--teal700);line-height:1.5}
.muted{color:var(--clay)} .center{text-align:center} .measure{max-width:64ch} .mx-auto{margin-inline:auto}
.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:1rem;padding:.85rem 1.6rem;border-radius:999px;cursor:pointer;text-decoration:none;border:1.5px solid transparent;transition:.2s}
.btn-primary{background:var(--terra);color:var(--cream)} .btn-primary:hover{background:var(--terra600);color:var(--cream);transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--teal);border-color:var(--teal)} .btn-ghost:hover{background:var(--teal);color:var(--cream)}
.btn-cream{background:var(--cream);color:var(--teal)} .btn-cream:hover{background:#fff8ee}
.row{display:flex;gap:.8rem;flex-wrap:wrap}
.grid{display:grid;gap:clamp(1rem,2.5vw,1.8rem)}
.g2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))} .g3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
/* generic card = SQUARE corners, flat & modern (used for treatments, pricing aside, etc.) */
.card{background:var(--card);border-radius:0;overflow:hidden;transition:.2s;display:flex;flex-direction:column}
.card .pad{padding:1.3rem 1.4rem 1.5rem} .card img{aspect-ratio:4/3;object-fit:cover;width:100%;border-radius:0}
.card h3 a{color:var(--teal);text-decoration:none} .card h3 a:hover{color:var(--terra600)}
/* journal card = keeps the rounded, lifted card look */
.jcard{border-radius:12px;box-shadow:var(--shadow)}
.jcard:hover{transform:translateY(-3px)}
.teal{background:var(--teal);color:var(--cream)} .teal h1,.teal h2,.teal h3{color:var(--cream)} .teal .eyebrow{color:var(--rose)} .teal a{color:var(--rose)}
.tag{display:inline-block;background:rgba(197,106,74,.14);color:var(--terra600);font-weight:700;font-size:.72rem;letter-spacing:.05em;padding:.25rem .7rem;border-radius:999px;margin-bottom:.7rem}

/* header — sticky (webkit prefix for iOS Safari) */
/* NOTE: no backdrop-filter/transform here — those make the header a containing block
   for the fixed mobile menu panel, trapping + clipping it. Solid bg instead. */
header.nav{position:-webkit-sticky;position:sticky;top:0;z-index:40;background:var(--cream);border-bottom:1px solid rgba(168,150,127,.3)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;padding-block:.7rem}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--teal)}
.brand svg{height:46px;width:auto;color:var(--teal)}
.brand b{font-family:var(--head);font-size:1.35rem;font-weight:500}
.nav nav{display:flex;gap:1.3rem;align-items:center}
.nav nav a{color:var(--teal);text-decoration:none;font-weight:600;font-size:.95rem}
.nav nav a:hover{color:var(--terra600)}
/* CSS-only burger toggle — no JavaScript, works on every browser incl. iOS Safari */
.navtoggle{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.burger{display:none;cursor:pointer;padding:.4rem;color:var(--teal);-webkit-tap-highlight-color:transparent}
.scrim{display:none}
.navclose{display:none}
@media(max-width:900px){
  .brand svg{height:40px}
  .burger{display:inline-flex}
  .nav nav{position:fixed;top:0;right:0;left:auto;width:min(82vw,320px);height:100vh;height:100dvh;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:1.2rem;background:var(--teal);padding:5.5rem 2rem 2rem;transform:translateX(100%);transition:transform .25s ease;box-shadow:var(--shadow);overflow-y:auto;z-index:41}
  .navtoggle:checked ~ .wrap nav{transform:translateX(0)}
  .nav nav a{color:var(--cream);font-size:1.25rem}
  .nav nav a:hover{color:var(--rose)}
  .nav nav .btn{background:var(--terra);color:var(--cream);font-size:1.05rem}
  .navclose{display:block;position:absolute;top:.8rem;right:1.4rem;font-size:2.6rem;line-height:1;color:var(--cream);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .navclose:hover{color:var(--rose)}
  .scrim{display:block;position:fixed;inset:0;background:rgba(22,58,51,.5);opacity:0;pointer-events:none;transition:opacity .25s;z-index:39}
  .navtoggle:checked ~ .scrim{opacity:1;pointer-events:auto}
}

/* hero */
.hero{position:relative;min-height:68vh;display:flex;align-items:flex-end;color:var(--cream)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background-size:cover;background-position:center}
@media(max-width:760px){.hero{min-height:58vh}}
.hero .wrap{padding-block:clamp(2.5rem,7vw,5rem)}
.hero h1{color:var(--cream);max-width:18ch} .hero p{font-size:clamp(1.1rem,2.2vw,1.4rem);max-width:54ch;color:#f6efe3}
.pagehead{padding-block:clamp(2.5rem,6vw,4.5rem)} .pagehead .crumb{font-size:.85rem;color:var(--clay);margin-bottom:.6rem}
.pagehead .crumb a{color:var(--clay)}

/* trust strip */
.trust{background:var(--teal700);color:var(--cream)} .trust .wrap{display:flex;flex-wrap:wrap;gap:1.4rem;justify-content:center;padding-block:1.1rem;text-align:center}
.trust div{flex:1;min-width:160px;font-size:.9rem} .trust b{display:block;font-family:var(--head);font-size:1.1rem;color:var(--rose)}

/* split + people */
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:clamp(1.5rem,4vw,3rem);align-items:center}
.split img{border-radius:0;width:100%}
/* on phones, feature photos go edge to edge (no bubble/border) */
@media(max-width:760px){
  .split img{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);border-radius:0}
}
/* full-bleed banner image (blog/treatment lead) */
.banner{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);height:clamp(240px,42vw,460px);object-fit:cover;display:block}
.people{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.8rem;margin-top:2rem}
.person img{border-radius:0;aspect-ratio:3/4;object-fit:cover;width:100%}
.person h3{margin:.9rem 0 .2rem} .person .role{color:var(--terra600);font-weight:700;font-size:.92rem;font-style:italic;font-family:var(--head)}

/* pricing */
.price{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:1.1rem 0;border-bottom:1px solid rgba(168,150,127,.4)}
.price .amt{font-family:var(--head);font-size:1.5rem;color:var(--terra600);white-space:nowrap}
.rebate{background:var(--card);border:1px dashed var(--terra);border-radius:var(--radius);padding:1.3rem 1.5rem;margin-top:1.6rem;display:flex;gap:1rem;align-items:flex-start}
.rebate .dot{font-size:1.5rem;line-height:1}

/* faq */
.faq details{border-bottom:1px solid rgba(168,150,127,.4)}
.faq summary{font-family:var(--head);font-size:1.18rem;color:var(--teal);cursor:pointer;padding:1rem 0;list-style:none;font-weight:460}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';float:right;color:var(--terra);font-size:1.5rem;line-height:1}
.faq details[open] summary::after{content:'\2013'}
.faq details>div,.faq details>p{padding-bottom:1rem;color:var(--teal700)}

/* prose (blog/treatment) */
.prose{max-width:70ch}
.prose h2{margin-top:2.2rem} .prose h3{margin-top:1.6rem;color:var(--terra600)}
.prose ul{padding-left:1.2rem} .prose li{margin-bottom:.45rem}
.prose blockquote{border-left:3px solid var(--rose);margin:1.5rem 0;padding:.3rem 0 .3rem 1.2rem;font-style:italic;color:var(--teal700)}
.prose img{border-radius:var(--radius);margin:1.5rem 0}

/* forms */
.field{display:block;width:100%;padding:.8rem 1rem;margin-bottom:.8rem;border:1px solid var(--clay);border-radius:10px;background:#fff;font:inherit}
.hp{position:absolute;left:-9999px}
.note{font-size:.82rem;color:var(--clay);margin:.2rem 0 1rem}

/* footer */
footer{background:var(--teal700);color:#e9ddca} footer a{color:var(--rose)}
.foot{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:2rem;padding-block:3rem}
.foot h4{color:var(--cream);font-family:var(--head);font-size:1.15rem;margin:0 0 .6rem}
.foot .brand svg{height:42px;color:var(--cream)} .foot .brand b{color:var(--cream)}
.credit{border-top:1px solid rgba(255,255,255,.15);padding:1.1rem 0;text-align:center;font-size:.85rem;color:#cdbfa6}

/* (fixed bottom book bar removed per request) */
/* cliniko booking embed */
.booking-embed{margin-top:1rem;border-radius:0;overflow:hidden;background:var(--card)}
.booking-embed iframe{width:100%;min-height:900px;border:0;display:block}
@media(max-width:760px){.booking-embed iframe{min-height:1100px}}

/* reviews */
.reviews{background:var(--card)}
.stars{color:var(--terra);letter-spacing:2px;font-size:1.2rem}
.rgrid{display:grid;gap:1.4rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:2rem}
.review{background:var(--cream);border-radius:12px;padding:1.5rem 1.6rem;box-shadow:var(--shadow)}
.review .q{color:var(--ink);font-size:1.02rem;line-height:1.6;margin:.6rem 0 1rem}
.review .who{font-weight:700;color:var(--teal)} .review .src{color:var(--clay);font-size:.85rem}

/* instagram strip — edge to edge, no gaps, no bubble */
.ig{padding-top:clamp(2.5rem,6vw,4rem)}
.ig .head{text-align:center;margin-bottom:1.6rem}
.iggrid{display:grid;grid-template-columns:repeat(6,1fr);gap:0}
.iggrid a{display:block;position:relative;aspect-ratio:1/1;overflow:hidden}
.iggrid img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;border-radius:0}
.iggrid a:hover img{transform:scale(1.06)}
.iggrid a::after{content:"";position:absolute;inset:0;background:rgba(31,74,66,0);transition:.3s}
.iggrid a:hover::after{background:rgba(31,74,66,.18)}
@media(max-width:760px){.iggrid{grid-template-columns:repeat(3,1fr)}}

@media(prefers-reduced-motion:reduce){*{transition:none!important}}
