:root {
  --ink: #16202a;
  --muted: #5f6b74;
  --paper: #f7f7f4;
  --white: #ffffff;
  --line: #d9dedf;
  --soft: #edf1f0;
  --navy: #123247;
  --accent: #c4783b;
  --accent-dark: #98572b;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-underline-offset: 3px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(196, 120, 59, .45);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 244, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img { width: 228px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nav-cta:hover,
.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--white) !important;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: auto;
  background: currentColor;
  transition: transform .2s ease;
}

.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  content: "";
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: end;
  gap: 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: .98;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-aside {
  padding: 28px 0 0 28px;
  border-left: 1px solid var(--accent);
}

.hero-aside p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
}

.hero-aside dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.hero-aside dt { color: var(--muted); }
.hero-aside dd { margin: 0; font-weight: 600; text-align: right; }

.page-hero {
  padding: 88px 0 76px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.service-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-strip span {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.service-strip span:first-child { padding-left: 0; }
.service-strip span:last-child { padding-right: 0; border-right: 0; text-align: right; }

section { padding: 104px 0; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 52px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.02;
}

.section-intro {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about, .capabilities { background: var(--white); }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 100px;
  align-items: start;
}

.about-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.about-copy p:last-child { margin-bottom: 0; }

.principles {
  padding-top: 4px;
  border-top: 1px solid var(--ink);
}

.principle {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principle strong { display: block; margin-bottom: 4px; font-size: 15px; }
.principle span { display: block; color: var(--muted); font-size: 14px; }

.services { background: var(--paper); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid.three { grid-template-columns: repeat(3, 1fr); }

.service-card {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background .2s ease;
}

.service-card:hover { background: var(--white); }
.service-number { display: block; margin-bottom: 38px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em; }

.service-card h3,
.step h3,
.capability-block h3,
.contact-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.02em;
}

.service-card h3 { margin-bottom: 12px; font-size: 27px; line-height: 1.1; }
.service-card p { max-width: 470px; margin-bottom: 0; color: var(--muted); font-size: 15px; }

.approach { background: var(--navy); color: var(--white); }
.approach .section-kicker { color: #e5a66f; }
.approach .section-intro { color: #cad4d8; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.25);
}

.step {
  min-height: 260px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid rgba(255,255,255,.25);
}

.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 56px; color: #e5a66f; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.step h3 { margin-bottom: 12px; font-size: 26px; }
.step p { margin-bottom: 0; color: #cad4d8; font-size: 15px; }

.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.capability-block { padding-top: 20px; border-top: 1px solid var(--ink); }
.capability-block h3 { margin-bottom: 22px; font-size: 28px; }

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.contact { background: var(--soft); }
.contact-heading { max-width: 760px; margin-bottom: 52px; }
.contact-heading p { max-width: 580px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-card h3 { margin-bottom: 10px; font-size: 28px; }
.contact-card p { min-height: 52px; margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.email-link { color: var(--navy); font-size: 16px; font-weight: 700; word-break: break-word; }
.email-link:hover { color: var(--accent-dark); }

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.contact-meta strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.contact-form {
  max-width: 820px;
  margin: 0 auto 64px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.form-input:focus { border-color: var(--navy); outline: 0; }
.form-input::placeholder { color: #89939a; }
.form-textarea { min-height: 150px; resize: vertical; }
.submit-button { width: 100%; border: 0; cursor: pointer; }
.submit-button:disabled { cursor: wait; opacity: .65; }

.form-message {
  display: none;
  margin: 16px 0 0;
  font-size: 14px;
}

.form-message.success { color: #2f6b4b; }
.form-message.error { color: #9e3d32; }

footer { padding: 30px 0; background: var(--ink); color: #cbd2d5; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
footer p { margin: 0; color: #aab5b9; font-size: 13px; text-align: right; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  color: #cbd2d5;
  font-size: 13px;
}

.footer-links a:hover { color: var(--white); }

@media (max-width: 820px) {
  .nav { min-height: 72px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 13px 0; }
  .nav-cta { display: inline-flex; margin-top: 12px; padding: 0 18px !important; }
  .hero-grid, .section-heading, .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 78px 0 68px; }
  .hero-aside { max-width: 500px; }
  .page-hero { padding: 68px 0 58px; }
  .service-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .service-strip span,
  .service-strip span:first-child,
  .service-strip span:last-child { padding: 16px 14px; border-right: 1px solid var(--line); text-align: left; }
  .service-strip span:nth-child(2n) { border-right: 0; }
  .service-grid, .service-grid.three, .capability-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .step:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  section, .contact { padding: 72px 0; }
  .service-card { min-height: auto; padding: 24px; }
  .service-number { margin-bottom: 28px; }
  .capability-list { grid-template-columns: 1fr; }
  .contact-card, .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}