/* =============================================================================
   Sarah Skin MD — Design System
   Britannia Navy · Royal Standard Red · Civil Service Grey · Parchment White
   Libre Baskerville (display) · Inter (body)
   ============================================================================= */

/* ---- Design tokens ---- */
:root {
  /* Brand palette */
  --navy:        #002147;
  --navy-700:    #073056;
  --navy-600:    #163f64;
  --red:         #CF142B;
  --red-700:     #a8101f;
  --grey:        #6B7280;
  --grey-300:    #9aa1ab;
  --charcoal:    #2C2C2C;
  --parchment:   #F5F2EC;
  --parchment-2: #efeae0;
  --white:       #ffffff;
  --line:        #e3ddd1;        /* hairline on parchment */
  --line-navy:   rgba(255,255,255,.14);
  --gold:        #b08d57;        /* subtle accolade accent */

  /* Typography */
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --fs-h1:      clamp(2.1rem, 1.3rem + 3vw, 3.5rem);
  --fs-h2:      clamp(1.7rem, 1.15rem + 2vw, 2.6rem);
  --fs-h3:      clamp(1.3rem, 1.05rem + 1vw, 1.7rem);
  --fs-h4:      1.15rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.12rem, 1rem + .5vw, 1.35rem);
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing / layout */
  --container: 1200px;
  --container-narrow: 760px;
  --container-mid: 960px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 7vw, 7rem);
  --radius: 4px;
  --radius-lg: 8px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,33,71,.06), 0 1px 3px rgba(0,33,71,.05);
  --shadow:    0 10px 30px -12px rgba(0,33,71,.18), 0 4px 10px -6px rgba(0,33,71,.10);
  --shadow-lg: 0 30px 60px -25px rgba(0,33,71,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-color: rgba(0,33,71,.25); text-underline-offset: 3px; }
a:hover { color: var(--red); }
strong { font-weight: 600; color: var(--navy); }
::selection { background: var(--navy); color: var(--parchment); }

h1,h2,h3,h4,h5 { font-family: var(--serif); font-weight: 700; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.container.mid    { max-width: var(--container-mid); }
.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bg-parchment-2 { background: var(--parchment-2); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--parchment); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.center { text-align: center; }
.measure { max-width: 64ch; }
.mx-auto { margin-inline: auto; }

/* Eyebrow / kicker */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); display: inline-block; }
.eyebrow.center { display: flex; justify-content: center; }
.bg-navy .eyebrow { color: #e7b3ba; }
.bg-navy .eyebrow::before { background: #e7b3ba; }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem,4vw,3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .6rem; }
.section-head p { color: var(--grey); font-size: var(--fs-lead); margin-top: 1rem; }
.bg-navy .section-head p { color: #c9d2dd; }

.lead { font-size: var(--fs-lead); color: var(--grey); line-height: 1.6; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  font-family: var(--sans);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: 2px;
  cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); background: var(--navy-600); border-color: var(--navy-600); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-red { --btn-bg: var(--red); --btn-bd: var(--red); }
.btn-red:hover { background: var(--red-700); border-color: var(--red-700); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-on-navy { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn-on-navy:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn-lg { padding: 1.05em 2em; font-size: 1rem; }
.btn-sm { padding: .65em 1.1em; font-size: .85rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; color: var(--navy); }
.link-arrow .arr { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ============================================================================
   HEADER / NAV
   ============================================================================ */
.topbar {
  background: var(--navy); color: #cdd6e1;
  font-size: var(--fs-xs); letter-spacing: .02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; padding-block: .35rem; }
.topbar a { color: #e7ecf2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 1.4rem; align-items: center; }
.topbar .tb-right { display: flex; gap: 1.2rem; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45em; }
.topbar .dot { color: var(--red); }
.topbar .tb-item { white-space: nowrap; }
@media (max-width: 760px){ .topbar .tb-left .hide-sm { display:none; } }
@media (max-width: 600px){
  .topbar { font-size: .7rem; }
  .topbar .container { justify-content: center; min-height: 34px; }
  .topbar .tb-right { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,242,236,.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
/* NOTE: no backdrop-filter here on purpose — it would create a containing block
   that traps the position:fixed mobile menu inside the header. */
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(245,242,236,.985); }
@supports (backdrop-filter: blur(10px)) {
  /* Re-enable the glass blur only above the mobile-nav breakpoint, where
     .nav-links is not position:fixed and the containing block is harmless. */
  @media (min-width: 941px) {
    .site-header { background: rgba(245,242,236,.82); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
    .site-header.scrolled { background: rgba(245,242,236,.92); }
  }
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }
.brand { display: inline-flex; align-items: baseline; gap: 0; text-decoration: none; font-family: var(--serif); font-weight: 700;
  font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; color: var(--navy); }
.brand .dot { color: var(--red); }
.brand:hover { color: var(--navy); }
.brand small { display:block; }
.brand-lockup { display:flex; flex-direction: column; gap: 3px; text-decoration:none; }
.brand-lockup .tag { font-family: var(--sans); font-size: .58rem; letter-spacing: .19em; text-transform: uppercase; color: var(--grey); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.9rem); list-style: none; }
.nav-links a { font-family: var(--sans); font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--navy);
  position: relative; padding-block: .4rem; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--red); transition: width .28s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .9rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; color: var(--navy); }
.nav-toggle span { display:block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    background: var(--navy); flex-direction: column; align-items: flex-start; gap: .25rem;
    padding: 8rem 2rem 2rem; transform: translateX(100%); transition: transform .38s var(--ease);
    box-shadow: var(--shadow-lg); z-index: 90; overflow-y:auto;
  }
  .nav-links a { color: #f3f4f6; font-size: 1.15rem; font-family: var(--serif); width:100%; padding-block: .7rem; border-bottom: 1px solid var(--line-navy); }
  .nav-links a::after { display:none; }
  /* On the navy slide-out panel, keep hover/current links light instead of navy-on-navy */
  .nav-links a:hover { color: #fff; }
  .nav-links a[aria-current="page"] { color: var(--red); }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-cta .btn { display: none; }
  .nav-backdrop { position: fixed; inset:0; background: rgba(0,16,35,.5); opacity:0; visibility:hidden; transition: opacity .3s; z-index: 80; }
  .nav-open .nav-backdrop { opacity:1; visibility: visible; }
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; background: var(--navy); color: var(--parchment); overflow: hidden; }
.hero::before { /* subtle radial sheen */
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(207,20,43,.16), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(255,255,255,.06), transparent 55%);
  pointer-events:none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.hero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.04; }
.hero h1 .accent { color: #f4b9c0; font-style: italic; font-weight: 400; }
.hero p.lead { color: #cdd6e1; max-width: 52ch; margin-top: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-credible { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-navy);
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; }
.hero-credible .hc { display:flex; flex-direction: column; }
.hero-credible .hc b { font-family: var(--serif); font-size: 1.6rem; color:#fff; line-height: 1; }
.hero-credible .hc span { font-size: var(--fs-xs); color: #aebccb; letter-spacing: .04em; margin-top: .35rem; }

/* Portrait frame (placeholder for headshot) */
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  background: linear-gradient(160deg, #0a2b50, #06213f);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
}
.portrait img { width:100%; height:100%; object-fit: cover; }
.portrait .ph-monogram { position:absolute; inset:0; display:grid; place-items:center; }
.portrait .ph-note { position:absolute; left:0; right:0; bottom:0; text-align:center; font-size: var(--fs-xs);
  color: rgba(255,255,255,.5); padding: .6rem; background: linear-gradient(transparent, rgba(0,0,0,.4)); }
.portrait-badge {
  position: absolute; right: -14px; bottom: 24px; background: var(--parchment); color: var(--navy);
  border-radius: 2px; padding: .7rem 1rem; box-shadow: var(--shadow); display:flex; align-items:center; gap:.7rem;
  border-left: 3px solid var(--red);
}
.portrait-badge svg { color: var(--red); flex-shrink:0; }
.portrait-badge b { font-family: var(--serif); display:block; font-size: 1rem; line-height:1.1; }
.portrait-badge span { font-size: var(--fs-xs); color: var(--grey); }

@media (max-width: 880px){
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 380px; }
}

/* ============================================================================
   AS FEATURED IN
   ============================================================================ */
.featured-strip { border-block: 1px solid var(--line); background: var(--parchment); }
.featured-strip .container { padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.featured-strip .fl-label { text-align:center; font-size: var(--fs-xs); letter-spacing: .26em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.1rem; }
.featured-logos { display:flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 4vw, 3.2rem); }
.featured-logos span { font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.45rem); color: var(--navy); opacity: .62;
  letter-spacing: .02em; transition: opacity .25s; white-space: nowrap; }
.featured-logos span.ital { font-style: italic; }
.featured-logos span.upper { font-family: var(--sans); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(.8rem,1vw,1rem); }
.featured-logos span:hover { opacity: 1; }

/* ============================================================================
   STATS
   ============================================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bg-navy .stats { background: var(--line-navy); border-color: var(--line-navy); }
.stat { background: var(--parchment); padding: clamp(1.4rem,3vw,2.2rem) 1.2rem; text-align: center; }
.bg-navy .stat { background: var(--navy); }
.stat b { display:block; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); color: var(--navy); line-height: 1; }
.bg-navy .stat b { color: #fff; }
.stat b .unit { color: var(--red); }
.stat span { display:block; margin-top: .6rem; font-size: var(--fs-sm); color: var(--grey); letter-spacing: .02em; }
.bg-navy .stat span { color: #b8c4d2; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }

/* ============================================================================
   GRID + CARDS
   ============================================================================ */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px){ .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; height: 100%;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6cfc0; }
.card .icon { width: 46px; height: 46px; display:grid; place-items:center; border-radius: 3px; background: var(--parchment-2); color: var(--navy); margin-bottom: 1.1rem; }
.card .icon.red { color: var(--red); }
.card h3, .card h4 { color: var(--navy); }
.card p { color: var(--grey); font-size: var(--fs-sm); margin-top: .6rem; }
.card .card-foot { margin-top: auto; padding-top: 1.1rem; }

/* Feature / value cards with top rule */
.feature { border-top: 3px solid var(--navy); }
.feature.red { border-top-color: var(--red); }

/* Category cards (reviews hub) */
.cat-card { position: relative; text-decoration: none; display:flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px; padding: 1.5rem; border-radius: var(--radius); overflow: hidden; color:#fff;
  background: var(--navy); border: 1px solid var(--navy); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cat-card::after { content:""; position:absolute; inset:0; background: linear-gradient(160deg, rgba(0,33,71,.15), rgba(0,33,71,.85)); z-index:0; }
.cat-card > * { position: relative; z-index: 1; }
.cat-card .cat-ico { position:absolute; top: 1.2rem; right: 1.2rem; opacity: .5; z-index:1; }
.cat-card h3 { color:#fff; font-size: 1.3rem; }
.cat-card p { color: rgba(255,255,255,.78); font-size: var(--fs-xs); margin-top: .3rem; }
.cat-card .count { font-size: var(--fs-xs); color: #f4b9c0; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color:#fff; }

/* Post cards (journal) */
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  display:flex; flex-direction: column; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); text-decoration:none; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; position: relative; display:grid; place-items:center; overflow:hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-600)); color: rgba(255,255,255,.85); }
.post-thumb.alt { background: linear-gradient(150deg, #3a2b34, #5a2230); }
.post-thumb.alt2 { background: linear-gradient(150deg, #14324f, #0a223c); }
.post-thumb .kic { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; }
.post-thumb img { width:100%; height:100%; object-fit: cover; position:absolute; inset:0; }
.post-card .pc-body { padding: 1.3rem 1.4rem 1.5rem; display:flex; flex-direction:column; flex:1; }
.post-card .tag { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.post-card h3 { color: var(--navy); font-size: 1.22rem; margin-top: .5rem; line-height: 1.2; }
.post-card p { color: var(--grey); font-size: var(--fs-sm); margin-top: .55rem; }
.post-card .pc-meta { margin-top: auto; padding-top: 1rem; font-size: var(--fs-xs); color: var(--grey); display:flex; gap: .8rem; align-items:center; }
.post-card .pc-meta .dotsep::before { content:"·"; margin-right:.8rem; }

/* ============================================================================
   CREDENTIALS / LISTS
   ============================================================================ */
.cred-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem 2.5rem; }
@media (max-width: 700px){ .cred-grid { grid-template-columns: 1fr; } }
.cred-item { display:flex; gap: 1rem; align-items:flex-start; }
.cred-item .ci-ico { flex-shrink:0; width: 40px; height:40px; border-radius: 50%; display:grid; place-items:center;
  background: var(--parchment-2); color: var(--navy); border: 1px solid var(--line); }
.cred-item h4 { color: var(--navy); }
.cred-item p { color: var(--grey); font-size: var(--fs-sm); margin-top: .15rem; }

.ticklist { list-style: none; display:grid; gap: .85rem; }
.ticklist li { position: relative; padding-left: 2rem; color: var(--charcoal); }
.ticklist li::before { content:""; position:absolute; left:0; top: .15em; width: 1.25rem; height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CF142B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; }
.bg-navy .ticklist li { color:#dfe6ee; }

/* ============================================================================
   TIMELINE (training / career)
   ============================================================================ */
.timeline { position: relative; margin-left: .5rem; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-left: 2.4rem; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position:absolute; left: 0; top: 5px; width: 16px; height:16px; border-radius:50%;
  background: var(--parchment); border: 3px solid var(--navy); }
.tl-item.red::before { border-color: var(--red); }
.tl-year { font-family: var(--sans); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .12em; color: var(--red); }
.tl-item h4 { margin-top: .15rem; color: var(--navy); }
.tl-item p { color: var(--grey); font-size: var(--fs-sm); margin-top: .15rem; }

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,2.5vw,2.2rem);
  display:flex; flex-direction:column; height:100%; }
.testi .stars { color: var(--red); letter-spacing: 2px; font-size: .95rem; }
.testi blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--navy); margin-top: 1rem; }
.testi .who { margin-top: auto; padding-top: 1.3rem; font-size: var(--fs-sm); color: var(--grey); }
.testi .who b { color: var(--navy); display:block; font-family: var(--sans); }

/* Pull quote (articles) */
.pullquote { border-left: 3px solid var(--red); padding: .4rem 0 .4rem 1.5rem; margin: 2rem 0;
  font-family: var(--serif); font-size: clamp(1.25rem,2vw,1.6rem); line-height: 1.4; color: var(--navy); font-style: italic; }
.pullquote cite { display:block; font-style: normal; font-family: var(--sans); font-size: var(--fs-sm); color: var(--grey); margin-top: .8rem; }

/* ============================================================================
   SCORES / RUBRIC / RATINGS
   ============================================================================ */
.score-badge { display:inline-flex; align-items: baseline; gap:.15rem; font-family: var(--serif); font-weight: 700;
  background: var(--navy); color:#fff; padding:.5rem .8rem; border-radius: 3px; line-height:1; }
.score-badge b { font-size: 1.6rem; }
.score-badge span { font-size: .85rem; opacity:.7; }
.score-badge.editors { background: var(--red); }

.score-ring { --val: 88; width: 92px; height:92px; border-radius:50%; display:grid; place-items:center; flex-shrink:0;
  background: conic-gradient(var(--red) calc(var(--val)*1%), var(--line) 0); position:relative; }
.score-ring::before { content:""; position:absolute; inset:8px; border-radius:50%; background: var(--white); }
.score-ring span { position: relative; font-family: var(--serif); font-weight:700; font-size: 1.5rem; color: var(--navy); }
.score-ring small { position:relative; font-size:.6rem; color:var(--grey); }

.rubric { width:100%; border-collapse: collapse; }
.rubric th, .rubric td { text-align:left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.rubric th { font-family: var(--sans); color: var(--navy); font-weight: 600; }
.rubric .bar { height: 7px; background: var(--parchment-2); border-radius: 99px; overflow:hidden; min-width: 90px; }
.rubric .bar i { display:block; height:100%; background: var(--navy); border-radius:99px; }
.rubric td.num { font-family: var(--serif); font-weight:700; color: var(--navy); text-align:right; }

.badge { display:inline-flex; align-items:center; gap:.4em; font-size: var(--fs-xs); font-weight:600; letter-spacing:.06em;
  text-transform: uppercase; padding:.35em .7em; border-radius: 99px; background: var(--parchment-2); color: var(--navy); border:1px solid var(--line); }
.badge.red { background: rgba(207,20,43,.08); color: var(--red); border-color: rgba(207,20,43,.25); }
.badge.navy { background: var(--navy); color:#fff; border-color: var(--navy); }
.badge.gold { background: rgba(176,141,87,.12); color: var(--gold); border-color: rgba(176,141,87,.3); }

/* Product review block (in articles) */
.product { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; margin: 2rem 0; }
.product-head { display:flex; gap:1.2rem; align-items:flex-start; padding: 1.4rem 1.5rem; border-bottom:1px solid var(--line); background: var(--parchment); }
.product-head .rank { font-family: var(--serif); font-weight:700; font-size: 2rem; color: var(--red); line-height:1; flex-shrink:0; min-width: 1.4em; }
.product-head .ph-main { flex:1; }
.product-head .ph-main .badge { margin-bottom:.5rem; }
.product-head h3 { font-size: 1.3rem; }
.product-head .brand-name { font-size: var(--fs-sm); color: var(--grey); }
.product-head .price { font-family: var(--sans); font-weight:600; color: var(--navy); white-space:nowrap; }
.product-body { padding: 1.4rem 1.5rem; }
.product-body p { font-size: var(--fs-sm); }
.pros-cons { display:grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.2rem 0; }
@media (max-width:560px){ .pros-cons { grid-template-columns:1fr; } }
.pros-cons h5 { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing:.1em; text-transform: uppercase; margin-bottom:.6rem; }
.pros h5 { color: #1c7a4a; } .cons h5 { color: var(--red); }
.pros-cons ul { list-style:none; display:grid; gap:.5rem; }
.pros-cons li { font-size: var(--fs-sm); padding-left: 1.4rem; position:relative; color: var(--charcoal); }
.pros li::before { content:"+"; position:absolute; left:0; color:#1c7a4a; font-weight:700; }
.cons li::before { content:"–"; position:absolute; left:0; color: var(--red); font-weight:700; }

/* Comparison table */
.table-wrap { overflow-x:auto; margin: 1.5rem 0; border:1px solid var(--line); border-radius: var(--radius); }
table.compare { width:100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 540px; }
table.compare th, table.compare td { padding: .85rem 1rem; text-align:left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--navy); color:#fff; font-family: var(--sans); font-weight:600; letter-spacing:.02em; position:sticky; top:0; }
table.compare tbody tr:nth-child(even) { background: var(--parchment); }
table.compare .num { font-family: var(--serif); font-weight:700; color: var(--navy); }
table.compare td:first-child { font-weight:600; color: var(--navy); }

/* ============================================================================
   CALLOUTS / DISCLOSURE
   ============================================================================ */
.callout { border:1px solid var(--line); border-left: 3px solid var(--navy); background: var(--white); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin: 1.8rem 0; }
.callout.red { border-left-color: var(--red); }
.callout .co-label { font-size: var(--fs-xs); letter-spacing:.12em; text-transform: uppercase; font-weight:700; color: var(--navy); display:flex; align-items:center; gap:.5em; }
.callout.red .co-label { color: var(--red); }
.callout p { font-size: var(--fs-sm); margin-top:.5rem; color: var(--charcoal); }
.disclosure { background: var(--parchment-2); border:1px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.2rem;
  font-size: var(--fs-xs); color: var(--grey); margin: 1.5rem 0; }
.disclosure strong { color: var(--navy); }

/* ============================================================================
   AUTHOR BOX
   ============================================================================ */
.author-box { display:flex; gap:1.3rem; align-items:flex-start; background: var(--white); border:1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; margin: 2.5rem 0; }
.author-box .ab-photo { width:74px; height:74px; border-radius:50%; flex-shrink:0; overflow:hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-600)); display:grid; place-items:center; color:#fff; font-family:var(--serif); }
.author-box .ab-photo img { width:100%; height:100%; object-fit:cover; }
.author-box h4 { color: var(--navy); }
.author-box .ab-role { font-size: var(--fs-xs); color: var(--red); letter-spacing:.08em; text-transform:uppercase; font-weight:600; }
.author-box p { font-size: var(--fs-sm); color: var(--grey); margin-top:.5rem; }

/* ============================================================================
   BREADCRUMB + ARTICLE HEADER
   ============================================================================ */
.crumbs { font-size: var(--fs-xs); color: var(--grey); letter-spacing:.03em; display:flex; gap:.5rem; flex-wrap:wrap; }
.crumbs a { text-decoration:none; color: var(--grey); }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: var(--line); }
.bg-navy .crumbs, .bg-navy .crumbs a { color:#aebccb; }

.article-hero { background: var(--navy); color: var(--parchment); }
.article-hero .container { padding-block: clamp(2.5rem,5vw,4.5rem); }
.article-hero .tag { color:#f4b9c0; font-weight:600; letter-spacing:.14em; text-transform:uppercase; font-size: var(--fs-xs); }
.article-hero h1 { color:#fff; margin: 1rem 0; max-width: 22ch; }
.article-hero .a-meta { display:flex; gap:1.2rem; flex-wrap:wrap; align-items:center; font-size: var(--fs-sm); color:#cdd6e1; margin-top:1rem; }
.article-hero .a-meta .by { color:#fff; font-weight:600; }

/* ============================================================================
   PROSE (article body)
   ============================================================================ */
.prose { font-size: 1.12rem; line-height: 1.8; color: var(--charcoal); }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 { font-size: clamp(1.6rem,2.4vw,2.1rem); margin-top: 2.6rem; }
.prose h3 { font-size: clamp(1.3rem,1.8vw,1.55rem); margin-top: 2rem; }
.prose h2 + p, .prose h3 + p { margin-top: 1rem; }
.prose p > a { font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3rem; display:grid; gap:.6rem; }
.prose li { padding-left:.3rem; }
.prose li::marker { color: var(--red); }
.prose img { border-radius: var(--radius); border:1px solid var(--line); margin-block: 1.5rem; }
.prose figcaption { font-size: var(--fs-xs); color: var(--grey); text-align:center; margin-top:.5rem; }
.prose hr { border:0; border-top:1px solid var(--line); margin: 2.5rem 0; }
.prose .first-letter::first-letter { font-family: var(--serif); font-size: 3.4em; float:left; line-height:.8; padding: .05em .12em 0 0; color: var(--navy); }
.toc { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.5rem 0 2rem; }
.toc strong { font-size: var(--fs-xs); letter-spacing:.12em; text-transform:uppercase; color: var(--navy); }
.toc ol { margin-top:.7rem; padding-left:1.2rem; display:grid; gap:.4rem; font-size: var(--fs-sm); }
.toc a { text-decoration:none; color: var(--navy); }
.toc a:hover { color: var(--red); }

/* article layout w/ sidebar */
.article-wrap { display:grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(2rem,4vw,4rem); align-items:start; }
.article-main { min-width: 0; }
.article-aside { position: sticky; top: 100px; display:grid; gap:1.5rem; }
@media (max-width: 940px){ .article-wrap { grid-template-columns: 1fr; } .article-aside { position: static; } }
.aside-card { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.aside-card h4 { color: var(--navy); margin-bottom:.8rem; }
.aside-card .ac-list { list-style:none; display:grid; gap:.8rem; }
.aside-card .ac-list a { text-decoration:none; font-size: var(--fs-sm); color: var(--navy); display:block; line-height:1.35; }
.aside-card .ac-list a:hover { color: var(--red); }
.aside-card .ac-list .tag { font-size: var(--fs-xs); color: var(--red); text-transform:uppercase; letter-spacing:.08em; font-weight:600; }

/* ============================================================================
   FAQ ACCORDION
   ============================================================================ */
.faq { border-top:1px solid var(--line); }
.faq details { border-bottom:1px solid var(--line); }
.faq summary { cursor:pointer; list-style:none; padding: 1.3rem 0; display:flex; justify-content:space-between; gap:1rem; align-items:center;
  font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-weight:700; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pm { flex-shrink:0; width:24px; height:24px; position:relative; transition: transform .3s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; background: var(--red); border-radius:2px; }
.faq summary .pm::before { left:0; right:0; top:11px; height:2px; }
.faq summary .pm::after { top:0; bottom:0; left:11px; width:2px; transition: transform .3s var(--ease); }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details > div { padding: 0 0 1.4rem; color: var(--grey); font-size: var(--fs-body); max-width: 70ch; }

/* ============================================================================
   CTA BAND
   ============================================================================ */
.cta-band { background: var(--navy); color: var(--parchment); position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 400px at 90% 0%, rgba(207,20,43,.18), transparent 60%); }
.cta-band .container { position:relative; text-align:center; }
.cta-band h2 { color:#fff; max-width: 22ch; margin-inline:auto; }
.cta-band p { color:#cdd6e1; max-width: 56ch; margin: 1rem auto 0; font-size: var(--fs-lead); }
.cta-band .cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-top:2rem; }

/* split CTA */
.split { display:grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px){ .split { grid-template-columns:1fr; } }
.split .s-cell { padding: clamp(2.5rem,5vw,4.5rem) var(--gutter); }
.split .s-cell:first-child { border-right: 1px solid var(--line-navy); }
@media (max-width:760px){ .split .s-cell:first-child { border-right:0; border-bottom:1px solid var(--line-navy); } }

/* ============================================================================
   FORMS
   ============================================================================ */
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width:600px){ .form-grid { grid-template-columns:1fr; } }
.field label { display:block; font-size: var(--fs-sm); font-weight:600; color: var(--navy); margin-bottom:.4rem; }
.field input, .field select, .field textarea {
  width:100%; font-family: var(--sans); font-size: var(--fs-body); color: var(--charcoal);
  background: var(--white); border:1px solid var(--line); border-radius: 3px; padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,33,71,.1); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: var(--fs-xs); color: var(--grey); margin-top:.35rem; }
.form-note { font-size: var(--fs-xs); color: var(--grey); }

/* Info row (contact details) */
.info-row { display:flex; gap:1rem; align-items:flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom:0; }
.info-row .ir-ico { flex-shrink:0; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background: var(--parchment-2); color: var(--navy); }
.info-row h4 { color: var(--navy); }
.info-row p, .info-row a { color: var(--grey); font-size: var(--fs-sm); text-decoration:none; }
.info-row a:hover { color: var(--red); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { background: var(--navy); color: #b9c5d3; font-size: var(--fs-sm); }
.footer-top { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem,5vw,4.5rem); }
@media (max-width: 880px){ .footer-top { grid-template-columns: 1fr 1fr; gap:2rem; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color:#fff; font-size: 1.5rem; }
.footer-brand .brand .dot { color: var(--red); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; color:#9fb0c1; }
.footer-col h5 { color:#fff; font-family: var(--sans); font-size: var(--fs-xs); letter-spacing:.14em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer-col ul { list-style:none; display:grid; gap:.7rem; }
.footer-col a { color:#b9c5d3; text-decoration:none; }
.footer-col a:hover { color:#fff; }
.footer-badges { display:flex; gap:.6rem; flex-wrap:wrap; margin-top:1.2rem; }
.footer-badges .fb { font-size: var(--fs-xs); border:1px solid var(--line-navy); border-radius:3px; padding:.4rem .6rem; color:#cfd9e4; }
.footer-bottom { border-top:1px solid var(--line-navy); padding-block:1.5rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; align-items:center; }
.footer-bottom .fb-links { display:flex; gap:1.2rem; flex-wrap:wrap; }
.footer-bottom a { color:#9fb0c1; text-decoration:none; font-size: var(--fs-xs); }
.footer-bottom a:hover { color:#fff; }
.footer-bottom .copy { font-size: var(--fs-xs); color:#8497ab; }
.footer-disclaimer { font-size: var(--fs-xs); color:#7d8fa3; max-width: 90ch; line-height:1.6; padding-bottom: 2rem; }

/* ============================================================================
   SPLIT MEDIA (about/practice two-col)
   ============================================================================ */
.media-split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.media-split.rev .ms-text { order: 2; }
@media (max-width: 860px){ .media-split { grid-template-columns:1fr; } .media-split.rev .ms-text { order: 0; } }
.media-frame { aspect-ratio: 4/3; border-radius: var(--radius); overflow:hidden; background: linear-gradient(150deg,#0a2b50,#06213f);
  border:1px solid var(--line); box-shadow: var(--shadow); position:relative; display:grid; place-items:center; }
.media-frame img { width:100%; height:100%; object-fit:cover; }
.media-frame .ph-note { position:absolute; bottom:.6rem; left:0; right:0; text-align:center; font-size:var(--fs-xs); color: rgba(255,255,255,.5); }

/* ============================================================================
   MONOGRAM CREST
   ============================================================================ */
.crest { display:inline-grid; place-items:center; }

/* ============================================================================
   ADVERTORIAL / RANKED REVIEW
   ============================================================================ */
.trust-badges { display:flex; flex-wrap:wrap; gap:.7rem 1.8rem; }
.trust-badges.center { justify-content:center; }
.trust-badge { display:inline-flex; align-items:center; gap:.5em; font-size:.95rem; font-weight:600; letter-spacing:.01em; }
.bg-navy .trust-badge, .article-hero .trust-badge { color:#e7ecf2; }
.trust-badge svg { color:#5cc28d; flex-shrink:0; }
.stars { color: var(--red); letter-spacing: 2px; font-size: 1rem; line-height:1; display:inline-block; }
.rating { font-family: var(--serif); font-weight:700; color: var(--navy); }
.rating .out { color: var(--grey); font-weight:400; font-size:.82em; }

.rank-box { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem,2.4vw,1.9rem); box-shadow: var(--shadow-sm); }
.rank-box > h3 { font-size: 1.25rem; margin-bottom:.4rem; }
.rank-list { display:flex; flex-direction:column; margin-top:.6rem; }
.rank-item { display:flex; align-items:center; gap:1.1rem; padding:1.05rem 0; border-bottom:1px solid var(--line); }
.rank-item:last-child { border-bottom:0; }
.rank-item .rk-num { font-family: var(--serif); font-weight:700; font-size:1.6rem; color: var(--red); width:1.1em; flex-shrink:0; text-align:center; }
.rank-item .rk-main { flex:1; min-width:0; }
.rank-item .rk-main b { font-family: var(--sans); font-weight:600; color: var(--navy); display:block; font-size:1.05rem; line-height:1.25; }
.rank-item .rk-rate { display:flex; align-items:center; gap:.6rem; margin-top:.3rem; flex-wrap:wrap; }
.rank-item .rk-rate .rating { font-size:.9rem; }
.rank-item .rk-flag { font-size: var(--fs-xs); font-weight:600; letter-spacing:.05em; text-transform:uppercase; color: var(--red); }
.rank-item .rk-cta { flex-shrink:0; }
@media (max-width:560px){ .rank-item { flex-wrap:wrap; } .rank-item .rk-cta { width:100%; } .rank-item .rk-cta .btn { width:100%; } }

/* product header used in advertorial — stars/rating/CTA on the right */
.product-head .ph-rate { text-align:right; flex-shrink:0; }
.product-head .ph-rate .stars { font-size:1.05rem; }
.product-head .ph-rate .rating { display:block; margin:.25rem 0 .6rem; font-size:1.5rem; }
@media (max-width:560px){
  .product-head { flex-wrap:wrap; }
  .product-head .ph-rate { text-align:left; width:100%; }
}

/* "jump to top pick" inline link */
.jumplink { display:inline-flex; align-items:center; gap:.5em; font-weight:600; color: var(--red); text-decoration:none; }
.jumplink:hover { text-decoration:underline; }

/* ============================================================================
   REVEAL ANIMATION
   ============================================================================ */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---- utilities ---- */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.gap-sm{gap:.6rem}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}
.text-grey{color:var(--grey)}.text-red{color:var(--red)}.text-navy{color:var(--navy)}.text-white{color:#fff}
.serif{font-family:var(--serif)}.small{font-size:var(--fs-sm)}.xs{font-size:var(--fs-xs)}
.divider{border:0;border-top:1px solid var(--line);margin-block:var(--section-y)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;padding:.7rem 1rem;z-index:200}
.skip-link:focus{left:8px;top:8px}
