:root {
  --bg: #f7f1e6;
  --bg-deep: #ead9c0;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: #fffaf2;
  --surface-tint: rgba(255, 248, 239, 0.92);
  --ink: #1f1a17;
  --muted: #655a52;
  --line: rgba(74, 54, 41, 0.12);
  --accent: #bd6b39;
  --accent-deep: #874424;
  --olive: #5a6a45;
  --gold: #d3a86d;
  --shadow: 0 24px 80px rgba(47, 29, 20, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(189, 107, 57, 0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(90, 106, 69, 0.16), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(180deg, #fdfaf5 0%, var(--bg) 42%, #efe4d0 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 92%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding-bottom: 64px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 18px 0 26px;
  padding: 14px 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.88), rgba(249, 240, 230, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow:
    0 14px 32px rgba(54, 35, 25, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d69258);
  box-shadow: 0 14px 30px rgba(135, 68, 36, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 248, 239, 0.46);
}

.brand-letter {
  color: #fffaf2;
  font-family: "Fraunces", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.brand-copy {
  display: grid;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--muted);
}

.brand-title {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(38px, 4.5vw, 76px);
  align-items: center;
  padding: 46px 0 34px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% 4% 44%;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 107, 57, 0.14), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  max-width: 9ch;
}

.hero-lead,
.section-note,
.intro-copy p,
.pillars p,
.surface-card p,
.metrics-note,
.download-card p,
.feature-card p,
.facts-band p,
.gallery-card figcaption,
.location-card p,
.finale-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 64ch;
  font-size: 1.08rem;
}

.hero-editorial {
  max-width: 640px;
  margin-top: 22px;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.95), rgba(248, 237, 224, 0.88));
}

.hero-editorial-line {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.28;
}

.hero-editorial-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-editorial-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 68, 36, 0.14);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  max-width: 760px;
}

.hero-stat-card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(247, 237, 225, 0.78));
  border: 1px solid rgba(125, 62, 39, 0.12);
  box-shadow: var(--shadow);
}

.hero-stat-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.hero-stat-card strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #d88a58);
  color: #fff;
  box-shadow: 0 16px 34px rgba(189, 107, 57, 0.24);
}

.button-secondary {
  border: 1px solid rgba(98, 79, 63, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.price-card {
  display: inline-grid;
  gap: 6px;
  margin-top: 32px;
  padding: 18px 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(248, 238, 227, 0.82));
  border: 1px solid rgba(125, 62, 39, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.price-card strong {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.price-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-deep);
}

.hero-visual {
  position: relative;
  min-height: 680px;
  z-index: 1;
  overflow: clip;
  isolation: isolate;
  padding-left: 18px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.44), transparent 24%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.36), rgba(234, 217, 192, 0.16));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  margin: 0;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card img,
.gallery-card img,
.floorplan-card img,
.history-dossier-preview img {
  cursor: zoom-in;
}

.hero-card img:focus-visible,
.gallery-card img:focus-visible,
.floorplan-card img:focus-visible,
.history-dossier-preview img:focus-visible {
  outline: 3px solid rgba(189, 107, 57, 0.72);
  outline-offset: -3px;
}

.hero-card-main {
  inset: 8px 74px 120px 0;
  transform: rotate(-3deg);
}

.hero-card-main:hover {
  transform: rotate(-3deg) translateY(-4px);
  box-shadow: 0 30px 96px rgba(47, 29, 20, 0.22);
}

.hero-card-float {
  width: min(330px, 48%);
  right: 0;
  bottom: 36px;
  aspect-ratio: 1 / 1.18;
  transform: rotate(4deg);
  border: 12px solid rgba(255, 250, 242, 0.92);
}

.hero-card-float:hover {
  transform: rotate(4deg) translateY(-4px);
  box-shadow: 0 30px 96px rgba(47, 29, 20, 0.22);
}

.hero-image-note {
  position: absolute;
  left: 26px;
  bottom: 32px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100% - 150px));
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(25, 19, 15, 0.72);
  color: #fff7ef;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 72px rgba(18, 12, 9, 0.3);
  backdrop-filter: blur(12px);
}

.hero-image-note strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.24;
}

.hero-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  gap: 10px;
  min-width: 220px;
  padding: 18px;
  background: rgba(31, 26, 23, 0.82);
  color: #fff5eb;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(22, 16, 13, 0.26);
}

.hero-badge span {
  font-size: 0.92rem;
}

.facts-band,
.intro-grid,
.feature-grid,
.pillars,
.showcase-grid,
.detail-grid,
.floorplan-layout,
.split-panels,
.tech-layout,
.location-layout,
.download-grid,
.history-grid {
  display: grid;
  gap: 18px;
}

.facts-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 10px 0 12px;
}

.surface-card,
.facts-band article,
.feature-card,
.pillars article,
.tech-panel,
.location-card,
.download-card,
.finale-panel,
.gallery-card,
.floorplan-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.surface-card,
.facts-band article,
.feature-card,
.pillars article,
.tech-panel,
.location-card,
.download-card {
  position: relative;
  overflow: hidden;
}

.surface-card::before,
.facts-band article::before,
.feature-card::before,
.pillars article::before,
.tech-panel::before,
.location-card::before,
.download-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(211, 168, 109, 0.42), rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.surface-card,
.facts-band article,
.feature-card,
.pillars article,
.tech-panel,
.location-card,
.download-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.facts-band article {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(246, 236, 224, 0.82));
}

.fact-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.facts-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.gallery-category-title {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 58px 0 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 14ch;
}

.intro-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card h3,
.pillars h3,
.tech-panel h3,
.location-card strong,
.download-card strong,
.surface-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

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

.showcase-grid {
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: var(--radius-xl);
  margin: 0;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-card figcaption {
  display: grid;
  gap: 10px;
  padding: 16px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 238, 228, 0.94));
}

.gallery-card figcaption p {
  margin: 0;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 92px rgba(47, 29, 20, 0.2);
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-card-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(135, 68, 36, 0.08);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-hero {
  grid-row: span 2;
  min-height: 640px;
}

.gallery-side {
  min-height: 310px;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.detail-grid .gallery-card {
  min-height: 330px;
}

.split-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-grid,
.tech-status-grid {
  display: grid;
  gap: 18px;
}

.status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-card h3,
.section-inline-cta h3,
.tech-state-panel h3 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.status-card p,
.section-inline-cta p,
.tech-state-panel p {
  margin: 0;
}

.section-inline-cta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.floorplan-layout {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.floorplan-intro {
  grid-column: span 4;
}

.floorplan-card {
  grid-column: span 6;
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: var(--radius-xl);
  margin: 0;
}

.floorplan-card-wide {
  grid-column: span 8;
}

.floorplan-card img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 239, 229, 0.92));
  padding: clamp(14px, 2vw, 22px);
}

.floorplan-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--muted);
  line-height: 1.65;
}

.floorplan-card figcaption strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.floorplan-link-note {
  color: var(--accent-deep);
  font-size: 0.94rem;
}

.history-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.history-wide {
  grid-column: span 7;
}

.history-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.history-grid .gallery-card:not(.history-wide):not(.history-tall) {
  grid-column: span 3;
}

.history-grid img {
  filter: grayscale(1) contrast(1.05);
}

.history-dossier {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.history-dossier-preview img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 10, 0.76);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  padding: 24px;
  border-radius: 30px;
  background: rgba(29, 21, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px rgba(8, 6, 5, 0.46);
}

.lightbox-close,
.lightbox-nav,
.lightbox-thumb {
  appearance: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.lightbox-close {
  justify-self: end;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.12);
  color: #fff7ef;
  font-weight: 700;
}

.lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 0;
}

.lightbox-nav {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.14);
  color: #fff8f1;
  font-size: 2rem;
  display: grid;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-thumb:hover,
.lightbox-thumb:focus-visible {
  transform: translateY(-2px);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 250, 242, 0.22);
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.lightbox-image {
  width: 100%;
  max-height: min(68vh, 820px);
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-meta {
  display: grid;
  gap: 8px;
  color: #f7efe6;
}

.lightbox-context,
.lightbox-count {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6b49a;
}

.lightbox-caption {
  font-family: "Fraunces", serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.16;
}

.lightbox-alt {
  color: rgba(255, 244, 236, 0.76);
  line-height: 1.6;
}

.lightbox-strip-wrap {
  display: grid;
  gap: 12px;
}

.lightbox-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(100px, 132px);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.lightbox-thumb {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  opacity: 0.62;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-thumb img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
}

.lightbox-thumb.is-active {
  opacity: 1;
  border-color: rgba(214, 180, 154, 0.92);
}

.history-dossier-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
}

.history-dossier-copy h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.history-dossier-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.tech-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive), #96a57d);
  box-shadow: 0 0 0 4px rgba(90, 106, 69, 0.12);
}

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

.metrics-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
}

.metrics-grid span,
.download-type,
.location-tag {
  display: inline-block;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metrics-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 1.65rem;
}

.location-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.location-card {
  position: relative;
  overflow: hidden;
}

.location-line,
.location-note {
  margin: 0;
}

.location-note {
  margin-top: 12px;
}

.location-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.location-point {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
}

.location-point strong,
.location-point span {
  display: block;
}

.location-point strong {
  font-size: 1rem;
  margin-bottom: 6px;
}

.location-point span {
  color: var(--muted);
  line-height: 1.5;
}

.location-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -40% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 107, 57, 0.18), transparent 70%);
}

.location-card > * {
  position: relative;
  z-index: 1;
}

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

.download-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  transition: transform 180ms ease;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 238, 226, 0.84));
}

.download-card strong {
  font-size: 1.6rem;
}

.finale {
  padding-bottom: 28px;
}

.finale-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 251, 245, 0.98), rgba(244, 233, 220, 0.9));
}

.finale-panel::before,
.finale-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.finale-panel::before {
  width: 270px;
  height: 270px;
  right: -90px;
  top: -80px;
  background: radial-gradient(circle, rgba(189, 107, 57, 0.18), transparent 72%);
}

.finale-panel::after {
  width: 220px;
  height: 220px;
  left: -100px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(90, 106, 69, 0.18), transparent 72%);
}

.finale-panel > * {
  position: relative;
  z-index: 1;
}

.finale-footnote {
  margin-top: 18px;
  font-size: 0.94rem;
}

.finale-contact {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.finale-mail {
  width: fit-content;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
  color: var(--accent-deep);
  word-break: break-word;
}

.finale-mail:hover,
.finale-mail:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

@media (max-width: 1120px) {
  .hero,
  .intro-grid,
  .location-layout,
  .split-panels {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
    padding-left: 0;
  }

  .hero-image-note {
    left: 18px;
    bottom: 24px;
    width: min(360px, calc(100% - 136px));
  }

  .facts-band,
  .pillars,
  .download-grid,
  .detail-grid,
  .tech-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .floorplan-intro {
    grid-column: span 12;
  }

  .floorplan-card,
  .floorplan-card-wide {
    grid-column: span 6;
  }

  .gallery-hero {
    min-height: 540px;
  }

  .history-wide,
  .history-tall,
  .history-grid .gallery-card:not(.history-wide):not(.history-tall) {
    grid-column: span 6;
  }

  .history-dossier {
    grid-template-columns: 1fr;
  }

  .section-inline-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header {
    position: static;
    padding: 16px;
    border-radius: 26px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 16px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.4rem);
    max-width: none;
    line-height: 1.02;
    text-wrap: pretty;
  }

  .hero-visual {
    min-height: 440px;
    overflow: hidden;
    border-radius: 30px;
    padding-left: 0;
  }

  .hero-card-main {
    inset: 10px 10px 118px 0;
  }

  .hero-card-float {
    width: 45%;
    right: 8px;
    bottom: 34px;
  }

  .hero-editorial {
    padding: 18px;
  }

  .hero-editorial-line {
    font-size: 1.02rem;
  }

  .hero-editorial-points span {
    font-size: 0.86rem;
  }

  .hero-badge {
    right: 14px;
    top: 10px;
    min-width: 170px;
    padding: 12px 14px;
  }

  .hero-image-note {
    left: 14px;
    right: 74px;
    bottom: 18px;
    width: auto;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    width: min(100vw - 28px, 1180px);
    max-height: calc(100vh - 28px);
    padding: 16px;
    border-radius: 24px;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(calc(-50% - 2px));
  }

  .lightbox-prev {
    left: 22px;
  }

  .lightbox-next {
    right: 22px;
  }

  .lightbox-image {
    max-height: 54vh;
  }

  .lightbox-strip {
    grid-auto-columns: minmax(88px, 108px);
  }

  .facts-band,
  .hero-stats,
  .feature-grid,
  .pillars,
  .showcase-grid,
  .detail-grid,
  .floorplan-layout,
  .metrics-grid,
  .download-grid,
  .split-panels,
  .status-grid,
  .tech-status-grid,
  .location-points {
    grid-template-columns: 1fr;
  }

  .gallery-hero,
  .gallery-side,
  .detail-grid .gallery-card,
  .floorplan-card {
    min-height: auto;
  }

  .history-wide,
  .history-tall,
  .history-grid .gallery-card:not(.history-wide):not(.history-tall) {
    grid-column: span 12;
  }

  .history-dossier-preview img {
    min-height: 280px;
  }

  .section {
    padding-top: 44px;
  }

  .hero-stat-card strong {
    font-size: 1rem;
  }

  .section h2 {
    max-width: none;
  }

  .gallery-category-title {
    margin-bottom: 12px;
  }
}
