:root {
  --navy: #2f374b;
  --ink: #12151c;
  --bg: #10131a;
  --elev: #181c27;
  --paper: #f4f1ea;
  --paper-2: #e8e3d8;
  --cream: #f7f3ea;
  --brass: #9a7b4f;
  --brass-2: #c6ae86;
  --text: #ebe6dc;
  --muted: #b7b1a6;
  --quiet: #6d675e;
  --line: rgba(235, 230, 220, 0.14);
  --line-dark: rgba(18, 21, 28, 0.12);
  --max: 1120px;
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #d9c7a4; color: var(--ink); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 19, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 46px; height: 46px; }
.brand span {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.25;
}
.nav-toggle { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav .login { color: var(--brass-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--cream);
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.btn.dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.4);
}
.btn.ink {
  background: var(--ink);
  color: var(--cream);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--brass-2);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 76px);
  background: var(--ink);
}
.hero-copy {
  padding: 72px 6vw 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 680px;
  margin-left: auto;
  width: 100%;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brass-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 22px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass-2);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h1 {
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 0.96;
  margin: 0 0 22px;
  color: var(--cream);
}
.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 38em;
  margin: 0 0 32px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.8);
}

.paper { background: var(--paper); color: var(--ink); }
.ink { background: var(--bg); color: var(--text); }
.elev { background: var(--elev); }

section { padding: 96px 0; }
.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  margin: 0;
}
.paper .section-head h2 { color: var(--ink); }
.intro {
  font-size: 18px;
  max-width: 40em;
  margin: 0;
  color: var(--quiet);
}
.ink .intro, .elev .intro { color: var(--muted); }

.problem-grid, .steps, .sector-grid, .people, .case-list {
  display: grid;
  gap: 22px;
}
.problem-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
}
.ink .card, .elev .card { border-top-color: var(--line); }
.num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--brass);
  display: block;
  margin-bottom: 12px;
}
.card h3, .person h3, .sector h3, .case h3 {
  font-size: 28px;
  margin: 0 0 10px;
  line-height: 1.1;
}
.card p, .person p, .sector p, .case p { margin: 0; color: var(--quiet); }
.ink .card p, .elev .card p, .ink .person p, .elev .sector p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split img, .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame {
  overflow: hidden;
  background: #0c0e13;
  min-height: 420px;
}
.frame.tall { min-height: 560px; }
.split ul { margin: 18px 0 0; padding: 0; list-style: none; }
.split li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.split strong { color: var(--cream); font-weight: 500; }

.steps { grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--bg);
  padding: 28px 24px 32px;
  min-height: 280px;
}
.step h3 { color: var(--cream); }

.sector-grid { grid-template-columns: 1fr 1fr; }
.sector {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--elev);
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}
.sector img { height: 100%; min-height: 240px; object-fit: cover; }
.sector div { padding: 28px 24px; }
.sector:hover h3 { color: var(--brass-2); }
.more {
  display: inline-block;
  margin-top: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brass-2);
}

.people { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #d9d3c8;
  filter: grayscale(0.25);
}
.person .role {
  color: var(--brass);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 14px 0 8px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.logo-row a, .logo-row span {
  background: #f7f4ee;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-decoration: none;
}
.logo-row img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.offer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: end;
}
.offer h2 { font-size: clamp(40px, 5vw, 68px); line-height: 0.98; margin: 0 0 16px; }
.contact-lines { font-size: 16px; line-height: 1.7; }
.contact-lines a { color: var(--cream); }

.page-hero { padding: 72px 0 24px; }
.page-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  max-width: 12ch;
}
.page-hero p { max-width: 40em; color: var(--muted); font-size: 19px; }

.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-block img { width: 100%; height: 420px; object-fit: cover; }
.service-block h2 { font-size: clamp(34px, 4vw, 48px); margin: 8px 0 16px; color: var(--cream); }
.service-block p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.case-list { grid-template-columns: 1fr; gap: 0; }
.case {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line-dark);
}
.case .label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brass);
}

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.story img { width: 100%; height: 640px; object-fit: cover; object-position: left center; }
.story p { color: var(--muted); }
.story h2 { color: var(--cream); font-size: clamp(36px, 4vw, 52px); margin-top: 0; }

.aspp {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
}
.aspp img { width: 160px; height: auto; }
.note { font-size: 14px; color: var(--quiet); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
form {
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 6px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--quiet); }
input, select, textarea {
  background: #fff;
  border: 1px solid rgba(18, 21, 28, 0.18);
  padding: 12px 12px;
  color: var(--ink);
  border-radius: 0;
}
textarea { min-height: 140px; resize: vertical; }
.form-quiet {
  margin: 0;
  font-size: 13px;
  color: var(--quiet);
  letter-spacing: 0;
  text-transform: none;
}
.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--ink);
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.preview {
  width: 100%;
  margin: 8px 0 0;
  color: var(--quiet);
}

@media (max-width: 980px) {
  .hero, .split, .service-block, .story, .contact-grid, .offer, .aspp, .section-head, .case {
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 48px 24px 40px; margin: 0; max-width: none; }
  .hero-photo { min-height: 280px; }
  .problem-grid, .steps, .people, .sector-grid, .logo-row { grid-template-columns: 1fr 1fr; }
  .sector { grid-template-columns: 1fr; }
  .story img, .service-block img { height: 320px; }
  section { padding: 72px 0; }
  .wrap, .header-inner { width: min(var(--max), calc(100% - 32px)); }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--cream);
    min-height: 40px;
    padding: 0 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #10131a;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 14px;
  }
  .nav.open { display: flex; }
  .problem-grid, .steps, .people, .sector-grid, .logo-row { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
  .page-hero { padding-top: 40px; }
}
