:root {
  --base: #F6F2EB;
  --ink: #142433;
  --ink-soft: #3E4B5C;
  --muted: #8A8578;
  --rule: #D9D2C3;
  --sage: #5F7470;
  --sage-dark: #4A5C58;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --pad-x: clamp(24px, 5vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--base);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Topbar — quiet announcement band. Color shifts with scroll via JS. */
.topbar {
  background: var(--ink);
  color: var(--base);
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 1.2s ease;
  position: relative;
  z-index: 20;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.topbar-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--base);
}
.topbar-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(246, 242, 235, 0.4);
}
.topbar-tag {
  color: rgba(246, 242, 235, 0.75);
  font-size: 11px;
}
/* Scroll-state color variants */
.topbar.scroll-1 { background: #1A2F3C; }
.topbar.scroll-2 { background: #2C4650; }
.topbar.scroll-3 { background: var(--sage-dark); }
.topbar.scroll-4 { background: var(--sage); }

@media (max-width: 600px) {
  .topbar { padding: 8px 0; font-size: 11px; }
  .topbar-label { font-size: 12px; }
  .topbar-tag { display: none; }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--base);
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Header / nav */
header {
  padding: 32px 0;
  position: relative;
  z-index: 10;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.logo em {
  font-style: italic;
  color: var(--sage);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--sage); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero {
  padding-top: clamp(60px, 10vw, 100px);
  padding-bottom: clamp(80px, 14vw, 140px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 80px);
  align-items: end;
  min-height: 70vh;
}
.hero-text { padding-bottom: 20px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 500;
}
.eyebrow.light { color: var(--rule); opacity: 0.7; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 440px;
  margin-bottom: 48px;
}

.cta {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.cta:hover, .cta:focus-visible {
  color: var(--sage);
  border-color: var(--sage);
}
.cta::after {
  content: ' \2192';
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.2s;
}
.cta:hover::after { transform: translateX(3px); }

.hero-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(140deg, #E8DFCC 0%, #D9D2C3 60%, #C9C3B5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portrait-placeholder {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.portrait-circle {
  display: block;
  width: 60px;
  height: 60px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  margin: 0 auto 16px;
}

/* Horizontal rule divider */
.section-rule { padding-top: 0; padding-bottom: 0; }
.section-rule hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Content sections */
.section, .industries, .results {
  padding-top: clamp(80px, 12vw, 120px);
  padding-bottom: clamp(80px, 12vw, 120px);
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
}
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-top: 8px;
}
.section-label.light { color: rgba(217, 210, 195, 0.85); }

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--ink);
}
.section p, .industries p, .results p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 620px;
}
.section p:last-child, .industries p:last-child, .results p:last-child { margin-bottom: 0; }

/* Industries list */
.industry-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--rule);
}
.industry-list li {
  padding: 28px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.industry-list li:nth-child(3n+2) { padding-left: 24px; }
.industry-list li:nth-child(3n+3) { padding-left: 24px; }

/* Approach */
.approach {
  background: var(--ink);
  color: var(--base);
  padding-top: clamp(100px, 14vw, 160px);
  padding-bottom: clamp(100px, 14vw, 160px);
}
.approach .section-label {
  color: rgba(217, 210, 195, 0.85);
  margin-bottom: 24px;
}
.approach h2 {
  color: var(--base);
  margin: 0 0 80px;
  max-width: 920px;
  font-size: clamp(36px, 5vw, 64px);
}
.approach h2 em { color: #B8C7C3; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px);
}
.step { padding-top: 32px; border-top: 1px solid rgba(217, 210, 195, 0.2); }
.step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: #B8C7C3;
  margin-bottom: 20px;
  font-style: italic;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--base);
}
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: #C4BEB1;
  margin: 0;
}

/* Results */
.results-list {
  list-style: none;
  margin-top: 8px;
}
.results-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
}
.results-list li:first-child { border-top: 1px solid var(--rule); }
.results-list span {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.results-list small {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* CTA section */
.cta-section {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(120px, 16vw, 180px);
}
.cta-section h2 {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 1000px;
  margin-bottom: 32px;
}
.cta-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Footer */
footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.footer-meta { display: flex; gap: 24px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: auto;
  }
  .hero-portrait { aspect-ratio: 4/3; max-width: 480px; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .industry-list li { padding-left: 0 !important; font-size: 19px; padding-top: 20px; padding-bottom: 20px; }
  .results-list li { grid-template-columns: 1fr; gap: 4px; }
  .results-list span { font-size: 22px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--base);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    padding: 14px var(--pad-x);
    border-top: 1px solid var(--rule);
  }
  .nav-links a { display: block; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}