:root {
  --navy-900: #16273b;
  --navy-800: #1e3348;
  --navy-700: #294059;
  --cream-100: #fdfaf3;
  --cream-200: #f7f1e4;
  --cream-300: #f0e7d2;
  --stone-900: #2b2620;
  --stone-700: #4a4239;
  --stone-500: #746a5c;
  --stone-300: #a79c8b;
  --stone-200: #cbc0ac;
  --stone-100: #e3d9c6;
  --sage-100: #e5eee4;
  --teal-700: #295e63;
  --teal-600: #35767c;
  --teal-500: #4f9198;
  --teal-300: #9cc7cb;
  --teal-100: #e3f0f1;
  --gold-700: #8a6a2f;
  --gold-100: #faf2dd;
  --surface-page: var(--cream-200);
  --surface-card: var(--cream-100);
  --surface-sunken: var(--cream-300);
  --surface-inverse: var(--navy-900);
  --text-heading: var(--navy-900);
  --text-body: var(--stone-700);
  --text-muted: var(--stone-500);
  --text-faint: var(--stone-300);
  --text-on-inverse: var(--cream-100);
  --text-on-inverse-muted: var(--teal-300);
  --border-subtle: var(--stone-100);
  --border-default: var(--stone-200);
  --border-strong: var(--stone-300);
  --accent-primary: var(--navy-900);
  --accent-primary-hover: var(--navy-800);
  --accent-teal: var(--teal-600);
  --accent-teal-hover: var(--teal-700);
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(43, 38, 32, 0.06);
  --shadow-md: 0 4px 16px rgba(43, 38, 32, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 42, 56, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--teal-700);
  text-decoration-color: var(--teal-300);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--teal-600);
  text-decoration-color: currentColor;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--navy-900);
  color: var(--cream-100);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 250, 243, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 0.9;
}

.brand-wordmark span {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 0.95;
}

.brand-wordmark small {
  color: var(--teal-700);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:not(.button):hover,
.nav-links a.is-active:not(.button) {
  background: var(--cream-300);
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--navy-900);
  font: inherit;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 15px;
}

.button-large {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 19px;
}

.button-primary {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-on-inverse);
}

.button-primary:hover {
  background: var(--accent-primary-hover);
  color: var(--text-on-inverse);
}

.button-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy-900);
}

.button-secondary:hover {
  background: var(--cream-300);
  color: var(--navy-900);
}

.button-teal {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: var(--text-on-inverse);
}

.button-teal:hover {
  background: var(--accent-teal-hover);
  color: var(--text-on-inverse);
}

.button-outline {
  background: transparent;
  border-color: var(--teal-500);
  color: var(--teal-700);
}

.button-outline:hover {
  background: var(--teal-100);
  color: var(--teal-700);
}

.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

.hero {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.hero > p:first-of-type {
  color: var(--text-body);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 16px;
}

.helper-text {
  max-width: 440px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.signal-band {
  background: var(--sage-100);
  padding: 56px 24px;
}

.narrow {
  width: min(720px, 100%);
  margin: 0 auto;
}

.signal-band h2 {
  margin-bottom: 28px;
  text-align: center;
  font-size: 24px;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-body);
  font-size: 15px;
}

.signal-item span {
  width: 14px;
  height: 2px;
  margin-top: 12px;
  flex: 0 0 auto;
  background: var(--accent-teal);
}

.centered-callout {
  margin-top: 32px;
  text-align: center;
}

.centered-callout p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.services-section,
.approach-section,
.cases-section,
.about-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h1,
.about-section h1 {
  margin-bottom: 14px;
  font-size: 38px;
}

.section-heading p {
  color: var(--text-body);
  font-size: 17px;
}

.section-heading .italic {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.case-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.service-card {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.service-card h2 {
  font-size: 22px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-card strong,
.price {
  color: var(--text-heading);
  font-weight: 700;
}

.service-card .quote {
  color: var(--text-body);
  font-size: 15px;
  font-style: italic;
}

.service-card .button {
  width: 100%;
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.badge-teal {
  background: var(--teal-100);
  color: var(--teal-700);
}

.badge-navy {
  background: var(--navy-900);
  color: var(--text-on-inverse);
}

.badge-gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.service-note {
  max-width: 820px;
  margin: 36px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.overline {
  margin: 0 0 14px;
  color: var(--accent-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

.lens-grid article {
  min-height: 172px;
  padding: 16px 8px;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  color: var(--teal-700);
  text-align: center;
}

.lens-grid strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.lens-grid h2 {
  margin-bottom: 8px;
  color: var(--teal-700);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.lens-grid p {
  font-size: 12px;
  line-height: 1.4;
}

.process-list {
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.process-list div {
  display: grid;
  grid-template-columns: minmax(36px, 48px) minmax(140px, 200px) 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface-card);
}

.process-list div:nth-child(even) {
  background: var(--surface-sunken);
}

.process-list strong {
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.process-list b {
  color: var(--text-heading);
  font-size: 14px;
}

.process-list span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

.case-list {
  display: grid;
  gap: 20px;
  margin-bottom: 64px;
}

.case-card {
  padding: 28px;
}

.case-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.case-head h2 {
  font-size: 22px;
}

.case-head div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-columns p {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.55;
}

.case-columns strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inverse-cta {
  margin: 0 calc(50% - 50vw);
  padding: 56px 24px;
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
  text-align: center;
}

.inverse-cta h2 {
  margin-bottom: 14px;
  color: var(--text-on-inverse);
  font-size: 28px;
}

.inverse-cta p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--text-on-inverse-muted);
  font-size: 16px;
}

.about-section {
  text-align: center;
}

.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0 32px;
}

.founder img {
  width: 160px;
  height: 160px;
  margin-bottom: 16px;
  border: 3px solid var(--surface-card);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.founder h2 {
  font-size: 21px;
}

.founder p {
  margin-top: 2px;
  color: var(--accent-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story {
  display: grid;
  gap: 18px;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.75;
  text-align: left;
}

.pull-quote {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.site-footer {
  background: var(--surface-inverse);
  color: var(--text-on-inverse);
  padding: 40px 24px;
}

.site-footer div {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--text-on-inverse);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.site-footer span,
.site-footer a {
  color: var(--text-on-inverse-muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--text-on-inverse);
}

@media (max-width: 940px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 24px;
    background: var(--cream-100);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a:not(.button),
  .nav-links .button {
    width: 100%;
    justify-content: center;
  }

  .service-grid,
  .case-columns {
    grid-template-columns: 1fr;
  }

  .lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .brand {
    white-space: normal;
  }

  .brand-wordmark span {
    font-size: 28px;
  }

  .brand-wordmark small {
    font-size: 14px;
  }

  .hero {
    width: min(100% - 32px, 760px);
    padding: 64px 0 52px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .services-section,
  .approach-section,
  .cases-section,
  .about-section {
    width: min(100% - 32px, 1120px);
    padding: 56px 0;
  }

  .section-heading h1,
  .about-section h1 {
    font-size: 32px;
  }

  .lens-grid {
    grid-template-columns: 1fr;
  }

  .lens-grid article {
    min-height: unset;
  }

  .process-list div {
    grid-template-columns: 36px 1fr;
    align-items: start;
  }

  .process-list span {
    grid-column: 2;
  }

  .case-card,
  .service-card {
    padding: 22px;
  }
}
