:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --surface: #eeeee7;
  --ink: #17211d;
  --muted: #58645d;
  --line: #d4d9d1;
  --accent: #d4f26a;
  --dark: #202d27;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #657d25;
  outline-offset: 4px;
}

.shell {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

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

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.nav > a,
.language-switch button {
  font-size: 13px;
}

.nav > a {
  text-decoration: none;
}

.nav > a:hover,
.text-link:hover,
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: clamp(12px, 2.4vw, 28px);
  border-left: 1px solid var(--line);
}

.language-switch button {
  min-width: 34px;
  min-height: 38px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  padding-top: 84px;
  padding-bottom: 92px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 86px);
  letter-spacing: -0.065em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.button-link:hover:not(:disabled) {
  background: var(--accent);
  color: var(--ink);
}



.text-link {
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero-panel {
  padding: 27px 28px 30px;
  background: var(--dark);
  color: var(--paper);
}

.panel-label {
  margin-bottom: 24px;
  color: #e0e6df;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  padding: 15px 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
  font-size: 14px;
  line-height: 1.5;
}

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

.services-section {
  padding: 88px 0 96px;
  background: var(--surface);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading .eyebrow,
.approach .eyebrow,
.principles .eyebrow,
.contact .eyebrow {
  margin-bottom: 17px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 5.3vw, 64px);
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}

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

.service-card {
  position: relative;
  min-height: 220px;
  padding: 28px 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.card-number {
  display: block;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  max-width: 320px;
  margin-bottom: 12px;
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.service-card p {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 12%;
  padding-top: 100px;
  padding-bottom: 108px;
}

.approach-heading h2 {
  max-width: 420px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child {
  padding-top: 0;
}

.step-number {
  padding-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.steps p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.principles-section {
  padding: 78px 0 84px;
  background: var(--dark);
  color: var(--paper);
}

.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 12%;
}

.principles .eyebrow {
  color: #e0e6df;
}

.principles h2 {
  max-width: 440px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-top: 1px solid rgb(255 255 255 / 23%);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-section {
  padding: 90px 0 96px;
  background: var(--accent);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: start;
  gap: 4%;
}

.contact-copy {
  position: sticky;
  top: 32px;
}

.contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 62px);
}

.contact-copy > p:last-child {
  max-width: 440px;
  margin-bottom: 0;
  color: #35412e;
  font-size: 15px;
  line-height: 1.8;
}

.contact-method {
  padding: 12px 0;
}

.contact-note {
  margin: 0 0 8px;
  color: #35412e;
  font-size: 13px;
  line-height: 1.6;
}

.contact-email {
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer p {
  margin: 0;
}

.footer-address {
  max-width: 360px;
  line-height: 1.6;
}

.footer a {
  text-decoration: none;
}

.footer-brand {
  color: var(--ink);
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
    gap: 42px;
    padding-top: 72px;
    padding-bottom: 78px;
  }

  h1 {
    font-size: clamp(48px, 7.5vw, 68px);
  }

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

  .approach,
  .principles {
    gap: 8%;
  }

  .contact {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
    gap: 32px;
  }

  .contact-copy {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 40px, 560px);
  }

  .topbar {
    min-height: 72px;
  }

  .nav {
    gap: 16px;
  }

  .nav > a,
  .language-switch button {
    font-size: 12px;
  }

  .language-switch {
    padding-left: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 66px;
    padding-bottom: 72px;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(48px, 11vw, 72px);
  }

  .hero-panel {
    max-width: 560px;
  }

  .services-section {
    padding: 70px 0 76px;
  }

  .service-card {
    min-height: 210px;
    padding: 23px;
  }

  .approach,
  .principles,
  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .approach {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .principles-section {
    padding: 68px 0 72px;
  }

  .contact-section {
    padding: 70px 0 76px;
  }

  .contact-copy {
    position: static;
  }

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

}

@media (max-width: 460px) {
  .shell {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 7px;
    font-size: 13px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .nav {
    gap: 9px;
  }

  .nav > a {
    font-size: 11px;
  }

  .language-switch {
    gap: 0;
    padding-left: 7px;
  }

  .language-switch button {
    min-width: 29px;
    padding-right: 3px;
    padding-left: 3px;
    font-size: 10px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

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

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .card-number {
    margin-bottom: 18px;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list li {
    min-height: 62px;
    padding: 12px 4px;
  }

  .footer {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .footer p {
    order: 1;
    width: 100%;
  }

  .footer-social {
    order: 2;
  }

  .footer > a:last-child {
    order: 3;
  }
}

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