/* Alder Women's Clinic — styles.css — 2026-09-16 */
:root {
  --bg: #e7eef6; --bg-2: #d5dfea; --deep: #14243a; --ink: #111b2a; --ink-2: rgba(17, 27, 42, 0.66); --line: rgba(17, 27, 42, 0.55); --line-2: rgba(17, 27, 42, 0.18); --pill: #f7f9fc; --pale: rgba(231, 238, 246, 0.72);
  --serif: "Instrument Serif", Georgia, serif; --sans: "Instrument Sans", system-ui, sans-serif; --pad: clamp(20px, 3.4vw, 52px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, dl, dd, address, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-deep :focus-visible { outline-color: var(--bg); }
.serif { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.h2 { font-size: clamp(36px, 4.2vw, 64px); }
.h3 { font-size: clamp(28px, 3vw, 44px); }
.muted { color: var(--ink-2); }
.wrap { padding: 0 var(--pad); }
.pill { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 0; border: 1px solid var(--ink); border-radius: 999px; font-size: 16px; transition: background 0.2s, color 0.2s; }
.pill .dot { width: 46px; height: 46px; border-radius: 50%; border-right: 1px solid var(--ink); display: grid; place-items: center; }
.pill:hover { background: var(--ink); color: var(--bg); }
.pill:hover .dot { border-color: var(--bg); }
.pill svg { width: 16px; height: 16px; }
.pill-plain { padding: 0 20px; height: 44px; }
.pill-fill { background: var(--pill); border-color: transparent; }
.on-deep .pill { border-color: var(--bg); color: var(--bg); }
.on-deep .pill .dot { border-color: var(--bg); }
.on-deep .pill:hover { background: var(--bg); color: var(--deep); }
.on-deep .pill:hover .dot { border-color: var(--deep); }
.round { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.round:hover { background: var(--ink); color: var(--bg); }
.round svg { width: 18px; height: 18px; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(231, 238, 246, 0.16); font-size: 14px; }

/* strip + header */
.strip { text-align: center; font-size: 13px; padding: 7px var(--pad); border-bottom: 1px solid var(--line-2); }
.strip a { text-decoration: underline; text-underline-offset: 3px; }
.header { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px var(--pad); gap: 24px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.nav .sep { width: 32px; height: 1px; background: var(--ink); margin-left: 8px; }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; display: flex; align-items: center; gap: 12px; }
.brand span { display: block; width: 1px; height: 34px; background: var(--ink); }
.brand small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.02em; text-transform: none; color: var(--ink-2); max-width: 8ch; line-height: 1.2; }
.nav-toggle { display: none; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--bg); display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--pad) 28px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { align-self: center; display: grid; gap: 4px; }
.sheet nav a { font-family: var(--serif); font-size: clamp(34px, 8vw, 56px); line-height: 1.15; }
.sheet nav a:hover { font-style: italic; }

/* hero */
.hero { position: relative; padding: clamp(32px, 5vw, 72px) var(--pad) clamp(40px, 6vw, 96px); min-height: 78vh; display: grid; align-content: space-between; overflow: hidden; }
.hero-words { font-family: var(--serif); font-size: clamp(56px, 8vw, 104px); line-height: 0.98; letter-spacing: -0.015em; display: grid; gap: 0; }
.hero-words span:nth-child(2) { padding-left: 1.2em; }
.hero-words span:nth-child(3) { padding-left: 0.5em; }
.hero-sub { margin-top: 28px; font-size: 18px; max-width: 34ch; }
.hero-row { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.stars { font-size: 13px; display: grid; gap: 2px; }
.stars b { font-weight: 400; letter-spacing: 0.1em; font-size: 15px; }
.hero-circle { position: absolute; right: 8%; top: 8%; width: min(46vw, 640px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--ink); pointer-events: none; }
.hero-cta { justify-self: end; position: relative; z-index: 1; width: 200px; aspect-ratio: 1; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--ink); display: grid; place-content: center; gap: 14px; text-align: center; padding: 20px; font-family: var(--serif); font-size: 22px; line-height: 1.15; transition: background 0.2s, color 0.2s; }
.hero-cta:hover { background: var(--ink); color: var(--bg); }
.hero-cta svg { width: 20px; height: 20px; justify-self: center; }

/* offer */
.split { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 6vw, 120px); padding: clamp(48px, 7vw, 110px) var(--pad); }
.split > aside { position: sticky; top: 32px; align-self: start; display: grid; gap: 28px; justify-items: start; }
.split > aside .h3 { max-width: 16ch; }
.blocks { display: grid; }
.block { display: grid; grid-template-columns: 1fr 88px; gap: 24px; padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.block:first-child { padding-top: 0; }
.block h2 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; margin-bottom: 20px; }
.block p { max-width: 62ch; }
.block p + p { margin-top: 16px; }
.icon { width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; justify-self: end; }
.icon svg { width: 36px; height: 36px; }

/* marquee */
.marquee { overflow: hidden; white-space: nowrap; padding: clamp(40px, 6vw, 96px) 0; }
.track { display: inline-flex; animation: mq 60s linear infinite; }
.track span { font-family: var(--serif); font-size: clamp(44px, 6.6vw, 104px); line-height: 1; padding-right: 0.4em; }
.track span::after { content: "·"; padding-left: 0.4em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* quote */
.quote { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 6vw, 120px); align-items: center; padding: clamp(48px, 7vw, 110px) var(--pad); background: var(--bg-2); }
.quote figure { width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--ink); }
.quote img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; }
.quote cite { display: block; margin-top: 20px; font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--ink-2); }

/* develop */
.develop { padding: clamp(48px, 7vw, 110px) var(--pad); display: grid; gap: 28px; justify-items: start; }
.develop p { max-width: 64ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* deep */
.deep { background: var(--deep); color: var(--bg); }
.media { padding: clamp(48px, 7vw, 110px) var(--pad); display: grid; gap: 0; }
.media .h2 { max-width: 20ch; margin-bottom: clamp(32px, 4vw, 64px); }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 96px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid rgba(231, 238, 246, 0.25); }
.story-copy { display: grid; gap: 22px; justify-items: start; }
.story-copy h3 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; max-width: 18ch; }
.story-copy p { color: var(--pale); max-width: 48ch; }
.blob { aspect-ratio: 1; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; overflow: hidden; width: min(100%, 520px); justify-self: end; }
.story:nth-child(odd) .blob { border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.journal { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 6vw, 120px); padding: clamp(48px, 7vw, 110px) var(--pad); }
.journal > aside { position: sticky; top: 32px; align-self: start; display: grid; gap: 28px; justify-items: start; }
.posts { display: grid; }
.post { display: grid; grid-template-columns: 1fr 88px; gap: 24px; padding: 40px 0 48px; border-top: 1px solid rgba(231, 238, 246, 0.25); }
.post h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); line-height: 1.08; margin-bottom: 18px; max-width: 20ch; }
.post p { color: var(--pale); max-width: 60ch; }
.post .more { margin-top: 18px; display: inline-block; border-bottom: 1px solid currentColor; font-size: 15px; }
.avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; justify-self: end; border: 1px solid rgba(231, 238, 246, 0.4); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* cta */
.cta { position: relative; padding: clamp(80px, 12vw, 180px) var(--pad); text-align: center; display: grid; gap: 28px; justify-items: center; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; width: min(60vw, 720px); height: 260px; border: 1px solid var(--ink); pointer-events: none; }
.cta::before { left: 18%; top: 14%; border-right: 0; border-bottom: 0; border-radius: 120px 0 0 0; }
.cta::after { right: 18%; bottom: 14%; border-left: 0; border-top: 0; border-radius: 0 0 120px 0; }
.cta .h2 { max-width: 16ch; position: relative; z-index: 1; }
.cta .pill { position: relative; z-index: 1; }

/* footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding: 24px var(--pad) 32px; border-top: 1px solid var(--line-2); font-size: 14px; }
.footer .links { display: flex; gap: 20px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* inner pages */
.page-head { padding: clamp(32px, 5vw, 72px) var(--pad) 0; display: grid; gap: 20px; }
.page-head .rule { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.page-head .rule::after { content: ""; height: 1px; background: var(--ink); }
.page-head h1 { font-family: var(--serif); font-size: clamp(44px, 5.4vw, 80px); line-height: 1; }
.page-head p { max-width: 60ch; }
.side-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 88px) var(--pad); }
.side-nav { position: sticky; top: 32px; align-self: start; display: grid; gap: 4px; border-right: 1px solid var(--line-2); padding-right: 24px; }
.side-nav a { padding: 8px 0; color: var(--ink-2); font-size: 16px; }
.side-nav a:hover, .side-nav a[aria-current] { color: var(--ink); }
.detail { display: grid; gap: 40px; }
.detail article { display: grid; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.detail h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; }
.detail p { max-width: 62ch; }
.detail ul { display: flex; flex-wrap: wrap; gap: 8px; }
.detail li { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.detail figure { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; }
.detail img { width: 100%; height: 100%; object-fit: cover; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; padding: clamp(40px, 6vw, 88px) var(--pad); }
.person { display: grid; gap: 10px; }
.person figure { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--ink); }
.person img { width: 100%; height: 100%; object-fit: cover; }
.person h2 { font-family: var(--serif); font-size: 28px; line-height: 1.05; margin-top: 8px; }
.person p { color: var(--ink-2); font-size: 15px; }
.prices { display: grid; gap: 40px; }
.price-group h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; margin-bottom: 8px; }
.price-group small { display: block; color: var(--ink-2); margin-bottom: 16px; }
.price-group dl { display: grid; grid-template-columns: 1fr auto; }
.price-group dt, .price-group dd { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.price-group dd { text-align: right; font-variant-numeric: tabular-nums; }
.jlist { padding: clamp(40px, 6vw, 88px) var(--pad); display: grid; }
.jlist .post { border-top: 1px solid var(--line); grid-template-columns: 1fr 88px; }
.jlist .post p { color: var(--ink-2); }
.jlist .avatar { border-color: var(--ink); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 6vw, 88px) var(--pad); align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-info h2 { font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.contact-info figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.contact-info img { width: 100%; height: 100%; object-fit: cover; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--sans); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; color: var(--ink); border-radius: 0; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-width: 2px; }
.form .pill { justify-self: start; }
.form-status { min-height: 1.4em; font-size: 15px; }

/* demo note */
.demo-note { position: fixed; left: 12px; bottom: 12px; z-index: 50; padding: 6px 10px; border-radius: 999px; background: rgba(17, 27, 42, 0.65); color: rgba(231, 238, 246, 0.9); font: 500 11px/1 var(--sans); backdrop-filter: blur(6px); }
.demo-note:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { .track { animation: none; } html { scroll-behavior: auto; } * { transition-duration: 0.001s !important; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header { grid-template-columns: auto 1fr auto; }
  .brand { order: -1; }
  .split, .quote, .journal, .story, .contact { grid-template-columns: 1fr; }
  .split > aside, .journal > aside { position: static; }
  .hero-circle { width: 70vw; right: -20%; top: 4%; }
  .hero { min-height: 0; }
  .hero-cta { justify-self: end; width: 170px; font-size: 19px; margin-top: 32px; }
  .blob { justify-self: start; width: min(100%, 420px); }
  .people { grid-template-columns: 1fr 1fr; }
  .side-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; border-right: 0; padding-right: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; border-bottom: 1px solid var(--line-2); padding-bottom: 16px; }
  .cta::before, .cta::after { width: 70vw; height: 160px; }
}
@media (max-width: 560px) {
  .block, .post { grid-template-columns: 1fr; }
  .icon, .avatar { justify-self: start; width: 64px; height: 64px; }
  .icon svg { width: 28px; height: 28px; }
  .people { grid-template-columns: 1fr; }
  .quote figure { width: min(100%, 300px); }
  .strip { font-size: 12px; }
}
