/* ============================================================
   Editors Note — the live site's actual dominant font, force-
   applied via !important to body/headings/nav/buttons/inputs
   by the Divi mu-plugin, overriding Divi's own theme-customizer
   fonts (Nashville/Abiah/Lato/DM Sans) almost everywhere.
   Confirmed via getComputedStyle() against the live site
   2026-07-31 — matches the mu-plugin's own @font-face block.
   ============================================================ */
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Hairline.woff') format('woff'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-HairlineItalic.woff') format('woff'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Thin.woff') format('woff'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-ThinItalic.woff') format('woff'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Extralight.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-ExtralightItalic.woff') format('woff'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Light.woff') format('woff'); font-weight: 350; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-LightItalic.woff') format('woff'); font-weight: 350; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-MediumItalic.woff') format('woff'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Semibold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-SemiboldItalic.woff') format('woff'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Editors Note'; src: url('../fonts/EditorsNote-BoldItalic.woff') format('woff'); font-weight: 700; font-style: italic; font-display: swap; }

/* ============================================================
   Design tokens — pulled from live Divi site's et_divi options
   (accent_color / secondary_accent_color / global palette),
   confirmed against rendered output 2026-07-30.
   ============================================================ */
:root {
  --charcoal: #494A4B;   /* accent_color / gcid-primary-color */
  --taupe: #8A817C;      /* secondary_accent_color / gcid-secondary-color */
  --cream: #F7F3EE;      /* nav pill background, confirmed hardcoded on live site */
  --body-text: #463f3a;  /* font_color */
  --rust: #a44228;       /* link_color, small accent uses */
  --maroon: #561503;     /* secondary nav accent; also staff profile role/divider/button */
  --sage: #9da8a1;       /* divi_color_palette swatch */
  --forest: #34482e;     /* divi_color_palette swatch */
  --blush: #faeee4;      /* divi_color_palette swatch */

  --font-heading: 'Editors Note', sans-serif;
  --font-nav: 'Editors Note', sans-serif;
  --font-body: 'Editors Note', sans-serif;

  --max-content-width: 800px;
  --nav-pill-radius: 100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Live site renders headings at weight 400 (Regular), not the browser's
   default bold — confirmed via getComputedStyle() uniformly across h1-h5.
   Nothing here overrode the UA default until now, so Editors Note's real
   Bold (700) file was rendering correctly-but-wrongly on every heading.
   Line-height: nothing overrode this either, so headings inherited body's
   1.8 instead of live's uniform 1.2 ratio (confirmed exact match against
   h1/h2/h3: 54px->64.8px, 31px->37.2px, 20px->24px). Specific contexts
   with their own hardcoded line-height (e.g. .refine-text h2) override
   this, matching Divi's inline-span sizing quirks on the live site. */
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.2; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.refinery-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header / nav ---- */
.refinery-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.6664);
  transition: background-color 0.3s, box-shadow 0.3s;
  padding: 10px 0;
}
.refinery-header.is-scrolled {
  background-color: #f9f9f9;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.2);
}
/* The WP admin toolbar is also position:fixed at top:0 — stack the header
   below it for logged-in users instead of letting it render underneath. */
body.admin-bar .refinery-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .refinery-header {
    top: 46px;
  }
}
/* Cream pills (--cream: #F7F3EE) read fine over the dark hero image,
   but barely differ from the scrolled header's own near-white
   background (#f9f9f9) — darkened just for the scrolled state so they
   stay legible. Desktop only in practice: mobile hides this nav
   entirely in favor of the hamburger panel regardless of scroll state. */
.refinery-header.is-scrolled .refinery-nav > ul > li > a {
  background-color: #E5DDCE;
}
.refinery-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96vw;
  max-width: 1400px;
  margin: 0 auto;
}
.refinery-logo img { height: 70px; }

.refinery-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.refinery-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  position: relative;
}
.refinery-nav > ul > li { position: relative; }
.refinery-nav > ul > li > a {
  display: inline-block;
  background-color: var(--cream);
  color: var(--charcoal);
  border-radius: var(--nav-pill-radius);
  padding: 9px 14px;
  letter-spacing: 1px;
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 14px;
  transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}
.refinery-nav > ul > li > a:hover,
.refinery-nav > ul > li.current-menu-item > a {
  background-color: var(--taupe);
  color: var(--cream);
}

.refinery-patient-portal {
  background-color: var(--charcoal);
  color: var(--cream);
  border-radius: var(--nav-pill-radius);
  padding: 12px 22px;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* ---- Dropdowns, shared base ----
   Both flavors are position:fixed and get their exact top (and, for the
   standard dropdown, left) set by JS in nav.js — same approach as the live
   Divi site, which repositions the panel under the fixed header dynamically
   on open/scroll/resize rather than relying on CSS-only anchoring. */
.refinery-nav > ul > li > .sub-menu {
  display: none;
  position: fixed;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid var(--maroon);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  list-style: none;
  margin: 0;
  transition: opacity 0.2s ease;
}
.refinery-nav > ul > li.click-open > .sub-menu { display: flex; }

/* ---- Aesthetics: full-width mega panel ---- */
.refinery-nav .mega-panel {
  left: 0 !important;
  right: 0;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 28px 32px;
  gap: 0;
}
.refinery-nav .mega-panel > li {
  flex: 1 1 0;
  padding: 0 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  min-width: 0;
}
.refinery-nav .mega-panel > li:first-child { padding-left: 0; }
.refinery-nav .mega-panel > li:last-child { border-right: none; padding-right: 0; }

/* column header = top-level group name, decorative (not a real link) */
.refinery-nav .mega-panel > li > a {
  display: block;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  padding: 0 0 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  cursor: default;
  text-decoration: none;
}
.refinery-nav .mega-panel > li > .sub-menu {
  display: block;
  position: static;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border: none;
  list-style: none;
}
/* subgroup header, also decorative */
.refinery-nav .mega-panel > li > .sub-menu > li { margin-bottom: 12px; }
.refinery-nav .mega-panel > li > .sub-menu > li > a {
  display: block;
  font-weight: 600;
  color: var(--maroon);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 0 4px;
  margin-bottom: 4px;
  cursor: default;
  text-decoration: none;
}
.refinery-nav .mega-panel > li > .sub-menu > li > .sub-menu {
  display: block;
  position: static;
  box-shadow: none;
  background: transparent;
  padding-left: 14px;
  border: none;
  list-style: none;
}
/* actual service links, the only real navigable items in the panel */
.refinery-nav .mega-panel > li > .sub-menu > li > .sub-menu > li > a {
  display: block;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 400;
  padding: 3px 0;
  text-decoration: none;
}
.refinery-nav .mega-panel > li > .sub-menu > li > .sub-menu > li > a:hover { color: var(--rust); }
/* visually nests a service under the one above it (e.g. Glow Tox under
   Neurotoxins) without a real extra taxonomy level */
.refinery-nav .mega-panel > li > .sub-menu > li > .sub-menu > li.menu-subitem > a {
  padding-left: 14px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}

/* ---- Wellness/Shop: standard narrow dropdown ---- */
.refinery-nav .standard-dropdown {
  min-width: 240px;
  padding: 8px 0;
  flex-direction: column;
}
.refinery-nav .standard-dropdown li a {
  display: block;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  padding: 7px 20px;
  text-decoration: none;
}
.refinery-nav .standard-dropdown li a:hover { color: var(--rust); }

/* ---- Mobile nav ----
   Below this, the header-inner row (logo + nav pills + Patient Portal
   button) no longer fits on one line — raw content-width check (nav ul
   scrollWidth + portal button width, ignoring the logo entirely) already
   comes to ~806px, so 1100px gives real headroom before anything
   overflows. Hamburger toggle hides the pill row and shows a stacked
   fixed panel instead; reuses the existing .click-open mechanism in
   nav.js for the Aesthetics/Wellness/Shop sub-menus (forced to render
   in-flow here rather than as fixed-position desktop panels), so no JS
   changes were needed for that part — only for the new toggle itself. */
.refinery-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.refinery-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
}
.refinery-patient-portal--mobile { display: none; }

@media (max-width: 1100px) {
  .refinery-nav-toggle { display: flex; }

  /* Full 70px desktop height reads crowded right up against the
     hamburger icon on a narrow header row. */
  .refinery-logo img { height: 50px; }

  .refinery-nav > ul,
  .refinery-header-inner > .refinery-patient-portal {
    display: none;
  }
  .refinery-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    gap: 4px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  }
  .refinery-nav.is-open > ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .refinery-nav.is-open > ul > li > a {
    display: block;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    border-radius: 6px;
  }
  .refinery-nav.is-open .refinery-patient-portal--mobile {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  /* Sub-menus: desktop uses position:fixed overlay panels anchored via
     JS (setPanelTop/setStandardDropdownPos) — on mobile those inline
     top/left values are simply ignored since this forces static, in-flow
     stacking under the parent item instead. */
  .refinery-nav.is-open > ul > li > .sub-menu {
    position: static !important;
    display: none;
    width: auto;
    box-shadow: none;
    border-top: none;
    padding: 4px 0 4px 15px;
  }
  .refinery-nav.is-open > ul > li.click-open > .sub-menu {
    display: flex !important;
    flex-direction: column !important;
  }
  .refinery-nav.is-open .mega-panel {
    flex-direction: column !important;
    padding: 4px 0 4px 15px !important;
  }
  .refinery-nav.is-open .mega-panel > li {
    border-right: none;
    padding: 8px 0 !important;
  }
}

/* ---- About page (hero + team intro + staff directory) ---- */
.about-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Charcoal-tint hero overlay — matches the live site's parallax-gradient hero
   treatment used on the About/Staff hero and both Shop pages. Individual
   service pages and Contact Us use .service-hero's default white-64%
   overlay on live, but David chose this dark tint for those too, for visual
   consistency across all hero pages rather than matching live's per-page
   inconsistency. */
.service-hero.hero-tint-dark::before { background-color: rgba(73, 74, 75, 0.5); }

.about-team-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: center;
  padding: 100px 20px;
}
.about-team-intro-text h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--charcoal);
  margin: 0 0 20px;
}
.about-team-intro-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
.about-team-intro-text p { margin: 0 0 18px; }
.about-team-intro-image img { width: 100%; }
@media (max-width: 900px) {
  .about-team-intro { grid-template-columns: 1fr; padding: 60px 20px; text-align: center; }
}

.staff-location-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--charcoal);
  margin: 0 0 20px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .staff-grid { grid-template-columns: 1fr; }
}
.staff-card {
  display: block;
  text-decoration: none;
  color: var(--body-text);
  text-align: center;
  background: #fff;
  padding: 14px 14px 20px;
  box-shadow: 0 8px 21px rgba(0, 0, 0, 0.15);
}
.staff-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.staff-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--forest);
  margin: 12px 0 4px;
}
.staff-card p { font-size: 13px; color: var(--taupe); margin: 0; }

/* ---- Staff single profile ---- */
.staff-profile-bar { height: 50px; background-color: var(--charcoal); margin-top: 140px; }
.staff-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px;
}
.staff-profile-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 21px rgba(0, 0, 0, 0.15);
}
.staff-profile-body h1 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-size: 42px;
  margin: 0 0 4px;
}
.staff-role { color: var(--maroon); font-size: 15px; letter-spacing: 1px; margin: 0 0 10px; }
.staff-divider { border: none; border-top: 2px solid var(--maroon); width: 50px; margin: 0 0 25px; }
.staff-bio { font-size: 17px; line-height: 1.8; }
.staff-back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background: var(--maroon);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
@media (max-width: 700px) {
  .staff-profile { grid-template-columns: 1fr; }
}

/* ---- Contact Us ---- */
.contact-cards-wrap {
  position: relative;
  max-width: 1200px;
  margin: -60px auto 80px;
  padding: 0 20px;
}
.contact-cards-dots {
  position: absolute;
  top: -20px;
  left: 0;
  width: 200px;
  height: 260px;
  background-image: radial-gradient(rgba(0, 0, 0, 0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  z-index: 1;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  position: relative;
  z-index: 2;
}
.contact-card {
  padding: 15px 35px 35px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 21px 21px rgba(0, 0, 0, 0.15);
  background: #F4F3EE;
}
.contact-card-lobby {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px;
}
.contact-card-eyebrow {
  color: var(--rust);
  font-size: 15px;
  letter-spacing: 1px;
  margin: 0;
  clear: both;
}
.contact-card h2 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-size: 32px;
  margin: 0 0 15px;
}
.contact-card p {
  font-size: 16px;
  padding: 10px 0;
  border-top: 1px dotted var(--taupe);
  margin: 0;
}
.contact-card p a { color: inherit; text-decoration: none; }
.contact-card p a:hover { color: var(--rust); }
.contact-card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.contact-card-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  text-decoration: none;
  flex-shrink: 0;
}
.contact-card-social-icon { width: 18px; height: 18px; }
.contact-card-buttons {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}
.contact-btn {
  display: inline-block;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--charcoal);
  border-radius: 100px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}
.contact-card-buttons .contact-btn {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  font-family: 'Open Sans', Arial, sans-serif;
}
@media (max-width: 800px) {
  .contact-cards { grid-template-columns: 1fr; gap: 50px; }
  /* Social icon + both buttons crammed into one row were crowding each
     other at phone widths — stack them instead. */
  .contact-card-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .contact-card-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ---- Shop pages ---- */
.shop-content {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 80px 20px;
}
.shop-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--charcoal);
  margin-top: 40px;
}
.shop-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.shop-brand-grid img { max-height: 90px; margin: 0 auto; }
@media (max-width: 700px) {
  .shop-brand-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Homepage
   ============================================================ */

.hero-video {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(70,63,58,0.71) 0%, rgba(41,196,169,0) 100%);
}
.hero-video-content {
  position: relative;
  max-width: 1200px;
  padding: 0 40px 0 150px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero-video-content h1 {
  font-family: var(--font-heading);
  font-size: 54px;
  margin: 0 0 15px;
}
.hero-video-content p { font-size: 18px; margin: 0 0 25px; }
.hero-book-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--charcoal);
  color: #fff;
  border-radius: 100px;
  padding: 14px 40px;
  text-decoration: none;
  letter-spacing: 0.8px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
}
.hero-book-btn:hover { background: var(--taupe); }

@media (max-width: 700px) {
  /* Desktop's 150px left / 40px right padding is a deliberate offset for
     a wide viewport — on a narrow screen it eats most of the available
     width and pushes the heading/copy/button hard against the right
     edge instead of reading as centered content. Even 20px margins
     match every other mobile content block in this file. */
  .hero-video-content { padding: 0 20px; }
}

.refine-definition {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: top left;
  background-blend-mode: multiply;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.refine-definition-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.refine-logo { max-width: 100%; }
.refine-text {
  color: #fff;
}
.refine-text h2 { font-family: var(--font-heading); font-size: 64px; line-height: 37.2px; margin: 0; }
.refine-phonetic { font-family: var(--font-heading); font-size: 30px; line-height: 1.2; margin: 10px 0 20px; }
.refine-definition-copy { font-size: 20px; line-height: 23.8px; }

.service-teaser {
  background: var(--sage-tan, #ccc8be);
  padding: 80px 20px 100px;
  text-align: center;
}
.service-teaser h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--charcoal);
  margin: 0 0 50px;
}
.service-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-teaser-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
  padding: 90px 30px;
  transition: transform 200ms ease;
  /* Grid items default to min-width:auto (content-based) — as both a
     grid item and its own flex container, this card's implicit minimum
     is its uppercase/letter-spaced title text plus 60px of padding.
     On a real phone's ~390px viewport that exceeds an even 2-column
     share, forcing the grid to overflow instead of shrinking. min-width:0
     lets it shrink and the title wrap normally instead. */
  min-width: 0;
}
.service-teaser-card:hover { transform: scale(1.05); background: var(--taupe); }
.service-teaser-card h3 {
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
@media (max-width: 900px) {
  .service-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .refine-definition-inner { grid-template-columns: 1fr; text-align: center; }
  /* The background photo has its own giant dictionary-style text baked in,
     designed to sit beside (not behind) the real overlaid text in the
     desktop two-column layout. Once stacked to one column the photo still
     spans the full section behind both stacked elements, so its own text
     visually collides with the real "Refine" heading/definition on top of
     it. Plain charcoal (the section's own existing fallback color) reads
     cleanly instead. */
  .refine-definition { background-image: none !important; background-color: var(--charcoal); }
}

.about-gallery { padding: 100px 20px; background: #fff; }
.about-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-gallery-text h2 { font-size: 42px; color: var(--charcoal); margin: 0 0 20px; text-transform: uppercase; }
.about-gallery-text p { font-size: 19px; line-height: 1.5; }
/* No rounding — confirmed via getComputedStyle() against live
   (border-radius: 0px all the way up the image's ancestor chain).
   Staging previously had an assumed 8px that didn't match. */
.about-gallery-photo { border-radius: 0; width: 100%; }
@media (max-width: 900px) {
  .about-gallery-inner { grid-template-columns: 1fr; }
}

.instagram-feed-section { background: #ccc8be; padding: 40px 20px; }
/* Matches live's actual computed styles (checked via getComputedStyle
   against dwserver4.com 2026-08-04): username h3 and the bio paragraph
   both use --charcoal; only the "Book Here" link within the bio uses
   --rust. Smash Balloon ships its own default colors otherwise. */
#sb_instagram h3 { color: var(--charcoal) !important; font-family: var(--font-heading) !important; }
#sb_instagram .sbi_bio, #sb_instagram .sbi_bio p { color: var(--charcoal) !important; }
#sb_instagram .sbi_header_link { color: var(--rust) !important; }
/* plugin default is Instagram-brand blue (#408bd1) — swap for a neutral
   brand color to match the rest of the site */
#sb_instagram .sbi_follow_btn a { background: var(--charcoal) !important; color: #fff !important; }
#sb_instagram .sbi_follow_btn a:hover,
#sb_instagram .sbi_follow_btn a:focus { box-shadow: inset 0 0 10px 20px rgba(0, 0, 0, 0.15) !important; }
.instagram-feed-placeholder {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0;
  color: var(--taupe);
  font-style: italic;
}

.schedule-consultation {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  padding: 160px 0;
  text-align: center;
  color: #fff;
}
.schedule-consultation-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.schedule-consultation h2 { font-family: var(--font-heading); font-size: 40px; color: #fff; margin: 0; }
.schedule-consultation p { font-size: 20px; color: #fff; margin: 20px auto 30px; }
.schedule-consultation-btn {
  display: inline-block;
  border: 2px solid #BA9A74;
  border-radius: 100px;
  padding: 8px 50px;
  color: #fff;
  text-decoration: none;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.book-appointment-bar {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.book-appointment-bar h2 {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 22px;
  margin: 0 0 30px;
}
.book-appointment-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  /* Same 100px gap value serves as both the desktop column-gap and the
     row-gap once these wrap to stacked rows on mobile — leaving way too
     much space between Lebanon's button and the Knoxville header below
     it. Tightened by 50px for the stacked layout only. */
  .book-appointment-grid { gap: 50px; }
}
.book-location { font-family: var(--font-heading); font-size: 22px; margin: 0; }
.book-phone { font-family: var(--font-heading); font-size: 36px; margin: 5px 0 15px; }
.contact-btn--dark { background: #000; color: #fff; border-color: #000; }
.book-appointment-bar .contact-btn {
  border-radius: 100px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 50px 8px 65px;
  position: relative;
}
.contact-btn-icon {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #fff;
}

.staff-teaser {
  background: rgba(204,200,190,0.48);
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 40px;
  padding: 60px 40px;
}
.staff-teaser-photo-wrap img {
  max-width: 475px;
  width: 100%;
  transform: rotate(-3deg);
  border: 10px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.staff-teaser-text h2 {
  font-family: var(--font-heading);
  color: var(--forest);
  font-size: 42px;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.staff-teaser-text p { font-size: 19px; color: var(--body-text); margin: 0 0 25px; }
.staff-teaser-text .contact-btn {
  border-radius: 100px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 50px;
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
@media (max-width: 900px) {
  .staff-teaser { grid-template-columns: 1fr; text-align: center; }
  .staff-teaser-photo-wrap { display: flex; justify-content: center; }
}

.reviews-section { padding: 80px 20px; text-align: center; }
.reviews-section h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--charcoal);
  margin: 0 0 40px;
}
.reviews-placeholder { color: var(--taupe); font-style: italic; max-width: 600px; margin: 0 auto; }

/* ============================================================
   Footer
   ============================================================ */

.footer-cta {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 40px;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
}
.footer-cta-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.footer-cta-left h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--charcoal);
}
.footer-cta-left .contact-btn {
  border-radius: 100px;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 50px 8px 65px;
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  position: relative;
}
.footer-cta-form {
  background: #ccc8be;
  padding: 40px;
  border-radius: 4px;
  scroll-margin-top: 120px; /* clears the fixed header when jumped to via #footer-cta-form after a form submit */
}
.footer-cta-eyebrow { font-family: var(--font-heading); margin: 0; color: var(--charcoal); }
.footer-cta-form h3 { font-family: var(--font-heading); font-size: 26px; margin: 0 0 20px; color: var(--charcoal); }
.footer-cta-form form { display: flex; flex-direction: column; gap: 12px; }
.footer-cta-form input,
.footer-cta-form textarea {
  padding: 12px 15px;
  border: none;
  font-family: inherit;
  font-size: 15px;
}
.footer-cta-form button {
  align-self: flex-start;
  background: var(--charcoal);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 30px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}
.footer-form-note { font-size: 13px; color: var(--body-text); margin-top: 15px; }
.footer-form-success { font-size: 16px; color: var(--forest); }

.footer-addresses { background: var(--charcoal); color: #fff; padding: 60px 40px; }
.footer-addresses-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo-col img { width: 100px; margin-bottom: 20px; }
.footer-logo-col p { font-size: 14px; opacity: 0.8; }
.footer-address-col h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
  margin: 0 0 15px;
}
.footer-address-col p { font-family: 'Open Sans', Arial, sans-serif; font-size: 15px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.footer-address-col a { color: #fff; text-decoration: none; }
.footer-icon { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
.footer-social-icon { width: 16px; height: 16px; fill: #fff; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .footer-cta-inner, .footer-addresses-inner { grid-template-columns: 1fr; }
}

.footer-quicklinks { background: #1a1a1a; color: #fff; text-align: center; padding: 40px 20px; }
.footer-quicklinks h3 { font-family: var(--font-heading); margin: 0 0 20px; }
.footer-quicklinks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.footer-quicklinks-grid a { color: #ccc; text-decoration: none; font-size: 14px; }
.footer-quicklinks-grid a:hover { color: #fff; }

/* ---- Service page (shared standard-format template) ---- */
.service-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.64);
}
.service-hero h1 {
  position: relative;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 55px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin: 0;
}
.service-content {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 80px 20px;
}
.service-tagline {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--charcoal);
  margin: 0 0 20px;
}
.service-intro { font-size: 16px; line-height: 1.8; }
.service-faq h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--charcoal);
}
.service-faq details {
  background: #f9f9f9;
  border-radius: 4px;
  padding: 15px 20px;
  margin-bottom: 10px;
}
.service-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--charcoal);
}
.service-faq details[open] summary { margin-bottom: 10px; }

/* ---- Exclusives (quarterly offers) ---- */
.exclusives-subtitle {
  font-style: italic;
  color: var(--taupe);
  margin: -10px 0 20px;
}
.exclusives-highlight {
  font-weight: 700;
  color: var(--maroon);
  margin: 20px 0 40px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .offer-grid { grid-template-columns: 1fr; }
}
.offer-card {
  background: #f9f9f9;
  border-top: 3px solid var(--maroon);
  border-radius: 4px;
  padding: 25px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}
.offer-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--charcoal);
  margin: 0 0 10px;
}
.offer-card p { margin: 0 0 12px; }
.offer-card-lead-in { font-weight: 700; }
.offer-card ul { margin: 0; padding-left: 20px; }
.offer-card li { margin-bottom: 8px; }
.exclusives-disclaimer {
  font-size: 13px;
  font-style: italic;
  color: var(--taupe);
}
