:root {
  --ink: #0f1b2d;
  --ink-2: #1b2a41;
  --paper: #f7f5f0;
  --white: #ffffff;
  --text: #22303f;
  --muted: #5d6a78;
  --line: #e2ded4;
  --gold: #b8924a;
  --gold-light: #d9bd85;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  color: var(--white);
}
.site-header.solid { position: static; background: var(--ink); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 26px;
}
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: .5px; }
.brand-mark span { color: var(--gold-light); }
.brand-sub { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; }
.nav { display: flex; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  opacity: .85; padding-block: 4px; border-bottom: 1px solid transparent;
}
.nav a:hover { opacity: 1; border-color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px); display: flex; align-items: center;
  color: var(--white);
  background: var(--ink) url("img/hero.webp") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,27,45,.94) 0%, rgba(15,27,45,.82) 45%, rgba(15,27,45,.35) 100%);
}
.hero .wrap { position: relative; padding-block: 140px 90px; }
.eyebrow {
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light);
  margin: 0 0 22px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08; margin: 0 0 26px; max-width: 760px;
}
.hero h1 b { font-weight: 700; color: var(--gold-light); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); max-width: 600px; opacity: .9; margin: 0 0 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-block; text-decoration: none; font-size: 14px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 16px 30px; border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn-line { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Sections ---------- */
section { padding-block: 110px; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head .eyebrow { color: var(--gold); }
h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15; margin: 0 0 18px; color: var(--ink);
}
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* Services */
.services { background: var(--white); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; }
.card figure { margin: 0 0 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover figure img { transform: scale(1.04); }
.card .num { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink); margin: 6px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Name band */
.band { background: var(--ink); color: var(--white); padding-block: 80px; }
.acronym { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.acronym div { border-left: 1px solid rgba(255,255,255,.12); padding: 10px 0; }
.acronym div:first-child { border-left: 0; }
.acronym .l { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-light); }
.acronym .w { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; margin-top: 12px; }

/* About */
.about .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.about figure { margin: 0; position: relative; }
.about figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about figure::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold);
  z-index: -1;
}
.about p { margin: 0 0 18px; }
.values { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.values li { padding-left: 26px; position: relative; }
.values li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 1px; background: var(--gold);
}
.values strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 600; }
.values span { color: var(--muted); font-size: 16px; }

/* Process */
.process { background: var(--white); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 26px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: 2px;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink); margin: 8px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Contact */
.contact { background: var(--ink-2); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact h2 { color: var(--white); }
.contact .section-head p { color: rgba(255,255,255,.75); }
.contact-box { border: 1px solid rgba(255,255,255,.15); padding: 44px; }
.contact-box dt { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); }
.contact-box dd { margin: 6px 0 30px; font-size: 19px; }
.contact-box dd:last-child { margin-bottom: 0; }
.contact-box a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-box a:hover { color: var(--gold-light); }
address { font-style: normal; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); font-size: 14px; padding-block: 34px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* Legal page */
.legal { padding-block: 80px 110px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); color: var(--ink); margin: 0 0 40px; }
.legal h2 { font-size: 28px; margin-top: 56px; }
.legal h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--ink); text-decoration-color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 60px; }
  .about figure { max-width: 460px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding-block: 80px; }
  .nav { display: none; }
  .brand-sub { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .acronym { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .acronym div:nth-child(3) { border-left: 0; }
  .acronym .l { font-size: 48px; }
  .about figure::after { inset: 14px -14px -14px 14px; }
  .contact-box { padding: 28px; }
  .contact-box dd { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card figure img { transition: none; }
}
