/* ============================================================================
   Best Rated Company — "Hallmark" design system
   Deep ink · certificate-paper text · hallmark gold · verified green
   ========================================================================== */

:root {
  /* Surfaces */
  --ink:       #0C0F14;
  --ink-2:     #12161D;
  --ink-3:     #1A2029;
  --ink-4:     #222b36;
  --line:      #2a333e;
  --line-soft: #1d242e;

  /* Ink on dark */
  --paper:     #ECEAE2;   /* warm off-white, like aged certificate paper */
  --muted:     #9aa4b2;
  --muted-2:   #6e7682;

  /* Accents */
  --gold:        #C9A24B;
  --gold-soft:   #E4C97E;
  --gold-deep:   #9c7a2e;
  --verified:      #4CAE8A;
  --verified-soft: #8fd9bf;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Geometry */
  --r-sm: 9px;
  --r:    14px;
  --r-lg: 22px;
  --wrap: 1180px;
  --gut:  clamp(20px, 5vw, 48px);

  --shadow:    0 18px 50px -24px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 90px -40px rgba(0,0,0,.85);
  --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; } }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient backdrop: a faint gold "spotlight" + grain, very restrained */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(201,162,75,.10), transparent 60%),
    radial-gradient(900px 700px at 8% 4%, rgba(76,174,138,.06), transparent 55%),
    var(--ink);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

::selection { background: rgba(201,162,75,.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--gold); color: #1a1206; padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 600; z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ----- Shared atoms ------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .6;
}
.eyebrow--center { justify-content: center; }

.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); line-height: 1.6; }

.btn {
  --bg: transparent; --fg: var(--paper); --bd: var(--line);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  --bg: linear-gradient(180deg, var(--gold-soft), var(--gold));
  --fg: #1c1404; --bd: transparent;
  box-shadow: 0 10px 30px -12px rgba(201,162,75,.6);
}
.btn--gold:hover { color: #160f02; box-shadow: 0 16px 40px -14px rgba(201,162,75,.8); }
.btn--ghost { --bg: var(--ink-3); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--ink-4); border-color: var(--gold); color: var(--paper); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn svg { width: 1.05em; height: 1.05em; }

/* Verified pill */
.vbadge {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--verified-soft);
  background: rgba(76,174,138,.10);
  border: 1px solid rgba(76,174,138,.35);
  padding: 5px 11px; border-radius: 999px;
}
.vbadge svg { width: 13px; height: 13px; }
.vbadge--pending { color: var(--muted); background: rgba(255,255,255,.03); border-color: var(--line); }

/* Section rhythm */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-head p { margin-top: 16px; }
.section-divider { border: 0; border-top: 1px solid var(--line-soft); }

/* ============================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,15,20,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(12,15,20,.86);
  border-bottom-color: var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); }
.brand:hover { color: var(--paper); }
.brand__mark { display: grid; place-items: center; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; }
.primary-nav a {
  color: var(--muted); font-weight: 500; font-size: 15px;
  padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.primary-nav a:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.primary-nav a[aria-current="page"] { color: var(--paper); }
.primary-nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--ink-3); border-radius: var(--r-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 9vw, 120px); }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px); line-height: 1.0; letter-spacing: -.022em;
  margin-top: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub { margin-top: 24px; max-width: 30ch; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-num { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--paper); }
.hero__trust-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.hero__trust .divider { width: 1px; height: 38px; background: var(--line); }

/* Seal stage */
.hero__seal { display: grid; place-items: center; position: relative; }
.hero__seal::after {
  content: ""; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,.18), transparent 70%); filter: blur(8px); z-index: -1;
}
.seal { width: min(420px, 78vw); height: auto; }
.seal__ring { transform-origin: 150px 150px; animation: seal-rotate 44s linear infinite; }
@keyframes seal-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal__ring { animation: none; } }

/* ============================================================================
   PROCESS / PILLARS
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.pillar {
  position: relative; background: linear-gradient(180deg, var(--ink-2), var(--ink-2) 60%, var(--ink));
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px 28px 28px;
  overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.pillar:hover { border-color: rgba(201,162,75,.4); transform: translateY(-3px); }
.pillar__no {
  font-family: var(--font-mono); font-size: 13px; color: var(--gold);
  letter-spacing: .1em; display: inline-block; margin-bottom: 18px;
}
.pillar__no::before { content: "／ "; color: var(--muted-2); }
.pillar h3 { font-size: 23px; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 16px; }
.pillar__glyph { position: absolute; right: 18px; top: 18px; color: var(--gold); opacity: .14; }
.pillar__glyph svg { width: 64px; height: 64px; }

/* ============================================================================
   BROWSE / DIRECTORY
   ========================================================================== */
.browse-tools { margin-top: 36px; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: stretch; }
.field {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 0 18px; transition: border-color .2s;
}
.field:focus-within { border-color: var(--gold); }
.field svg { width: 18px; height: 18px; color: var(--muted-2); flex: none; }
.field input, .field select {
  background: transparent; border: 0; color: var(--paper); font-family: var(--font-body);
  font-size: 15.5px; padding: 14px 0; width: 100%; outline: none;
}
.field select { cursor: pointer; padding-right: 8px; }
.field select option { background: var(--ink-2); color: var(--paper); }
.field--select { padding-right: 14px; }

.cards-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 24px; transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative; min-height: 100%;
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.42); background: var(--ink-3); }
.cat-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-card__town { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cat-card h3 { font-size: 24px; color: var(--paper); }
.cat-card:hover h3 { color: var(--paper); }
.cat-card p { color: var(--muted); font-size: 15px; flex: 1; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.cat-card__count { font-size: 13px; color: var(--muted-2); }
.cat-card__arrow { color: var(--gold); transition: transform .25s var(--ease); }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); }
.cat-card__link { position: absolute; inset: 0; border-radius: var(--r-lg); }
.cat-card__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.no-results { margin-top: 30px; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* ============================================================================
   "WHY TWO" editorial band
   ========================================================================== */
.editorial { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.editorial h2 { font-size: clamp(28px, 4vw, 44px); }
.editorial__body p + p { margin-top: 18px; }
.editorial__body p { color: var(--muted); }
.pullquote {
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-style: italic;
  color: var(--paper); line-height: 1.3; border-left: 2px solid var(--gold); padding-left: 22px; margin: 6px 0 24px;
}

/* ============================================================================
   JOIN CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  background: linear-gradient(135deg, rgba(201,162,75,.14), rgba(76,174,138,.07));
  border: 1px solid rgba(201,162,75,.30); border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 64px); text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: var(--muted); margin: 16px auto 0; max-width: 56ch; }
.cta-band .btn { margin-top: 30px; }
.cta-band small { display: block; margin-top: 16px; color: var(--muted-2); font-size: 13px; }

/* ============================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-head { padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(24px, 3vw, 36px); }
.breadcrumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 8px; opacity: .5; }
.page-head h1 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.02em; }
.page-head .lede { margin-top: 20px; max-width: 62ch; }

/* ============================================================================
   CATEGORY / LISTINGS PAGE
   ========================================================================== */
.listing-layout { display: grid; grid-template-columns: 1fr; gap: 18px; }
.company {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color .3s var(--ease);
}
.company:hover { border-color: rgba(201,162,75,.32); }
.company__head { display: flex; gap: 22px; padding: 28px clamp(22px, 3vw, 34px); align-items: flex-start; }
.company__avatar {
  flex: none; width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--ink-4), var(--ink-3));
  border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--gold-soft);
  overflow: hidden;
}
.company__avatar img { width: 100%; height: 100%; object-fit: cover; }
.company__title { flex: 1; min-width: 0; }
.company__rank { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.company__name { font-size: clamp(24px, 3vw, 30px); margin: 6px 0 12px; }
.company__name a { color: var(--paper); }
.company__name a:hover { color: var(--gold-soft); }
.company__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.company__body { padding: 0 clamp(22px, 3vw, 34px) 12px; }
.company__body p { color: var(--muted); }
.company__meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-soft); border-top: 1px solid var(--line-soft); margin-top: 18px;
}
.meta-row { background: var(--ink-2); padding: 16px clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 3px; }
.meta-row dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.meta-row dd { font-size: 16px; color: var(--paper); }
.meta-row dd a { color: var(--gold-soft); word-break: break-word; }
.meta-row--muted dd { color: var(--muted-2); font-style: italic; font-size: 14px; }
.company__cta { padding: 20px clamp(22px, 3vw, 34px) 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.company__tip { font-size: 13.5px; color: var(--muted-2); }

.about-trade { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line-soft); }
.about-trade h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.about-trade p { color: var(--muted); max-width: 70ch; }

.checks-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.check {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 22px; 
}
.check svg { width: 26px; height: 26px; color: var(--verified); margin-bottom: 12px; }
.check h3 { font-size: 18px; margin-bottom: 6px; }
.check p { font-size: 14.5px; color: var(--muted); }

/* ============================================================================
   FORMS
   ========================================================================== */
.form-card {
  background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--paper); }
.form-field label .req { color: var(--gold); }
.form-field .hint { font-size: 13px; color: var(--muted-2); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--paper); font-family: var(--font-body); font-size: 16px; padding: 13px 15px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.16);
}
.form-field select option { background: var(--ink-2); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions small { color: var(--muted-2); font-size: 13px; }
.form-note { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-error { background: rgba(214,90,90,.1); border: 1px solid rgba(214,90,90,.4); color: #f0b6b6; padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 22px; font-size: 14.5px; }

.tabs { display: inline-flex; gap: 6px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 30px; }
.tab {
  border: 0; background: transparent; color: var(--muted); font-family: var(--font-body); font-weight: 600;
  font-size: 14.5px; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s;
}
.tab[aria-selected="true"] { background: var(--gold); color: #1a1206; }

/* ============================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { margin-top: 40px; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; color: var(--paper);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 400; font-size: 26px; color: var(--gold); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__body { padding: 0 44px 26px 0; color: var(--muted); }

/* ============================================================================
   Prose (about / legal)
   ========================================================================== */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { color: var(--muted); margin: 0 0 18px 1.1em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-block: clamp(48px, 6vw, 80px) 36px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: clamp(36px, 5vw, 72px); }
.footer-seal { width: 108px; margin-bottom: 22px; }
.footer-seal .seal { width: 108px; }
.footer-seal .seal__ring { animation-duration: 70s; }
.footer-credo { color: var(--muted); font-size: 15px; max-width: 38ch; }
.footer-meta { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footcol h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footcol ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footcol a { color: var(--muted); font-size: 14.5px; }
.footcol a:hover { color: var(--paper); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.site-footer__bottom p { font-size: 13px; color: var(--muted-2); }
.credential-line { font-family: var(--font-mono); letter-spacing: .14em; }

/* ============================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__seal { order: -1; }
  .seal { width: min(320px, 70vw); }
  .pillars { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .checks-strip { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 76px 0 auto 0; background: rgba(12,15,20,.97);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .primary-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px var(--gut) 26px; }
  .primary-nav a { padding: 14px 8px; font-size: 17px; }
  .primary-nav__cta { margin: 10px 8px 0; }
  .primary-nav__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .browse-tools { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .company__meta { grid-template-columns: 1fr; }
  .company__head { flex-direction: column; gap: 16px; }
  .hero__trust .divider { display: none; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
}
