:root {
  color-scheme: light dark;
  --ink: #171817;
  --muted: #5f625f;
  --paper: #f7f7f4;
  --panel: #eceee9;
  --line: #ccd0c8;
  --accent: #b73325;
  --accent-strong: #8f251b;
  --accent-copy: #9f2a20;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { max-width: 16ch; font-size: 5rem; }
h2 { max-width: 20ch; font-size: 3.4rem; }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: var(--white); color: #111; }
.skip-link:focus { top: 1rem; }
.site-header { background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: 174px; height: auto; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { text-decoration: none; font-weight: 700; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: var(--white); font-weight: 800; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--accent-strong); }
.button.small { min-height: 42px; }
.hero { position: relative; min-height: min(740px, 78vh); display: grid; align-items: end; overflow: hidden; background: #161a17; }
.hero > img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > img { object-fit: cover; object-position: center 38%; }
.hero-shade { background: linear-gradient(90deg, rgba(12, 15, 13, .9), rgba(12, 15, 13, .35)); }
.hero-content { position: relative; z-index: 1; padding-block: 4.5rem; color: var(--white); }
.breadcrumb { margin-bottom: 2.5rem; gap: .65rem; font-size: .9rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { margin-bottom: 1rem; color: var(--accent-copy); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow { color: #ff7665; }
.lead { max-width: 650px; margin-top: 1.4rem; font-size: 1.3rem; }
.actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.text-link { color: var(--white); font-weight: 800; text-underline-offset: 5px; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.two-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.prose { display: grid; gap: 1.25rem; color: var(--muted); font-size: 1.08rem; }
.muted { background: var(--panel); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.services-grid article { min-height: 230px; padding: 2rem; background: var(--paper); }
.services-grid p { margin-top: 1rem; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
figure { margin: 0; }
figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { padding-top: .85rem; color: var(--muted); font-weight: 700; }
.process { border-top: 1px solid var(--line); }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 3rem 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.process li { min-height: 210px; padding: 1.6rem; background: var(--paper); }
.process strong, .process span { display: block; }
.process span { margin-top: 1rem; color: var(--muted); }
.cta-band { padding-block: 4rem; background: #171a18; color: var(--white); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.cta-inner p:not(.eyebrow) { max-width: 680px; margin-top: 1rem; color: #d3d7d1; }
footer { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; }
footer p { color: var(--muted); }
footer a { text-underline-offset: 4px; }

@media (max-width: 820px) {
  h1 { font-size: 3.8rem; }
  h2 { font-size: 2.7rem; }
  .lead { font-size: 1.15rem; }
  .header-inner { min-height: 72px; }
  .header-inner nav > a:not(.button) { display: none; }
  .brand img { width: 145px; }
  .hero { min-height: 680px; }
  .two-columns, .services-grid, .process ol { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .cta-inner, .footer-inner { display: grid; grid-template-columns: 1fr; }
  .process li, .services-grid article { min-height: 0; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }
  .lead { font-size: 1.05rem; }
  .shell { width: min(100% - 28px, 1160px); }
  .site-header .button { padding-inline: .8rem; }
  .hero-content { padding-block: 3rem; }
  .breadcrumb { margin-bottom: 1.5rem; }
  .actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2ee;
    --muted: #bdc1ba;
    --paper: #111412;
    --panel: #1a1e1b;
    --line: #373d38;
    --accent-copy: #ff7d6d;
  }
}

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