/* ============================================================
   Rockwell Health — "Editorial" (Design 35)
   An art-directed, health-magazine re-skin. Warm cream paper,
   deep-navy serif headlines (Spectral), humanist sans body
   (Figtree). Rockwell red as a refined accent: hairlines, marks,
   one button. Clean photo framing, no muddy text-over-photo.
   Brand: navy #262168 / red #e0271c only (+ warm neutrals).
   Prefix: ed-
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  /* Brand */
  --navy:        #262168;
  --navy-deep:   #1b1650;   /* deep navy surface */
  --navy-deeper: #14103f;
  --navy-soft:   #4a4690;   /* lighter navy for meta icons */
  --red:         #e0271c;   /* accent: rules, marks, buttons, large */
  --red-ink:     #bc2014;   /* small red text on cream (AA ≥ 4.5) */

  /* Warm paper neutrals (cream, low chroma toward warm — carried by
     accent + type, kept restrained so it never goes "AI sand") */
  --paper:       #f7f2ea;   /* body — warm off-white */
  --paper-2:     #efe7da;   /* deeper sand band */
  --card:        #fffdfa;   /* near-white card surface (warm) */
  --line:        #e2d8c8;   /* warm hairline on paper */
  --line-2:      #d4c8b4;   /* stronger warm hairline */
  --line-3:      #c8bba4;   /* button outlines */

  /* Ink (navy-tinted, AA-strong on cream) */
  --ink:         #262168;   /* headlines / display */
  --body:        #34304c;   /* body text on cream (~10.4:1) */
  --body-2:      #56506e;   /* secondary text on cream (~6.4:1) */

  /* On navy */
  --on-navy:     #fbf7f0;   /* primary text on navy */
  --on-navy-2:   #cfcae0;   /* secondary text on navy (~7.6:1) */
  --on-navy-rule:rgba(251,247,240,.16);

  /* Shape — editorial favors crisp rectangles + tiny radius */
  --r-xs: 3px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Soft, low, diffuse shadows (warm/navy-tinted, never harsh) */
  --sh-1: 0 1px 2px rgba(40,34,80,.05), 0 2px 8px rgba(40,34,80,.045);
  --sh-2: 0 6px 16px rgba(40,34,80,.07), 0 18px 40px rgba(40,34,80,.07);
  --sh-3: 0 14px 34px rgba(28,22,72,.12), 0 38px 80px rgba(28,22,72,.13);

  /* Rhythm */
  --wrap: 1180px;
  --wrap-wide: 1260px;
  --gut: clamp(22px, 5vw, 56px);
  --sec: clamp(64px, 9.5vw, 132px);   /* vertical section pad */

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);    /* ease-out-quart */
  --ease-expo: cubic-bezier(.16,1,.3,1);  /* ease-out-expo */
  --fast: .18s;
  --med:  .34s;

  /* Z-scale */
  --z-header: 100;
  --z-burger: 110;

  --focus: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--navy);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
[id]{ scroll-margin-top:96px; }  /* anchor targets clear the sticky header */
body{
  margin:0;
  font-family:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:clamp(16px,.5vw + 14.4px,17.5px);
  line-height:1.66;
  color:var(--body);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg,iframe{ display:block; max-width:100%; }
img{ height:auto; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4,p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:none; box-shadow:var(--focus); border-radius:var(--r-xs); }

/* ---------- Display type — Spectral serif ---------- */
h1,h2,h3{
  font-family:"Spectral",Georgia,"Times New Roman",serif;
  color:var(--ink);
  font-weight:600;
  line-height:1.1;
  letter-spacing:-.012em;
  text-wrap:balance;
}
h1{ font-weight:700; letter-spacing:-.022em; }
p{ text-wrap:pretty; }

.ed-wrap{
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--gut);
}

.ed-skip{
  position:absolute; left:14px; top:-60px;
  background:var(--navy); color:var(--on-navy);
  padding:11px 18px; border-radius:0 0 var(--r-sm) var(--r-sm);
  font-weight:600; z-index:200; transition:top var(--fast) var(--ease);
}
.ed-skip:focus{ top:0; }

/* ============================================================
   Editorial section eyebrow — labeled + numbered (deliberate
   running system, not a per-section reflex: it's the magazine
   "department label", set in Spectral italic, with a Roman
   folio numeral + red hairline.)
   ============================================================ */
.ed-eyebrow{
  display:flex; align-items:center; gap:.85em;
  font-family:"Figtree",sans-serif;
  font-weight:600; font-size:.74rem;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--red-ink);
  margin-bottom:clamp(18px,2vw,26px);
}
.ed-eyebrow-no{
  font-family:"Spectral",serif; font-style:italic;
  font-weight:500; font-size:1.02rem; letter-spacing:0;
  text-transform:none; color:var(--navy);
  padding-right:.85em; position:relative;
}
.ed-eyebrow-no::after{
  content:""; position:absolute; right:0; top:50%; transform:translateY(-50%);
  width:1px; height:1.1em; background:var(--line-2);
}
.ed-eyebrow-light{ color:#ff8a80; }
.ed-eyebrow-light .ed-eyebrow-no{ color:var(--on-navy); }
.ed-eyebrow-light .ed-eyebrow-no::after{ background:var(--on-navy-rule); }

/* ============================================================
   Buttons
   ============================================================ */
.ed-btn{
  --bg:var(--navy); --fg:var(--on-navy); --bd:var(--navy);
  display:inline-flex; align-items:center; gap:.55em;
  font-family:"Figtree",sans-serif; font-weight:600; font-size:.97rem;
  letter-spacing:.005em; line-height:1;
  padding:.92em 1.5em;
  border:1.5px solid var(--bd); border-radius:var(--r-sm);
  background:var(--bg); color:var(--fg); cursor:pointer;
  transition:transform var(--fast) var(--ease),
             background var(--fast) var(--ease),
             border-color var(--fast) var(--ease),
             box-shadow var(--fast) var(--ease), color var(--fast) var(--ease);
}
.ed-btn svg{ width:1.05em; height:1.05em; transition:transform var(--fast) var(--ease); }
.ed-btn:hover{ transform:translateY(-2px); box-shadow:var(--sh-2); }
.ed-btn:hover svg{ transform:translateX(3px); }
.ed-btn:active{ transform:translateY(0); }

.ed-btn-lg{ padding:1.08em 1.85em; font-size:1.02rem; }

.ed-btn-red{ --bg:var(--red); --bd:var(--red); --fg:#fff; }
.ed-btn-red:hover{ --bg:#c81f15; --bd:#c81f15; }

.ed-btn-navy{ --bg:var(--navy); --bd:var(--navy); --fg:var(--on-navy); }
.ed-btn-navy:hover{ --bg:var(--navy-deep); --bd:var(--navy-deep); }

/* outline on cream */
.ed-btn-line{ --bg:transparent; --fg:var(--navy); --bd:var(--line-3); }
.ed-btn-line:hover{ --bd:var(--navy); --bg:var(--card); }

/* on navy surfaces */
.ed-btn-onnavy{
  --bg:transparent; --fg:var(--on-navy); --bd:rgba(251,247,240,.4);
}
.ed-btn-onnavy:hover{ --bg:var(--on-navy); --fg:var(--navy); --bd:var(--on-navy); }

/* ============================================================
   Header
   ============================================================ */
.ed-header{
  position:sticky; top:0; z-index:var(--z-header);
  background:rgba(247,242,234,.86);
  backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid var(--line);
}
.ed-header-in{
  display:flex; align-items:center; gap:24px;
  min-height:76px;
}
.ed-brand{ display:inline-flex; align-items:center; }
.ed-brand img{ height:38px; width:auto; }
.ed-brand:focus-visible{ box-shadow:var(--focus); }

.ed-nav{
  margin-left:auto;
  display:flex; align-items:center; gap:clamp(16px,2vw,32px);
}
.ed-nav > a:not(.ed-btn){
  font-weight:500; font-size:.96rem; color:var(--body);
  padding:.4em 0; position:relative;
  transition:color var(--fast) var(--ease);
}
.ed-nav > a:not(.ed-btn)::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1.5px;
  background:var(--red);
  transform:scaleX(0); transform-origin:left; transition:transform var(--med) var(--ease);
}
.ed-nav > a:not(.ed-btn):hover{ color:var(--navy); }
.ed-nav > a:not(.ed-btn):hover::after{ transform:scaleX(1); }
.ed-nav-cta{ margin-left:6px; }

/* burger */
.ed-burger{
  display:none;
  margin-left:auto;
  width:46px; height:46px; padding:12px;
  background:transparent; border:1.5px solid var(--line-2); border-radius:var(--r-sm);
  cursor:pointer; z-index:var(--z-burger);
}
.ed-burger span{
  display:block; height:1.5px; border-radius:2px; background:var(--navy);
  transition:transform var(--med) var(--ease), opacity var(--fast) var(--ease);
}
.ed-burger span + span{ margin-top:6px; }
.ed-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.ed-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.ed-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   1 · Hero  (asymmetric: copy left, framed photo right)
   ============================================================ */
.ed-hero{
  position:relative;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, var(--paper-2) 100%);
  overflow:hidden;
}
.ed-hero-in{
  display:grid; grid-template-columns:1.02fr .98fr;
  gap:clamp(34px,5vw,84px); align-items:center;
  padding-block:clamp(54px,8vw,108px);
  position:relative;
}

/* kicker — a single short rule + small caps (hero only) */
.ed-kicker{
  display:flex; align-items:center; gap:.85em;
  font-family:"Figtree",sans-serif; font-weight:600; font-size:.78rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--red-ink);
  margin-bottom:24px;
}
.ed-kicker-rule{ width:30px; height:1.5px; background:var(--red); flex:none; }

.ed-hero h1{
  font-size:clamp(2.7rem,5.6vw,4.7rem);
  line-height:1.02; letter-spacing:-.026em; color:var(--navy);
}
.ed-hero h1 em{ font-style:italic; font-weight:600; color:var(--red); }
.ed-hero-sub{
  margin-top:26px; max-width:42ch;
  font-size:clamp(1.08rem,1.3vw,1.24rem);
  line-height:1.62; color:var(--body-2);
}
.ed-hero-cta{ margin-top:38px; display:flex; flex-wrap:wrap; gap:14px; }

/* hero art — clean rectangle frame w/ soft shadow + thin keyline.
   rw-home-bg.png is a light-background cutout, so a paper mat reads
   crisp and intentional rather than murky. */
.ed-hero-art{ position:relative; justify-self:end; width:100%; max-width:540px; }
.ed-hero-frame{
  position:relative; margin:0;
  border-radius:var(--r-lg);
  overflow:hidden; box-shadow:var(--sh-3);
  background:
    radial-gradient(120% 95% at 70% 8%, #fffdf9 0%, #f4ede2 78%);
  aspect-ratio:5/5.2;
  border:1px solid rgba(255,255,255,.7);
}
.ed-hero-frame::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(40,34,80,.06);
  pointer-events:none;
}
.ed-hero-frame img{ width:100%; height:100%; object-fit:cover; object-position:center 18%; }

.ed-hero-badge{
  position:absolute; left:-26px; bottom:32px;
  display:flex; align-items:center; gap:13px;
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r); padding:14px 20px 14px 16px;
  box-shadow:var(--sh-2);
}
.ed-hero-badge-icon{
  display:grid; place-items:center; flex:none;
  width:40px; height:40px; border-radius:var(--r-sm);
  background:var(--navy); color:#ff8a80;
}
.ed-hero-badge-icon svg{ width:21px; height:21px; }
.ed-hero-badge-txt{ display:flex; flex-direction:column; line-height:1.28; font-size:.82rem; color:var(--body-2); }
.ed-hero-badge-txt strong{
  font-family:"Spectral",serif; font-weight:600; color:var(--navy); font-size:1.04rem; letter-spacing:-.01em;
}

/* ============================================================
   Editorial text link (arrow on hover) — shared accent link
   ============================================================ */
.ed-textlink{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:"Figtree",sans-serif; font-weight:600; font-size:1.02rem;
  color:var(--red-ink); border-radius:var(--r-xs);
  transition:gap var(--fast) var(--ease), color var(--fast) var(--ease);
}
.ed-textlink svg{ width:1.05em; height:1.05em; transition:transform var(--fast) var(--ease); }
.ed-textlink:hover{ color:var(--navy); gap:.72em; }
.ed-textlink:hover svg{ transform:translateX(3px); }
.ed-textlink-light{ color:#ff8a80; }
.ed-textlink-light:hover{ color:#ffb3ac; }

/* ============================================================
   2 · Our Care Philosophy — elevated ruled principle strip
   The four principles the client wants emphasized, set as a
   refined editorial row (serif marks + ruled columns, no cards).
   ============================================================ */
.ed-phil{ padding-block:var(--sec); background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ed-phil-head{ max-width:60ch; margin-bottom:clamp(36px,4vw,54px); }
.ed-phil-head h2{
  font-size:clamp(2rem,3.5vw,2.9rem); font-weight:600; letter-spacing:-.02em; line-height:1.08;
}

.ed-principles{
  display:grid; grid-template-columns:repeat(4,1fr);
  align-items:stretch;
  border-top:1px solid var(--line-2);
}
.ed-principle{
  display:flex; flex-direction:column; align-items:flex-start;
  padding:clamp(30px,3vw,42px) clamp(20px,1.9vw,32px) clamp(6px,1vw,12px);
}
.ed-principle:first-child{ padding-inline-start:0; }
.ed-principle:last-child{ padding-inline-end:0; }
.ed-principle + .ed-principle{ border-inline-start:1px solid var(--line); }
/* Outline / ghost icon mark: transparent tile, navy hairline ring, navy icon */
.ed-principle-mk{
  display:grid; place-items:center; flex:none;
  width:52px; height:52px; border-radius:var(--r);
  margin-bottom:clamp(20px,2vw,26px);
  background:transparent;
  border:1px solid var(--navy);
  box-shadow:none;
  color:var(--navy);
  transition:transform var(--med) var(--ease-expo), border-color var(--med) var(--ease-expo), color var(--med) var(--ease-expo);
}
.ed-principle-mk svg{ width:24px; height:24px; }
/* title capped to a two-line box so every description starts on one baseline */
.ed-principle h3{
  font-size:1.2rem; font-weight:600; line-height:1.22; letter-spacing:-.012em; color:var(--navy);
  min-height:calc(1.22em * 2);
  display:flex; align-items:flex-end;
  position:relative;
}
.ed-principle h3::after{
  content:""; position:absolute; left:0; bottom:-9px;
  width:0; height:2px; border-radius:2px; background:var(--red);
  transition:width var(--med) var(--ease-expo);
}
.ed-principle p{
  margin-top:18px; max-width:22ch; min-height:calc(1.55em * 2);
  color:var(--body-2); font-size:.97rem; line-height:1.55; text-wrap:pretty;
}
/* restrained hover: the ghost ring and icon tint red, the title gains a short rule */
.ed-principle:hover .ed-principle-mk{ transform:translateY(-4px); border-color:var(--red); color:var(--red); }
.ed-principle:hover h3::after{ width:30px; }
.ed-phil-cta{ margin-top:clamp(34px,3.8vw,48px); }

/* Staggered rise on the principle row (gated to scroll-timeline
   support so headless / reduced-motion never ship blank) */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .ed-principle{
      animation:ed-rise .7s var(--ease) both;
      animation-timeline:view(); animation-range:entry 2% cover 24%;
    }
    .ed-principle:nth-child(2){ animation-range:entry 6% cover 28%; }
    .ed-principle:nth-child(3){ animation-range:entry 10% cover 32%; }
    .ed-principle:nth-child(4){ animation-range:entry 14% cover 36%; }
  }
}

/* ============================================================
   Section heading block
   ============================================================ */
.ed-head{ max-width:64ch; margin-bottom:clamp(40px,4.6vw,64px); }
.ed-head h2{
  font-size:clamp(2.1rem,3.8vw,3.2rem); font-weight:600;
  letter-spacing:-.02em; line-height:1.06;
}
.ed-head-lede{
  margin-top:20px; font-size:clamp(1.05rem,1.2vw,1.2rem);
  color:var(--body-2); max-width:58ch; line-height:1.6;
}
.ed-head-cta{ margin-top:clamp(40px,4.4vw,58px); }

@keyframes ed-rise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

/* ============================================================
   3 · Comprehensive Primary Care, Specialty Support
   Primary care is the visual lead (large feature row), the
   specialties read as a clearly secondary supporting strip.
   ============================================================ */
.ed-care{ padding-block:var(--sec); background:var(--paper); }

/* Services grid — old editorial card style, Primary Care featured */
.ed-svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:1fr; gap:clamp(20px,2vw,30px); }
.ed-svc{ display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-1); text-decoration:none; transition:transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease); }
.ed-svc-photo{ margin:0; position:relative; overflow:hidden; aspect-ratio:16/10; background:var(--paper-2); }
.ed-svc-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-expo); }
.ed-svc-body{ display:flex; flex-direction:column; flex:1; padding:clamp(20px,2vw,28px) clamp(20px,2vw,26px) clamp(22px,2.1vw,28px); position:relative; }
.ed-svc-body h3{ font-size:1.34rem; font-weight:600; letter-spacing:-.012em; color:var(--navy); }
.ed-svc-body p{ margin-top:.6rem; font-size:.96rem; line-height:1.56; color:var(--body-2); padding-right:2.4rem; }
.ed-svc-go{ position:absolute; right:clamp(18px,2vw,24px); bottom:clamp(20px,2.1vw,26px); display:grid; place-items:center; width:34px; height:34px; border-radius:var(--r-pill); border:1px solid var(--line-2); color:var(--navy); background:var(--card); transition:background var(--med) var(--ease), color var(--med) var(--ease), border-color var(--med) var(--ease), transform var(--med) var(--ease); }
.ed-svc-go svg{ width:18px; height:18px; transition:transform var(--med) var(--ease); }
.ed-svc:hover{ transform:translateY(-5px); box-shadow:var(--sh-2); border-color:var(--line-2); }
.ed-svc:hover img{ transform:scale(1.05); }
.ed-svc:hover .ed-svc-go{ background:var(--red); border-color:var(--red); color:#fff; }
.ed-svc:hover .ed-svc-go svg{ transform:translateX(2px); }
.ed-svc:focus-visible{ box-shadow:var(--focus); }
/* Primary Care = featured 2x2 cell */
.ed-svc--lead{ grid-column:span 2; grid-row:span 2; }
.ed-svc--lead .ed-svc-photo{ aspect-ratio:auto; flex:none; height:clamp(320px,34vw,480px); }
.ed-svc--lead .ed-svc-body{ flex:1; }
.ed-svc--lead .ed-svc-body h3{ font-size:clamp(1.5rem,2.05vw,1.9rem); margin-top:.15rem; }
.ed-svc--lead .ed-svc-body p{ font-size:1.04rem; max-width:46ch; padding-right:0; }
.ed-svc-tag{ display:inline-flex; align-items:center; gap:.55em; font-family:"Figtree",sans-serif; font-weight:700; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--red-ink); margin-bottom:.7rem; }
.ed-svc-tag::before{ content:""; width:22px; height:2px; background:var(--red); border-radius:2px; }
@media (max-width:1024px){
  .ed-svc-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:auto; }
  .ed-svc--lead{ grid-column:span 2; grid-row:auto; }
  .ed-svc--lead .ed-svc-photo{ aspect-ratio:16/9; flex:none; min-height:0; }
  .ed-svc--lead .ed-svc-body{ flex:1; }
}
@media (max-width:560px){
  .ed-svc-grid{ grid-template-columns:1fr; }
  .ed-svc--lead{ grid-column:auto; }
}

/* --- Primary Care — the core (lead feature) --- */
.ed-core{
  display:grid; grid-template-columns:1.04fr .96fr;
  align-items:stretch;
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--sh-2);
  transition:transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) var(--ease);
}
.ed-core:focus-visible{ box-shadow:var(--focus); }
.ed-core:hover{ transform:translateY(-4px); box-shadow:var(--sh-3); border-color:var(--line-2); }
.ed-core-photo{
  margin:0; position:relative; overflow:hidden;
  min-height:340px; background:var(--paper-2);
}
.ed-core-photo img{
  width:100%; height:100%; object-fit:cover; object-position:center 30%;
  transition:transform .7s var(--ease-expo);
}
.ed-core:hover .ed-core-photo img{ transform:scale(1.04); }
.ed-core-body{
  display:flex; flex-direction:column; align-items:flex-start;
  padding:clamp(30px,3.6vw,56px);
}
.ed-core-tag{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:"Figtree",sans-serif; font-weight:600; font-size:.72rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--red-ink);
}
.ed-core-tag::before{
  content:""; width:26px; height:1.5px; background:var(--red); flex:none;
}
.ed-core-body h3{
  margin-top:16px;
  font-size:clamp(1.8rem,2.7vw,2.5rem); font-weight:600;
  letter-spacing:-.018em; line-height:1.08; color:var(--navy);
}
.ed-core-body p{
  margin-top:16px; max-width:46ch;
  font-size:clamp(1.04rem,1.1vw,1.16rem); line-height:1.6; color:var(--body);
}
.ed-core-go{
  margin-top:auto; padding-top:26px;
  display:inline-flex; align-items:center; gap:.5em;
  font-family:"Figtree",sans-serif; font-weight:600; font-size:1.02rem; color:var(--navy);
  transition:gap var(--fast) var(--ease), color var(--fast) var(--ease);
}
.ed-core-go svg{ width:1.1em; height:1.1em; transition:transform var(--fast) var(--ease); }
.ed-core:hover .ed-core-go{ color:var(--red-ink); gap:.72em; }
.ed-core:hover .ed-core-go svg{ transform:translateX(3px); }

/* --- Specialties — supporting strip --- */
.ed-support{ margin-top:clamp(34px,4vw,56px); }
.ed-support-lede{
  display:flex; align-items:center; gap:.85em;
  font-family:"Spectral",serif; font-style:italic; font-weight:500;
  font-size:clamp(1.06rem,1.3vw,1.28rem); color:var(--navy);
  letter-spacing:-.01em; line-height:1.3;
  margin-bottom:clamp(22px,2.4vw,30px);
}
.ed-support-rule{ width:34px; height:1.5px; background:var(--red); flex:none; }
.ed-support-grid{
  display:grid; grid-template-columns:repeat(5,1fr);
  gap:clamp(14px,1.4vw,20px);
}
.ed-support-item a{
  display:flex; flex-direction:column; gap:14px; height:100%;
  padding:clamp(18px,1.8vw,24px);
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r); box-shadow:var(--sh-1);
  transition:transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
             border-color var(--fast) var(--ease);
}
.ed-support-item a:hover{ transform:translateY(-3px); box-shadow:var(--sh-2); border-color:var(--line-2); }
.ed-support-item a:focus-visible{ box-shadow:var(--focus); }
.ed-support-ic{
  display:grid; place-items:center; flex:none;
  width:40px; height:40px; border-radius:var(--r-sm);
  background:var(--paper-2); color:var(--navy);
  border:1px solid var(--line-2);
  transition:background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.ed-support-ic svg{ width:21px; height:21px; }
.ed-support-item a:hover .ed-support-ic{ background:var(--navy); color:#ff8a80; border-color:var(--navy); }
.ed-support-txt{ display:flex; flex-direction:column; line-height:1.42; font-size:.88rem; color:var(--body-2); }
.ed-support-txt strong{
  font-family:"Spectral",serif; font-weight:600; color:var(--navy);
  font-size:1.12rem; letter-spacing:-.01em; line-height:1.18; margin-bottom:5px;
}

/* ============================================================
   4 · The Rockwell Story (teaser) — photo-led feature + pull-quote
   ============================================================ */
.ed-story{ padding-block:var(--sec); background:var(--paper-2); border-top:1px solid var(--line); }
.ed-story-in{
  display:grid; grid-template-columns:.96fr 1.04fr;
  gap:clamp(36px,5vw,84px); align-items:center;
}
.ed-story-photo{
  margin:0; position:relative;
  border-radius:var(--r-lg); overflow:hidden;
  aspect-ratio:1200 / 860;
  background:var(--card); box-shadow:var(--sh-2);
  border:1px solid rgba(255,255,255,.6);
}
.ed-story-photo::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(40,34,80,.07);
}
.ed-story-photo img{
  width:100%; height:100%; object-fit:cover; object-position:center;
  transition:transform .7s var(--ease-expo);
}
.ed-story-photo:hover img{ transform:scale(1.035); }
.ed-story-photo figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:14px 18px;
  font-size:.8rem; letter-spacing:.04em; color:var(--on-navy-2);
  background:linear-gradient(0deg, rgba(20,16,63,.82), rgba(20,16,63,.18) 70%, transparent);
}
.ed-story-copy{ max-width:54ch; }
.ed-story-copy h2{
  font-size:clamp(2.1rem,3.5vw,3.1rem); font-weight:600; letter-spacing:-.022em; line-height:1.06;
}
.ed-story-lede{
  margin-top:22px; color:var(--body); font-size:1.12rem; line-height:1.64; max-width:48ch;
}
.ed-story-quote{
  margin:clamp(26px,3vw,34px) 0 0;
  padding-left:22px; border-left:none; position:relative;
  font-family:"Spectral",serif; font-style:italic; font-weight:500;
  font-size:clamp(1.24rem,1.7vw,1.55rem); line-height:1.4;
  letter-spacing:-.006em; color:var(--navy); max-width:40ch;
  text-wrap:pretty;
}
.ed-story-quote::before{
  content:""; position:absolute; left:0; top:.32em; bottom:.32em;
  width:3px; border-radius:var(--r-pill); background:var(--red);
}
.ed-story-copy .ed-btn{ margin-top:clamp(26px,3vw,34px); }

@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .ed-story-photo,.ed-story-copy > *{
      animation:ed-rise .8s var(--ease) both;
      animation-timeline:view(); animation-range:entry 0% cover 26%;
    }
  }
}

/* ============================================================
   5 · Featured Patient Voice — navy editorial panel
   One large featured quote + a confident rating lockup, on the
   same deep-navy surface the editorial system uses elsewhere.
   ============================================================ */
.ed-voice{
  padding-block:var(--sec);
  background:linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-deeper) 100%);
  color:var(--on-navy);
}
.ed-voice-in{
  display:grid; grid-template-columns:1.25fr minmax(240px,.75fr);
  gap:clamp(40px,5.5vw,96px); align-items:center;
}

/* --- Featured quote --- */
.ed-voice-quote{ margin:0; position:relative; }
.ed-voice-mark{
  display:block; font-family:"Spectral",serif; font-weight:700; font-style:italic;
  font-size:5rem; line-height:.5; color:var(--red);
  margin-bottom:.18em; height:.6em;
}
.ed-voice-quote blockquote{
  margin:0; max-width:24ch;
  font-family:"Spectral",serif; font-style:italic; font-weight:400;
  font-size:clamp(1.7rem,3.2vw,2.8rem); line-height:1.24;
  letter-spacing:-.012em; color:var(--on-navy);
  text-wrap:balance;
}
.ed-voice-quote figcaption{
  margin-top:24px;
  font-family:"Figtree",sans-serif; font-weight:600;
  font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color:var(--on-navy-2);
  display:flex; align-items:center; gap:.7em;
}
.ed-voice-quote figcaption::before{
  content:""; width:24px; height:1.5px; background:var(--red); flex:none;
}

/* --- Rating lockup --- */
.ed-voice-rating{
  border-left:1px solid var(--on-navy-rule);
  padding-left:clamp(36px,4vw,64px);
}
.ed-voice-score{ display:flex; align-items:center; gap:20px; }
.ed-voice-num{
  font-family:"Spectral",serif; font-weight:700;
  font-size:clamp(3.6rem,6vw,5rem); line-height:.86;
  letter-spacing:-.04em; color:var(--on-navy);
}
.ed-voice-scoreside{ display:flex; flex-direction:column; gap:9px; }
.ed-voice-stars{ display:flex; gap:4px; }
.ed-voice-stars svg{ width:clamp(18px,1.7vw,22px); height:clamp(18px,1.7vw,22px); fill:#ff8a80; }
.ed-voice-lede{ max-width:26ch; font-size:.95rem; line-height:1.5; color:var(--on-navy-2); }
.ed-voice-lede strong{ color:var(--on-navy); font-weight:600; }

.ed-voice-locs{
  display:flex; gap:clamp(28px,3vw,44px);
  margin-top:clamp(26px,3vw,34px);
  padding-top:clamp(22px,2.4vw,30px);
  border-top:1px solid var(--on-navy-rule);
}
.ed-voice-loc dt{
  font-family:"Figtree",sans-serif; font-weight:600;
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:#ff8a80;
}
.ed-voice-loc dd{ margin:7px 0 0; }
.ed-voice-loc-num{
  font-family:"Spectral",serif; font-weight:700;
  font-size:1.7rem; letter-spacing:-.02em; color:var(--on-navy);
}
.ed-voice-rating .ed-textlink{ margin-top:clamp(26px,3vw,34px); }

/* ============================================================
   9 · Final CTA — full navy editorial closer
   ============================================================ */
.ed-final{
  background:
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deeper) 100%);
  color:var(--on-navy);
  padding-block:clamp(72px,9vw,128px);
}
/* hairline articulating the seam where the navy voice panel meets the
   navy closer, so the two dark surfaces read as deliberate, not a gradient seam */
.ed-voice + .ed-final{ border-top:1px solid var(--on-navy-rule); }
.ed-final-in{
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
  max-width:760px; margin-inline:auto;
}
.ed-final .ed-eyebrow{ justify-content:center; }
.ed-final h2{
  color:var(--on-navy); font-size:clamp(2.2rem,4.4vw,3.6rem); font-weight:600;
  letter-spacing:-.024em; line-height:1.05; max-width:20ch;
}
.ed-final p{ margin-top:20px; max-width:52ch; color:var(--on-navy-2); font-size:1.14rem; line-height:1.6; }
.ed-final-cta{ margin-top:40px; display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.ed-final-cta .ed-btn-red{ box-shadow:0 10px 30px rgba(224,39,28,.32); }

/* ---------- Light closing CTA band (copy left, CTAs right) ---------- */
.ed-close{
  padding-block:clamp(56px,7vw,104px);
  background:var(--paper-2);
  border-top:1px solid var(--line);
}
.ed-close-in{
  position:relative;
  display:grid; grid-template-columns:1.2fr auto;
  align-items:center; gap:clamp(28px,4vw,56px);
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--sh-2);
  padding:clamp(30px,4vw,56px);
}
.ed-close-rule{
  display:block; width:38px; height:2px; border-radius:2px;
  background:var(--red); margin-bottom:clamp(16px,1.8vw,22px);
}
.ed-close-copy h2{
  font-size:clamp(1.9rem,3.2vw,2.7rem); font-weight:600;
  letter-spacing:-.022em; line-height:1.06; color:var(--navy);
}
.ed-close-copy p{
  margin-top:14px; max-width:46ch;
  font-size:clamp(1.04rem,1.2vw,1.16rem); line-height:1.58; color:var(--body-2);
}
.ed-close-cta{ display:flex; flex-wrap:wrap; gap:14px; }
@media (max-width:1024px){
  .ed-close-in{ grid-template-columns:1fr; gap:clamp(24px,4vw,34px); }
}
@media (max-width:560px){
  .ed-close-cta{ width:100%; }
  .ed-close-cta .ed-btn{ flex:1 1 auto; justify-content:center; }
}

/* ============================================================
   Footer
   ============================================================ */
.ed-foot{
  background:var(--paper);
  border-top:1px solid var(--line);
}
.ed-foot-in{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.4fr);
  gap:clamp(40px,5vw,84px);
  padding-block:clamp(56px,6.4vw,92px);
}

/* LEFT · brand block */
.ed-foot-brand{ max-width:42ch; }
.ed-foot-logo{ height:42px; width:auto; }
.ed-foot-tag{
  margin-top:22px; font-family:"Spectral",serif; font-style:italic;
  color:var(--navy); font-size:1.32rem; font-weight:600; letter-spacing:-.01em;
}
.ed-foot-blurb{
  margin-top:12px; color:var(--body-2);
  font-size:.97rem; line-height:1.64; max-width:38ch;
}
.ed-foot-locs{
  margin-top:clamp(28px,3vw,36px);
  display:grid; grid-template-columns:1fr 1fr; gap:22px clamp(22px,2.4vw,34px);
}
.ed-foot-loc{ font-style:normal; display:flex; flex-direction:column; gap:6px; color:var(--body-2); }
.ed-foot-loc-name{
  font-family:"Figtree",sans-serif; color:var(--navy); font-weight:600;
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  display:flex; align-items:center; gap:8px;
}
.ed-foot-loc-name::before{
  content:""; width:7px; height:7px; border-radius:var(--r-pill); background:var(--red); flex:none;
}
.ed-foot-loc-addr{ font-size:.94rem; line-height:1.5; }
.ed-foot-loc-line{ display:flex; flex-direction:column; gap:4px; font-size:.94rem; margin-top:4px; }
.ed-foot-loc-line a{ color:var(--body); transition:color var(--fast) var(--ease); width:fit-content; border-radius:var(--r-xs); }
.ed-foot-loc-line a:hover{ color:var(--red-ink); }

.ed-foot-social{ margin-top:clamp(28px,3vw,34px); display:flex; gap:10px; }
.ed-foot-social a{
  display:grid; place-items:center; width:40px; height:40px;
  border-radius:var(--r-sm); color:var(--navy);
  background:transparent; border:1px solid var(--line-2);
  transition:background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.ed-foot-social svg{ width:18px; height:18px; }
.ed-foot-social a:hover{ background:var(--red); border-color:var(--red); color:#fff; transform:translateY(-2px); }

/* RIGHT · link columns */
.ed-foot-cols{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(26px,2.6vw,42px);
}
.ed-foot-col h2{
  font-family:"Figtree",sans-serif; font-size:.72rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--navy); margin-bottom:18px;
  padding-bottom:13px; border-bottom:1px solid var(--line-2);
}
.ed-foot-col{ display:flex; flex-direction:column; gap:13px; }
.ed-foot-col a{
  color:var(--body-2); font-size:.96rem; line-height:1.3;
  transition:color var(--fast) var(--ease); width:fit-content; border-radius:var(--r-xs);
}
.ed-foot-col a:hover{ color:var(--navy); }

.ed-foot-bar{ background:var(--paper-2); border-top:1px solid var(--line); }
.ed-foot-bar-in{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; padding-block:24px;
  font-size:.9rem; color:var(--body-2);
}
.ed-foot-bar nav{ display:flex; gap:clamp(18px,2.2vw,28px); flex-wrap:wrap; }
.ed-foot-bar a{ transition:color var(--fast) var(--ease); border-radius:var(--r-xs); }
.ed-foot-bar a:hover{ color:var(--navy); }

/* ============================================================
   Responsive — 1024 (tablet)
   ============================================================ */
@media (max-width:1024px){
  /* care philosophy → 2-up grid, ruled rows */
  .ed-principles{ grid-template-columns:repeat(2,1fr); border-top:1px solid var(--line-2); }
  .ed-principle{ padding:clamp(26px,3vw,34px) 0 0; }
  .ed-principle + .ed-principle{ border-inline-start:none; }
  .ed-principle:nth-child(2n){ border-inline-start:1px solid var(--line); padding-inline-start:clamp(28px,3.4vw,44px); }
  .ed-principle:nth-child(2n+1){ padding-inline-end:clamp(28px,3.4vw,44px); }
  .ed-principle:nth-child(3),
  .ed-principle:nth-child(4){ border-top:1px solid var(--line); margin-top:clamp(4px,1.2vw,14px); padding-top:clamp(26px,3vw,34px); }
  .ed-principle p{ max-width:30ch; }

  /* primary care feature stacks */
  .ed-core{ grid-template-columns:1fr; }
  .ed-core-photo{ min-height:0; aspect-ratio:16/9; }

  /* supporting specialties → wrap to 3-up auto-fit */
  .ed-support-grid{ grid-template-columns:repeat(3,1fr); }

  /* story stacks */
  .ed-story-in{ grid-template-columns:1fr; gap:clamp(30px,4vw,44px); }
  .ed-story-photo{ aspect-ratio:1200 / 720; }
  .ed-story-copy{ max-width:none; }
  .ed-story-lede{ max-width:64ch; }

  /* featured voice stacks; rating sits beneath the quote */
  .ed-voice-in{ grid-template-columns:1fr; gap:clamp(38px,5vw,52px); }
  .ed-voice-quote blockquote{ max-width:30ch; }
  .ed-voice-rating{ border-left:none; padding-left:0; border-top:1px solid var(--on-navy-rule); padding-top:clamp(30px,4vw,40px); }

  .ed-foot-in{ grid-template-columns:1fr; gap:clamp(40px,5vw,56px); }
  .ed-foot-brand{ max-width:none; }
  .ed-foot-blurb{ max-width:62ch; }
  .ed-foot-locs{ max-width:640px; }
}

/* ============================================================
   Responsive — 920 (hero stacks)
   ============================================================ */
@media (max-width:920px){
  .ed-hero-in{ grid-template-columns:1fr; gap:48px; }
  .ed-hero-copy{ max-width:none; }
  .ed-hero-sub{ max-width:54ch; }
  .ed-hero-art{ justify-self:stretch; max-width:none; margin-inline:auto; width:min(100%,500px); }
}

/* ============================================================
   Responsive — 760 (nav collapses)
   ============================================================ */
@media (max-width:760px){
  .ed-burger{ display:block; }
  .ed-nav{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--card); border-bottom:1px solid var(--line);
    box-shadow:var(--sh-2);
    padding:8px 0 14px; margin-left:0;
    clip-path:inset(0 0 100% 0);
    opacity:0; pointer-events:none;
    transition:clip-path var(--med) var(--ease), opacity var(--fast) var(--ease);
  }
  .ed-nav.open{ clip-path:inset(0 0 0 0); opacity:1; pointer-events:auto; }
  .ed-nav > a:not(.ed-btn){ padding:14px var(--gut); font-size:1.05rem; border-bottom:1px solid var(--line); }
  .ed-nav > a:not(.ed-btn)::after{ display:none; }
  .ed-nav-cta{ margin:14px var(--gut) 4px; justify-content:center; }

  /* supporting specialties → 2-up at narrow tablet */
  .ed-support-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ============================================================
   Responsive — 560 (phone, 390 target)
   ============================================================ */
@media (max-width:560px){
  :root{ --gut:22px; }
  .ed-hero{ overflow:visible; }
  .ed-hero h1{ font-size:clamp(2.3rem,9.5vw,2.9rem); }
  .ed-hero-in{ padding-block:44px 70px; }
  .ed-hero-badge{ left:50%; transform:translateX(-50%); bottom:-24px; width:max-content; max-width:calc(100% - 24px); }

  /* care philosophy → single column, horizontal rules */
  .ed-principles{ grid-template-columns:1fr; border-top:1px solid var(--line-2); }
  .ed-principle,
  .ed-principle + .ed-principle,
  .ed-principle:nth-child(2n),
  .ed-principle:nth-child(2n+1){
    border-inline-start:none; padding-inline:0;
  }
  .ed-principle{ padding:clamp(22px,5vw,28px) 0 0; }
  .ed-principle + .ed-principle{ border-top:1px solid var(--line); }
  .ed-principle:first-child{ padding-top:clamp(26px,5vw,32px); }
  .ed-principle h3{ min-height:0; }
  .ed-principle p{ max-width:54ch; min-height:0; }

  /* supporting specialties → single column */
  .ed-support-grid{ grid-template-columns:1fr; }

  .ed-voice-num{ font-size:clamp(3.2rem,16vw,4.2rem); }
  .ed-voice-quote blockquote{ font-size:clamp(1.5rem,7vw,2rem); max-width:none; }
  .ed-voice-mark{ font-size:4rem; }
  .ed-voice-locs{ gap:clamp(26px,8vw,40px); }

  .ed-foot-locs{ grid-template-columns:1fr; gap:20px; }
  .ed-foot-cols{ grid-template-columns:1fr 1fr; gap:30px clamp(18px,5vw,28px); }
  .ed-foot-col:last-child{ grid-column:1 / -1; }

  .ed-final-cta .ed-btn{ width:100%; justify-content:center; }
  .ed-hero-cta .ed-btn{ flex:1 1 auto; justify-content:center; }
}

@media (max-width:400px){
  .ed-brand img{ height:34px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .ed-btn:hover,.ed-core:hover,.ed-support-item a:hover,
  .ed-foot-social a:hover{ transform:none; }
  .ed-btn:hover svg,.ed-core:hover .ed-core-photo img,.ed-story-photo:hover img{ transform:none; }
  .ed-textlink:hover,.ed-core:hover .ed-core-go{ gap:.5em; }
  .ed-textlink:hover svg,.ed-core:hover .ed-core-go svg{ transform:none; }
  /* reveal already gated to no-preference; neutralize defensively */
  .ed-principle,.ed-story-photo,.ed-story-copy > *{ animation:none; opacity:1; transform:none; }
  .ed-nav{ transition:none; }
}
