/*
Theme Name: Tash Osgood
Theme URI: https://tashosgood.com
Author: 262 Studios
Description: Personal brand theme for Dr Tash Osgood — Chiropractor & Educator
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: tash-osgood
*/

/* ── FONTS ── */
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Excon';
  src: url('fonts/Excon-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* ── DESIGN TOKENS ── */
:root {
  --teal:         #1a5f6e;
  --teal-deep:    #0e3d49;
  --teal-mid:     #2d7d8f;
  --teal-light:   #a8cdd4;
  --teal-pale:    #ddeef1;
  --sand:         #e8dfd0;
  --sand-warm:    #f4efe6;
  --sand-deep:    #c9b99a;
  --taupe:        #8c7f6e;
  --navy:         #0d2535;
  --white:        #ffffff;
  --off-white:    #fafaf8;
  --ink:          #0d1f26;
  --ink-soft:     #2e4450;
  --ink-muted:    #6b8491;
  --border-light: rgba(26,95,110,0.12);
  --border-sand:  rgba(140,127,110,0.22);
  --font-display: 'Montserrat', Georgia, sans-serif;
  --font-body:    'Montserrat', sans-serif;
  --radius-btn:   10px;
  --radius-card:  16px;
  --radius-lg:    22px;
  --nav-h:        72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.eyebrow {
  display: inline-block; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-mid); margin-bottom: 1rem;
}
.eyebrow-sand  { color: var(--sand-deep); }
.eyebrow-white { color: rgba(255,255,255,0.55); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--teal-deep);
  padding: 0.8rem 1.85rem; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--sand-warm); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.btn-teal {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal); color: var(--white);
  padding: 0.8rem 1.85rem; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-teal:hover { background: var(--teal-deep); transform: translateY(-2px); }

.btn-teal-sm {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--teal); color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-teal-sm:hover { background: var(--teal-deep); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: rgba(255,255,255,0.75);
  padding: 0.8rem 1.6rem; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 400;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

.btn-outline-teal {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--teal);
  padding: 0.8rem 1.6rem; border-radius: var(--radius-btn);
  border: 1px solid var(--teal);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 400;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.btn-outline-teal:hover { background: var(--teal-pale); }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 200; width: calc(100% - 4rem); max-width: 1100px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26,95,110,0.1); border-radius: var(--radius-btn);
  padding: 0 1.75rem; box-shadow: 0 4px 32px rgba(13,37,53,0.08);
  transition: top 0.2s;
}
/* Admin bar offset — WordPress adds 32px bar at ≥783px, 46px below */
.admin-bar nav.site-nav { top: 50px; }
@media screen and (max-width: 782px) {
  .admin-bar nav.site-nav { top: 64px; }
}
.nav-logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-wrap a { display: flex; align-items: center; }
.nav-logo-wrap img { height: 36px; width: auto; display: block; }
.nav-logo {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--teal-deep); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap;
}
.nav-logo span {
  font-weight: 300; color: var(--taupe);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 0.4rem;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  background: none; border: none; border-radius: var(--radius-btn);
  cursor: pointer; transition: background 0.18s, color 0.18s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { background: var(--teal-pale); color: var(--teal-deep); }
.nav-links > li > a.active { color: var(--teal-deep); font-weight: 500; }
/* No chevron arrows */
.tash-chevron {
  display: inline-flex; align-items: center; margin-left: 0.1rem; flex-shrink: 0;
  opacity: 0.45; transition: transform 0.2s, opacity 0.2s;
  /* Ensure chevron sits on same baseline as text */
  position: relative; top: 0; line-height: 1;
}
.tash-chevron svg { display: block; }
/* Rotate chevron on hover AND when open */
.nav-links > li:hover .tash-chevron,
.nav-links > li.open .tash-chevron { transform: rotate(180deg); opacity: 0.85; }

/* Dropdown — invisible bridge fills the 10px gap so cursor doesn't lose hover */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-btn); box-shadow: 0 8px 40px rgba(13,37,53,0.12);
  min-width: 210px; padding: 0.5rem;
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
/* Bridge: invisible pseudo-element covers the gap between trigger and dropdown */
.has-dropdown > a::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 14px;
  background: transparent;
}
.has-dropdown > a { position: relative; }
/* Show on hover (CSS) or .open (JS) */
.nav-links > li.has-dropdown:hover > .nav-dropdown,
.nav-links > li.open > .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
li.open .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 0.6rem 0.85rem;
  font-size: 0.84rem; color: var(--ink-soft); text-decoration: none;
  border-radius: 7px; transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--teal-pale); color: var(--teal-deep); }
.nav-dropdown .dd-label {
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); padding: 0.55rem 0.85rem 0.2rem; display: block;
}
.nav-dropdown hr { border: none; border-top: 1px solid var(--border-light); margin: 0.35rem 0.5rem; }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 0.5rem 1.25rem !important; border-radius: var(--radius-btn) !important;
  font-weight: 500 !important; font-size: 0.84rem !important; margin-left: 0.5rem;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-deep) !important; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--teal-deep);
  padding: calc(var(--nav-h) + 18px + 60px) 0 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(45,125,143,0.25) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-content h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; color: var(--white); line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 1.25rem;
}
.page-hero-content h1 em { font-style: normal; font-weight: 300; color: var(--teal-light); }
.page-hero-content p {
  font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.55);
  line-height: 1.7; max-width: 520px; margin-bottom: 2rem;
}
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── SECTION SPACING ── */
.section     { padding: 6rem 0; }
.section-sm  { padding: 4rem 0; }
.section-teal  { background: var(--teal-deep); }
.section-sand  { background: var(--sand-warm); }
.section-white { background: var(--white); }

/* ── TYPOGRAPHY ── */
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
}
.section-title em { font-style: normal; font-weight: 300; }
.section-title-white { color: var(--white); }
.section-title-teal  { color: var(--teal-deep); }

/* ── CARDS ── */
.card-base {
  background: var(--white); border: 1px solid var(--border-sand);
  border-radius: var(--radius-card); padding: 2rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.card-base:hover { box-shadow: 0 6px 32px rgba(26,95,110,0.1); border-color: var(--teal-light); }

/* ── TESTIMONIALS ── */
.testi-card { display: flex; flex-direction: column; gap: 1rem; }
.testi-tag-badge {
  display: inline-block; background: var(--teal-pale); color: var(--teal-mid);
  border-radius: 6px; padding: 0.22rem 0.6rem;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; align-self: flex-start;
}
.testi-stars { display: flex; gap: 3px; }
.testi-star {
  width: 11px; height: 11px; background: #f4b942;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.testi-quote {
  font-family: var(--font-display); font-size: 1rem; font-weight: 300;
  color: var(--ink-soft); line-height: 1.65; flex: 1;
}
.testi-person { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--border-sand); padding-top: 1rem; }
.testi-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 500; color: var(--teal-deep); flex-shrink: 0;
}
.testi-name { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.testi-role { font-size: 0.75rem; color: var(--ink-muted); font-weight: 300; }

/* ── FAQ ── */
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 1px solid var(--border-sand); }
.faq-item { border-bottom: 1px solid var(--border-sand); overflow: hidden; }
.faq-q { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.4rem 0; cursor: pointer; gap: 1.25rem; }
.faq-q-text { font-size: 0.9rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.faq-icon {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--border-sand); display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--ink-muted); transition: all 0.22s; margin-top: 0.05em;
}
.faq-item.open .faq-icon { background: var(--teal); border-color: var(--teal); color: var(--white); transform: rotate(45deg); }
.faq-a { font-size: 0.875rem; font-weight: 300; color: var(--ink-soft); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding-bottom 0.25s; }
.faq-item.open .faq-a { max-height: 280px; padding-bottom: 1.5rem; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--teal); padding: 4rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.cta-band-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 1.25rem;
}
.cta-band h2 em { font-style: normal; font-weight: 300; color: var(--teal-light); }
.cta-band p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 2.5rem; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 1.25rem; font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; }

/* ── FOOTER ── */
footer.site-footer { background: var(--navy); padding: 5rem 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo a { display: inline-flex; align-items: center; }
.footer-logo img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand .logo-text {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--white); display: block; margin-bottom: 0.2rem;
}
.footer-brand .logo-sub {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--taupe);
}
.footer-brand p {
  font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.35);
  line-height: 1.65; margin: 1.25rem 0 1.75rem; max-width: 280px;
}
.footer-email-row { display: flex; max-width: 220px; }
.footer-email-input {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-right: none; border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  padding: 0.65rem 1rem; font-family: var(--font-body); font-size: 0.82rem;
  color: var(--white); outline: none;
}
.footer-email-input::placeholder { color: rgba(255,255,255,0.25); }
.footer-email-btn {
  background: var(--teal); border: none; border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  padding: 0.65rem 1rem; font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.footer-email-btn:hover { background: var(--teal-mid); }
.footer-links-row { display: flex; gap: 3rem; justify-content: flex-end; align-items: flex-start; padding-top: 0.5rem; }
.footer-col h4 { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { font-size: 0.84rem; font-weight: 300; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; align-items: center; gap: 1.5rem; }
.footer-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }
.footer-built { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.footer-built span { color: rgba(168,205,212,0.75); font-weight: 500; }

/* ── SVG ICONS (replaces emojis) ── */
.icon { width: 22px; height: 22px; display: inline-block; flex-shrink: 0; }
.icon-wrap {
  width: 44px; height: 44px; border-radius: 11px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-wrap svg { width: 20px; height: 20px; stroke: var(--teal-deep); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── UPCOMING DATES TABS ── */
.upcoming-tabs { background: var(--white); border: 1px solid var(--border-sand); border-radius: var(--radius-lg); overflow: hidden; }
.upcoming-tab-bar { display: flex; border-bottom: 1px solid var(--border-sand); background: var(--sand-warm); padding: 0.5rem 0.5rem 0; gap: 0.25rem; }
.upcoming-tab-btn { background: none; border: none; padding: 0.65rem 1.25rem; font-family: var(--font-body); font-size: 0.84rem; font-weight: 400; color: var(--ink-muted); cursor: pointer; border-radius: var(--radius-btn) var(--radius-btn) 0 0; transition: all 0.2s; }
.upcoming-tab-btn:hover { color: var(--teal-deep); background: rgba(255,255,255,0.6); }
.upcoming-tab-btn.active { background: var(--white); color: var(--teal-deep); font-weight: 500; border-bottom: 2px solid var(--teal); }
.upcoming-tab-panel { display: none; }
.upcoming-tab-panel.active { display: block; }
.upcoming-list { display: flex; flex-direction: column; }
.upcoming-row { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; text-decoration: none; color: inherit; border-bottom: 1px solid var(--border-sand); transition: background 0.2s; }
.upcoming-row:last-child { border-bottom: none; }
.upcoming-row:hover { background: var(--sand-warm); }
.upcoming-date-block { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--teal-pale); border-radius: var(--radius-card); padding: 0.75rem 0.5rem; min-height: 56px; }
.upcoming-day { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--teal-deep); line-height: 1; }
.upcoming-month { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-mid); margin-top: 0.15rem; }
.upcoming-detail h4 { font-size: 0.9rem; font-weight: 500; color: var(--teal-deep); margin-bottom: 0.3rem; }
.upcoming-detail p { font-size: 0.8rem; font-weight: 300; color: var(--ink-muted); margin: 0; }
.upcoming-cta { font-size: 0.8rem; font-weight: 500; color: var(--teal-mid); white-space: nowrap; }
.upcoming-row:hover .upcoming-cta { color: var(--teal-deep); }

/* ── PILL TAG ── */
.pill-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--teal-pale); color: var(--teal-deep); border-radius: 50px; padding: 0.3rem 0.85rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.pill-tag-dark { background: rgba(255,255,255,0.1); color: var(--teal-light); border: 1px solid rgba(168,205,212,0.2); border-radius: 50px; padding: 0.35rem 0.9rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── BLOG ── */
.blog-cat { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-mid); background: var(--teal-pale); border-radius: 4px; padding: 0.2rem 0.5rem; }
.blog-date { font-size: 0.74rem; color: var(--ink-muted); font-weight: 300; }
.blog-read { font-size: 0.78rem; font-weight: 500; color: var(--teal-mid); display: flex; align-items: center; gap: 0.4rem; margin-top: auto; transition: gap 0.2s; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.45rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--off-white); border: 1px solid var(--border-sand);
  border-radius: var(--radius-btn); padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 0.875rem; color: var(--ink);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal-mid); box-shadow: 0 0 0 3px rgba(45,125,143,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b8491'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-note { font-size: 0.75rem; font-weight: 300; color: var(--ink-muted); line-height: 1.5; margin-top: 1rem; }

/* ── BURGER BUTTON (hidden by default, shown via media query) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-btn);
  transition: background 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-burger:hover { background: var(--teal-pale); }
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--teal-deep);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  z-index: 999;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: -4px 0 32px rgba(0,0,0,0.12);
}
.mobile-nav.open { right: 0; }
.mobile-nav-inner { padding: 5rem 2rem 2rem; display: flex; flex-direction: column; height: 100%; }
.mobile-nav-links { list-style: none; flex: 1; }
.mobile-nav-links li { border-bottom: 1px solid var(--border-sand); }
.mobile-nav-links li a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-links li a:hover { color: var(--teal-mid); }
.mobile-nav-cta {
  display: block;
  margin-top: 2rem;
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-nav-cta:hover { background: var(--teal-mid); }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE BREAKPOINTS — XS through 2XL
   XS  < 480px
   SM  480–639px
   MD  640–767px
   LG  768–1023px
   XL  1024–1279px
   2XL 1280px+
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 2XL (1280px+): no changes needed, desktop styles apply ── */

/* ── XL (1024–1279px) ── */
@media (max-width: 1279px) {
  .hero h1 { font-size: clamp(3.5rem, 7vw, 6rem); }
  .svc-card { flex: 0 0 300px; }
}

/* ── LG (768–1023px) ── */
@media (max-width: 1023px) {
  /* Nav collapses label only — keep pill nav visible */
  nav.site-nav { width: calc(100% - 2rem); }

  /* Hero: stack photo behind text, full-width text */
  .hero { min-height: 100svh; }
  .hero-photo { width: 100%; height: 60%; opacity: 0.35; }
  .hero-content { width: 100%; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(3rem, 6vw, 5rem); }

  /* About hero two-col */
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-image { height: 360px; border-radius: var(--radius-lg); }

  /* Homepage about section */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-frame { min-height: 340px; }

  /* Story grid */
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-img-block { aspect-ratio: 16/9; }

  /* FAQ columns */
  .faq-columns { grid-template-columns: 1fr; }
  .faq-header-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-links-row { justify-content: flex-start; }

  /* Contact grid — equal height fix */
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-col { min-height: 0; }
  .contact-form { flex: none; }

  /* Values grid */
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MD (640–767px) ── */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }

  /* Burger: show. All desktop nav links: hide */
  .nav-burger { display: flex; }
  .nav-links > li { display: none; }

  /* Hero */
  .hero-content { padding: 0 0 4rem; width: 100%; }
  .hero h1 { font-size: clamp(2.75rem, 8vw, 4rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline-white { width: 100%; justify-content: center; }

  /* About section — stack */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-frame { min-height: 260px; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-text h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
  .about-hero-image { height: 260px; }

  /* Services */
  .services-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .svc-card { flex: 0 0 calc(100vw - 3rem); }

  /* Drawer */
  .drawer-features { grid-template-columns: 1fr; }

  /* Testimonials */
  .testi-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card.featured { grid-row: auto; }
  .testi-card[style] { grid-column: auto !important; }

  /* FAQ */
  .faq-columns { grid-template-columns: 1fr; }
  .faq-header-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-contact-header { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Page hero */
  .page-hero-content h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions a { width: 100%; justify-content: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { gap: 2.5rem; }

  /* CTA band */
  .cta-band { padding: 4.5rem 0; }
  .cta-band h2 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions a { width: 100%; justify-content: center; }

  /* Upcoming */
  .upcoming-row { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1rem 1.25rem; }
  .upcoming-cta { display: none; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Credentials */
  .creds-grid { grid-template-columns: 1fr; }

  /* Story */
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-img { aspect-ratio: 16/10; }
  .newsletter-band { grid-template-columns: 1fr; gap: 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-btn); border-bottom: none; width: 100%; }
  .newsletter-btn { border-radius: var(--radius-btn); }

  /* Blog post */
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links-row { flex-direction: column; gap: 2rem; justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ── SM (480–639px) ── */
@media (max-width: 639px) {
  .container { padding: 0 1.25rem; }

  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .hero-actions { gap: 0.65rem; }

  .section { padding: 4.5rem 0; }
  .section-sm { padding: 3rem 0; }

  .drawer-features { grid-template-columns: 1fr; }

  nav.site-nav { width: calc(100% - 1.5rem); padding: 0 1.25rem; }

  .footer-links-row { flex-direction: column; gap: 2rem; }
  .footer-top { gap: 2rem; }

  .contact-form { padding: 1.75rem; }
}

/* ── XS (< 480px) ── */
@media (max-width: 479px) {
  .container { padding: 0 1rem; }

  :root { --nav-h: 60px; }
  nav.site-nav { width: calc(100% - 1rem); top: 12px; border-radius: 8px; }
  .admin-bar nav.site-nav { top: 58px; }

  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline-white { width: 100%; justify-content: center; }

  .about-hero-image { height: 220px; }

  .btn-primary, .btn-teal, .btn-outline-white, .btn-outline-teal { padding: 0.75rem 1.4rem; font-size: 0.84rem; }

  .page-hero { padding: calc(var(--nav-h) + 40px) 0 3.5rem; }
  .page-hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .cta-band { padding: 4rem 0; }
  .cta-band h2 { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions a { width: 100%; justify-content: center; }

  .testi-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .services-header { flex-direction: column; gap: 1.25rem; }

  .upcoming-row { padding: 1rem 1.25rem; gap: 1rem; }
  .upcoming-row { grid-template-columns: 54px 1fr; }

  .contact-form { padding: 1.25rem; }
  .faq-columns { gap: 0; }

  footer.site-footer { padding: 3.5rem 0 0; }
}
