/* =============================================
   HEALTHREG SOLUTIONS GROUP
   Near-monochrome, editorial, regulatory-professional
   Fonts: Cinzel (display), Inter (body)
   ============================================= */

@font-face {
  font-family: 'Cinzel';
  src: url('assets/fonts/Cinzel-VariableFont.ttf') format('truetype-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Italic-VariableFont.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* HealthReg Solutions V3.0 palette: controlled red accent, navy structure,
     blue-grey support, white/off-white grounds. WCAG AA maintained. */
  --ink: #002952;
  --ink-2: #002952;
  --ink-3: #2d3f5d;
  --muted: #4a5568;
  --muted-2: #8d99ae;
  --hair: #edf2f4;
  --hair-strong: #c5ccd6;
  --paper: #ffffff;
  --paper-2: #f9f5f5;
  --paper-3: #edf2f4;
  --accent: #d90429;
  --accent-hover: #b00320;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cinzel', 'Times New Roman', serif;

  --track-loose: 0.14em;
  --track-tight: 0.02em;

  --max: 1200px;
  --max-narrow: 880px;
  --max-reading: 720px;

  --gap-1: 8px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 40px;
  --gap-5: 64px;
  --gap-6: 96px;
  --gap-7: 140px;

  --radius: 2px;
  --radius-lg: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 400ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button { cursor: pointer; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--hair-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

/* Container */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 32px; }
.wrap-reading { max-width: var(--max-reading); margin: 0 auto; padding: 0 32px; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-loose);
  line-height: 1.15;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.lede {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
p { color: var(--ink-2); }
p + p { margin-top: 1.1em; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0);
}
.nav.solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--hair);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-primary {
  display: flex;
  gap: 32px;
  margin-left: auto;
  align-items: center;
}
.nav-primary a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav-primary a:hover { color: var(--ink); }
.nav-primary a.active { color: var(--ink); }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
}

/* Dropdown */
.has-submenu { position: relative; }
.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  transition: transform var(--dur) var(--ease);
}
.submenu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  padding: 12px 0;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.submenu a {
  display: block;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.submenu a:hover { background: var(--paper-3); color: var(--ink); }

.nav-cta {
  margin-left: 4px;
}
.hamburger {
  display: none;
  margin-left: auto;
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer;
  padding: 0;
  background: none;
}
.hamburger span {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { top: 13px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--paper);
  z-index: 55;
  padding: 40px 32px 60px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 500ms var(--ease), visibility 0s linear 500ms;
  overflow-y: auto;
  border-top: 1px solid var(--hair);
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 500ms var(--ease), visibility 0s;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.mobile-menu .sub-heading {
  padding: 24px 0 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border: none;
}
.mobile-menu .sub-item a {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  color: var(--ink-2);
}
.mobile-menu .btn {
  margin-top: 28px;
  width: 100%;
  text-align: center;
  justify-content: center;
  border-bottom: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-menu .btn-primary {
  background: var(--accent);
  color: var(--paper);
  border: 1px solid var(--accent);
}
.mobile-menu .btn-primary:hover {
  background: var(--accent-hover);
  color: var(--paper);
  border-color: var(--accent-hover);
}
.mobile-menu .btn-ghost {
  color: var(--ink);
  border: 1px solid var(--ink);
}
.mobile-menu .btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
body.menu-open { overflow: hidden; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--paper);
  border-color: var(--accent-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-lg { padding: 18px 36px; font-size: 13px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  transition: gap var(--dur) var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow::after { content: '→'; font-weight: 400; }

/* =============================================
   HERO (homepage)
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 60px;
  overflow: hidden;
  background: var(--paper-2);
  display: flex;
  align-items: stretch;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--paper-2);
  overflow: hidden;
}
.hero-media video,
.hero-media img.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media img.hero-poster { z-index: 0; }
.hero-media video { z-index: 1; }
.hero-media::after {
  /* subtle bottom fade only, not an overlay tint */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.65));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: grid;
  align-content: start;
  gap: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 22ch;
}
.hero-headline .b { display: block; }
.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  letter-spacing: -0.005em;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: var(--ink);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero .eyebrow { margin-bottom: 4px; }
.page-hero .headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  color: var(--ink);
  max-width: 24ch;
}
.page-hero .lede {
  max-width: 62ch;
}

/* Page hero with side image (inner pages) */
.page-hero.has-image .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero.has-image .wrap {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
  }
}
.page-hero-text { display: grid; gap: 22px; align-content: start; }
.page-hero-image {
  width: 100%;
  aspect-ratio: 5 / 6;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--hair);
}
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  opacity: 0.94;
  transform: scale(1.01);
  transition: transform 900ms var(--ease), opacity 500ms var(--ease);
  display: block;
}
.page-hero-image:hover img { transform: scale(1.03); opacity: 1; }
@media (max-width: 640px) {
  .page-hero-image { aspect-ratio: 4 / 3; }
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: clamp(70px, 9vw, 130px) 0;
  position: relative;
}
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink p, .section-ink .display { color: var(--paper); }

/* Photographic section backgrounds: monochrome, visibly perceptible */
.section.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.section.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.62;
  filter: grayscale(100%) contrast(1.08) brightness(1.02);
  pointer-events: none;
  z-index: 0;
}
.section.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250,250,249,0.10) 0%, rgba(250,250,249,0.18) 100%);
  pointer-events: none;
  z-index: 0;
}
.section.has-bg > .wrap { position: relative; z-index: 1; }
.section.has-bg-solution::before { background-image: url('assets/img/pexels/solution-bg-1600.webp'); background-position: center right; }
.section.has-bg-why::before { background-image: url('assets/img/pexels/why-bg-1600.webp'); }
.section.has-bg-process::before { background-image: url('assets/img/pexels/process-bg-1600.webp'); background-position: center 30%; }
@media (max-width: 780px) {
  .section.has-bg-solution::before { background-image: url('assets/img/pexels/solution-bg-900.webp'); }
  .section.has-bg-why::before { background-image: url('assets/img/pexels/why-bg-900.webp'); }
  .section.has-bg-process::before { background-image: url('assets/img/pexels/process-bg-900.webp'); }
}

/* Restrained translucent paper panels keep text WCAG AA over the visible photograph */
.section.has-bg .section-header,
.section.has-bg .triptych,
.section.has-bg .sub-services,
.section.has-bg .process-steps {
  background: rgba(250, 250, 249, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: clamp(28px, 3.2vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.section.has-bg .section-header {
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3.2vw, 44px);
}
/* Avoid a doubled panel when a triptych simply wraps a sub-services list */
.section.has-bg .triptych:has(.sub-services) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0;
  border: 0;
}
/* Kill the double top hairline inside the paper panel for list-style grids */
.section.has-bg .sub-services,
.section.has-bg .process-steps { border-top-color: rgba(0, 0, 0, 0.05); }

.section-header {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: var(--max-narrow);
}
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 26ch;
}
.section-header.centered h2 { margin-left: auto; margin-right: auto; }
.section-header .lede { max-width: 60ch; }
.section-header.centered .lede { margin-left: auto; margin-right: auto; }

.section-ink .section-header h2 { color: var(--paper); }
.section-ink .lede { color: rgba(255,255,255,0.75); }
.section-ink .eyebrow { color: rgba(255,255,255,0.55); }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .two-col.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* Feature triptych */
.triptych {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 780px) {
  .triptych { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}
.feature {
  display: grid;
  gap: 14px;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.24em;
}
.feature h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
}
.feature p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
}
.section-ink .feature h3 { color: var(--paper); }
.section-ink .feature p { color: rgba(255,255,255,0.75); }
.section-ink .feature-num { color: rgba(255,255,255,0.5); }

/* Services grid (4-up) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hair);
}
.service-card {
  border-bottom: 1px solid var(--hair);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  transition: padding var(--dur) var(--ease);
}
@media (min-width: 780px) {
  .service-card {
    grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
    gap: 40px;
    align-items: start;
    padding: 48px 8px;
  }
}
.service-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  color: var(--ink);
}
.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
}
.service-card .service-cta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
@media (max-width: 779px) {
  .service-card .service-cta { justify-content: flex-start; }
}

/* Process steps */
.process-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hair);
}
.process-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
@media (min-width: 780px) {
  .process-step { grid-template-columns: 140px 1fr; padding: 56px 0; }
}
.step-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}
.step-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 62ch;
}

/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 780px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.audience {
  padding: 40px 32px;
  background: var(--paper);
  border: 1px solid var(--hair);
  display: grid;
  gap: 14px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.audience:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.audience h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.audience p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
}
.section-alt .audience { background: var(--paper); }

/* Sub-service list on category pages */
.sub-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hair);
}
.sub-service {
  padding: 40px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 780px) {
  .sub-service { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 44px 4px; }
}
.sub-service h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
}
.sub-service p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 68ch;
}

/* Entry offer / feature block */
.feature-block {
  padding: 56px 40px;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: grid;
  gap: 24px;
}
@media (min-width: 780px) {
  .feature-block { padding: 72px 64px; }
}
.feature-block h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 24ch;
}
.feature-block ul {
  display: grid;
  gap: 12px;
  padding-left: 0;
}
.feature-block ul li {
  padding-left: 24px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.feature-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--ink);
}

/* =============================================
   CTA SECTION (block)
   ============================================= */
.cta-block {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta-block .display {
  color: var(--paper);
  font-size: clamp(24px, 3vw, 40px);
  max-width: 26ch;
  margin: 0 auto 22px;
  line-height: 1.2;
}
.cta-block p {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  font-weight: 300;
  max-width: 58ch;
  margin: 0 auto 40px;
}
.cta-block .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.cta-block .btn-primary:hover {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--hair);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hair);
}
@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}
.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 32ch;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 22px;
}
.footer ul { display: grid; gap: 12px; }
.footer ul a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease);
}
.footer ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact {
  display: grid;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  font-style: normal;
}
.footer-contact a { color: var(--ink-2); }
.footer-contact a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: var(--ink); }

/* =============================================
   FAQ / Accordion (still used on some pages as inline)
   ============================================= */
.faq-list { display: grid; gap: 2px; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: var(--ink-3); }
.faq-icon {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.faq-icon::before { left: 0; top: 9px; width: 20px; height: 1.5px; }
.faq-icon::after { top: 0; left: 9px; height: 20px; width: 1.5px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms var(--ease);
}
.faq-item.open .faq-a { max-height: 1400px; }
.faq-a p {
  padding: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 68ch;
}

/* =============================================
   FORMS
   ============================================= */
.form-shell {
  padding: 48px 40px;
  background: var(--paper);
  border: 1px solid var(--hair);
}
@media (min-width: 780px) {
  .form-shell { padding: 64px; }
}
.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .form-row.two { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.form-row + .form-row { margin-top: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.field .required { color: var(--ink); margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='none' stroke='%230a0a0a' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
}
.field.error input,
.field.error select,
.field.error textarea { border-color: var(--accent); }
.field .error-msg {
  font-size: 12px;
  color: var(--accent);
  min-height: 1em;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.form-actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
}
.form-success {
  display: none;
  padding: 40px;
  border: 1px solid var(--ink);
  background: var(--paper);
  text-align: center;
}
.form-success.on { display: grid; gap: 12px; }
.form-success .eyebrow { color: var(--ink); }
.form-success h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 22px;
  color: var(--ink);
}
.form-success p { color: var(--ink-3); font-size: 15px; }
.form-error-banner {
  display: none;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  background: rgba(217,4,41,0.06);
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}
.form-error-banner.on { display: block; }

.form-delivery-error {
  display: none;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  background: rgba(217,4,41,0.06);
  color: var(--accent);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  border-radius: var(--radius);
}
.form-delivery-error.on { display: block; }

form[aria-busy="true"] { opacity: 0.85; }
form[aria-busy="true"] button[type="submit"] { cursor: progress; }

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; }
}
.contact-info {
  display: grid;
  gap: 32px;
}
.contact-info-item { display: grid; gap: 6px; }
.contact-info-item .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.contact-info-item .value {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
}
.contact-info-item .value a { color: var(--ink); text-decoration: none; }
.contact-info-item .value a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Legal / stub pages */
.stub {
  padding: 200px 0 140px;
  min-height: 60vh;
}
.stub h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ink);
  margin-bottom: 24px;
}
.stub p {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* =============================================
   REVEAL
   ============================================= */
.reveal { opacity: 1; transform: none; }
.js-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.js-on .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  .hero-media video { display: none; }
  .hero-media img.hero-poster { display: block; z-index: 1; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .nav-primary { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .brand img { height: 40px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow, .wrap-reading { padding: 0 20px; }
  .nav-inner { padding: 16px 20px; }
  .brand img { height: 36px; }
  .hero { min-height: 88vh; min-height: 88svh; padding: 120px 0 80px; align-items: flex-start; }
  .hero-media video,
  .hero-media img.hero-poster { object-position: center right; }
  .hero-media::after { height: 45%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85)); }
  .hero-inner { gap: 22px; }
  .hero-headline { font-size: clamp(22px, 6.4vw, 30px); letter-spacing: 0.04em; overflow-wrap: break-word; hyphens: none; max-width: 100%; }
  .hero-sub { font-size: 15px; }
  .hero-scroll { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .link-arrow { justify-content: flex-start; }
  .page-hero { padding: 140px 0 60px; }
  .page-hero .hero-ctas { flex-direction: column; align-items: stretch; }
  .page-hero .headline { font-size: clamp(20px, 5.4vw, 26px); letter-spacing: 0.04em; overflow-wrap: break-word; max-width: 100%; }
  .page-hero .lede { font-size: 15px; }
  .section-header h2,
  .display,
  .step-content h3,
  .feature-block h3 { letter-spacing: 0.04em; overflow-wrap: break-word; max-width: 100%; font-size: clamp(20px, 5.4vw, 26px); }
  .feature h3, .sub-service h3, .audience h3, .service-card h3 { letter-spacing: 0.04em; overflow-wrap: break-word; }
  .btn { letter-spacing: 0.05em; font-size: 11.5px; padding: 14px 22px; }
  .cta-block .display { font-size: clamp(20px, 5.4vw, 26px); letter-spacing: 0.04em; }
  .lede { font-size: 15px; }
  .wrap, .wrap-narrow, .wrap-reading { padding: 0 20px; }
  .btn { padding: 14px 22px; font-size: 12px; }
  .btn-lg { padding: 16px 26px; }
  .service-card { padding: 32px 0; }
  .form-shell { padding: 32px 24px; }
  .mobile-menu { padding: 32px 20px 60px; inset: 68px 0 0 0; }
  .section-header { margin-bottom: 40px; }
  .cta-block { padding: 80px 0; }
  .footer { padding: 60px 0 30px; }
}

/* Print */
@media print {
  .nav, .footer, .hero-scroll, .cta-block { display: none; }
  body { color: #000; background: #fff; }
}

/* =============================================
   TRUST BAR (homepage, below hero)
   ============================================= */
.trust-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: 44px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px;
  border-left: 1px solid var(--hair);
  padding-left: 24px;
}
.trust-item:first-child { border-left: 0; padding-left: 8px; }
.trust-stat {
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(18px, 1.9vw, 22px);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.trust-desc {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 8px; }
}
@media (max-width: 560px) {
  .trust-bar { padding: 32px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 20px; }
  .trust-item:first-child { border-top: 0; padding-top: 0; }
}

/* =============================================
   FAQ CATEGORIES (homepage)
   ============================================= */
.faq-cat {
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 56px 0 24px;
}
.faq-cat:first-of-type { margin-top: 8px; }

/* =============================================
   TESTIMONIALS (homepage)
   ============================================= */
.tm-cat {
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 56px 0 24px;
}
.tm-cat:first-of-type { margin-top: 8px; }
.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}
@media (max-width: 800px) {
  .tm-grid { grid-template-columns: 1fr; gap: 16px; }
}
.tm {
  margin: 0;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tm p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}
.tm footer {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-style: normal;
}

/* =============================================
   RESOURCES cards (resources.html)
   ============================================= */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .resource-grid { grid-template-columns: 1fr; }
}
.resource-card {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-card h3 {
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(18px, 1.9vw, 22px);
  letter-spacing: 0.02em;
  margin: 0;
}
.resource-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0;
}
.resource-cta { margin-top: 8px; }
.resource-status {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =============================================
   INDUSTRY NEWS list (industry-news.html)
   ============================================= */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hair);
}
.news-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) {
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}
.news-meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.news-item h3 {
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(20px, 2.1vw, 26px);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.news-item p { font-size: 15px; line-height: 1.7; color: var(--ink-3); margin: 0 0 12px; }

/* =============================================
   PAGE-SPECIFIC FAQ (single category on landing pages)
   ============================================= */
.faq-single .faq-cat { display: none; }

/* =============================================
   CHECK-LIST (landing pages "What we cover")
   ============================================= */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 800px) {
  .check-list { grid-template-columns: 1fr; }
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 14px;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* =============================================
   AUTHORITY BLOCKS (category landing pages)
   ============================================= */
.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 820px) {
  .authority-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.authority-block {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-alt .authority-block { background: var(--paper); }
.authority-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0;
}
.authority-block h3 {
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
}
.authority-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0;
}

/* =============================================
   STEP / AUDIENCE labels (category landing pages)
   ============================================= */
.step-label,
.audience-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 8px;
}
.audience .audience-label { color: var(--accent); }

/* =============================================
   CTA BUTTON ROW (multiple buttons on cta-block)
   ============================================= */
.cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border-color: var(--paper);
}
@media (max-width: 520px) {
  .cta-btn-row { flex-direction: column; align-items: stretch; }
  .cta-btn-row .btn { width: 100%; }
}

/* =============================================
   FAQ CATEGORY (two-level accordion, homepage)
   ============================================= */
.faq-category {
  border-top: 1px solid var(--hair);
}
.faq-category:last-of-type { border-bottom: 1px solid var(--hair); }
.faq-cat-btn {
  width: 100%;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display, "Cinzel", serif);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq-cat-btn:hover { color: var(--accent); }
.faq-cat-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.faq-cat-icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.faq-cat-icon::before,
.faq-cat-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.faq-cat-icon::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq-cat-icon::after { top: 0; left: 10px; height: 22px; width: 2px; }
.faq-category.open .faq-cat-icon::after { transform: rotate(90deg); }
.faq-cat-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 600ms var(--ease);
}
.faq-category.open .faq-cat-panel { max-height: 12000px; }
.faq-cat-panel .faq-list {
  border-top: 1px solid var(--hair);
  margin-bottom: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-cat-panel,
  .faq-a,
  .faq-cat-icon::before,
  .faq-cat-icon::after { transition: none; }
}

/* =============================================
   TESTIMONIAL CAROUSEL (homepage, per category)
   ============================================= */
.tm-carousel {
  margin-bottom: 8px;
  position: relative;
}
.tm-viewport {
  overflow: hidden;
  margin: 0 -8px;
  padding: 0 8px;
}
.tm-track {
  display: flex;
  gap: 24px;
  transition: transform 500ms var(--ease);
  will-change: transform;
}
.tm-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
}
.tm-slide .tm { flex: 1; }
@media (max-width: 1023px) {
  .tm-track { gap: 20px; }
  .tm-slide { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
  .tm-track { gap: 16px; }
  .tm-slide { flex: 0 0 100%; }
}
.tm-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.tm-status {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: auto;
}
.tm-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-strong, var(--hair));
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  font-size: 18px;
  line-height: 1;
  border-radius: var(--radius);
}
.tm-btn:hover:not([disabled]) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tm-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.tm-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .tm-track { transition: none; }
}

/* =============================================
   SKY-2534 MOBILE REFINEMENTS
   Typography, spacing and hero video crop.
   Desktop (>=641px) is intentionally unchanged.
   ============================================= */
@media (max-width: 640px) {
  /* Wrap padding parity so headline copy never runs to the viewport edge */
  .hero-inner,
  .page-hero .wrap,
  .nav-inner { padding-left: 20px; padding-right: 20px; }

  /* Homepage hero */
  .hero { padding: 116px 0 60px; min-height: auto; }
  .hero-inner { gap: 24px; }
  .hero-headline {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.18;
    letter-spacing: 0.02em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
  .hero-sub {
    font-size: 17px;
    line-height: 1.6;
    max-width: 100%;
  }
  .hero-ctas { gap: 14px; margin-top: 8px; }
  .hero-ctas .btn { width: 100%; padding: 16px 22px; font-size: 12.5px; min-height: 48px; }
  .hero-ctas .link-arrow { justify-content: flex-start; }

  /* Hero video crop: on mobile the video's right-centre subject (a person in
     a lab coat) conflicts with the headline. Show the left portion of the
     frame (pills, bottle, cloth) instead, and lay a paper wash across the
     copy zone so the headline and lede always read at WCAG contrast. */
  .hero-media video,
  .hero-media img.hero-poster { object-position: 22% center; }
  .hero-media::after {
    height: 100%;
    background:
      linear-gradient(to right,
        rgba(255,255,255,0.90) 0%,
        rgba(255,255,255,0.72) 42%,
        rgba(255,255,255,0.38) 74%,
        rgba(255,255,255,0.12) 100%),
      linear-gradient(to bottom,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.55) 100%);
  }

  /* Inner page hero */
  .page-hero { padding: 128px 0 56px; }
  .page-hero .wrap { gap: 22px; }
  .page-hero .headline {
    font-size: clamp(24px, 6.4vw, 30px);
    line-height: 1.2;
    letter-spacing: 0.02em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
  .page-hero .lede { font-size: 17px; line-height: 1.6; max-width: 100%; }
  .page-hero.has-image .wrap { gap: 32px; }
  .page-hero .hero-ctas .btn { width: 100%; padding: 16px 22px; font-size: 12.5px; min-height: 48px; }

  /* Section headings and display type */
  .section-header { margin-bottom: 44px; gap: 16px; }
  .section-header h2,
  .display,
  .step-content h3,
  .feature-block h3 {
    font-size: clamp(22px, 5.8vw, 28px);
    letter-spacing: 0.02em;
    line-height: 1.22;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
  .lede { font-size: 17px; line-height: 1.6; max-width: 100%; }

  /* Body copy comfort across content components */
  .feature p,
  .service-card p,
  .sub-service p,
  .audience p,
  .check-list li,
  .authority-block p,
  .stub p,
  .resource-card p,
  .news-item p { font-size: 16px; line-height: 1.7; }
  .step-content p { font-size: 17px; line-height: 1.7; }
  .tm p { font-size: 16px; line-height: 1.7; }
  .cta-block p { font-size: 16px; line-height: 1.65; }

  /* Trust bar */
  .trust-bar { padding: 28px 0 8px; }
  .trust-stat { font-size: 20px; }
  .trust-desc { font-size: 14px; }

  /* FAQ single accordions and category two-level accordions */
  .faq-q {
    padding: 24px 0;
    font-size: 17px;
    gap: 20px;
    align-items: flex-start;
    line-height: 1.4;
  }
  .faq-icon { margin-top: 6px; }
  .faq-a p { font-size: 16px; line-height: 1.7; padding-bottom: 24px; }
  .faq-cat-btn {
    padding: 24px 0;
    font-size: 18px;
    letter-spacing: 0.04em;
    gap: 20px;
    align-items: flex-start;
    line-height: 1.28;
  }
  .faq-cat-icon { margin-top: 4px; }

  /* Cards, features, services */
  .service-card { padding: 36px 0; gap: 14px; }
  .service-card h3 { font-size: 18px; letter-spacing: 0.03em; }
  .service-card p { max-width: 100%; }
  .service-card .service-cta { margin-top: 4px; }
  .service-card .link-arrow { font-size: 12.5px; }
  .feature { gap: 12px; }
  .feature h3 { font-size: 16px; letter-spacing: 0.04em; }
  .sub-service { padding: 32px 0; gap: 12px; }
  .sub-service h3 { font-size: 17px; letter-spacing: 0.04em; }
  .audience { padding: 32px 24px; gap: 12px; }
  .audience h3 { font-size: 16px; }
  .authority-block { padding: 28px 24px; }
  .authority-block h3 { font-size: 18px; }

  /* Process steps: single column, extra breathing room */
  .process-step {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 32px 0;
  }
  .step-num { font-size: 26px; }
  .step-content h3 { font-size: 20px; margin-bottom: 10px; }

  /* Forms and contact */
  .form-shell { padding: 32px 22px; }
  .field label { font-size: 11px; letter-spacing: 0.16em; }
  .field input,
  .field select,
  .field textarea { font-size: 16px; padding: 14px 14px; }
  .contact-grid { gap: 40px; }
  .contact-info { gap: 26px; }
  .contact-info-item .label { font-size: 11px; }
  .contact-info-item .value { font-size: 17px; }

  /* Testimonials cards and carousel */
  .tm { padding: 26px 24px; gap: 12px; }
  .tm-cat { font-size: 18px; letter-spacing: 0.04em; margin: 40px 0 20px; }
  .tm-controls { justify-content: flex-start; margin-top: 24px; }
  .tm-btn { width: 48px; height: 48px; }
  .tm-status { font-size: 11px; }

  /* Feature block (entry offer) */
  .feature-block { padding: 40px 26px; gap: 20px; }
  .feature-block ul li { font-size: 16px; line-height: 1.65; padding-left: 22px; }
  .feature-block ul li::before { top: 14px; }

  /* CTA block */
  .cta-block { padding: 72px 0; }
  .cta-block .display { margin-bottom: 18px; }
  .cta-block p { margin-bottom: 32px; }

  /* Section rhythm */
  .section { padding: 72px 0; }

  /* Footer */
  .footer-grid { gap: 40px; padding-bottom: 44px; }
  .footer h4 { font-size: 11px; margin-bottom: 18px; }
  .footer ul a { font-size: 15px; }
  .footer-tagline { font-size: 15px; }
  .footer-contact { font-size: 15px; }

  /* Tap targets */
  .btn { min-height: 46px; }
  .link-arrow { padding: 6px 0; }

  /* Mobile menu list items */
  .mobile-menu a { padding: 18px 0; font-size: 18px; }
  .mobile-menu .sub-item a { font-size: 16px; padding: 14px 0; }
}

/* Small phones (320-360px) */
@media (max-width: 360px) {
  .hero-headline { font-size: 24px; letter-spacing: 0.015em; }
  .page-hero .headline,
  .section-header h2,
  .display { font-size: 22px; letter-spacing: 0.015em; }
  .hero-inner,
  .page-hero .wrap,
  .wrap,
  .wrap-narrow,
  .wrap-reading { padding-left: 18px; padding-right: 18px; }
  .hero-sub, .page-hero .lede, .lede { font-size: 16px; }
}
