:root {
  color-scheme: light;
  --ink: #171719;
  --muted: #5b5958;
  --paper: #f3efe7;
  --paper-strong: #f7f4ee;
  --line: #c9c1b7;
  --accent: #c47c5d;
  --max-width: 92rem;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 11vw, 10rem);
  font-family:
    Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.28em;
}

a:hover {
  text-decoration-color: var(--accent);
}

a:focus-visible {
  outline: 0.2rem solid var(--ink);
  outline-offset: 0.3rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper-strong);
  color: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family:
    Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__logo {
  width: 3rem;
  height: auto;
  aspect-ratio: 248 / 250;
}

.header-nav,
.contact-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.header-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-link {
  justify-content: center;
  min-width: 2.75rem;
  border: 1px solid var(--ink);
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: calc(100svh - 6.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.36fr);
  border-bottom: 1px solid var(--line);
}

.hero > *,
.statement > *,
.contact > * {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 10vw, 9rem) var(--gutter);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 38em;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  max-width: 18ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  font-size: clamp(2.35rem, 6.5vw, 6.8rem);
}

h2 {
  max-width: 18ch;
  margin-bottom: 1.75rem;
  font-size: clamp(2.25rem, 4.8vw, 4.75rem);
}

h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.65rem, 2.6vw, 2.7rem);
}

.intro {
  max-width: 45rem;
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: transparent;
  color: var(--ink);
}

.hero-mark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 49.8%, rgb(23 23 20 / 12%) 50%, transparent 50.2%),
    var(--paper-strong);
}

.hero-mark__index,
.section-index,
.card-index {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-mark__line {
  width: 1px;
  min-height: 8rem;
  flex: 1;
  margin: 2rem 0;
  background: var(--accent);
}

.hero-mark p {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.35;
}

.statement,
.expertise,
.contact {
  padding: var(--section-space) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.statement {
  display: grid;
  grid-template-columns: minmax(4rem, 0.25fr) minmax(0, 1fr);
}

.statement > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.statement > div > p:last-child {
  margin: 3rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.statement .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(4rem, 0.25fr) minmax(0, 1fr);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: min(12vw, 12rem);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.expertise-grid article {
  min-height: 22rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.card-index {
  margin-bottom: clamp(4rem, 10vw, 8rem);
  color: var(--muted);
}

.expertise-grid article p:last-child {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 9vw, 10rem);
  background: var(--ink);
  color: var(--paper-strong);
}

.contact .eyebrow,
.contact-copy > p:first-child,
.privacy-note {
  color: #c9c6bc;
}

.contact-copy > p:first-child {
  margin-top: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.contact-links {
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.button--light {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--ink);
}

.button--light:hover {
  background: transparent;
  color: var(--paper-strong);
}

.contact a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--paper-strong);
}

.privacy-note {
  padding-top: 1.25rem;
  border-top: 1px solid #56564f;
  font-size: 0.85rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--gutter);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 56.0625rem) {
  .hero-copy {
    padding-block: clamp(3.5rem, 6vh, 5.5rem);
  }

  h1 {
    margin-bottom: clamp(1.25rem, 2vw, 2rem);
    font-size: clamp(2.35rem, 4.8vw, 5.5rem);
  }

  .intro {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 56rem) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-mark {
    min-height: 17rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-mark__line {
    min-height: 3rem;
  }

  .statement > div,
  .contact {
    grid-template-columns: 1fr;
  }

  .statement > div > p:last-child {
    margin-top: 0;
  }

  .expertise-grid {
    margin-left: 0;
  }
}

@media (max-width: 40rem) {
  .site-header {
    min-height: 5.5rem;
  }

  .header-nav > a:first-child {
    display: none;
  }

  .hero-copy {
    padding-block: 4.5rem;
  }

  .statement,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid article {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 3rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .button,
  .language-link {
    border: 2px solid;
  }
}
