/* Self-hosted variable WOFF2 font (Plus Jakarta Sans 400..800, Cyrillic + Latin, zero serifs) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #07090e;
  --surface: #0d1117;
  --surface-raised: #131923;
  --surface-high: #1a2230;
  --paper: #f5f2eb;
  --paper-deep: #e8e2d5;
  --ink: #f5f2eb;
  --ink-soft: #b5afa4;
  --ink-muted: #8a8479;
  --ink-on-paper: #07090e;
  --ink-on-paper-soft: #3a3732;
  --gold: #d4af37;
  --gold-hover: #dfc056;
  --stone: #d8d3c9;
  --stone-hover: #e4dfd5;
  --carmine: #9e1b24;
  --carmine-hover: #b5222c;
  --field-carmine: #581016;
  --line-form: rgba(245, 242, 235, 0.18);
  --line-form-focus: #d4af37;

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Strict 5-step typographic scale */
  --step-hero: clamp(2.125rem, 4.4vw, 3.875rem);
  --step-h2: clamp(1.625rem, 3vw, 2.625rem);
  --step-lead: 1.25rem;
  --step-body: 1rem;
  --step-small: 0.875rem;

  /* Cohesive rounded geometry system: panels/cards/images, inner fields, and pill buttons */
  --radius-panel: 22px;
  --radius-inner: 14px;
  --radius-pill: 999px;
  --radius-btn: 14px;
  --wa: #25d366;
  --tg: #26a5e4;
  --viber: #7360f2;
  --phone: #34c759;

  --gutter: clamp(20px, 4.5vw, 48px);
  --container-max: 1380px;
  --section-gap: clamp(88px, 10.5vw, 168px);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background-color: var(--carmine);
  color: var(--ink);
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  overflow-wrap: break-word;
  min-width: 0;
}

p {
  margin: 0;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Grey Loading Placeholders (Skeleton Pulse on GPU Opacity Behind Media) */
.img-shell {
  position: relative;
  background-color: var(--surface-raised);
  overflow: hidden;
}

.img-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--surface-high);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  animation: skeletonPulse 1.35s ease-in-out infinite alternate;
  transition: opacity 260ms ease;
}

.img-shell > picture,
.img-shell > img,
.img-shell > .res-slides,
.img-shell > .detail-gallery-slides {
  position: relative;
  z-index: 1;
}

.img-shell.is-img-ready::before {
  opacity: 0;
  animation: none;
}

@keyframes skeletonPulse {
  from {
    opacity: 0.22;
  }
  to {
    opacity: 0.68;
  }
}

.skeleton-card {
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-media {
  aspect-ratio: 16 / 10;
  background-color: var(--surface-raised);
  animation: skeletonPulse 1.2s ease-in-out infinite alternate;
}

.skeleton-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skeleton-line {
  height: 16px;
  border-radius: var(--radius-pill);
  background-color: var(--surface-raised);
  animation: skeletonPulse 1.2s ease-in-out infinite alternate;
}

.skeleton-line.w-40 {
  width: 42%;
}

.skeleton-line.w-75 {
  width: 76%;
  height: 22px;
}

.skeleton-line.w-60 {
  width: 58%;
}

.skeleton-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.skeleton-pill {
  width: 118px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: var(--surface-raised);
  animation: skeletonPulse 1.2s ease-in-out infinite alternate;
}

/* Header & Navigation (Transparent over full-screen hero -> Sticky bar on scroll) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(7, 9, 14, 0.94);
  backdrop-filter: blur(14px); /* taste-skill-ignore: sticky top navigation bar */
  -webkit-backdrop-filter: blur(14px); /* taste-skill-ignore */
  transition: background-color 260ms ease, backdrop-filter 260ms ease;
}

body.has-full-hero .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  backdrop-filter: none; /* taste-skill-ignore */
  -webkit-backdrop-filter: none; /* taste-skill-ignore */
}

body.has-full-hero .site-header.is-scrolled {
  background-color: rgba(7, 9, 14, 0.94);
  backdrop-filter: blur(14px); /* taste-skill-ignore */
  -webkit-backdrop-filter: blur(14px); /* taste-skill-ignore */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-picture {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 46px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 0;
  transition: color 200ms ease;
}

body.has-full-hero .site-header:not(.is-scrolled) .nav-link {
  color: rgba(245, 242, 235, 0.88);
}

.nav-link:hover,
.nav-link[aria-current="page"],
body.has-full-hero .site-header:not(.is-scrolled) .nav-link:hover,
body.has-full-hero .site-header:not(.is-scrolled) .nav-link[aria-current="page"] {
  color: var(--ink);
}

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

/* Rounded Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: var(--step-body);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-btn);
  text-align: center;
  transition: background-color 220ms ease, color 220ms ease, transform 180ms var(--ease-out-expo);
}

.btn:active {
  transform: scale(0.985);
}

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

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

.btn-surface {
  background-color: var(--surface-raised);
  color: var(--ink);
}

.btn-surface:hover {
  background-color: var(--surface-high);
}

.detail-dossier .btn-surface,
.infeed-banner .btn-surface {
  background-color: var(--surface-high);
}

.btn-stone {
  background-color: var(--stone);
  color: var(--ground);
}

.btn-stone:hover {
  background-color: var(--stone-hover);
}

.btn-carmine {
  background-color: var(--carmine);
  color: var(--ink);
}

.btn-carmine:hover {
  background-color: var(--carmine-hover);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: var(--step-small);
}

.btn-block {
  width: 100%;
}

/* Clean Minimalist Hamburger Icon (no text, no pill background) */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius-inner);
  align-items: center;
  justify-content: center;
  transition: color 180ms ease;
}

.menu-toggle:hover {
  color: var(--gold);
}

/* Mobile Drawer & Expandable Language Dropdown */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: var(--ground);
  padding: 16px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius-inner);
}

.drawer-close-btn:hover {
  color: var(--gold);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-block: 28px;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 700;
  color: var(--ink);
}

.mobile-nav-links a:hover {
  color: var(--gold);
}

.mobile-drawer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-lang-dropdown {
  background-color: var(--surface-raised);
  border-radius: var(--radius-inner);
  overflow: hidden;
}

.drawer-lang-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
}

.drawer-lang-summary::-webkit-details-marker {
  display: none;
}

.drawer-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.drawer-lang-current svg {
  color: var(--gold);
  flex-shrink: 0;
}

.drawer-lang-dropdown[open] .faq-chevron {
  transform: rotate(180deg);
}

.drawer-lang-menu {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
  background-color: var(--surface);
  text-align: left;
}

.drawer-lang-option.is-active {
  background-color: var(--surface-high);
}

.drawer-lang-badge {
  color: var(--gold);
  font-size: var(--step-small);
  font-weight: 600;
}

.drawer-lang-badge.is-soon {
  color: var(--ink-soft);
}

/* HERO — Full-Viewport 100svh Architectural Showcase (Desktop & Mobile) */
.hero-place {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--ground);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1300ms ease-in-out;
}

.hero-slide.is-prev {
  opacity: 1;
  z-index: 1;
  transition: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-bg picture,
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transform: scale(1.03);
  transition: transform 2400ms var(--ease-out-expo);
  will-change: transform;
}

html.is-loaded .hero-bg > picture img,
html.is-loaded .hero-slide.is-active img {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.64) 0%, rgba(7, 9, 14, 0.08) 26%, rgba(7, 9, 14, 0.16) 46%, rgba(7, 9, 14, 0.78) 76%, #07090e 100%); /* taste-skill-ignore: neutral scrim over hero photo */
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(104px, 14svh, 144px);
  padding-bottom: clamp(28px, 5svh, 56px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: end;
  width: 100%;
}

.hero-copy h1 {
  font-size: var(--step-hero);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}

.hero-copy p {
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink);
  max-width: 50ch;
}

/* Quick search bar */
.quick-search-panel {
  background-color: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(14px); /* taste-skill-ignore: frosted search control over full-bleed hero */
  -webkit-backdrop-filter: blur(14px); /* taste-skill-ignore */
  border-radius: var(--radius-panel);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.ui-select,
.ui-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  background-color: var(--surface-raised);
  border: 1px solid var(--line-form); /* taste-skill-ignore: real form input field */
  border-radius: var(--radius-inner);
  color: var(--ink);
  font-size: var(--step-body);
  appearance: none;
}

.ui-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.ui-select:focus,
.ui-input:focus {
  border-color: var(--line-form-focus);
  outline: none;
}

.quick-search-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.quick-search-actions .btn {
  padding-inline: 16px;
  white-space: nowrap;
}

/* Sections General */
.section {
  padding-block: var(--section-gap);
}

.section-surface {
  background-color: var(--surface);
}

.section-header-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header-split h2 {
  font-size: var(--step-h2);
}

.section-header-split p {
  font-size: var(--step-body);
  color: var(--ink);
  max-width: 56ch;
}

/* Featured Architectural Showcase (Asymmetric 7/5 + 5/7 Rounded Gallery) */
.showcase-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.res-card {
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.section-surface .res-card {
  background-color: var(--surface-raised);
}

.showcase-editorial .res-card:nth-child(1) {
  grid-column: span 7;
}

.showcase-editorial .res-card:nth-child(2) {
  grid-column: span 5;
}

.showcase-editorial .res-card:nth-child(3) {
  grid-column: span 5;
}

.showcase-editorial .res-card:nth-child(4) {
  grid-column: span 7;
}

.res-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  overflow: hidden;
  background-color: var(--surface-raised);
}

.showcase-editorial .res-card:nth-child(2) .res-media,
.showcase-editorial .res-card:nth-child(3) .res-media {
  aspect-ratio: 4 / 3.4;
}

/* Stacked Active Slides */
.res-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.res-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.res-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.res-slide a,
.res-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.res-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}

.res-card:hover .res-slide.is-active img {
  transform: scale(1.03);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background-color: rgba(7, 9, 14, 0.78);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease, background-color 200ms ease;
  z-index: 4;
}

.slide-btn.is-visible,
.res-media:hover .slide-btn,
.slide-btn:focus-visible {
  opacity: 1;
}

.slide-btn:hover {
  background-color: var(--ground);
  color: var(--gold);
}

.slide-prev {
  left: 12px;
}

.slide-next {
  right: 12px;
}

.res-badge-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
  z-index: 3;
}

.res-tag {
  background-color: rgba(7, 9, 14, 0.84);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--step-small);
  font-weight: 600;
}

.res-tag-gold {
  color: var(--gold);
}

.res-body {
  padding: clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

.res-location {
  font-size: var(--step-small);
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.res-title {
  font-family: var(--font-body);
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.res-title a:hover {
  color: var(--gold);
}

.res-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background-color: var(--surface-raised);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
  line-height: 1.2;
}

.section-surface .spec-pill {
  background-color: var(--ground);
}

.spec-icon {
  flex-shrink: 0;
  color: var(--gold);
}

.res-footer {
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.res-price-trigger {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--gold);
  padding: 6px 0;
  text-align: left;
}

.res-price-trigger:hover {
  color: var(--gold-hover);
}

.res-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.res-card .res-actions {
  width: 100%;
}

.res-card .res-actions .btn {
  flex: 1 1 140px;
}

.showcase-more-row {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  padding: 24px 28px;
}

.showcase-more-row p {
  font-size: var(--step-body);
  color: var(--ink);
}

/* Section 2: Coasts — Rounded Photograph + Rounded Regional Rows */
.coasts-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.coasts-photo-col {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.coasts-photo-col p {
  font-size: var(--step-body);
  color: var(--ink);
  max-width: 44ch;
}

.coasts-photo-frame {
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background-color: var(--surface-raised);
}

.coasts-photo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.coasts-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coasts-table-col {
  grid-column: 6 / 13;
}

.coasts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coast-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.7fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--radius-panel);
  background-color: var(--surface-raised);
  transition: background-color 220ms ease, transform 220ms var(--ease-out-expo);
}

.coast-row:hover {
  background-color: var(--surface-high);
  transform: translateX(4px);
}

.protection-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 16px;
  align-items: start;
  padding: 18px 24px;
  border-radius: var(--radius-panel);
  background-color: var(--surface);
}

.coast-name {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 800;
  color: var(--ink);
}

.coast-cities {
  font-size: var(--step-body);
  color: var(--ink-soft);
}

.coast-count {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* Section 3: Interactive Shortlist Configurator & AI Concierge */
.shortlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.shortlist-controls {
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.config-group-label {
  display: block;
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.config-chip {
  min-height: 42px;
  padding: 9px 18px;
  background-color: var(--surface-raised);
  color: var(--ink-soft);
  font-size: var(--step-body);
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: background-color 180ms ease, color 180ms ease;
}

.config-chip:hover {
  color: var(--ink);
  background-color: var(--surface-high);
}

.config-chip[aria-pressed="true"] {
  background-color: var(--gold);
  color: var(--ground);
}

.shortlist-output {
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.shortlist-stat-box {
  background-color: var(--surface-raised);
  border-radius: var(--radius-inner);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shortlist-stat-headline {
  font-size: var(--step-lead);
  font-weight: 600;
  color: var(--ink);
}

.shortlist-big-num {
  color: var(--gold);
  font-weight: 600;
}

.shortlist-stat-caption {
  font-size: var(--step-body);
  color: var(--ink-soft);
}

.shortlist-mini-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shortlist-mini-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  transition: transform 180ms var(--ease-out-expo);
}

.shortlist-mini-item:hover {
  transform: translateX(4px);
}

.shortlist-mini-item img {
  width: 96px;
  height: 68px;
  border-radius: var(--radius-inner);
  object-fit: cover;
}

.shortlist-mini-title {
  font-weight: 600;
  font-size: var(--step-body);
  color: var(--ink);
  margin-bottom: 4px;
}

.shortlist-mini-meta {
  font-size: var(--step-small);
  color: var(--ink-soft);
}

/* Section 4: Acquisition Legal Protocol Ledger */
.protocol-ledger {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.protocol-row {
  display: grid;
  grid-template-columns: minmax(0, 3.5fr) minmax(0, 6fr) minmax(0, 2.5fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: baseline;
  padding: 24px 28px;
  border-radius: var(--radius-panel);
  background-color: var(--surface-raised);
}

.protocol-row:nth-child(even) {
  background-color: var(--ground);
}

.protocol-title {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 800;
  color: var(--ink);
}

.protocol-desc {
  font-size: var(--step-body);
  color: var(--ink);
  line-height: 1.55;
  max-width: 64ch;
}

.protocol-doc {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--gold);
  justify-self: end;
  text-align: right;
}

/* Section 5: FAQ & Buyer Protection Split beside Rounded Photographs */
.split-faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.split-faq-left {
  grid-column: 1 / 7;
}

.split-faq-left h2 {
  font-size: var(--step-h2);
  margin-bottom: 22px;
}

.key-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
  padding: 20px 24px;
  border-radius: var(--radius-panel);
  background-color: var(--surface);
}

.key-facts p {
  font-size: var(--step-body);
  color: var(--ink);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.faq-item {
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  padding: 18px 24px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out-expo);
  color: var(--gold);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 14px;
  font-size: var(--step-body);
  color: var(--ink);
  line-height: 1.6;
  max-width: 62ch;
}

.split-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.split-faq-right {
  grid-column: 7 / 13;
  position: relative;
  padding-bottom: 48px;
}

.tall-photo {
  aspect-ratio: 3 / 3.8;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background-color: var(--surface);
}

.tall-photo picture,
.overlap-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tall-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlap-photo {
  position: absolute;
  bottom: 0;
  left: -24px;
  width: 44%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background-color: var(--ground);
  padding: 8px;
}

.overlap-photo picture,
.overlap-photo img {
  border-radius: var(--radius-inner);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 6: Three Rounded Photographs Strip + Carmine Closing Band */
.cta-strip-wrap {
  padding-bottom: 28px;
}

.cta-strip-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cta-photo-item {
  border-radius: var(--radius-panel);
  overflow: hidden;
  height: 34svh;
  min-height: 210px;
  max-height: 360px;
}

.cta-photo-item picture,
.cta-photo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Private Registry & Concierge Section (Replaces Red Band)
   ========================================================================== */
.section-registry {
  padding-block: clamp(60px, 8vw, 110px);
  background-color: var(--ground);
  position: relative;
}

.registry-card {
  background: radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.09) 0%, rgba(13, 17, 23, 0.98) 55%, #07090e 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-panel);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.registry-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.registry-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.registry-visual-col {
  position: relative;
  width: 100%;
}

.registry-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-inner);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: var(--surface-raised);
}

.registry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.registry-photo-frame:hover .registry-img {
  transform: scale(1.03);
}

.registry-badge-float {
  position: absolute;
  background: rgba(7, 9, 14, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.registry-badge-top {
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--gold);
}

.registry-badge-bottom {
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 8px 14px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  border-color: rgba(255, 255, 255, 0.15);
}

.registry-content-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registry-content-col h2 {
  font-size: var(--step-h2);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}

.registry-statement {
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 58ch;
}

.registry-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
  padding-block: 8px;
}

.registry-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.registry-perk-item strong {
  display: block;
  color: var(--ink);
  font-size: var(--step-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.registry-perk-item p {
  color: var(--ink-soft);
  font-size: var(--step-small);
  line-height: 1.45;
  margin: 0;
}

.registry-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.registry-note {
  font-size: var(--step-small);
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .registry-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .registry-photo-frame {
    aspect-ratio: 16 / 10;
  }
}

/* CATALOG, DEBOUNCED AUTOCOMPLETE & VIRTUALIZED GRID */
.page-hero-compact {
  padding-block: clamp(36px, 5vw, 68px) 32px;
  background-color: var(--ground);
}

.page-hero-compact h1 {
  font-size: clamp(2.125rem, 5vw, 4.5rem);
  margin-bottom: 16px;
}

.page-hero-compact p {
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink);
  max-width: 60ch;
}

.catalog-toolbar {
  position: sticky;
  top: 76px;
  z-index: 40;
  background-color: var(--surface);
  padding-block: 16px;
}

.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr) auto;
  gap: 10px;
  align-items: center;
}

.search-autocomplete-wrap {
  position: relative;
}

.suggest-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;
  background-color: var(--surface-high);
  border-radius: var(--radius-inner);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suggest-dropdown[hidden] {
  display: none;
}

.suggest-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius-inner);
  text-align: left;
  transition: background-color 150ms ease;
}

.suggest-item:hover,
.suggest-item:focus-visible {
  background-color: var(--surface-raised);
}

.suggest-label {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
}

.suggest-sub {
  font-size: var(--step-small);
  color: var(--ink-soft);
}

.type-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.type-pill {
  min-height: 38px;
  padding: 8px 18px;
  background-color: var(--surface-raised);
  color: var(--ink-soft);
  font-size: var(--step-small);
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: background-color 180ms ease, color 180ms ease;
}

.type-pill.is-active,
.type-pill[aria-pressed="true"] {
  background-color: var(--gold);
  color: var(--ground);
}

.catalog-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 24px 20px;
  color: var(--ink-soft);
  font-size: var(--step-body);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  padding-bottom: var(--section-gap);
}

/* Native CSS viewport virtualization + containment for long lists */
.catalog-grid .res-card {
}

.virtual-spacer {
  grid-column: 1 / -1;
  pointer-events: none;
}

.infeed-banner {
  grid-column: 1 / -1;
  background-color: var(--surface-raised);
  border-radius: var(--radius-panel);
  padding: clamp(24px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 24px;
  align-items: center;
}

.infeed-banner h3 {
  font-size: var(--step-lead);
  margin-bottom: 10px;
}

.infeed-banner p {
  color: var(--ink);
  font-size: var(--step-body);
  max-width: 60ch;
}

.load-more-wrap {
  margin-top: -32px;
  padding-bottom: var(--section-gap);
  display: flex;
  justify-content: center;
}

.load-more-wrap[hidden] {
  display: none;
}

/* PROPERTY DETAIL PAGE (/object/:slug) */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: var(--step-small);
  color: var(--ink-soft);
  padding-block: 18px 12px;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.object-header {
  padding-bottom: 28px;
}

.object-header h1 {
  font-size: var(--step-hero);
  margin-bottom: 12px;
}

.object-header-sub {
  font-size: var(--step-lead);
  color: var(--ink);
  max-width: 60ch;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-bottom: var(--section-gap);
}

.detail-gallery-main {
  position: relative;
  aspect-ratio: 16 / 10.5;
  border-radius: var(--radius-panel);
  background-color: var(--surface);
  overflow: hidden;
}

.detail-gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.detail-gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.detail-gallery-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.detail-gallery-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.detail-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: rgba(7, 9, 14, 0.84);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: var(--step-small);
  font-weight: 600;
  z-index: 4;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.detail-thumb-btn {
  padding: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-inner);
  overflow: hidden;
  opacity: 0.62;
  transition: opacity 180ms ease;
}

.detail-thumb-btn.is-active,
.detail-thumb-btn:hover {
  opacity: 1;
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-dossier {
  position: sticky;
  top: 96px;
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-code {
  color: var(--gold);
  font-weight: 600;
}

.detail-quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-box {
  background-color: var(--surface-raised);
  border-radius: var(--radius-inner);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.metric-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--step-small);
  color: var(--ink-soft);
}

.dossier-price-box {
  background-color: var(--surface-raised);
  border-radius: var(--radius-inner);
  padding: 16px 18px;
}

.dossier-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-size: var(--step-body);
}

.dossier-price-val {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.dossier-price-note {
  font-size: var(--step-small);
  color: var(--ink-soft);
  line-height: 1.45;
}

.dossier-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-content-section {
  margin-top: 48px;
}

.detail-content-section h2 {
  font-size: var(--step-h2);
  margin-bottom: 20px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-form);
  font-size: var(--step-body);
}

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

.specs-table th {
  color: var(--ink-soft);
  font-weight: 400;
  width: 45%;
}

.specs-table td {
  color: var(--ink);
  font-weight: 600;
}

.description-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--ink);
  max-width: 62ch;
}

/* BUYERS TAX TABLE */
.tax-table-wrap {
  background-color: var(--surface-raised);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

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

.tax-table th,
.tax-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line-form);
  font-size: var(--step-body);
}

.tax-table tbody tr:last-child td {
  border-bottom: 0;
}

.tax-table th {
  background-color: var(--ground);
  color: var(--gold);
  font-weight: 600;
}

/* FOOTER — Inverted Travertine Stone (#F5F2EB) */
.site-footer {
  background-color: var(--paper);
  color: var(--ink-on-paper);
  padding-block: clamp(56px, 8vw, 96px) 32px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: clamp(56px, 9vw, 120px);
}

.footer-col-title {
  font-weight: 600;
  font-size: var(--step-body);
  color: var(--ink-on-paper);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links button {
  font-size: var(--step-body);
  color: var(--ink-on-paper-soft);
  text-align: left;
  padding: 0;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--carmine);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-top: -12px;
  margin-bottom: 8px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  height: 96px;
  width: auto;
  margin-left: -19px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--step-small);
  color: var(--ink-on-paper-soft);
}

/* LEAD CAPTURE MODAL (Rounded Bottom Sheet on Phone, Rounded Club Dialog on Desktop) */
.modal-backdrop {
  overscroll-behavior: contain;
  touch-action: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(7, 9, 14, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  background-color: var(--surface);
  border-radius: var(--radius-panel);
  padding: clamp(24px, 4vw, 38px);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-dim);
  background: var(--surface-raised);
  border-radius: 50%;
  color: #ffffff;
  opacity: 0.9;
  font-size: var(--step-lead);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  z-index: 10;
}

.modal-close:hover {
  opacity: 1;
  color: var(--gold);
  border-color: var(--gold-dim);
  background-color: var(--surface-high);
}

.modal-context-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background-color: var(--surface-raised);
  border-radius: var(--radius-inner);
  padding: 10px 14px 10px 10px;
  margin-bottom: 20px;
}

.modal-context-card[hidden] {
  display: none;
}

.modal-context-card img {
  width: 76px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.modal-context-code {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--gold);
}

.modal-context-name {
  font-size: var(--step-body);
  font-weight: 600;
  color: var(--ink);
}

.modal-dialog h2 {
  font-size: var(--step-h2);
  margin-bottom: 10px;
  padding-right: 44px;
}

.modal-subtitle {
  font-size: var(--step-body);
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.5;
}

/* Mutually Exclusive Modal Modes */
#modal-form-view[hidden] {
  display: none !important;
}

#lead-modal.modal-mode-quiz #modal-form-view,
#lead-modal.modal-mode-quiz .lead-form,
#lead-modal.modal-mode-quiz #lead-modal-title,
#lead-modal.modal-mode-quiz #lead-modal-subtitle,
#lead-modal.modal-mode-quiz #quiz-chips-summary {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#lead-modal.modal-mode-quiz #modal-quiz-flow {
  display: flex !important;
}

#lead-modal.modal-mode-form #modal-quiz-flow {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#lead-modal.modal-mode-form #modal-form-view {
  display: block !important;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group[hidden] {
  display: none;
}

.field-label {
  display: block;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.channel-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.channel-btn {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-inner);
  background-color: var(--surface-raised);
  border: 1px solid var(--line-dim);
  color: var(--ink-soft);
  font-size: var(--step-small);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.channel-btn svg {
  flex-shrink: 0;
}

.channel-btn:hover {
  background-color: var(--surface-high);
  color: var(--ink);
  border-color: var(--line-bright);
}

.channel-btn.is-active,
.channel-btn[aria-pressed="true"] {
  background-color: var(--paper);
  color: var(--ground);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.ch-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.ch-wa { color: var(--wa); }
.ch-tg { color: var(--tg); }
.ch-vb { color: var(--viber); }
.ch-ph { color: var(--phone); }

.field-group label {
  display: block;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.phone-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 8px;
}

.form-consent {
  font-size: var(--step-small);
  color: var(--ink-soft);
  line-height: 1.45;
}

.form-consent a {
  text-decoration: underline;
  color: var(--ink);
}

.form-error {
  background-color: var(--field-carmine);
  color: var(--ink);
  border-radius: var(--radius-inner);
  padding: 10px 14px;
  font-size: var(--step-small);
}

.form-error[hidden] {
  display: none;
}

.modal-success {
  padding-block: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-success[hidden] {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background-color: rgba(7, 9, 14, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86svh;
  border-radius: var(--radius-panel);
  object-fit: contain;
}

/* Motion Layer */
@media (prefers-reduced-motion: no-preference) and (min-width: 1025px) {
  html.js-motion [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 720ms var(--ease-out-expo), transform 720ms var(--ease-out-expo);
    transition-delay: var(--delay, 0ms);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg img,
  .hero-slide img {
    transform: none !important;
  }
}

/* Responsive Breakpoints (Tablet 1024px & Mobile 720px) */
@media (max-width: 1024px) {
  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }

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

  .hero-grid,
  .section-header-split,
  .shortlist-grid,
  .detail-layout,
  .infeed-banner,
  .split-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-editorial .res-card:nth-child(1),
  .showcase-editorial .res-card:nth-child(4) {
    grid-column: span 12;
  }

  .showcase-editorial .res-card:nth-child(2),
  .showcase-editorial .res-card:nth-child(3) {
    grid-column: span 6;
  }

  .coasts-photo-col,
  .coasts-table-col,
  .split-faq-left,
  .split-faq-right {
    grid-column: 1 / -1;
  }

  .protocol-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .protocol-doc {
    justify-self: start;
    text-align: left;
  }

  .overlap-photo {
    left: auto;
    right: 12px;
    width: 38%;
  }

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

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

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

  .detail-dossier {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-bg img,
  .hero-slide img {
    object-position: center center;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .footer-logo-img {
    height: 80px;
    margin-left: -15px;
  }

  .hero-overlay-content {
    padding-top: 92px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .hero-copy p {
    font-size: var(--step-body);
  }

  .quick-search-panel {
    padding: 14px;
  }

  .quick-search-row .ui-select {
    font-size: var(--step-small);
    padding: 10px 30px 10px 12px;
    background-position: right 10px center;
  }

  .quick-search-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-editorial .res-card:nth-child(1),
  .showcase-editorial .res-card:nth-child(2),
  .showcase-editorial .res-card:nth-child(3),
  .showcase-editorial .res-card:nth-child(4) {
    grid-column: span 12;
  }

  .slide-btn {
    opacity: 1;
    width: 34px;
    height: 34px;
  }

  .coast-row,
  .protection-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .cta-strip-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cta-photo-item:first-child {
    grid-column: 1 / -1;
  }

  .cta-photo-item {
    height: 24svh;
    min-height: 156px;
  }

  .catalog-toolbar {
    position: static;
  }

  .toolbar-grid,
  .catalog-grid,
  .footer-cols,
  .split-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-faq {
    gap: 24px;
  }

  .split-faq-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tax-table thead {
    display: none;
  }

  .tax-table,
  .tax-table tbody,
  .tax-table tr,
  .tax-table td {
    display: block;
    width: 100%;
  }

  .tax-table tr {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-form);
  }

  .tax-table td {
    padding: 4px 0;
    border: 0;
  }

  .tax-table td:first-child {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px;
  }

  .detail-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .dossier-price-box {
    padding: 14px;
  }

  .dossier-price-row {
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 0.9375rem;
  }

  .dossier-price-val {
    font-size: 1.0625rem;
  }

  .detail-quick-metrics {
    gap: 8px;
  }

  .metric-box {
    padding: 10px 10px;
  }

  .metric-val {
    font-size: 1.0625rem;
  }

  .metric-lbl {
    font-size: 0.8125rem;
    gap: 4px;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .key-facts {
    padding: 16px 14px;
  }

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

  .quiz-header-bar {
    padding-right: 44px !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .quiz-logo-img {
    height: 32px !important;
  }

  .quiz-stat-line-1 {
    font-size: 12px !important;
    gap: 5px !important;
  }

  .quiz-stat-line-2 {
    font-size: 10.5px !important;
  }
}

/* ============================================================ */
/* MODAL MINI-QUIZ WIZARD                                       */
/* ============================================================ */
.modal-quiz-flow {
  display: flex;
  flex-direction: column;
}

.modal-quiz-flow[hidden] {
  display: none;
}

.quiz-header-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding-right: 48px; /* Dedicated clearance so nothing collides with the close cross */
}

.quiz-brand-wrap {
  display: inline-flex;
  align-items: center;
}

.quiz-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.quiz-live-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
  gap: 3px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1.3;
}

.quiz-stat-line-1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
}

.quiz-stat-line-1 strong {
  color: var(--gold-light);
  font-weight: 700;
}

.quiz-stat-line-2 {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: var(--ink-muted);
  text-align: left;
  letter-spacing: 0.01em;
  padding-left: 13px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.quiz-step {
  display: flex;
  flex-direction: column;
}

.quiz-step[hidden] {
  display: none;
}

.quiz-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--paper);
  margin-bottom: 6px;
}

.quiz-step-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.4;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt {
  width: 100%;
  text-align: left;
  background-color: var(--surface-raised);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-inner);
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.quiz-opt:hover {
  background-color: var(--surface-high);
  border-color: var(--gold-dim);
  transform: translateY(-1px);
}

.quiz-opt.is-selected {
  background-color: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.quiz-opt .opt-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
}

.quiz-opt .opt-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--paper);
  padding-right: 90px;
}

.quiz-opt .opt-sub {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.quiz-step-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.quiz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: var(--radius-inner);
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.quiz-back-btn:hover {
  color: var(--paper);
  background-color: var(--surface-raised);
  transform: translateX(-2px);
}

.quiz-back-btn:active {
  transform: translateX(-1px);
}

.quiz-back-btn[disabled],
.quiz-back-btn[hidden] {
  visibility: hidden;
  pointer-events: none;
}

.quiz-skip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-inner);
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
  margin-left: auto;
}

.quiz-skip-link:hover {
  color: var(--gold-light);
  background-color: var(--surface-raised);
  transform: translateX(2px);
}

.quiz-skip-link:active {
  transform: translateX(1px);
}

/* Quiz summary chips in final form step */
.quiz-chips-summary {
  background: var(--surface-raised);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-inner);
  padding: 10px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quiz-chips-summary[hidden] {
  display: none;
}

.quiz-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quiz-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  background: var(--surface-high);
  border: 1px solid var(--line-dim);
  border-radius: 999px;
  padding: 2px 9px;
  display: inline-flex;
  align-items: center;
}

.quiz-edit-btn {
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-light);
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 150ms ease, background-color 150ms ease;
}

.quiz-edit-btn:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

/* ============================================================ */
/* CTA VARIANTS (HALLMARK REDESIGN SYSTEM)                      */
/* ============================================================ */
.cta-variant {
  padding-bottom: clamp(60px, 8vw, 110px);
}

/* 1. VAULT BOX */
.cta-vault-box {
  background: radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.09) 0%, transparent 55%), var(--surface);
  border: 1px solid var(--border-gold, rgba(212, 175, 55, 0.28));
  border-radius: var(--radius-xl, 24px);
  padding: clamp(36px, 5.5vw, 64px) clamp(24px, 4.5vw, 56px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  margin-top: 24px;
}

.cta-vault-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.vault-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.vault-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.vault-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.vault-highlight {
  color: var(--gold);
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 2px;
}

.vault-prose {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 58ch;
}

.vault-ledger-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 14px);
  padding: 16px 20px;
}

.ledger-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ledger-cell-lbl {
  font-size: 12px;
  color: var(--muted);
}

.ledger-cell-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.ledger-cell-val span {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  margin-left: 4px;
}

.vault-action-card {
  background: var(--surface-2, #141A26);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg, 18px);
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.vault-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vault-card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.vault-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.vault-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.vault-chip.is-active, .vault-chip:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold);
  color: var(--gold);
}

.vault-card-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted-dark);
  margin-top: 12px;
}

/* 2. REGIONAL MATRIX */
.cta-matrix-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 24px);
  padding: clamp(36px, 5vw, 60px) clamp(20px, 4vw, 48px);
  margin-top: 24px;
}

.cta-matrix-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.matrix-regions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.matrix-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 14px);
  padding: 18px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.matrix-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: var(--surface-3);
}

.matrix-tile-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.matrix-tile-count {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.matrix-tile-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* 3. CONFIDENTIAL TAPE */
.cta-tape-box {
  background: radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 50%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 24px);
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px);
  margin-top: 24px;
}

.tape-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.tape-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.tape-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  transition: all 0.2s ease;
}

.tape-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.tape-img-wrap {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #111522;
}

.tape-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) blur(1px);
  transition: filter 0.3s ease;
}

.tape-card:hover .tape-img-wrap img {
  filter: brightness(0.75) blur(0px);
}

.tape-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.tape-body {
  padding: 18px;
}

.tape-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.tape-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tape-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.tape-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px dashed rgba(212, 175, 55, 0.25);
}

.tape-action-wrap {
  display: flex;
  justify-content: center;
}

/* 4. CURATOR DESK */
.cta-desk-box {
  background: var(--surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xl, 24px);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 56px);
  margin-top: 24px;
}

.desk-header {
  margin-bottom: 32px;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.desk-col {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 14px);
  padding: 20px;
}

.desk-step-num {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.desk-step-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.desk-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.desk-opt {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.desk-opt:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.desk-opt.is-active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.desk-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md, 14px);
  padding: 20px 28px;
}

.desk-bar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.desk-bar-title strong {
  color: var(--gold);
}

.desk-bar-sub {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .cta-vault-grid, .cta-matrix-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .matrix-regions-grid, .tape-cards-row, .desk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* PREVIEW SWITCHER BAR */
.preview-switcher-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 0;
}
.preview-switcher-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.preview-switcher-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.preview-switcher-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.preview-tab {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.15s ease;
}
.preview-tab:hover {
  color: var(--ink);
  background: var(--surface-3);
}
.preview-tab.is-active {
  background: var(--gold);
  color: #07090E;
  border-color: var(--gold);
}
.preview-tab.is-before {
  color: #F87171;
}
.preview-tab.is-before.is-active {
  background: #991B1B;
  color: #FFFFFF;
}
.variant-divider-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.variant-divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-gold-subtle);
}

/* ==========================================================================
   Anti-Download & Media Protection System
   ========================================================================== */
img,
picture,
svg,
canvas,
[data-track-img],
.img-shell,
.card-media,
.hero-slider,
.dossier-hero,
.gallery-item,
.cta-photo-item,
.vault-img,
.matrix-tile {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

/* ==========================================================================
   Mobile Landscape Orientation Lock
   ========================================================================== */
/* ── Premium Architectural Animated Logo Preloader ── */
.preloader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0b0e11;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.preloader-overlay.is-exiting {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Background Multi-Layered Deep Gradient (Charcoal, Midnight Blue, Dark Petrol, Muted Emerald) */
.preloader-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 12% 14%, rgba(20, 32, 43, 0.95) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 88% 86%, rgba(35, 56, 47, 0.85) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(25, 49, 57, 0.75) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 14% 88%, rgba(37, 35, 33, 0.90) 0%, transparent 62%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(16, 21, 26, 0.60) 0%, transparent 70%),
    linear-gradient(180deg, #101315 0%, #080a0d 100%);
  filter: contrast(108%);
  animation: preloaderAmbientDrift 16s ease-in-out infinite alternate;
}

@keyframes preloaderAmbientDrift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.025) translate3d(-1%, 1.2%, 0); }
  100% { transform: scale(1.01) translate3d(1.2%, -1%, 0); }
}

.preloader-stage {
  position: relative;
  z-index: 2;
  width: clamp(260px, 48vw, 420px);
  max-width: 90vw;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
}

.preloader-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Composition Shift:
   The symbol center is at x=76. Full logo center is at x=186.
   Offset = 110px in the 378px coordinate system.
   Initially, the composition has transform: translateX(110px), centering the symbol.
   At Stage 2 (880ms - 1300ms), it glides to translateX(0).
*/
.preloader-logo-group {
  transform: translate3d(110px, 0, 0);
  animation: preloaderShift 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.88s forwards;
  will-change: transform;
}

@keyframes preloaderShift {
  0% {
    transform: translate3d(110px, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Stage 1: Symbol Element Reveal (0 - 880ms) */
.sym-block {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center center;
  transform: scale(0.65) translate3d(0, 6px, 0);
  animation: symReveal 0.48s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

@keyframes symReveal {
  0% {
    opacity: 0;
    transform: scale(0.65) translate3d(0, 6px, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.sym-1 { animation-delay: 0.05s; }
.sym-2 { animation-delay: 0.14s; }
.sym-3 { animation-delay: 0.23s; }
.sym-4 { animation-delay: 0.33s; }
.sym-5 { animation-delay: 0.42s; }
.sym-6 { animation-delay: 0.52s; }
.sym-7 { animation-delay: 0.61s; }
.sym-8 { animation-delay: 0.72s; }

/* Stage 3: Wordmark Elements Reveal (1050ms - 1700ms) */
.wm-group {
  opacity: 0;
  animation: wmGroupFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
}

@keyframes wmGroupFade {
  0% { opacity: 0; transform: translate3d(12px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.wm-title {
  opacity: 0;
  animation: wmItemFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.wm-property {
  opacity: 0;
  animation: wmItemFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.24s forwards;
}

.wm-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: wmLineDraw 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.34s forwards;
}

.wm-sub {
  opacity: 0;
  letter-spacing: 0.22em;
  animation: wmSubFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.45s forwards;
}

@keyframes wmItemFade {
  0% { opacity: 0; transform: translate3d(8px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes wmLineDraw {
  0% { stroke-dashoffset: 200; opacity: 0.4; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes wmSubFade {
  0% { opacity: 0; transform: translate3d(6px, 0, 0); }
  100% { opacity: 0.92; transform: translate3d(0, 0, 0); }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .preloader-overlay {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }
  .preloader-bg,
  .preloader-logo-group,
  .sym-block,
  .wm-group,
  .wm-title,
  .wm-property,
  .wm-line,
  .wm-sub {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

