:root {
  --bg: #f4f0e8;
  --surface: #fbfaf6;
  --fg: #1c1915;
  --muted: #6b6459;
  --subtle: #8a8276;
  --primary: #1b365d;
  --primary-fg: #fbfaf6;
  --accent: #c5a35a;
  --accent-fg: #1c1915;
  --border: #ddd6c8;
  --radius: 12px;
  --shadow:
    0 0 0 1px rgb(28 25 21 / 0.06),
    0 1px 2px -1px rgb(28 25 21 / 0.06),
    0 2px 8px 0 rgb(28 25 21 / 0.04);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
  line-height: 1.2;
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  width: 3rem;
  height: 2px;
  background: var(--accent);
  border: 0;
  margin: 0.85rem 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--primary);
  color: var(--primary-fg);
  border-bottom: 1px solid rgb(197 163 90 / 0.28);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding-block: 0.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary-fg);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.9rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--primary-fg);
  opacity: 0.92;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  opacity: 1;
}

.nav-desktop a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 0;
  transition: background 150ms ease, color 150ms ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: #152a4a;
}

.btn-gold {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-gold:hover {
  background: #b4924a;
}

.btn-light {
  background: var(--primary-fg);
  color: var(--primary);
}

.btn-light:hover {
  background: #eee8dc;
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn-outline:hover {
  background: rgb(28 25 21 / 0.04);
}

.btn-header {
  background: var(--primary-fg);
  color: var(--primary);
  min-height: 2.5rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--primary-fg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid rgb(251 250 246 / 0.15);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--primary-fg);
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding: 2.25rem 0 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-top: 0.5rem;
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pills {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pills li {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.pills strong {
  display: block;
  font-weight: 600;
}

.pills span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 2.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin-top: 0.35rem;
}

.lede {
  color: var(--muted);
  max-width: 40rem;
  margin: 0.7rem 0 0;
}

.grid-2,
.grid-3,
.grid-4,
.grid-6 {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
}

.card h3 {
  font-size: 1.2rem;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0.35rem 0 0.15rem;
}

.price span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

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

.small {
  font-size: 0.9rem;
}

.link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.feature-block {
  margin-top: 2rem;
}

.feature-block h2 {
  font-size: 1.45rem;
}

.feature-block ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-block li {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.feature-block strong {
  color: var(--fg);
}

.cta-band {
  background: var(--primary);
  color: var(--primary-fg);
}

.cta-band .lede,
.cta-band .muted {
  color: rgb(251 250 246 / 0.82);
}

.cta-band .kicker {
  color: var(--accent);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--fg);
}

@media (min-width: 720px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile,
  .nav-mobile.open {
    display: none;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 3rem 0;
  }

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

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

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

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

  .site-footer .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

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

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

/* Homepage — night hallway, editorial (not brochure cards) */
body.home {
  color: #f4f0e8;
  background: #101c30;
}

body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(16 28 48 / 0.72) 0%, rgb(16 28 48 / 0.28) 46%, rgb(16 28 48 / 0.08) 100%),
    linear-gradient(180deg, rgb(16 28 48 / 0.12) 0%, rgb(16 28 48 / 0.42) 100%),
    url("images/hallway-night.jpg") center / cover no-repeat;
}

body.home .site-header {
  background: rgb(16 28 48 / 0.55);
  border-bottom-color: rgb(197 163 90 / 0.28);
  backdrop-filter: blur(8px);
}

body.home .hero {
  display: block;
  min-height: calc(100vh - 3.5rem);
  padding: 4rem 0 3.5rem;
}

body.home .hero > div {
  max-width: 36rem;
}

body.home .hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  text-shadow: 0 1px 18px rgb(16 28 48 / 0.55);
}

body.home .kicker {
  color: var(--accent);
}

body.home .muted,
body.home .lede,
body.home .small {
  color: #d4cbb8;
}

body.home .link {
  color: var(--accent);
}

body.home .section {
  border-top: 1px solid rgb(197 163 90 / 0.22);
  background: transparent;
}

body.home .section.tint,
body.home .cta-band {
  background: transparent;
}

body.home .home-rows {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
  max-width: 40rem;
}

body.home .home-rows > * {
  padding: 1rem 0;
  border-top: 1px solid rgb(197 163 90 / 0.22);
}

body.home .home-rows h3 {
  font-size: 1.15rem;
}

body.home .home-rows p,
body.home .home-split p,
body.home .home-split li,
body.home .home-stats p {
  color: #d4cbb8;
  margin: 0.35rem 0 0;
}

body.home .home-split {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
}

body.home .home-split ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

body.home .home-stats {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

body.home .home-plans {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

body.home .home-plans h3 {
  font-size: 1.05rem;
}

body.home .home-plans .price {
  color: var(--accent);
}

body.home .home-plans ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: #d4cbb8;
  font-size: 0.92rem;
}

body.home .site-footer {
  background: rgb(16 28 48 / 0.72);
  border-top-color: rgb(197 163 90 / 0.22);
  color: #d4cbb8;
}

body.home .site-footer a {
  color: #d4cbb8;
}

body.home .site-footer a:hover {
  color: #f4f0e8;
}

@media (min-width: 720px) {
  body.home .hero {
    grid-template-columns: none;
    padding: 5.5rem 0 4.5rem;
  }

  body.home .home-split,
  body.home .home-stats {
    grid-template-columns: 1fr 1fr;
  }

  body.home .home-plans {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 719px) {
  body.home::before {
    background:
      linear-gradient(180deg, rgb(16 28 48 / 0.45) 0%, rgb(16 28 48 / 0.78) 100%),
      url("images/hallway-night.jpg") center / cover no-repeat;
  }
}


