/* Konvel Ltd — site stylesheet
   Editorial direction: Playfair Display serif for headings, Inter sans for body.
   Navy + deep teal palette. Mobile-first responsive. */

/* Self-hosted fonts — no third-party requests, no visitor IPs sent to Google. */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-v40-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-v40-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy:        #0B1F3A;
  --teal:        #1F5C5A;
  --teal-light:  #4A9491;  /* lighter teal for use on dark navy — passes WCAG AA */
  --paper:       #F7F5F1;
  --white:       #FFFFFF;
  --charcoal:    #2A2A2A;
  --grey:        #555555;
  --hairline:    #CCCCCC;
  --soft-bg:     #FAFAF8;

  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max-width:   1100px;
  --gutter:      24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover { border-bottom-color: var(--teal); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 80px 0;
}
.section--paper   { background: var(--paper); }
.section--soft    { background: var(--soft-bg); }
.section--navy    { background: var(--navy); color: var(--white); }
.section--navy a  { color: var(--paper); }

@media (max-width: 700px) {
  .section { padding: 56px 0; }
}

/* ==========================================================================
   HEADER + NAV
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--navy);
  border-bottom: none;
}
.brand:hover { color: var(--navy); border-bottom: none; }

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: none;
  letter-spacing: 0.2px;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a.active {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 4px;
}
.site-nav a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Skip-to-content link — accessible, visible only when focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  z-index: 1000;
  border-bottom: none !important;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* Language switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
  margin-left: 4px;
}
.lang-toggle {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  background: transparent;
  border: 1px solid var(--hairline);
  padding: 6px 12px 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
.lang-toggle::after {
  content: '';
  display: inline-block;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
  box-shadow: 0 6px 24px rgba(11,31,58,0.08);
}
.lang-menu.open { display: block; }
.lang-menu li { margin: 0; }
.lang-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--charcoal);
  border-bottom: none;
  border-radius: 4px;
}
.lang-menu a:hover { background: var(--paper); color: var(--navy); }
.lang-menu a.current { background: var(--paper); color: var(--navy); font-weight: 500; }
.lang-menu a span.code {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--grey);
  letter-spacing: 1px;
}

/* Tablet — let nav wrap onto its own row below the brand if needed */
@media (max-width: 900px) {
  .site-header .container {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13.5px; }
}

/* Phone — stack nav below the brand, full width, no hidden items */
@media (max-width: 600px) {
  .site-header { padding: 14px 0; }
  .site-header .container {
    justify-content: flex-start;
    gap: 10px;
  }
  .brand { font-size: 20px; flex: 0 0 100%; }
  .site-nav {
    flex: 1 1 100%;
    gap: 14px 18px;
    justify-content: flex-start;
    padding-top: 4px;
    border-top: 1px solid var(--hairline);
    margin-top: 4px;
    padding-top: 12px;
  }
  .site-nav a { font-size: 14px; }
  .lang-switcher { margin-left: auto; }
  .lang-menu { right: 0; left: auto; }
}

/* Very narrow phones — keep all 5 links readable */
@media (max-width: 380px) {
  .site-nav { gap: 10px 14px; }
  .site-nav a { font-size: 13px; }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
h1 { font-size: 56px; letter-spacing: -0.5px; margin-bottom: 24px; }
h2 { font-size: 36px; margin-bottom: 20px; }
h3 { font-size: 22px; margin-bottom: 12px; }
h4 { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--teal); margin-bottom: 12px; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy h4 { color: var(--paper); }

p { margin-bottom: 16px; }
p.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--grey);
  max-width: 720px;
  margin-bottom: 32px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.serif-italic { font-family: var(--font-serif); font-style: italic; color: var(--teal); }

@media (max-width: 700px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  p.lead { font-size: 18px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--teal); border-color: var(--teal); border-bottom-color: var(--teal); }
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white) !important; border-bottom-color: var(--navy); }

/* Buttons placed inside the dark navy section: invert so they remain visible. */
.section--navy .btn-primary {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--white);
}
.section--navy .btn-primary:hover {
  background: var(--teal);
  color: var(--white) !important;
  border-color: var(--teal);
}
.section--navy .btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.4);
}
.section--navy .btn-ghost:hover {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--white);
}
.btn + .btn { margin-left: 12px; }

@media (max-width: 500px) {
  .btn { display: block; text-align: center; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 640px;
  max-width: 55%;
  height: 200px;
  background: url('wordmark-reversed.svg') no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero::after { width: 420px; height: 140px; right: 24px; bottom: 24px; opacity: 0.08; }
}
@media (max-width: 700px) {
  .hero::after { display: none; } /* mobile — wordmark fights with buttons; drop entirely */
}
.hero h1 {
  color: var(--white);
  font-size: 72px;
  letter-spacing: -0.8px;
  max-width: 950px;
}
.hero h1 .accent { color: var(--teal-light); font-style: italic; }
.hero p.lead { color: rgba(255,255,255,0.78); font-size: 22px; max-width: 700px; }
.hero .btn-primary { background: var(--white); color: var(--navy) !important; border-color: var(--white); }
.hero .btn-primary:hover { background: var(--teal); color: var(--white) !important; border-color: var(--teal); }
.hero .btn-ghost { color: var(--white) !important; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy) !important; }

@media (max-width: 700px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 42px; line-height: 1.08; }
  .hero p.lead { font-size: 17px; }
}
@media (max-width: 500px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
}

/* ==========================================================================
   GRID — services / steps / industries
   ========================================================================== */
.grid {
  display: grid;
  gap: 36px;
  margin-top: 40px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 24px; }
}

.card {
  padding-top: 4px;
  border-top: 3px solid var(--teal);
  transition: transform 0.25s ease, border-top-color 0.25s ease, border-top-width 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-top-color: var(--navy);
}
.card:hover h3 { color: var(--navy); }
.card h3 { transition: color 0.2s ease; }
.card h3 {
  font-size: 22px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.card p { color: var(--grey); font-size: 15.5px; }
.card ul { list-style: none; padding: 0; margin-top: 12px; }
.card ul li {
  font-size: 14.5px;
  color: var(--grey);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ==========================================================================
   STEP NUMBERS
   ========================================================================== */
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}
.step-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  color: var(--teal);
  line-height: 1;
}
.step h3 { margin-top: 4px; margin-bottom: 8px; }
.step p { color: var(--grey); margin-bottom: 0; }

@media (max-width: 600px) {
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step-number { font-size: 42px; }
}

/* ==========================================================================
   ANCHOR / PULL-OUT QUOTE LINES
   ========================================================================== */
.anchor-lines {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.anchor {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--navy);
  border-left: 3px solid var(--teal);
  padding-left: 24px;
}
.section--navy .anchor { color: var(--white); border-left-color: var(--teal-light); }

@media (max-width: 600px) {
  .anchor { font-size: 22px; padding-left: 16px; }
}

/* ==========================================================================
   FEE TABLE
   ========================================================================== */
.fee-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  padding: 18px 0 18px 16px;
  border-left: 3px solid var(--navy);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
  align-items: baseline;
}
.fee-row:last-of-type { border-bottom: none; }
.fee-row .fee-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
}
.fee-row .fee-when { color: var(--charcoal); font-size: 15px; }
.fee-row .fee-rate {
  text-align: right;
  font-style: italic;
  color: var(--teal);
  font-size: 15px;
}
@media (max-width: 700px) {
  .fee-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0 16px 14px;
  }
  .fee-row .fee-rate { text-align: left; }
}

/* ==========================================================================
   FORM
   ========================================================================== */
.contact-form {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin-top: 32px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact-form .checkbox-row input { width: auto; margin-top: 4px; }
.contact-form .checkbox-row label { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--grey); font-size: 13.5px; }

/* ==========================================================================
   CONTACT BLOCK
   ========================================================================== */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}
.contact-block dl { margin: 0; }
.contact-block dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
  margin-top: 18px;
}
.contact-block dt:first-child { margin-top: 0; }
.contact-block dd {
  font-size: 17px;
  color: var(--charcoal);
  margin-left: 0;
  margin-bottom: 8px;
}
@media (max-width: 800px) {
  .contact-block { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
  font-size: 14px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.site-footer h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a {
  color: rgba(255,255,255,0.75);
  border-bottom: none;
}
.site-footer a:hover { color: var(--white); }
.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.footer-tagline {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--teal-light);
  font-size: 16px;
  margin-bottom: 18px;
}
.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 800px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   PROSE PAGES (Privacy, Cookies)
   ========================================================================== */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 { font-size: 28px; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { font-size: 18px; margin-top: 24px; margin-bottom: 8px; color: var(--teal); font-style: italic; font-weight: 700; }
.prose p { color: var(--charcoal); }
.prose ul { padding-left: 22px; margin-bottom: 16px; color: var(--charcoal); }
.prose ul li { margin-bottom: 6px; }
.prose .meta { font-size: 14px; color: var(--grey); font-style: italic; margin-bottom: 24px; }

/* ==========================================================================
   COOKIE BANNER (minimal — replace with proper consent tool when analytics added)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  display: none;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.cookie-banner.show { display: flex; flex-direction: column; gap: 12px; }
.cookie-banner a { color: var(--paper); }
.cookie-banner button {
  align-self: flex-start;
  background: var(--white);
  color: var(--navy);
  border: none;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ==========================================================================
   TRADE-FLOW DIAGRAM (sourcing → konvel → clients)
   ========================================================================== */
.flow {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  position: relative;
}
.flow-col {
  text-align: center;
  padding: 28px 16px;
  border-top: 2px solid var(--navy);
}
.flow-col h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}
.flow-col .place-list {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.55;
}
.flow-col .place-list strong {
  display: block;
  font-weight: 700;
}
.flow-konvel {
  text-align: center;
  border-top: none;
  padding: 16px 16px;
}
.flow-konvel .k {
  width: 88px;
  height: 88px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 48px;
  margin-bottom: 14px;
  line-height: 1;
}
.flow-konvel .k-label {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.flow-konvel .k-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--grey);
  font-style: italic;
}
.flow-arrow {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--teal);
  z-index: -1;
}
.flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--teal);
  border-right: 1px solid var(--teal);
  transform: rotate(45deg);
}
.flow-arrow.left  { left: 31%; }
.flow-arrow.right { right: 31%; }

@media (max-width: 800px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .flow-arrow { display: none; }
  .flow-col, .flow-konvel { padding: 16px 0; }
}

/* ==========================================================================
   STATS SECTION (by the numbers)
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 32px;
}
.stat-item {
  border-top: 1px solid var(--navy);
  padding-top: 20px;
}
.stat-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 44px;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-number .accent { color: var(--teal); font-style: italic; font-weight: 700; }
.stat-label {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.45;
}
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-number { font-size: 36px; }
}

/* ==========================================================================
   ANIMATED LINK UNDERLINE (prose / contact / footer)
   ========================================================================== */
.prose a,
.contact-block dd a,
.site-footer a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.25s ease;
  border-bottom: none;
  padding-bottom: 1px;
}
.prose a:hover,
.contact-block dd a:hover,
.site-footer a:hover {
  background-size: 100% 1px;
}

/* ==========================================================================
   SECTION DIVIDER — small teal mark separating major sections
   ========================================================================== */
.section + .section:not(.section--paper):not(.section--navy):not(.section--soft) {
  position: relative;
}
.section + .section:not(.section--paper):not(.section--navy):not(.section--soft)::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto -40px;
  position: relative;
  top: -50px;
}

/* ==========================================================================
   ANIMATION — editorial scroll-reveal + hero entrance
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

.stat-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.stat-item.stat-in-view {
  opacity: 1;
  transform: none;
}

.hero .eyebrow,
.hero h1,
.hero p.lead,
.hero .btn {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero .eyebrow      { animation-delay: 0.05s; }
.hero h1            { animation-delay: 0.15s; }
.hero p.lead        { animation-delay: 0.30s; }
.hero .btn-primary  { animation-delay: 0.45s; }
.hero .btn-ghost    { animation-delay: 0.55s; }

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.flow-arrow {
  animation: flowPulse 4.5s ease-in-out infinite;
}
.flow-arrow.right { animation-delay: 1.5s; }

@keyframes flowPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(11,31,58,0.06);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in-view,
  .stat-item,
  .stat-item.stat-in-view,
  .hero .eyebrow,
  .hero h1,
  .hero p.lead,
  .hero .btn-primary,
  .hero .btn-ghost,
  .flow-arrow,
  .flow-arrow.right {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== Services page — high-end chapter-style markers (added 2026-05-04) ===== */
.service-section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.service-section .container.prose,
.service-section .container {
  max-width: 920px;
}
.service-marker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.service-number {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.service-divider {
  flex: 1;
  height: 1px;
  background: var(--hairline);
  max-width: 96px;
  opacity: 0.7;
}
.service-section h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-top: 4px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.service-section .lead {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 760px;
}
.service-section h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 18px;
}
.service-section ul {
  list-style: none !important;
  padding-left: 0 !important;
}
.service-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.55;
}
.service-section ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}
.service-section p strong {
  color: var(--navy);
}
.service-section .service-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
  color: var(--grey);
}
@media (max-width: 720px) {
  .service-section { padding-top: 64px; padding-bottom: 64px; }
  .service-section h2 { font-size: 30px; }
  .service-section .lead { font-size: 17px; }
}
