:root {
  color-scheme: light;
  --ink: #192021;
  --muted: #5e6868;
  --line: #d8dedb;
  --paper: #f7f4ec;
  --white: #ffffff;
  --gold: #b88323;
  --deep: #173432;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 236, 0.92);
  border-bottom: 1px solid rgba(25, 32, 33, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--deep);
  color: #f5d58d;
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 5vw, 72px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.hero p,
.section-heading p,
.contact-band p,
.legal-page p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 52, 50, 0.16);
}

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

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.hero-image {
  min-height: 540px;
  border-radius: 8px;
  background-color: #d7b56b;
  background-image:
    linear-gradient(90deg, rgba(247, 244, 236, 0.2), rgba(247, 244, 236, 0)),
    url("assets/hero-gold.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 80px rgba(36, 40, 30, 0.18);
}

.section {
  padding: 78px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  border-top: 2px solid var(--gold);
  padding: 22px 0 0;
}

.steps span {
  display: block;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 18px;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.steps p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 64px clamp(20px, 5vw, 72px);
  background: var(--deep);
  color: var(--white);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.contact-links {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.contact-link {
  color: #f5d58d;
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.mail-page {
  min-height: calc(100vh - 72px);
}

.mail-hero {
  display: grid;
  align-items: center;
  min-height: 56vh;
  padding: clamp(48px, 8vw, 110px) clamp(20px, 5vw, 72px);
  background: var(--deep);
  color: var(--white);
}

.mail-hero > div {
  max-width: 820px;
}

.mail-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.6;
}

.mail-hero .secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.mail-section {
  background: var(--paper);
}

.mailboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mailboxes article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mailboxes span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mailboxes h3 {
  font-size: clamp(22px, 3vw, 34px);
  overflow-wrap: anywhere;
}

.mailboxes a {
  color: var(--deep);
  font-weight: 900;
  text-underline-offset: 5px;
}

.legal-page {
  max-width: 760px;
  min-height: calc(100vh - 170px);
  padding: 84px clamp(20px, 5vw, 72px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(25, 32, 33, 0.1);
  color: var(--muted);
  font-size: 14px;
}

footer span:last-child {
  display: flex;
  gap: 14px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    min-height: 320px;
    order: -1;
  }

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

  .contact-band,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-links {
    justify-items: start;
  }

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