:root {
  --bg: #f8f6ef;
  --paper: #fffdf7;
  --ink: #1f271f;
  --muted: #56615b;
  --green: #254d40;
  --green-soft: #315c4c;
  --gold: #b49041;
  --gold-soft: #dfc58b;
  --line: rgba(36, 62, 48, 0.14);
  --shadow: 0 20px 60px rgba(12, 26, 19, 0.14);
  --radius: 22px;
  --max: 1120px;
  --narrow: 840px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(180, 144, 65, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 100%);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 246, 239, 0.84);
  border-bottom: 1px solid rgba(36, 62, 48, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--green);
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(37, 77, 64, 0.09);
  color: #173126;
}

.hero-section {
  position: relative;
  min-height: min(85vh, 940px);
  display: grid;
  place-items: end start;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 17, 0.1) 0%, rgba(17, 24, 17, 0.15) 35%, rgba(17, 24, 17, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 1.25rem clamp(2.5rem, 6vw, 5.5rem);
  color: white;
}

.eyebrow,
.kicker,
.intro-label,
.version,
.hero-meta,
.site-footer {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow,
.hero-meta {
  font-size: 0.86rem;
  margin: 0;
  color: rgba(255, 248, 231, 0.92);
}

.hero-content h1 {
  margin: 0.25rem 0 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.96;
  max-width: 10ch;
}

.dot {
  opacity: 0.75;
  padding: 0 0.45rem;
}

.content-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.content-wrap.narrow {
  max-width: var(--narrow);
}

.intro-shell {
  margin-top: -2.2rem;
  position: relative;
  z-index: 2;
}

.intro-card,
.constitution-card,
.seal-card,
.feature-figure {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(180, 144, 65, 0.18);
}

.intro-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.45rem;
}

.intro-label {
  margin: 0 0 0.4rem;
  color: var(--green-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.intro-card p {
  margin: 0.5rem 0;
  font-size: 1.04rem;
}

.feature-image-section,
.constitution-section,
.seal-section {
  padding: clamp(3.5rem, 6vw, 5.4rem) 0 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--green);
}

.rule {
  width: min(16vw, 120px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 144, 65, 0.85), transparent);
}

.feature-figure,
.seal-card {
  margin: 0;
  padding: clamp(0.85rem, 2vw, 1.2rem);
}

.feature-image {
  border-radius: 18px;
  width: 100%;
  height: auto;
}

.feature-image.portrait {
  margin: 0 auto;
  max-width: 720px;
}

.parchment-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.93), rgba(253,249,240,0.96));
}

.constitution-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(1.3rem, 2vw, 1.8rem);
}

.article-head {
  text-align: center;
  padding: 0.3rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-soft);
}

.article-head h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  color: #183127;
}

.version {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.article-section {
  padding: 1.2rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.article-section:last-child {
  border-bottom: none;
}

.article-section h4 {
  margin: 0 0 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.95rem;
  line-height: 1.06;
  color: var(--green);
}

.article-section p,
.article-section li {
  font-size: 1.04rem;
  color: var(--ink);
}

.article-section p {
  margin: 0.35rem 0 0.7rem;
}

.article-section ul {
  margin: 0.35rem 0 0.25rem 1.1rem;
  padding: 0 0 0 0.35rem;
}

.article-section li + li {
  margin-top: 0.35rem;
}

.pull-quote {
  margin: 1.5rem 0 0.25rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(180, 144, 65, 0.09), rgba(180, 144, 65, 0.03));
  border-radius: 0 18px 18px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  color: #294838;
}

.final-principle {
  background: linear-gradient(180deg, rgba(37, 77, 64, 0.03), rgba(180, 144, 65, 0.08));
  border-radius: 18px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 1rem;
}

.seal-card {
  text-align: center;
}

.seal-image {
  width: min(100%, 440px);
  margin: 0 auto;
}

.site-footer {
  text-align: center;
  padding: 3rem 1.25rem 4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

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

  .site-nav {
    gap: 0.25rem;
  }

  .hero-section {
    min-height: 66vh;
  }

  .intro-shell {
    margin-top: -1.4rem;
  }

  .article-section h4 {
    font-size: 1.65rem;
  }
}

@media (max-width: 560px) {
  .site-nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
  }

  .hero-content h1 {
    max-width: 8.5ch;
  }

  .constitution-card,
  .intro-card,
  .feature-figure,
  .seal-card {
    border-radius: 18px;
  }

  .pull-quote {
    padding: 1rem;
  }
}
