/* ==========================================================================
   Michael J. Pompliano, MD - Spine Surgery
   Palette and geometry taken from the RENDERED source pages at 1440x900
   (computed styles, not just the stylesheet: the kit's custom-CSS browns
   are dead code the live site never shows). See DESIGN-NOTES.md.
   ========================================================================== */

:root {
  /* Rendered palette (computed on the live template) */
  --c-bg: #073136;                       /* every section background */
  --c-bg-deeper: #052A2E;                /* footer base */
  --c-card: rgba(255, 255, 255, 0.05);   /* directory/info card fill */
  --c-card-subtle: rgba(255, 255, 255, 0.04);
  --c-cred: rgba(7, 79, 88, 0.22);       /* credential card fill (#074F58 @22%) */
  --c-hover-teal: #0A3F45;               /* card hover fill */
  --c-border: rgba(255, 255, 255, 0.14); /* hairlines */

  --c-text: #F4F4F4;
  --c-porcelain: #F5F3F5;
  --c-mist: #EAEAEE;
  --c-frost: #CFE4E6;
  --c-secondary: #65A7AF;                /* teal accent: buttons, small labels */
  --c-link: #3AA6A6;
  --c-btn-hover-text: #0F1516;
  --c-copper: #C58B5A;                   /* used ONLY to flag placeholders */

  /* Muted whites measured on the source */
  --c-w85: rgba(255, 255, 255, 0.85);
  --c-w68: rgba(255, 255, 255, 0.68);
  --c-w45: rgba(255, 255, 255, 0.45);
  --c-w35: rgba(255, 255, 255, 0.35);

  /* Light section (about page bio block) */
  --c-ink: #073136;
  --c-ink-soft: rgba(7, 49, 54, 0.75);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-nav: "Baskervville", Georgia, serif;

  --container: 1140px;

  /* Entrance animation timing (Elementor: default 1.25s, slow 2s) */
  --anim-dur: 1.25s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

img, svg { max-width: 100%; display: block; }

/* Type scale (kit values) */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; }
h1 { color: var(--c-text); font-size: 65px; text-transform: uppercase; line-height: 1.1; }
h2 { color: var(--c-text); font-size: 48px; text-transform: uppercase; line-height: 1.1; }
h3 { color: var(--c-text); font-size: 32px; text-transform: uppercase; }
h4 { color: var(--c-porcelain); font-size: 22px; }
h5 { color: var(--c-text); font-size: 32px; text-transform: none; line-height: 1.35; }
h6 {
  color: var(--c-frost);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
}

p { margin-bottom: 22px; max-width: 640px; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-secondary); font-weight: 400; text-decoration: none; }

.prose a {
  color: var(--c-link);
  border-bottom: 1px solid rgba(58, 166, 166, 0.7);
}
.prose a:hover { color: var(--c-frost); border-bottom-color: var(--c-frost); }

ul { list-style: none; }

/* Buttons: outline style (kit custom CSS); the header one is filled teal
   like the source header button */
.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-link);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 34px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { background-color: var(--c-link); color: var(--c-btn-hover-text); }
.site-nav .btn { background-color: var(--c-secondary); border-color: var(--c-secondary); color: var(--c-text); }
.site-nav .btn:hover { background-color: transparent; color: var(--c-secondary); }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
/* The source renders every section on the same deep teal; these two classes
   are kept for markup rhythm but map to the same background. */
.bg-deep, .bg-obsidian { background-color: var(--c-bg); }

/* Eyebrow labels: source renders these 17px / weight 200 / white @68% */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 200;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-w68);
  margin-bottom: 14px;
}
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

.muted { color: var(--c-w68); }
.lede { font-size: 20px; color: var(--c-w45); }

/* ==========================================================================
   Entrance animations (replicating the source's Elementor settings)
   - fade / fade-left / fade-up, durations: default 1.25s, .anim-slow 2s
   - stagger via inline --anim-delay (source rhythm: 0.03s / 0.06s)
   - Initial hidden state applies ONLY when JS is running (html.js) AND
     the user has not requested reduced motion. No-JS and reduced-motion
     visitors always see everything immediately.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-anim] {
    opacity: 0;
    transition: opacity var(--anim-dur) ease, transform var(--anim-dur) ease;
    transition-delay: var(--anim-delay, 0s);
  }
  html.js [data-anim="fade-left"] { transform: translateX(-100%); }
  html.js [data-anim="fade-up"] { transform: translateY(40px); }
  html.js [data-anim].in-view { opacity: 1; transform: none; }
  html.js .anim-slow { --anim-dur: 2s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.utility-bar {
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
  padding: 8px 50px;
}
.utility-bar .container {
  max-width: none;
  padding: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.utility-bar span { color: var(--c-w45); letter-spacing: 0.5px; }

.site-header {
  background-color: rgba(207, 228, 230, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0 50px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-border);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

/* Text-mark logo (recreated; no source logo used) */
.logo { display: block; line-height: 1.15; white-space: nowrap; }
.logo .logo-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-frost);
}
.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-top: 3px;
}

.site-nav ul { display: flex; align-items: center; gap: 32px; }
.site-nav li { position: relative; }
.site-nav a {
  font-family: var(--font-nav);
  font-size: 17px;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--c-frost);
  padding: 30px 0;
  display: inline-block;
}
.site-nav a:hover { color: var(--c-secondary); }

.site-nav .dropdown > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 230px;
  background-color: var(--c-hover-teal);
  border: 1px solid var(--c-border);
  padding: 10px 0;
  flex-direction: column;
  gap: 0;
}
.site-nav .dropdown:hover > ul,
.site-nav .dropdown:focus-within > ul { display: flex; }
.site-nav .dropdown > ul a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
}
.site-nav .btn { padding: 14px 34px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-frost);
  color: var(--c-frost);
  font-size: 22px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ==========================================================================
   Hero (home). Measured on the source at 1440x900: 550px tall, deep teal,
   copy block LEFT at x=120 (~593px wide), eyebrow 17px/200 white@68%,
   headline 48px/500 uppercase, tagline 22px serif, note white@41%.
   Photo sits on the RIGHT half.
   ========================================================================== */
.hero {
  position: relative;
  height: 550px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background-color: var(--c-bg);
}
.hero .hero-content {
  max-width: 640px;
  padding-left: clamp(24px, 8.3vw, 120px);
  padding-right: 24px;
}
.hero .hero-media { height: 100%; position: relative; }
.hero .hero-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .hero-doctor {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 200;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-w68);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero .hero-tagline {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--c-porcelain);
  margin-bottom: 28px;
}
.hero .hero-note { font-size: 15px; letter-spacing: 0.5px; color: rgba(244, 244, 244, 0.41); margin-top: 20px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--c-w45);
}
.scroll-cue .scroll-line {
  width: 1px;
  height: 40px;
  background: var(--c-link);
  margin: 8px auto 0;
  animation: growLine 1.1s ease forwards;
  transform-origin: top;
}
@keyframes growLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.align-start { align-items: start; }
.prose h2 { margin-bottom: 26px; }

/* Philosophy: a single 570px column sitting right of the container's left
   edge (source x=485 at 1440); the space around it is deliberate. */
.col-offset { max-width: 570px; margin-left: 29%; }

.pull-line {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-frost);
  border-left: 2px solid var(--c-secondary);
  padding-left: 20px;
  margin: 30px 0;
  max-width: 560px;
}

/* Centered H1-scale section heading (source pattern) */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2, .section-title h1 { font-size: 65px; text-transform: uppercase; }

/* Condition cards (home strip of five, full-bleed, centered labels) */
.condition-strip-wrap { padding-left: 32px; padding-right: 32px; }
.condition-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 45px; max-width: 1376px; margin: 0 auto; }
.condition-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 2;
  overflow: hidden;
  border: 1px solid var(--c-border);
  background-color: rgba(255, 255, 255, 0.03);
}
.condition-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.condition-card .card-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(4, 26, 29, 0.92));
  z-index: 1;
}
.condition-card .card-label small {
  display: block;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--c-frost);
  margin-bottom: 8px;
}
.condition-card .card-label h3 { font-size: 32px; font-weight: 700; color: var(--c-text); }
.condition-card:hover { border-color: var(--c-secondary); }

/* Credential cards (source: #074F58 @ 22% fill, 13px eyebrow, 32px title) */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.cred-card {
  background-color: var(--c-cred);
  border: 1px solid var(--c-border);
  padding: 36px 30px;
}
.cred-card .eyebrow { font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, 0.78); margin-bottom: 12px; }
.cred-card h3 { font-size: 32px; margin-bottom: 14px; text-transform: uppercase; }
.cred-card p { font-size: 17px; color: rgba(255, 255, 255, 0.92); }

/* Testimonials: source quotes sit directly on the section, no card boxes */
.testimonials { text-align: center; }
.testimonials .stars { color: var(--c-copper); font-size: 20px; letter-spacing: 6px; margin: 0 auto 18px; }
.testimonials h2 { margin-bottom: 50px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; text-align: left; }
.testimonial-card .quote {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-mist);
  margin-bottom: 20px;
  max-width: none;
}
.testimonial-card .attribution { font-size: 12px; letter-spacing: 1px; color: var(--c-w45); text-transform: uppercase; }
.placeholder-note { color: var(--c-copper); font-style: italic; }

/* Single centered quote (about page) */
.quote-single { text-align: center; }
.quote-single .quote-eyebrow { font-size: 16px; color: var(--c-w45); margin: 0 auto 20px; }
.quote-single .quote {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--c-mist);
  max-width: 640px;
  margin: 0 auto 24px;
}
.quote-single .attribution { font-size: 12px; letter-spacing: 1px; color: var(--c-w45); text-transform: uppercase; }

/* CTA (source: white@40% eyebrow, 48px H2, 17px lede @45%, 26px serif line,
   13px trust @35%) */
.cta { text-align: center; background-color: var(--c-bg); border-top: 1px solid var(--c-border); }
.cta .eyebrow { text-align: center; font-size: 16px; letter-spacing: 1px; text-transform: none; color: rgba(255, 255, 255, 0.4); }
.cta h2 { margin-bottom: 16px; }
.cta .lede { font-size: 17px; margin: 0 auto 10px; max-width: 480px; }
.cta .cta-line {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--c-frost);
  margin: 0 auto 36px;
  max-width: 480px;
}
.cta .cta-call { margin-top: 24px; font-size: 15px; color: var(--c-w45); }
.cta .cta-trust { margin-top: 10px; font-size: 13px; letter-spacing: 1px; color: var(--c-w35); }

/* ==========================================================================
   Condition page template (measured: text 462 / card 398, alternating
   sides; H1/H2 44px; why H2 38px; card fills white @3-4%)
   ========================================================================== */
.cond h1 { font-size: 44px; }
.cond .info-section h2, .cond .prose-section h2 { font-size: 44px; }

.page-hero {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: left;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg svg { width: 100%; height: 100%; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 49, 54, 0.94) 30%, rgba(7, 49, 54, 0.6) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 640px; margin-bottom: 20px; text-transform: uppercase; }
.page-hero .lede { margin-bottom: 36px; max-width: 460px; }

.info-section .split {
  grid-template-columns: 1.16fr 1fr;
  gap: 110px;
  align-items: start;
}
.info-section .split.flip { grid-template-columns: 1fr 1.16fr; }
.info-section .split.flip > .prose { order: 2; }
.info-section .split.flip > .info-card, .info-section .split.flip > .col-media { order: 1; }

.info-card {
  background-color: var(--c-card-subtle);
  border: 1px solid var(--c-border);
  padding: 34px 30px;
}
.info-card h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 18px;
}
.info-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}
.info-card ul li:last-child { border-bottom: none; }
.info-card + .info-card { margin-top: 26px; }
.card-note {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-frost);
  margin-top: 18px;
}

/* "Why" section: media left, content right with a 2x2 mini-grid (source) */
.why-section .split { grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.why-section h2 { font-size: 38px; margin-bottom: 18px; }
.why-section .why-sub { font-size: 16px; color: var(--c-w45); margin-bottom: 34px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; margin-bottom: 34px; }
.why-card h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.cond .testimonial-card .quote { font-size: 28px; }

.arrow-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--c-secondary);
  border-bottom: 1px solid rgba(101, 167, 175, 0.7);
}
.arrow-link:hover { color: var(--c-frost); border-bottom-color: var(--c-frost); }

/* Photo placeholders */
.ph-frame { border: 1px solid var(--c-border); background-color: rgba(255, 255, 255, 0.03); }

/* Photos (same geometry the placeholder SVGs had) */
.hero .hero-media img,
.condition-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg img,
.about-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-frame img { width: 100%; height: auto; }

/* ==========================================================================
   About page. Source: photo-backed hero; centered name heading on a WHITE
   section with dark ink text; alternating single-column text sections.
   ========================================================================== */
.about-hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}
.about-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.about-hero .ph-bg svg { width: 100%; height: 100%; }
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 49, 54, 0.88);
  z-index: 1;
}
.about-hero .container { position: relative; z-index: 2; }
.about-hero h1 { margin-bottom: 22px; }
.about-hero h5 { margin-bottom: 24px; }
.about-hero .intro { max-width: 640px; margin: 0 auto; color: var(--c-w68); }

/* Light section (the bio block is white on the source) */
.sec-light { background-color: #FFFFFF; color: var(--c-ink-soft); }
.sec-light h1, .sec-light h2, .sec-light h3, .sec-light h5 { color: var(--c-ink); }
.sec-light .eyebrow { color: rgba(7, 49, 54, 0.55); }
.sec-light .ph-frame { border-color: rgba(7, 49, 54, 0.15); background-color: rgba(7, 49, 54, 0.05); }

.bio-block { display: grid; grid-template-columns: 2fr 3fr; gap: 60px; align-items: start; }
.bio-block .bio-lede { margin-bottom: 24px; }

/* Alternating editorial text sections (text half, negative-space half) */
.alt-section .half { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.alt-section .half > .prose { grid-column: 1; }
.alt-section.text-right .half > .prose { grid-column: 2; }

/* ==========================================================================
   Footer. Source directory cards: white@5% fill, eyebrow 11px @35%, title
   26px @85%, body 15px @45%, "You may feel" label in accent teal.
   ========================================================================== */
.footer-conditions { background-color: var(--c-bg); border-top: 1px solid var(--c-border); padding: 80px 0; }
.footer-conditions h3 { margin-bottom: 50px; font-size: 22px; letter-spacing: 2px; color: var(--c-w45); }
.fc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fc-card { background-color: var(--c-card); padding: 26px 22px; transition: background-color 0.25s ease; }
.fc-card:hover { background-color: var(--c-hover-teal); }
.fc-card small {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-w35);
  margin-bottom: 8px;
}
.fc-card h4 { font-size: 26px; margin-bottom: 8px; overflow-wrap: break-word; hyphens: auto; }
.fc-card h4 a { color: var(--c-w85); font-weight: 500; }
.fc-card h4 a:hover { color: var(--c-frost); }
.fc-card p { font-size: 15px; line-height: 1.55; color: var(--c-w45); margin-bottom: 14px; }
.fc-card .feel-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 4px;
}
.fc-card .feel { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-bottom: 0; }

.site-footer { background-color: var(--c-bg-deeper); padding: 70px 0 40px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-cols h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-w45);
  margin-bottom: 16px;
}
.footer-cols ul li { padding: 5px 0; }
.footer-cols a { color: var(--c-w68); font-size: 14px; }
.footer-cols a:hover { color: var(--c-frost); }
.footer-brand p { color: var(--c-w45); font-size: 14px; max-width: 380px; }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--c-w35);
  font-size: 12.5px;
}

/* ==========================================================================
   Consultation modal (static UI, no backend yet)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 26, 29, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background-color: var(--c-hover-teal);
  border: 1px solid var(--c-border);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px 40px;
  position: relative;
}
.modal h3 { margin-bottom: 8px; }
.modal .modal-sub { font-size: 14px; color: var(--c-w68); margin-bottom: 28px; }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: var(--c-w68);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--c-frost); }
.modal label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-w68);
  margin: 18px 0 6px;
}
.modal input, .modal textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 14px;
}
.modal input:focus, .modal textarea:focus { outline: 1px solid var(--c-link); }
.modal .btn { margin-top: 26px; width: 100%; }
.form-notice {
  display: none;
  margin-top: 18px;
  font-size: 14px;
  color: var(--c-copper);
  border: 1px solid var(--c-copper);
  padding: 12px 14px;
}
.form-notice.show { display: block; }

/* ==========================================================================
   Responsive (kit breakpoints: 1024 / 767)
   ========================================================================== */
@media (max-width: 1024px) {
  h2 { font-size: 34px; }
  .container { max-width: 1024px; }
  .section-title h2, .section-title h1 { font-size: 46px; }
  .cred-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .fc-grid { grid-template-columns: repeat(3, 1fr); }
  .condition-strip { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .condition-card:nth-child(n+4) { aspect-ratio: 1 / 1.4; }
  .site-header, .utility-bar { padding-left: 24px; padding-right: 24px; }
  .col-offset { margin-left: 0; }
  .info-section .split, .info-section .split.flip { grid-template-columns: 1fr; gap: 40px; }
  .info-section .split.flip > .prose { order: 1; }
  .info-section .split.flip > .info-card, .info-section .split.flip > .col-media { order: 2; }
  .why-section .split { grid-template-columns: 1fr; gap: 40px; }
  .alt-section .half { grid-template-columns: 1fr; }
  .alt-section.text-right .half > .prose { grid-column: 1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.6; }
  h1 { font-size: 46px; line-height: 1.2; }
  h2 { font-size: 28px; }
  h3 { letter-spacing: 1.2px; }
  h5 { font-size: 26px; }
  section { padding: 60px 0; }
  .hero { height: auto; min-height: 480px; grid-template-columns: 1fr; padding: 70px 0; }
  .hero .hero-media { display: none; }
  .hero h1 { font-size: 34px; }
  .hero .hero-tagline { font-size: 19px; }
  .cond h1, .cond .info-section h2, .cond .prose-section h2 { font-size: 30px; }
  .page-hero { padding: 80px 0; }
  .section-title h2, .section-title h1 { font-size: 34px; }
  .split, .bio-block, .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .condition-strip-wrap { padding-left: 16px; padding-right: 16px; }
  .condition-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .condition-card { aspect-ratio: 1 / 1.1; }
  .condition-card .card-label h3 { font-size: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-card h4 { font-size: 21px; }
  .testimonial-card .quote, .cond .testimonial-card .quote { font-size: 24px; }
  .quote-single .quote { font-size: 26px; }
  .utility-bar { display: none; }

  .logo { white-space: normal; }
  .logo .logo-name { font-size: 17px; letter-spacing: 1px; }
  .logo .logo-sub { font-size: 9px; letter-spacing: 3px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background-color: var(--c-hover-teal);
    border-bottom: 1px solid var(--c-border);
    padding: 10px 24px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav a { padding: 10px 0; }
  .site-nav .btn { padding: 12px 24px; }
  .site-nav .dropdown > ul {
    display: flex;
    position: static;
    border: none;
    background: none;
    padding: 0 0 0 18px;
  }
}
