/* Dr. Sarah Baldwin — monochrome editorial (matched to Squarespace design)
   Type: Schibsted Grotesk (headings) + Poppins (body) */

:root{
  --ink:#171512;
  --paper:#faf8f4;
  --panel:#f2efe8;
  --muted:#5f5f5f;
  --line:#e5e1d8;
  --max:1140px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

body{
  font-family:"Poppins",system-ui,sans-serif;
  font-weight:300;
  background:var(--paper);
  color:var(--ink);
  line-height:1.75;
  font-size:1.02rem;
  -webkit-font-smoothing:antialiased;
}
strong{font-weight:600}

h1,h2,h3{
  font-family:"Schibsted Grotesk","Helvetica Neue",sans-serif;
  font-weight:500;
  line-height:1.08;
  letter-spacing:-0.02em;
}
h1{font-size:clamp(2.6rem,7.2vw,5.2rem)}
h2{font-size:clamp(2rem,4.6vw,3.1rem)}
h3{font-size:clamp(1.4rem,2.6vw,1.9rem)}

a{color:var(--ink);text-underline-offset:4px;text-decoration-thickness:1px}
a:focus-visible,button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

img{display:block;max-width:100%;filter:grayscale(1)}

.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.1rem,4vw,2rem)}

/* buttons — square, hairline, like the Squarespace design */
.btn{
  display:inline-block;border:1px solid var(--ink);background:transparent;color:var(--ink);
  padding:.85rem 1.8rem;font-family:"Poppins",sans-serif;font-weight:400;font-size:.98rem;
  text-decoration:none;text-align:center;cursor:pointer;transition:all .15s ease;
}
.btn:hover{background:var(--ink);color:#fff}
.btn.solid{background:var(--ink);color:#fff}
.btn.solid:hover{background:#333}
.btn.invert{border-color:#fff;color:#fff}
.btn.invert:hover{background:#fff;color:var(--ink)}
.btn.block{display:block;width:100%}

/* ---------- header ---------- */
header{
  position:sticky;top:0;z-index:50;background:rgba(250,248,244,.94);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{
  font-family:"Schibsted Grotesk",sans-serif;font-weight:500;font-size:1.22rem;
  letter-spacing:-.02em;color:var(--ink);text-decoration:none;
}
.nav-links{display:flex;gap:1.6rem;align-items:center;list-style:none}
.nav-links a{text-decoration:none;font-size:.92rem;font-weight:400;color:var(--ink)}
.nav-links a:hover{text-decoration:underline}
.nav-links a.active{text-decoration:underline;text-decoration-thickness:2px}
.nav .btn{padding:.5rem 1.2rem;font-size:.9rem}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.4rem}
.menu-toggle span{display:block;width:30px;height:2px;background:var(--ink);margin:7px 0}

@media (max-width:880px){
  .menu-toggle{display:block}
  .nav-links{
    display:none;position:absolute;top:72px;left:0;right:0;background:var(--paper);
    flex-direction:column;align-items:flex-start;gap:1.1rem;
    padding:1.4rem clamp(1.1rem,4vw,2rem) 1.8rem;border-bottom:1px solid var(--line);
  }
  .nav-links.open{display:flex}
}

/* ---------- hero ---------- */
.hero{position:relative;min-height:88vh;display:flex;align-items:flex-end;color:#fff;overflow:hidden}
.hero img.bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 26%;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.25) 30%, rgba(0,0,0,.72) 100%);
}
.hero .wrap{position:relative;z-index:2;padding-bottom:clamp(2.5rem,6vw,4.5rem);width:100%}
.hero h1{color:#fff;margin-bottom:.9rem}
.hero .roles{
  font-family:"Schibsted Grotesk",sans-serif;font-weight:400;
  font-size:clamp(1rem,1.8vw,1.3rem);letter-spacing:.14em;text-transform:uppercase;
  margin-bottom:1.3rem;color:#e8e6e0;
}
.hero .tag{font-size:clamp(1.05rem,2vw,1.3rem);font-weight:300;max-width:36ch;margin-bottom:2rem;line-height:1.6}
.cta-row{display:flex;gap:.9rem;flex-wrap:wrap}

/* ---------- sections ---------- */
section{padding:clamp(3.4rem,8vw,6rem) 0}
.rule-top{border-top:1px solid var(--ink)}
.kicker{font-size:.85rem;font-weight:400;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:1.2rem}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
@media (max-width:820px){.split{grid-template-columns:1fr}}
.split h2{margin-bottom:1.4rem}
.split p{margin-bottom:1rem;max-width:52ch}

/* practice cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;margin-top:2.6rem}
@media (max-width:940px){.cards{grid-template-columns:1fr}}
.pcard{background:var(--panel);padding:0 0 2rem;display:flex;flex-direction:column}
.pcard img{width:calc(100% - 3.2rem);margin:1.6rem auto 0;aspect-ratio:4/3;object-fit:cover}
.pcard .inner{padding:1.6rem 1.6rem 0;display:flex;flex-direction:column;gap:.9rem;flex:1}
.pcard h3{font-size:1.55rem}
.pcard p{font-size:.96rem;color:#2c2c2c}
.pcard .links{margin-top:auto;padding-top:1rem;display:flex;flex-direction:column;gap:.6rem}

/* conditions strip */
.cond-list{list-style:none;margin-top:2.2rem;border-top:1px solid var(--ink)}
.cond-list li{border-bottom:1px solid var(--ink)}
.cond-list a{
  display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  padding:1.3rem .2rem;text-decoration:none;
}
.cond-list a:hover{background:var(--panel)}
.cond-list .name{font-family:"Schibsted Grotesk",sans-serif;font-weight:500;font-size:clamp(1.3rem,3vw,1.9rem);letter-spacing:-.02em}
.cond-list .hint{font-size:.9rem;color:var(--muted);text-align:right}
@media (max-width:640px){.cond-list .hint{display:none}}

/* media block */
.media-card p{max-width:60ch;margin-bottom:1rem}
.media-card .outlet{font-weight:600}

/* ---------- detail pages ---------- */
.page-head{padding:clamp(3rem,7vw,5rem) 0 clamp(1.4rem,3vw,2rem)}
.page-head h1{max-width:20ch}
.prose{max-width:66ch}
.prose p{margin-bottom:1.1rem}
.prose h2{margin:2.6rem 0 1rem;font-size:clamp(1.5rem,3vw,2rem)}
.prose ul{margin:0 0 1.1rem 1.2rem}
.prose li{margin-bottom:.4rem}
.notice{background:var(--panel);border-left:3px solid var(--ink);padding:1.1rem 1.3rem;margin:1.6rem 0;font-size:.96rem}
.book-panel{background:var(--ink);color:#fff;padding:2.2rem 2rem;margin:2.8rem 0}
.book-panel h3{color:#fff;margin-bottom:.5rem}
.book-panel p{color:#cfcfcf;font-size:.95rem;margin-bottom:1.3rem}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--ink);padding:3.4rem 0 2.4rem}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:2.4rem}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr}}
footer h3{font-size:1.05rem;margin-bottom:.7rem}
address{font-style:normal;font-size:.94rem;line-height:1.8}
.socials{list-style:none;margin-top:.4rem}
.socials a{font-family:"Schibsted Grotesk",sans-serif;font-size:1.3rem;text-decoration:underline}
.fineprint{margin-top:2.6rem;padding-top:1.3rem;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}


/* ---------- treatments dropdown ---------- */
::selection{background:var(--ink);color:var(--paper)}
.dd{position:relative}
.dd summary{
  list-style:none;cursor:pointer;font-size:.92rem;font-weight:400;
  display:flex;align-items:center;gap:.35rem;
}
.dd summary::-webkit-details-marker{display:none}
.dd summary::after{content:"";width:7px;height:7px;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.dd[open] summary::after{transform:rotate(225deg) translateY(-1px)}
.dd summary:hover{text-decoration:underline;text-underline-offset:4px}
.dd .dd-menu{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);
  background:var(--paper);border:1px solid var(--ink);min-width:250px;
  list-style:none;padding:.5rem 0;z-index:60;
}
.dd .dd-menu a{display:block;padding:.6rem 1.3rem;text-decoration:none;font-size:.94rem}
.dd .dd-menu a:hover{background:var(--panel);text-decoration:underline}
@media (max-width:880px){
  .dd .dd-menu{position:static;transform:none;border:none;border-left:1px solid var(--ink);min-width:0;padding:.3rem 0 .2rem;margin-top:.6rem}
  .dd .dd-menu a{padding:.45rem 1.1rem}
}
.hero .tag{color:#f2efe8}


/* ---------- editorial numbered index (What I Treat) ---------- */
.index-list{list-style:none;margin-top:2.6rem;border-top:1px solid var(--ink)}
.index-list li{border-bottom:1px solid var(--ink)}
.index-list a{
  display:grid;grid-template-columns:4.5rem 1fr auto;align-items:center;gap:1.2rem;
  padding:1.6rem .4rem;text-decoration:none;transition:background .15s ease;
}
.index-list a:hover{background:var(--panel)}
.index-list .num{
  font-family:"Schibsted Grotesk",sans-serif;font-size:.95rem;color:var(--muted);
  letter-spacing:.08em;
}
.index-list .body h3{font-size:clamp(1.25rem,2.6vw,1.7rem);margin-bottom:.25rem}
.index-list .body p{font-size:.94rem;color:var(--muted);max-width:52ch}
.index-list .arrow{
  font-size:1.5rem;line-height:1;transition:transform .15s ease;padding-right:.4rem;
}
.index-list a:hover .arrow{transform:translateX(6px)}
@media (max-width:640px){
  .index-list a{grid-template-columns:1fr auto;padding:1.3rem .2rem}
  .index-list .num{display:none}
}
