:root {
  --ink: #171717;
  --muted: #5e625f;
  --line: #d9ded7;
  --paper: #ffffff;
  --soft: #f7f8f4;
  --navy: #142452;
  --green: #557865;
  --coral: #b95d45;
  --gold: #d7a94c;
  --shadow: 0 18px 48px rgba(23, 23, 23, 0.12);
  --radius: 8px;
}

* {
  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;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 3px;
  font-size: 15px;
  line-height: 1;
}

.brand-name {
  font-size: 20px;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a,
.header-cta {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: var(--navy);
}

.header-cta:hover,
.button.primary:hover {
  background: #21386f;
  transform: translateY(-1px);
}

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

.button.secondary:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 28px;
}

.hero-heading {
  width: 100%;
}

.hero-heading h1 {
  max-width: none;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.78fr);
  gap: 52px;
  align-items: start;
  margin-top: 42px;
}

.hero-body > *,
.service-card,
.engagement-grid article,
.approach-section > *,
.contact-section > * {
  min-width: 0;
}

.hero-copy {
  padding-top: 0;
}

.eyebrow,
.kicker {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.96;
}

h1 {
  max-width: none;
  font-size: 64px;
  letter-spacing: 0;
}

h2 {
  max-width: none;
  font-size: 64px;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.12;
}

.hero-lede {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  width: min(100%, 520px);
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #050505;
  box-shadow: none;
  padding: 18px;
  justify-self: start;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 264px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.section,
.stack-section,
.approach-section,
.contact-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 28px;
}

.section-heading {
  display: grid;
  gap: 2px;
  max-width: none;
  margin-bottom: 42px;
}

#services {
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.engagement-grid article,
.process-item,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #ffffff;
  background: var(--green);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: var(--coral);
}

.service-card:nth-child(3) .service-icon {
  background: var(--navy);
}

.service-card:nth-child(4) .service-icon {
  background: var(--gold);
  color: var(--ink);
}

.service-card p,
.engagement-grid p,
.approach-copy p,
.process-list p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 620;
}

.stack-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack-copy {
  max-width: none;
}

.stack-copy p:last-child {
  max-width: none;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 650;
}

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

.engagement-grid article {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
}

.engagement-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.engagement-grid article > div {
  display: grid;
  align-content: start;
  padding: 28px;
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.approach-copy p {
  max-width: 540px;
  margin-top: 24px;
}

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

.process-item {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 30px;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.process-item + .process-item {
  border-top: 1px solid var(--line);
}

.process-item:hover,
.process-item:focus-visible {
  color: #ffffff;
  background: var(--navy);
  outline: none;
}

.process-item:hover p,
.process-item:focus-visible p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 80px);
  align-items: start;
  width: 100%;
  max-width: none;
  padding-left: max(28px, calc((100vw - 1124px) / 2));
  padding-right: max(28px, calc((100vw - 1124px) / 2));
  color: #ffffff;
  background: var(--navy);
}

.contact-copy .kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy h2 {
  max-width: 720px;
}

.contact-copy p {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact-copy a {
  display: inline-block;
  margin-top: 28px;
  color: #ffffff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(85, 120, 101, 0.28);
  border-color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 28px;
  border-bottom: 4px solid var(--navy);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .primary-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-body,
  .approach-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-body {
    gap: 34px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 52px;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero,
  .section,
  .stack-section,
  .approach-section,
  .contact-section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 260px;
  }

  .hero-visual {
    padding: 12px;
  }

  .hero-visual img {
    min-height: 236px;
  }

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

  .engagement-grid article {
    grid-template-rows: 210px 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 36px;
  }

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

}
