/* =========================================================
   ROCKLEDGE HYPERBARIC & WOUND CARE CENTER
   Premium Medical Design System — v1.0
   ========================================================= */

/* ---------- TOKENS ---------- */
:root{
  --bg:            #FFFFFF;
  --bg-surface:    #FFFFFF;
  --bg-elev:       #FFFFFF;
  --bg-tint:       #EFF6FF;
  --ink:           #0F1E4A;
  --ink-2:         #1E3A8A;
  --ink-mute:      #475569;
  --ink-soft:      #64748B;
  --line:          #E5E7EB;
  --line-strong:   #D1D5DB;
  --brand:         #2563EB;
  --brand-2:       #1E40AF;
  --brand-deep:    #1E3A8A;
  --brand-ink:     #0F1E4A;
  --brand-glow:    rgba(37,99,235,.28);
  --accent:        #3B82F6;
  --success:       #10B981;
  --warn:          #F59E0B;
  --danger:        #EF4444;

  --orange:        #F97316;
  --orange-2:      #EA580C;
  --orange-light:  #FB923C;
  --orange-tint:   #FED7AA;
  --orange-glow:   rgba(249,115,22,.32);

  --shadow-sm:     0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow-md:     0 8px 24px -8px rgba(15,23,42,.14), 0 4px 8px -4px rgba(15,23,42,.06);
  --shadow-lg:     0 30px 60px -20px rgba(15,23,42,.25), 0 12px 24px -12px rgba(15,23,42,.12);
  --shadow-brand:  0 20px 40px -12px rgba(249,115,22,.42);

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;

  --f-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Fraunces', 'Georgia', ui-serif, serif;
}

/* ---------- RESET ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{
  margin:0; color:var(--ink); background:var(--bg);
  font-family:var(--f-sans); font-weight:400;
  font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font-family:inherit; cursor:pointer; border:0; background:none}
input,textarea,select{font-family:inherit; font-size:16px}

.container{width:100%; max-width:1240px; margin:0 auto; padding:0 24px}
.container-narrow{width:100%; max-width:920px; margin:0 auto; padding:0 24px}

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color:var(--brand-2);
}
.eyebrow::before{content:''; width:26px; height:1px; background:var(--brand); display:inline-block}
.eyebrow.on-dark{color:#FDBA74}
.eyebrow.on-dark::before{background:#FDBA74}
.eyebrow.center{justify-content:center}

h1,h2,h3,h4,h5{font-family:var(--f-serif); font-weight:500; color:var(--ink); margin:0; letter-spacing:-.01em}
h1{font-size:clamp(38px, 5.8vw, 76px); line-height:1.04; letter-spacing:-.025em; font-weight:400}
h2{font-size:clamp(30px, 3.6vw, 52px); line-height:1.08; letter-spacing:-.02em; font-weight:400}
h3{font-size:clamp(20px, 1.7vw, 27px); line-height:1.25; font-weight:500}
h4{font-size:clamp(17px, 1.3vw, 20px); line-height:1.3; font-weight:600; font-family:var(--f-sans)}
.serif-em{font-style:italic; color:var(--brand-2); font-weight:400}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
p.lead{font-size:19px; line-height:1.6; color:var(--ink-mute); max-width:60ch}

/* ---------- UTILITY BAR ---------- */
.utility{
  background:var(--brand-ink); color:#DBEAFE;
  font-size:13px; font-weight:500;
}
.utility .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:10px; padding-bottom:10px;
}
.utility .u-left{display:flex; gap:22px; flex-wrap:wrap}
.utility .u-right{display:flex; gap:22px; align-items:center}
.utility a{display:inline-flex; align-items:center; gap:7px; color:#DBEAFE; transition:color .2s}
.utility a:hover{color:#fff}
.utility svg{width:14px; height:14px; opacity:.85}
.utility .u-cta{color:#fff; font-weight:600}
@media (max-width: 800px){ .utility .u-left{gap:14px} .utility .u-right{display:none} }

/* ---------- NAV ---------- */
.nav{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.88); backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s, box-shadow .3s;
}
.nav.is-scrolled{border-color:var(--line); box-shadow:0 8px 24px -18px rgba(15,23,42,.15)}
.nav .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px; gap:24px;
}
.brand{display:flex; align-items:center; gap:14px}
.brand-mark{
  width:52px; height:52px; border-radius:12px;
  background:#0F1E4A url('assets/logo.png') center/72% no-repeat;
  box-shadow:0 6px 16px -6px rgba(37,99,235,.4), inset 0 0 0 1px rgba(255,255,255,.08);
  flex-shrink:0;
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-text .b1{font-family:var(--f-sans); font-weight:800; font-size:15px; letter-spacing:.02em; color:var(--ink)}
.brand-text .b2{font-family:var(--f-sans); font-weight:500; font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--brand-2); margin-top:2px}

.nav-links{display:flex; align-items:center; gap:28px}
.nav-links > a, .nav-links > .has-drop > a{
  font-size:14px; font-weight:600; color:var(--ink-2);
  transition:color .2s; position:relative;
  display:inline-flex; align-items:center; gap:5px;
}
.nav-links a:hover{color:var(--brand-2)}
.nav-links .has-drop.is-open > a{color:var(--brand-2)}
.nav-links .is-active{color:var(--brand-2)}
.nav-links .is-active::after{width:100% !important}
.nav-links > a::after, .nav-links > .has-drop > a::after{
  content:''; position:absolute; left:0; bottom:-8px; height:2px; width:0;
  background:var(--brand); transition:width .3s ease;
}
.nav-links > a:hover::after,
.nav-links > .has-drop:hover > a::after,
.nav-links > .has-drop.is-open > a::after{width:100%}

/* ==========================================================
   DROPDOWN NAV (hover-intent friendly, translucent, no gap)
   ==========================================================
   Fixes:
   1. Invisible bridge (::before) fills the visual gap so the
      cursor never leaves a hover surface when moving from the
      nav link down to the panel.
   2. The panel sits FLUSH against the nav link (top:100%) and
      uses margin-top on the visible card itself for the visual
      offset — bridge stays in the gap.
   3. JS below adds `.is-open` with a short close-delay so brief
      cursor slips don't collapse the menu.
   4. Translucent glass background with backdrop-filter blur.
   ========================================================== */
.has-drop{position:relative}
.has-drop > a .caret{width:11px; height:11px; opacity:.6; transition:transform .25s}
.has-drop:hover > a .caret,
.has-drop.is-open > a .caret{transform:rotate(180deg)}

/* Invisible bridge that fills the gap between nav link and dropdown.
   Sits directly under the nav item so the cursor's hover never breaks
   when moving down to the panel. */
.has-drop::before{
  content:'';
  position:absolute;
  top:100%; left:0; right:0;
  height:22px;                        /* covers the visual gap */
  pointer-events:none;                /* only active when the menu is open */
}
.has-drop:hover::before,
.has-drop.is-open::before,
.has-drop:focus-within::before{pointer-events:auto}

.drop{
  position:absolute;
  top:100%; left:50%;
  margin-top:18px;                    /* visual gap — but bridge covers it */
  transform:translateX(-50%) translateY(6px);
  min-width:300px;
  /* Translucent glass surface */
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  border:1px solid rgba(255,255,255,.6);
  box-shadow:
    0 30px 60px -20px rgba(15,23,42,.28),
    0 12px 24px -12px rgba(15,23,42,.14),
    0 0 0 1px rgba(15,23,42,.04);
  border-radius:var(--r-md);
  padding:10px;
  opacity:0; pointer-events:none;
  transition:opacity .18s ease, transform .22s cubic-bezier(.4,0,.2,1);
  will-change:opacity, transform;
  z-index:70;                         /* above sticky nav content */
}
/* Small triangular "tail" on the dropdown pointing at the nav link */
.drop::before{
  content:'';
  position:absolute;
  top:-6px; left:50%; transform:translateX(-50%) rotate(45deg);
  width:12px; height:12px;
  background:inherit;
  border-left:1px solid rgba(255,255,255,.6);
  border-top:1px solid rgba(255,255,255,.6);
  border-radius:2px 0 0 0;
}

/* Open states — hover, focus-within, AND the JS-added .is-open class */
.has-drop:hover > .drop,
.has-drop:focus-within > .drop,
.has-drop.is-open > .drop{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.drop a{
  display:flex; gap:12px; padding:12px 14px; border-radius:10px;
  color:var(--ink-2); align-items:flex-start;
  transition:background .18s ease, transform .18s ease;
}
.drop a:hover{
  background:rgba(37,99,235,.08);
  transform:translateX(2px);
}
.drop .di{
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  background:rgba(37,99,235,.12); color:var(--brand-2);
  display:grid; place-items:center;
  transition:background .18s, color .18s;
}
.drop a:hover .di{background:var(--brand); color:#fff}
.drop .di svg{width:16px; height:16px}
.drop .dt{font-weight:700; font-size:14px; color:var(--ink); line-height:1.3}
.drop .dd{font-size:12px; color:var(--ink-mute); margin-top:2px; line-height:1.4}

/* Fallback for browsers without backdrop-filter (~2% of traffic) */
@supports not (backdrop-filter: blur(1px)){
  .drop{background:rgba(255,255,255,.98)}
}

.nav-cta{display:flex; gap:12px; align-items:center}

.hamburger{
  display:none; width:44px; height:44px; border-radius:10px;
  background:var(--bg-surface); border:1px solid var(--line);
  align-items:center; justify-content:center; color:var(--ink);
}
.hamburger svg{width:22px; height:22px}

@media (max-width: 1080px){
  .nav-links{gap:20px}
  .nav-links > a, .nav-links > .has-drop > a{font-size:13px}
}
@media (max-width: 960px){
  .nav-links{display:none}
  .nav-cta .btn-ghost{display:none}
  .hamburger{display:inline-flex}
}

/* Mobile drawer */
.drawer{
  position:fixed; inset:0; z-index:100;
  background:rgba(6,40,49,.4); backdrop-filter:blur(6px);
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.drawer.is-open{opacity:1; pointer-events:auto}
.drawer-panel{
  position:absolute; top:0; right:0; bottom:0; width:min(360px,88vw);
  background:#fff; padding:24px; overflow-y:auto;
  transform:translateX(100%); transition:transform .35s cubic-bezier(.4,0,.2,1);
  display:flex; flex-direction:column;
}
.drawer.is-open .drawer-panel{transform:translateX(0)}
.drawer-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:24px}
.drawer-close{
  width:40px; height:40px; border-radius:10px;
  background:var(--bg-tint); color:var(--ink);
  display:grid; place-items:center;
}
.drawer-close svg{width:20px; height:20px}
.drawer nav{display:flex; flex-direction:column; gap:2px}
.drawer nav a{
  padding:14px 16px; border-radius:12px;
  font-weight:600; font-size:16px; color:var(--ink);
  transition:background .2s;
}
.drawer nav a:hover, .drawer nav a.is-active{background:var(--bg-tint); color:var(--brand-2)}
.drawer nav .sub{padding-left:32px; font-size:14px; color:var(--ink-mute); font-weight:500}
.drawer-cta{margin-top:auto; padding-top:24px; display:flex; flex-direction:column; gap:10px}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 26px; border-radius:999px; font-size:15px; font-weight:600;
  transition:all .25s cubic-bezier(.4,0,.2,1);
  white-space:nowrap; letter-spacing:.005em;
  border:none; cursor:pointer;
}
.btn-primary{
  background:linear-gradient(135deg, #EA580C 0%, #F97316 55%, #FB923C 100%);
  color:#fff;
  box-shadow:var(--orange-glow-shadow, 0 20px 40px -12px rgba(249,115,22,.42)), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 24px 44px -14px rgba(249,115,22,.55), inset 0 1px 0 rgba(255,255,255,.35)}
.btn-primary:active{transform:translateY(0)}
.btn-ghost{
  background:rgba(255,255,255,.9); color:var(--ink-2);
  border:1px solid var(--line-strong);
}
.btn-ghost:hover{background:#fff; border-color:var(--brand); color:var(--brand-2)}
.btn-dark{
  background:var(--brand-ink); color:#fff;
  border:1px solid rgba(255,255,255,.08);
}
.btn-dark:hover{background:#0F1E4A; transform:translateY(-2px)}
.btn-outline-white{
  background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55);
}
.btn-outline-white:hover{background:rgba(255,255,255,.12); border-color:#fff}
.btn-lg{padding:17px 34px; font-size:16px}
.btn-block{width:100%; justify-content:center}
.btn svg{width:16px; height:16px}

/* ---------- HERO ---------- */
.hero{
  position:relative; overflow:hidden;
  padding:80px 0 100px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(37,99,235,.13), transparent 60%),
    radial-gradient(700px 400px at -10% 60%, rgba(37,99,235,.08), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr 1fr; gap:60px; align-items:center;
}
.hero-copy .eyebrow{margin-bottom:22px}
.hero-title{margin-bottom:26px}
.hero-title .under{display:inline-block; position:relative}
.hero-title .under::after{
  content:''; position:absolute; left:0; right:0; bottom:.05em; height:.35em;
  background:linear-gradient(90deg, rgba(249,115,22,.42), rgba(249,115,22,.12));
  border-radius:4px; z-index:-1;
}
.hero-lead{font-size:20px; line-height:1.6; color:var(--ink-mute); max-width:56ch; margin-bottom:36px}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px}
.hero-stats{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px; padding-top:32px; border-top:1px solid var(--line);
}
.hero-stat .num{
  font-family:var(--f-serif); font-size:34px; font-weight:500;
  background:linear-gradient(135deg, #1E3A8A, #2563EB);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  line-height:1;
}
.hero-stat .lbl{font-size:13px; color:var(--ink-mute); margin-top:6px; line-height:1.4}
.hero-visual{position:relative}
.hero-img{
  width:100%; border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg);
  aspect-ratio: 4/5; object-fit:cover;
  transform:translateZ(0);
}
.hero-badge{
  position:absolute; bottom:-24px; left:-24px;
  background:#fff; border-radius:var(--r-lg); padding:20px 22px;
  box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:14px;
  max-width:280px; border:1px solid var(--line);
}
.hero-badge .b-icon{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  background:linear-gradient(135deg, #2563EB, #1E40AF);
  display:grid; place-items:center; color:#fff;
  box-shadow:0 8px 20px -6px rgba(37,99,235,.5);
}
.hero-badge .b-icon svg{width:22px; height:22px}
.hero-badge .b-title{font-weight:700; font-size:14px; color:var(--ink)}
.hero-badge .b-sub{font-size:12px; color:var(--ink-mute); margin-top:2px}
.hero-tag{
  position:absolute; top:24px; right:-14px;
  background:var(--brand-ink); color:#fff; padding:10px 16px; border-radius:999px;
  font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  box-shadow:var(--shadow-md);
  display:inline-flex; align-items:center; gap:8px;
}
.hero-tag .pulse{
  width:8px; height:8px; border-radius:50%; background:#F97316;
  box-shadow:0 0 0 0 rgba(249,115,22,.7);
  animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(249,115,22,.7)}
  70%{box-shadow:0 0 0 12px rgba(249,115,22,0)}
  100%{box-shadow:0 0 0 0 rgba(249,115,22,0)}
}
@media (max-width: 900px){
  .hero{padding:56px 0 80px}
  .hero-grid{grid-template-columns:1fr; gap:56px}
  .hero-visual{max-width:520px; margin:0 auto}
}

/* ---------- SUB-HERO (interior pages) ---------- */
.subhero{
  position:relative; overflow:hidden;
  padding:100px 0 80px;
  background:
    radial-gradient(1000px 500px at 90% 0%, rgba(37,99,235,.14), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
}
.subhero-grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:center;
}
.subhero h1{font-size:clamp(34px, 4.6vw, 60px); margin-bottom:22px}
.subhero .eyebrow{margin-bottom:20px}
.subhero p.lead{margin-bottom:32px}
.subhero-img{
  width:100%; border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg);
  aspect-ratio: 4/3; object-fit:cover;
}
.breadcrumbs{
  display:flex; gap:8px; align-items:center;
  font-size:13px; color:var(--ink-mute); margin-bottom:22px;
  flex-wrap:wrap;
}
.breadcrumbs a{color:var(--ink-mute); transition:color .2s}
.breadcrumbs a:hover{color:var(--brand-2)}
.breadcrumbs .sep{opacity:.5}
.breadcrumbs .current{color:var(--brand-2); font-weight:600}
@media (max-width:900px){
  .subhero{padding:56px 0 60px}
  .subhero-grid{grid-template-columns:1fr; gap:40px}
}

/* ---------- TRUST BAR ---------- */
.trust{
  background:var(--bg-surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:28px 0;
}
.trust-grid{
  display:flex; flex-wrap:wrap; justify-content:space-around; align-items:center;
  gap:32px 48px;
}
.trust-item{
  display:flex; align-items:center; gap:12px;
  color:var(--ink-mute); font-size:13px; font-weight:600;
  letter-spacing:.05em; text-transform:uppercase;
}
.trust-item svg{width:20px; height:20px; color:var(--brand); flex-shrink:0}

/* ---------- SECTION BASE ---------- */
section.pad{padding:100px 0}
section.pad-sm{padding:70px 0}
.section-head{max-width:720px; margin:0 auto 56px; text-align:center}
.section-head .eyebrow{margin-bottom:18px; justify-content:center}
.section-head p.lead{margin:20px auto 0}

.section-alt{background:var(--bg-surface)}
.section-tint{background:linear-gradient(180deg, var(--bg) 0%, #EFF6FF 100%)}

/* ---------- APPROACH ---------- */
.approach-grid{
  display:grid; grid-template-columns: 1fr 1.1fr; gap:70px; align-items:center;
}
.approach-img-wrap{
  position:relative; border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/5;
}
.approach-img-wrap img{width:100%; height:100%; object-fit:cover}
.approach-img-wrap::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(6,40,49,.35) 100%);
}
.approach-quote{
  position:absolute; left:24px; right:24px; bottom:24px; color:#fff;
  font-family:var(--f-serif); font-style:italic; font-size:18px; line-height:1.5;
  font-weight:400;
}
.approach-copy h2{margin-bottom:24px}
.approach-copy p{color:var(--ink-mute); font-size:17px; line-height:1.75; margin-bottom:18px}
.pillar-list{display:grid; gap:14px; margin-top:32px}
.pillar{
  display:flex; gap:14px; align-items:flex-start;
  padding:16px 20px; background:#fff; border:1px solid var(--line); border-radius:var(--r-md);
  transition: all .3s;
}
.pillar:hover{border-color:var(--brand); transform:translateX(4px); box-shadow:var(--shadow-md)}
.pillar .p-ico{
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  background:rgba(37,99,235,.1); color:var(--brand-2);
  display:grid; place-items:center;
}
.pillar .p-ico svg{width:18px; height:18px}
.pillar .p-t{font-weight:700; font-size:15px; color:var(--ink)}
.pillar .p-d{font-size:14px; color:var(--ink-mute); margin-top:2px; line-height:1.5}
@media (max-width:900px){ .approach-grid{grid-template-columns:1fr; gap:48px} }

/* ---------- SERVICES ---------- */
.svc-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px}
.svc-card{
  background:var(--bg-surface); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:34px 30px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position:relative; overflow:hidden;
  display:block;
}
.svc-card::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(37,99,235,.06), transparent 60%);
  opacity:0; transition:opacity .35s;
}
.svc-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent}
.svc-card:hover::before{opacity:1}
.svc-card > *{position:relative}
.svc-ico{
  width:56px; height:56px; border-radius:16px;
  background:linear-gradient(135deg, #1E3A8A, #2563EB);
  display:grid; place-items:center; color:#fff;
  margin-bottom:22px;
  box-shadow:0 12px 24px -8px rgba(37,99,235,.4);
}
.svc-ico svg{width:26px; height:26px}
.svc-card h3{margin-bottom:10px}
.svc-card p{color:var(--ink-mute); font-size:15px; line-height:1.65; margin:0}
.svc-card .svc-more{
  display:inline-flex; align-items:center; gap:6px; margin-top:22px;
  color:var(--brand-2); font-weight:600; font-size:14px;
  transition:gap .25s;
}
.svc-card:hover .svc-more{gap:10px}
@media (max-width:900px){ .svc-grid{grid-template-columns:1fr; gap:18px} }

/* ---------- DARK SECTION ---------- */
.dark-section{
  background: radial-gradient(1200px 700px at 30% 20%, #1E3A8A, #152A62 60%, #0A1638 100%);
  color:#fff; position:relative; overflow:hidden;
}
.dark-section::before{
  content:''; position:absolute; inset:0;
  background-image:var(--dark-bg, url('assets/oxygen_bubbles.png'));
  background-size:cover; background-position:center;
  opacity:.12; mix-blend-mode:screen;
}
.dark-section .container{position:relative}
.dark-section h1,.dark-section h2,.dark-section h3{color:#fff}
.dark-section p.lead, .dark-section p{color:#BFDBFE}
.dark-section .eyebrow{color:#FDBA74}
.dark-section .eyebrow::before{background:#FDBA74}

.hb-grid{display:grid; grid-template-columns:1.1fr 1fr; gap:70px; align-items:center}
.hb-copy h2{margin-bottom:22px; font-size:clamp(30px, 3.4vw, 46px)}
.hb-benefits{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:14px;
  margin:28px 0 32px;
}
.hb-benefit{
  display:flex; gap:10px; align-items:flex-start;
  color:#DBEAFE; font-size:14px; line-height:1.45;
}
.hb-benefit svg{width:18px; height:18px; color:#F97316; flex-shrink:0; margin-top:2px}
.hb-visual{
  position:relative; border-radius:var(--r-xl); overflow:hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  aspect-ratio: 4/5;
}
.hb-visual img{width:100%; height:100%; object-fit:cover}
.hb-chip{
  position:absolute; top:20px; left:20px;
  background:rgba(15,23,42,.75); backdrop-filter:blur(10px);
  color:#fff; padding:9px 14px; border-radius:999px;
  font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  border:1px solid rgba(253,186,116,.4);
}
.hb-spec{
  position:absolute; bottom:20px; left:20px; right:20px;
  background:rgba(15,23,42,.75); backdrop-filter:blur(10px);
  padding:16px 18px; border-radius:var(--r-md);
  border:1px solid rgba(255,255,255,.08);
}
.hb-spec-t{font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#FDBA74; font-weight:600}
.hb-spec-v{font-size:15px; color:#fff; margin-top:4px; font-weight:500}
@media (max-width:900px){ .hb-grid{grid-template-columns:1fr; gap:48px} .hb-benefits{grid-template-columns:1fr} }

/* ---------- CONDITIONS ---------- */
.cond-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:12px}
.cond{
  padding:20px 22px; border:1px solid var(--line); border-radius:var(--r-md);
  background:#fff; display:flex; gap:12px; align-items:center;
  transition:all .25s;
}
.cond:hover{border-color:var(--brand); background:linear-gradient(135deg, rgba(37,99,235,.04), transparent); transform:translateY(-2px)}
.cond .c-dot{
  width:8px; height:8px; border-radius:50%; background:var(--brand);
  flex-shrink:0; box-shadow:0 0 0 4px rgba(37,99,235,.14);
}
.cond .c-name{font-size:15px; font-weight:600; color:var(--ink)}

/* ---------- TECHNOLOGY ---------- */
.tech-hero{
  position:relative; border-radius:var(--r-xl); overflow:hidden;
  aspect-ratio: 21/9; margin-bottom:48px;
  box-shadow:var(--shadow-lg);
}
.tech-hero img{width:100%; height:100%; object-fit:cover}
.tech-hero::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(6,40,49,.85) 0%, rgba(6,40,49,.4) 45%, transparent 70%);
}
.tech-hero-copy{
  position:absolute; left:44px; top:50%; transform:translateY(-50%);
  color:#fff; max-width:520px; z-index:2;
}
.tech-hero-copy .eyebrow{color:#FDBA74; margin-bottom:16px}
.tech-hero-copy .eyebrow::before{background:#FDBA74}
.tech-hero-copy h2{color:#fff; margin-bottom:14px; font-size:clamp(26px, 3vw, 40px)}
.tech-hero-copy p{color:#DBEAFE; margin:0; font-size:16px; line-height:1.6}

.tech-grid{display:grid; grid-template-columns:repeat(2, 1fr); gap:22px}
.tech-card{
  background:var(--bg-surface); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:32px 34px;
  display:flex; gap:24px; align-items:flex-start;
  transition:all .3s;
}
.tech-card:hover{border-color:transparent; box-shadow:var(--shadow-md); transform:translateY(-4px)}
.tech-num{
  font-family:var(--f-serif); font-size:38px; line-height:1;
  color:var(--brand); font-weight:400; flex-shrink:0;
  min-width:52px;
}
.tech-card h3{margin-bottom:8px}
.tech-card p{color:var(--ink-mute); font-size:15px; line-height:1.65; margin:0}
@media (max-width:900px){
  .tech-hero{aspect-ratio:16/10}
  .tech-hero-copy{left:24px; right:24px; max-width:none}
  .tech-grid{grid-template-columns:1fr}
}

/* ---------- PHYSICIANS ---------- */
.doc-grid{display:grid; grid-template-columns:repeat(2, 1fr); gap:28px}
.doc-card{
  background:var(--bg-surface); border-radius:var(--r-xl);
  padding:44px 40px; border:1px solid var(--line);
  transition:all .3s; box-shadow:var(--shadow-sm);
  position:relative; overflow:hidden;
}
.doc-card:hover{box-shadow:var(--shadow-lg); transform:translateY(-4px)}
.doc-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, #1E40AF, #F97316);
}
.doc-head{display:flex; gap:22px; align-items:center; margin-bottom:26px}
.doc-portrait{
  width:96px; height:96px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg, #1E3A8A, #2563EB);
  display:grid; place-items:center; color:#fff;
  font-family:var(--f-serif); font-size:34px; font-weight:500;
  box-shadow:0 12px 24px -8px rgba(37,99,235,.4);
  border:3px solid #fff;
}
.doc-name{
  font-family:var(--f-serif); font-size:26px; line-height:1.2; color:var(--ink);
  font-weight:500; margin-bottom:4px;
}
.doc-cred{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brand-2);
}
.doc-role{font-size:14px; color:var(--ink-mute); margin-top:6px; font-weight:500}
.doc-body{color:var(--ink-mute); font-size:15px; line-height:1.7; margin:0 0 22px}
.doc-tags{display:flex; gap:8px; flex-wrap:wrap}
.doc-tag{
  padding:6px 12px; background:rgba(37,99,235,.09);
  color:var(--brand-2); font-size:12px; font-weight:600;
  border-radius:999px; letter-spacing:.02em;
}
.doc-cta{margin-top:22px; display:inline-flex; align-items:center; gap:6px; color:var(--brand-2); font-weight:600; font-size:14px}
.doc-cta:hover{gap:10px}
@media (max-width:900px){ .doc-grid{grid-template-columns:1fr} }

/* Full physician bio card */
.doc-full{
  display:grid; grid-template-columns:1fr 2fr; gap:48px; align-items:flex-start;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-xl);
  padding:48px; box-shadow:var(--shadow-sm);
  position:relative; overflow:hidden;
}
.doc-full::before{
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, #1E40AF, #F97316);
}
.doc-full .doc-lg-portrait{
  width:100%; aspect-ratio:1; border-radius:var(--r-lg);
  background:linear-gradient(135deg, #1E3A8A, #2563EB);
  display:grid; place-items:center; color:#fff;
  font-family:var(--f-serif); font-size:88px; font-weight:500;
  box-shadow:var(--shadow-md);
}
.doc-full h2{font-size:clamp(28px, 3vw, 40px); margin-bottom:8px}
.doc-full .doc-cred-lg{font-size:14px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-2); margin-bottom:22px}
.doc-full .doc-section{margin-top:28px}
.doc-full h4{font-family:var(--f-sans); font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:10px}
.doc-full ul{margin:0; padding-left:20px; color:var(--ink-mute); line-height:1.8}
.doc-full p{color:var(--ink-mute); font-size:16px; line-height:1.75}
@media (max-width:900px){
  .doc-full{grid-template-columns:1fr; padding:32px 26px; gap:32px}
  .doc-full .doc-lg-portrait{max-width:280px; margin:0 auto}
}

/* ---------- EXPERIENCE / IMAGE BANNER ---------- */
.exp-wrap{
  position:relative; border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.exp-wrap img{width:100%; aspect-ratio:21/9; object-fit:cover; display:block}
.exp-wrap::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(6,40,49,.7) 0%, rgba(6,40,49,.25) 55%, transparent 85%);
}
.exp-copy{
  position:absolute; left:48px; top:50%; transform:translateY(-50%);
  color:#fff; max-width:520px; z-index:2;
}
.exp-copy .eyebrow{color:#FDBA74}
.exp-copy .eyebrow::before{background:#FDBA74}
.exp-copy h2{color:#fff; margin:14px 0 16px; font-size:clamp(26px, 3vw, 40px)}
.exp-copy p{color:#DBEAFE; font-size:16px; line-height:1.7; margin-bottom:26px}
@media (max-width:900px){
  .exp-wrap img{aspect-ratio:4/5}
  .exp-copy{left:24px; right:24px; max-width:none; top:auto; transform:none; bottom:24px}
}

/* ---------- INSURANCE ---------- */
.insurance{
  background:var(--brand-ink); color:#fff; padding:70px 0;
  position:relative; overflow:hidden;
}
.insurance::before{
  content:''; position:absolute; top:-100px; right:-100px; width:400px; height:400px;
  background:radial-gradient(circle, rgba(37,99,235,.22), transparent 60%);
  filter:blur(20px);
}
.ins-grid{
  display:grid; grid-template-columns: 1.2fr auto; gap:40px; align-items:center;
  position:relative;
}
.ins-copy .eyebrow{color:#FDBA74; margin-bottom:16px}
.ins-copy .eyebrow::before{background:#FDBA74}
.ins-copy h2{color:#fff; margin-bottom:12px; font-size:clamp(26px, 2.8vw, 38px)}
.ins-copy p{color:#BFDBFE; margin:0; font-size:16px; line-height:1.6; max-width:640px}
@media (max-width:900px){ .ins-grid{grid-template-columns:1fr; text-align:left} }

/* ---------- CTA BAND ---------- */
.cta-band{
  background:linear-gradient(135deg, #1E40AF 0%, #1E3A8A 55%, #0F1E4A 100%);
  color:#fff; padding:100px 0; text-align:center;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 40%);
}
.cta-band .container{position:relative}
.cta-band h2{color:#fff; margin-bottom:16px; font-size:clamp(30px, 3.6vw, 52px)}
.cta-band p{color:rgba(255,255,255,.9); font-size:19px; margin:0 auto 36px; max-width:640px}
.cta-band .btn{padding:18px 40px; font-size:16px}
.cta-band .btn-primary{background:#fff; color:var(--orange-2); box-shadow:0 20px 40px -12px rgba(0,0,0,.3)}
.cta-band .btn-primary:hover{background:#FFF7ED; color:var(--orange-2)}
.cta-band .btn-primary:hover{background:#F1F5F9; transform:translateY(-2px)}
.cta-band .btn-outline-white{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55)}
.cta-band .btn-outline-white:hover{background:rgba(255,255,255,.12); border-color:#fff}
.cta-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap}

/* ---------- FOOTER ---------- */
footer.site-footer{
  background:#0A1638; color:#94A3B8; padding:80px 0 40px;
  font-size:14px; line-height:1.7;
}
.foot-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:60px;
  padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.08);
}
.foot-brand .brand-mark{width:46px; height:46px}
.foot-brand .brand-text .b1{color:#fff}
.foot-brand p{margin:20px 0 24px; color:#94A3B8}
.foot h4{
  font-family:var(--f-sans); color:#fff; font-size:13px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; margin-bottom:18px;
}
.foot-list{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.foot-list a{color:#94A3B8; transition:color .2s}
.foot-list a:hover{color:#F97316}
.foot-contact li{display:flex; gap:10px; align-items:flex-start}
.foot-contact svg{width:16px; height:16px; color:#F97316; flex-shrink:0; margin-top:3px}
.foot-bottom{
  padding-top:32px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px;
  font-size:13px; color:#64748B;
}
.foot-bottom a{color:#64748B}
.foot-bottom a:hover{color:#F97316}
@media (max-width:900px){ .foot-grid{grid-template-columns:1fr 1fr; gap:40px} }
@media (max-width:600px){ .foot-grid{grid-template-columns:1fr} }

/* ---------- FORMS ---------- */
.form-wrap{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--r-xl); padding:48px;
  box-shadow:var(--shadow-md);
}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px}
.form-grid .full{grid-column:1/-1}
.field{display:flex; flex-direction:column; gap:8px}
.field label{
  font-size:13px; font-weight:600; color:var(--ink-2);
  letter-spacing:.02em;
}
.field label .req{color:var(--danger)}
.field input, .field select, .field textarea{
  padding:14px 16px; border:1px solid var(--line-strong); border-radius:var(--r-sm);
  background:#fff; color:var(--ink); font-size:15px;
  transition:border-color .2s, box-shadow .2s;
  font-family:inherit;
  width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.field textarea{resize:vertical; min-height:120px}
.field .hint{font-size:12px; color:var(--ink-soft); margin-top:2px}
.field .err-msg{font-size:12px; color:var(--danger); display:none}
.field.has-error input, .field.has-error select, .field.has-error textarea{border-color:var(--danger)}
.field.has-error .err-msg{display:block}
.checkbox-group{display:flex; gap:10px; align-items:flex-start; padding:12px 0}
.checkbox-group input[type=checkbox]{
  width:20px; height:20px; margin:0; flex-shrink:0; accent-color:var(--brand);
  margin-top:2px;
}
.checkbox-group label{font-size:14px; color:var(--ink-mute); line-height:1.5; font-weight:500}
.checkbox-group a{color:var(--brand-2); font-weight:600}
.form-actions{display:flex; gap:14px; margin-top:8px; align-items:center; flex-wrap:wrap}
.form-note{font-size:13px; color:var(--ink-soft); margin-left:auto}
.form-success{
  display:none;
  background:linear-gradient(135deg, rgba(16,185,129,.08), rgba(37,99,235,.05));
  border:1px solid rgba(16,185,129,.3);
  border-radius:var(--r-lg); padding:32px; text-align:center;
}
.form-success.is-visible{display:block}
.form-success .fs-ico{
  width:64px; height:64px; border-radius:50%;
  background:linear-gradient(135deg, #10B981, #2563EB);
  display:grid; place-items:center; color:#fff;
  margin:0 auto 16px;
  box-shadow:0 12px 24px -8px rgba(16,185,129,.4);
}
.form-success .fs-ico svg{width:32px; height:32px}
.form-success h3{color:var(--ink); margin-bottom:8px}
.form-success p{color:var(--ink-mute); margin:0}

@media (max-width:700px){
  .form-wrap{padding:28px 22px}
  .form-grid{grid-template-columns:1fr}
}

/* ---------- CONTACT LAYOUT ---------- */
.contact-grid{display:grid; grid-template-columns:1.3fr 1fr; gap:56px}
.contact-info{display:flex; flex-direction:column; gap:22px}
.contact-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:28px; display:flex; gap:18px; align-items:flex-start;
  transition:all .3s;
}
.contact-card:hover{border-color:var(--brand); box-shadow:var(--shadow-md); transform:translateY(-2px)}
.contact-card .cc-ico{
  width:52px; height:52px; border-radius:14px; flex-shrink:0;
  background:linear-gradient(135deg, #1E3A8A, #2563EB);
  color:#fff; display:grid; place-items:center;
  box-shadow:0 10px 20px -8px rgba(37,99,235,.4);
}
.contact-card .cc-ico svg{width:22px; height:22px}
.contact-card h4{font-size:15px; margin-bottom:4px}
.contact-card p{color:var(--ink-mute); font-size:14px; margin:0; line-height:1.6}
.contact-card a{color:var(--brand-2); font-weight:600}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr; gap:32px} }

.map-wrap{
  border-radius:var(--r-xl); overflow:hidden;
  border:1px solid var(--line);
  aspect-ratio:16/10;
  box-shadow:var(--shadow-md);
}
.map-wrap iframe{width:100%; height:100%; border:0; display:block}

/* ---------- FAQ ---------- */
.faq-list{max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px}
.faq{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-md);
  transition:all .3s;
}
.faq:hover{border-color:var(--line-strong)}
.faq.is-open{border-color:var(--brand); box-shadow:var(--shadow-md)}
.faq-q{
  width:100%; padding:22px 26px; display:flex; align-items:center;
  justify-content:space-between; gap:20px;
  text-align:left; font-size:17px; font-weight:600; color:var(--ink);
  font-family:var(--f-sans);
}
.faq-q .faq-plus{
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background:var(--bg-tint); color:var(--brand-2);
  display:grid; place-items:center;
  transition:all .3s;
}
.faq-q .faq-plus svg{width:14px; height:14px; transition:transform .3s}
.faq.is-open .faq-plus{background:var(--brand); color:#fff}
.faq.is-open .faq-plus svg{transform:rotate(45deg)}
.faq-a{
  max-height:0; overflow:hidden;
  transition:max-height .4s ease;
}
.faq-a-inner{padding:0 26px 22px; color:var(--ink-mute); line-height:1.75; font-size:15px}
.faq-a-inner p{margin-bottom:12px}
.faq-a-inner p:last-child{margin-bottom:0}

/* ---------- PROCESS STEPS ---------- */
.process{display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; position:relative}
.process-step{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:30px 26px; position:relative; transition:all .3s;
}
.process-step:hover{transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent}
.step-num{
  width:44px; height:44px; border-radius:12px;
  background:linear-gradient(135deg, #1E3A8A, #2563EB);
  color:#fff; display:grid; place-items:center;
  font-family:var(--f-serif); font-size:22px; font-weight:500;
  margin-bottom:20px;
  box-shadow:0 10px 20px -6px rgba(37,99,235,.4);
}
.process-step h4{font-family:var(--f-serif); font-size:20px; font-weight:500; margin-bottom:8px; color:var(--ink)}
.process-step p{font-size:14px; color:var(--ink-mute); line-height:1.6; margin:0}
@media (max-width:900px){ .process{grid-template-columns:1fr 1fr; gap:14px} }
@media (max-width:600px){ .process{grid-template-columns:1fr} }

/* ==========================================================
   ANIMATIONS — Premium polish, accessibility-first
   ==========================================================
   All motion respects prefers-reduced-motion at the bottom of
   this file. Curves are custom cubic-beziers used by Apple and
   Cleveland Clinic for their editorial pages.
   ========================================================== */

/* Standard easing tokens */
:root{
  --ease-out-quart: cubic-bezier(.25,1,.5,1);
  --ease-out-expo:  cubic-bezier(.19,1,.22,1);
}

/* ---------- PAGE-LOAD FADE-IN ----------
   Only applies when JS is running (via .js class on <html> set by
   inline head script). No-JS users see the full page instantly.

   <body> starts faded; JS removes .is-loading on DOMContentLoaded,
   triggering a smooth 500 ms fade-in. Fixed elements (nav, utility
   bar) fade in slightly delayed so the whole page cascades nicely. */
html.js body.is-loading{
  opacity:0;
}
html.js body{
  opacity:1;
  transition:opacity .55s var(--ease-out-quart);
}
html.js body.is-loading .utility,
html.js body.is-loading .nav{
  transform:translateY(-8px);
  opacity:0;
}
html.js .utility,
html.js .nav{
  transform:translateY(0);
  opacity:1;
  transition:opacity .5s var(--ease-out-quart), transform .5s var(--ease-out-quart);
}
html.js .nav{ transition-delay:.05s }

/* Hero content fades up on load — only when JS is running */
html.js .hero-copy > *,
html.js .subhero > .container > div > *{
  animation:hero-in .7s var(--ease-out-quart) both;
}
html.js .hero-copy .eyebrow      { animation-delay:.10s }
html.js .hero-copy .hero-title   { animation-delay:.18s }
html.js .hero-copy .hero-lead    { animation-delay:.28s }
html.js .hero-copy .hero-ctas    { animation-delay:.38s }
html.js .hero-copy .hero-stats   { animation-delay:.48s }
html.js .hero-visual             { animation:hero-in .9s var(--ease-out-quart) both; animation-delay:.35s }
@keyframes hero-in{
  from{ opacity:0; transform:translateY(16px) }
  to  { opacity:1; transform:translateY(0) }
}

/* ---------- SCROLL REVEAL — upgraded curve + subtle scale ---------- */
html.js .reveal{
  opacity:0;
  transform:translateY(28px);
  transition:
    opacity .8s var(--ease-out-quart),
    transform .8s var(--ease-out-quart);
  will-change:opacity, transform;
}
html.js .reveal.in{
  opacity:1;
  transform:translateY(0);
}
/* When reveal targets share a parent grid, JS assigns staggered
   custom-properties so they fade in one-by-one instead of all at
   once — much more premium feel. */
.reveal[style*="--i"]{
  transition-delay:calc(var(--i) * 60ms);
}

/* ---------- IMAGE LAZY FADE-IN ----------
   Images fade in as they finish decoding. Prevents the "pop"
   as low-res placeholders flip to full-quality. */
img.img-fade{
  opacity:0;
  transition:opacity .6s var(--ease-out-quart);
}
img.img-fade.is-loaded{
  opacity:1;
}

/* ---------- HERO IMAGE PARALLAX ----------
   Very subtle — 8% max drift over full viewport scroll.
   Applied via translateY on a CSS variable set by JS. */
.hero-img,
.subhero-img{
  transition:transform .1s linear;
  transform:translate3d(0, var(--parallax, 0px), 0);
  will-change:transform;
}

/* ---------- SMOOTH SCROLL ----------
   html scroll-behavior: smooth is already set — this adds a scroll
   offset so anchor targets don't land under the sticky nav. */
html{
  scroll-padding-top:100px;  /* utility + nav combined height */
}

/* Slight scale-in on cards when they reveal — feels intentional, not floppy */
html.js .svc-card.reveal,
html.js .tech-card.reveal,
html.js .doc-card.reveal,
html.js .pillar.reveal,
html.js .contact-card.reveal,
html.js .process-step.reveal,
html.js .cond.reveal{
  transform:translateY(28px) scale(.985);
}
html.js .svc-card.reveal.in,
html.js .tech-card.reveal.in,
html.js .doc-card.reveal.in,
html.js .pillar.reveal.in,
html.js .contact-card.reveal.in,
html.js .process-step.reveal.in,
html.js .cond.reveal.in{
  transform:translateY(0) scale(1);
}

/* Section headings & big body copy get a slightly longer, gentler curve */
h1.reveal, h2.reveal, .section-head.reveal, .lead.reveal{
  transition-duration:1s;
}

/* ==========================================================
   REDUCED MOTION — respect user's OS setting (WCAG AA)
   ==========================================================
   Users who've enabled 'Reduce Motion' in their OS get an
   instant, non-animated experience. This is required for
   accessibility on medical sites (some patients have
   vestibular disorders that make animation nauseating). */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto }
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{
    opacity:1 !important;
    transform:none !important;
  }
  .hero-copy > *,
  .subhero > .container > div > *,
  .hero-visual{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
  body.is-loading{ opacity:1 }
  .hero-img, .subhero-img{ transform:none !important }
  img.img-fade{ opacity:1 !important }
}

/* ---------- MOBILE REFINEMENTS ---------- */
@media (max-width: 640px){
  section.pad{padding:72px 0}
  .container, .container-narrow{padding:0 20px}
  .hero{padding:48px 0 64px}
  .hero-badge{left:0; right:0; margin:auto; max-width:calc(100% - 32px)}
  .hero-tag{right:8px}
  .doc-card{padding:32px 26px}
  h1{font-size:clamp(30px, 8vw, 42px)}
  h2{font-size:clamp(26px, 6vw, 34px)}
  .btn-lg{padding:15px 28px; font-size:15px}
}

/* ---------- PRINT ---------- */
@media print{
  .nav, .utility, .drawer, footer, .cta-band, .hero-tag, .hero-badge{display:none}
  body{background:#fff}
}
