:root {
  --ink: #16171a;
  --ink-soft: #55585f;
  --line: #e7e5e1;
  --paper: #ffffff;
  --paper-warm: #f7f5f2;
  --accent: #e2552b;
  --accent-ink: #b8401c;
  --radius: 14px;
  --max: 1160px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--warm { background: var(--paper-warm); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; max-width: 18ch; }
.section-lead { color: var(--ink-soft); max-width: 56ch; margin-top: 16px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.03em; color: #fff; }
.logo span { color: var(--accent); }
.is-scrolled .logo, .page-plain .logo { color: var(--ink); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.9); }
.is-scrolled .nav-links a, .page-plain .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; overflow: hidden; background: #2a2a2e;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.35) 0%, rgba(10,10,12,.15) 40%, rgba(10,10,12,.72) 100%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(64px, 12vh, 120px); }
.hero h1 { font-size: clamp(52px, 10vw, 128px); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: clamp(19px, 2.4vw, 26px); margin-top: 12px; max-width: 30ch; color: rgba(255,255,255,.9); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 36px; padding: 16px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-copy p + p { margin-top: 18px; }
.about-copy .section-lead { margin-top: 24px; }

/* Services */
.services-head { margin-bottom: 48px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s ease; }
.card:hover img { transform: scale(1.04); }
.card-media { overflow: hidden; }
.card-body { padding: 22px 22px 26px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 8px; }

/* Approach */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 28px; right: 0; font-weight: 800; font-size: 14px; color: var(--ink-soft); opacity: .6;
}
.step-icon { width: 52px; height: 52px; border-radius: 14px; background: #fdeee8; color: var(--accent-ink); display: grid; place-items: center; }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 21px; margin-top: 20px; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin-top: 8px; }

/* Image band */
.band { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 12px; padding: 0 12px; }
.band img { width: 100%; height: clamp(220px, 30vw, 380px); object-fit: cover; border-radius: 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-email { display: inline-block; margin-top: 28px; font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--accent); padding-bottom: 4px; }
.contact-email:hover { color: var(--accent-ink); }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card address { font-style: normal; margin-top: 12px; font-size: 17px; }
.contact-card address + h3 { margin-top: 24px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 48px 0; font-size: 14.5px; }
.footer-inner { display: flex; gap: 32px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.footer-inner p { max-width: 70ch; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }

/* Privacy page */
.page-plain .site-header { background: rgba(255,255,255,.95); box-shadow: 0 1px 0 var(--line); }
.legal { padding: 140px 0 96px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
.legal .updated { color: var(--ink-soft); margin-top: 12px; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal p, .legal ul { margin-top: 14px; color: #33353a; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent-ink); }
.credits { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.credits p { color: var(--ink-soft); }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card img, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 4 / 3; }
  .services, .steps { grid-template-columns: 1fr; }
  .band img { height: 200px; }
}
