@import url('tokens.css');

/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5
 * genre: editorial · macrostructure: component-scope (S2 Hanging + F4 Step Sequence)
 * theme: brand-locked editorial · enrichment: none (typography + texture only)
 * contrast: pass (40–41) · mobile: pass (34, 49, 50–57)
 */

:root {
  --deep-ocean: #032F4F;
  --ocean-blue: #034A77;
  --mid-blue:   #0360A0;
  --sky-blue:   #6BC7DE;
  --light-blue: #B0F2FA;
  --cream:      #F4FCFD;
  --coral:      #034A77;
  --gold:       #B0F2FA;
  --text-dark:  #10304A;
  --text-muted: #4A6175;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 220ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:not([class]) {
  color: var(--ocean-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

a:not([class]):hover,
a:not([class]):focus-visible {
  color: var(--deep-ocean);
}

/* Header */
.site-header {
  background: var(--deep-ocean);
  padding: var(--space-sm) var(--space-md);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  color: white;
}

.logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.logo__mark--navy {
  display: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

/* Wordmark: the brand board sets it in Mont, light and widely tracked;
   Montserrat is the closest web face we load. */
.logo__name {
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: #FFFFFF;
  text-transform: uppercase;
}

.logo__sub {
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-top: 2px;
}

.logo--footer .logo__mark {
  width: 28px;
  height: 28px;
}

.logo--footer .logo__name {
  font-size: 0.82rem;
}

.logo--footer .logo__sub {
  font-size: 0.54rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.site-footer__tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.primary-nav {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.primary-nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color var(--dur-short) var(--ease-out);
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: white; }

.primary-nav a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* Hero */
.hero {
  background: var(--deep-ocean);
  color: white;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(74,144,184,0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--light-blue);
  margin-bottom: var(--space-sm);
}

.hero a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.hero a:not(.btn):hover,
.hero a:not(.btn):focus-visible {
  color: white;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  font-weight: 600;
  max-width: 22ch;
  overflow-wrap: anywhere;
  min-width: 0;
}

.hero__lede {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 55ch;
  margin-bottom: var(--space-md);
}

.hero__cta {
  margin-bottom: var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color var(--dur-short) var(--ease-out),
              transform 100ms var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--coral);
  color: white;
}

.btn-primary:hover { background: #0360A0; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.35);
}

.btn-secondary:hover { border-color: white; }
.btn-secondary:active { transform: translateY(1px); }

.btn-light {
  background: white;
  color: var(--deep-ocean);
  border-color: rgba(0,0,0,0.08);
}

.btn-light:hover { background: var(--light-blue); }

.btn:disabled,
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary:disabled,
.btn-primary.is-disabled {
  background: var(--coral);
}

/* Sections */
.section {
  padding: var(--space-2xl) var(--space-md);
}

.section--light { background: var(--cream); }
.section--dark { background: var(--ocean-blue); color: white; }
.section--white { background: white; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section__header {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-xs);
  line-height: 1.15;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.section--light .section__header h2,
.section--white .section__header h2 { color: var(--deep-ocean); }
.section--dark .section__header h2 { color: white; }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: white; }

.section__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.section--dark .section__header p { color: rgba(255,255,255,0.85); }
.section--dark .section__eyebrow { color: var(--light-blue); }

.section--dark .prose {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .prose h3 {
  color: white;
  border-bottom-color: rgba(176, 242, 250, 0.2);
}

.section--dark .prose p,
.section--dark .prose ul,
.section--dark .prose ol,
.section--dark .prose li {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .prose strong {
  color: white;
}

.section--dark .feature-list li {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .feature-list li::before {
  color: var(--light-blue);
}

.section--dark a:not(.btn),
.section--dark .prose a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.section--dark a:not(.btn):hover,
.section--dark a:not(.btn):focus-visible,
.section--dark .prose a:not(.btn):hover,
.section--dark .prose a:not(.btn):focus-visible {
  color: white;
}

/* Decision router */
.router-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.router-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 3px solid var(--coral);
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
}

.router-card:hover,
.router-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}

.router-card:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.router-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-2xs);
  font-weight: 600;
}

.router-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.router-card__action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Specialties — editorial stage list
 * Section head: S2 Hanging (with brand eyebrow)
 * Feature archetype: F4 Step Sequence (adapted to numbered specialties)
 */
.section--specialties {
  background-color: var(--color-paper);
  color: var(--color-ink);
  border-top: 1px solid var(--color-rule);
  position: relative;
  overflow: hidden;
}

.section--specialties a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.section--specialties a:not(.btn):hover,
.section--specialties a:not(.btn):focus-visible {
  color: white;
}

.section--specialties::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(74, 144, 184, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 88% 75%, rgba(3, 74, 119, 0.07) 0%, transparent 38%);
  pointer-events: none;
}

.section--specialties .container {
  position: relative;
  z-index: 1;
}

.section--specialties .section__head {
  padding-block: var(--space-2xl) var(--space-xl);
}

.section--specialties .section__eyebrow {
  display: block;
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.section--specialties .section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--color-ink);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  overflow-wrap: anywhere;
  min-width: 0;
}

.section--specialties .section__head p {
  color: var(--color-ink-2);
  max-width: 55ch;
  font-size: 1.05rem;
}

.specialty-stages {
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.specialty-stage {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  border-top: 1px solid var(--color-rule);
  padding-top: var(--space-lg);
}

.specialty-stage {
  padding-left: 0;
}

.specialty-stage__index {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--color-accent-2);
  line-height: 1;
  font-weight: 600;
}

.specialty-stage__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
  line-height: 1.15;
  overflow-wrap: anywhere;
  min-width: 0;
}

.specialty-stage__body p {
  color: var(--color-ink-2);
  line-height: 1.65;
  max-width: 65ch;
}

@media (max-width: 640px) {
  .specialty-stage {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0 !important;
  }
  .specialty-stage__index {
    font-size: 2rem;
  }
  .section--specialties .section__head h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
}

/* Service detail section — replaces big plain white blocks on /launch and /scale */
.section--detail {
  background-color: var(--color-paper-2);
  color: var(--color-ink);
  border-top: 1px solid var(--color-rule);
  position: relative;
  overflow: hidden;
}

.section--detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 30%, rgba(74, 144, 184, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(3, 74, 119, 0.06) 0%, transparent 38%);
  pointer-events: none;
}

.section--detail .container {
  position: relative;
  z-index: 1;
}

.section--detail .section__eyebrow {
  display: block;
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.section--detail .section__header {
  margin-bottom: var(--space-xl);
}

.section--detail .section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-ink);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
  overflow-wrap: anywhere;
  min-width: 0;
}

.section--detail .section__header p {
  color: var(--color-ink-2);
  max-width: 60ch;
  font-size: 1.05rem;
}

.section--detail .split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.section--detail .prose {
  color: var(--color-ink);
}

.section--detail .prose h3 {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
  padding-bottom: var(--space-xs);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.section--detail .prose h3:first-child {
  margin-top: 0;
}

.section--detail .prose p {
  color: var(--color-ink-2);
}

.section--detail .prose strong {
  color: var(--color-ink);
  font-weight: 600;
}

.section--detail .feature-list {
  gap: var(--space-sm);
}

.section--detail .feature-list li {
  color: var(--color-ink-2);
}

.section--detail .feature-list li::before {
  color: var(--color-accent-2);
}

.section--detail a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.section--detail a:not(.btn):hover,
.section--detail a:not(.btn):focus-visible {
  color: white;
}

@media (max-width: 800px) {
  .section--detail .split { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* CTA dark band (e.g. /insights "Put these insights to work") */
.section--cta-dark {
  background-color: var(--color-paper-2);
  color: var(--color-ink);
  border-top: 1px solid var(--color-rule);
  position: relative;
  overflow: hidden;
}

.section--cta-dark a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.section--cta-dark a:not(.btn):hover,
.section--cta-dark a:not(.btn):focus-visible {
  color: white;
}

.section--cta-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(74, 144, 184, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(3, 74, 119, 0.06) 0%, transparent 38%);
  pointer-events: none;
}

.section--cta-dark .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section--cta-dark .section__eyebrow {
  display: block;
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.section--cta-dark .section__header {
  margin-bottom: var(--space-lg);
  margin-inline: auto;
  text-align: center;
}

.section--cta-dark .section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-ink);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  overflow-wrap: anywhere;
  min-width: 0;
}

.section--cta-dark .section__header p {
  color: var(--color-ink-2);
  max-width: 55ch;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* Authority bar */
.authority {
  background: var(--deep-ocean);
  color: white;
  padding: var(--space-xl) var(--space-md);
}

.authority__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.authority__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: none;
  width: 100%;
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: anywhere;
  min-width: 0;
}

.authority__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.authority__stats div {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.authority__stats strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.authority__stats span {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA */
.cta {
  background: var(--cream);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.cta__inner {
  max-width: 620px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--deep-ocean);
  margin-bottom: var(--space-xs);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* Prose content */
.prose {
  max-width: 70ch;
  color: var(--text-dark);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-ocean);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.prose p {
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.prose li {
  margin-bottom: var(--space-xs);
}

.prose strong {
  color: var(--deep-ocean);
  font-weight: 600;
}

.prose a:not(.btn) {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.prose a:not(.btn):hover,
.prose a:not(.btn):focus-visible {
  color: var(--mid-blue);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.feature-list li {
  position: relative;
  padding-left: var(--space-md);
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* Footer */
.site-footer {
  background: var(--deep-ocean);
  color: rgba(255,255,255,0.55);
  padding: var(--space-md);
  font-size: 0.85rem;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.site-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-left: var(--space-md);
  transition: color var(--dur-short) var(--ease-out);
}

.site-footer a:hover,
.site-footer a:focus-visible { color: white; }

.site-footer a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* Tool layouts */
.container--narrow { max-width: 720px; }

.tool-progress { margin-bottom: var(--space-lg); }

.tool-progress__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xs);
}

.tool-progress__bar {
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.tool-progress__fill {
  height: 100%;
  background: var(--coral);
  transition: width var(--dur-short) var(--ease-out);
}

.tool-question-form { margin-top: var(--space-lg); }

.tool-question-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}

.tool-question-legend {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--deep-ocean);
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.tool-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: var(--space-xs);
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out);
}

.tool-option:hover,
.tool-option:focus-within,
.tool-option--selected {
  border-color: var(--coral);
  background: var(--light-blue);
}

.tool-option input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.tool-option__text {
  color: var(--text-dark);
  line-height: 1.5;
}

.form-group { margin-bottom: var(--space-md); }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2xs);
  color: var(--deep-ocean);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  font: inherit;
  background: white;
  margin-bottom: var(--space-xs);
}

.form-input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.form-error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: var(--space-2xs);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.form-actions--between { justify-content: space-between; }

.required { color: var(--coral); }
.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9em;
}

.email-capture-form { margin-top: var(--space-md); }

.tool-result-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  padding: var(--space-lg);
}

.tool-result-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-ocean);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.tool-result-channel {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.tool-observation {
  border-left: 3px solid var(--coral);
  padding-left: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tool-observation h3,
.tool-insight h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-ocean);
  margin: 0 0 var(--space-2xs);
}

.tool-observation p,
.tool-insight p {
  margin: 0;
}

.tool-result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 var(--space-md);
}

.tool-disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.08);
}


/* FT-02 tool styles */
.container--narrow { max-width: 760px; }

.hero__meta {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

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

.tool-form { margin-top: var(--space-xl); }

.tool-options {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: grid;
  gap: var(--space-sm);
}

.tool-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}

.tool-option:hover,
.tool-option:focus-within {
  border-color: var(--sky-blue);
  box-shadow: 0 4px 12px rgba(10,22,40,0.06);
}

.tool-option:has(input:checked) {
  border-color: var(--ocean-blue);
  background: var(--light-blue);
}

.tool-option--error {
  border-color: var(--coral);
}

.tool-option input[type="radio"],
.tool-option input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--ocean-blue);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.tool-option__label {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.form-error {
  color: var(--coral);
  font-size: 0.92rem;
  margin-bottom: var(--space-sm);
}

.tool-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.result-card,
.result-section,
.result-cta {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.result-card h2,
.result-section h2,
.result-cta h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.result-card p,
.result-section p,
.result-cta p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.result-cta p:last-of-type { margin-bottom: var(--space-md); }

.numbered-list {
  margin-left: var(--space-md);
  color: var(--text-muted);
}

.numbered-list li { margin-bottom: var(--space-xs); }

.tool-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Vulnerability Snapshot form styles */

.hero--compact {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color var(--dur-short) var(--ease-out),
              transform 100ms var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.button--primary {
  background: var(--coral);
  color: white;
}

.button--primary:hover { background: #0360A0; }
.button--primary:active { transform: translateY(1px); }

.button--secondary {
  background: transparent;
  color: var(--deep-ocean);
  border-color: rgba(0,0,0,0.2);
}

.button--secondary:hover { border-color: var(--deep-ocean); }
.button--secondary:active { transform: translateY(1px); }

.question-card {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.question-card__legend {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--deep-ocean);
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.25;
  padding: 0;
}

.question-card__options {
  display: grid;
  gap: var(--space-sm);
}

.option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out);
}

.option:hover,
.option:focus-within,
.option:has(input:checked) {
  border-color: var(--coral);
  background: var(--light-blue);
}

.option input {
  margin-top: 0.25rem;
  accent-color: var(--ocean-blue);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.option span {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.form-actions--split {
  justify-content: space-between;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2xs);
  color: var(--deep-ocean);
}

.error {
  color: var(--coral);
  font-size: 0.92rem;
  margin-top: var(--space-sm);
}

/* FT-06 cross-links and decision helper */
.cross-links {
  background: white;
  border-radius: 12px;
  padding: var(--space-xl);
  box-shadow: 0 16px 40px rgba(10,22,40,0.16);
}

.cross-links__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: var(--space-2xs);
}

.cross-links h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.cross-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.cross-links a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-md);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  transition: transform var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out),
              background-color var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}

.cross-links a:hover,
.cross-links a:focus-visible {
  border-color: var(--coral);
  background: var(--light-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10,22,40,0.1);
}

.cross-links a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.cross-links a strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-2xs);
}

.cross-links__desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex-grow: 1;
}

.cross-links__action {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coral);
}

.decision-helper {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.decision-helper div {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-md);
}

.decision-helper dt {
  font-weight: 700;
  color: var(--deep-ocean);
  margin-bottom: var(--space-2xs);
}

.decision-helper dd {
  color: var(--text-muted);
  margin: 0;
}

/* Hallmark · genre: editorial · macrostructure: Bento Grid · theme: BOR brand system · enrichment: none · nav: existing site header preserved · footer: existing site footer preserved */

.tools-hero {
  background: var(--deep-ocean);
  color: white;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.tools-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(3,74,119,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tools-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tools-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--light-blue);
  margin-bottom: var(--space-sm);
}

.tools-hero a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.tools-hero a:not(.btn):hover,
.tools-hero a:not(.btn):focus-visible {
  color: white;
}

.tools-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.tools-hero__lede {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 55ch;
  margin: 0 auto;
}

.tools-page {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.bento-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
}

.bento-cell {
  grid-column: span 4;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-lg);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
  animation: bento-reveal 420ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
  opacity: 0;
}

.bento-cell--featured {
  grid-column: span 7;
  grid-row: span 2;
  background: var(--ocean-blue);
  color: white;
  border-color: rgba(255,255,255,0.08);
}

.bento-cell--wide {
  grid-column: span 12;
}

.bento-cell:hover,
.bento-cell:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10,22,40,0.1);
  border-color: rgba(0,0,0,0.1);
}

.bento-cell--featured:hover,
.bento-cell--featured:focus-visible {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 40px rgba(10,22,40,0.18);
}

.bento-cell:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.bento-cell__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.bento-cell--featured .bento-cell__meta {
  color: var(--light-blue);
}

.bento-cell h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.bento-cell--featured h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.bento-cell p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.bento-cell--featured p {
  color: rgba(255,255,255,0.78);
}

.bento-cell__action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
}

.bento-cell--featured .bento-cell__action {
  color: white;
}

.decision-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-md) 0 0;
}

.decision-matrix div {
  padding: var(--space-md);
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.06);
}

.decision-matrix dt {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-ocean);
  margin-bottom: var(--space-2xs);
}

.decision-matrix dd {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.decision-matrix__fallback {
  margin-top: var(--space-md);
  color: var(--text-muted);
}

.decision-matrix__fallback a {
  color: var(--coral);
  font-weight: 600;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  counter-reset: step;
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
}

.process-strip li {
  position: relative;
  padding-top: var(--space-lg);
}

.process-strip li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
}

.process-strip li strong {
  display: block;
  color: var(--deep-ocean);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
}

.process-strip li span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tools-disclaimer {
  margin-top: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 75ch;
}

/* Tool layout: blue background, two columns */
.tool-layout {
  background: var(--deep-ocean);
  color: white;
  padding: var(--space-2xl) var(--space-md);
  min-height: calc(100vh - 72px);
}

.tool-layout__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.tool-layout__hero {
  position: sticky;
  top: 96px;
}

.tool-layout__hero .hero__eyebrow {
  color: var(--light-blue);
  margin-bottom: var(--space-sm);
}

.tool-layout a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.tool-layout a:not(.btn):hover,
.tool-layout a:not(.btn):focus-visible {
  color: white;
}

.tool-layout__hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  font-weight: 600;
  max-width: 24ch;
  color: white;
}

.tool-layout__hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 48ch;
  margin-bottom: var(--space-md);
}

.tool-layout__hero .hero__cta {
  margin-bottom: var(--space-md);
}

.tool-layout__hero .hero__meta {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
}

.tool-layout__body {
  background: white;
  color: var(--text-dark);
  border-radius: 12px;
  padding: var(--space-xl);
  box-shadow: 0 24px 60px rgba(10,22,40,0.22);
}

.tool-layout__body > *:last-child {
  margin-bottom: 0;
}

.tool-layout__body > *:first-child {
  margin-top: 0;
}

.tool-layout__body .section__header {
  margin-bottom: var(--space-lg);
}

.tool-layout__body h2,
.tool-layout__body h3 {
  color: var(--deep-ocean);
}

.tool-layout__body .result-card,
.tool-layout__body .result-section,
.tool-layout__body .tool-result-card {
  margin-bottom: var(--space-lg);
}

/* React tool flows render their own section wrappers; neutralize them inside the card */
.tool-layout__body .tool-section,
.tool-layout__body .section--light {
  background: transparent;
  padding: 0;
}

.tool-layout__body .tool-section .container,
.tool-layout__body .tool-section .container--narrow {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Flatten nested cards inside the white tool body panel */
.tool-layout__body .tool-result-card,
.tool-layout__body .result-card,
.tool-layout__body .result-section,
.tool-layout__body .result-cta {
  background: transparent;
  border: 0;
  padding: 0;
}

.tool-layout__footer {
  max-width: 1200px;
  margin: var(--space-xl) auto 0;
}

/* Hide duplicated phase title inside qualifier forms; keep the subtitle */
.tool-layout__body .section__header:has(.section__lede) h2 {
  display: none;
}

/* Focused tool flow mode: no main nav, compact header, full-width questions */
body.tool-flow {
  padding-top: 0;
}

.tool-layout--flow {
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tool-layout__topbar {
  background: var(--gr-navy, var(--deep-ocean));
  border-bottom: 1px solid var(--gr-line, rgba(176, 242, 250, 0.32));
  padding: 0 var(--gr-gutter, clamp(1.25rem, 4vw, 3.5rem));
  position: sticky;
  top: 0;
  z-index: 200;
}

.tool-layout__topbar-inner {
  max-width: var(--gr-max, 1240px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
}

.tool-layout a.tool-layout__logo,
.tool-layout a.tool-layout__logo:hover,
.tool-layout a.tool-layout__logo:focus-visible {
  color: #FFFFFF;
  text-decoration: none;
}

.tool-layout a.tool-layout__logo:hover {
  opacity: 0.9;
}

.tool-layout__tool-name {
  font-family: var(--gr-sans, 'Montserrat', sans-serif);
  color: var(--gr-on-navy-2, #C9DDE8);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .tool-layout__topbar-inner {
    min-height: 64px;
  }
}

@media (max-width: 600px) {
  .tool-layout__tool-name {
    font-size: 0.75rem;
    max-width: 180px;
  }
}

.tool-layout__inner--flow {
  max-width: 900px;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-md);
  flex: 1 0 auto;
}

.tool-layout__hero--flow {
  position: static;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.tool-layout__hero--flow .hero__eyebrow,
.tool-layout__hero--flow h1 {
  display: none;
}

.tool-layout__hero--flow p {
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto;
}

.tool-layout__hero--flow .hero__cta,
.tool-layout__hero--flow .hero__meta {
  display: none;
}

.tool-layout__body--flow {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
}

@keyframes bento-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .bento-cell { grid-column: span 6; }
  .bento-cell--featured { grid-column: span 12; grid-row: span 1; }
  .bento-cell--wide { grid-column: span 12; }
  .decision-matrix { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell,
  .bento-cell--featured,
  .bento-cell--wide { grid-column: 1 / -1; grid-row: auto; }
  .process-strip { grid-template-columns: 1fr; }
  .tools-hero { padding: var(--space-xl) var(--space-md); }
}

/* Responsive */
@media (max-width: 800px) {
  .authority__inner { gap: var(--space-lg); }
}

@media (max-width: 900px) {
  .tool-layout__inner {
    /* minmax(0, …) so a long select option can't widen the column past the screen */
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .tool-layout__hero {
    position: static;
  }
  .tool-layout__hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .primary-nav { display: none; }
  .hero h1 { max-width: none; }
  .authority__stats { gap: var(--space-md); }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer a { margin-left: 0; margin-right: var(--space-md); }
  .tool-layout {
    padding: var(--space-xl) var(--space-md);
  }
  .tool-layout__body {
    padding: var(--space-lg);
  }
  .tool-layout__inner--flow {
    padding: var(--space-lg) var(--space-md);
  }
  .tool-layout__hero--flow h1 {
    font-size: 1.5rem;
  }
  .cross-links {
    padding: var(--space-lg);
  }
  .cross-links ul {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form .form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  font: inherit;
  background: white;
}

.contact-form .form-input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  margin-bottom: var(--space-md);
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 150ms !important;
    transition-duration: 150ms !important;
  }

  /* html sets scroll-behavior: smooth for the in-page anchor links on the
     home and FAQ pages; that animation is a common vestibular trigger. */
  html {
    scroll-behavior: auto !important;
  }
}


/* Hallmark · pre-emit critique: P5 H4 E5 S4 R5 V5 */
/* Hallmark · genre: editorial · macrostructure: Stat-Led · theme: custom (BOR ocean-anchor) · enrichment: none · nav: existing site header preserved · footer: existing site footer preserved */

/* About page — Stat-Led */

.about-hero {
  background: var(--deep-ocean);
  color: white;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(74, 144, 184, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-hero__media {
  position: relative;
}

.about-hero__photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: grayscale(100%);
  margin: 0 auto;
}

.about-hero__words {
  max-width: 55ch;
}

.about-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--light-blue);
  margin-bottom: var(--space-sm);
}

.about-hero a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.about-hero a:not(.btn):hover,
.about-hero a:not(.btn):focus-visible {
  color: white;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.about-hero__lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.about-section {
  padding: var(--space-2xl) var(--space-md);
}

.about-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-section__head {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.about-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-section__head h2,
.about-section__inner > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--deep-ocean);
  overflow-wrap: anywhere;
  min-width: 0;
}

.about-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.about-section--origin {
  background: var(--cream);
}

.about-origin__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-pull {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.35;
  color: var(--deep-ocean);
  font-weight: 500;
  max-width: 45ch;
}

.about-origin__columns {
  display: grid;
  gap: var(--space-md);
}

.about-prose {
  color: var(--text-muted);
  line-height: 1.65;
}

.about-prose strong {
  color: var(--deep-ocean);
  font-weight: 600;
}

.about-section--reasons {
  background: white;
}

.about-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: reason;
}

.about-reason {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--cream);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-reason:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.06);
}

.about-reason--offset {
  margin-left: clamp(0px, 8vw, 96px);
}

.about-reason__mark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
}

.about-reason__copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.about-reason__copy p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 65ch;
}

.about-section--leadership {
  background: var(--ocean-blue);
  color: white;
}

.about-section--leadership .about-section__eyebrow {
  color: var(--light-blue);
}

.about-section--leadership a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.about-section--leadership a:not(.btn):hover,
.about-section--leadership a:not(.btn):focus-visible {
  color: white;
}

.about-section--leadership .about-section__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-section--leadership h2,
.about-section--leadership h3 {
  font-family: var(--font-display);
  color: white;
}

.about-section--leadership h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.about-leadership__role {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.about-leadership__profile p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
  max-width: 60ch;
}

.about-leadership__recognition {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg);
}

.about-leadership__recognition h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.about-recognition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.about-recognition-list li {
  position: relative;
  padding-left: var(--space-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.about-recognition-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--light-blue);
}

.about-recognition-list strong {
  color: white;
  font-weight: 600;
}

.about-section--clients {
  background: var(--cream);
}

.about-clients__body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-clients__body p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.about-clients__body strong {
  color: var(--deep-ocean);
  font-weight: 600;
}

.about-authority {
  background: var(--deep-ocean);
  color: white;
  padding: var(--space-xl) var(--space-md);
}

.about-authority__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-authority__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.15;
  font-weight: 600;
  max-width: 18ch;
  overflow-wrap: anywhere;
  min-width: 0;
}

.about-authority__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: 0;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-stat__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.about-stats-strip {
  background: var(--cream);
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.about-stats-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-stats-strip__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: 0;
}

.about-stats-strip .about-stat {
  background: white;
  border: 1px solid rgba(10, 22, 40, 0.08);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.about-stats-strip .about-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--ocean-blue);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-stats-strip .about-stat__label {
  color: var(--text-muted);
}

.about-section--video {
  background: white;
}

.about-video {
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-video__player {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  background: var(--deep-ocean);
  border-radius: 4px;
  display: block;
}

.about-video__caption {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-hero__media {
    order: -1;
  }

  .about-origin__body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-reason--offset {
    margin-left: 0;
  }

  .about-section--leadership .about-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-authority__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-authority__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: var(--space-xl) var(--space-md);
  }

  .about-hero__number {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .about-reason__mark {
    font-size: 1rem;
  }

  .about-stats-strip__list {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: var(--space-xl) var(--space-md);
  }

  .about-stats-strip {
    padding: var(--space-lg) var(--space-md);
  }
}

/* Blog */
.container--narrow { max-width: 720px; }
.container--article { max-width: 960px; }

.hero--blog .hero__inner,
.hero--article .hero__inner {
  text-align: left;
  align-items: flex-start;
}

.hero--article h1 {
  max-width: none;
}

.hero__lede--muted {
  color: var(--text-muted);
}

/* Filter pills */
.blog-filter {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.blog-filter__group + .blog-filter__group {
  margin-top: var(--space-md);
}

.blog-filter__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.blog-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.blog-filter__pill {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-dark);
  background: white;
  transition: background-color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out);
}

.blog-filter__pill:hover,
.blog-filter__pill.is-active {
  background: var(--deep-ocean);
  border-color: var(--deep-ocean);
  color: white;
}

/* Blog list */
.blog-list {
  max-width: 900px;
  margin: 0 auto;
}

.blog-row {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background-color var(--dur-short) var(--ease-out);
}

.blog-row:hover,
.blog-row:focus-within {
  background: rgba(232,244,248,0.4);
}

.blog-row__link {
  display: block;
  padding: var(--space-lg) 0;
  text-decoration: none;
  color: inherit;
}

.blog-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-row__topic {
  color: var(--coral);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.blog-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  font-weight: 600;
  max-width: 55ch;
}

.blog-row__excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  max-width: 65ch;
  line-height: 1.55;
}

.blog-row__action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Grids */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

.blog-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.blog-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Cards */
.blog-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--dur-short) var(--ease-out),
              box-shadow var(--dur-short) var(--ease-out);
}

.blog-card:hover,
.blog-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10,22,40,0.1);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card__topic {
  color: var(--coral);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
  font-weight: 600;
}

.blog-card__excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  margin-top: auto;
}

.blog-card__action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card--compact .blog-card__link {
  padding: var(--space-sm) var(--space-md);
}

.blog-card--compact .blog-card__title {
  font-size: 1.15rem;
}

/* Article page */
.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-md);
}

.blog-post__back {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sky-blue);
  text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
}

.blog-post__back:hover {
  color: white;
}

.blog-post__topic-pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--coral);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out);
}

.blog-post__topic-pill:hover {
  background: var(--coral);
  color: white;
}

.blog-post__content {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-xl);
  box-shadow: 0 16px 48px rgba(10,22,40,0.08);
}

.blog-post__body {
  max-width: none;
  font-size: 1.125rem;
  line-height: 1.8;
}

.blog-post__body h2,
.blog-post__body h3 {
  font-family: var(--font-display);
  color: var(--deep-ocean);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.blog-post__body h2 { font-size: 2.1rem; }
.blog-post__body h3 { font-size: 1.65rem; }

.blog-post__body p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.blog-post__body ul,
.blog-post__body ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.blog-post__body li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.blog-post__body strong {
  color: var(--deep-ocean);
  font-weight: 600;
}

.blog-post__body blockquote {
  border-left: 3px solid var(--coral);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-dark);
  font-style: italic;
}

.cta-panel {
  background: var(--light-blue);
  padding: var(--space-lg);
  text-align: center;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.cta-panel p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .blog-card--featured .blog-card__link {
    grid-template-columns: 1fr;
  }

  .blog-card--featured .blog-card__link::after {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
    margin-bottom: var(--space-md);
  }

  .blog-grid,
  .blog-grid--compact,
  .blog-grid--related {
    grid-template-columns: 1fr;
  }

  .blog-filter__pills {
    gap: var(--space-2xs);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-reason,
  .about-stat {
    transition: none !important;
    animation: none !important;
  }

  .about-reason:hover {
    transform: none;
  }
}


/* Hallmark · component-scope: trust page · genre: editorial · theme: brand-locked editorial
 * macrostructure: component-scope (S2 Hanging + T1 Featured-Quote Wall)
 * contrast: pass (40–41) · mobile: pass (34, 49, 50–57)
 */

/* Trust intro — replaces flat white "Trusted by 300+" block */
.section--trust-intro {
  background: var(--deep-ocean);
  color: var(--cream);
  border-top: 1px solid var(--color-rule);
  position: relative;
  overflow: hidden;
}

.section--trust-intro a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.section--trust-intro a:not(.btn):hover,
.section--trust-intro a:not(.btn):focus-visible {
  color: white;
}

.section--trust-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 30%, rgba(74, 144, 184, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 92% 70%, rgba(3, 74, 119, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.section--trust-intro .container {
  position: relative;
  z-index: 1;
}

.section--trust-intro .section__head {
  max-width: 760px;
  margin-bottom: var(--space-xl);
}

.section--trust-intro .section__eyebrow {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.section--trust-intro .section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.section--trust-intro .section__head p {
  color: rgba(250, 248, 245, 0.78);
  max-width: 55ch;
  font-size: 1.05rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  border-top: 1px solid var(--color-rule);
  padding-top: var(--space-lg);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.trust-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.trust-stat span {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 800px) {
  .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .trust-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Testimonials — asymmetric featured-quote wall */
.section--testimonials {
  background: var(--cream);
  position: relative;
}

.section--testimonials .section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  padding-bottom: var(--space-md);
}

.section--testimonials .section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--deep-ocean);
  line-height: 1.1;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.section--testimonials .section__head .rule-accent {
  width: 48px;
  height: 3px;
  background: var(--coral);
  justify-self: end;
}

.testimonial-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.testimonial {
  position: relative;
  padding-left: var(--space-md);
  border-left: 1px solid rgba(10, 22, 40, 0.12);
}

.testimonial::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 32px;
  background: var(--coral);
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--deep-ocean);
  line-height: 1.35;
  margin-bottom: var(--space-sm);
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial cite strong {
  color: var(--deep-ocean);
  font-weight: 600;
}

.testimonial--featured {
  border-left: 0;
  padding-left: 0;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
}

.testimonial--featured::before {
  display: none;
}

.testimonial--featured::after {
  content: "“";
  position: absolute;
  top: -0.05em;
  left: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--gold);
  opacity: 0.22;
  line-height: 1;
  pointer-events: none;
}

.testimonial--featured p {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--deep-ocean);
  line-height: 1.25;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
}

.testimonial--featured cite {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
}

.testimonial-grid .testimonial p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .testimonial-wall {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .testimonial--featured {
    padding-top: var(--space-lg);
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .section--testimonials .section__head {
    grid-template-columns: 1fr;
  }
  .section--testimonials .section__head .rule-accent {
    justify-self: start;
  }
}


/* Hallmark · component-scope: contact + FAQ pages · genre: editorial · theme: brand-locked editorial
 * macrostructure: component-scope (S2 Hanging + F4 Step Sequence + C1 Split Form)
 * contrast: pass (40–41) · mobile: pass (34, 49, 50–57)
 */

/* Contact — split form layout on dark band */
.section--contact {
  background: var(--ocean-blue);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-rule);
}

.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(74, 144, 184, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(3, 74, 119, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.section--contact .container {
  position: relative;
  z-index: 1;
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--space-2xl) + 60px);
}

.contact-info .section__eyebrow {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.contact-info > p {
  color: rgba(250, 248, 245, 0.78);
  max-width: 45ch;
  margin-bottom: var(--space-lg);
}

.contact-card {
  background: rgba(10, 22, 40, 0.35);
  border: 1px solid var(--color-rule);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-card dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-2xs);
}

.contact-card dd {
  color: var(--cream);
  font-size: 1.05rem;
}

.contact-info a:not(.btn) {
  color: var(--light-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-short) var(--ease-out);
}

.contact-info a:not(.btn):hover,
.contact-info a:not(.btn):focus-visible {
  color: white;
}

.contact-card a {
  color: var(--light-blue);
  text-decoration: underline;
  text-decoration-color: rgba(176, 242, 250, 0.4);
  transition: color var(--dur-short) var(--ease-out),
              text-decoration-color var(--dur-short) var(--ease-out);
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: white;
  text-decoration-color: white;
}

.contact-form-panel {
  background: var(--cream);
  color: var(--text-dark);
  padding: var(--space-xl);
  border-top: 4px solid var(--coral);
}

.contact-form-panel .form-group label {
  color: var(--deep-ocean);
  font-weight: 600;
}

.contact-form-panel .form-input {
  border-color: rgba(10, 22, 40, 0.12);
  background: white;
}

.contact-form-panel .form-input:focus {
  outline-color: var(--coral);
}

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .contact-info {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-form-panel {
    padding: var(--space-md);
  }
}

/* FAQ — split index + Q&A wall */
.section--faq {
  background: var(--cream);
  position: relative;
}

.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.faq-index {
  position: sticky;
  top: calc(var(--space-xl) + 60px);
}

.faq-index__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.faq-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2xs);
}

.faq-index a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: var(--space-2xs) 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  transition: color var(--dur-short) var(--ease-out),
              padding-left var(--dur-short) var(--ease-out);
}

.faq-index a:hover,
.faq-index a:focus-visible {
  color: var(--deep-ocean);
  padding-left: var(--space-xs);
}

.faq-index a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.faq-group {
  margin-bottom: var(--space-2xl);
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--deep-ocean);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--coral);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.faq-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep-ocean);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.faq-item p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  max-width: 68ch;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item a {
  color: var(--ocean-blue);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 2px;
  font-weight: 500;
}

.faq-item a:hover,
.faq-item a:focus-visible {
  color: var(--coral);
}

.faq-item strong {
  color: var(--deep-ocean);
  font-weight: 600;
}

@media (max-width: 900px) {
  .faq-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .faq-index {
    position: static;
    display: none;
  }
}

/* ============================================================
 * IA v2 header — 5-item nav with button-style final CTA
 * ============================================================ */
.primary-nav .nav-cta {
  background: transparent;
  color: var(--gr-aqua, #B0F2FA);
  border: 1px solid rgba(176, 242, 250, 0.5);
  border-radius: 0;
  font-weight: 700;
}
.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background: var(--gr-aqua, #B0F2FA);
  color: var(--gr-navy, #032F4F);
  border-color: var(--gr-aqua, #B0F2FA);
}
@media (max-width: 900px) {
  .primary-nav { flex-wrap: wrap; gap: 0.25rem 1rem; }
  .primary-nav .nav-cta { padding: 0.4rem 0.85rem; }
}

/* ============================================================
 * Nav v3 — Services dropdown, mobile menu, nav toggle
 * (Website Developer Package, final handoff 2026-10-10)
 * ============================================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown__row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  font: inherit;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  border-radius: 4px;
  transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.nav-dropdown__toggle svg {
  display: block;
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible {
  color: white;
}

.nav-dropdown__toggle:focus-visible {
  outline: 2px solid var(--gr-aqua);
  outline-offset: 3px;
}

.nav-dropdown.is-open .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}

/* Submenu: a square deep-ocean sheet on a gate-line hairline, no radius, no shadow */
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1.1rem;
  min-width: 240px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--gr-navy);
  border: 1px solid var(--gr-line);
  z-index: 300;
}

.nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}

.primary-nav .nav-dropdown__menu a {
  display: block;
  padding: 0.7rem 1.1rem 0.7rem calc(1.1rem - 2px);
  border-left: 2px solid transparent;
  background-image: none;
  color: var(--gr-on-navy-2);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 220ms var(--gr-ease), background-color 220ms var(--gr-ease), border-color 220ms var(--gr-ease);
}

.nav-dropdown__menu li + li { border-top: 1px solid var(--gr-line); }

.primary-nav .nav-dropdown__menu a:hover,
.primary-nav .nav-dropdown__menu a:focus-visible {
  color: var(--gr-on-navy);
  background-color: rgba(176, 242, 250, 0.08);
  border-left-color: var(--gr-aqua);
}

.primary-nav .nav-dropdown__menu a:focus-visible { outline-offset: -2px; }

/* Dropdown caret gap so the menu doesn't close crossing from trigger to panel */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}

/* Mobile nav toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0 10px;
  background: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 1px;
  transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .primary-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--deep-ocean);
    padding: var(--space-sm) var(--space-md) var(--space-md);
    box-shadow: 0 12px 24px rgba(3, 47, 79, 0.35);
  }

  .nav-open .primary-nav-wrap { display: block; }

  .primary-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav__item {
    border-bottom: 1px solid var(--color-rule);
  }

  .primary-nav__item:last-child {
    border-bottom: 0;
  }

  .primary-nav a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
  }

  .primary-nav a:focus-visible {
    outline-offset: -2px;
  }

  .nav-dropdown__row {
    justify-content: space-between;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.25rem;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    padding: 0;
    background: rgba(176, 242, 250, 0.05);
    border: 0;
    border-top: 1px solid var(--gr-line);
    margin-bottom: var(--space-xs);
  }

  .primary-nav .nav-dropdown__menu a {
    padding: 0.75rem 1rem 0.75rem calc(1rem - 2px);
  }

  .primary-nav .nav-dropdown__menu a:hover,
  .primary-nav .nav-dropdown__menu a:focus-visible {
    background-color: rgba(176, 242, 250, 0.1);
  }

  .primary-nav .nav-cta {
    display: inline-block;
    margin: var(--space-sm) 0;
  }
}

/* Result pages: the report takes two thirds of the width, with the
   result title and CTA beside it. */
.tool-layout__inner--result {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-xl);
}

.tool-layout__inner--result .tool-layout__hero h1 {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.result-nextstep {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid rgba(176, 242, 250, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.tool-layout__hero .result-nextstep p {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.result-block {
  margin-top: var(--space-lg);
}

.result-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
}

.result-block p,
.result-block li {
  color: var(--text-muted);
}

.result-block p { margin-bottom: var(--space-sm); }

.tool-layout__body .result-cta {
  margin-top: var(--space-lg);
}

@media (max-width: 900px) {
  .tool-layout__inner--result { grid-template-columns: minmax(0, 1fr); }
}

.tool-layout__hero .result-sample-note {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-ocean);
  background: var(--light-blue);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: var(--space-md);
}
