@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

: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: clip;
  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;
  max-width: 100%;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  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;
  align-items: center;
}

.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);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(98, 79, 63, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
}

.mobile-nav-panel a {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(98, 79, 63, 0.12);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 3.6vw, 58px);
  align-items: start;
  padding: 28px 0 18px;
  overflow: clip;
}

.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 {
  min-width: 0;
  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: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(2.5rem, 3.8vw, 4.1rem);
  max-width: 13ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.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: 18px 0 0;
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero-summary {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-highlights span {
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(135, 68, 36, 0.14);
  background: rgba(255, 252, 247, 0.78);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
}

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

.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);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 620px;
  z-index: 1;
  overflow: clip;
  isolation: isolate;
  padding: 8px 0 0 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: 0 74px 108px 0;
  transform: rotate(-2deg);
}

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

.hero-card-float {
  width: min(300px, 44%);
  right: 0;
  bottom: 26px;
  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: 28px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(390px, 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: 6px;
  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;
}

.overview-grid,
.contact-layout,
.site-footer,
.site-footer-links,
.form-grid,
.form-actions {
  display: grid;
  gap: 18px;
}

.overview-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.overview-table-card {
  padding: 14px;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
}

.facts-table th,
.facts-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.facts-table th {
  width: 34%;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.facts-table td {
  color: var(--ink);
  font-weight: 700;
}

.facts-table tbody tr:last-child th,
.facts-table tbody tr:last-child td {
  border-bottom: 0;
}

.overview-note-card,
.contact-card,
.inquiry-form {
  height: 100%;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(98, 79, 63, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(189, 107, 57, 0.28);
  outline-offset: 2px;
}

.form-actions {
  grid-template-columns: repeat(2, minmax(0, auto));
  align-items: center;
  margin-top: 18px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-status {
  min-height: 24px;
  font-weight: 700;
  color: var(--accent-deep);
}

.inline-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.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(1.85rem, 3vw, 3.1rem);
  max-width: 20ch;
}

.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.1rem;
  line-height: 1.25;
  text-wrap: pretty;
}

.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;
  grid-template-rows: auto 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  margin: 0;
  height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  height: auto;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-card figcaption {
  display: grid;
  align-content: start;
  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;
  max-width: 30ch;
}

.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;
  max-width: 100%;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(135, 68, 36, 0.08);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.gallery-hero img {
  aspect-ratio: 4 / 4.6;
}

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

.gallery-side img {
  aspect-ratio: 16 / 9.5;
}

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

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

.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.12rem;
}

.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: clip;
  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;
}

.site-footer {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer-links {
  grid-auto-flow: column;
  gap: 16px;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  color: var(--accent-deep);
}

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

  .hero-visual {
    min-height: 540px;
    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,
  .form-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;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer-links {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, max-content));
  }
}

@media (max-width: 1380px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card figcaption p {
    max-width: 34ch;
  }
}

@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;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-panel.is-open {
    display: grid;
  }

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

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

  .hero h1,
  .section h2,
  .history-dossier-copy h3,
  .finale-panel h2,
  .status-card h3,
  .section-inline-cta h3,
  .tech-state-panel h3,
  .feature-card h3,
  .pillars h3,
  .surface-card h3,
  .download-card strong,
  .location-card strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero-visual {
    min-height: 420px;
    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-highlights {
    margin-top: 18px;
    gap: 10px;
  }

  .hero-highlights span {
    font-size: 0.86rem;
    padding: 9px 12px;
  }

  .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,
  .feature-grid,
  .pillars,
  .showcase-grid,
  .detail-grid,
  .floorplan-layout,
  .metrics-grid,
  .download-grid,
  .split-panels,
  .status-grid,
  .tech-status-grid,
  .location-points,
  .form-grid,
  .form-actions,
  .site-footer-links {
    grid-template-columns: 1fr;
  }

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

  .gallery-card img,
  .gallery-hero img,
  .gallery-side img {
    aspect-ratio: 16 / 10.5;
  }

  .floorplan-intro,
  .floorplan-card,
  .floorplan-card-wide {
    grid-column: 1 / -1;
  }

  .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;
  }
  .section h2 {
    max-width: none;
  }

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

  .gallery-card figcaption {
    gap: 8px;
    padding: 14px 15px 16px;
  }

  .gallery-card figcaption p {
    max-width: none;
    font-size: 0.96rem;
  }

  .gallery-card-tag {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .facts-table th,
  .facts-table td {
    display: block;
    width: 100%;
    padding: 12px 10px;
  }

  .facts-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .facts-table td {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 10px;
  }
}

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