/* =========================================================================
   Oriyah Mental Health — Site Stylesheet
   A warm, editorial system built around the practice's existing brand:
   cream paper, sage/olive accents, and a serif display voice.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Sans:wght@400;500;600;700&display=swap');

:root{
  /* ---- palette (aligned to the reference brand: warm cream + terracotta) ---- */
  --cream:        #FBF0E6;
  --cream-deep:   #F7E4D2;
  --paper:        #FFFAF6;
  --olive:        #7F8F78;
  --olive-dark:   #64725C;
  --olive-pale:   #E8ECE1;
  --terracotta:   #B85D20;
  --terracotta-deep:#9E4E1B;
  --brown:        #6B3518;
  --brown-deep:   #4A2814;
  --taupe:        #735F51;
  --gold:         #B8763A;
  --gold-light:   #EAA047;
  --ink:          #34261E;
  --ink-soft:     #624D40;
  --line:         rgba(107,53,24,.12);
  --shadow-soft:  0 18px 50px rgba(92,51,25,.10);
  --shadow-card:  0 8px 30px rgba(107,53,24,.06);
  --radius-lg:    28px;
  --radius-md:    18px;
  --radius-sm:    10px;
  --max:          1180px;
  --nav-h:        86px;
}

*, *::before, *::after{ box-sizing: border-box; }
/* `overflow-x: hidden` on both root elements can create competing scroll
   containers in iOS Safari. `clip` prevents horizontal bleed without taking
   ownership of vertical touch scrolling. */
html{ scroll-behavior: smooth; overflow-x: clip; }
body{ overflow-x: clip; width: 100%; }
[id]{ scroll-margin-top: calc(var(--nav-h) + 22px); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }

.container{ width: min(var(--max), 92%); margin: 0 auto; }

h1, h2, h3, h4, .display{
  font-family: 'Cormorant Garamond', serif;
  color: var(--brown-deep);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
}
h1{ font-size: clamp(2.6rem, 5.2vw, 4.6rem); letter-spacing: -0.01em; }
h2{ font-size: clamp(2rem, 3.6vw, 3rem); }
h3{ font-size: 1.5rem; }
h4{ font-size: 1.15rem; font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--brown); }

.italic-serif{ font-style: italic; font-weight: 500; }

p{ margin: 0 0 1rem; color: var(--ink-soft); max-width: 62ch; }
.lede{ font-size: 1.2rem; color: var(--ink-soft); }

.eyebrow{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--terracotta);
  display: inline-block;
  margin-bottom: .6rem;
}
.eyebrow::before{ content: "· "; }
.eyebrow::after{ content: " ·"; }

.center{ text-align: center; margin-left: auto; margin-right: auto; }
.section-head{ max-width: 640px; margin-bottom: 3.75rem; }
.section-head.center{ margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: .96rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--terracotta); color: var(--paper); box-shadow: 0 9px 24px rgba(184,93,32,.22); }
.btn-primary:hover{ background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-olive{ background: var(--olive); color: var(--paper); box-shadow: 0 10px 26px rgba(95,106,72,.28); }
.btn-olive:hover{ background: var(--olive-dark); transform: translateY(-2px); }
.btn-soft{ background: #F6DFCB; color: var(--brown); }
.btn-soft:hover{ background: #efd0b6; }
.btn-outline{ background: transparent; border: 1.5px solid var(--line); color: var(--brown); }
.btn-outline:hover{ border-color: var(--brown); }
.btn-block{ width: 100%; }
.btn[disabled]{ opacity: .6; cursor: not-allowed; }

/* ---------------------------------------------------------------------- */
/* Header / Navigation                                                    */
/* ---------------------------------------------------------------------- */
.topbar{
  background: var(--terracotta); color: #fff5ec; font-size: .8rem;
  overflow: hidden; white-space: nowrap; letter-spacing: .02em;
}
.topbar-track{ display: flex; flex-wrap: nowrap; width: max-content; animation: topbarScroll 26s linear infinite; }
.topbar-item{ display: inline-flex; flex: 0 0 auto; white-space: nowrap; align-items: center; padding: 8px 32px; }
.topbar a{ color: #fff5ec; text-decoration: underline; text-underline-offset: 2px; }
@keyframes topbarScroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (min-width: 961px){
  .topbar-track{ width: 100%; justify-content: center; animation: none; }
  .topbar-item{ justify-content: center; }
  .topbar-item[aria-hidden="true"]{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .topbar-track{ animation: none; }
  .topbar{ overflow-x: auto; }
  .topbar-item[aria-hidden="true"]{ display: none; }
}
@media (max-width: 720px){
  .topbar{ font-size: .54rem; font-weight: 500; }
  .topbar-track{ animation-duration: 40s; }
  .topbar-item{ padding: 6px 16px; }
}

header.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(14px)){
  header.site-header{ background: rgba(251,240,230,.92); backdrop-filter: blur(14px); }
}
nav.navbar{
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ height: 58px; width: auto; }

.navlinks{ display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.navlinks > li{ position: relative; }
.navlinks > li > a, .navlinks > li > button.nav-toggle{
  display: flex; align-items: center; gap: 5px;
  padding: 10px 12px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--brown);
  background: none; border: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.navlinks > li > a:hover, .navlinks > li > button.nav-toggle:hover,
.navlinks > li.open > button.nav-toggle{
  background: var(--olive-pale); color: var(--olive-dark);
}
.navlinks > li > a.active-link{ color: var(--terracotta); }
.caret{ width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
li.open .caret{ transform: rotate(225deg) translateY(1px); }

.dropdown{
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: var(--paper); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
li.open .dropdown{ opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a{
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: .9rem; font-weight: 600; color: var(--ink);
}
.dropdown a:hover{ background: var(--cream-deep); color: var(--olive-dark); }
.dropdown a span{ display: block; font-weight: 400; color: var(--ink-soft); font-size: .78rem; margin-top: 2px; }

.nav-cta{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger{
  display: none; background: rgba(107,53,24,.07); border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; color: var(--brown);
  align-items: center; justify-content: center; flex-shrink: 0; padding: 0;
}
.hamburger svg{ display: block; }
.hamburger .hamburger-close{ display: none; }
.menu-open .hamburger .hamburger-open{ display: none; }
.menu-open .hamburger .hamburger-close{ display: block; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero{
  min-height: calc(100vh - 124px);
  min-height: calc(100svh - 124px);
  padding: clamp(42px, 6vh, 70px) 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--paper) 56%, #F5DDC7 100%);
  overflow: clip;
  touch-action: pan-y;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.hero::before,
.hero::after{
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.hero::before{
  width: 42vw;
  height: 42vw;
  right: -15vw;
  top: -24vw;
  background: radial-gradient(circle, rgba(234,160,71,.15), rgba(234,160,71,0) 70%);
}
.hero::after{
  width: 34vw;
  height: 34vw;
  left: -17vw;
  bottom: -22vw;
  background: radial-gradient(circle, rgba(184,93,32,.08), rgba(184,93,32,0) 70%);
}
.hero-grid{ display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow{ font-size: 1.15rem; }
.hero h1{ margin: 10px 0 20px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-tags{ display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--ink-soft); }
.hero-tags span::before{ content: "•"; margin-right: 8px; color: var(--terracotta); }
.hero-tags span:first-child::before{ content: ""; margin: 0; }

.hero-photo{ position: relative; padding-bottom: 20px; }
.hero-photo-mobile{ display: none; }
.photo-frame{
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  background: var(--olive-pale); aspect-ratio: 3/2;
}
.photo-frame.portrait{ aspect-ratio: 4/5; }
.photo-frame img{ width: 100%; height: 100%; object-fit: cover; object-position: center; will-change: transform; }
.floating-card{
  position: absolute; left: 6%; bottom: -8%;
  background: var(--paper); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-soft); max-width: 260px;
  font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--brown);
  font-size: 1.05rem; line-height: 1.4;
}

/* trust strip */
.trust-strip{ background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 0; touch-action: pan-y; }
.trust-row{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font-size: .84rem; font-weight: 600; color: var(--taupe); }
.trust-row span{ display: flex; align-items: center; gap: 8px; }
.trust-row span::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); display: inline-block; }

.compassion-intro{
  background: linear-gradient(135deg, #FFF9F3 0%, #F8E5D4 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compassion-intro .section-head{ max-width: 820px; margin-bottom: 0; }
.compassion-intro .lede{ max-width: 760px; }
.compassion-tags{
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(107,53,24,.12);
}
.compassion-tags span{
  background: rgba(255,250,246,.78);
  border: 1px solid rgba(184,93,32,.12);
  border-radius: 999px;
  padding: 8px 14px;
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                */
/* ---------------------------------------------------------------------- */
.section{ padding: 110px 0; }
.section-tight{ padding: 70px 0; }
.section-alt{ background: var(--cream-deep); padding: 110px 0; }
.section-olive{ background: var(--olive); color: var(--paper); padding: 110px 0; }
.section-olive h2, .section-olive h3{ color: var(--paper); }
.section-olive p{ color: #eef1e5; }
.section-olive .checklist li::before{ color: var(--paper); }
.section-brown{ background: var(--brown-deep); color: #f3e6d8; padding: 110px 0; }
.section-brown h2{ color: #fbf3e6; }
.section-brown p{ color: #e2cdb8; }

.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.referral-split{
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  column-gap: 96px;
}
.split-media{ width: 100%; }
.split.reverse .split-media{ order: 2; }
.split-media img{ border-radius: var(--radius-lg); width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; object-position: center; }
.split-media.wide img{ aspect-ratio: 16/9; }
.split-media.tall img{ aspect-ratio: 3/4; }
.split-media.tania-portrait img{
  aspect-ratio: 4/5;
  object-position: center 24%;
  box-shadow: var(--shadow-soft);
}
.split-media.tania-portrait{
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.about-intro{ padding-top: 76px; }
.about-portrait-wrap{
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

/* audience / info cards */
.card-grid{ display: grid; gap: 28px; }
.cols-2{ grid-template-columns: repeat(2, 1fr); }
.cols-3{ grid-template-columns: repeat(3, 1fr); }
.cols-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.card h3{ margin-bottom: 10px; font-size: 1.3rem; }
.card p{ margin-bottom: 0; }
.card-plain{ background: none; border: 0; box-shadow: none; padding: 0; }
.card-olive{ background: var(--olive); border: 0; color: var(--paper); }
.card-olive .checklist li::before{ color: var(--paper); }

.icon-mark{
  width: 46px; height: 46px; border-radius: 50%;
  background: #F8DFC9; color: var(--terracotta);
  display: grid; place-items: center; margin-bottom: 16px;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem;
}

.pill-tag{
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: #F8E7D7; color: var(--terracotta);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.tag-row{ display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

.specialty-strip-card{
  background: linear-gradient(135deg, #FFF5EC 0%, #F7E2D0 100%);
  border: 1px solid rgba(184,93,32,.10);
  padding: 30px;
  text-align: center;
}

.children-pillars{ display: grid; gap: 12px; margin: 24px 0; }
.children-pillars > div{
  background: rgba(255,250,246,.76);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 18px;
}
.children-pillars h4{ margin-bottom: 4px; }
.children-pillars p{ margin: 0; font-size: .92rem; }
.approach-pillars .card{ height: 100%; }
.approach-tags{ justify-content: center; max-width: 820px; margin: 0 auto; }
.approach-tags .pill-tag{ font-size: .86rem; padding: 9px 16px; }

/* service / specialty overview cards (grid on services & specialties pages) */
.service-card{ overflow: hidden; padding: 0; display: flex; flex-direction: column; height: 100%; }
.service-card .thumb{ aspect-ratio: 4/3; overflow: hidden; }
.service-card .thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img{ transform: scale(1.05); }
.service-card .body{ padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.service-card .body h4{ margin-bottom: 0; }
.service-card .body p{ font-size: .9rem; margin-bottom: 0; flex: 1; }
.service-card .body a{ margin-top: 6px; font-weight: 700; color: var(--terracotta); align-self: flex-start; }
.service-card .body a::after{ content: " →"; }

/* checklist */
.checklist li{ position: relative; padding-left: 30px; margin: 12px 0; color: var(--ink-soft); }
.checklist li::before{ content: "✓"; position: absolute; left: 0; color: var(--terracotta); font-weight: 800; }

/* quote / pull-quote */
.pull-quote{
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--brown); line-height: 1.4;
}
.quote-card{ background: var(--paper); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.quote-card cite{ display: block; margin-top: 18px; font-style: normal; font-family: 'DM Sans'; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

/* story / vignette blocks used across services & specialties pages */
.vignette{ padding: 90px 0; border-bottom: 1px solid var(--line); }
.vignette:last-of-type{ border-bottom: 0; }
.vignette .kicker{ font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2rem; color: var(--brown-deep); margin-bottom: 18px; }
.vignette strong{ color: var(--brown); }
.vignette .checklist{ margin: 18px 0; }

/* testimonials — redesigned as a warm grid layout */
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.t-card{
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 32px 28px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}
.t-card::before{
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: .8;
  color: var(--terracotta);
  opacity: .18;
  position: absolute;
  top: 18px;
  left: 22px;
}
.t-card p{
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 16px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  flex: 1;
}
.t-card .who{
  font-weight: 700;
  font-size: .82rem;
  color: var(--terracotta);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
/* featured large card spans 2 cols */
.t-card.t-featured{
  grid-column: span 2;
  background: var(--terracotta);
}
.t-card.t-featured p{ color: rgba(255,255,255,.88); }
.t-card.t-featured .who{ color: rgba(255,255,255,.6); border-top-color: rgba(255,255,255,.2); }
.t-card.t-featured::before{ color: #fff; opacity: .12; }

.testimonials-note{
  text-align: center;
  font-size: .82rem;
  color: var(--taupe);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* old scrollable track — kept in case used elsewhere */
.testimonial-wrap{ position: relative; }
.testimonial-track{ display: none; }
.carousel-controls{ display: none; }

@media (max-width: 960px){
  .testimonials-grid{ grid-template-columns: 1fr 1fr; }
  .t-card.t-featured{ grid-column: span 2; }
}
@media (max-width: 720px){
  .testimonials-grid{ grid-template-columns: 1fr; gap: 16px; }
  .t-card.t-featured{ grid-column: span 1; }
  .t-card{ padding: 24px 22px 20px; }
  .t-card p{ font-size: 1rem; }
}

/* FAQ accordion (shared style, replaces embed-specific styling) */
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  margin-bottom: 12px; overflow: hidden; background: var(--paper);
}
.faq-heading{ margin: 0; font: inherit; }
.faq-q{
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--brown);
  font-size: 1.02rem; width: 100%; border: 0; background: transparent; text-align: left;
}
.faq-q .plus{ flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after{
  content: ""; position: absolute; background: var(--terracotta); border-radius: 2px;
  transition: transform .25s ease;
}
.faq-q .plus::before{ left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after{ top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .plus::after{ transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer{ max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner{ padding: 0 22px 20px; color: var(--ink-soft); }
.faq-answer-inner ul{ margin: 10px 0 0 1.2rem; list-style: disc; }
.faq-answer-inner li{ margin: 4px 0; }
.faq-tabs{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.faq-tab{
  padding: 10px 20px; border-radius: 999px; border: 0; box-shadow: var(--shadow-card);
  background: var(--paper); font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--taupe);
}
.faq-tab.active{ background: var(--brown); color: var(--paper); border-color: var(--brown); }
.faq-group{ display: none; }
.faq-group.active{ display: block; }

/* disclaimer / alert box */
.notice-box{
  background: var(--cream-deep);
  border-radius: var(--radius-md); padding: 24px 26px; margin: 30px 0;
}
.notice-box.warn{ background: #f6ecd8; border-color: #e3c98f; }
.notice-box p:last-child{ margin-bottom: 0; }
.notice-box .warn-line{ font-weight: 700; color: var(--brown-deep); }

/* forms */
.form-grid{ display: grid; gap: 16px; }
label.field-label{ font-weight: 700; font-size: .85rem; color: var(--brown); display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], textarea, select{
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: 'DM Sans'; font-size: .95rem; background: var(--paper); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus{
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-pale);
}
textarea{ min-height: 130px; resize: vertical; }
.checkbox-row{ display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--ink-soft); }
.checkbox-row input{ width: auto; margin-top: 4px; }
.form-card{ background: var(--paper); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-soft); }
.form-note{ font-size: .8rem; color: var(--ink-soft); }
.form-success{ background: var(--olive-pale); color: var(--olive-dark); padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-error{ background: #f7dede; color: #8a3b3b; padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.honeypot{ position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* contact info list */
.info-list{ display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.info-list li{ display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.info-list .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); margin-top: 9px; flex-shrink: 0; }

/* CTA band */
.cta-band{ text-align: center; padding: 90px 0; }
.cta-band .lede{ max-width: 560px; margin: 14px auto 30px; }

/* footer */
footer.site-footer{ background: var(--cream); color: var(--ink-soft); padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer-grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4{ color: var(--brown); margin-bottom: 14px; font-size: 1.05rem; }
.footer-grid a{ display: block; padding: 5px 0; color: var(--ink-soft); transition: color .2s ease; }
.footer-grid a:hover{ color: var(--terracotta); }
.footer-brand img{ height: 74px; margin-bottom: 14px; }
.footer-badges{ display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.badge-chip{ display: flex; align-items: center; gap: 8px; background: #fff; box-shadow: var(--shadow-card); padding: 8px 14px; border-radius: 999px; font-size: .78rem; color: var(--taupe); }
.badge-chip .check{ width: 16px; height: 16px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; font-size: 10px; color: #fff; }
.social-row{ display: flex; gap: 12px; margin-top: 18px; }
.social-row a{ width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; padding:0; transition: background .2s ease; }
.social-row a:hover{ background: var(--terracotta-deep); }
.social-row svg{ width: 17px; height: 17px; fill: #fff; }
.footer-bottom{ border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: .78rem; color: var(--taupe); display:flex; flex-wrap:wrap; gap:10px 24px; justify-content: space-between; }
.footer-bottom a{ display:inline; color:var(--terracotta); text-decoration: underline; text-underline-offset: 2px;}

/* back to top */
.back-to-top{
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brown); color: var(--paper); display: grid; place-items: center;
  box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 60; border: 0; cursor: pointer;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------------------------------------------------------------- */
/* Scroll motion — reversible, calm, and shared across every page          */
/* ---------------------------------------------------------------------- */
.motion-ready .reveal{
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.992);
  transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.motion-ready .reveal.from-above{ transform: translate3d(0, -20px, 0) scale(.992); }
.motion-ready .reveal.in-view{ opacity: 1; transform: translate3d(0,0,0) scale(1); will-change: auto; }

.motion-ready .reveal-pair > *{
  opacity: 0;
  transition: opacity .76s cubic-bezier(.22,1,.36,1), transform .76s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.motion-ready .reveal-pair > *:first-child{ transform: translate3d(-30px,0,0); }
.motion-ready .reveal-pair > *:last-child{ transform: translate3d(30px,0,0); transition-delay: .08s; }
.motion-ready .reveal-pair.reverse > *:first-child{ transform: translate3d(30px,0,0); }
.motion-ready .reveal-pair.reverse > *:last-child{ transform: translate3d(-30px,0,0); }
.motion-ready .reveal-pair.in-view > *{ opacity: 1; transform: translate3d(0,0,0); will-change: auto; }
.motion-ready .reveal-pair .split-media img{ transform: scale(1.025); transition: transform 1.05s cubic-bezier(.22,1,.36,1); }
.motion-ready .reveal-pair.in-view .split-media img{ transform: scale(1); }

.motion-ready .reveal-stagger > *{
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.985);
  transition: opacity .62s cubic-bezier(.22,1,.36,1), transform .62s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.motion-ready .reveal-stagger.from-above > *{ transform: translate3d(0,-16px,0) scale(.985); }
.motion-ready .reveal-stagger.in-view > *{ opacity: 1; transform: translate3d(0,0,0) scale(1); will-change: auto; }
.motion-ready .reveal-stagger.in-view > *:nth-child(1){ transition-delay: .03s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(2){ transition-delay: .09s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(3){ transition-delay: .15s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(4){ transition-delay: .21s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(5){ transition-delay: .27s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(6){ transition-delay: .33s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(7){ transition-delay: .39s; }
.motion-ready .reveal-stagger.in-view > *:nth-child(8){ transition-delay: .45s; }

header.site-header{
  transition: box-shadow .3s ease, background-color .3s ease;
}
header.site-header.is-scrolled{
  box-shadow: 0 10px 30px rgba(74,40,20,.08);
}

@media (hover:hover) and (pointer:fine){
  .card, .offer-card, .blog-card, .quote-card, .widget-card{
    transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
  }
  .card:hover, .offer-card:hover, .blog-card:hover, .quote-card:hover, .widget-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(107,53,24,.10);
  }
  .motion-ready .reveal-stagger.in-view > .card:hover,
  .motion-ready .reveal-stagger.in-view > .offer-card:hover,
  .motion-ready .reveal-stagger.in-view > .blog-card:hover{
    transform: translateY(-5px) scale(1);
  }
  .btn:active{ transform: translateY(0) scale(.98); }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid rgba(184,93,32,.34);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  .motion-ready .reveal,
  .motion-ready .reveal-pair > *,
  .motion-ready .reveal-stagger > *{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .motion-ready .reveal-pair .split-media img{
    transform: none !important;
    transition: none !important;
  }
}

/* Hero entrance — a one-time opening sequence, intentionally separate from
   the IntersectionObserver-driven scroll animations used below the fold. */
.hero-load .eyebrow,
.hero-load h1,
.hero-load > p,
.hero-load .hero-actions,
.hero-content > .hero-tags{
  opacity: 0;
  transform: translate3d(0,22px,0);
  animation: heroCopyIn .82s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-load .eyebrow{ animation-delay: .08s; }
.hero-load h1{ animation-delay: .18s; }
.hero-load > p:nth-of-type(1){ animation-delay: .32s; }
.hero-load > p:nth-of-type(2){ animation-delay: .39s; }
.hero-load > p:nth-of-type(3){ animation-delay: .46s; }
.hero-load .hero-actions{ animation-delay: .58s; }
.hero-content > .hero-tags{ animation-delay: .72s; }
.hero-grid > .hero-photo{
  opacity: 0;
  transform: translate3d(30px,18px,0) scale(.96);
  animation: heroPhotoIn 1.08s cubic-bezier(.16,1,.3,1) .24s forwards;
}
.hero-grid > .hero-photo .photo-frame{
  clip-path: inset(0 100% 0 0 round var(--radius-lg));
  animation: heroPhotoWipe 1.05s cubic-bezier(.16,1,.3,1) .28s forwards;
}
.hero-grid > .hero-photo .photo-frame img{
  transform: scale(1.08);
  animation: heroImageSettle 1.35s cubic-bezier(.16,1,.3,1) .28s forwards;
}
.hero-grid > .hero-photo .floating-card{
  opacity: 0;
  transform: translate3d(0,14px,0);
  animation: heroCardIn .72s cubic-bezier(.16,1,.3,1) .94s forwards;
}
.hero-content > .hero-tags span{
  opacity: 0;
  animation: heroTagIn .45s ease forwards;
}
.hero-content > .hero-tags span:nth-child(1){ animation-delay: .76s; }
.hero-content > .hero-tags span:nth-child(2){ animation-delay: .84s; }
.hero-content > .hero-tags span:nth-child(3){ animation-delay: .92s; }
.hero-content > .hero-tags span:nth-child(4){ animation-delay: 1s; }
@keyframes heroCopyIn{ to{ opacity: 1; transform: translate3d(0,0,0); } }
@keyframes heroPhotoIn{ to{ opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes heroPhotoWipe{ to{ clip-path: inset(0 0 0 0 round var(--radius-lg)); } }
@keyframes heroImageSettle{ to{ transform: scale(1); } }
@keyframes heroCardIn{ to{ opacity: 1; transform: translate3d(0,0,0); } }
@keyframes heroTagIn{ to{ opacity: 1; } }
@media (prefers-reduced-motion: reduce){
  .hero-load .eyebrow,
  .hero-load h1,
  .hero-load > p,
  .hero-load .hero-actions,
  .hero-load .hero-photo-mobile,
  .hero-content > .hero-tags,
  .hero-content > .hero-tags span,
  .hero-grid > .hero-photo,
  .hero-grid > .hero-photo .floating-card{
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero-grid .photo-frame{
    clip-path: none !important;
    animation: none !important;
  }
  .hero-grid .photo-frame img{
    transform: none !important;
    animation: none !important;
  }
}



/* ---------------------------------------------------------------------- */
/* Widgets: mood slider + sticky note wall (restyled to match this site)   */
/* ---------------------------------------------------------------------- */
.widget-card{ background: var(--paper); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.mood-widget{ max-width: 460px; margin: 0 auto; text-align: center; }
.mood-widget h3{ margin-bottom: 1.4rem; }
input[type=range]{ -webkit-appearance: none; appearance:none; width: 100%; height: 6px; border-radius: 3px; background: var(--olive-pale); outline: none; }
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--olive); border: 3px solid var(--paper); cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s ease;
}
input[type=range]:active::-webkit-slider-thumb{ transform: scale(1.15); }
input[type=range]::-moz-range-thumb{ width: 26px; height: 26px; border-radius: 50%; background: var(--olive); border: 3px solid var(--paper); }
.mood-emojis{ display: flex; justify-content: space-between; margin-top: 1rem; font-size: 1.7rem; }
.mood-emojis span{ flex: 1; transition: transform .35s cubic-bezier(.22,1.02,.36,1); }
.mood-emojis .active{ transform: scale(1.35) translateY(-4px); }
.mood-tip{ font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--brown); min-height: 2.6em; margin-top: 1.6rem; opacity: 0; transition: opacity .4s ease; }
.mood-tip.show{ opacity: 1; }

.wall-widget{ max-width: 820px; margin: 0 auto; text-align: center; }
.note-form{ display: flex; flex-direction: column; gap: .8rem; align-items: center; margin: 1.6rem 0 2.2rem; width: 100%; }
.note-form textarea{ width: 100%; max-width: 480px; margin: 0 auto; resize: none; }
.share-toggle{ display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-soft); }
.share-toggle input{ width: auto; }
.note-grid{ display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.sticky-note{
  width: 170px; min-height: 160px; padding: 16px 14px 14px; border-radius: 4px;
  box-shadow: 0 8px 18px rgba(58,42,30,.18); white-space: pre-wrap; font-size: .88rem; color: var(--brown-deep);
  font-family: 'Cormorant Garamond', serif; font-size: 1.02rem;
}
.sticky-note.pressed{ filter: grayscale(.7); opacity: .6; }
@keyframes noteDrop{
  0%{ transform: translateY(-70px) scale(.6) rotate(var(--rot)); opacity: 0; }
  60%{ transform: translateY(10px) scale(1.04) rotate(var(--rot)); opacity: 1; }
  100%{ transform: translateY(0) scale(1) rotate(var(--rot)); }
}
.sticky-note{ animation: noteDrop .5s ease-out; }

/* Tania caption block that sits under a split-media image */
.tania-caption{
  margin-top: 16px; padding: 18px 20px;
  background: var(--cream-deep); border-radius: var(--radius-sm);
}
.tania-caption p{ margin: 0; }
.tania-caption .tc-name{ font-weight: 700; color: var(--brown); margin-bottom: 4px; }
.tania-caption .tc-quote{ font-style: italic; color: var(--ink-soft); margin-bottom: 10px; }
.tania-caption a{ font-weight: 700; color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px){ .tania-caption{ margin-top: 12px; } }
.blog-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card{ background: var(--paper); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.blog-card .thumb{ aspect-ratio: 16/9; overflow: hidden; }
.blog-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.blog-card .body{ padding: 22px 24px; }
.blog-card .meta{ font-size: .78rem; color: var(--ink-soft); margin-bottom: 8px; }
.blog-card h3{ font-size: 1.25rem; margin-bottom: 8px; }

/* what-we-offer mini cards (women's wellness) */
.offer-card{ background: var(--paper); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-card); }
.offer-card h4{ margin-bottom: 8px; }
.offer-card p{ font-size: .92rem; margin-bottom: 0; }

/* local page sub-nav (pill jump links) */
.subnav{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 22px 0; }
.subnav a{ padding: 9px 18px; border-radius: 999px; background: var(--paper); border: 0; box-shadow: var(--shadow-card); font-size: .85rem; font-weight: 700; color: var(--taupe); }
.subnav a:hover{ background: var(--olive-pale); color: var(--olive-dark); }

/* skip link */
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--brown); color: #fff;
  padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* utility */
.mt-0{ margin-top: 0; } .mb-0{ margin-bottom: 0; }
.text-center{ text-align: center; }
.max-w-prose{ max-width: 62ch; margin-left: auto; margin-right: auto; }
.flex-center{ display:flex; align-items:center; justify-content:center; }
.gap-3{gap:12px;} .gap-4{gap:16px;}

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */
@media (max-width: 1280px){
  .navlinks, .nav-cta .btn-outline{ display: none; }
  .hamburger{ display: flex; }
}
@media (max-width: 1080px){
  .cols-4{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .navlinks, .nav-cta .btn-outline{ display: none; }
  .hamburger{ display: flex; }
}
@media (max-width: 960px){
  .navlinks, .nav-cta .btn-outline{ display: none; }
  .hamburger{ display: flex; }
  .hero-grid, .split{ grid-template-columns: 1fr; }
  .referral-split{ gap: 40px; }
  .cols-3{ grid-template-columns: 1fr 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .floating-card{ left: 12px; }
}
/* ======================================================================
   MOBILE  (<=720px) — a deliberate mobile layout, not a squeezed desktop.
   Tighter type scale, consistent left-alignment, equal-width buttons,
   and calmer vertical rhythm so the page doesn't run on forever.
   ====================================================================== */
@media (max-width: 720px){
  /* ---- rhythm ---- */
  .section{ padding: 44px 0; }
  .section-tight{ padding: 32px 0; }
  .cta-band{ padding: 48px 0; }
  .section-head{ margin-bottom: 1.5rem; }
  .container{ width: 88%; }

  /* ---- type scale ---- */
  h1{ font-size: 2.15rem; line-height: 1.12; }
  h2{ font-size: 1.72rem; line-height: 1.18; }
  h3{ font-size: 1.22rem; }
  h4{ font-size: 1.05rem; }
  p{ font-size: .97rem; line-height: 1.62; }
  .lede{ font-size: 1.05rem; line-height: 1.55; }
  .eyebrow{ font-size: .92rem; margin-bottom: .35rem; }
  /* Drop the decorative dots on mobile — on long eyebrows the trailing
     dot wraps onto its own line and looks like a typo. */
  .eyebrow::before, .eyebrow::after{ content: none; }
  .pull-quote{ font-size: 1.15rem; line-height: 1.45; }

  /* ---- hero ---- */
  .hero{
    min-height: calc(100vh - 95px);
    min-height: calc(100svh - 95px);
    padding: 24px 0 28px;
  }
  .hero-grid{ gap: 0; }
  .hero-content{ display: contents; }
  .hero-copy{ order: 1; }
  .hero-grid > .hero-photo{ display: none; }
  .hero-photo-mobile{ display: block; width: 88%; margin: 18px auto 20px; }
  .hero-content > .hero-tags{ order: 3; margin-top: 18px; justify-content: center; }
  .hero h1{ margin: 6px 0 14px; }
  .hero-copy p{ margin-bottom: .7rem; }
  .hero-copy .lede{ margin-bottom: .5rem; }

  /* Buttons sit side by side at equal width — no ragged stacking. */
  .hero-actions{
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin: 20px 0 16px;
  }
  .hero-actions .btn{ width: 100%; padding: 14px 10px; font-size: .88rem; }

  /* Tag row reads as one tidy line-wrapped list, no orphan bullets. */
  .hero-tags{ gap: 6px 14px; font-size: .8rem; }

  /* On mobile the inline hero photo gets the same opening wipe as desktop. */
  .hero-load .hero-photo-mobile{
    opacity: 0;
    transform: translate3d(0,18px,0) scale(.97);
    animation: heroPhotoIn .92s cubic-bezier(.16,1,.3,1) .28s forwards;
  }
  .hero-load .hero-photo-mobile .photo-frame{
    clip-path: inset(0 0 100% 0 round var(--radius-lg));
    animation: heroPhotoWipeMobile .92s cubic-bezier(.16,1,.3,1) .3s forwards;
  }
  .hero-load .hero-photo-mobile img{
    transform: scale(1.07);
    animation: heroImageSettle 1.2s cubic-bezier(.16,1,.3,1) .3s forwards;
  }
  @keyframes heroPhotoWipeMobile{ to{ clip-path: inset(0 0 0 0 round var(--radius-lg)); } }

  /* ---- trust strip ---- */
  .trust-strip{ padding: 14px 0; }
  .trust-row{ gap: 8px 16px; font-size: .74rem; }
  .trust-row span::before{ width: 4px; height: 4px; }
  .compassion-intro{ padding: 48px 0; }
  .compassion-intro .section-head{ margin-bottom: 0; }
  .compassion-intro h2{ font-size: clamp(2rem, 9vw, 2.55rem); }
  .compassion-intro .lede{ font-size: 1rem; line-height: 1.65; }
  .compassion-tags{ gap: 9px; margin-top: 26px; padding-top: 24px; }
  .compassion-tags span{ padding: 7px 11px; line-height: 1.25; }
  .compassion-tags span::before{ display: none; }

  /* ---- images: full-width landscape, consistent everywhere ---- */
  .photo-frame,
  .photo-frame.portrait{ aspect-ratio: 3/2; max-width: 100%; margin: 0; }
  .hero-photo-mobile .photo-frame{ aspect-ratio: 16/9; }
  .split-media{ max-width: 100%; margin: 0; }
  .split-media img,
  .split-media.tall img,
  .split-media.wide img{ aspect-ratio: 3/2; }
  .split-media.tania-portrait img{ aspect-ratio: 4/5; object-position: center 24%; }
  .split-media.tania-portrait{
    width: 82%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-intro{ padding-top: 42px; }
  .about-portrait-wrap{
    width: 84%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Keep Tania's About-page photo at its original portrait proportion so her
     face and full seated pose remain visible on phones. */
  .about-portrait-wrap .photo-frame.portrait{ aspect-ratio: 3/4; }

  .motion-ready .reveal-pair > *:first-child,
  .motion-ready .reveal-pair > *:last-child,
  .motion-ready .reveal-pair.reverse > *:first-child,
  .motion-ready .reveal-pair.reverse > *:last-child{
    transform: translate3d(0,20px,0);
  }
  .motion-ready .reveal-pair.from-above > *{
    transform: translate3d(0,-16px,0);
  }
  .motion-ready .reveal-pair.in-view > *{ transform: translate3d(0,0,0); }

  /* Text always reads before its photo when stacked. */
  .split{ gap: 22px; }
  .referral-split{ gap: 28px; }
  .split > *:first-child{ order: 2; }
  .split > *:last-child{ order: 1; }
  .split.reverse > *:first-child{ order: 1; }
  .split.reverse > *:last-child{ order: 2; }
  /* These service sections use image-left on desktop, but the photo should
     introduce the service before its heading and copy on mobile. */
  .split.service-mobile-image-first > *:first-child{ order: 1; }
  .split.service-mobile-image-first > *:last-child{ order: 2; }

  /* Hero quote card tucks under the photo. */
  .floating-card{
    display: none;
  }

  /* ---- cards & grids ---- */
  .cols-2, .cols-3, .cols-4{ grid-template-columns: 1fr; }
  .card-grid{ gap: 14px; }
  .card{ padding: 22px 20px; }
  .card h3{ margin-bottom: 6px; }
  .service-card .thumb{ aspect-ratio: 3/2; }
  .service-card .body{ padding: 18px 20px; gap: 6px; }
  .icon-mark{ width: 40px; height: 40px; margin-bottom: 12px; }
  .checklist li{ margin: 9px 0; font-size: .95rem; }

  /* ---- testimonials ---- */
  .testimonials-grid{ grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
  .t-card.t-featured{ grid-column: span 1; }
  .t-card{ padding: 26px 22px 20px; }
  .t-card p{ font-size: 1.02rem; }
  .t-card::before{ font-size: 3.6rem; top: 12px; left: 18px; }

  /* ---- widgets & forms ---- */
  .form-card{ padding: 22px; }
  .widget-card{ padding: 24px; }
  .quote-card{ padding: 26px; }
  .notice-box{ padding: 20px; margin: 22px 0; }
  input[type=text], input[type=email], input[type=tel], textarea, select{ font-size: 16px; }
  .checkbox-row{
    gap: 14px;
    padding: 4px 0;
    font-size: .95rem;
    line-height: 1.55;
  }
  .checkbox-row input[type=checkbox]{
    -webkit-appearance: none;
    appearance: none;
    display: grid;
    place-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex: 0 0 24px;
    margin: 2px 0 0;
    border: 2px solid var(--terracotta);
    border-radius: 6px;
    background: var(--paper);
    cursor: pointer;
  }
  .checkbox-row input[type=checkbox]::before{
    content: "";
    width: 11px;
    height: 6px;
    border: solid var(--paper);
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform .15s ease;
  }
  .checkbox-row input[type=checkbox]:checked{
    border-color: var(--terracotta);
    background: var(--terracotta);
  }
  .checkbox-row input[type=checkbox]:checked::before{
    transform: rotate(-45deg) scale(1);
  }
  .checkbox-row input[type=checkbox]:focus-visible{
    outline: 3px solid rgba(184,92,42,.24);
    outline-offset: 3px;
    box-shadow: none;
  }

  /* ---- nav ---- */
  .navbar{ height: 68px; gap: 10px; }
  .brand img{ height: 42px; }
  .btn{ min-height: 46px; }
  .nav-cta{ gap: 8px; }
  .nav-cta .btn-primary{ padding: 11px 16px; font-size: .85rem; min-height: 42px; }
  .hamburger{ width: 42px; height: 42px; }

  /* ---- misc ---- */
  .subnav{ gap: 8px; padding: 14px 0; }
  .subnav a{ padding: 8px 14px; font-size: .8rem; }
  .tag-row{ gap: 8px; margin: 12px 0; }
  .pill-tag{ padding: 6px 12px; font-size: .74rem; }
  .blog-grid{ grid-template-columns: 1fr; gap: 16px; }
  .vignette{ padding: 44px 0; }
  .vignette .kicker{ font-size: 1.5rem; margin-bottom: 12px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px; }
  footer.site-footer{ padding: 44px 0 22px; }
}

@media (max-width: 460px){
  .container{ width: 90%; }
  h1{ font-size: 1.95rem; }
  h2{ font-size: 1.55rem; }
  .hero-actions{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
  .hero-actions .btn{ font-size: .76rem; padding: 12px 6px; min-height: 44px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 22px; }
  .trust-row{ font-size: .7rem; gap: 6px 12px; }
}

/* mobile nav panel — full-screen overlay, direct child of <body> so it fills
   the whole viewport (a fixed element trapped inside the sticky header was the
   old "little window" bug). Slides in from the right via .menu-open. */
.mobile-panel{
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; height: 100dvh;
  z-index: 200; background: var(--cream);
  transform: translateX(100%); transition: transform .32s ease, visibility .32s;
  visibility: hidden;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 30px 26px 48px;
}
.menu-open .mobile-panel{ transform: translateX(0); visibility: visible; }
.mobile-panel ul{ display: flex; flex-direction: column; gap: 2px; }
.mobile-panel > ul > li > a, .mobile-panel .m-toggle{
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; font-size: 1.25rem; font-family: 'Cormorant Garamond', serif; font-weight: 600;
  color: var(--brown-deep); border-bottom: 1px solid var(--line); background: none; border-left:0; border-right:0; border-top:0; width: 100%; text-align:left; cursor:pointer;
}
.mobile-sub{ max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.mobile-sub.open{ max-height: 600px; }
.mobile-sub a{ display: block; padding: 13px 12px; font-size: 1rem; color: var(--taupe); font-weight: 600; }
.mobile-panel .btn{ margin-top: 28px; width: 100%; }
/* close button inside the panel */
.mobile-close{
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer; font-size: 2rem; line-height: 1;
  color: var(--brown-deep); z-index: 1;
}
