@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-600.woff2") format("woff2");
}

:root {
  --bg: #f3f1eb;
  --bg-raise: #faf8f4;
  --band: #e6e1d6;
  --ink: #171614;
  --muted: #4e4942;
  --faint: #6f6a62;
  --line: #d9d3c6;
  --accent: #123f3c;
  --accent-deep: #0c2e2c;
  --paper: #f6f3ec;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: var(--accent);
}

::selection {
  background: #d5e4e2;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--accent);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 235, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-name {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang a {
  color: var(--faint);
  text-decoration: none;
}

.lang a[aria-current="page"] {
  color: var(--ink);
}

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

.lang span {
  color: var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

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

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0;
  place-items: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -5px;
}

.nav-toggle-bar::after {
  top: 5px;
}

body.nav-open .nav-toggle-bar {
  background: transparent;
}

body.nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header) + 1.25rem);
}

.hero {
  padding: 4.75rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15.5rem, 0.72fr);
  gap: 3.5rem 3rem;
  align-items: end;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.section-head h2,
.prose h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 {
  margin: 0 0 1.35rem;
  max-width: 8.4em;
  font-size: clamp(2.7rem, 6.5vw, 5.35rem);
}

.lede {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  padding: 0.9rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 500;
}

.button:hover {
  background: var(--accent-deep);
}

.button svg {
  width: 1rem;
  height: 1rem;
}

.index-panel {
  border-top: 1px solid var(--ink);
}

.index-panel p {
  margin: 0.85rem 0 0;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.index-panel ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-panel li {
  border-bottom: 1px solid var(--line);
}

.index-panel a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem 0;
  color: inherit;
  text-decoration: none;
}

.index-panel a span {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.index-panel a:hover {
  color: var(--accent);
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  display: grid;
  gap: 0.8rem;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p,
.split p,
.band p,
.contact-copy p {
  color: var(--muted);
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list > li {
  background: var(--bg);
}

.service-list article {
  height: 100%;
  padding: 2rem 1.75rem 2.2rem;
}

.service-list li:hover article,
.service-list li:focus-within article {
  background: var(--bg-raise);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.4rem;
}

.icon {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--accent);
}

.service-num {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}

.service-list h3 {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem 4rem;
  align-items: start;
}

.split h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.principles h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.band {
  background: var(--band);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem 4rem;
}

.band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

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

.quiet-note {
  font-size: 0.95rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 3rem 4rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.contact-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

button.button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
}

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

.config-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.footer-grid p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-label {
  margin: 0 0 0.35rem;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fineprint {
  margin: 2rem 0 0;
  color: var(--faint);
  font-size: 0.88rem;
}

.page {
  padding: 4rem 0 5rem;
}

.prose {
  max-width: 42rem;
}

.prose h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.crumb {
  margin: 0 0 1.5rem;
  color: var(--faint);
  font-size: 0.92rem;
}

.crumb a {
  color: inherit;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 1.25rem 0.8rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }

  .hero-grid,
  .split,
  .band-grid,
  .contact-layout,
  .principles,
  .footer-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.25rem;
  }
}

@media (max-width: 420px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s ease both;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 0.18s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .button,
  .skip {
    display: none;
  }

  body {
    background: #fff;
  }

  .section,
  .page,
  .hero {
    padding: 1rem 0;
  }
}
