:root {
  color-scheme: dark;
  --page: #101512;
  --surface: #171e19;
  --text: #f5f6ed;
  --muted: #bac5b9;
  --accent: #cefa86;
  --line: #37413a;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--page); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p { margin: 0; }
.wrap { width: min(72rem, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .6rem 1rem; background: var(--page); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.7rem; }
.brand { font-size: 1.6rem; font-weight: 750; letter-spacing: -.07em; text-decoration: none; }
.brand span, h1 span { color: var(--accent); }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); }
nav a { font-size: .95rem; font-weight: 600; text-decoration: none; }
nav a:hover, footer a:hover { color: var(--accent); }
.hero { padding-block: clamp(3.8rem, 7vw, 6.5rem); background: radial-gradient(ellipse at 85% -30%, #314426, transparent 63%); }
.eyebrow { margin-bottom: 1.1rem; color: var(--accent); font-size: .9rem; font-weight: 650; }
h1, h2, h3 { margin: 0; line-height: 1.06; text-wrap: balance; }
h1 { max-width: 20ch; font-size: clamp(2.8rem, 7vw, 5.8rem); font-weight: 700; letter-spacing: -.066em; }
h2 { max-width: 17ch; font-size: clamp(2.35rem, 5vw, 4rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.024em; }
.intro { max-width: 39rem; margin-top: 1.6rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; padding: .65rem 1.18rem; border: 1px solid transparent; border-radius: 100vw; color: #172010; background: var(--accent); font-weight: 720; text-decoration: none; }
.button:hover { background: #e0ffa6; }
.button.secondary { border-color: var(--line); color: var(--text); background: transparent; }
.button.secondary:hover { border-color: var(--accent); }
.hero-note { margin-top: 1.35rem; color: var(--muted); font-size: .94rem; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 6vw, 5rem); }
.service-list article { padding-block: 1.15rem; border-top: 1px solid var(--line); }
.service-list article p, .section-intro, .case p, .contact p:not(.eyebrow) { margin-top: .55rem; color: var(--muted); }
.work { background: var(--surface); }
.section-intro { margin-top: 1.1rem; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2rem; }
.case { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: var(--page); }
.case img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.case-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.1rem; }
.case h3 { line-height: 1.15; text-wrap: pretty; }
.case p { margin-bottom: 1rem; }
.case a { margin-top: auto; color: var(--accent); font-weight: 620; }
.contact .button { margin-top: 1.2rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-inner { justify-content: flex-start; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (max-width: 49rem) {
  .section-grid, .case-grid { grid-template-columns: 1fr; }
  .case { max-width: 38rem; }
}
@media (max-width: 28rem) {
  .wrap { width: min(72rem, 100% - 2rem); }
  .header-inner { min-height: 4rem; }
  nav { gap: .66rem; }
  nav a { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
