@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f4f1e8;
  --surface-raised: #ece7d8;
  --line: #e2ddce;
  --brass: #e8792a;
  --brass-deep: #c85f16;
  --navy: #142240;
  --navy-2: #1e2f54;
  --text: #142240;
  --text-muted: #5c6376;
  --serif: 'Oswald', 'Arial Narrow', sans-serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

img, .ph { display: block; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--navy);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}

.logo span { color: var(--brass); }

nav.links { display: flex; gap: 32px; font-size: 14px; }

nav.links a {
  color: var(--navy);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

nav.links a:hover, nav.links a.active { color: var(--brass); }

nav.links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brass);
}

.nav-cta {
  background: var(--brass) !important;
  color: #fff !important;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--brass-deep) !important; }

.menu-btn { display: none; background: none; border: none; color: var(--navy); font-size: 24px; cursor: pointer; }

.hero { padding: 90px 0 80px; background: var(--surface); border-bottom: 4px solid var(--brass); }

.hero .kicker {
  color: var(--brass);
  font-size: 14px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 { font-size: 48px; margin-bottom: 22px; color: var(--navy); }

.hero p.lede {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 32px;
  font-family: var(--sans);
  text-transform: none;
}

.hero-actions { display: flex; gap: 16px; }

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.2s;
  font-family: var(--serif);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-deep); }

.btn-ghost { border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.ph {
  background: repeating-linear-gradient(135deg, var(--surface-raised) 0px, var(--surface-raised) 14px, var(--surface) 14px, var(--surface) 28px);
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  position: relative;
}

.ph::before {
  content: attr(data-label);
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--sans);
  text-transform: none;
}

.hero .ph { aspect-ratio: 4/5; }

.hero-video {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--brass);
  overflow: hidden;
}
.hero-video video, .hero-video .fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,34,64,0.82) 0%, rgba(20,34,64,0.5) 55%, rgba(20,34,64,0.25) 100%);
  z-index: 1;
}
.hero-video .wrap { position: relative; z-index: 2; }
.hero-video .kicker { color: var(--brass); }
.hero-video h1 { color: #fff; }
.hero-video p.lede { color: #dfe3ec; }

@media (max-width: 880px) {
  .hero-video { min-height: 460px; }
}


section.tight { padding: 56px 0; }
section.alt { background: var(--surface); }
section.dark { background: var(--navy); color: #fff; }
section.dark p { color: #c3c9d8; }

.section-head { margin-bottom: 48px; max-width: 60ch; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; color: var(--navy); }
section.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--text-muted); font-size: 16px; text-transform: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass);
  padding: 30px 24px;
}

.card h3 { font-size: 18px; margin: 14px 0 10px; color: var(--navy); }
.card p { color: var(--text-muted); font-size: 14px; text-transform: none; }
.card .num { color: var(--brass); font-size: 13px; font-family: var(--serif); font-weight: 600; }

.icon-badge {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 16px;
  border-radius: 4px;
}

.stat-row { display: flex; gap: 48px; margin-top: 32px; }
.stat .figure { font-family: var(--serif); font-size: 40px; color: var(--brass); font-weight: 700; }
.stat .label { color: var(--text-muted); font-size: 13px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.03em; }

.masonry { columns: 3 260px; column-gap: 22px; }
.masonry .item { break-inside: avoid; margin-bottom: 22px; border: 1px solid var(--line); }
.masonry .item .ph { aspect-ratio: var(--ar, 1); }
.masonry .item .cap { padding: 14px 16px; border-top: 3px solid var(--brass); }
.masonry .item .cap .tag { color: var(--brass); font-size: 12px; letter-spacing: 0.04em; font-weight: 600; text-transform: uppercase; }
.masonry .item .cap h4 { font-size: 15px; margin-top: 6px; color: var(--navy); text-transform: none; font-weight: 600; font-family: var(--sans); }

.filters { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filters button {
  background: #fff; border: 2px solid var(--navy); color: var(--navy);
  padding: 9px 18px; font-size: 13px; cursor: pointer; border-radius: 3px; font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
}
.filters button.active, .filters button:hover { background: var(--navy); color: #fff; }

.testi { border-left: 4px solid var(--brass); padding-left: 24px; }
.testi p.quote { font-family: var(--sans); font-size: 21px; font-weight: 400; line-height: 1.5; text-transform: none; color: var(--navy); }
.testi .who { color: var(--text-muted); font-size: 14px; margin-top: 14px; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process .step .n { font-family: var(--serif); font-size: 30px; color: var(--brass); font-weight: 700; margin-bottom: 10px; }
.process .step h4 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.process .step p { color: var(--text-muted); font-size: 14px; text-transform: none; }
section.dark .process .step h4 { color: #fff; }

.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -60px; top: -40px;
  width: 260px; height: 260px;
  background: var(--brass);
  opacity: 0.12;
  transform: rotate(20deg);
}
.cta-band h2 { font-size: 32px; margin-bottom: 16px; color: #fff; }
.cta-band p { color: #c3c9d8; margin-bottom: 28px; text-transform: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
input, select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); }
textarea { resize: vertical; min-height: 120px; }

footer.site { background: var(--navy); color: #fff; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 44px; }
.foot-grid h5 { font-size: 13px; color: var(--brass); margin-bottom: 14px; letter-spacing: 0.04em; font-family: var(--serif); text-transform: uppercase; }
.foot-grid a, .foot-grid p { display: block; font-size: 14px; color: #c3c9d8; margin-bottom: 9px; text-transform: none; }
.foot-grid a:hover { color: var(--brass); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  color: #8f97ab;
  font-size: 13px;
}

.page-head { padding: 64px 0 46px; background: var(--surface); border-bottom: 4px solid var(--brass); }
.page-head .kicker { color: var(--brass); font-family: var(--serif); font-weight: 600; font-size: 14px; margin-bottom: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.page-head h1 { font-size: 40px; color: var(--navy); }
.page-head p { color: var(--text-muted); margin-top: 14px; max-width: 55ch; text-transform: none; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: 34px; }
  .grid-3, .grid-2, .grid-5, .process, .foot-grid { grid-template-columns: 1fr; }
  .stat-row { flex-wrap: wrap; gap: 28px; }
  .masonry { columns: 1 100%; }
  nav.links { position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; padding: 30px 28px; gap: 22px; display: none; }
  nav.links.open { display: flex; }
  .menu-btn { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .page-head h1 { font-size: 30px; }
}
