:root {
  --paper: #FFFFFF;
  --paper-deep: #F4F1EA;
  --ink: #0E0D0B;
  --ink-muted: #5C5448;
  --ink-soft: #8B8475;
  --brass: #A87A2C;
  --brass-bright: #C7972F;
  --rule: rgba(14, 13, 11, 0.16);
  --rule-soft: rgba(14, 13, 11, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; }

/* Typography ----------------------------------------- */

.display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--ink);
}

.display-italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

.serif {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}

.serif-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 70;
}

.tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-muted);
  letter-spacing: 0.005em;
}

.muted { color: var(--ink-muted); }
.soft { color: var(--ink-soft); }
.brass { color: var(--brass); }

.numeral {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-feature-settings: "lnum";
  color: var(--ink);
}

/* Layout ----------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.wrap-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-soft { border: 0; border-top: 1px solid var(--rule-soft); margin: 0; }

/* Top strip ----------------------------------------- */

.topstrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.topstrip a { color: var(--ink); text-decoration: none; }
.topstrip a:hover { color: var(--brass); }

.topstrip .name {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
  border-radius: 0;
  line-height: 1;
}

.lang-toggle:hover {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(184, 146, 60, 0.05);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Translation visibility — toggled by html[lang] attribute */
html[lang="en"] [data-lang="es"] { display: none; }
html[lang="es"] [data-lang="en"] { display: none; }

.topstrip .meta {
  display: flex;
  gap: 1.75rem;
  color: var(--ink-muted);
}

@media (max-width: 640px) {
  .topstrip .meta { gap: 1rem; }
  .topstrip .meta .hide-sm { display: none; }
}

/* Buttons ----------------------------------------- */

.btn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.95rem 1.5rem;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.005em;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
  position: relative;
}

.btn::after {
  content: '→';
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 24;
  font-style: italic;
  font-size: 1.1em;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
  background: var(--brass);
  color: var(--paper);
  border-color: var(--brass);
}

.btn:hover::after { transform: translateX(4px); }

.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.btn-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 28, "SOFT" 70;
  font-size: 1.0625rem;
  position: relative;
  padding-bottom: 0.15em;
}

.btn-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease;
}

.btn-link:hover { color: var(--brass); }
.btn-link:hover::after { background: var(--brass); transform: scaleX(1.04); }

/* Hero ----------------------------------------- */

.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 4vw, 4rem);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  letter-spacing: 0.005em;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  margin: 0 0 2.25rem;
  max-width: 32rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.hero-tagline strong { font-weight: 500; }

.hero-ctas {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.hero-presented {
  display: block;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  max-width: 460px;
}

.hero-presented .label {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
  letter-spacing: 0.005em;
}

.hero-presented img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-presented:hover img {
  transform: translateY(-2px);
}

.hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
  max-height: 70vh;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-banner {
  display: block;
  width: 100%;
  text-decoration: none;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-banner:hover {
  transform: translateY(-2px);
}

/* Facts strip — horizontal stat row below hero ----------------- */

.facts-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.25rem, 2vw, 2.5rem);
  align-items: baseline;
}

@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (max-width: 540px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}

.facts-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 1px solid var(--rule);
  padding-left: 1rem;
}

.facts-grid > div:first-child { border-left: 0; padding-left: 0; }

@media (max-width: 540px) {
  .facts-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

.facts-grid .label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.facts-grid .value {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  font-feature-settings: "lnum";
  letter-spacing: -0.005em;
}

/* Plans index ----------------------------------------- */

.section-plans {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
}

.section-eyeline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyeline .label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 70;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.section-eyeline .count {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 18;
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-feature-settings: "lnum";
  letter-spacing: 0.04em;
}

.plan-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 280ms ease;
  position: relative;
}

.plan-row:last-of-type { border-bottom: 1px solid var(--rule); }

.plan-row:hover { background: var(--paper-deep); }

.plan-row:hover .plan-row-image { transform: translateY(-2px); }
.plan-row:hover .plan-row-go { color: var(--brass); transform: translateX(4px); }

.plan-row-num {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36, "SOFT" 0;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-muted);
  padding: 1.6rem 0;
  font-feature-settings: "lnum";
  letter-spacing: 0.02em;
}

.plan-row-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
}

@media (min-width: 720px) {
  .plan-row-body {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 5rem;
    align-items: center;
    gap: 2rem;
  }
}

.plan-row-name {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.plan-row-name em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  color: var(--brass);
  font-weight: 400;
}

.plan-row-spec {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.plan-row-spec span { white-space: nowrap; }
.plan-row-spec .sep { padding: 0 0.4em; opacity: 0.4; }

.plan-row-price {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36;
  font-size: 1.25rem;
  font-feature-settings: "lnum";
  color: var(--ink);
}

.plan-row-go {
  display: none;
  text-align: right;
  color: var(--ink-muted);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 70;
  transition: color 220ms ease, transform 220ms ease;
}

@media (min-width: 720px) {
  .plan-row-go { display: block; }
}

/* Plans grid (image-forward cards on index) ----------------------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 700px) {
  .plans-grid { grid-template-columns: 1fr; }
}

.plan-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}

.plan-tile.wide { grid-column: 1 / -1; }

.plan-tile figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-deep);
}

.plan-tile.wide figure { aspect-ratio: 21 / 9; }

@media (max-width: 700px) {
  .plan-tile.wide figure { aspect-ratio: 4 / 3; }
}

.plan-tile figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-tile:hover figure img { transform: scale(1.025); }

.plan-tile-meta {
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0 0.4rem;
  margin-top: 0.85rem;
  border-top: 1px solid var(--rule);
}

.plan-tile-name {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(1.625rem, 2.6vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

.plan-tile-name em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  color: var(--brass);
  font-weight: 400;
}

.plan-tile-price {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36;
  font-size: 1.0625rem;
  font-feature-settings: "lnum";
  color: var(--ink);
}

.plan-tile-spec {
  font-size: 0.875rem;
  color: var(--ink-muted);
  letter-spacing: 0.005em;
}

.plan-tile-spec span { white-space: nowrap; }
.plan-tile-spec .sep { padding: 0 0.4em; opacity: 0.4; }

.plan-tile:hover .plan-tile-name em { color: var(--brass-bright); }

.plan-tile-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.plan-tile-about-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.plan-tile-about-title em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  color: var(--brass);
}

.plan-tile-about-body p {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 18, "SOFT" 30;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.plan-tile-about-body p:last-child { margin-bottom: 0; }

/* Plan hero — slideshow + text side by side --------------------- */

.plan-hero {
  padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 2.75rem);
  align-items: start;
}

@media (min-width: 900px) {
  .plan-hero {
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(2.5rem, 4vw, 4rem);
  }
}

.plan-hero .slideshow {
  margin: 0;
  max-width: none;
  aspect-ratio: 4 / 3;
}

.plan-hero-photos { min-width: 0; }
.plan-hero-photos .slideshow { margin: 0; }

@media (min-width: 900px) {
  .plan-hero > .slideshow,
  .plan-hero > .plan-hero-photos {
    position: sticky;
    top: 1.5rem;
  }
  .plan-hero > .slideshow {
    aspect-ratio: 4 / 3;
  }
}

.slideshow-note {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 60;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0.85rem 0 0;
  letter-spacing: 0.005em;
}

.plan-hero-content { min-width: 0; }

.plan-hero-content .plan-detail-num {
  margin: 0 0 1rem;
}

.plan-hero-content .plan-detail-name {
  margin: 0 0 1.25rem;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 0.95;
}

.plan-hero-content .plan-detail-spec {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.plan-hero-content .plan-hero-cta-wrap {
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.plan-hero-content .plan-overview {
  margin: 0 0 1.75rem;
}

.plan-hero-content .plan-overview p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1em;
}

.plan-hero-content .plan-overview p:last-child { margin-bottom: 0; }

.plan-hero-content .plan-meta-strip {
  margin: 1.75rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.plan-hero-content .plan-features-title { margin-top: 1.5rem; }

.plan-hero-content .plan-features {
  grid-template-columns: 1fr 1fr;
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  .plan-hero-content .plan-features { grid-template-columns: 1fr; }
}

/* Plan detail page ----------------------------------------- */

.plan-detail-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.plan-detail-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 70;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.plan-detail-name {
  margin: 0 0 1.5rem;
  font-size: clamp(3.5rem, 11vw, 9rem);
}

.plan-detail-spec {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  color: var(--ink);
  line-height: 1.35;
  max-width: 50rem;
  margin: 0;
  letter-spacing: -0.015em;
}

.plan-detail-spec em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  color: var(--brass);
}

.plan-detail-photo {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}

.plan-detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Plan body — description, features, community ------------------- */

.plan-body {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.plan-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 880px) {
  .plan-body-grid { grid-template-columns: 1.5fr 1fr; gap: clamp(3rem, 5vw, 5rem); }
}

.plan-overview p {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1.25em;
  letter-spacing: -0.005em;
}

.plan-overview p:last-child { margin-bottom: 0; }

.plan-features-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 70;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
}

.plan-features li {
  border-top: 1px solid var(--rule);
  padding: 0.55rem 0;
}

.plan-meta-strip {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.45rem 1.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.plan-meta-strip dt {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
}

.plan-meta-strip dd { margin: 0; color: var(--ink); }

/* Community block ------------------------------------------------- */

.community {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--rule);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 800px) {
  .community-grid { grid-template-columns: 0.7fr 1fr; }
}

.community-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

.community-title em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1;
  color: var(--brass);
}

.community-body p {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 18, "SOFT" 30;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 1em;
}

.community-body p:last-child { margin-bottom: 0; }

/* Slideshow — one photo at a time with prev/next + counter ------- */

.slideshow {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 1.5rem auto 0;
  aspect-ratio: 16 / 9;
  background: var(--paper-deep);
  overflow: hidden;
  outline: none;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 70;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  transition: background 220ms ease, color 220ms ease;
  z-index: 2;
}

.slideshow-nav:hover {
  background: var(--paper);
  color: var(--brass);
}

.slideshow-nav:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.slideshow-prev { left: 1rem; }
.slideshow-next { right: 1rem; }

.slideshow-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(14, 13, 11, 0.78);
  color: var(--paper);
  padding: 0.4rem 0.85rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 60;
  font-size: 0.875rem;
  font-feature-settings: "lnum";
  letter-spacing: 0.04em;
  z-index: 2;
}

.slideshow.single-photo .slideshow-nav,
.slideshow.single-photo .slideshow-counter { display: none; }

@media (max-width: 600px) {
  .slideshow-prev { left: 0.5rem; }
  .slideshow-next { right: 0.5rem; }
  .slideshow-nav { width: 44px; height: 44px; font-size: 1.375rem; }
  .slideshow-counter { bottom: 0.6rem; right: 0.6rem; font-size: 0.8125rem; padding: 0.3rem 0.65rem; }
}

/* Hero collage / hero pair (full-bleed photo strip) -------------- */

.hero-collage,
.hero-pair {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--paper-deep);
}

.hero-collage figure,
.hero-pair figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
  cursor: zoom-in;
  position: relative;
}

.hero-collage figure img,
.hero-pair figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-collage figure:hover img,
.hero-pair figure:hover img { transform: scale(1.03); }

.hero-collage {
  display: grid;
  grid-template-columns: 0.85fr 2.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: clamp(420px, 58vh, 620px);
}

.hero-collage > figure:nth-child(1) { grid-row: 1 / 3; }
.hero-collage > figure:nth-child(2) { grid-row: 1 / 3; }

@media (max-width: 720px) {
  .hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .hero-collage > figure { grid-row: auto !important; aspect-ratio: 4 / 3; }
  .hero-collage > figure:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

.hero-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: clamp(360px, 50vh, 540px);
}

@media (max-width: 720px) {
  .hero-pair { grid-template-columns: 1fr; height: auto; }
  .hero-pair figure { aspect-ratio: 4 / 3; }
}

/* Neighborhood + map embed --------------------------------------- */

.neighborhood,
.amenities {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--rule);
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 880px) {
  .neighborhood-grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); }
}

.neighborhood-info h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.neighborhood-info dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.55rem 1.5rem;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink);
}

.neighborhood-info dt {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  color: var(--ink-muted);
  font-weight: 400;
}

.neighborhood-info dd { margin: 0; }

.neighborhood-info a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

.neighborhood-info a:hover {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

.neighborhood-map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  overflow: hidden;
  border: 1px solid var(--rule);
}

.neighborhood-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(1.04);
}

/* Amenities ------------------------------------------------------ */

.amenities-group { margin-top: 2.25rem; }
.amenities-group:first-of-type { margin-top: 1.5rem; }

.amenities-group-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 60;
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--ink);
  margin: 0 0 0.85rem;
  letter-spacing: -0.005em;
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
}

@media (max-width: 700px) {
  .amenities-list { grid-template-columns: 1fr; }
}

.amenity {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 701px) {
  .amenity:nth-child(odd) { padding-right: 2rem; }
  .amenity:nth-child(even) {
    padding-left: 2rem;
    border-left: 1px solid var(--rule);
  }
}

.amenity-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.amenity-value {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

/* Editorial gallery ----------------------------------------- */

.gallery {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.gallery-mosaic figure {
  margin: 0;
  position: relative;
  background: var(--paper-deep);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-mosaic figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-mosaic figure:hover img { transform: scale(1.04); }

.gallery-mosaic figure figcaption {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  font-size: 0.75rem;
  color: var(--paper);
  background: rgba(14, 13, 11, 0.75);
  padding: 0.2em 0.55em;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 220ms ease;
  font-feature-settings: "lnum";
}

.gallery-mosaic figure:hover figcaption { opacity: 1; }

/* Mosaic spans — varied sizes for editorial feel */
.span-2 { grid-column: span 2; aspect-ratio: 4/3; }
.span-3 { grid-column: span 3; aspect-ratio: 4/3; }
.span-4 { grid-column: span 4; aspect-ratio: 16/10; }
.span-6 { grid-column: span 6; aspect-ratio: 16/8; }
.span-tall { grid-column: span 2; aspect-ratio: 3/4; }

@media (max-width: 720px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4, .span-6, .span-tall { grid-column: span 2; aspect-ratio: 4/3; }
}

/* About ----------------------------------------- */

.about {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  max-width: 24rem;
}

.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-body {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 36rem;
}

.about-body p { margin: 0 0 1.25em; }

.about-body em {
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 70;
  color: var(--brass);
}

.about-detail {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.55rem 1.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.about-detail dt {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 14, "SOFT" 60;
}

.about-detail dd { margin: 0; color: var(--ink); }

.about-detail a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.about-detail a:hover { color: var(--brass); border-bottom-color: var(--brass); }

/* Bottom CTA — integrated, not a separate "luxury" box ------------ */

.endbar {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.endbar .display { color: var(--paper); }

.endbar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: end;
}

@media (min-width: 800px) {
  .endbar-grid { grid-template-columns: 1.4fr 1fr; }
}

.endbar h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.96;
  max-width: 18ch;
}

.endbar h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  color: var(--brass-bright);
}

.endbar-aside {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}

.endbar-aside p { margin: 0 0 1.5rem; }

.endbar .btn {
  background: var(--brass-bright);
  color: var(--ink);
  border-color: var(--brass-bright);
}

.endbar .btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* Footer ----------------------------------------- */

.foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding: 2rem 0;
  font-size: 0.8125rem;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.foot a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.foot a:hover { color: var(--brass-bright); }

/* Back link ----------------------------------------- */

.back {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-variation-settings: "opsz" 18, "SOFT" 60;
  font-size: 1rem;
  margin: 1.5rem 0 0;
}

.back::before { content: '←'; transition: transform 220ms ease; }
.back:hover { color: var(--brass); }
.back:hover::before { transform: translateX(-3px); }

/* Reveal ----------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].in { opacity: 1; transform: translateY(0); }

a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Lightbox (kept dark for image viewing) ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 13, 11, 0.96);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.lightbox.open { display: flex; animation: fade 220ms ease; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--paper);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox-close:hover { border-color: var(--brass-bright); color: var(--brass-bright); }

@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* Mobile polish ---------------------------------------------------- */

@media (max-width: 600px) {
  /* Smaller type so headings don't bust the viewport */
  .hero-title { font-size: clamp(2.75rem, 13vw, 5rem); line-height: 0.95; }
  .plan-detail-name { font-size: clamp(2.75rem, 13vw, 5rem); line-height: 0.95; }
  .plan-hero-content .plan-detail-name { font-size: clamp(2.5rem, 12vw, 4.25rem); line-height: 0.95; }
  .endbar h2 { font-size: clamp(2rem, 9vw, 3.25rem); line-height: 0.95; }
  .community-title { font-size: clamp(1.875rem, 6vw, 2.5rem); }
  .plan-tile-about-title { font-size: clamp(1.75rem, 5.5vw, 2.25rem); }
  .display { line-height: 0.95; }

  /* Body text */
  .hero-tagline { font-size: 0.95rem; }
  .plan-overview p { font-size: 0.95rem; line-height: 1.6; }
  .community-body p,
  .plan-tile-about-body p { font-size: 0.9375rem; line-height: 1.6; }
  .about-body { font-size: 1.0625rem; }
  .endbar-aside { font-size: 0.95rem; }
  .plan-detail-num { font-size: 0.78rem; }

  /* Sections — keep generous spacing between them */
  .hero { padding: 2rem 0 2.5rem; gap: 2rem; }
  .plan-hero { padding: 1.75rem 0 3rem; gap: 2rem; }
  .section-plans { padding: 3rem 0 2.5rem; }
  .about { padding: 3rem 0; }
  .community { padding: 2.5rem 0; }
  .neighborhood, .amenities { padding: 2.5rem 0; }
  .endbar { padding: 3rem 0 2.5rem; }
  .plan-body { padding: 2.5rem 0 1.5rem; }
  .plans-grid { gap: 2.5rem; }

  /* Layout chrome */
  .topstrip { padding: 0.85rem 0; font-size: 0.75rem; }
  .topstrip .name { font-size: 0.95rem; }
  .topstrip .meta { gap: 0.85rem; }
  .section-eyeline { flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 1.75rem; }
  .hero-eyebrow { margin-bottom: 0.85rem; font-size: 0.85rem; }

  /* Plan tile compact */
  .plan-tile-name { font-size: 1.5rem; }
  .plan-tile-price { font-size: 0.95rem; }
  .plan-tile-spec { font-size: 0.8125rem; }

  /* Slideshow gets a clear bottom break before content */
  .plan-hero-photos { margin-bottom: 0.5rem; }
  .slideshow-note { font-size: 0.85rem; margin-top: 0.85rem; }

  /* CTAs full-width on phones */
  .hero-ctas { gap: 1rem; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .endbar .btn { width: 100%; justify-content: center; }

  /* Detail lists tighten up */
  .neighborhood-info dl,
  .plan-meta-strip { gap: 0.45rem 1rem; font-size: 0.8125rem; }
  .neighborhood-info h3 { font-size: 1.125rem; margin-bottom: 0.85rem; }
  .plan-features { font-size: 0.8125rem; }

  /* Footer */
  .foot-grid { gap: 0.6rem 1.25rem; }
  .foot { font-size: 0.72rem; padding: 1.5rem 0; }

  .lightbox-close { top: 0.75rem; right: 0.75rem; }
  .wrap { padding: 0 1.1rem; }
}

/* Prevent long URLs/emails from forcing horizontal overflow */
.about-detail dd,
.neighborhood-info dd,
.foot a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Tap target floor — every clickable interaction at least 44×44 */
@media (max-width: 600px) {
  .btn, .btn-link, .sticky-cta, .slideshow-nav {
    min-height: 44px;
  }
}

/* Prevent images & figures from forcing horizontal overflow */
figure, .plan-tile figure, .hero-photo, .hero-card-banner, .slideshow {
  max-width: 100%;
}

/* Mobile sticky CTA — minimal, only when needed ---- */

.sticky-cta {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  padding: 0.95rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: opacity 220ms ease, transform 220ms ease;
}

.sticky-cta::after {
  content: ' →';
  font-family: 'Fraunces', serif;
  font-style: italic;
}

.sticky-cta.hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}

@media (max-width: 767px) {
  body { padding-bottom: 5rem; }
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
