/* ============================================================================
   PORE Decisions Med Spa - Production Design System
   Direction C "Modern Editorial" - Black & White - WCAG 2.1 AA
   ----------------------------------------------------------------------------
   Brand face is "Alta" (thin, all-caps, wide-tracked). The brand currently
   renders in self-hosted Raleway - the designer-chosen Alta stand-in, and the
   same face used on poremedspa.com. To upgrade to true Alta, drop a *licensed*
   Alta.woff2 into /fonts; the @font-face below already points at it, so it will
   take over automatically (Raleway stays as the fallback).
   ========================================================================== */

/* Brand display face. Alta loads first if a licensed file is present in /fonts;
   otherwise the self-hosted Raleway below renders (identical to the live site). */
@font-face {
  font-family: 'Alta';
  src: url('../fonts/Alta.woff2') format('woff2'),
       url('../fonts/Alta.otf') format('opentype'),
       url('../fonts/Alta.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Self-hosted Raleway (variable, latin subset) - SIL OFL, see Raleway-OFL.txt */
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Self-hosted Archivo (body) + Kaushan Script (logo accent) - subsets/ranges mirror Google Fonts */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kaushan-script-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kaushan-script-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #FFFFFF;
  --paper: #FAFAF9;
  --ink: #0E0E0D;
  --black: #0A0A0A;
  --soft: #6A6A64;          /* 5.0:1 on white - AA for normal text */
  --soft-on-dark: rgba(255, 255, 255, 0.72);
  --line: rgba(14, 14, 13, 0.55);
  --hair: rgba(14, 14, 13, 0.16);
  --line-on-dark: rgba(255, 255, 255, 0.55);
  --hair-on-dark: rgba(255, 255, 255, 0.18);

  --alta: 'Raleway', 'Josefin Sans', sans-serif;
  --body: 'Archivo', system-ui, -apple-system, sans-serif;
  --script: 'Kaushan Script', cursive;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ---- Accessibility helpers ---- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 13px 20px;
  min-height: 44px;
  z-index: 1000;
  font: 500 12px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.dark { background: var(--black); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }

/* ---- Type ---- */
.display, h1, h2, h3 {
  font-family: var(--alta);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 6.5vw, 84px); }
h2 { font-size: clamp(30px, 4.4vw, 58px); }
h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: .14em; }

.lead {
  font-family: var(--alta);
  font-weight: 300;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: .02em;
  line-height: 1.4;
  text-transform: none;
}

.eyebrow {
  font: 600 12px/1.25 var(--body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 0 0 22px;
}
.dark .eyebrow, .on-dark .eyebrow { color: var(--soft-on-dark); }

p { margin: 0 0 18px; text-wrap: pretty; }
.muted { color: var(--soft); }
.dark .muted, .on-dark .muted { color: var(--soft-on-dark); }

a { color: inherit; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 16px 30px;
  font: 600 12px/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.on-dark .btn, .dark .btn { color: var(--white); border-color: var(--line-on-dark); }
.on-dark .btn:hover, .dark .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-dark .btn--solid, .dark .btn--solid { background: var(--white); color: var(--ink); }
.on-dark .btn--solid:hover, .dark .btn--solid:hover { background: transparent; color: var(--white); }

/* ---- Bordered-frame photo motif ---- */
.framed { padding: 14px; border: 1px solid var(--line); }
.dark .framed, .on-dark .framed { border-color: var(--line-on-dark); }
.framed__img {
  width: 100%;
  /* Fluid height so the portrait frame never letterboxes on small screens */
  height: clamp(360px, 60vw, 540px);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #ECECE9, #ECECE9 11px, #DFDFDB 11px, #DFDFDB 22px);
  display: flex;
  align-items: flex-end;
}
.dark .framed__img, .on-dark .framed__img {
  background:
    repeating-linear-gradient(135deg, #1A1A19, #1A1A19 11px, #141413 11px, #141413 22px);
}
.framed__img > picture { display: block; width: 100%; height: 100%; }
.framed__img > img, .framed__img > picture > img { width: 100%; height: 100%; object-fit: cover; }
.framed__tag {
  font: 400 10.5px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft);
  background: var(--white);
  padding: 5px 9px;
  margin: 10px;
}
.dark .framed__tag, .on-dark .framed__tag { color: rgba(255,255,255,.7); background: rgba(10,10,10,.6); }

/* ---- Logo lockup ---- */
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; line-height: 1; text-decoration: none; color: var(--ink); }
.logo__mark { font: 300 34px/.9 var(--alta); letter-spacing: .14em; }
.logo__sub { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 1px; }
.logo__sub b { font: 300 13.6px/1 var(--alta); letter-spacing: .28em; white-space: nowrap; }
.logo__sub i { font: 400 14px/1 var(--script); font-style: normal; margin: 1px 0 0 2px; white-space: nowrap; }
.dark .logo, .on-dark .logo { color: var(--white); }

/* ---- Nav ---- */
/* Sticky top bar: full-width light bar that stays pinned while scrolling */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: none;
  padding: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
}
.nav__links { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  font: 600 12px/1 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .18s;
}
.nav__links a:hover { border-bottom-color: var(--ink); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav__links a.nav__cta {
  background: var(--ink);
  color: var(--white);
  padding: 14px 24px;
  border-bottom: 0;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.nav__links a.nav__cta:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); border-bottom: 0; }
.nav__links a.nav__cta[aria-current="page"] { border-bottom: 0; }

.nav__toggle { display: none; }
.only-mobile { display: none; }

/* ---- Dropdown sub-navigation ---- */
.nav__links .has-sub { position: relative; }
.nav__links .sub__toggle { display: none; }
.subnav { list-style: none; margin: 0; padding: 0; }
@media (min-width: 981px) {
  .has-sub > a::after { content: "\25be"; margin-left: 7px; font-size: .8em; opacity: .55; }
  .subnav {
    position: absolute;
    top: 100%;
    left: -8px;
    min-width: 232px;
    background: var(--paper);
    border: 1px solid var(--hair);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .14);
    padding: 8px 0;
    display: none;
    z-index: 300;
  }
  .nav__links .has-sub:hover > .subnav,
  .nav__links .has-sub:focus-within > .subnav { display: block; }
  .subnav a { display: flex; padding: 12px 20px; border-bottom: 0; text-transform: none; letter-spacing: .03em; font-size: 13px; white-space: nowrap; }
  .subnav a:hover { background: rgba(14, 14, 13, .05); border-bottom: 0; }
  /* Right-anchor the last dropdown so its panel never clips the viewport edge */
  .nav__links .has-sub:last-of-type > .subnav { left: auto; right: -8px; }
}

/* ---- Star rating ---- */
.stars { letter-spacing: .28em; }

/* ---- Grids ---- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }

/* ---- Four pillars: editorial horizontal rows (letter - name - treatments - arrow) ---- */
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-on-dark); }
.pillar {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(20px, 3.2vw, 34px) clamp(4px, 1vw, 16px);
  border-bottom: 1px solid var(--hair-on-dark);
  text-decoration: none;
  color: var(--white);
  transition: background .2s ease, padding-left .2s ease;
}
.pillar:hover { background: rgba(255, 255, 255, .04); padding-left: clamp(14px, 2vw, 26px); }
.pillar__letter { flex: 0 0 auto; width: clamp(52px, 9vw, 116px); text-align: center; font: 200 clamp(48px, 7vw, 96px)/1 var(--alta); color: var(--white); }
.pillar__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pillar__name { font: 300 clamp(19px, 2.4vw, 30px)/1.12 var(--alta); letter-spacing: .12em; text-transform: uppercase; }
.pillar__list { font: 400 clamp(12.5px, 1.4vw, 15px)/1.6 var(--body); letter-spacing: .02em; color: var(--soft-on-dark); }
.pillar::after { content: "\2192"; flex: 0 0 auto; margin-left: auto; align-self: center; color: var(--soft-on-dark); font-size: 22px; transition: transform .2s ease, color .2s ease; }
.pillar:hover::after { color: var(--white); transform: translateX(5px); }

/* ---- Stats ---- */
.stats { display: flex; gap: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.stat__n { display: block; font: 300 clamp(36px, 4vw, 46px)/1 var(--alta); letter-spacing: .02em; }
.stat__l { display: block; font: 400 11.5px/1.5 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-top: 10px; max-width: 150px; }
.dark .stat__l { color: var(--soft-on-dark); }

/* ---- Review cards ---- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.review { padding: 44px 46px 40px; border-bottom: 1px solid var(--hair); }
.review:nth-child(odd) { border-right: 1px solid var(--hair); }
.review__q { font: 300 clamp(20px, 2vw, 24px)/1.5 var(--alta); letter-spacing: .01em; text-transform: none; margin: 20px 0 24px; }
.review__who { display: block; font: 500 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.review__sub { display: block; font: 400 12.5px/1.3 var(--body); color: var(--soft); margin-top: 7px; }

/* Oversized pillar letter used beside section headings on the treatments page */
.plet { font: 200 clamp(52px, 12vw, 88px)/.8 var(--alta); }

/* Treatment section header: oversized drop-cap first letter + description */
.txhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}
.dark .txhead, .on-dark .txhead { border-bottom-color: var(--line-on-dark); }
.txhead__title { margin: 0; flex: 1 1 auto; }
.txhead__title .plet { font-weight: 200; }
.txhead__desc { margin: 0; flex: 0 1 360px; }

/* ---- Cards ---- */
.card { border: 1px solid var(--hair); padding: 36px 38px; background: var(--white); }
.card h3 { margin-bottom: 14px; }
.card__price { font-family: var(--alta); font-weight: 300; font-size: 28px; letter-spacing: .04em; }

/* ---- Team / providers ---- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 52px 44px; }
.team > li { margin: 0; }
.member__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border: 1px solid var(--hair-on-dark); }
.member__name { font: 300 clamp(21px, 2.2vw, 26px)/1.15 var(--alta); letter-spacing: .05em; text-transform: uppercase; margin: 22px 0 6px; }
.member__role { font: 600 12px/1.25 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft-on-dark); margin: 0 0 16px; }
.member__bio { font-size: 14.5px; line-height: 1.75; color: var(--soft-on-dark); margin: 0; }
.member__quote { font-style: italic; font-size: 14px; line-height: 1.75; color: var(--soft-on-dark); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--hair-on-dark); }

/* ---- Definition / info list ---- */
.info { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.info > dt { font: 600 12px/1.25 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); padding: 22px 0; border-top: 1px solid var(--hair); }
.info > dd { margin: 0; padding: 22px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.info > dd a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

/* Standalone text CTAs and native FAQ summaries should be easy to tap. */
.section p[style*="display:flex"] > a:not(.btn),
.section details:not(.tx) > summary {
  min-height: 44px;
}
.section p[style*="display:flex"] > a:not(.btn) {
  display: inline-flex;
  align-items: center;
}

/* ---- Treatment accordions ---- */
.tx-list { border-top: 1px solid var(--hair); }
.tx { border-bottom: 1px solid var(--hair); }
.tx > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 22px 0; font: 600 12px/1.35 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.tx > summary::-webkit-details-marker { display: none; }
.tx > summary::after { content: "+"; font: 300 24px/1 var(--alta); color: var(--soft); flex: 0 0 auto; }
.tx[open] > summary::after { content: "\2013"; }
.tx__body { padding: 2px 0 28px; max-width: 720px; }
.tx__body p { font-size: 15px; line-height: 1.7; color: var(--soft); margin: 0 0 14px; }
.tx__treats { font-size: 14px; margin-bottom: 0 !important; }
.tx__treats b { display: block; font: 500 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.tx__tiers { margin: 4px 0 0; padding-left: 20px; }
.tx__tiers li { font-size: 14.5px; line-height: 1.6; color: var(--soft); margin-bottom: 9px; }
.dark .tx-list, .on-dark .tx-list, .dark .tx, .on-dark .tx { border-color: var(--hair-on-dark); }
.dark .tx > summary, .on-dark .tx > summary { color: var(--white); }
.dark .tx__body p, .on-dark .tx__body p, .dark .tx__tiers li, .on-dark .tx__tiers li { color: var(--soft-on-dark); }
.dark .tx__treats b, .on-dark .tx__treats b, .dark .tx__tiers strong, .on-dark .tx__tiers strong { color: var(--white); }

/* ---- Forms ---- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font: 600 12px/1.25 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field .req { color: var(--ink); }
.field input, .field select, .field textarea {
  font: 400 16px/1.5 var(--body); /* >=16px prevents iOS zoom-on-focus */
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field .hint { font: 400 12.5px/1.4 var(--body); color: var(--soft); }
.field ::placeholder { color: var(--soft); opacity: 1; }

/* ---- Hero ---- */
.hero { text-align: center; }
.hero h1 { font-size: clamp(32px, 5.2vw, 64px); letter-spacing: .05em; max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero__sub { font: 300 clamp(20px, 2.6vw, 30px)/1.1 var(--alta); letter-spacing: .14em; text-transform: uppercase; color: var(--soft-on-dark); margin-top: 16px; }
.hero__meta { font: 400 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--soft-on-dark); }

/* ---- Page banner (interior pages) ---- */
.banner { text-align: center; padding: clamp(60px, 8vw, 96px) 0; }
.banner .eyebrow { margin-bottom: 18px; }

/* ---- Footer ---- */
.footer { background: var(--black); color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-top: 56px; border-top: 1px solid var(--hair-on-dark); }
.footer h2 { font: 600 12px/1.25 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin: 0 0 18px; }
.footer p, .footer address { font: 400 13.5px/1.9 var(--body); color: var(--soft-on-dark); font-style: normal; margin: 0; }
.footer a { color: var(--soft-on-dark); text-decoration: none; }
.footer address a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__social { list-style: none; display: flex; gap: 18px; margin: 16px 0 0; padding: 0; flex-wrap: wrap; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft-on-dark); text-decoration: none; }
.footer__social a:hover { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--white); padding-bottom: 2px; }
.reviews-cta { text-align: center; margin-top: 48px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badges { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.badge { font: 500 10.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--soft-on-dark); border: 1px solid var(--hair-on-dark); padding: 8px 12px; }
.disclaimer { font: 400 10px/1.7 var(--body); letter-spacing: .01em; color: rgba(255,255,255,.58); margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--hair-on-dark); max-width: 760px; }
.footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--hair-on-dark); }
.footer__legal span { font: 400 10.5px/1.85 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--soft-on-dark); }
.footer__legal a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font: 600 12px/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--line-on-dark);
  padding: 12px 18px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.footer__legal a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
/* Subtle inline legal link (Privacy Policy) — matches copyright text, just underlined */
.footer__legal a.legal-link {
  display: inline; min-height: 0; padding: 0; border: 0;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.footer__legal a.legal-link:hover { background: none; color: var(--white); border: 0; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .info { grid-template-columns: 1fr; }
  .info > dt { padding-bottom: 0; border-top: 1px solid var(--hair); }
  .info > dd { padding-top: 8px; border-top: 0; }
}

/* Collapse to the hamburger at <=980px so the horizontal nav never crowds the
   CTA in the 821-980 band (the accordion makes every sub-page reachable). */
@media (max-width: 980px) {
  .nav { position: relative; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    background: none;
    border: 1px solid var(--line);
    color: var(--ink);
    font: 600 12px/1 var(--body);
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 12px 16px;
    cursor: pointer;
  }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    display: none;
  }
  .nav__links[data-open="true"] {
    display: flex;
    margin-top: 12px;
    /* When submenus are expanded the menu can exceed the viewport; let it scroll
       internally instead of overflowing below the pinned (sticky) header. */
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links li { width: 100%; }
  /* left-align labels and reserve the right gutter for the chevron toggle */
  .nav__links a { display: flex; justify-content: flex-start; width: 100%; min-height: 44px; padding: 14px 64px 14px 0; border-bottom: 1px solid var(--hair); }
  /* Submenus become tappable accordions so every sub-page (incl. Careers) is reachable */
  .has-sub { display: block; position: relative; }
  .nav__links .sub__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 0; right: 0; width: 64px; min-height: 50px; padding: 0;
    background: none; border: 0; color: var(--ink); font-size: 16px; line-height: 1;
    cursor: pointer; transition: transform .18s ease;
  }
  .nav__links .sub__toggle[aria-expanded="true"] { transform: rotate(180deg); }
  .subnav { display: none; width: 100%; padding: 0; }
  .nav__links .subnav[data-open="true"] { display: block; }
  .subnav a { padding: 12px 0 12px 18px; color: var(--soft); text-transform: none; letter-spacing: .02em; font-size: 14px; min-height: 44px; border-bottom: 1px solid var(--hair); }
  /* "Meet Our Team" also surfaced directly as a top-level shortcut */
  .nav__links .only-mobile { display: block; }
  .nav__links .only-mobile > a { color: var(--soft); }
}

@media (max-width: 820px) {
  .grid--2 { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review:nth-child(odd) { border-right: 0; }
  .team { grid-template-columns: 1fr; gap: 48px; }
  .footer__legal { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer address a, .footer__social a { min-height: 44px; }
  .hero__meta { margin-top: 24px !important; }
}

@media (max-width: 380px) {
  .nav { gap: 10px; }
  .logo { gap: 8px; }
  .logo__mark { font-size: 29px; letter-spacing: .12em; }
  .logo__sub b { font-size: 11.5px; letter-spacing: .24em; }
  .logo__sub i { font-size: 13px; }
  .nav__toggle { padding-left: 14px; padding-right: 14px; }
  .hero h1 { font-size: 31px; }
  .hero__sub { font-size: 18px; }
}

/* ============================ LEGAL / PROSE PAGES ============================ */
.legal-prose > p { font: 400 15px/1.75 var(--body); color: var(--soft); margin: 0 0 18px; }
.legal-prose > p strong { color: var(--ink); font-weight: 600; }
.legal-prose h2 {
  font-family: var(--body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: .005em;
  line-height: 1.3;
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--ink);
  margin: 40px 0 14px;
}
.legal-prose ul { margin: 0 0 18px; padding-left: 20px; }
.legal-prose li { font: 400 15px/1.7 var(--body); color: var(--soft); margin-bottom: 9px; }
.legal-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--soft); }
