/* Selah Skincare — design A (Apothecary). Hand-written, no framework.
   Colours come from her logo: olive #4c4b2a, gold #b99461 (decoration only,
   never text), cream #f9f2e8. Fonts are self-hosted from /fonts/. */

@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lato-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lato-latin-700-normal.woff2) format('woff2')}

:root{
  --bg:#f9f2e8; --bg-alt:#efe5d3; --card:#fffcf6; --edge:#e0d3bb;
  --text:#2f2e1b; --soft:#5e5b45; --accent:#4c4b2a; --accent-hover:#3c3b20; --gold:#b99461;
  --deep:#2e2d1a; --on-deep:#f9f2e8; --on-deep-soft:#d9cfb8;
  --head:'Cormorant Garamond',Georgia,serif; --body:'Lato',system-ui,sans-serif;
  --radius:4px; --btn-radius:2px;
}

*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font:400 1.05rem/1.65 var(--body)}
img{display:block;max-width:100%;height:auto}
a{color:var(--accent);text-underline-offset:3px}
a:hover{color:var(--accent-hover)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
ul,ol{padding-left:1.2em}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--accent);color:#fff;padding:10px 16px;border-radius:var(--btn-radius);font-weight:700}
.skip:focus{top:12px;color:#fff}

.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.narrow{max-width:760px}
h1,h2,h3{font-family:var(--head);font-weight:600;letter-spacing:.01em;line-height:1.12;color:var(--text)}
h1{font-size:clamp(2.5rem,6vw,4rem);text-wrap:balance}
h2{text-wrap:balance}
h2{font-size:clamp(1.8rem,3.6vw,2.5rem);margin-bottom:.5em}
h3{font-size:1.4rem}
p+p{margin-top:1em}
.lead{font-size:1.15rem;color:var(--soft);max-width:38em}
.eyebrow{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.16em;font-size:.76rem;font-weight:700;color:var(--accent);margin-bottom:12px}
.eyebrow::before{content:"";width:28px;height:1px;background:var(--gold)}
.soft{color:var(--soft)}

/* ---------- "to confirm" markers (none on the live site) ---------- */
mark.tbc{background:#fff1b8;color:#5a4a00;padding:0 5px;border-radius:3px;font-weight:700;font-style:normal}
.gap{background:#fff1b8;color:#5a4a00;border:1px dashed #c9ad4a;border-radius:var(--radius);padding:14px 16px;font-size:.92rem;line-height:1.45}
.gap strong{display:block;margin-bottom:2px}
.approve{display:table;margin-top:14px;background:#fff1b8;color:#5a4a00;font-size:.82rem;font-weight:700;padding:4px 9px;border-radius:3px}

/* ---------- header ---------- */
.site-header{background:var(--bg);border-bottom:1px solid var(--edge)}
.nav-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--accent);font-family:var(--head);font-weight:600;font-size:1.7rem;line-height:1}
.brand:hover{color:var(--accent)}
.brand img{width:52px;height:auto}
.brand small{display:block;margin-top:4px;font-family:var(--body);font-size:.66rem;letter-spacing:.22em;text-transform:uppercase;color:var(--soft);font-weight:700}
.nav-inline{display:flex;gap:22px;flex-wrap:wrap}
.nav-inline a{text-decoration:none;font-weight:700;font-size:.95rem;color:var(--text);padding:6px 0;border-bottom:2px solid transparent}
.nav-inline a:hover{color:var(--accent);border-bottom-color:var(--gold)}
.nav-inline a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}

/* Mobile menu: CSS only, driven by :target (same pattern as the Tacocat site).
   The panel opens because the address points at #site-menu; tapping any link
   in it changes the address, so it closes itself. No JavaScript. */
.nav-btn{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;margin-right:-8px;border-radius:var(--radius)}
.nav-btn:hover{background:var(--bg-alt)}
.nav-btn .bar{display:block;width:22px;height:2px;border-radius:2px;background:var(--accent)}
.nav-panel{position:fixed;top:0;right:0;bottom:0;width:min(320px,84vw);z-index:60;display:none;flex-direction:column;padding:20px 24px 32px;background:var(--card);border-left:1px solid var(--edge);box-shadow:-20px 0 50px rgba(46,45,26,.18);transform:translateX(101%);visibility:hidden;transition:transform .22s ease,visibility .22s;overflow-y:auto;outline:none}
.nav-panel:target{transform:translateX(0);visibility:visible}
.nav-close{align-self:flex-end;width:44px;height:44px;margin:-4px -8px 12px 0;display:flex;align-items:center;justify-content:center;font-size:28px;line-height:1;color:var(--soft);text-decoration:none;border-radius:var(--radius)}
.nav-close:hover{background:var(--bg-alt);color:var(--accent)}
.nav-link{font-family:var(--head);font-weight:600;font-size:1.45rem;color:var(--text);text-decoration:none;padding:12px 0;border-bottom:1px solid var(--edge)}
.nav-link[aria-current="page"]{color:var(--accent)}
.nav-link[aria-current="page"]::after{content:"";display:block;width:26px;height:2px;margin-top:6px;background:var(--gold)}
.nav-scrim{position:fixed;inset:0;z-index:50;display:none;background:rgba(46,45,26,.5);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s}
.nav-panel:target + .nav-scrim{opacity:1;visibility:visible}

/* ---------- buttons ---------- */
.btn{display:inline-block;text-decoration:none;font-weight:700;padding:13px 24px;border-radius:var(--btn-radius);border:2px solid var(--accent);line-height:1.3;text-align:center;transition:transform .15s,background-color .15s}
.btn:hover{transform:translateY(-1px)}
.btn-main{background:var(--accent);color:#fff}
.btn-main:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}
.btn-ghost{background:transparent;color:var(--accent)}
.btn-ghost:hover{background:var(--bg-alt);color:var(--accent)}
.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}

/* ---------- sections ---------- */
.hero{padding:64px 0 72px}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center}
.hero .lead{margin-top:20px}
.hero-photo{position:relative;width:100%;max-width:440px;justify-self:center}
.hero-photo::before{content:"";position:absolute;inset:18px -18px -18px 18px;border:1px solid var(--gold);border-radius:var(--radius);z-index:0}
.hero-photo img{position:relative;z-index:1;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:var(--radius);box-shadow:0 24px 48px -24px rgba(46,45,26,.45)}
.page-head{padding:56px 0 32px}
.page-head .lead{margin-top:14px}
section.block{padding:72px 0}
.alt{background:var(--bg-alt)}
.strip{background:var(--accent);color:#fff}
.strip ul{list-style:none;padding:15px 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px 36px;font-weight:700;font-size:.95rem}
.strip li::before{content:"❦";margin-right:8px;color:var(--gold)}

/* cards */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{background:var(--card);border:1px solid var(--edge);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s}
.card .body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.card .body p{color:var(--soft)}
.card .btn{margin-top:auto;align-self:flex-start}
.card .body .btn{margin-top:14px}
.card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:14px}
.card .card-actions .btn{margin-top:0;padding:11px 14px;font-size:.95rem;flex:1 1 150px;align-self:stretch}
.photo-slot{aspect-ratio:1/1;background:repeating-linear-gradient(45deg,var(--bg-alt) 0 14px,#f4ebdc 14px 28px);display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:#5a4a00;font-weight:700;font-size:.9rem;border-bottom:1px solid var(--edge)}
.photo-slot span{background:#fff1b8;padding:6px 10px;border-radius:3px}
.cards .photo-slot{aspect-ratio:4/3}

/* products */
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product{background:var(--card);border:1px solid var(--edge);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.product:hover,.card:hover{box-shadow:0 18px 40px -22px rgba(46,45,26,.35)}
.product h3{font-size:1.6rem}
/* one product: photo beside details; two: a centred pair */
.products:has(> .product:only-child){grid-template-columns:1fr}
.products > .product:only-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:920px}
.products > .product:only-child .photo{height:100%;border-bottom:0;border-right:1px solid var(--edge)}
.products > .product:only-child .body{padding:32px 34px}
.products:has(> .product:nth-child(2):last-child){grid-template-columns:repeat(2,1fr);max-width:920px}
.product .photo{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-bottom:1px solid var(--edge)}
.card .photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 22%;border-bottom:1px solid var(--edge)}
.product .body{padding:20px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.product .meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;color:var(--soft);font-size:.92rem}
.product .price{font-weight:700;font-size:1.25rem;color:var(--text)}
.product .scent{color:var(--soft);font-size:.96rem}
.product .ingredients{font-size:.9rem}
.order-actions{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:12px}
.order-actions .btn{padding:11px 14px;font-size:.95rem}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:s;list-style:none;padding:0}
.step{background:var(--card);border:1px solid var(--edge);border-radius:var(--radius);padding:24px}
.step::before{counter-increment:s;content:counter(s);display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;font-family:var(--head);font-weight:600;font-size:1.25rem;margin-bottom:12px}
.step p{color:var(--soft);margin-top:6px}

/* two-column text */
.split{display:grid;grid-template-columns:1fr 1.4fr;gap:48px;align-items:start}
.prose{max-width:40em}
.prose h2{margin-top:1.4em}
.prose h2:first-child{margin-top:0}
.prose p,.prose li{color:var(--soft)}
.prose ul{margin-top:.6em}
.prose li+li{margin-top:.35em}
.facts{background:var(--card);border:1px solid var(--edge);border-top:3px solid var(--gold);border-radius:var(--radius);padding:24px 26px}
.facts dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px}
.facts dt{font-weight:700}
.facts dd{color:var(--soft)}
.contact-options{display:grid;grid-template-columns:minmax(0,440px);gap:22px}
.contact-options .card .body{gap:10px}

/* FAQ */
.faq details{background:var(--card);border:1px solid var(--edge);border-radius:var(--radius);margin-bottom:12px}
.faq summary{cursor:pointer;padding:16px 20px;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent);font-size:1.3rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details > p,.faq details > div{padding:0 20px 18px;color:var(--soft)}

.reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:8px}
.review{position:relative;background:var(--card);border:1px solid var(--edge);border-top:3px solid var(--gold);border-radius:var(--radius);padding:40px 30px 26px}
.review::before{content:"\201C";position:absolute;top:2px;left:24px;font-family:var(--head);font-size:4.2rem;line-height:1;color:var(--gold)}
.review blockquote p{font-family:var(--head);font-weight:600;font-size:1.4rem;line-height:1.35;color:var(--text)}
.review figcaption{margin-top:16px;font-weight:700;color:var(--accent)}
.review figcaption span{font-weight:400;color:var(--soft)}
.about-photo img{width:100%;border-radius:var(--radius);box-shadow:0 24px 48px -24px rgba(46,45,26,.45)}
.cta{background:var(--deep);color:var(--on-deep);text-align:center;padding:64px 0}
.cta h2{color:var(--on-deep)}
.cta p{color:var(--on-deep-soft);font-size:1.1rem}
.cta .btns{justify-content:center}
.cta .btn-main{background:var(--on-deep);border-color:var(--on-deep);color:var(--deep)}
.cta .btn-main:hover{background:#fff;border-color:#fff;color:var(--deep)}

/* ---------- footer ---------- */
.site-footer{background:var(--deep);color:var(--on-deep);padding:48px 0 28px;border-top:3px solid var(--gold)}
.cta + .site-footer{border-top-color:var(--gold)}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:32px}
.site-footer h2{color:var(--on-deep);font-size:1.3rem;margin-bottom:10px}
.site-footer p,.site-footer li{color:var(--on-deep-soft);font-size:.95rem}
.site-footer ul{list-style:none;padding:0}
.site-footer li+li{margin-top:6px}
.site-footer a{color:var(--on-deep);text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.footer-logo{width:56px;height:56px;background:var(--on-deep);border-radius:50%;padding:7px;margin-bottom:12px}
.footer-base{grid-column:1/-1;border-top:1px solid rgba(249,242,232,.18);padding-top:18px;margin-top:8px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:.88rem}
.footer-base p{font-size:.88rem;margin:0}
.site-footer mark.tbc{font-size:.85rem}

/* ---------- responsive ---------- */
@media (max-width:960px){
  html{scroll-padding-top:84px}
  .site-header{position:sticky;top:0;z-index:40}
  .nav-inline{display:none}
  .nav-btn{display:flex}
  .nav-panel{display:flex}
  .nav-scrim{display:block}
  body:has(.nav-panel:target){overflow:hidden}
  .products{grid-template-columns:repeat(2,1fr)}
  .steps,.contact-options{grid-template-columns:1fr}
  .split{grid-template-columns:1fr;gap:24px}
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-photo{max-width:520px}
  .about-photo{max-width:420px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid > div:first-child{grid-column:1/-1}
}
@media (max-width:620px){
  .cards,.products,.reviews,.products:has(> .product:nth-child(2):last-child){grid-template-columns:1fr}
  .products > .product:only-child{grid-template-columns:1fr}
  .products > .product:only-child .photo{border-right:0;border-bottom:1px solid var(--edge)}
  .products > .product:only-child .body{padding:20px 20px 22px}
  .hero-photo::before{inset:12px -10px -12px 10px}
  .hero{padding:40px 0 48px}
  .strip ul{gap:6px 20px;font-size:.88rem;padding:13px 12px}
  section.block{padding:52px 0}
  .page-head{padding:40px 0 20px}
  .brand{font-size:1.5rem}
  .brand img{width:44px}
  .footer-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.nav-panel,.nav-scrim,.product,.card{transition:none}
  .btn:hover{transform:none}
}
