/* ==========================================================================
   Comfort Nest Space — main stylesheet
   Column layout uses the Bootstrap grid (bootstrap-grid.min.css, loaded first).
   1 Tokens · 2 Base · 3 Header · 4 Buttons · 5 Hero · 6 Services
   7 Comfort goals · 8 Sections · 9 Blog · 10 Forms · 11 Footer
   12 Responsive · 13 Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --oat: #f6f0e7;
  --cream: #fffaf3;
  --latte: #e9dccb;
  --latte-2: #dfcdb6;
  --espresso: #2b211c;
  --espresso-700: #4a3a31;
  --mocha: #6d5647;
  --text: #2f2621;
  --muted: #66574c;
  --line: #e0d2bf;
  --amber: #d9892f;
  --amber-700: #9a5a14;
  --amber-soft: #f7dfbf;
  --rain: #3f6a8a;
  --rain-700: #2f5470;
  --rain-soft: #dce8f0;
  --white: #ffffff;
  --on-dark: #eadfd3;
  --danger: #9e2a1c;
  --danger-bg: #fbe9e5;
  --success: #2c6136;
  --success-bg: #e3f0e2;

  --font-head: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --fs-sm: .9375rem;
  --fs-base: 1.03rem;
  --fs-lg: 1.15rem;
  --fs-h3: 1.28rem;
  --fs-h2: clamp(1.85rem, 1.35rem + 2vw, 2.8rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 3.4vw, 4rem);

  --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --r: 14px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow: 0 24px 48px -28px rgba(43, 33, 28, .45);
  --shadow-sm: 0 10px 24px -16px rgba(43, 33, 28, .4);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--oat); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); font-weight: 400; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; background: var(--latte); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 var(--s-4); color: var(--espresso); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-family: var(--font-body); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--amber-700); background: linear-gradient(var(--amber-soft), var(--amber-soft)) 0 88% / 100% 32% no-repeat; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 800; }
a { color: var(--rain-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--espresso); }
ul, ol { padding-left: 1.2rem; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--rain); outline-offset: 3px; border-radius: 6px; }
.bg-espresso :focus-visible, .bg-rain :focus-visible, .site-footer :focus-visible, .side-card-espresso :focus-visible, .contact-card :focus-visible, .cta-cozy :focus-visible { outline-color: var(--amber-soft); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--espresso); color: #fff; padding: .75rem 1rem; border-radius: var(--r); font-weight: 700; }
.skip-link:focus { top: .75rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.7; }
.overline { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-700); margin-bottom: var(--s-3); }
.overline::before { content: ""; width: 22px; height: 10px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 14px 14px; }
.overline-light { color: var(--amber-soft); }
.step-bubble { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--amber-soft); color: var(--espresso); flex: none; }
.step-bubble svg { width: 24px; height: 24px; }
img.img-failed { object-position: -9999px -9999px; background: radial-gradient(circle at 30% 30%, var(--cream), var(--latte)); }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: .6rem 0; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 240, 231, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--espresso); white-space: nowrap; flex: none; }
.brand img { width: 44px; height: 44px; background: none; }
.brand-name { font-family: var(--font-head); font-size: 1.32rem; line-height: 1; letter-spacing: -.01em; }
.brand:hover { color: var(--espresso); }
.primary-nav { margin-left: auto; display: flex; }
.nav-list { list-style: none; margin: 0; padding: .3rem; display: flex; align-items: center; gap: .15rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }
.nav-link { display: block; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .93rem; color: var(--text); text-decoration: none; transition: background-color .2s, color .2s; }
.nav-link:hover { background: var(--latte); color: var(--espresso); }
.nav-link[aria-current="page"] { background: var(--espresso); color: var(--cream); }
.mobile-extra { display: none; }
.nav-toggle { display: none; align-items: center; gap: .45rem; min-height: 46px; padding: 0 1rem; border: 1px solid var(--line); background: var(--cream); color: var(--espresso); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 4. Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-body); font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-espresso { background: var(--espresso); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-espresso:hover { background: var(--espresso-700); color: var(--cream); }
.btn-amber { background: var(--amber); color: var(--espresso); }
.btn-amber:hover { background: var(--amber-soft); color: var(--espresso); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline-light:hover { background: var(--cream); color: var(--espresso); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row-end { justify-content: flex-end; }
.center-btn { display: flex; justify-content: center; margin-top: var(--s-7); }
.more-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--rain-700); text-decoration: none; }
.more-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.more-link:hover { color: var(--espresso); text-decoration: underline; }
.more-link:hover svg { transform: translateX(4px); }
.chip { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rain-700); background: var(--rain-soft); padding: .25rem .75rem; border-radius: 999px; margin-bottom: var(--s-3); }

/* 5. Hero ------------------------------------------------------------------ */
.hero { padding: var(--s-5) 0 var(--s-8); }
.hero-frame { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.hero-photo { grid-column: 4 / -1; grid-row: 1; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; min-height: 520px; }
.hero-card { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; padding: clamp(1.75rem, 3.5vw, 3.25rem); background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero-card h1 { max-width: 13ch; }
.hero-card .lead { margin-bottom: var(--s-6); }
.comfort-strip { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.comfort-strip li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1.1rem .45rem .5rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; font-weight: 800; color: var(--espresso); }
.comfort-strip svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--amber-soft); }

/* 6. Services -------------------------------------------------------------- */
.round-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.round-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; height: 100%; color: var(--text); text-decoration: none; }
.round-photo { display: block; width: min(160px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow-sm); margin-bottom: var(--s-3); transition: transform .3s var(--ease), border-color .3s; }
.round-photo img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.round-card:hover .round-photo { transform: translateY(-4px); border-color: var(--amber-soft); }
.round-card:hover .round-photo img { transform: scale(1.06); }
.round-name { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.25; color: var(--espresso); }
.round-card:hover .round-name { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.round-short { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-6); }
.chip-row a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .95rem .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); font-size: .88rem; font-weight: 700; color: var(--espresso); text-decoration: none; transition: background-color .2s; }
.chip-row a svg { width: 18px; height: 18px; color: var(--amber-700); }
.chip-row a:hover { background: var(--amber-soft); }
.svc-card { position: relative; display: flex; flex-direction: column; height: 100%; scroll-margin-top: 110px; }
.svc-card-photo { aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; }
.svc-card-photo img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card-photo img { transform: scale(1.04); }
.svc-card-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; flex: 1; margin: -64px var(--s-5) 0; padding: var(--s-6) var(--s-5) var(--s-5); background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.svc-card-ico { position: absolute; top: -26px; right: var(--s-5); display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--amber); color: var(--espresso); border: 4px solid var(--cream); }
.svc-card-ico svg { width: 24px; height: 24px; }
.svc-card-body h2 { font-size: 1.5rem; padding-right: 3.5rem; }
.svc-card-body > p:not(.card-note) { color: var(--muted); margin-bottom: var(--s-5); }
.svc-card-body .btn { margin-top: auto; }
.card-note { font-size: var(--fs-sm); background: var(--rain-soft); padding: .65rem 1rem; border-radius: var(--r); margin-bottom: var(--s-5); }

/* 7. Comfort goals --------------------------------------------------------- */
.goals { max-width: 1040px; margin: 0 auto; }
.goal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: var(--s-5); }
.goal-tabs[hidden] { display: none; }
.goal-tab { display: inline-flex; align-items: center; gap: .5rem; min-height: 50px; padding: .4rem 1.2rem .4rem .45rem; border: 2px solid transparent; border-radius: 999px; background: var(--cream); color: var(--espresso); font: inherit; font-weight: 800; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.goal-tab svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--amber-soft); color: var(--espresso); }
.goal-tab:hover { border-color: var(--espresso); }
.goal-tab[aria-selected="true"] { background: var(--espresso); color: var(--cream); }
.goal-tab[aria-selected="true"] svg { background: var(--amber); }
.goal-panels { display: grid; gap: var(--s-5); }
.goal-panel { padding: clamp(1.5rem, 4vw, 3rem); background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.goal-panel[hidden] { display: none; }
.goals.is-tabbed .goal-panels { gap: 0; }
.goal-head { display: flex; gap: var(--s-5); align-items: flex-start; margin-bottom: var(--s-6); }
.goal-ico { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--amber); color: var(--espresso); flex: none; }
.goal-ico svg { width: 30px; height: 30px; }
.goal-head h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: var(--s-2); }
.goal-head p { color: var(--muted); }
.goal-box { height: 100%; padding: var(--s-5); border-radius: var(--r); }
.goal-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.goal-box li { position: relative; padding-left: 1.6rem; font-size: .97rem; }
.goal-box li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; }
.goal-box-off { background: var(--oat); }
.goal-box-off h4 { color: var(--mocha); }
.goal-box-off li::before { background: var(--latte-2); }
.goal-box-on { background: var(--rain-soft); }
.goal-box-on h4 { color: var(--rain-700); }
.goal-box-on li::before { background: var(--rain); }
.goal-links { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px dashed var(--line); }
.goal-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.goal-links a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem .45rem .75rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--espresso); text-decoration: none; }
.goal-links a svg { width: 18px; height: 18px; color: var(--amber-700); }
.goal-links a:hover { background: var(--amber-soft); }

/* 8. Sections -------------------------------------------------------------- */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-6) 0; }
.section-top-tight { padding-top: var(--s-6); }
.bg-latte { background: var(--latte); border-radius: var(--r-xl); margin: 0 clamp(0px, 1.5vw, 24px); }
.bg-rain { background: var(--rain); color: #e8f0f6; border-radius: var(--r-xl); margin: 0 clamp(0px, 1.5vw, 24px); }
.bg-rain h2, .bg-rain h3 { color: var(--white); }
.bg-rain .section-title p { color: #e1ebf3; }
.bg-rain .overline { color: var(--amber-soft); }
.bg-espresso { background: var(--espresso); color: var(--on-dark); border-radius: var(--r-xl); margin: var(--s-6) clamp(0px, 1.5vw, 24px); }
.bg-espresso h2, .bg-espresso h3 { color: var(--cream); }
.bg-espresso .overline { color: var(--amber-soft); }
.bg-espresso .section-title p, .on-dark { color: var(--on-dark); }
.section-title { max-width: 46rem; margin-bottom: var(--s-7); }
.section-title p { color: var(--muted); font-size: var(--fs-lg); }
.section-title-center { margin-left: auto; margin-right: auto; text-align: center; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }
.title-row .section-title { margin-bottom: 0; }
.pnw-card { height: 100%; padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.pnw-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--rain-700); margin-bottom: var(--s-4); }
.pnw-ico svg { width: 24px; height: 24px; }
.pnw-card p { font-size: var(--fs-sm); color: #e1ebf3; }
.soft-photo { border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 120px; overflow: hidden; box-shadow: var(--shadow); }
.soft-photo img { width: 100%; aspect-ratio: 9 / 10; }
.soft-photo-hero { border-radius: 120px var(--r-xl) var(--r-xl) var(--r-xl); }
.pillar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.pillar-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.pillar-list h3 { margin-bottom: var(--s-2); }
.pillar-list p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.step { height: 100%; padding: var(--s-6) var(--s-5); background: var(--cream); border-radius: var(--r-lg); text-align: center; }
.step .step-bubble { width: 64px; height: 64px; background: var(--espresso); color: var(--amber-soft); margin-bottom: var(--s-4); }
.step .step-bubble svg { width: 28px; height: 28px; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.value-card { height: 100%; padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--espresso-700); }
.value-card .step-bubble { background: var(--amber); margin-bottom: var(--s-4); }
.who-card { height: 100%; padding: var(--s-6) var(--s-5); background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.who-card .step-bubble { margin-bottom: var(--s-4); }
.who-card p { color: var(--muted); }
.faq-box { display: grid; gap: var(--s-3); }
.faq-box details { background: var(--cream); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.faq-box summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); font-family: var(--font-head); font-size: 1.1rem; color: var(--espresso); cursor: pointer; list-style: none; border-radius: var(--r); }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber-soft); color: var(--espresso); flex: none; transition: transform .25s var(--ease), background-color .25s; }
.faq-mark svg { width: 18px; height: 18px; }
details[open] .faq-mark { transform: rotate(45deg); background: var(--amber); }
.faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--muted); }
.news-pillow { padding: var(--s-7) clamp(1.25rem, 5vw, 4rem); background: var(--amber-soft); border-radius: var(--r-xl); }
.news-pillow .overline { color: var(--amber-700); }
.news-pillow p { color: var(--espresso-700); }
.cta-cozy { padding: var(--s-8) clamp(1.25rem, 5vw, 4rem); background: var(--espresso); color: var(--on-dark); border-radius: var(--r-xl); background-image: radial-gradient(circle at 92% 10%, rgba(217, 137, 47, .35), transparent 45%); }
.cta-cozy h2 { color: var(--cream); }
.page-hero { padding: var(--s-7) 0 var(--s-8); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 42rem; }
.page-hero-plain { padding-bottom: var(--s-6); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 var(--s-5); font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "\00B7"; margin-right: .4rem; color: var(--amber-700); font-weight: 800; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--espresso); font-weight: 700; }
.status-page { padding: var(--s-9) 0; }
.status-page h1 { max-width: 16ch; }
.status-page .lead { max-width: 38rem; margin-bottom: var(--s-6); }
.callout { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r); background: var(--amber-soft); color: var(--text); margin-top: var(--s-6); }
.callout svg { width: 24px; height: 24px; color: var(--amber-700); margin-top: 2px; }

/* 9. Blog ------------------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--cream); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.post-card-photo img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post-card:hover .post-card-photo img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: var(--s-5); }
.post-card h2, .post-card h3 { font-size: 1.3rem; }
.post-card h2 a, .post-card h3 a { color: var(--espresso); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.post-card p { color: var(--muted); }
.post-card .more-link { margin-top: auto; }
.feature-post { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; background: var(--cream); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.feature-post-photo { display: block; height: 100%; min-height: 360px; }
.feature-post-photo img { width: 100%; height: 100%; }
.feature-post-body { padding: clamp(1.5rem, 4vw, 3.25rem); }
.feature-post-body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.feature-post-body h2 a { color: var(--espresso); text-decoration: none; }
.feature-post-body h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.feature-post-body p { color: var(--muted); }
.mt-posts { margin-top: var(--s-4); }
.article-head { padding: var(--s-6) 0 0; }
.article-head-text { max-width: 860px; }
.article-head h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.2rem); }
.byline { font-weight: 700; color: var(--amber-700); }
.article-photo { margin: var(--s-6) 0 0; }
.article-photo img { width: 100%; aspect-ratio: 21 / 10; border-radius: var(--r-xl); }
.article-photo figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); text-align: right; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); margin-top: var(--s-7); scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 var(--s-5); padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.prose li::before { content: ""; position: absolute; left: .2rem; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.article-foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px dashed var(--line); }
.copy-status { margin-top: var(--s-3); font-weight: 700; color: var(--success); }
.copy-status:empty { display: none; }
.sidebar { position: sticky; top: 110px; display: grid; gap: var(--s-5); }
.side-card { padding: var(--s-6) var(--s-5); background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.side-card h2 { font-size: 1.25rem; }
.side-card-espresso { background: var(--espresso); color: var(--on-dark); }
.side-card-espresso h2 { color: var(--cream); }
.side-card-espresso .step-bubble { background: var(--amber); margin-bottom: var(--s-4); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.toc a { display: block; padding: .4rem .7rem; border-radius: 10px; color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.toc a:hover { background: var(--amber-soft); color: var(--espresso); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; }
.tick-list svg { width: 22px; height: 22px; color: var(--rain); margin-top: 2px; }

/* 10. Forms ---------------------------------------------------------------- */
.form-shell { padding: clamp(1.5rem, 4vw, 3rem); background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.form-intro { color: var(--muted); }
.form { display: grid; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-weight: 700; color: var(--espresso); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 52px; padding: .75rem 1.1rem; border: 1.5px solid #b9a894; border-radius: var(--r); background: var(--white); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rain); box-shadow: 0 0 0 4px rgba(63, 106, 138, .25); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .925rem; font-weight: 700; margin: .4rem 0 0; }
.field .field-error { margin-top: 0; }
.field-error:empty { display: none; }
.hint { font-size: .9rem; color: var(--muted); margin: 0; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.checkbox input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--espresso); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: var(--s-4) var(--s-5); border-radius: var(--r); font-weight: 700; }
.form-alert svg { width: 22px; height: 22px; margin-top: 2px; }
.form-alert p { margin: 0; }
.form-alert[hidden] { display: none; }
.form-alert-error { background: var(--danger-bg); color: var(--danger); }
.form-alert-success { background: var(--success-bg); color: var(--success); }
.inline-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: start; }
.contact-card { padding: var(--s-6) var(--s-5); background: var(--espresso); color: var(--on-dark); border-radius: var(--r-lg); }
.contact-card h2 { color: var(--cream); font-size: 1.5rem; }
.contact-card h3 { font-family: var(--font-body); font-weight: 800; color: var(--amber-soft); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.contact-card a { color: var(--cream); }
.contact-card .more-link { color: var(--amber-soft); margin-top: var(--s-3); }
.contact-card .step-bubble { background: var(--amber); }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.contact-rows li { display: flex; gap: var(--s-4); min-width: 0; }
.contact-rows li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-rows p { margin: 0; }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: var(--espresso); color: var(--on-dark); padding: 0 0 var(--s-5); margin-top: calc(var(--s-8) + 40px); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--amber-soft); text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: var(--cream); text-decoration: none; }
.footer-hug { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) clamp(1.25rem, 4vw, 2.5rem); margin: 0 0 var(--s-7); transform: translateY(-50%); background: var(--amber); border-radius: var(--r-lg); color: var(--espresso); box-shadow: var(--shadow); }
.footer-hug p { margin: 0; font-family: var(--font-head); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.footer-hug .btn { background: var(--espresso); color: var(--cream); }
.footer-hug .btn:hover { background: var(--espresso-700); color: var(--cream); text-decoration: none; }
.footer-hug :focus-visible { outline-color: var(--espresso); }
.footer-blurb { margin: var(--s-5) 0; max-width: 34rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.footer-col h2 { font-family: var(--font-body); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5) !important; }
.footer-sub { margin-top: var(--s-6); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--espresso); color: var(--cream); box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s; }
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--amber); color: var(--espresso); }

/* 12. Responsive ----------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .primary-nav { position: fixed; top: var(--nav-top, 80px); left: 0; right: 0; bottom: 0; z-index: 120; margin: 0; background: var(--oat); padding: var(--s-5) clamp(16px, 4vw, 40px) var(--s-7); overflow-y: auto; display: none; }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .4rem; padding: 0; background: none; border: 0; border-radius: 0; }
  .nav-link { font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; padding: .8rem 1.25rem; background: var(--cream); border-radius: var(--r); }
  .mobile-extra { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
  .m-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--espresso); text-decoration: none; overflow-wrap: anywhere; }
  .m-link svg { width: 22px; height: 22px; color: var(--amber-700); flex: none; }
  .round-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-card { grid-column: 1 / 9; }
}
@media (max-width: 991.98px) {
  .section { padding: var(--s-8) 0; }
  .sidebar { position: static; }
  .btn-row-end { justify-content: flex-start; }
  .section-title { margin-bottom: var(--s-6); }
  .hero-frame { display: block; }
  .hero-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-card { margin: -90px var(--s-4) 0; }
  .round-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-post { grid-template-columns: minmax(0, 1fr); }
  .feature-post-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-hug { transform: translateY(-40%); margin-bottom: var(--s-5); }
}
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .round-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
  .inline-field { grid-template-columns: minmax(0, 1fr); }
  .inline-field .btn { width: 100%; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .footer-split { grid-template-columns: minmax(0, 1fr); }
  .hero-card { margin: -60px 0 0; }
  .hero-photo { border-radius: var(--r-lg); }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .bg-latte, .bg-rain, .bg-espresso { border-radius: var(--r-lg); }
  .svc-card-body { margin: -48px var(--s-3) 0; }
  .goal-head { flex-direction: column; gap: var(--s-4); }
  .goal-ico { width: 56px; height: 56px; }
  .article-photo img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .soft-photo { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 80px; }
  .soft-photo-hero { border-radius: 80px var(--r-lg) var(--r-lg) var(--r-lg); }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .header-inner { gap: var(--s-3); min-height: 58px; }
  .nav-toggle-text { display: none; }
  .nav-toggle { width: 46px; padding: 0; justify-content: center; }
  .btn { padding-left: 1.15rem; padding-right: 1.15rem; }
  .goal-tab { padding-right: .9rem; font-size: .93rem; }
  .comfort-strip li { font-size: .93rem; }
  .round-name { font-size: 1rem; }
  .round-short { font-size: .85rem; }
  .hero-card { padding: 1.5rem 1.25rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1rem; }
  .brand { gap: .45rem; }
  .brand img { width: 34px; height: 34px; }
}

/* 13. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .back-to-top, .news-pillow, .cta-cozy, .sidebar, .goal-tabs { display: none !important; }
  .goal-panel[hidden] { display: block !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .section { padding: 1.5rem 0; }
}
.site-footer .brand img { background: var(--cream); border-radius: 16px; padding: 3px; }
