/* =============================================================
   OrthoServe Theme — Main Stylesheet
   ============================================================= */

/* ── RESET & ROOT ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --navy:       #0B1C2D;
  --teal:       #1B6B6B;
  --teal-light: #248A8A;
  --gold:       #C8A96A;
  --cream:      #F7F3EE;
  --white:      #FFFFFF;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --border:     rgba(11,28,45,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.15; }

.serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 54px);
  color: var(--navy);
  line-height: 1.15;
}
.serif em { font-style: italic; color: var(--teal); }

.section-eyebrow {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 22px; height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 15px 32px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--teal-light); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 14px 30px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 9px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--gold); text-decoration: none; }
.topbar .sep { margin: 0 14px; opacity: .25; }

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 82px;
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
  overflow: visible;
}
.site-logo-link { flex-shrink: 0; }
.site-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1;
}
.site-logo-main span { color: var(--teal); }
.site-logo-sub {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
/* Hide tagline in header only — footer keeps it */
.header-tagline-hide { display: none; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--teal);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 3px;
}
.nav-links .nav-cta:hover { background: var(--teal-light); }
.nav-links .nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all .3s;
}

/* ── HERO — full-width video with text overlay ── */
.hero--fullvid {
  position: relative;
  min-height: 92vh;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,28,45,.90) 0%,
    rgba(11,28,45,.68) 45%,
    rgba(11,28,45,.28) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(2rem, 7vw, 8rem);
  max-width: 720px;
}
.hero-eyebrow {
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px,5.5vw,76px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  max-width: 420px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* Inline text link replacing ghost button for "View Our Process" */
.hero-process-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.hero-process-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
  .hero--fullvid { background: var(--navy) url('../images/hero-bg.jpg') center/cover no-repeat; }
}
@media (max-width: 768px) {
  .hero--fullvid { min-height: 100svh; max-height: none; padding-bottom: 80px; }
  .hero-video-overlay {
    background: linear-gradient(to bottom, rgba(11,28,45,.75) 0%, rgba(11,28,45,.88) 100%);
  }
  .hero-content { padding: 88px 1.75rem 2rem; }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--cream);
  padding: 26px 80px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  border-right: 1px solid var(--border);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border: 1.5px solid var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 19px; height: 19px;
  color: var(--teal);
  stroke: var(--teal);
}
.trust-text strong { display:block; font-size:13px; font-weight:500; color:var(--navy); }
.trust-text span { font-size:11.5px; color:var(--muted); }

/* ── SECTIONS ── */
section { padding: 100px var(--side-pad); box-sizing: border-box; width: 100%; }

/* ── ABOUT ── */
.about { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-img { position:relative; padding-bottom:32px; padding-right:32px; }
.about-img-frame {
  width:100%; aspect-ratio:3/4;
  max-height: 520px;
  border-radius:4px; overflow:hidden;
  position:relative; z-index:1;
}
.about-img-frame img {
  width:100%; height:100%;
  object-fit:cover; object-position:center top;
  display:block;
  filter:brightness(.88) contrast(1.05) saturate(.85);
}
.about-img-frame::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to bottom,rgba(11,28,45,.08) 0%,rgba(11,28,45,.55) 100%);
  z-index:1; pointer-events:none;
}
.about-img-teal-tint {
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(27,107,107,.18) 0%,transparent 55%);
  z-index:2; pointer-events:none;
}
.about-img-label {
  position:absolute; bottom:18px; left:18px; z-index:4;
  display:flex; align-items:center; gap:8px;
  background:rgba(11,28,45,.78);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(200,169,106,.35);
  border-radius:4px; padding:9px 16px;
  font-size:11px; letter-spacing:.09em;
  color:rgba(255,255,255,.85);
}
.ail-dot {
  width:7px; height:7px; border-radius:50%;
  background:var(--teal-light);
  box-shadow:0 0 8px var(--teal-light);
  flex-shrink:0;
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(1.4)}
}
.about-accent-card {
  position:absolute; bottom:0; right:0;
  background:#0B1C2D;
  padding:26px 30px; border-radius:4px; width:210px;
  box-shadow:0 16px 48px rgba(0,0,0,.6);
  border:1px solid rgba(200,169,106,.25);
  z-index:20; isolation:isolate;
}
.about-accent-card .big-num {
  font-family:'Cormorant Garamond',serif;
  font-size:52px; font-weight:600;
  color:#C8A96A; line-height:1; display:block;
}
.about-accent-card p {
  font-size:13.5px; color:#FFFFFF;
  margin-top:10px; line-height:1.6;
  font-weight:500; text-shadow:none; opacity:1;
}
.about-content p { font-size:15px; line-height:1.8; color:#444; margin-bottom:18px; }
.about-list {
  list-style:none; margin:24px 0 36px;
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
}
.about-list li { font-size:13px; color:var(--text); display:flex; align-items:center; gap:9px; }
.about-list li::before {
  content:''; width:6px; height:6px;
  background:var(--teal); border-radius:50%; flex-shrink:0;
}

/* ── PROCESS — Background image + HTML text overlay ── */
/* ── PROCESS BANNER ── */
/* ── PROCESS SECTION ── */
.process {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.process-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
.process-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,28,45,0.78) 0%,
    rgba(11,28,45,0.52) 35%,
    rgba(11,28,45,0.52) 65%,
    rgba(11,28,45,0.88) 100%
  );
  z-index: 1;
}
.process-inner {
  position: relative;
  z-index: 2;
  padding: 52px 80px 60px;
  max-width: var(--site-max, 1380px);
  margin: 0 auto;
  min-height: clamp(480px, 52vw, 720px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process-header { margin-bottom: 32px; }
.process-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.process-eyebrow .eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}
.process-heading {
  text-align: center;
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 300;
  margin-bottom: 0;
}
.process-heading em { color: var(--gold); font-style: italic; }

/* Track */
.process-track { position: relative; }
.track-line-bg {
  position: absolute;
  top: 27px;
  left: calc(12.5% + 27px);
  right: calc(12.5% + 27px);
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
  border-radius: 2px;
}
.track-line-fill {
  position: absolute;
  top: 27px;
  left: calc(12.5% + 27px);
  width: 0%;
  max-width: calc(100% - 25% - 54px);
  height: 2px;
  background: linear-gradient(to right, var(--teal-light, #248A8A), var(--gold));
  z-index: 2;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(200,169,106,0.6);
}

/* Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
}
.step { padding: 0 24px; text-align: center; }
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  margin: 0 auto 22px;
  position: relative;
  z-index: 3;
  transition: border-color .4s ease, color .4s ease,
              background .4s ease, box-shadow .4s ease, transform .3s ease;
}
.step-num.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,106,0.14);
  box-shadow: 0 0 0 4px rgba(200,169,106,0.15), 0 0 22px rgba(200,169,106,0.35);
  transform: scale(1.1);
}
.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.3;
  opacity: .45;
  transition: opacity .4s ease;
}
.step.active h3 { opacity: 1; }
.step p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  transition: color .4s ease;
}
.step.active p { color: rgba(255,255,255,.82); }

/* Responsive */
@media (max-width: 968px) {
  .process-inner { padding: 40px 40px 52px; min-height: clamp(400px, 80vw, 560px); }
  .track-line-bg, .track-line-fill { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .step { padding: 0 12px; }
  .step-num { border-color: var(--gold); color: var(--gold); background: rgba(200,169,106,.12); }
  .step h3 { opacity: 1; }
  .step p { color: rgba(255,255,255,.75); }
}
@media (max-width: 600px) {
  .process-inner { padding: 36px 20px 44px; min-height: 0; }
  .step p { font-size: 12.5px; }
  .step h3 { font-size: 17px; }
  .step-num { width: 44px; height: 44px; font-size: 18px; }
}

/* ── PRODUCTS HERO — full-width video with text overlay ── */
.products-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.products-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}
.products-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,28,45,.88) 0%,
    rgba(11,28,45,.65) 45%,
    rgba(11,28,45,.25) 100%
  );
  z-index: 1;
}
.products-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(2rem, 6vw, 7rem);
  max-width: 680px;
}
.products-hero__eyebrow {
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.products-hero__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4.5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  white-space: nowrap;        /* force single line */
}
.products-hero__heading em { color: var(--gold); font-style: italic; }
.products-hero__body {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: rgba(247,243,238,.75);
  max-width: 52ch;            /* wide enough for 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .products-hero__video { display: none; }
  .products-hero { background: var(--navy) url('../images/lab-bg.jpg') center/cover no-repeat; }
}
@media (max-width: 768px) {
  .products-hero { height: 60vw; min-height: 320px; }
  .products-hero__heading { white-space: normal; font-size: 2.4rem; }
  .products-hero__body { -webkit-line-clamp: unset; overflow: visible; }
  .products-hero__overlay {
    background: linear-gradient(to bottom, rgba(11,28,45,.7) 0%, rgba(11,28,45,.85) 100%);
  }
}

/* ── PRODUCTS ── */
.products { background:var(--white); }
.products-header { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:36px; }

.filter-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:40px; }
.ftab {
  padding:8px 18px; font-size:11px; font-weight:500;
  letter-spacing:.08em; text-transform:uppercase;
  border:1.5px solid var(--border); border-radius:2px;
  cursor:pointer; color:var(--muted); background:transparent;
  transition:all .2s; font-family:'DM Sans',sans-serif;
}
.ftab:hover,.ftab.active { background:var(--navy); color:var(--white); border-color:var(--navy); }

.products-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.product-card {
  background:var(--white); border-radius:4px; overflow:hidden;
  border:1px solid var(--border);
  transition:transform .3s,box-shadow .3s; cursor:pointer; position:relative;
}
.product-card:hover { transform:translateY(-7px); box-shadow:0 28px 64px rgba(27,107,107,.14); }

.product-img-wrap {
  aspect-ratio:1; overflow:hidden; position:relative; background:#F0F5F5;
  max-height: 240px;
}
.product-img-wrap img {
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  transition:opacity .45s ease,transform .5s ease;
}
.product-img-wrap img.main-img { opacity:1; z-index:1; }
.product-img-wrap img.alt-img { opacity:0; z-index:2; }
.product-card:hover .product-img-wrap img.main-img { opacity:0; transform:scale(1.06); }
.product-card:hover .product-img-wrap img.alt-img { opacity:1; transform:scale(1.04); }
.product-img-wrap img.alt-img2 { opacity:0; z-index:3; }

.product-tag {
  position:absolute; top:12px; left:12px;
  background:var(--navy); color:var(--white);
  font-size:9px; letter-spacing:.12em; text-transform:uppercase;
  padding:4px 10px; border-radius:2px; z-index:10;
}
.img-count-badge {
  position:absolute; bottom:10px; right:10px;
  background:rgba(0,0,0,.45); color:#fff;
  font-size:9px; letter-spacing:.08em;
  padding:3px 8px; border-radius:20px; z-index:10;
}
.product-info { padding:18px 20px 22px; }
.product-info h3 {
  font-family:'Cormorant Garamond',serif;
  font-size:19px; font-weight:600; color:var(--navy); margin-bottom:7px;
}
.product-info p { font-size:12.5px; line-height:1.65; color:var(--muted); margin-bottom:14px; }
.product-features { list-style:none; display:flex; flex-direction:column; gap:4px; margin-bottom:14px; }
.product-features li { font-size:11.5px; color:var(--text); display:flex; align-items:center; gap:7px; }
.product-features li::before {
  content:''; width:5px; height:5px;
  background:var(--teal); border-radius:50%; flex-shrink:0;
}
.product-info-link {
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--teal); font-weight:500; text-decoration:none;
  display:inline-flex; align-items:center; gap:6px;
  border-bottom:1px solid rgba(27,107,107,.3); padding-bottom:2px;
}

/* View More */
.extra-card { display:none; }
.extra-card.revealed { display:block; animation:fadeUp .4s ease both; }
.view-more-wrap { display:flex; align-items:center; gap:24px; margin-top:52px; }
.view-more-line { flex:1; height:1px; background:var(--border); }
.view-more-btn {
  display:flex; align-items:center; gap:10px;
  background:transparent; border:1.5px solid var(--teal);
  color:var(--teal); padding:13px 28px; border-radius:3px;
  font-size:12px; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; cursor:pointer; transition:all .25s;
  white-space:nowrap; font-family:'DM Sans',sans-serif;
}
.view-more-btn:hover { background:var(--teal); color:var(--white); }
.view-more-icon { font-size:16px; transition:transform .3s ease; display:inline-block; }
.view-more-icon.rotated { transform:rotate(180deg); }
.view-more-count {
  background:var(--teal); color:var(--white);
  font-size:10px; padding:2px 8px; border-radius:20px;
  letter-spacing:.06em; transition:background .25s;
}
.view-more-btn:hover .view-more-count { background:var(--white); color:var(--teal); }
.product-card.hidden { display:none; }

/* ── LAB DIVIDER ── */
.lab-divider { position:relative; height:380px; overflow:hidden; }
.lab-divider img { width:100%; height:100%; object-fit:cover; object-position:center 30%; display:block; }
.lab-divider-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom,rgba(11,28,45,.5) 0%,rgba(11,28,45,.65) 100%);
  display:flex; align-items:center; justify-content:center; padding:0 80px;
  text-align:center;
}
.lab-divider-content { max-width:660px; text-align:center; }
.lab-divider-eyebrow {
  font-size:10px; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px;
  display:flex; align-items:center; justify-content:center; gap:12px;
}
.lab-divider-eyebrow::before { content:''; display:inline-block; width:24px; height:1px; background:var(--gold); }
.lab-divider h2 {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(32px,3.5vw,50px); font-weight:300;
  color:#fff; line-height:1.15; margin-bottom:18px;
}
.lab-divider h2 em { font-style:italic; color:var(--gold); }
.lab-divider p { font-size:15px; line-height:1.75; color:rgba(255,255,255,.65); max-width:460px; margin: 0 auto; text-align: center; }

/* ── CONDITIONS ── */
.conditions { background:var(--navy); position:relative; overflow:hidden; }
.conditions::before {
  content:''; position:absolute; right:-120px; top:-120px;
  width:560px; height:560px;
  background:radial-gradient(circle,rgba(27,107,107,.25) 0%,transparent 70%);
  border-radius:50%;
}
.conditions .section-eyebrow { color:var(--gold); }
.conditions .section-eyebrow::before { background:var(--gold); }
.conditions .serif { color:var(--white); }
.conditions-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; margin-top:52px; align-items:start; }
.conditions-text p { font-size:15px; line-height:1.8; color:rgba(255,255,255,.62); margin-bottom:20px; }
.conditions-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.condition-chip {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09);
  border-radius:4px; padding:13px 16px; font-size:13px;
  color:rgba(255,255,255,.78); display:flex; align-items:center; gap:10px;
  transition:background .2s;
}
.condition-chip:hover { background:rgba(27,107,107,.3); border-color:var(--teal-light); }
.condition-chip::before { content:'✓'; color:var(--teal-light); font-size:12px; flex-shrink:0; }

/* ── TESTIMONIALS ── */
.testimonials { background:var(--cream); }
.test-header { text-align:center; margin-bottom:52px; }
.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.t-card {
  background:var(--white); border-radius:6px;
  padding:34px 30px; border:1px solid var(--border); position:relative;
}
.t-card::before {
  content:'"'; font-family:'Cormorant Garamond',serif;
  font-size:80px; color:var(--teal); opacity:.15;
  position:absolute; top:10px; left:22px; line-height:1;
}
.t-stars { display:flex; gap:3px; margin-bottom:14px; color:var(--gold); font-size:14px; }
.t-card p { font-size:14px; line-height:1.75; color:#444; margin-bottom:22px; font-style:italic; }
.t-author { display:flex; align-items:center; gap:12px; }
.t-avatar {
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg,var(--teal) 0%,var(--navy) 100%);
  display:flex; align-items:center; justify-content:center;
  color:var(--white); font-weight:600; font-size:16px; flex-shrink:0;
}
.t-author-info strong { display:block; font-size:13px; font-weight:500; color:var(--navy); }
.t-author-info span { font-size:11px; color:var(--muted); }

/* ── WHOLESALE ── */
.wholesale { background:var(--cream); width:100%; box-sizing:border-box; }
.wholesale-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.wholesale-perks { list-style:none; display:flex; flex-direction:column; gap:12px; margin:28px 0 36px; }
.wholesale-perks li { font-size:14px; color:var(--text); display:flex; align-items:flex-start; gap:12px; line-height:1.5; }
.perk-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.perk-icon svg {
  width: 18px; height: 18px;
  color: var(--gold);
  stroke: var(--gold);
}
.wholesale-btns { display:flex; gap:14px; flex-wrap:wrap; }
.wholesale-cards { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.w-card {
  background:var(--white); border-radius:6px; padding:22px 20px;
  border:1px solid var(--border); text-align:center;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
}
.w-card-icon { font-size:28px; margin-bottom:10px; }
.w-card h4 { font-family:'Cormorant Garamond',serif; font-size:17px; font-weight:600; color:var(--navy); margin-bottom:6px; }
.w-card p { font-size:12px; color:var(--muted); line-height:1.55; }
.w-card-featured {
  background:var(--navy); color:var(--white);
  grid-column:span 2; display:flex; align-items:center;
  gap:20px; padding:22px 24px; text-align:left; border-radius:6px;
}
.w-card-featured h4 { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:600; color:var(--gold); margin-bottom:4px; }
.w-card-featured p { font-size:13px; color:rgba(255,255,255,.65); }
.w-featured-icon { font-size:36px; flex-shrink:0; }

/* ── FOOTER ── */
.site-footer { background:var(--navy); color:var(--white); padding:72px 80px 40px; }
.footer-top {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr;
  gap:60px; padding-bottom:52px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo-main { color:var(--white); font-size:30px; }
.footer-brand .site-logo-main span { color:var(--teal-light); }
.footer-brand .site-logo-sub { color:var(--gold); font-size:9px; letter-spacing:.22em; margin-top:4px; }
.footer-brand .footer-dmepos {
  margin-top: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 10px;
}
.footer-brand p { margin-top:10px; font-size:13px; line-height:1.7; color:rgba(255,255,255,.45); max-width:280px; }
.footer-col h4 { font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--gold); margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul li a { color:rgba(255,255,255,.5); text-decoration:none; font-size:13px; transition:color .2s; }
.footer-col ul li a:hover { color:var(--white); }
.hours-table { width:100%; border-collapse:collapse; }
.hours-table td { font-size:12.5px; padding:5px 0; color:rgba(255,255,255,.5); }
.hours-table td:last-child { text-align:right; }
.footer-contact-item { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; }
.fc-icon {
  width:28px; height:28px; background:rgba(27,107,107,.35);
  border-radius:6px; display:flex; align-items:center;
  justify-content:center; font-size:12px; flex-shrink:0;
}
.fc-text { font-size:12.5px; color:rgba(255,255,255,.55); line-height:1.5; }
.fc-text strong { display:block; color:rgba(255,255,255,.82); margin-bottom:1px; }
.footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  padding-top:30px; font-size:11.5px; color:rgba(255,255,255,.3);
}
.footer-bottom a { color:rgba(255,255,255,.4); text-decoration:none; margin-left:22px; }
.footer-bottom a:hover { color:var(--white); }

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL — data-reveal & data-reveal-item
   ══════════════════════════════════════════════════════ */

/* Section-level reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity .75s cubic-bezier(0.22, 1, 0.36, 1),
    transform .75s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 600px) {
  [data-reveal] { transform: translateY(16px); }
}

/* Slide-from-left variant */
[data-reveal="slide-left"] {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity .8s cubic-bezier(0.22, 1, 0.36, 1),
    transform .8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="slide-left"].is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Child item stagger */
[data-reveal-item] {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity .6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform .6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
[data-reveal-item].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Reduced motion — skip animations */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-item] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.hero-content > * { animation:fadeUp .65s ease both; }
.hero-content > *:nth-child(1){animation-delay:.1s}
.hero-content > *:nth-child(2){animation-delay:.25s}
.hero-content > *:nth-child(3){animation-delay:.4s}
.hero-content > *:nth-child(4){animation-delay:.55s}
.hero-video-bg { animation:fadeIn .8s .2s ease both; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns:repeat(3,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; gap:40px; }
}

@media (max-width: 968px) {
  section { padding:70px 40px; }
  .topbar { padding:9px 24px; font-size:11px; }
  .site-nav { padding:0 24px; }
  .nav-links { display:none; flex-direction:column; position:absolute; top:82px; left:0; right:0; background:var(--white); padding:20px 24px 28px; box-shadow:0 8px 32px rgba(0,0,0,.1); gap:16px; border-top:1px solid var(--border); z-index:200; max-height:calc(100vh - 82px); overflow-y:auto; }
  .nav-links.open { display:flex; }
  .nav-toggle { display:flex; }
  .nav-backdrop { display:none !important; }
  .hero--fullvid { min-height: 100svh; max-height: none; }
  .about { grid-template-columns:1fr; gap:40px; }
  .about-img { padding-right:0; }
  .about-img-frame { aspect-ratio:16/9; }
  .about-accent-card { bottom:-20px; right:20px; }
  .conditions-inner { grid-template-columns:1fr; gap:40px; }
  .testimonial-grid { grid-template-columns:1fr; }
  .wholesale-inner { grid-template-columns:1fr; gap:40px; }
  .trust-bar { display: none; }
  .products-grid { grid-template-columns:repeat(2,1fr); }
  .process-steps { grid-template-columns:1fr 1fr; gap:32px; }
  .process-steps::before { display:none; }
  .footer-top { grid-template-columns:1fr; gap:36px; }
  .lab-divider-overlay { padding:0 40px; }
  .lab-divider h2 { font-size:28px; }
}

@media (max-width: 600px) {
  section { padding:56px 20px; }
  /* Eliminate white gap between stat bar and about section */
  .stat-shuffle-bar + section,
  .hero-stats-mobile + section { padding-top: 0; margin-top: 0; }
  .stat-shuffle-bar + section [data-reveal],
  .hero-stats-mobile + section [data-reveal] { transform: none; opacity: 1; }
  /* Prevent reveal animation adding visual gap on first section */
  .hero-stats-mobile ~ section:first-of-type { padding-top: 24px; }
  .topbar { display:none; }
  .site-nav { padding:0 20px; }
  .hero h1 { font-size:44px; }
  .hero-eyebrow { display: none; }
  .products-grid { grid-template-columns:1fr 1fr; gap:14px; }
  .process-steps { grid-template-columns:1fr; }
  .conditions-grid { grid-template-columns:1fr; }
  .wholesale-cards { grid-template-columns:1fr; }
  .w-card-featured { grid-column:span 1; flex-direction:column; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .filter-tabs { gap:6px; }
  .ftab { padding:7px 13px; font-size:10px; }
  .lab-divider { height:280px; }
}

/* ── BREADCRUMB BAR ── */
.breadcrumb-bar {
  background: var(--cream);
  padding: 12px 80px;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-bar a { color: var(--teal); text-decoration: none; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar span { opacity: .5; }

/* ── PAGE HERO ── */
.page-hero { position: relative; overflow: hidden; min-height: 320px; }

/* ── LEGAL CONTENT ── */
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--navy);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px; line-height: 1.8;
  color: #444; margin-bottom: 16px;
}
.legal-content a { color: var(--teal); }

/* ── FORMS ── */
.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  transition: border-color .2s;
  outline: none;
}
.form-input:focus { border-color: var(--teal); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--cream); }
.blog-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 24px 22px 28px; }
.blog-card-cat {
  font-size: 10px; letter-spacing:.2em; text-transform:uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.blog-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: var(--navy); line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card-body p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin-bottom: 16px; }
.blog-card-meta { font-size: 11.5px; color: var(--muted); }
.blog-read-more {
  font-size: 11px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--teal); text-decoration:none; font-weight:500;
  display:inline-flex; align-items:center; gap:6px;
  border-bottom: 1px solid rgba(27,107,107,.3); padding-bottom:2px;
}

@media (max-width: 968px) {
  .page-hero { padding: 60px 40px 48px !important; }
  .breadcrumb-bar { padding: 10px 24px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .legal-content { padding: 0; }
}
@media (max-width: 600px) {
  .page-hero { padding: 48px 20px 36px !important; }
  .breadcrumb-bar { padding: 10px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER BOTTOM CREDIT ── */
.footer-bottom-links { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.footer-design-credit {
  color:rgba(255,255,255,0.3) !important;
  font-size:11px;
  letter-spacing:.04em;
  border-left:1px solid rgba(255,255,255,0.1);
  padding-left:22px;
  transition:color .2s;
}
.footer-design-credit:hover { color:var(--gold) !important; }

/* ── SLIDE BANNER SCROLL ANIMATION ── */
.slide-banner { overflow:hidden; }

/* Only hide on desktop — never permanently visible on mobile */
@media (min-width: 769px) {
  .slide-banner.sb-ready { opacity:0; transform:translateY(60px); transition:none; }
  .slide-banner .wholesale-content,
  .slide-banner .work-with-us-left { opacity:0; transform:translateX(-56px); transition:none; }
  .slide-banner .wholesale-visual,
  .slide-banner .work-with-us-right { opacity:0; transform:translateX(56px); transition:none; }
  .about-cta-banner--centered .about-cta-eyebrow,
  .about-cta-banner--centered .about-cta-heading,
  .about-cta-banner--centered .about-cta-sub,
  .about-cta-banner--centered .about-cta-actions { opacity:0; transform:translateY(28px); transition:none; }
  .slide-banner .w-card,
  .slide-banner .w-card-featured { opacity:0; transform:translateY(28px) scale(0.97); transition:none; }
  .slide-banner .wholesale-perks li { opacity:0; transform:translateX(-24px); transition:none; }
}

/* Animated states */
.slide-banner.sb-animate {
  opacity:1; transform:translateY(0);
  transition:opacity .8s cubic-bezier(0.22,1,0.36,1), transform .8s cubic-bezier(0.22,1,0.36,1);
}
.slide-banner.sb-animate .wholesale-content,
.slide-banner.sb-animate .work-with-us-left {
  opacity:1; transform:translateX(0);
  transition:opacity .75s .15s cubic-bezier(0.22,1,0.36,1), transform .75s .15s cubic-bezier(0.22,1,0.36,1);
}
.slide-banner.sb-animate .wholesale-visual,
.slide-banner.sb-animate .work-with-us-right {
  opacity:1; transform:translateX(0);
  transition:opacity .75s .3s cubic-bezier(0.22,1,0.36,1), transform .75s .3s cubic-bezier(0.22,1,0.36,1);
}
.about-cta-banner--centered.sb-animate .about-cta-eyebrow,
.slide-banner.sb-animate .about-cta-banner--centered .about-cta-heading {
  opacity:1; transform:translateY(0);
  transition:opacity .7s .1s cubic-bezier(0.22,1,0.36,1), transform .7s .1s cubic-bezier(0.22,1,0.36,1);
}
.about-cta-banner--centered.sb-animate .about-cta-heading {
  opacity:1; transform:translateY(0);
  transition:opacity .7s .1s cubic-bezier(0.22,1,0.36,1), transform .7s .1s cubic-bezier(0.22,1,0.36,1);
}
.about-cta-banner--centered.sb-animate .about-cta-sub {
  opacity:1; transform:translateY(0);
  transition:opacity .7s .25s cubic-bezier(0.22,1,0.36,1), transform .7s .25s cubic-bezier(0.22,1,0.36,1);
}
.about-cta-banner--centered.sb-animate .about-cta-actions {
  opacity:1; transform:translateY(0);
  transition:opacity .7s .4s cubic-bezier(0.22,1,0.36,1), transform .7s .4s cubic-bezier(0.22,1,0.36,1);
}
.slide-banner.sb-animate .w-card:nth-child(1),
.slide-banner.sb-animate .w-card:nth-child(2) { opacity:1; transform:translateY(0) scale(1); transition:opacity .5s .45s ease, transform .5s .45s ease; }
.slide-banner.sb-animate .w-card:nth-child(3),
.slide-banner.sb-animate .w-card:nth-child(4) { opacity:1; transform:translateY(0) scale(1); transition:opacity .5s .58s ease, transform .5s .58s ease; }
.slide-banner.sb-animate .w-card-featured { opacity:1; transform:translateY(0) scale(1); transition:opacity .5s .72s ease, transform .5s .72s ease; }
.slide-banner.sb-animate .wholesale-perks li:nth-child(1) { opacity:1; transform:translateX(0); transition:opacity .45s .2s ease, transform .45s .2s ease; }
.slide-banner.sb-animate .wholesale-perks li:nth-child(2) { opacity:1; transform:translateX(0); transition:opacity .45s .32s ease, transform .45s .32s ease; }
.slide-banner.sb-animate .wholesale-perks li:nth-child(3) { opacity:1; transform:translateX(0); transition:opacity .45s .44s ease, transform .45s .44s ease; }
.slide-banner.sb-animate .wholesale-perks li:nth-child(4) { opacity:1; transform:translateX(0); transition:opacity .45s .56s ease, transform .45s .56s ease; }

/* Mobile — show everything instantly */
@media (max-width: 768px) {
  .slide-banner, .slide-banner.sb-ready,
  .slide-banner .wholesale-content, .slide-banner .wholesale-visual,
  .slide-banner .work-with-us-left, .slide-banner .work-with-us-right,
  .slide-banner .w-card, .slide-banner .w-card-featured,
  .slide-banner .wholesale-perks li,
  .about-cta-banner--centered .about-cta-eyebrow,
  .about-cta-banner--centered .about-cta-heading,
  .about-cta-banner--centered .about-cta-sub,
  .about-cta-banner--centered .about-cta-actions {
    opacity:1 !important; transform:none !important; transition:none !important;
  }
}

/* No-JS / slow-JS safety — if sb-animate never fires, show content after 1s */
.about-cta-banner--centered { transition: opacity .01s 1s; }
.about-cta-banner--centered:not(.sb-ready) .about-cta-eyebrow,
.about-cta-banner--centered:not(.sb-ready) .about-cta-heading,
.about-cta-banner--centered:not(.sb-ready) .about-cta-sub,
.about-cta-banner--centered:not(.sb-ready) .about-cta-actions {
  opacity: 1 !important; transform: none !important;
}

/* ── HERO FIXES ── */

/* Hide floating thumbnails on mobile — they overlap and waste space */
@media (max-width: 968px) {
  .ft { display:none !important; }
}

/* Hide 30K+ accent card on mobile — overlaps the hero visual */
@media (max-width: 968px) {
  .about-accent-card { display:none !important; }
}

/* ── PRODUCTS HEADER — centered ── */
.products-header {
  justify-content:center;
  text-align:center;
}
.products-header .section-eyebrow {
  justify-content:center;
}

/* Hide Open Wholesale Account button in products header — all screen sizes */
.products-header .btn-primary {
  display:none !important;
}

/* ══════════════════════════════════════
   ABOUT PAGE — FULL RESTYLE
   ══════════════════════════════════════ */

/* ── MISSION SECTION ── */
.about-mission { padding:100px 80px; background:var(--white); }
.about-mission-inner { display:grid; grid-template-columns:1.2fr 0.8fr; gap:80px; align-items:center; }
.about-mission-content p { font-size:15px; line-height:1.8; color:#444; margin-bottom:16px; margin-top:16px; }

/* Stats grid */
.about-stats-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:32px;
}
.about-stat-box {
  text-align:center; padding:22px 16px;
  background:var(--cream); border-radius:4px; border:1px solid var(--border);
}
.about-stat-num {
  font-family:'Cormorant Garamond',serif; font-size:36px;
  font-weight:600; color:var(--teal); line-height:1;
}
.about-stat-label { font-size:11.5px; color:var(--muted); margin-top:5px; letter-spacing:.04em; }

/* Desktop-only image column */
.about-mission-visual { position:relative; padding-bottom:0; padding-right:0; }
.about-mission-img-wrap {
  width:100%; aspect-ratio:4/5; max-height:560px; border-radius:4px; overflow:hidden; position:relative;
  transition: box-shadow .4s ease, transform .4s ease;
}
.about-mission-img-wrap img { width:100%; height:100%; object-fit:cover; object-position:center center; display:block; filter:brightness(.95) saturate(.92); transition:filter .5s ease; }
.about-mission-img-wrap:hover {
  box-shadow:
    0 0 0 2px rgba(27,107,107,.55),
    0 0 28px 6px rgba(27,107,107,.4),
    0 0 65px 18px rgba(200,169,106,.18);
  transform: translateY(-4px);
}
.about-mission-img-wrap:hover img { filter:brightness(1.05) saturate(1.05); }
.about-mission-img-wrap::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,rgba(11,28,45,.02) 0%,rgba(11,28,45,.15) 100%); border-radius:4px; pointer-events:none; }
.about-mission-card { display: none; }
.about-mission-card-num {
  font-family:'Cormorant Garamond',serif; font-size:48px; font-weight:600;
  color:#C8A96A; line-height:1; display:block;
}
.about-mission-card p { font-size:12.5px; color:#FFFFFF; margin-top:8px; line-height:1.55; font-weight:500; }

/* ── CORE VALUES ── */
.about-values { padding:100px 80px; background:var(--cream); }
.about-values-header { text-align:center; margin-bottom:52px; }

/* Desktop 3-col grid */
.values-desktop-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.value-card {
  background:var(--white); border-radius:6px; padding:32px 28px;
  border:1px solid var(--border); transition:transform .3s, box-shadow .3s;
}
.value-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(27,107,107,.1); }
.value-card-icon { margin-bottom:18px; }
.value-card h3 { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:600; color:var(--navy); margin-bottom:10px; }
.value-card p { font-size:13.5px; line-height:1.7; color:var(--muted); }

/* Option E — gold SVG on navy circle (shared desktop + mobile) */
.value-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon-circle svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  stroke: var(--gold);
}

/* Mobile accordion — hidden on desktop */
.values-mobile-accordion { display:none; }

/* ── ABOUT CTA BANNER ── */
.about-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2438 60%, #0A3030 100%);
  padding: 80px var(--side-pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-top: 3px solid var(--teal);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
/* Centered variant — matches lab divider layout */
.about-cta-banner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 80px var(--side-pad);
}
.about-cta-banner--centered .about-cta-eyebrow {
  justify-content: center;
}
.about-cta-banner--centered .about-cta-eyebrow::before { display: none; }
.about-cta-banner--centered .about-cta-heading { margin-bottom: 16px; }
.about-cta-banner--centered .about-cta-sub {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}
.about-cta-banner--centered .about-cta-actions {
  align-items: center;
}
.about-cta-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27,107,107,.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-cta-eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.about-cta-eyebrow::before {
  content: ''; width: 22px; height: 1.5px; background: var(--gold); flex-shrink: 0;
}
.about-cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px,3.5vw,48px); font-weight: 300;
  color: var(--white); line-height: 1.2; margin-bottom: 14px;
}
.about-cta-heading em { font-style: italic; color: var(--gold); }
.about-cta-sub { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.55); max-width: none; white-space: normal; }
.about-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }
.about-cta-btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 15px 34px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; text-decoration: none;
  white-space: nowrap; transition: opacity .2s;
}
.about-cta-btn-primary:hover { opacity: .88; }
.about-cta-btn-ghost {
  color: rgba(255,255,255,.6); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.about-cta-btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ── DESKTOP-ONLY HELPER ── */
.desktop-only { display: block; }

/* ══ ABOUT PAGE MOBILE ══ */
@media (max-width: 968px) {

  /* Mission — stack to single col */
  .about-mission { padding: 56px 24px; }
  .about-mission-inner { grid-template-columns: 1fr; gap: 0; }
  .desktop-only { display: none !important; }

  /* Stats grid — hide on mobile */
  .about-stats-grid { display: none !important; }

  /* Image shows below text on mobile — full width, taller to show full AFO */
  .about-mission-visual {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 !important;
  }
  .about-mission-img-wrap {
    aspect-ratio: 3/4;
    max-height: 520px;
    border-radius: 0;
  }
  .about-mission-img-wrap img {
    filter: brightness(.82) saturate(.85);
    object-position: center center !important;
  }

  /* Values — hide desktop grid, show accordion */
  .about-values { padding: 56px 24px; }
  .values-desktop-grid { display: none !important; }
  .values-mobile-accordion { display: block !important; }

  /* CTA Banner — stack, center, fix layout */
  .about-cta-banner {
    grid-template-columns: 1fr;
    padding: 52px 24px;
    gap: 28px;
    text-align: center;
  }
  .about-cta-eyebrow { justify-content: center; }
  .about-cta-eyebrow::before { display: none; }
  .about-cta-sub { margin: 0 auto; }
  .about-cta-actions { align-items: center; width: 100%; }
  .about-cta-btn-primary { width: 100%; text-align: center; }
  .about-cta-btn-ghost { text-align: center; }
}

/* ── MOBILE ACCORDION STYLES ── */
.vma-item {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}
.vma-trigger {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: none; border: none;
  cursor: pointer; text-align: left;
}
.vma-icon { font-size: 22px; flex-shrink: 0; line-height:1; }
.vma-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600; color: var(--navy); flex: 1;
}
.vma-arrow {
  font-size: 20px; color: var(--teal); flex-shrink: 0;
  transition: transform .3s ease; display: inline-block;
}
.vma-item.open .vma-arrow { transform: rotate(90deg); }
.vma-item.open .vma-trigger { border-bottom: 1px solid var(--border); }
.vma-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 20px;
}
.vma-item.open .vma-body { padding: 16px 20px 20px; }
.vma-body p { font-size: 14px; line-height: 1.75; color: #555; }

/* ── CONDITION CHIPS — SCROLL ANIMATION ── */
/* JS handles the transition; CSS ensures no layout shift on load */
.condition-chip {
  will-change: opacity, transform;
}

/* Testimonials — smooth initial render */
.t-card {
  will-change: opacity;
}

/* ── WHOLESALE SECTION — MOBILE TIGHTEN ── */
@media (max-width: 968px) {
  /* Hide the second paragraph on mobile — too much text */
  .wholesale-content > p:nth-child(3) { display: none; }

  /* Tighten wholesale section padding */
  .wholesale { padding: 56px 24px; }
  .wholesale-inner { grid-template-columns: 1fr; gap: 36px; }

  /* Hide the partner cards grid on mobile — keeps it clean */
  .wholesale-visual { display: none; }

  /* Stack buttons vertically, full width */
  .wholesale-btns { flex-direction: column; gap: 12px; }
  .wholesale-btns .btn-primary,
  .wholesale-btns .btn-secondary { width: 100%; text-align: center; }
}

/* ── LAB DIVIDER — MOBILE ── */
@media (max-width: 968px) {
  .lab-divider { height: 260px; }
  .lab-divider-overlay { padding: 0 24px; }
  .lab-divider h2 { font-size: 26px; }
  .lab-divider p { font-size: 13px; line-height: 1.6; }
}

/* ── W-CARD SVG ICONS — black/white with hover ── */
.w-card-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background .25s, transform .25s;
}
.w-card-icon svg {
  width: 24px; height: 24px;
  color: var(--white);
  transition: color .25s, transform .25s;
}
.w-card:hover .w-card-icon {
  background: var(--teal);
  transform: translateY(-3px);
}
.w-card:hover .w-card-icon svg {
  transform: scale(1.15);
}
.w-featured-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.w-featured-icon svg {
  width: 24px; height: 24px;
  color: var(--gold);
}
.w-card-featured:hover .w-featured-icon {
  background: rgba(255,255,255,.2);
}
/* Override old emoji font-size */
.w-card { text-align: center; }
.w-card h4, .w-card p { text-align: center; }

/* ── HERO STAT BADGE COUNTERS ── */
@keyframes badgePop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.stat-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 600;
  color: var(--teal); line-height: 1;
  transition: color .3s;
}
.stat-badge .num.counting {
  animation: badgePop .15s ease;
  color: var(--teal-light);
}
.stat-badge.counted .num {
  color: var(--teal);
}
/* FDA badge fade-in */
.os-fda-badge .num {
  opacity: 0;
  transition: opacity .6s ease;
}
.os-fda-badge.counted .num {
  opacity: 1;
}

/* ── GLOBAL IMAGE SIZE SAFETY ── */
/* Prevents any image from ever exceeding its container */
img { max-width: 100%; height: auto; display: block; }

/* Hero section — strict height on all viewports */
.hero--fullvid { min-height: 92vh; max-height: 92vh; }

/* Page hero backgrounds — height driven by content */
.page-hero { min-height: 280px; }

/* Product images — consistent square grid */
.product-img-wrap { max-height: 240px; }

/* About mission image — never taller than 500px */
.about-mission-img-wrap { max-height: 560px; aspect-ratio: 4/5; }
.about-img-frame { max-height: 500px; }

/* Lab divider — height driven by content */
.lab-divider { min-height: 280px; max-height: none; }
.lab-divider img { width:100%; height:100%; object-fit:cover; object-position:center 30%; display:block; }

/* Mobile image size constraints */
@media (max-width: 968px) {
  .lab-divider { min-height: 200px; }
  .product-img-wrap { max-height: 180px; }
}

/* ══════════════════════════════════════

/* ══════════════════════════════════════
   GLOBAL MAX-WIDTH — CLEAN APPROACH v2
   Full-bleed backgrounds stay full width.
   Content inside each section is capped
   by padding that grows on wide screens.
   NEVER apply max-width to grid children.
   ══════════════════════════════════════ */

:root {
  --site-max: 1380px;
  --side-pad: max(80px, calc((100vw - var(--site-max)) / 2 + 40px));
}

/* Apply safe padding to all content sections */
.topbar                { padding-left: var(--side-pad); padding-right: var(--side-pad); }
nav.site-nav, nav      { padding-left: var(--side-pad) !important; padding-right: var(--side-pad) !important; }
.trust-bar             { padding-left: var(--side-pad); padding-right: var(--side-pad); }
.lab-divider-overlay   { padding-left: var(--side-pad); padding-right: var(--side-pad); }
footer.site-footer     { padding-left: var(--side-pad); padding-right: var(--side-pad); }
.breadcrumb-bar        { padding-left: var(--side-pad); padding-right: var(--side-pad); }
.process-inner         { padding-left: var(--side-pad); padding-right: var(--side-pad); box-sizing: border-box; max-width: 100%; }

/* Full-bleed sections: keep background edge-to-edge, inner content centered */
.hero, .process, .lab-divider, .conditions,
.about-cta-banner, .wholesale { max-width: 100%; width: 100%; }

/* Page hero inner content cap */
.page-hero .hero-content { max-width: calc(var(--site-max) - 2 * 80px); }

/* Mobile reset */
@media (max-width: 968px) {
  :root { --side-pad: 24px; }
}

/* ══ MOBILE FIXES BATCH ══ */

/* Fix 1: Hero stat badges — hide floating badges on mobile (they overlap)
   Mobile gets a dedicated static stats strip below the hero circle instead */
@media (max-width: 968px) {
  .stat-badge { display: none !important; }
  .ft { display: none !important; }
  
  .hero-circle { width: 200px; height: 200px; }
}

/* Mobile hero stats strip — shown only on mobile, hidden on desktop */
.hero-stats-mobile { display: none; }

@media (max-width: 968px) {
  /* Hide the big shuffle bar on mobile */
  .stat-shuffle-bar { display: none; }

  /* Show the simple 3-stat static bar on mobile */
  .hero-stats-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .hsm-item {
    padding: 18px 12px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .hsm-item:last-child { border-right: none; }
  .hsm-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--teal);
    line-height: 1;
    display: block;
  }
  .hsm-label {
    font-size: 10px;
    letter-spacing: .06em;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
    display: block;
    line-height: 1.3;
  }
}
.stat-shuffle-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}
.stat-shuffle-track {
  position: relative;
  width: 100%;
}
.stat-shuffle-set {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  padding: 0 40px;
  box-sizing: border-box;
}
.stat-shuffle-set.stat-set--active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.stat-shuffle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  flex: 1;
  justify-content: center;
}
.stat-shuffle-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--teal);
}
.stat-shuffle-icon svg {
  width: 100%;
  height: 100%;
}
.stat-shuffle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-shuffle-text strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-shuffle-text span {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
}
.stat-shuffle-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* Fix 2: Work With Us CTA — add space between heading and sub text */
.about-cta-heading {
  margin-bottom: 16px;
}
.about-cta-sub {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 460px;
  margin-top: 8px;
}

/* Fix 3: CTA mobile — shorten body text, enforce 2-line cap */
@media (max-width: 968px) {
  .about-cta-banner {
    padding-top: 52px;
    padding-bottom: 52px;
    gap: 24px;
  }
  .about-cta-heading {
    font-size: clamp(26px, 6vw, 36px);
    margin-bottom: 12px;
  }
  .about-cta-sub {
    font-size: 13.5px;
    line-height: 1.6;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }
  .about-cta-btn-primary {
    margin-top: 8px;
  }
}

/* Fix 4: Design by SeoExperts — desktop only, hidden on mobile */
@media (max-width: 968px) {
  .footer-design-credit {
    display: none !important;
  }
  /* Also clean up the divider line it leaves behind */
  .footer-bottom-links {
    gap: 16px;
  }
}

/* ══ MOBILE FIXES v2.0.8 ══ */

/* Fix 1: Hero mobile — remove the teal background gap above the product circle.
   Stack hero properly: left panel on top, right panel below, no dead space. */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
    height: auto;
    padding-left: 24px;
    padding-right: 24px;
    overflow: hidden;
  }
  
  .hero h1 { font-size: 38px; line-height: 1.15; }
  .hero-desc { font-size: 14px; line-height: 1.65; margin-top: 14px; }
  .hero-actions { gap: 14px; margin-top: 24px; }
  .hero-process-link { font-size: 11px; }
  
  /* Hero circle — smaller on mobile, centered */
  .hero-circle {
    width: 200px;
    height: 200px;
  }
}

/* Fix 2: Lab divider banner — shorten body text on mobile, remove paragraph */
@media (max-width: 968px) {
  .lab-divider p {
    display: none; /* Hide the paragraph — heading alone is enough on mobile */
  }
  .lab-divider h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 0;
  }
  .lab-divider-content {
    max-width: 100%;
  }
  .lab-divider {
    height: 200px;
    max-height: 200px;
  }
}

/* Fix 3: Work With Us CTA — proper gap between headline and body text */
.about-cta-inner {
  display: flex;
  flex-direction: column;
}
.about-cta-eyebrow {
  margin-bottom: 14px;
}
.about-cta-heading {
  margin-bottom: 18px !important;
  line-height: 1.2;
}
.about-cta-sub {
  margin-top: 0 !important;
  padding-top: 0;
}

/* Mobile CTA — tighten up and enforce gap */
@media (max-width: 968px) {
  .about-cta-banner {
    text-align: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .about-cta-eyebrow {
    justify-content: center;
    margin-bottom: 10px;
  }
  .about-cta-heading {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 14px !important;
  }
  .about-cta-sub {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.62);
    display: block; /* override clamp */
    -webkit-line-clamp: unset;
    overflow: visible;
    margin-bottom: 24px;
  }
}

/* ══════════════════════════════════════
   CUSTOM ORTHOTICS PAGE
   ══════════════════════════════════════ */

/* Main layout — products left, solutions panel right */
.co-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Products column — 2-col grid inside */
.co-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* Solutions panel */
.co-solutions-panel {
  position: sticky;
  top: 94px; /* below nav */
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}
.co-solutions-panel::-webkit-scrollbar { width: 4px; }
.co-solutions-panel::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

.co-solutions-header {
  padding: 24px 22px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

/* Solution group accordion */
.co-solution-group {
  border-bottom: 1px solid var(--border);
}
.co-solution-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 10px;
}
.co-solution-toggle:hover { background: rgba(27,107,107,0.05); }
.co-solution-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.co-solution-arrow {
  font-size: 16px;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform .3s ease;
  display: inline-block;
}
.co-solution-group.open .co-solution-toggle {
  background: rgba(27,107,107,0.06);
}
.co-solution-list {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 22px;
}
.co-solution-group.open .co-solution-list {
  padding: 8px 22px 14px;
}
.co-solution-list li {
  font-size: 12.5px;
  color: #444;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.co-solution-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.co-solution-list li:last-child { border-bottom: none; }

/* Panel CTA */
.co-panel-cta {
  padding: 20px 22px 24px;
  background: var(--navy);
}
.co-panel-cta p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* SEO — schema list styles (hidden visually but present for crawlers) */
.co-schema-list { display: none; }

/* Mobile — stack layout */
@media (max-width: 968px) {
  .co-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .co-solutions-panel {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .co-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .co-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── HOMEPAGE ABOUT — Person Portrait Treatment ── */
.about-img-person {
  aspect-ratio: 3/4 !important;
  max-height: 460px !important;
  background: var(--white) !important;
}
.about-img-person img {
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: brightness(.97) contrast(1.01) saturate(.95) !important;
  mix-blend-mode: normal;
}
.about-img-person::after {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    rgba(255,255,255,0.5) 80%,
    rgba(255,255,255,0.95) 100%
  ) !important;
}
.about-img-person:hover img {
  filter: brightness(1) contrast(1.01) saturate(.97) !important;
}
.about-img-person .about-img-teal-tint { display: none; }

/* ── WHOLESALE SECTION — Heading tighter line-height + paragraph spacing ── */
.wholesale-content .serif {
  line-height: 1.1 !important;
  letter-spacing: -0.01em;
}
.wholesale-content .serif + p,
.wholesale-content p:first-of-type {
  margin-top: 18px !important;
}
/* Mobile — same fix */
@media (max-width: 968px) {
  .wholesale-content .serif {
    line-height: 1.1 !important;
    font-size: clamp(32px, 8vw, 44px);
  }
  .wholesale-content .serif + p,
  .wholesale-content p:first-of-type {
    margin-top: 16px !important;
  }
}

/* ══════════════════════════════════════
   CONTACT PAGE — RESPONSIVE
   ══════════════════════════════════════ */
.contact-section { padding: 72px var(--side-pad); background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

/* Detail items */
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.contact-detail-item:last-of-type { border-bottom: none; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-detail-body { flex: 1; }
.contact-detail-body strong {
  display: block;
  font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 5px;
}
.contact-detail-body span,
.contact-detail-body a {
  font-size: 14px; color: #444; line-height: 1.6;
  text-decoration: none;
}
.contact-detail-body a:hover { color: var(--teal); }

/* Map */
.contact-map {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Form wrapper */
.contact-form-wrap {
  background: var(--cream);
  border-radius: 8px;
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.contact-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 13.5px; color: var(--muted);
  margin-bottom: 24px; line-height: 1.55;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-submit {
  width: 100%; text-align: center;
  padding: 16px; font-size: 12px;
  letter-spacing: .12em; margin-top: 4px;
}

/* ── MOBILE ── */
@media (max-width: 968px) {
  .contact-section { padding: 48px 24px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* On mobile: form comes first, details below */
  .contact-form-wrap { order: -1; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-map iframe { height: 200px; }
}

@media (max-width: 600px) {
  .contact-form-wrap { padding: 22px 16px; }
  .contact-detail-icon { width: 38px; height: 38px; font-size: 16px; }
  .contact-detail-body span,
  .contact-detail-body a { font-size: 13.5px; }
}

/* ══════════════════════════════════════════════════════════════
   INSURANCE SECTION
   ══════════════════════════════════════════════════════════════ */
.insurance-section {
  background: var(--white);
  padding: 90px 80px;
  border-top: 1px solid var(--border);
}
.ins-inner { max-width: var(--site-max, 1380px); margin: 0 auto; }
.ins-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

/* Marquee container */
.ins-marquee-outer {
  position: relative;
  overflow: hidden;
}
.ins-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.ins-fade-l {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.ins-fade-r {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}
.ins-marquee {
  overflow: hidden;
}
.ins-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: insScroll 28s linear infinite;
  padding: 12px 0;
}
.ins-track:hover,
.ins-track.paused {
  animation-play-state: paused;
}
@keyframes insScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Image logo cards */
.ins-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 90px;
  padding: 18px 28px;
  margin: 0 1px;
  border-right: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  transition: background .2s;
}
.ins-logo-img:first-child { border-left: 1px solid var(--border); }
.ins-logo-img:hover { background: var(--cream); }
.ins-logo-img img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  opacity: .85;
  transition: filter .3s, opacity .3s;
}
.ins-logo-img:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Mobile */
@media (max-width: 968px) {
  .insurance-section { padding: 70px 40px; }
  .ins-fade { width: 60px; }
  .ins-logo-img { width: 160px; height: 76px; padding: 14px 20px; }
}
@media (max-width: 600px) {
  .insurance-section { padding: 56px 20px; }
  .ins-fade { width: 32px; }
  .ins-logo-img { width: 130px; height: 66px; padding: 12px 16px; }
  .ins-logo-img img { max-height: 42px; }
}

/* ══════════════════════════════════════════════════════════════
   L-CODE REFERENCE PAGE
   ══════════════════════════════════════════════════════════════ */
.lcode-hero {
  background: var(--navy);
  padding: 90px 80px;
  position: relative;
  overflow: hidden;
}
.lcode-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(27,107,107,.25) 0%, transparent 70%);
  pointer-events: none;
}
.lcode-hero-inner {
  max-width: var(--site-max, 1380px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.lcode-hero .section-eyebrow { color: var(--gold); }
.lcode-hero .section-eyebrow::before { background: var(--gold); }
.lcode-hero .serif { color: var(--white); margin-top: 8px; }
.lcode-hero p {
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 640px;
}
.lcode-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.lcode-hero .btn-secondary {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.3);
}
.lcode-hero .btn-secondary:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* Search + filter controls */
.lcode-section {
  padding: 60px 80px 90px;
  max-width: calc(var(--site-max, 1380px) + 160px);
  margin: 0 auto;
}
.lcode-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.lcode-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 540px;
}
.lcode-search-icon {
  position: absolute;
  left: 16px;
  color: var(--muted);
  pointer-events: none;
}
.lcode-search {
  width: 100%;
  padding: 14px 44px 14px 48px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.lcode-search:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,107,107,.1);
}
.lcode-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.lcode-clear:hover { background: var(--border); color: var(--text); }

.lcode-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lcode-tab {
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
}
.lcode-tab:hover { border-color: var(--teal); color: var(--teal); }
.lcode-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.lcode-result-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.lcode-result-count strong { color: var(--text); }

/* Table */
.lcode-table-wrap { overflow-x: auto; }
.lcode-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lcode-table thead {
  background: var(--navy);
  color: var(--white);
}
.lcode-table thead th {
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.lcode-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.lcode-table tbody tr:hover { background: var(--cream); }
.lcode-table tbody td {
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.55;
}
.col-code  { width: 110px; }
.col-category { width: 130px; }
.col-desc  { min-width: 280px; }
.col-use   { min-width: 220px; color: var(--muted); font-size: 13px; }

.lcode-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.lcat {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.lcat--foot      { background: #EBF3FF; color: #1557A0; }
.lcat--afo       { background: #E8F5EE; color: #1A6B3A; }
.lcat--spinal    { background: #FFF4E5; color: #D46B00; }
.lcat--pediatric { background: #F5EDFF; color: #5E0FA0; }

.lcode-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}
.lcode-empty svg { opacity: .35; }
.lcode-empty a { color: var(--teal); }

.lcode-disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.lcode-disclaimer svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.lcode-disclaimer strong { color: var(--text); }

/* CTA band */
.lcode-cta-band {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 70px 80px;
}
.lcode-cta-inner {
  max-width: var(--site-max, 1380px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.lcode-cta-inner .serif { margin-bottom: 10px; }
.lcode-cta-inner p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.lcode-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 968px) {
  .lcode-hero { padding: 70px 40px; }
  .lcode-section { padding: 50px 40px 70px; }
  .lcode-cta-band { padding: 60px 40px; }
  .lcode-cta-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .lcode-hero { padding: 56px 20px; }
  .lcode-section { padding: 40px 20px 60px; }
  .lcode-cta-band { padding: 50px 20px; }
  .lcode-table { font-size: 13px; }
  .lcode-table thead th,
  .lcode-table tbody td { padding: 10px 12px; }
  .col-use { display: none; }
}

/* ── DME PAGE HERO ──────────────────────────────────────────── */
.dme-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  max-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
/* Background image layer */
.dme-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/dme-hero-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}
/* Gradient overlay — left-heavy so text is always readable */
.dme-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,28,45,0.90) 0%,
    rgba(11,28,45,0.78) 40%,
    rgba(11,28,45,0.45) 65%,
    rgba(11,28,45,0.15) 100%
  );
  z-index: 1;
}
/* Text content — fixed left padding, not using --side-pad which centers it */
.dme-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 60px 80px;
}
/* Eyebrow */
.dme-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.dme-eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
/* Headline */
.dme-hero-h1 {
  color: var(--white) !important;
  font-size: clamp(32px, 3.6vw, 52px) !important;
  font-weight: 300 !important;
  line-height: 1.12 !important;
  margin: 0 0 22px !important;
}
.dme-hero-h1 em {
  color: var(--gold);
  font-style: italic;
}
/* Description */
.dme-hero-desc {
  max-width: 460px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 34px;
}
/* CTA row */
.dme-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Tablet */
@media (max-width: 968px) {
  .dme-hero { min-height: 440px; max-height: none; }
  .dme-hero-content { padding: 60px 40px; }
  .dme-hero-overlay {
    background: linear-gradient(
      to right,
      rgba(11,28,45,0.88) 0%,
      rgba(11,28,45,0.65) 60%,
      rgba(11,28,45,0.30) 100%
    );
  }
}
/* Mobile */
@media (max-width: 600px) {
  .dme-hero { min-height: 0; max-height: none; }
  .dme-hero-content { padding: 80px 24px 60px; max-width: 100%; }
  .dme-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(11,28,45,0.82) 0%,
      rgba(11,28,45,0.90) 100%
    );
  }
  .dme-hero-h1 { font-size: clamp(28px, 9vw, 42px) !important; }
  .dme-hero-desc { max-width: 100%; font-size: 14px; }
  .dme-hero-actions { flex-direction: column; align-items: stretch; }
  .dme-hero-actions .btn-primary,
  .dme-hero-actions .btn-ghost { text-align: center; justify-content: center; }
}

/* ── DME PAGE SECTION LAYOUTS (mobile-first) ────────────────── */
.dme-section          { padding: 100px var(--side-pad); }
.dme-section--cream   { background: var(--cream); }
.dme-section--white   { background: var(--white); }
.dme-section-inner    { max-width: var(--site-max, 1380px); margin: 0 auto; }

/* Split header: left heading / right description */
.dme-split-header {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.dme-split-desc { color: var(--muted); font-size: 15px; line-height: 1.85; }

/* Supply categories 4-col grid */
.dme-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dme-cat-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dme-cat-num  { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.dme-cat-title{ font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.dme-cat-desc { font-size: 13.5px; line-height: 1.75; color: var(--muted); }

/* Partner cards 2-col */
.dme-partner-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dme-partner-card  { padding: 32px; }
.dme-partner-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.dme-partner-list  { list-style: none; padding: 0; margin: 0; }
.dme-partner-list li {
  display: flex; gap: 11px; padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: 14px; line-height: 1.6;
}
.dme-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 7px; }

/* CTA card */
.dme-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
  padding: 54px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(11,28,45,.08);
}
.dme-cta-btns { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ── TABLET (≤968px) ── */
@media (max-width: 968px) {
  .dme-section { padding: 70px 40px; }
  .dme-split-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .dme-cards-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dme-cat-card { min-height: auto; }
  .dme-partner-grid { grid-template-columns: 1fr; gap: 18px; }
  .dme-cta-card { grid-template-columns: 1fr; gap: 28px; padding: 40px; }
  .dme-cta-btns { flex-direction: row; flex-wrap: wrap; }
}

/* ── MOBILE (≤600px) ── */
@media (max-width: 600px) {
  .dme-section { padding: 56px 20px; }
  .dme-split-header { gap: 14px; margin-bottom: 28px; }
  .dme-split-desc { font-size: 14px; }
  .dme-cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .dme-cat-num { font-size: 34px; }
  .dme-cat-title { font-size: 19px; }
  .dme-partner-grid { grid-template-columns: 1fr; }
  .dme-partner-card { padding: 24px; }
  .dme-partner-title { font-size: 22px; }
  .dme-cta-card { padding: 28px 20px; gap: 24px; }
  .dme-cta-btns { flex-direction: column; }
  .dme-cta-btns .btn-primary,
  .dme-cta-btns .btn-secondary { text-align: center; justify-content: center; width: 100%; }
}

/* ── HERO SLIDESHOW ─────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 520px;
  max-height: 740px;
  overflow: hidden;
  background: var(--navy);
}

/* Individual slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Per-slide background positioning ──
   Slides 1 & 3 show AFO braces — anchor to bottom so feet stay visible.
   Slide 2 shows runner/prosthetic — center works well. */
.hero-slide--1 { background-position: center center; background-size: cover; }
.hero-slide--2 { background-position: center 80%; }
.hero-slide--3 { background-position: center 30%; background-size: cover; }

/* Dark overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,28,45,0.82) 0%,
    rgba(11,28,45,0.60) 45%,
    rgba(11,28,45,0.25) 100%
  );
}

/* Text content */
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 80px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Heading — slide in on active */
.hero-slide .hero-eyebrow {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease .2s, transform .7s ease .2s;
}
.hero-slide h1 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease .35s, transform .7s ease .35s;
  font-size: clamp(40px, 5vw, 68px);
  color: var(--white);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-slide h1 em { color: var(--gold); font-style: italic; }
.hero-slide .hero-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease .5s, transform .7s ease .5s;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease .65s, transform .7s ease .65s;
}
.hero-slide.active .hero-eyebrow,
.hero-slide.active h1,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Dot navigation */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 80px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s, width .3s;
}
.hero-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 10;
}
.hero-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width linear;
}

/* Mobile */
@media (max-width: 968px) {
  .hero-slider { height: 85vh; max-height: none; }
  .hero-slide-content { padding: 0 40px; }
  .hero-dots { left: 40px; bottom: 28px; }
  .hero-slide-overlay {
    background: linear-gradient(
      to right,
      rgba(11,28,45,0.82) 0%,
      rgba(11,28,45,0.60) 60%,
      rgba(11,28,45,0.30) 100%
    );
  }
}
@media (max-width: 600px) {
  /* Tighter height — content and product both visible without huge gap */
  .hero-slider {
    height: 72vh;
    min-height: 480px;
    max-height: 640px;
  }
  /* Slides stay position:absolute — JS transitions preserved */
  .hero-slide {
    align-items: stretch;
  }
  /* Override background with portrait-cropped versions — no more guessing */
  .hero-slide--1 { background-image: url('../images/hero-slide-1-mobile.jpg') !important; background-position: center center !important; }
  .hero-slide--2 { background-image: url('../images/hero-slide-2-mobile.jpg') !important; background-position: center center !important; }
  .hero-slide--3 { background-image: url('../images/hero-slide-3-mobile.jpg') !important; background-position: center center !important; }
  .hero-slide-content {
    padding: 24px 24px;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    height: 100%;
    align-self: stretch;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }
  .hero-slide h1 {
    font-size: clamp(26px, 8vw, 36px);
    word-break: break-word;
    hyphens: auto;
    margin-bottom: 12px;
  }
  .hero-slide .hero-eyebrow { display: none; }
  .hero-slide .hero-desc {
    font-size: 13.5px;
    max-width: 90%;
    margin-bottom: 20px;
  }
  .hero-dots { left: 24px; bottom: 16px; }
  /* Overlay darker in upper-center where text sits */
  .hero-slide-overlay {
    background: linear-gradient(
      to bottom,
      rgba(11,28,45,0.65) 0%,
      rgba(11,28,45,0.75) 35%,
      rgba(11,28,45,0.55) 65%,
      rgba(11,28,45,0.20) 100%
    ) !important;
  }
}

/* ── TEXT WORDMARK — Nav & Footer ───────────────────────────── */
.site-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.site-wordmark-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  text-align: center;
}
.site-wordmark-name span {
  color: var(--teal);
}
.site-wordmark-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  width: 100%;
}
.wm-rule {
  display: inline-block;
  flex: 1;
  max-width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
/* Footer variant — light colours, left aligned */
.site-wordmark--footer { align-items: flex-start; }
.site-wordmark--footer .site-wordmark-name { color: var(--white); }
.site-wordmark--footer .site-wordmark-name span { color: var(--teal-light, #4BA8A8); }
.site-wordmark--footer .site-wordmark-sub { color: var(--gold); justify-content: flex-start; }
.site-wordmark--footer .wm-rule { background: var(--gold); flex: none; width: 28px; }

@media (max-width: 600px) {
  .site-wordmark-name { font-size: 18px; letter-spacing: 0.18em; }
  .site-wordmark-sub { font-size: 8px; letter-spacing: 0.18em; }
  .wm-rule { width: 18px; }
}

/* ── LOGO IMAGE — Nav & Footer ───────────────────────────────── */
.site-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.site-logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; max-width: 260px; min-width: 0; }
.site-logo-text { line-height: 1; }

/* Footer logo */
.footer-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  opacity: .90;
  filter: brightness(10) invert(0);
}
.footer-logo-wordmark { color: var(--white) !important; }

/* Mobile — keep logo visible and proportional */
@media (max-width: 600px) {
  .site-logo-img { width: 40px; height: 40px; }
  .site-logo-main { font-size: 18px !important; }
  .footer-logo-img { width: 54px; height: 54px; }
  .site-logo-link { gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   PROSTHETIC SOLUTIONS — TABBED PANEL  (page-dme)
   ══════════════════════════════════════════════════════════════ */

/* ── Tab bar ── */
.pros-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pros-tab-bar::-webkit-scrollbar { display: none; }

.pros-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all .22s;
  white-space: nowrap;
  color: #888;
}
.pros-tab:hover { color: var(--teal); background: rgba(27,107,107,.04); }
.pros-tab.active { color: var(--teal); border-bottom-color: var(--teal); }

.pros-tab-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.pros-tab-icon svg { width: 22px; height: 22px; }

.pros-tab-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pros-tab-count {
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--gold);
  background: rgba(200,169,106,.1);
  padding: 2px 8px;
  border-radius: 20px;
}
.pros-tab.active .pros-tab-label { color: var(--teal); }

/* ── Panel ── */
.pros-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  padding: 40px 44px;
  animation: prosSlideIn .28s ease;
}
.pros-panel.active { display: block; }

@keyframes prosSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pros-panel-header { margin-bottom: 28px; }
.pros-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.pros-panel-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* ── Items grid — 2 cols desktop ── */
.pros-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.pros-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 4px;
  transition: background .18s;
  cursor: default;
}
.pros-item:hover { background: var(--cream); }
.pros-item-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.pros-item-text {
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.3;
}

/* ══════════════════════════════════════
   MOBILE — Prosthetic Solutions
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Stack tabs vertically as pill buttons */
  .pros-tab-bar {
    flex-direction: column;
    border-bottom: none;
    gap: 8px;
    margin-bottom: 16px;
  }
  .pros-tab {
    border: 1px solid var(--border);
    border-bottom: 1px solid var(--border) !important;
    border-radius: 6px;
    margin-bottom: 0;
    padding: 14px 20px;
    justify-content: space-between;
    background: var(--white);
  }
  .pros-tab.active {
    background: var(--teal);
    border-color: var(--teal) !important;
    color: var(--white);
  }
  .pros-tab.active .pros-tab-label { color: var(--white); }
  .pros-tab.active .pros-tab-icon svg { stroke: var(--white); }
  .pros-tab.active .pros-tab-count {
    background: rgba(255,255,255,.2);
    color: var(--white);
  }

  /* Panel goes full-bleed on mobile */
  .pros-panel {
    padding: 24px 20px;
    border-radius: 0 0 6px 6px;
  }
  .pros-panel-title { font-size: 22px; }

  /* Single column on mobile */
  .pros-items-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .pros-item { padding: 11px 14px; }
  .pros-item-text { font-size: 14px; }
}

@media (max-width: 480px) {
  .pros-tab { padding: 12px 16px; }
  .pros-tab-label { font-size: 11.5px; }
}

/* ══════════════════════════════════════════════════════════════
   BLOG — SINGLE POST  (single.php)
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.blog-hero {
  background: var(--navy);
  padding: 72px 60px 64px;
  text-align: center;
}
.blog-hero-inner { max-width: 760px; margin: 0 auto; }

.blog-meta-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.blog-category {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  background: rgba(200,169,106,.12);
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(200,169,106,.3);
}
.blog-date, .blog-read-time {
  font-size: 12px; color: rgba(255,255,255,.4);
}
.blog-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.blog-hero-title em { color: var(--gold); font-style: italic; }
.blog-hero-desc {
  font-size: 16px; color: rgba(255,255,255,.58);
  line-height: 1.7; margin-bottom: 32px;
}
.blog-author-row {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.blog-author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 16px;
  color: var(--white); font-weight: 600; flex-shrink: 0;
}
.blog-author-info { font-size: 13px; color: rgba(255,255,255,.6); text-align: left; }
.blog-author-info strong { color: var(--white); display: block; font-size: 13.5px; }

/* ── Featured image ── */
.blog-featured-img {
  max-height: 480px; overflow: hidden;
}
.blog-featured-img img {
  width: 100%; height: 480px; object-fit: cover; display: block;
}

/* ── Layout: article + sidebar ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 40px 80px;
  align-items: start;
}

/* ── Article content ── */
.blog-content { min-width: 0; }

.blog-content p {
  font-size: 16px; line-height: 1.85; color: #333;
  margin-bottom: 24px;
}
.blog-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin: 52px 0 16px; letter-spacing: -.01em;
}
.blog-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--navy);
  margin: 36px 0 12px; line-height: 1.3;
}
.blog-content ul, .blog-content ol {
  margin: 0 0 24px; padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.blog-content ul li, .blog-content ol li {
  font-size: 15.5px; line-height: 1.75; color: #333;
  padding-left: 22px; position: relative;
}
.blog-content ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.blog-content ol { counter-reset: blog-ol; }
.blog-content ol li { counter-increment: blog-ol; }
.blog-content ol li::before {
  content: counter(blog-ol) '.';
  position: absolute; left: 0;
  color: var(--teal); font-weight: 600; font-size: 14px;
}
.blog-content table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  margin: 28px 0 32px; overflow-x: auto; display: block;
}
.blog-content table thead tr { background: var(--navy); }
.blog-content table thead th {
  color: var(--white); font-weight: 500; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 13px 16px; text-align: left; white-space: nowrap;
}
.blog-content table thead th:first-child { color: var(--gold); }
.blog-content table tbody tr { border-bottom: 1px solid var(--border); }
.blog-content table tbody tr:nth-child(even) { background: var(--cream); }
.blog-content table tbody td { padding: 12px 16px; color: var(--text); line-height: 1.5; }
.blog-content table tbody td:first-child { font-weight: 500; color: var(--navy); }

/* Key Highlights box */
.blog-content .highlights-box,
.wp-block-group.highlights-box {
  background: var(--cream);
  border-left: 4px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 28px 32px; margin: 0 0 36px;
}

/* Callout box */
.blog-content .callout {
  background: linear-gradient(135deg, var(--teal) 0%, #145a5a 100%);
  border-radius: 8px; padding: 32px 36px; margin: 40px 0;
}
.blog-content .callout h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 10px;
}
.blog-content .callout p { font-size: 15px; color: rgba(255,255,255,.85); margin: 0; }
.blog-content .callout a { color: var(--gold); }

/* Pull quote */
.blog-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 18px 28px; margin: 36px 0;
  background: var(--cream);
}
.blog-content blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic; color: var(--navy); line-height: 1.5;
  margin: 0;
}

/* Tags */
.blog-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-top: 36px; margin-top: 36px;
  border-top: 1px solid var(--border);
}
.blog-tags-label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.blog-tag {
  font-size: 12.5px; color: var(--teal);
  background: rgba(27,107,107,.08);
  padding: 5px 14px; border-radius: 3px;
  border: 1px solid rgba(27,107,107,.2);
  text-decoration: none; transition: all .2s;
}
.blog-tag:hover { background: var(--teal); color: var(--white); }

/* CTA block inside post */
.blog-post-cta {
  background: var(--navy); border-radius: 10px;
  padding: 44px 40px; text-align: center; margin-top: 52px;
}
.blog-post-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 700; color: var(--white);
  margin-bottom: 12px; letter-spacing: -.01em;
}
.blog-post-cta h3 em { color: var(--gold); font-style: italic; }
.blog-post-cta p {
  font-size: 14.5px; color: rgba(255,255,255,.6);
  margin-bottom: 24px; line-height: 1.6;
}
.blog-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Sidebar ── */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }

.blog-sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 28px 24px;
}
.sidebar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700; color: var(--navy);
}
.sidebar-brand span { color: var(--teal); }
.sidebar-brand-sub {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-top: 2px; margin-bottom: 14px;
}
.sidebar-about { font-size: 13.5px; color: #555; line-height: 1.65; margin-bottom: 18px; }
.sidebar-cta-btn {
  display: block; text-align: center;
  background: var(--teal); color: var(--white);
  padding: 11px 20px; border-radius: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  transition: background .2s;
}
.sidebar-cta-btn:hover { background: var(--teal-light); }

.sidebar-contact-card p { font-size: 13.5px; color: #444; line-height: 1.6; margin-top: 6px; }
.sidebar-contact-card a { font-size: 14px; color: var(--teal); text-decoration: none; display: block; margin-top: 4px; }
.sidebar-contact-label {
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

.sidebar-section-title {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); font-weight: 600; margin-bottom: 16px;
}
.sidebar-posts { display: flex; flex-direction: column; gap: 0; }
.sidebar-post-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: padding-left .2s;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-item:hover { padding-left: 6px; }
.sidebar-post-date { font-size: 11px; color: var(--gold); letter-spacing: .05em; }
.sidebar-post-title { font-size: 13.5px; color: var(--navy); font-weight: 500; line-height: 1.4; }

/* ── Related posts ── */
.blog-related { background: var(--cream); padding: 72px 40px; }
.blog-related-inner { max-width: 1160px; margin: 0 auto; }
.blog-related-inner .section-eyebrow { margin-bottom: 8px; }
.blog-related-inner h2 { margin-bottom: 40px; }
.blog-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-related-card {
  background: var(--white); border-radius: 6px;
  overflow: hidden; text-decoration: none;
  border: 1px solid var(--border);
  transition: transform .22s, box-shadow .22s;
  display: block;
}
.blog-related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.related-card-img { height: 180px; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-img--placeholder { background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); }
.related-card-body { padding: 22px 20px; }
.related-card-cat {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 8px;
}
.related-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600; color: var(--navy);
  line-height: 1.3; margin-bottom: 10px;
}
.related-card-meta { font-size: 11.5px; color: var(--muted); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px 64px; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .blog-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .blog-hero { padding: 52px 24px 44px; }
  .blog-hero-title { font-size: 32px; }
  .blog-layout { padding: 36px 20px 52px; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-related { padding: 52px 20px; }
  .blog-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-post-cta { padding: 32px 20px; }
  .blog-content h2 { font-size: 26px; }
  .blog-content blockquote p { font-size: 18px; }
}

/* Blog archive grid — moved from home.php inline <style> */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(11,28,45,.10); transform: translateY(-3px); }
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--cream); display: block; }
.blog-card-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-thumb-placeholder svg { width: 48px; height: 48px; stroke: rgba(255,255,255,.3); stroke-width: 1.2; fill: none; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.blog-card-title {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600;
  color: var(--navy); line-height: 1.35; margin-bottom: 10px;
  text-decoration: none; display: block;
}
.blog-card-title:hover { color: var(--teal); }
.blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto;
}
.blog-card-read { color: var(--teal); font-weight: 600; text-decoration: none; font-size: 12px; letter-spacing: .04em; }
.blog-card-read:hover { color: var(--navy); }
.blog-no-posts { text-align: center; padding: 80px 20px; max-width: 500px; margin: 0 auto; }
.blog-no-posts h2 { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--navy); margin-bottom: 12px; }
.blog-no-posts p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px;
  border: 1px solid var(--border); font-size: 14px; color: var(--navy);
  text-decoration: none; transition: all 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
@media (max-width: 900px) { .blog-archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-archive-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ── SPAM PROTECTION — Honeypot field ── */
/* Visually hidden but NOT display:none — bots see it, humans don't */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* ── FORM NOTICES — success / error feedback ── */
.form-notice {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
}
.form-notice--success {
  background: #f0faf4;
  border: 1px solid #a8d5b8;
  color: #1a5c35;
}
.form-notice--error {
  background: #fff5f5;
  border: 1px solid #f5c0c0;
  color: #7a1a1a;
}
