:root {
  --bg: #08060a;
  --bg-deep: #050308;
  --bg-soft: #120d16;
  --surface: rgba(19, 14, 25, 0.94);
  --surface-2: #19161f;
  --surface-3: #211d28;
  --surface-strong: rgba(12, 9, 17, 0.98);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f1ed;
  --muted: #bfb6c6;
  --faint: #81798a;
  --accent: #f3df2e;
  --accent-strong: #ffeb58;
  --accent-ink: #07101c;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  --content: min(1320px, calc(100vw - 32px));
  --content-wide: min(1520px, calc(100vw - 32px));
  --font: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

html.nav-open,
html.lightbox-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(243, 223, 46, 0.08), transparent 28%),
    linear-gradient(180deg, #08060a 0%, #110c16 46%, #08060a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background:
    linear-gradient(180deg, rgba(8, 6, 10, 0.4), rgba(8, 6, 10, 0.72));
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
a.button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(243, 223, 46, 0.28);
  color: #111;
}

.delivery-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 220px 100%;
}

.delivery-progress.is-active {
  opacity: 1;
  animation: delivery-progress 1s linear infinite;
}

@keyframes delivery-progress {
  from { background-position: -220px 0; }
  to { background-position: calc(100vw + 220px) 0; }
}

.delivery-header {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background 0.24s ease, border-color 0.24s ease, backdrop-filter 0.24s ease;
}

.delivery-header.scrolled {
  background: rgba(10, 7, 13, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.delivery-header__inner {
  width: var(--content-wide);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.delivery-brand {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.delivery-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.delivery-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.delivery-nav a:hover,
.delivery-nav a:focus-visible {
  color: var(--accent);
}

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

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.page-shell {
  width: var(--content-wide);
  margin: 0 auto;
  padding: 34px 0 80px;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #111;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-2px);
}

.button--secondary,
.button-link.secondary,
.button--ghost,
.button-link.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.button--secondary:hover,
.button--secondary:focus-visible,
.button-link.secondary:hover,
.button-link.secondary:focus-visible,
.button--ghost:hover,
.button--ghost:focus-visible,
.button-link.ghost:hover,
.button-link.ghost:focus-visible {
  border-color: rgba(243, 223, 46, 0.5);
  color: var(--accent);
}

.button--small,
.button-link.small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.72rem;
}

.delivery-portal-link {
  white-space: nowrap;
}

.panel {
  background: linear-gradient(180deg, rgba(19, 14, 25, 0.94), rgba(12, 9, 17, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  padding: 34px;
}

.delivery-eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.delivery-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.delivery-subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-chip-row,
.hero-actions,
.inline-actions,
.tool-actions,
.download-actions,
.floorplan-variant-actions,
.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chip-row {
  margin-top: 20px;
}

.collection-switcher {
  width: var(--content);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.collection-switcher__button {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.collection-switcher__button:hover,
.collection-switcher__button:focus-visible,
.collection-switcher__button.is-active {
  border-color: var(--accent);
  background: rgba(243, 223, 46, 0.12);
}

.collection-switcher__button.is-active {
  transform: translateY(-1px);
}

.collection-switcher__button span,
.collection-switcher__button small {
  display: block;
}

.collection-switcher__button span {
  font-weight: 800;
  line-height: 1.25;
}

.collection-switcher__button small {
  margin-top: 4px;
  color: var(--muted);
}

.hero-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 28px;
}

.hero-meta {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.meta-block {
  display: grid;
  gap: 6px;
}

.meta-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meta-value {
  font-size: 1rem;
  line-height: 1.5;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}

.content-layout--public {
  grid-template-columns: minmax(0, 1fr);
}

.content-layout > aside.stack {
  position: sticky;
  top: 108px;
  align-self: start;
}

.content-layout > aside.stack .download-panel {
  position: static;
  top: auto;
}

.stack {
  display: grid;
  gap: 24px;
}

.section-card {
  padding: 28px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.section-kicker,
.section-meta,
.microcopy,
.asset-note,
.floorplan-caption,
.empty-state,
.coming-soon-card p {
  color: var(--muted);
}

.section-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-groups {
  display: grid;
  gap: 30px;
}

.photo-group {
  display: grid;
  gap: 16px;
}

.photo-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(106, 210, 239, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.03);
}

.photo-group__head h3 {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.photo-group__count {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.floorplan-stage__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #09070c;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 8px;
  gap: 18px;
  align-items: start;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 360px 420px;
}

.gallery-card:hover,
.gallery-card:focus-visible,
.gallery-card:focus-within,
.gallery-card.is-selected {
  border-color: rgba(243, 223, 46, 0.5);
}

.gallery-card.is-selected {
  box-shadow: inset 0 0 0 2px rgba(243, 223, 46, 0.28);
}

.gallery-card__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.gallery-card__image,
.gallery-card__media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.04);
}

.gallery-card__select {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.gallery-card__select input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gallery-card__select span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(8, 6, 10, 0.64);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.gallery-card__select input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
}

.gallery-card__select input:checked + span::after {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  margin: 6px auto 0;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.gallery-card__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  min-width: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 6, 10, 0.82);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.gallery-card__status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  border: 1px solid rgba(243, 223, 46, 0.55);
  background: rgba(243, 223, 46, 0.16);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.floorplan-workspace {
  display: grid;
  gap: 18px;
}

.floorplan-stage {
  min-height: 420px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.floorplan-stage__pdf {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: #fff;
}

.floorplan-list {
  display: grid;
  gap: 12px;
}

.floorplan-item {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.floorplan-item.is-active {
  border-color: rgba(243, 223, 46, 0.55);
}

.video-frame,
.tour-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #09070c;
}

.video-link-stack {
  display: grid;
  gap: 18px;
}

.video-link-card {
  display: grid;
  gap: 14px;
}

.video-link-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.video-link-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.video-vertical-card {
  display: grid;
  gap: 18px;
}

.video-vertical-player {
  width: min(420px, 100%);
  max-height: 78vh;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #09070c;
}

.asset-list {
  display: grid;
  gap: 12px;
}

.asset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.asset-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coming-soon-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.coming-soon-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.download-panel {
  position: sticky;
  top: 108px;
  padding: 24px;
}

.download-panel h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.download-actions {
  margin-top: 18px;
}

.batch-editor-panel {
  display: grid;
  gap: 0;
  padding: 0;
  max-height: calc(100dvh - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.batch-editor-panel__header,
.batch-control-section,
.batch-details,
.batch-editor-panel__footer {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.batch-editor-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  background: rgba(8, 6, 10, 0.84);
}

.batch-editor-panel__header h2 {
  margin-bottom: 4px;
}

.batch-editor-panel__footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 12px;
  border-bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(8, 6, 10, 0.96);
}

.batch-selected-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.batch-selected-thumb {
  position: relative;
  min-height: 62px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.batch-selected-thumb img {
  width: 100%;
  height: 100%;
  min-height: 62px;
  object-fit: cover;
}

.batch-selected-thumb span,
.batch-selected-thumb--more {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  background: rgba(8, 6, 10, 0.82);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.batch-selected-thumb--more {
  position: static;
  display: grid;
  place-items: center;
  min-height: 62px;
  color: var(--muted);
}

.batch-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.batch-section-head__accent {
  color: var(--accent);
}

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

.batch-intent-card {
  position: relative;
  min-height: 110px;
  padding: 42px 12px 12px;
  border: 1px solid var(--line);
  background: #050407;
  color: var(--text);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.batch-intent-card:hover,
.batch-intent-card:focus-visible,
.batch-intent-card.is-selected {
  border-color: rgba(243, 223, 46, 0.62);
  background: rgba(0, 0, 0, 0.96);
}

.batch-intent-card.is-selected {
  transform: translateY(-1px);
}

.batch-intent-card strong,
.batch-intent-card small {
  display: block;
}

.batch-intent-card strong {
  font-size: 1rem;
  line-height: 1.1;
}

.batch-intent-card small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.batch-intent-card__check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #111;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.batch-intent-card.is-selected .batch-intent-card__check {
  border-color: var(--accent);
  background: var(--accent);
}

.batch-intent-card.is-selected .batch-intent-card__check::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.batch-pipeline-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.batch-option-stack {
  display: grid;
  gap: 10px;
}

.batch-choice-row {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-align: left;
}

.batch-choice-row.is-selected,
.batch-choice-row:hover,
.batch-choice-row:focus-visible {
  border-color: rgba(243, 223, 46, 0.62);
  background: rgba(243, 223, 46, 0.1);
}

.batch-choice-row strong {
  font-size: 0.98rem;
}

.batch-choice-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.batch-textarea {
  width: 100%;
  min-height: 76px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  resize: vertical;
}

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

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

.batch-style-card {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(243, 223, 46, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.batch-style-card--warm_modern {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(199, 164, 104, 0.42)),
    linear-gradient(45deg, #1b2230 0 34%, #f2eee6 34% 66%, #5f7b5c 66%);
}

.batch-style-card--scandi_restraint {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(202, 210, 198, 0.42)),
    linear-gradient(45deg, #d9d1c4 0 35%, #f6f2eb 35% 70%, #8f9a8d 70%);
}

.batch-style-card--coastal_quiet {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(131, 168, 179, 0.4)),
    linear-gradient(45deg, #e9e6dc 0 42%, #a9c2c7 42% 70%, #4c5b62 70%);
}

.batch-style-card--editorial_mono {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(0, 0, 0, 0.3)),
    linear-gradient(45deg, #0f0e12 0 42%, #dedbd2 42% 68%, #766f66 68%);
}

.batch-style-card span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  background: rgba(8, 6, 10, 0.86);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.batch-style-card.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(243, 223, 46, 0.4);
}

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

.batch-slider-block {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.batch-slider-block > span {
  color: var(--text);
  font-size: 0.95rem;
}

.warning-list,
.property-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feature-sheet-downloads {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.feature-sheet-downloads__head h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.feature-sheet-downloads__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-sheet-downloads__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.warning-item {
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.property-summary__row {
  display: grid;
  gap: 4px;
}

.floorplan-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.floorplan-stage-title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: skeleton-shimmer 1.1s linear infinite;
}

@keyframes skeleton-shimmer {
  to { transform: translateX(100%); }
}

.hero--loading,
.content-grid--loading {
  pointer-events: none;
}

.skeleton-eyebrow {
  width: 160px;
  height: 14px;
  margin-bottom: 14px;
}

.skeleton-title {
  width: 78%;
  height: clamp(84px, 15vw, 180px);
}

.skeleton-copy {
  width: 72%;
  height: 18px;
  margin-top: 20px;
}

.skeleton-copy--short {
  width: 46%;
}

.hero-actions--loading {
  margin-top: 28px;
}

.skeleton-button {
  width: 180px;
  height: 52px;
}

.skeleton-button--full {
  width: 100%;
}

.skeleton-line {
  width: 100%;
  height: 18px;
}

.skeleton-section {
  width: 220px;
  height: 44px;
  margin-bottom: 22px;
}

.photo-card--skeleton .gallery-card__media {
  aspect-ratio: 4 / 5;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  min-width: 260px;
  max-width: 420px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 7, 13, 0.94);
  box-shadow: var(--shadow);
}

.toast--error {
  border-color: rgba(243, 223, 46, 0.55);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 10, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  max-height: calc(100dvh - 48px);
  display: grid;
  gap: 18px;
}

.lightbox-layout {
  display: grid;
  gap: 18px;
  min-height: 0;
}

.lightbox-dialog.has-stage-panel .lightbox-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: start;
}

.lightbox-main {
  display: grid;
  gap: 14px;
  min-height: 0;
}

.lightbox-media-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lightbox-media {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-caption {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-caption span {
  opacity: 0.8;
}

.lightbox-version-strip,
.stage-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.version-chip,
.stage-tag {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.version-chip.is-active,
.stage-tag.is-selected {
  border-color: rgba(243, 223, 46, 0.65);
  background: rgba(243, 223, 46, 0.12);
  color: var(--accent);
}

.lightbox-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  border: 1px solid var(--line);
  background: rgba(8, 6, 10, 0.95);
  box-shadow: var(--shadow);
  max-height: calc(100dvh - 180px);
  overscroll-behavior: contain;
}

.stage-panel__header {
  display: grid;
  gap: 8px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 6, 10, 0.98);
}

.stage-panel__mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-panel__mode-strip {
  flex: 1 1 auto;
}

.stage-panel__source {
  margin: 0;
}

.stage-panel__body {
  display: grid;
  gap: 14px;
  padding: 18px 22px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.stage-panel__footer {
  display: grid;
  gap: 12px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(8, 6, 10, 0.98);
}

.stage-panel__section,
.stage-panel__section-head {
  display: grid;
  gap: 10px;
}

.stage-panel__section-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.stage-panel__subhead {
  display: block;
  margin-top: 6px;
}

.stage-panel__hint {
  margin: 0;
}

.stage-panel textarea,
.stage-box-editor textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  resize: vertical;
}

.stage-panel textarea.stage-panel__compact-textarea {
  min-height: 64px;
}

.stage-panel__details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.stage-panel__details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.stage-panel__details > summary::-webkit-details-marker {
  display: none;
}

.stage-panel__details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.stage-panel__details[open] > summary::after {
  transform: rotate(45deg);
}

.stage-panel__summary-label {
  flex: 1 1 auto;
}

.stage-panel__summary-count {
  max-width: 58%;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  background: rgba(243, 223, 46, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-panel__details-body {
  display: grid;
  gap: 10px;
  padding: 4px 14px 14px;
}

.stage-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 10px;
}

.stage-option-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
}

.stage-option-grid .stage-tag {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
}

.stage-panel__actions {
  display: grid;
  gap: 12px;
}

.stage-queue {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stage-queue[hidden] {
  display: none;
}

.stage-queue__head,
.stage-queue__item {
  display: grid;
  gap: 8px;
}

.stage-queue__head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-queue__head span:last-child {
  color: var(--accent);
  text-align: right;
}

.stage-queue__list {
  display: grid;
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
}

.stage-queue__item {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 10, 0.36);
}

.stage-queue__badge {
  align-self: start;
  min-width: 68px;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.stage-queue__badge.is-running {
  border-color: rgba(243, 223, 46, 0.65);
  color: var(--accent);
}

.stage-queue__badge.is-error {
  border-color: rgba(255, 119, 119, 0.58);
  color: #ffb7b7;
}

.stage-queue__title,
.stage-queue__meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-queue__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-queue__meta {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
}

.stage-queue__more {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.stage-reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.stage-reference-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
}

.stage-reference-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
}

.stage-reference-card strong {
  font-size: 0.84rem;
  letter-spacing: -0.01em;
}

.stage-reference-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.stage-reference-card.is-selected {
  border-color: rgba(243, 223, 46, 0.65);
  box-shadow: inset 0 0 0 1px rgba(243, 223, 46, 0.25);
}

.stage-box-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-box {
  position: absolute;
  border: 2px solid rgba(243, 223, 46, 0.92);
  background: rgba(243, 223, 46, 0.12);
  box-shadow: inset 0 0 0 1px rgba(8, 6, 10, 0.2);
}

.stage-box.is-draft {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.08);
}

.stage-box span {
  position: absolute;
  top: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
  padding: 4px 8px;
  background: rgba(8, 6, 10, 0.84);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-box-editor-list {
  display: grid;
  gap: 12px;
}

.stage-box-editor {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stage-box-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.empty-state--compact {
  padding: 16px;
}

.empty-state {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.gx {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.public-gallery-shell {
  isolation: isolate;
}

.gx-top {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
}

.gx-top--public {
  justify-content: center;
}

.gx-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.gx-brand__mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0;
}

.gx-hero {
  position: relative;
  min-height: 520px;
  height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.gx-hero--loading {
  background: var(--surface-2);
}

.gx-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.74);
}

.portal-image-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gx-hero-img.portal-image-empty {
  position: absolute;
  min-height: 100%;
  border: 0;
  filter: none;
}

.gx-hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 10, 0.35), rgba(8, 6, 10, 0.1) 42%, rgba(8, 6, 10, 0.96));
}

.gx-hero-inner {
  position: relative;
  width: min(1100px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 0 0 58px;
}

.gx-hero-title {
  margin: 8px 0 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.gx-hero-sub {
  margin-top: 14px;
  color: rgba(244, 241, 234, 0.9);
  font-size: 16px;
  font-weight: 700;
}

.gx-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.gx-chip,
.gx-chip-dark {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.gx-chip-dark {
  min-height: 24px;
  border-color: transparent;
  background: rgba(0, 0, 0, 0.52);
}

.gx-hero-agent {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.gx-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.2rem;
}

.gx-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gx-eyebrow.light {
  color: rgba(255, 255, 255, 0.86);
}

.gx-h2 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.gx-nav {
  position: sticky;
  top: 60px;
  z-index: 80;
  display: flex;
  gap: 4px;
  padding: 12px 40px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
}

.gx-navbtn {
  padding: 8px 14px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.gx-navbtn:hover,
.gx-navbtn:focus-visible {
  border-color: var(--line);
  color: var(--text);
}

.gx-body {
  width: min(1100px, calc(100vw - 80px));
  margin: 0 auto;
}

.gx-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.gx-section:first-child {
  border-top: 0;
}

.gx-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.gx-daytabs,
.gx-floor-variant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gx-daytabs {
  margin-left: auto;
}

.gx-daytab {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.gx-daytab[data-on="true"] {
  border-color: rgba(243, 223, 46, 0.62);
  background: var(--accent);
  color: var(--accent-ink);
}

.gx-daytab-n {
  opacity: 0.72;
}

.gx-daysub {
  margin: -8px 0 18px;
  color: var(--faint);
  font-size: 13px;
}

.gx-masonry {
  column-count: 3;
  column-gap: 12px;
}

.gx-tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  overflow: hidden;
  break-inside: avoid;
  border: 0;
  background: var(--surface-2);
  color: var(--text);
  padding: 0;
  text-align: left;
}

.gx-tile-open {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.gx-tile-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.gx-tile img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.92);
  transition: transform 0.45s ease, filter 0.2s ease;
}

.gx-tile:hover .gx-tile-open img,
.gx-tile-open:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.gx-ref-badge,
.gx-staged-badge {
  position: absolute;
  z-index: 2;
  max-width: calc(100% - 24px);
  pointer-events: none;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.gx-ref-badge {
  top: 12px;
  left: 12px;
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 6, 12, 0.78);
  color: #fff;
  letter-spacing: 0.16em;
}

.gx-staged-badge {
  top: 12px;
  right: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(243, 223, 46, 0.58);
  background: rgba(243, 223, 46, 0.17);
  color: var(--accent);
  letter-spacing: 0.08em;
}

.gx-tile-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.66));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gx-tile:hover .gx-tile-cap {
  opacity: 1;
}

.gx-lb {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  background: rgba(4, 3, 7, 0.94);
}

.gx-lb-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.gx-lb-top,
.gx-lb-cap {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.gx-lb-top {
  top: 0;
  justify-content: space-between;
}

.gx-lb-cap {
  bottom: 0;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.gx-lb-count,
.gx-lb-cap span:first-child {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.gx-lb-cap span:last-child {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gx-lb-actions {
  display: inline-flex;
  gap: 8px;
}

.gx-iconbtn,
.gx-lb-nav {
  z-index: 4;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gx-iconbtn {
  min-width: 40px;
  height: 40px;
}

.gx-iconbtn--wide {
  width: auto;
  gap: 7px;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.gx-lb-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  font-size: 2rem;
}

.gx-lb-nav.left {
  left: 20px;
}

.gx-lb-nav.right {
  right: 20px;
}

.gx-lb-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 82vw;
  max-height: 78vh;
}

.gx-lb-img {
  display: block;
  max-width: 82vw;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.gx-player,
.gx-tour {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  aspect-ratio: 16 / 9;
}

.gx-player.vertical {
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.gx-player--embed,
.gx-player--video,
.gx-tour--embed {
  background: #000;
}

.gx-player img,
.gx-tour img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.66);
}

.gx-video-frame,
.gx-video-player,
.gx-tour-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.gx-video-player {
  object-fit: contain;
}

.gx-player.vertical .gx-video-player {
  object-fit: cover;
}

.gx-player-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.46));
}

.gx-play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bg);
  font-weight: 900;
}

.gx-player-meta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.gx-tour {
  aspect-ratio: 21 / 9;
}

.gx-tour-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.gx-tour-foot {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.gx-floorwrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.gx-floorwrap--public {
  grid-template-columns: minmax(0, 1fr);
}

.gx-floor-viewer {
  display: grid;
  gap: 14px;
}

.gx-floor-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.gx-floor-headline h3 {
  margin: 0;
  font-size: 18px;
}

.gx-floorpaper {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #f4f1ea;
  padding: 28px;
  color: #16131c;
}

.gx-floor-img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

.gx-floor-pdf {
  width: 100%;
  height: min(720px, 72vh);
  min-height: 460px;
  border: 0;
  background: #fff;
}

.gx-floor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.gx-floor-item {
  min-height: 56px;
  display: grid;
  gap: 3px;
  align-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
}

.gx-floor-item[data-on="true"] {
  border-color: rgba(243, 223, 46, 0.58);
  background: rgba(243, 223, 46, 0.11);
}

.gx-floor-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.gx-floor-item small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.gx-floor3d-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
}

.gx-floor3d-preview {
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f1ea;
  color: #16131c;
}

.gx-floor3d-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gx-floor3d-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.gx-floor3d-copy h3 {
  margin: 0;
  font-size: 22px;
}

.gx-floor3d-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.gx-floorlabel {
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-button.secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

.portal-button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.gx-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  text-align: center;
  padding: 56px 40px 64px;
}

.gx-foot-brand {
  font-size: 17px;
  font-weight: 900;
}

.gx-foot-sub,
.gx-foot-legal {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .delivery-hero,
  .content-layout,
  .gx-floorwrap,
  .gx-floor3d-card {
    grid-template-columns: 1fr;
  }

  .download-panel {
    position: static;
  }

  .content-layout > aside.stack {
    position: static;
    top: auto;
  }

  .lightbox-dialog.has-stage-panel .lightbox-layout {
    grid-template-columns: 1fr;
  }

  .lightbox-dialog.has-stage-panel {
    max-height: none;
  }

  .lightbox-dialog.has-stage-panel .stage-panel {
    max-height: none;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding-top: 24px;
  }

  .delivery-header__inner {
    min-height: 72px;
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .delivery-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    background: rgba(10, 7, 13, 0.97);
    border: 1px solid var(--line);
  }

  .delivery-nav.is-open {
    display: flex;
  }

  .delivery-header__actions {
    margin-left: auto;
  }

  .hero-actions,
  .download-actions,
  .floorplan-variant-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-masonry {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .gx-hero {
    min-height: 460px;
    height: 70vh;
  }

  .gx-body,
  .gx-hero-inner {
    width: min(100vw - 36px, 100%);
  }

  .gx-nav {
    padding: 10px 18px;
  }

  .gx-masonry {
    column-count: 2;
  }

  .gx-lb-top,
  .gx-lb-cap {
    padding: 12px 14px;
  }

  .gx-lb-actions {
    gap: 6px;
  }

  .gx-lb-nav {
    width: 44px;
    height: 44px;
  }

  .gx-lb-nav.left {
    left: 10px;
  }

  .gx-lb-nav.right {
    right: 10px;
  }

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

  .section-card,
  .delivery-hero,
  .hero-meta,
  .download-panel {
    padding: 20px;
  }

  .batch-editor-panel {
    padding: 0;
  }
}

@media (max-width: 580px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
  }

  .delivery-header__inner {
    gap: 10px;
  }

  .delivery-brand {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .delivery-header__actions {
    gap: 8px;
  }

  .delivery-portal-link {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .delivery-title {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gx-top {
    height: 56px;
    padding: 0 14px;
  }

  .gx-brand {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .gx-hero {
    min-height: 430px;
    height: 68vh;
  }

  .gx-hero-title {
    font-size: clamp(34px, 13vw, 52px);
  }

  .gx-hero-inner {
    padding-bottom: 44px;
  }

  .gx-hero-chips {
    gap: 6px;
  }

  .gx-chip {
    min-height: 26px;
    padding: 0 9px;
    font-size: 10px;
  }

  .gx-nav {
    top: 56px;
  }

  .gx-sec-head {
    align-items: flex-start;
  }

  .gx-daytabs {
    width: 100%;
    margin-left: 0;
  }

  .gx-masonry {
    column-count: 1;
  }

  .gx-floorpaper {
    min-height: 260px;
    padding: 14px;
  }

  .gx-floor-pdf {
    min-height: 360px;
  }

  .gx-floor3d-card {
    padding: 12px;
  }

  .gx-lb-img,
  .gx-lb-figure {
    max-width: 92vw;
    max-height: 74vh;
  }

  .photo-group__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-group__count {
    text-align: left;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-batch-actions,
  .batch-editor-panel__header {
    grid-template-columns: 1fr;
  }

  .batch-intent-grid,
  .batch-style-grid,
  .batch-room-grid,
  .batch-reference-grid {
    grid-template-columns: 1fr;
  }
}
