:root {
  --ink: #183b35;
  --ink-deep: #102d29;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --gold: #bd8b45;
  --gold-light: #ddc08e;
  --sage: #dce7df;
  --text: #273833;
  --muted: #63726d;
  --line: rgba(24, 59, 53, 0.16);
  --shadow: 0 22px 55px rgba(16, 45, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Century Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  background: rgba(16, 45, 41, 0.97);
  backdrop-filter: blur(16px);
}

nav .wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand,
.brand-mini {
  text-decoration: none;
  letter-spacing: 0.08em;
}

.brand {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  line-height: 1;
}

.brand .name {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 700;
}

.brand .sub {
  margin-top: 5px;
  color: var(--gold-light);
  font-family: "Snell Roundhand", "Segoe Script", cursive;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav-links,
.foot-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a,
.foot-links a {
  text-decoration: none;
}

.nav-links a {
  position: relative;
  padding: 26px 0 23px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold-light);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: white;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid var(--gold-light);
  color: white;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--ink-deep);
  background: var(--gold-light);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 100px;
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(221, 192, 142, 0.2), transparent 27%),
    linear-gradient(135deg, var(--ink-deep), var(--ink) 64%, #28534a);
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -180px;
  bottom: -280px;
  border: 1px solid rgba(221, 192, 142, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(221, 192, 142, 0.035), 0 0 0 116px rgba(221, 192, 142, 0.025);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow span {
  margin: 0 7px;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.14;
}

h1 {
  max-width: 890px;
  margin: 0 auto;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.script {
  display: block;
  margin-top: 12px;
  color: var(--gold-light);
  font-family: "Snell Roundhand", "Segoe Script", cursive;
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary,
.btn-gold {
  color: var(--ink-deep);
  background: var(--gold-light);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-gold:hover,
.btn-gold:focus-visible {
  background: #ecd4aa;
}

.btn-outline {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.section,
.pillars {
  padding: 90px 0;
}

.section-alt {
  background: var(--cream);
}

.section-head {
  max-width: 670px;
  margin-bottom: 45px;
}

.section-head .eyebrow {
  color: var(--gold);
}

.section-head h2,
.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  min-height: 300px;
  padding: 42px 34px;
  background: var(--paper);
}

.pillar:nth-child(2) {
  transform: translateY(22px);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.pillar .num,
.tagline {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.pillar h3,
.price-card h3 {
  margin: 18px 0 14px;
  font-size: 1.65rem;
  font-weight: 500;
}

.pillar p {
  color: var(--muted);
}

.pillar:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.intro-block {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.58rem);
  line-height: 1.6;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}

.divider .line {
  width: 72px;
  height: 1px;
  background: var(--gold-light);
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.badge {
  padding: 26px 18px;
  border: 1px solid var(--line);
  text-align: center;
  background: rgba(255, 253, 248, 0.62);
}

.crest {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Iowan Old Style", Georgia, serif;
  font-weight: 700;
}

.badge .label {
  font-family: "Iowan Old Style", Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
}

.badge .sub {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.frame {
  position: relative;
  padding: 52px 36px;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: solid var(--gold-light);
}

.frame::before {
  top: -9px;
  left: -9px;
  border-width: 2px 0 0 2px;
}

.frame::after {
  right: -9px;
  bottom: -9px;
  border-width: 0 2px 2px 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.pill {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.price-card.featured {
  transform: translateY(-18px);
  border-top: 4px solid var(--gold);
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.price-card .tagline {
  order: -1;
}

.amount {
  margin: 10px 0 22px;
  color: var(--gold);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1.1;
}

.amount span {
  color: var(--muted);
  font-family: "Avenir Next", sans-serif;
  font-size: 0.75rem;
}

.featured .amount span {
  color: rgba(255, 255, 255, 0.62);
}

.price-card .desc {
  color: var(--muted);
}

.price-card.featured .desc,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.price-card ul {
  flex: 1;
  margin: 10px 0 28px;
  padding-left: 20px;
}

.price-card li {
  margin-bottom: 8px;
  color: var(--muted);
}

.price-card .btn {
  align-self: flex-start;
}

.founding-note {
  max-width: 780px;
  margin: 50px auto 0;
  padding: 24px 30px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}

.founding-note h4 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.founding-note p {
  margin-bottom: 0;
}

.cta-band {
  padding: 74px 0;
  color: white;
  text-align: center;
  background: var(--ink-deep);
}

.cta-band p {
  max-width: 670px;
  margin: 20px auto 28px;
  color: rgba(255, 255, 255, 0.74);
}

footer {
  padding: 35px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #0b2521;
}

footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand-mini {
  color: white;
  font-family: "Iowan Old Style", Georgia, serif;
  font-weight: 700;
}

.brand-mini .script {
  display: inline;
  margin-left: 4px;
  font-size: 1rem;
}

.foot-links {
  font-size: 0.8rem;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: white;
}

.foot-tag {
  justify-self: end;
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  nav .wrap {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    padding: 13px 0 15px;
  }

  .nav-links a::after {
    bottom: 8px;
  }

  .pillars-grid,
  .pricing-grid,
  .badge-row,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .pillar:nth-child(2),
  .price-card.featured {
    transform: none;
  }

  .split > :last-child,
  .pricing-grid .price-card:last-child {
    grid-column: 1 / -1;
  }

  footer .wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .foot-tag {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  nav .wrap {
    min-height: 68px;
  }

  .nav-cta {
    padding: 9px 11px;
    font-size: 0.68rem;
  }

  .nav-links {
    gap: 22px;
  }

  .hero {
    padding: 82px 0 76px;
  }

  .section,
  .pillars {
    padding: 68px 0;
  }

  .pillars-grid,
  .pricing-grid,
  .badge-row,
  .split {
    grid-template-columns: 1fr;
  }

  .split > :last-child,
  .pricing-grid .price-card:last-child {
    grid-column: auto;
  }

  .pillar,
  .price-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .hero-ctas,
  .hero-ctas .btn,
  .cta-band .btn {
    width: 100%;
  }

  .badge-row {
    gap: 10px;
  }

  .frame {
    padding: 40px 22px;
  }

  footer {
    padding: 30px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
