/* ============================================================
   AUTO DRAFT - Design System
   Editorial / publishing: warm paper, near-black ink,
   a single oxblood accent. Serif display, sans body.
   ============================================================ */

/* ========== TOKENS ========== */
:root {
  /* Surfaces */
  --bg:           #FAF8F4;   /* warm paper */
  --bg-warm:      #F2EEE6;   /* alternating section */
  --surface:      #FFFFFF;   /* cards */
  --surface-2:    #FAF8F4;

  /* Ink / text */
  --ink:          #1A1917;   /* headings, dark sections */
  --ink-soft:     #33312D;
  --body:         #55524C;   /* paragraph */
  --muted:        #6E6960;   /* meta, captions - AA on every surface */

  /* Brand accent - oxblood */
  --accent:       #7A2E2E;
  --accent-2:     #5E2020;   /* hover / darker */
  --accent-soft:  rgba(122,46,46,.055);
  --accent-line:  rgba(122,46,46,.20);
  --accent-ink:   #4E1B1B;
  --on-dark:      #D8C4A6;   /* warm sand, for accents on ink backgrounds */

  --gold:         #7F612C;   /* muted brass */

  /* Lines & shadow (restrained: hairlines do the work, not glow) */
  --border:        #E4DFD4;
  --border-strong: rgba(26,25,23,.16);
  --shadow-sm: 0 1px 1px rgba(26,25,23,.03);
  --shadow-md: 0 1px 2px rgba(26,25,23,.04), 0 6px 18px rgba(26,25,23,.05);
  --shadow-lg: 0 2px 6px rgba(26,25,23,.05), 0 18px 44px rgba(26,25,23,.07);

  --radius:    4px;
  --radius-sm: 3px;
  --transition: .2s ease;
  --font:         'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Legacy aliases (kept so older inline styles resolve gracefully) */
  --primary:        var(--bg);
  --primary-light:  var(--bg-warm);
  --accent-hover:   var(--accent-2);
  --text:           var(--ink);
  --text-muted:     var(--muted);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: rgba(122,46,46,.13); color: var(--ink); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.005em;
}

/* Accessibility — skip link */
.skip-to-content {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  padding: 12px 24px; background: var(--accent); color: #fff;
  border-radius: 0 0 8px 8px; font-weight: 600; font-size: .9rem;
  transition: top .2s ease;
}
.skip-to-content:focus { top: 0; }

/* ========== UTILITY ========== */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 110px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px;
  border: 1px solid transparent; border-radius: 3px;
  font-family: var(--font); font-size: .96rem; font-weight: 600;
  letter-spacing: .01em; line-height: 1;
  cursor: pointer; transition: var(--transition);
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover {
  background: var(--accent-2);
}
.btn-outline {
  background: transparent; color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Eyebrow / badge label */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted); background: none; border: 0;
  margin-bottom: 20px;
}
.text-center .badge { justify-content: center; }

.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 600; line-height: 1.16; margin-bottom: 18px;
}
.section-header p {
  font-size: 1.12rem; color: var(--body);
  max-width: 660px; margin: 0 auto;
}

/* Legacy hook, deliberately neutral: headlines read as one line of type. */
.gradient-text { color: inherit; display: inline; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 22px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(250,248,244,.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: none;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo {
  font-size: 1.4rem; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; gap: 11px; letter-spacing: -.02em;
}
.navbar .logo .logo-icon { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active { font-weight: 600; }
/* .nav-links a is more specific than .btn-primary, so the button colour must be
   restated here or the label renders dark ink on the dark oxblood fill. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary.active { color: #fff; }
.nav-links .btn { padding: 11px 22px; font-size: .88rem; }
.nav-links .btn::after { display: none; }
.nav-links .btn:hover, .nav-links a.btn.active { color: #fff; }
.nav-links a.btn.active::after { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--ink); transition: var(--transition); }

/* ========== HERO ========== */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 0;
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 55%);
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
  align-items: center; padding-bottom: 70px;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.7rem);
  font-weight: 600; line-height: 1.1; margin-bottom: 24px;
  letter-spacing: -.015em;
}
.hero-content p {
  font-size: 1.18rem; color: var(--body);
  margin-bottom: 36px; max-width: 540px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Hero credential row */
.hero-trust {
  display: flex; align-items: center; gap: 14px; margin-top: 32px;
  font-size: .9rem; color: var(--muted);
}
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.hero-trust strong { color: var(--ink); font-weight: 700; }

/* Hero visual — framed photograph + one tasteful credential card */
.hero-visual { position: relative; z-index: 2; }
.hero-figure {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 4.4;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,25,23,.03) 0%, rgba(26,25,23,.18) 100%);
}
.hero-cred {
  position: absolute; z-index: 3; left: -26px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-cred-icon {
  width: 44px; height: 44px; border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
}
.hero-cred-icon img { width: 26px; height: 26px; object-fit: contain; }
.hero-cred-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.hero-cred h4 { font-size: 1.1rem; font-weight: 600; line-height: 1; }
.hero-cred p { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.hero-cred-2 { top: 30px; bottom: auto; left: auto; right: -22px; }


/* Featured-in band (below hero) */
.hero-media-bar {
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}
.media-logos-section { text-align: center; padding: 30px 0 26px; }
.media-logos-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; color: var(--muted); margin-bottom: 18px;
}
.media-logos-track {
  overflow: hidden; position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.media-logos {
  display: flex; align-items: center; gap: 52px; width: max-content;
  animation: marquee 42s linear infinite; will-change: transform;
}
.media-logos:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.media-logo {
  font-size: 1.2rem; font-weight: 600; color: #9C968B;
  letter-spacing: .01em; white-space: nowrap; user-select: none;
  flex-shrink: 0; transition: color .25s ease;
}
.media-logo:hover { color: var(--ink); }
.media-logo.logo-serif {
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  text-transform: none; font-size: 1.45rem; letter-spacing: 0;
}
.media-logo.logo-bold { font-weight: 800; letter-spacing: .12em; font-size: 1.18rem; }
/* Decorative only, and marked aria-hidden in the markup. */
.media-logo-divider { color: rgba(26,25,23,.28); font-weight: 300; flex-shrink: 0; user-select: none; }

/* ========== TRUST BADGES ========== */
.trust-bar {
  padding: 44px 0; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.trust-badges { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.trust-badge {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
}
.trust-badge:hover { border-color: var(--border-strong); }
.trust-badge-icon { color: var(--gold); font-size: 1.2rem; line-height: 1; }
.trust-badge-text { display: flex; flex-direction: column; }
.trust-badge-text .rating { font-size: .92rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.trust-badge-text .source { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.trust-badge .stars { color: var(--gold); font-size: .78rem; letter-spacing: 1px; }

/* ========== STATS BAR ========== */
.stats-bar {
  padding: 64px 0; background: var(--ink);
  position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-bar .stat-item h3 { color: #fff; }
.stat-item h3 {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem); font-weight: 500;
  margin-bottom: 10px; color: var(--ink); letter-spacing: -.01em;
}
.stats-bar .stat-item h3 .gradient-text,
.stat-item h3.gradient-text { color: var(--on-dark); }
.stats-bar .stat-item p { color: rgba(255,255,255,.62); }
.stat-item p { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.stats-bar .stat-item h3 { position: relative; display: inline-block; }

/* ========== SERVICES / CARDS ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
  transition: var(--transition); position: relative; overflow: hidden;
  text-align: left;
}
.service-card:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}
.service-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: flex-start;
  margin: 0 0 20px; background: none;
}
.service-icon img { width: 30px; height: 30px; object-fit: contain; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--accent); }
.service-card h3 { font-size: 1.24rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--body); font-size: .97rem; }

/* link cards (featured insights) inherit accent on read-more */
a.service-card span[style] { color: var(--accent) !important; }

/* ========== PROCESS ========== */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px; position: relative;
}
.process-step { text-align: left; padding: 4px 24px 4px 0; position: relative; }
.step-number {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 400; line-height: 1;
  color: var(--accent); margin: 0 0 14px;
  position: relative; z-index: 2;
}
.process-step h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 10px; }
.process-step p { color: var(--body); font-size: .94rem; }


/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 26px;
}
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
  transition: var(--transition); position: relative;
}
.testimonial-card:hover { border-color: var(--border-strong); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 18px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 1.05rem; color: var(--ink-soft); line-height: 1.75;
  margin-bottom: 26px; font-style: normal; font-weight: 500;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; flex-shrink: 0;
}
.testimonial-info h4 { font-size: .96rem; font-weight: 700; }
.testimonial-info p { font-size: .82rem; color: var(--muted); }

/* ========== CTA ========== */
.cta-section { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0; background: var(--ink);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section .badge { color: var(--on-dark); }
.cta-section h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); font-weight: 600; margin-bottom: 18px; color: #FAF8F4; }
.cta-section p { font-size: 1.12rem; color: rgba(255,255,255,.72); max-width: 580px; margin: 0 auto 40px; }
.cta-bg-image { position: relative; background-size: cover; background-position: center; }
.cta-bg-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(26,25,23,.94), rgba(38,30,28,.90));
}

/* ========== PAGE HERO (interior pages) ========== */
.page-hero {
  padding: 165px 0 66px; text-align: left; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, #FFFFFF, var(--bg));
}
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.2rem); font-weight: 600; margin-bottom: 18px; position: relative; line-height: 1.12; }
.page-hero p { font-size: 1.14rem; color: var(--body); max-width: 640px; margin: 0; position: relative; }

/* Soft decorative photo accent on interior heroes */
.hero-bg-accent {
  position: absolute; top: 0; right: 0; width: 46%; height: 100%;
  background-size: cover; background-position: center; opacity: .10;
  mask-image: linear-gradient(to left, rgba(0,0,0,.7), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.7), transparent);
  pointer-events: none; filter: grayscale(.2);
}

/* ========== ABOUT ========== */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 20px; line-height: 1.25; }
.about-text p { color: var(--body); margin-bottom: 16px; font-size: 1.02rem; }
.about-image-photo {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); min-height: 420px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.about-image-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-image-photo .photo-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 28px 26px; z-index: 2;
  background: linear-gradient(to top, rgba(26,25,23,.90) 0%, rgba(26,25,23,.45) 55%, transparent 100%);
}
.about-image-photo .photo-overlay h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; color: #fff; }
.about-image-photo .photo-overlay p { font-size: .85rem; color: rgba(255,255,255,.78); }

/* Services detail visual panel (icon + label opposite body copy) */
.about-image {
  background: linear-gradient(160deg, var(--surface), var(--bg-warm));
  border: 1px solid var(--border); border-radius: var(--radius);
  min-height: 360px; display: flex; align-items: center; justify-content: center;
  padding: 48px; position: relative; overflow: hidden;
}
.about-image::before {
  content: ''; position: absolute; width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.about-image h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.about-image .detail-visual-icon-svg { stroke: var(--accent); }

/* ========== VALUES ========== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px; text-align: left;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--border-strong); }
.value-icon {
  width: 42px; height: 42px; margin: 0 0 18px;
  display: flex; align-items: center; justify-content: flex-start; background: none;
}
.value-icon svg { width: 30px; height: 30px; stroke: var(--accent); }
.value-icon img { width: 34px; height: 34px; object-fit: contain; }
.value-card h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 10px; }
.value-card p { color: var(--body); font-size: .94rem; }

/* ========== FOUNDER ========== */
.founder-grid {
  display: grid; grid-template-columns: 350px 1fr; gap: 56px;
  align-items: start; max-width: 1060px; margin: 0 auto;
}
.founder-aside { position: sticky; top: 104px; }
.founder-photo {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-name { font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-top: 22px; }
.founder-role {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent); margin-top: 4px;
}
.founder-facts { margin-top: 18px; border-top: 1px solid var(--border); }
.founder-facts li {
  display: flex; gap: 12px; padding: 11px 0; font-size: .88rem;
  color: var(--body); border-bottom: 1px solid var(--border); line-height: 1.4;
}
.founder-facts li svg { width: 17px; height: 17px; stroke: var(--accent); flex-shrink: 0; margin-top: 2px; }
.founder-bio h3 { font-size: 1.75rem; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.founder-bio .founder-kicker { color: var(--accent); font-weight: 600; margin-bottom: 22px; font-size: 1.05rem; }
.founder-bio p { color: var(--body); font-size: 1.04rem; line-height: 1.85; margin-bottom: 18px; }
.founder-bio p strong { color: var(--ink-soft); font-weight: 700; }
.founder-quote {
  margin: 30px 0; padding: 2px 0 2px 26px; border-left: 1px solid var(--accent-line);
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5;
  color: var(--ink); font-weight: 400; font-style: italic;
}
.founder-serves {
  margin-top: 8px; padding: 24px 26px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.founder-serves h4 {
  font-size: .76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); margin-bottom: 14px;
}
.founder-serves ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.founder-serves li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--body); line-height: 1.5; }
.founder-serves li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent-line);
}
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-aside { position: static; max-width: 360px; margin: 0 auto; text-align: center; }
  .founder-facts li { justify-content: flex-start; text-align: left; }
  .founder-serves ul { grid-template-columns: 1fr; }
}

/* ========== ETHICS / COMPLIANCE ========== */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0 auto; }
.dodont-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 32px;
}
.dodont-card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 20px; }
.dodont-card.will h3 { color: var(--accent); }
.dodont-card ul { display: flex; flex-direction: column; gap: 13px; }
.dodont-card li { position: relative; padding-left: 28px; font-size: .98rem; color: var(--body); line-height: 1.55; }
.dodont-card li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.dodont-card.will li::before { content: '\2713'; color: var(--accent); }
.dodont-card.wont li::before { content: '\2715'; color: var(--muted); }
.compliance-note {
  max-width: 1000px; margin: 40px auto 0; padding: 28px 32px; text-align: center;
  background: var(--bg-warm); border: 1px solid var(--border); border-radius: var(--radius);
}
.compliance-note p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; margin: 0; }
@media (max-width: 768px) { .dodont { grid-template-columns: 1fr; } }

/* ========== CASE STUDIES ========== */
.case-list { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.case-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 36px; transition: var(--transition);
}
.case-card:hover { border-color: var(--border-strong); }
.case-tag {
  display: inline-block; padding: 0; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; background: none; color: var(--muted); margin-bottom: 14px;
}
.case-card > h3 { font-size: 1.45rem; font-weight: 600; line-height: 1.3; margin-bottom: 26px; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 26px; }
.case-cols h4 { font-family: var(--font); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 9px; }
.case-cols p { font-size: .95rem; color: var(--body); line-height: 1.7; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--border); }
.case-metric { background: none; border: 0; border-left: 1px solid var(--border); border-radius: 0; padding: 4px 20px; min-width: 130px; }
.case-metric .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--ink); line-height: 1; }
.case-metric .lbl { font-size: .76rem; color: var(--muted); margin-top: 5px; line-height: 1.3; }
@media (max-width: 768px) { .case-cols { grid-template-columns: 1fr; gap: 18px; } .case-card { padding: 30px 24px; } }

/* detail icons (services page) */
.detail-visual-icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 16px; }
.detail-visual-icon-svg { width: 64px; height: 64px; margin-bottom: 16px; stroke: var(--accent); }

/* ========== QUOTE FORM ========== */
.quote-form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.quote-info h3 { font-size: 1.65rem; font-weight: 600; margin-bottom: 16px; }
.quote-info > p { color: var(--body); margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 3px; background: none;
  display: flex; align-items: center; justify-content: flex-start; flex-shrink: 0; color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.contact-item h4 { font-size: .96rem; font-weight: 700; margin-bottom: 2px; }
.contact-item p { font-size: .9rem; color: var(--muted); }

.quote-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: 3px;
  color: var(--ink); font-family: var(--font); font-size: .95rem;
  transition: var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--surface); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .checkmark {
  width: 72px; height: 72px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color:#fff;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; }
.form-success p { color: var(--body); }

/* ========== FOOTER (deep navy anchor) ========== */
.footer { padding: 72px 0 32px; background: var(--ink); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-brand .logo {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: #FAF8F4;
  display: flex; align-items: center; gap: 11px; margin-bottom: 16px; letter-spacing: -.02em;
}
.footer-brand .logo .logo-icon { width: 34px; height: 34px; object-fit: contain; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 300px; }
.footer-col h4 {
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 20px; color: rgba(255,255,255,.92);
}
.footer-col a { display: block; font-size: .92rem; color: rgba(255,255,255,.6); margin-bottom: 12px; transition: var(--transition); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
  font-size: .9rem; color: rgba(255,255,255,.8);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 290px; height: 100vh;
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 1001; padding: 90px 32px 32px; transition: var(--transition);
  box-shadow: -20px 0 60px rgba(26,25,23,.10);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block; font-size: 1.08rem; font-weight: 500; padding: 16px 0;
  border-bottom: 1px solid var(--border); color: var(--ink-soft); transition: var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(26,25,23,.4);
  z-index: 1000; opacity: 0; pointer-events: none; transition: var(--transition);
  backdrop-filter: blur(2px);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs { padding: 12px 0; font-size: .82rem; color: var(--muted); position: relative; z-index: 2; }
.breadcrumbs a { color: var(--muted); transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .separator { margin: 0 8px; }

/* ========== BLOG ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 48px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--border-strong); }
.blog-card-image { width: 100%; height: 210px; object-fit: cover; }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-category {
  display: inline-block; align-self: flex-start; padding: 0; border-radius: 0;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  background: none; color: var(--muted); margin-bottom: 12px;
}
.blog-card-category.cat-reputation,
.blog-card-category.cat-industry,
.blog-card-category.cat-guides { background: none; color: var(--muted); }
.blog-card-title { font-size: 1.24rem; font-weight: 600; line-height: 1.3; margin-bottom: 10px; color: var(--ink); }
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-excerpt {
  font-size: .92rem; color: var(--body); line-height: 1.65; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-meta { display: flex; align-items: center; gap: 16px; font-size: .78rem; color: var(--muted); margin-top: auto; }
.blog-card-meta span { display: flex; align-items: center; gap: 5px; }

.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 52px;
  transition: var(--transition);
}
.blog-featured:hover { border-color: var(--border-strong); }
.blog-featured-image { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.blog-featured-body { padding: 44px; align-self: center; }
.blog-featured-body .blog-card-title { font-size: 1.7rem; margin-bottom: 16px; }
.blog-featured-body .blog-card-excerpt { -webkit-line-clamp: 4; line-clamp: 4; margin-bottom: 24px; font-size: 1rem; }

/* Article page */
.article-hero { position: relative; overflow: hidden; padding-top: 76px; background: var(--ink); }
.article-hero-image { width: 100%; height: 440px; object-fit: cover; display: block; opacity: .9; }
.article-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 70px 0 38px;
  background: linear-gradient(transparent, rgba(26,25,23,.45) 30%, var(--ink) 96%);
}
.article-header { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.article-hero .article-header h1 { color: #fff; }
.article-header h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 600; line-height: 1.18; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 18px; font-size: .86rem; color: rgba(255,255,255,.75); margin-bottom: 10px; flex-wrap: wrap; }
.article-meta .blog-card-category { margin-bottom: 0; background: rgba(255,255,255,.14); color: #fff; }

.article-body { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.article-body > p:first-of-type { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.7; }
.article-body h2 { font-size: 1.7rem; font-weight: 600; margin: 50px 0 14px; }
.article-body h3 { font-size: 1.28rem; font-weight: 600; margin: 34px 0 12px; }
.article-body p { font-size: 1.08rem; line-height: 1.85; color: var(--body); margin-bottom: 24px; }
.article-body ul, .article-body ol { margin: 0 0 24px 22px; color: var(--body); }
.article-body li { list-style: disc; margin-bottom: 8px; font-size: 1.05rem; line-height: 1.75; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 1px solid var(--accent-line); padding: 6px 0 6px 26px; margin: 36px 0;
  background: none; border-radius: 0;
  font-family: var(--font-display); font-style: italic;
  color: var(--ink); font-size: 1.3rem; line-height: 1.5; font-weight: 400;
}
.article-body img { border-radius: var(--radius); margin: 34px 0; width: 100%; box-shadow: var(--shadow-sm); }
.article-body .image-caption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: -22px; margin-bottom: 34px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.article-body a:hover { color: var(--accent-2); }

.author-box {
  display: flex; align-items: center; gap: 20px; padding: 28px;
  background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0;
  margin-top: 48px; padding-left: 0; padding-right: 0;
}
.author-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 600; color: #fff; flex-shrink: 0;
}
.author-info h4 { font-size: .96rem; font-weight: 700; margin-bottom: 4px; }
.author-info p { font-size: .85rem; color: var(--muted); margin: 0; }

.related-articles { max-width: 980px; margin: 0 auto; padding: 0 20px 80px; }
.related-articles h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ========== FAQ ========== */
.faq-grid { max-width: 820px; margin: 0 auto; }
.faq-category { margin-bottom: 44px; }
.faq-category-title {
  font-size: 1.35rem; font-weight: 600; margin-bottom: 22px; padding-bottom: 0;
  display: block;
}
.faq-item {
  border: 0; border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 0;
  overflow: hidden; background: none; transition: var(--transition);
}
.faq-item.active { background: none; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; cursor: pointer; gap: 16px; transition: var(--transition); user-select: none;
}
.faq-question:hover h3 { color: var(--accent); }
.faq-question h3 { font-size: 1.06rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.faq-toggle {
  width: 22px; height: 22px; background: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: var(--transition); font-size: 1rem; color: var(--muted);
}
.faq-item.active .faq-toggle { color: var(--accent); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer-inner { padding: 0 24px 24px; color: var(--body); font-size: .96rem; line-height: 1.8; }
.faq-answer-inner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer-inner a:hover { color: var(--accent-2); }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-contact-box {
  max-width: 820px; margin: 48px auto 0; padding: 40px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); text-align: center;
}
.faq-contact-box h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.faq-contact-box p { color: var(--body); margin-bottom: 24px; font-size: .95rem; }

/* ========== LEGAL ========== */
.legal-body { max-width: 820px; margin: 0 auto; padding: 0 20px 80px; }
.legal-body h2 { font-size: 1.45rem; font-weight: 600; margin: 42px 0 12px; }
.legal-body h3 { font-size: 1.15rem; font-weight: 600; margin: 28px 0 8px; }
.legal-body p { font-size: .97rem; line-height: 1.85; color: var(--body); margin-bottom: 16px; }
.legal-body ul { margin: 0 0 16px 24px; color: var(--body); }
.legal-body li { list-style: disc; margin-bottom: 6px; font-size: .96rem; line-height: 1.7; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .legal-updated {
  font-size: .85rem; color: var(--muted); margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}

/* ========== SECTION TINTS (legacy inline-style support) ========== */
[style*="var(--surface)"], [style*="var(--primary-light)"] { /* handled via tokens above */ }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-figure { aspect-ratio: 16 / 11; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .quote-form-wrapper { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 260px; }
  .blog-featured-body { padding: 34px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 120px; }
  .hero-cred { left: 12px; }
  .hero-cred-2 { right: 12px; }
  .trust-badges { flex-direction: column; gap: 12px; }
  .trust-badge { width: 100%; max-width: 300px; justify-content: center; }
  .media-logo { font-size: 1.08rem; }
  .media-logo.logo-serif { font-size: 1.2rem; }
  .media-logos { gap: 38px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services-grid, .testimonials-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.4rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-hero-image { height: 280px; }
  .author-box { flex-direction: column; text-align: center; }
}

/* ============================================================
   EDITORIAL REFINEMENTS
   Hairlines and type do the work here. No decorative rules,
   no accent bars, no hover levitation.
   ============================================================ */

/* Display type gets optical sizing where the font supports it */
h1, h2, h3, h4, .stat-item h3, .step-number {
  font-optical-sizing: auto;
}

/* Lead paragraph on articles reads as a deck, not another body block */
.article-body > p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Process: numbered entries in a row, no rail between them */
.process-grid { gap: 36px 40px; }
.process-step { border-top: 1px solid var(--border); padding-top: 22px; }

/* Section headers: keep the eyebrow quiet */
.badge { color: var(--muted); }
.cta-section .badge { color: var(--on-dark); }

/* Icons sit at text size, not in tinted tiles */
.service-icon svg, .value-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.service-icon img, .value-icon img { width: 26px; height: 26px; }

/* Cards: one hairline, one hover state */
.service-card, .value-card, .testimonial-card, .case-card, .blog-card, .blog-featured {
  box-shadow: none;
}

/* Links inside body copy: underline, no arrow furniture */
.article-body a, .legal-body a, .faq-answer-inner a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Quiet the press marquee: it should read as a footnote, not a headline */
.media-logos-section { padding: 26px 0 22px; }
.media-logo { font-weight: 500; color: var(--muted); }
.media-logo.logo-serif { font-family: var(--font-display); font-style: italic; }

/* Dark sections use paper-white type, not pure white */
.stats-bar .stat-item h3 { color: #FAF8F4; }
.footer { color: rgba(250,248,244,.66); }

/* Author box reads as a byline */
.author-box { gap: 18px; padding: 26px 0 0; }

/* Hero credential chips: hairline card, no tinted icon tile */
.hero-cred-icon { background: none; width: 30px; height: 30px; border-radius: 0; }
.hero-cred-icon img, .hero-cred-icon svg { width: 24px; height: 24px; }

/* Breadcrumb sitting directly under the fixed navbar needs its own clearance,
   and the hero below it should not re-add the full offset. */
main > .container:first-child .breadcrumbs { padding-top: 104px; }
main > .container:first-child + .page-hero { padding-top: 30px; }
/* Breadcrumb already clears the navbar on article pages */
main > .container:first-child + article .article-hero { padding-top: 0; }

/* Secondary button on the dark CTA band. The light-surface outline style
   (ink text, hairline border) is invisible against the ink overlay, so on
   dark sections it takes a cream fill instead. */
.cta-section .btn-outline {
  background: var(--bg-warm);
  border-color: var(--bg-warm);
  color: var(--ink);
}
.cta-section .btn-outline:hover {
  background: #FFFDF8;
  border-color: #FFFDF8;
  color: var(--accent);
}
