:root {
  --bg: #efe6da;
  --paper: rgba(255, 253, 249, 0.92);
  --paper-strong: #fffdfa;
  --text: #2c221c;
  --muted: #6b5a50;
  --border: rgba(94, 61, 43, 0.12);
  --brand: #7a543d;
  --brand-deep: #593a29;
  --brand-soft: #d9c3ad;
  --accent: #b08863;
  --shadow: 0 22px 60px rgba(49, 32, 22, 0.12);
  --radius: 24px;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 136, 99, 0.2), transparent 34%),
    radial-gradient(circle at top right, rgba(89, 58, 41, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f1ea 0%, #ece2d5 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand);
}

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

.page-shell {
  min-height: 100vh;
  padding: 24px;
}

.topbar,
.hero,
.content-card,
.footer {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-lockup img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #ffffff;
  padding: 5px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong,
.hero-copy h1,
.section-title,
.card-title,
.page-title,
.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text span,
.eyebrow,
.meta-row,
.support-label,
.footer-note,
.lede {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(94, 61, 43, 0.08);
  color: var(--text);
  transition: background-color 140ms ease, transform 140ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 26px;
}

.hero-copy,
.hero-panel,
.content-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  padding: 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-copy h1,
.page-title {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.3rem);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 62ch;
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(94, 61, 43, 0.16);
  color: var(--text);
}

.hero-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(176, 136, 99, 0.2), transparent 72%);
}

.door-icon-frame {
  background: linear-gradient(180deg, #fffdf9 0%, #f3e9df 100%);
  border-radius: 28px;
  padding: 18px;
  border: 1px solid rgba(94, 61, 43, 0.1);
  display: flex;
  justify-content: center;
  min-height: 360px;
}

.door-icon-frame img {
  width: min(100%, 320px);
  max-height: 380px;
  border-radius: 18px;
  object-fit: contain;
}

.hero-list {
  margin: 0;
  padding-left: 20px;
}

.hero-list li + li {
  margin-top: 8px;
}

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

.card {
  padding: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(49, 32, 22, 0.06);
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.card p {
  margin: 0 0 16px;
}

.content-card {
  padding: 34px 36px;
  margin-bottom: 22px;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.95rem;
}

.section {
  border-top: 1px solid rgba(94, 61, 43, 0.1);
  padding-top: 24px;
  margin-top: 24px;
}

.section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.section p,
.section li {
  max-width: 72ch;
}

.section ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.callout {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(216, 193, 170, 0.22), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(166, 123, 87, 0.18);
}

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

.support-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper-strong);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(49, 32, 22, 0.05);
}

.support-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.support-value {
  margin: 8px 0 0;
  font-size: 1.18rem;
}

.support-note {
  margin-top: 12px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 28px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 940px) {
  .hero,
  .grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .content-card {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-copy h1,
  .page-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}
