:root {
  --background: #fcf8f9;
  --surface: #ffffff;
  --surface-muted: #f3eff0;
  --surface-deep: #e8e3e1;
  --primary: #000a1e;
  --navy: #002147;
  --gold: #d4af37;
  --gold-deep: #735c00;
  --text: #1b1b1c;
  --muted: #44474e;
  --line: rgba(0, 10, 30, 0.14);
  --soft-line: rgba(0, 10, 30, 0.08);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(0, 33, 71, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 33, 71, 0.04) 1px, transparent 1px),
    var(--background);
  background-size: 72px 72px;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header,
.site-footer,
.hero,
.section,
.notice {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: clamp(22px, 5vw, 64px);
}

.site-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 248, 249, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding-block: 8px;
}

.nav-links a:hover {
  border-color: var(--gold);
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.76fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 116px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 720px;
  font-size: clamp(54px, 7vw, 86px);
  font-weight: 700;
  line-height: 1.03;
}

h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
}

h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--primary);
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button.primary {
  background: var(--primary);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-media figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding-block: 24px;
}

.notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.notice span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  padding-block: clamp(72px, 10vw, 126px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  margin-bottom: 44px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading p,
.prose p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.step-grid,
.fact-list,
.source-grid,
.checklist {
  display: grid;
  gap: 18px;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid article,
.fact-card,
.checklist > div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: clamp(24px, 3vw, 36px);
}

.step-grid span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step-grid p,
.fact-card p,
.checklist li {
  color: var(--muted);
  line-height: 1.68;
}

.costs {
  border-top: 1px solid var(--line);
}

.fact-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.fact-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.fact-card h3 {
  min-height: 54px;
}

.fact-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  border-bottom: 1px solid var(--gold);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.building {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 7vw, 90px);
}

.prose p:first-child {
  margin-top: 0;
}

.checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 46px;
}

.checklist ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.checklist li + li {
  margin-top: 12px;
}

.sources {
  border-top: 1px solid var(--line);
}

.source-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.source-grid a {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  color: var(--primary);
  font-weight: 800;
}

.source-grid a:hover {
  border-color: var(--gold);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 30px;
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--primary);
  font-weight: 800;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.powered-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section-heading,
  .split-copy {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 560px;
  }

  .step-grid,
  .fact-list {
    grid-template-columns: 1fr 1fr;
  }

  .notice {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-block: 42px 64px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .step-grid,
  .fact-list,
  .checklist,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
