:root {
  --ink: #15201e;
  --ink-soft: #30423e;
  --muted: #66736f;
  --line: #d9e2dd;
  --paper: #ffffff;
  --wash: #f5faf7;
  --mint: #d9f1e8;
  --teal: #0f8a7a;
  --teal-dark: #08675c;
  --coral: #dd644d;
  --amber: #e5a633;
  --charcoal: #1e2725;
  --shadow: 0 24px 70px rgba(23, 42, 38, 0.12);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  font-weight: 720;
}

h1 {
  max-width: 680px;
  font-size: 4rem;
}

h2 {
  max-width: 760px;
  font-size: 2.35rem;
}

h3 {
  font-size: 1.05rem;
}

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 226, 221, 0.72);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 35px rgba(23, 42, 38, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-dark);
  background: var(--wash);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 590px;
  margin: 0 auto;
  padding: 78px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow,
.section-kicker {
  color: var(--teal-dark);
  font-size: 0.83rem;
  font-weight: 780;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 590px;
  color: var(--ink-soft);
  font-size: 1.45rem;
  line-height: 1.36;
}

.hero-text {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--teal);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
  box-shadow: var(--shadow);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  font-size: 1.02rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 56px;
  align-items: start;
}

.split-layout h2,
.expertise-section h2 {
  margin-top: 10px;
  margin-bottom: 22px;
}

.split-layout p + p {
  margin-top: 16px;
}

.statement-panel {
  border-left: 4px solid var(--coral);
  padding: 26px 0 26px 26px;
}

.statement-panel > p {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.38;
  font-weight: 700;
}

.signal-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
}

.signal-list div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.signal-list dt {
  color: var(--teal-dark);
  font-weight: 780;
}

.signal-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.services-section,
.approach-section {
  border-top: 1px solid var(--line);
}

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

.service-card {
  min-height: 276px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card:nth-child(2n) {
  background: var(--wash);
}

.service-card:nth-child(3n) {
  border-top-color: var(--amber);
}

.service-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 820;
  font-size: 0.86rem;
}

.service-card h3 {
  min-height: 44px;
}

.expertise-section {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100% - 1180px) / 2));
  background: var(--charcoal);
}

.expertise-section .section-kicker,
.expertise-section h2,
.expertise-grid h3 {
  color: var(--paper);
}

.expertise-section h2 {
  max-width: 760px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.expertise-grid article {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  background: var(--charcoal);
}

.expertise-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.why-copy h2 {
  margin: 10px 0 18px;
}

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

.why-list article {
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
  background: var(--wash);
  border-top: 4px solid var(--teal);
}

.why-list article:nth-child(2) {
  border-top-color: var(--coral);
}

.why-list article:nth-child(3) {
  border-top-color: var(--amber);
}

.why-list h3 {
  margin-bottom: 12px;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.approach-steps article {
  min-height: 220px;
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
}

.approach-steps article:last-child {
  border-right: 0;
}

.approach-steps span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 820;
}

.approach-steps h3 {
  margin: 8px 0 10px;
}

.contact-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: 52px;
  padding: 92px max(20px, calc((100% - 1180px) / 2));
  background: var(--wash);
}

.contact-copy h2 {
  margin: 10px 0 18px;
}

.contact-copy p {
  max-width: 680px;
}

.contact-copy address {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-weight: 650;
}

.contact-copy address a {
  color: var(--teal-dark);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(23, 42, 38, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 138, 122, 0.14);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 20px;
  color: var(--teal-dark);
  font-size: 0.92rem;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px) auto;
  gap: 24px;
  align-items: start;
}

.brand-footer {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.footer-links a {
  color: var(--teal-dark);
  overflow-wrap: anywhere;
}

.copyright {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero,
  .split-layout,
  .section-heading,
  .why-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 60px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .service-grid,
  .expertise-grid,
  .why-list,
  .approach-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-grid article {
    min-height: 230px;
  }

  .approach-steps article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.76rem;
  }

  .nav-shell,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .nav-links {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
  }

  .brand-name {
    max-width: 210px;
  }

  .hero {
    gap: 34px;
    padding: 44px 0 42px;
  }

  .hero-visual {
    display: none;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

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

  .section,
  .expertise-section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .statement-panel {
    padding: 22px 0 22px 20px;
  }

  .service-grid,
  .expertise-grid,
  .why-list,
  .approach-steps {
    grid-template-columns: 1fr;
  }

  .service-card,
  .expertise-grid article,
  .why-list article,
  .approach-steps article {
    min-height: 0;
  }

  .approach-steps article,
  .approach-steps article:nth-child(2) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .approach-steps article:last-child {
    border-bottom: 0;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.52rem;
  }

  .brand-name {
    max-width: 172px;
  }

  .service-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
