:root {
  --ink: #101010;
  --paper: #f7f1dc;
  --white: #ffffff;
  --muted: color-mix(in srgb, var(--ink) 62%, var(--paper));
  --quiet: color-mix(in srgb, var(--ink) 38%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 15%, var(--paper));
  --wash: color-mix(in srgb, var(--paper) 78%, var(--white));
  --accent: #f4c20d;
  --accent-2: #0f766e;
  --measure: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.68; overflow-wrap: anywhere; }
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 12px;
  background: var(--ink);
  color: var(--paper);
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  padding: 0 32px;
  background: color-mix(in srgb, var(--paper) 88%, var(--white));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--measure), calc(100vw - 64px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}
.brand { display: inline-flex; align-items: center; gap: 18px; min-width: 260px; }
.brand img { width: 118px; height: auto; display: block; }
.brand span { color: var(--quiet); font-size: 13px; line-height: 1.25; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: 13px; font-weight: 600; }
nav a { position: relative; padding: 28px 0; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.home-hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 92%, transparent) 44%, color-mix(in srgb, var(--paper) 58%, transparent) 70%, transparent 100%), url("images/hero.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.page-hero {
  width: min(var(--measure), calc(100vw - 64px));
  margin: 0 auto;
  padding: 126px 0 86px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { width: min(var(--measure), calc(100vw - 64px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 560; letter-spacing: 0; overflow-wrap: anywhere; }
h1 { max-width: 620px; font-size: 68px; line-height: .98; }
h2 { font-size: 30px; line-height: 1.14; }
h3 { font-size: 18px; line-height: 1.25; }
.lead { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 19px; line-height: 1.72; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}
.button--ghost { background: transparent; color: var(--ink); }
.hero-meta {
  max-width: 760px;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-meta span {
  min-width: 0;
  padding: 16px 18px 16px 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}
.content-grid, .section { width: min(var(--measure), calc(100vw - 64px)); margin: 0 auto; }
.content-grid {
  padding: 76px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}
.text-block { min-width: 0; padding-top: 22px; border-top: 2px solid var(--accent-2); }
.text-block p, .tile small { color: var(--muted); line-height: 1.65; }
.text-block h2 { max-width: 11ch; }
.section { padding: 86px 0; border-bottom: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: .42fr 1fr; gap: 48px; margin-bottom: 34px; }
.section__head h2 { max-width: 560px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile {
  min-height: 226px;
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--wash);
  border: 0;
  border-radius: 0;
}
.tile:hover, .tile:focus-visible { background: var(--white); }
.tile span { color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tile strong { font-size: 20px; line-height: 1.24; font-weight: 560; }
.site-footer {
  width: min(var(--measure), calc(100vw - 64px));
  margin: 0 auto;
  padding: 70px 0 76px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
}
.site-footer p { max-width: 460px; color: var(--muted); }
.site-footer img { width: 146px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .site-header { padding: 0 24px; }
  .header-inner { width: 100%; align-items: flex-start; flex-direction: column; padding: 16px 0; }
  nav a { padding: 6px 0; }
  nav a::after { bottom: 0; }
  .content-grid, .section__head, .site-footer { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 46px; }
  .home-hero { min-height: 620px; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 14px; }
  .header-inner { min-height: 0; padding: 14px 0 12px; gap: 12px; }
  .brand { min-width: 0; }
  .brand img { width: 104px; }
  .brand span { display: none; }
  nav { width: 100%; gap: 8px 14px; overflow-x: auto; font-size: 12px; flex-wrap: nowrap; padding-bottom: 4px; }
  nav { min-width: 0; max-width: 100%; }
  nav a { white-space: nowrap; }
  main { overflow-x: hidden; }
  .home-hero {
    min-height: 620px;
    overflow: hidden;
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--paper) 98%, var(--white)) 0%, color-mix(in srgb, var(--paper) 96%, var(--white)) 72%, color-mix(in srgb, var(--paper) 82%, transparent) 100%), url("images/hero.webp");
    background-position: center;
  }
  .page-hero, .hero-inner, .content-grid, .section, .site-footer {
    width: min(calc(100% - 28px), 360px);
    max-width: 360px;
    min-width: 0;
    margin-left: 14px;
    margin-right: auto;
  }
  .page-hero { padding: 76px 0 48px; }
  h1 { width: 100%; max-width: 360px; font-size: 32px; line-height: 1.1; overflow-wrap: break-word; word-break: normal; hyphens: none; }
  h2 { font-size: 24px; }
  .lead { max-width: 100%; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
  .actions { margin-top: 24px; }
  .button { max-width: 100%; white-space: normal; text-align: center; }
  .hero-meta { grid-template-columns: 1fr; margin-top: 36px; }
  .hero-meta span { padding: 10px 0; border-top: 1px solid var(--line); }
  .content-grid, .tiles { grid-template-columns: 1fr; }
  .content-grid { padding-top: 54px; gap: 28px; }
  .section { padding: 60px 0; }
  .tile { min-height: 170px; }
}