:root {
  --deck-navy: #05141c;
  --deck-panel: rgba(8, 26, 34, 0.92);
  --deck-panel-solid: #081a22;
  --deck-gold: #e3c68d;
  --deck-gold-bright: #ffe2aa;
  --deck-gold-dim: rgba(227, 198, 141, 0.45);
  --deck-border: rgba(219, 186, 121, 0.38);
  --deck-border-focus: rgba(255, 226, 170, 0.9);
  --deck-text: #f0f6f9;
  --deck-muted: #9ab4c2;
  --deck-serif: 'Cinzel', Georgia, serif;
  --deck-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --deck-mono: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #030e14;
  color: var(--deck-text);
  font-family: var(--deck-sans);
  -webkit-font-smoothing: antialiased;
}

#stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #02080c;
  z-index: 5;
}

/* Background FPV Tour Video */
.video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #02080c;
  pointer-events: none;
}

#tour-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  transition: filter 0.3s ease;
}

.video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(2, 8, 12, 0.45) 85%, rgba(2, 8, 12, 0.85) 100%),
              linear-gradient(180deg, rgba(2, 8, 12, 0.75) 0%, transparent 15%, transparent 80%, rgba(2, 8, 12, 0.9) 100%);
  z-index: 2;
}

/* Fixed Top Luxury Header Bar */
header.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(16px, 3.5vw, 40px);
  background: rgba(3, 14, 20, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(227, 198, 141, 0.18);
  pointer-events: auto;
  transition: all 0.3s ease;
}

header.app-header.scrolled {
  background: rgba(2, 10, 15, 0.96);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(227, 198, 141, 0.3);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-crest {
  color: var(--deck-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-crest {
  transform: rotate(30deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--deck-serif);
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.brand-sub {
  font-family: var(--deck-mono);
  font-size: 8.5px;
  letter-spacing: 0.28em;
  color: var(--deck-gold);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Header Navigation Links */
.app-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.nav-link {
  color: var(--deck-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: var(--deck-gold-bright);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--deck-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(227, 198, 141, 0.6);
}

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

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(8, 26, 34, 0.85);
  border: 1px solid var(--deck-border);
  color: var(--deck-text);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  text-decoration: none;
}

.glass-btn:hover {
  background: rgba(22, 54, 70, 0.95);
  border-color: var(--deck-gold-bright);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Gold CTA Button */
.gold-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: linear-gradient(135deg, #e3c68d 0%, #c49f57 100%);
  color: #05141c;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #ffe2aa;
  box-shadow: 0 4px 16px rgba(227, 198, 141, 0.25);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.gold-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(227, 198, 141, 0.45);
  filter: brightness(1.06);
  color: #02080c;
}

.gold-cta-btn.block-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 13.5px;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(227, 198, 141, 0.3);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* "Choose your deck" Side Panel (Positioned on the RIGHT, Omnya Lab style) */
.deck-selector {
  position: absolute;
  top: clamp(80px, 12vh, 100px);
  right: clamp(16px, 2.5vw, 36px);
  left: auto;
  width: min(340px, 86vw);
  background: var(--deck-panel);
  border: 1px solid var(--deck-border);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.15), 0 16px 40px rgba(0, 0, 0, 0.65);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  transform-origin: top right;
}

.deck-selector.collapsed {
  transform: scale(0.96) translateX(24px);
  transform-origin: top right;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.deck-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.deck-eyebrow {
  display: inline-block;
  font-family: var(--deck-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--deck-gold);
  text-transform: uppercase;
}

.deck-selector h2 {
  font-family: var(--deck-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-top: 2px;
}

.deck-selector h2 em {
  font-style: italic;
  font-family: var(--deck-serif);
  color: var(--deck-gold-bright);
  font-weight: 400;
}

.deck-close-btn {
  background: transparent;
  border: none;
  color: var(--deck-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
  pointer-events: auto;
}

.deck-close-btn:hover {
  color: #fff;
}

/* Feature Preview Box (Omnya Lab big preview with chevrons & dot) */
.deck-feature {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(227, 198, 141, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #05141c;
}

.deck-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.deck-feature:hover img {
  transform: scale(1.05);
}

.deck-feature .arr {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  display: grid;
  place-items: center;
  opacity: 0.82;
  transition: opacity 0.2s ease, background 0.25s ease;
  z-index: 4;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.deck-feature .arr svg {
  width: 13px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease;
}

.deck-feature .arr.p {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent);
}

.deck-feature .arr.n {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.55), transparent);
}

.deck-feature .arr:hover {
  opacity: 1;
}

.deck-feature .arr.p:hover {
  background: linear-gradient(90deg, rgba(227, 198, 141, 0.4), transparent);
}

.deck-feature .arr.n:hover {
  background: linear-gradient(270deg, rgba(227, 198, 141, 0.4), transparent);
}

.deck-feature .arr:active svg {
  transform: scale(0.88);
}

.deck-feature-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 20, 28, 0.95) 0%, rgba(5, 20, 28, 0.5) 60%, transparent 100%);
}

.deck-feature-overlay .feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--deck-gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(227, 198, 141, 0.35), 0 0 10px var(--deck-gold);
  animation: pulseGoldDot 1.4s ease-in-out infinite alternate;
}

@keyframes pulseGoldDot {
  to {
    box-shadow: 0 0 0 5px rgba(227, 198, 141, 0.15), 0 0 16px var(--deck-gold);
  }
}

.deck-feature-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.deck-feature-overlay .feature-count {
  margin-left: auto;
  font-family: var(--deck-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--deck-gold-bright);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Deck Filter Tabs */
.deck-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.deck-tabs::-webkit-scrollbar {
  display: none;
}

.deck-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--deck-muted);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.deck-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.deck-tab.active {
  background: rgba(227, 198, 141, 0.2);
  border-color: var(--deck-gold);
  color: var(--deck-gold-bright);
}

/* Room Cards Navigation List (5 items visible, then smooth scroll) */
.deck-room-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 275px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 198, 141, 0.4) rgba(255, 255, 255, 0.04);
}

.deck-room-nav::-webkit-scrollbar {
  width: 4px;
}

.deck-room-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.deck-room-nav::-webkit-scrollbar-thumb {
  background: rgba(227, 198, 141, 0.4);
  border-radius: 4px;
}

.deck-room-nav::-webkit-scrollbar-thumb:hover {
  background: var(--deck-gold);
}

.room-card-btn {
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(14, 36, 46, 0.7);
  border: 1px solid rgba(227, 198, 141, 0.25);
  color: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  pointer-events: auto;
  transition: all 0.2s ease;
  width: 100%;
}

.room-card-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 28, 0.8) 0%, rgba(5, 20, 28, 0.45) 100%);
  z-index: 0;
  transition: background 0.2s ease;
  pointer-events: none;
}

.room-card-btn:hover {
  border-color: var(--deck-gold-bright);
  background: rgba(22, 54, 68, 0.85);
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.room-card-btn:hover::before {
  background: linear-gradient(90deg, rgba(9, 34, 46, 0.65) 0%, rgba(9, 34, 46, 0.3) 100%);
}

.room-card-btn.active {
  border-color: var(--deck-gold-bright);
  background: rgba(36, 30, 16, 0.92);
  box-shadow: 0 0 16px rgba(227, 198, 141, 0.35), inset 0 0 0 1px rgba(227, 198, 141, 0.3);
}

.room-card-btn.active::before {
  background: linear-gradient(90deg, rgba(45, 34, 15, 0.85) 0%, rgba(20, 16, 9, 0.4) 100%);
}

.rc-thumb {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(227, 198, 141, 0.3);
  background: #030d12;
}

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

.rc-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.rc-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.rc-deck {
  font-family: var(--deck-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--deck-gold);
  margin-top: 2px;
  text-transform: uppercase;
}

.rc-index {
  position: relative;
  z-index: 1;
  font-family: var(--deck-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--deck-gold-bright);
  opacity: 0.65;
  margin-left: auto;
  padding-left: 6px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.room-card-btn.active .rc-index {
  opacity: 1;
  color: #ffffff;
  text-shadow: 0 0 6px var(--deck-gold);
}

.room-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.room-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.room-card-sub {
  font-size: 10px;
  color: var(--deck-muted);
  margin-top: 1px;
}

/* Toggle Button for Deck Selector when closed (Right Edge) */
.deck-toggle-tab {
  position: absolute;
  top: clamp(80px, 12vh, 100px);
  right: 0;
  left: auto;
  z-index: 10;
  background: var(--deck-panel);
  border: 1px solid var(--deck-border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 10px 14px 10px 16px;
  color: var(--deck-gold-bright);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  transition: all 0.2s ease;
  box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.4);
}

.deck-toggle-tab:hover {
  background: rgba(18, 48, 62, 0.95);
  padding-right: 18px;
}

/* Floating Active Room Badge (Top-Left: Clean, no header eyebrow or tour tags) */
.active-room-pill {
  position: absolute;
  top: clamp(80px, 12vh, 100px);
  left: clamp(16px, 3.5vw, 36px);
  z-index: 9;
  background: var(--deck-panel);
  border: 1px solid var(--deck-border);
  border-radius: 14px;
  padding: 14px 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: min(340px, 80vw);
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.active-room-pill h3 {
  font-family: var(--deck-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}

.active-room-pill p {
  font-size: 12px;
  color: var(--deck-muted);
  line-height: 1.45;
  margin-top: 6px;
}

/* Floating Scroll to Explore Prompt */
.scroll-prompt {
  position: absolute;
  bottom: clamp(30px, 5vh, 50px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(8, 26, 34, 0.85);
  border: 1px solid var(--deck-gold-dim);
  border-radius: 24px;
  padding: 10px 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: float-prompt 3s ease-in-out infinite;
}

.scroll-prompt.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

@keyframes float-prompt {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.mouse-pill {
  width: 20px;
  height: 30px;
  border: 2px solid var(--deck-gold-bright);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-wheel-dot {
  width: 4px;
  height: 7px;
  background: var(--deck-gold-bright);
  border-radius: 2px;
  animation: mouse-scroll 1.6s infinite;
}

@keyframes mouse-scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(11px); }
}

.scroll-prompt span {
  font-family: var(--deck-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--deck-gold-bright);
  font-weight: 700;
  text-transform: uppercase;
}

.scroll-prompt small {
  font-size: 9px;
  color: var(--deck-muted);
}

/* Specs Modal Dialog */
dialog.specs-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(680px, 92vw);
  max-height: 85vh;
  background: #081a22;
  border: 1px solid var(--deck-border);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  color: var(--deck-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  z-index: 1000;
  overflow-y: auto;
  pointer-events: auto !important;
}

dialog.specs-dialog::backdrop {
  background: rgba(2, 8, 12, 0.8);
  backdrop-filter: blur(8px);
}

.specs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.specs-title-box h2 {
  font-family: var(--deck-serif);
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.08em;
}

.specs-title-box p {
  font-family: var(--deck-mono);
  font-size: 11px;
  color: var(--deck-gold);
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.specs-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  pointer-events: auto !important;
  transition: all 0.2s ease;
}

.specs-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}

.spec-label {
  font-family: var(--deck-mono);
  font-size: 9px;
  color: var(--deck-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

.specs-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--deck-muted);
  margin-bottom: 20px;
}

.specs-highlights h4 {
  font-family: var(--deck-serif);
  font-size: 16px;
  color: var(--deck-gold-bright);
  margin-bottom: 10px;
}

.specs-highlights ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
}

.specs-highlights li {
  font-size: 12px;
  color: #cbe0ec;
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-highlights li::before {
  content: '◆';
  color: var(--deck-gold);
  font-size: 8px;
}

/* Mobile & Small Screen Adaptations */
@media (max-width: 768px) {
  .deck-selector {
    top: auto;
    bottom: 20px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .deck-feature {
    display: none;
  }

  .active-room-pill {
    top: 70px;
    left: 12px;
    right: 12px;
    max-width: none;
    padding: 10px 14px;
  }

  .active-room-pill p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .scroll-prompt {
    bottom: 20px;
  }
}

/* Marina follows the final Sun Deck; the fade sits below the existing controls. */
#marina-scene { z-index: 2; position: absolute; inset: 0; visibility: hidden; overflow: hidden; background: #071b25; pointer-events: none; }
#marina-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#marina-scene canvas { opacity: 0; }
#marina-scene.ready canvas { opacity: 1; }
#scene-fade { position: absolute; inset: 0; z-index: 3; background: #02080c; opacity: 0; pointer-events: none; }

#marina-scene { pointer-events:auto; touch-action:none; cursor:grab; background:#a8b9bd; }
#marina-scene:active { cursor:grabbing; }
.marina-controls { position:absolute; z-index:4; left:32px; bottom:26px; display:flex; flex-direction:column; gap:10px; font-size:12px; color:#eef4f3; cursor:default; }
.marina-status { text-shadow:0 1px 5px #183238; }
.marina-actions { display:flex; gap:7px; }
.marina-actions button { background:rgba(14,36,42,.82); color:#f1f5f3; border:1px solid #ffffff45; border-radius:8px; padding:10px 14px; cursor:pointer; backdrop-filter:blur(12px); font:inherit; }
.marina-actions button:hover { background:#264b52; }
.marina-actions button:focus-visible { outline:2px solid #e3c68d; outline-offset:3px; }
.marina-actions button[hidden] { display:none; }
@media(max-width:640px){ .marina-controls{left:16px;bottom:18px;} }

.marina-hotspot-layer {position:absolute;inset:0;pointer-events:none;z-index:3;}
.marina-hotspot {position:absolute;transform:translate(-50%,-50%);padding:8px;border:0;background:transparent;color:white;cursor:pointer;pointer-events:auto;}
.marina-hotspot[hidden]{display:none;}
.hotspot-dot {display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid #fff;background:#143b43e8;box-shadow:0 0 0 4px #ffffff28,0 3px 15px #0006;font-size:20px;line-height:1;}
.hotspot-tooltip {position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%) translateY(4px);background:#102e36f2;color:#fff;padding:10px 13px;border:1px solid #ffffff40;border-radius:9px;font-size:12px;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .18s,transform .18s;pointer-events:none;}
.marina-hotspot:hover .hotspot-tooltip,.marina-hotspot:focus-visible .hotspot-tooltip {opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.marina-hotspot:focus-visible {outline:2px solid #e3c68d;border-radius:50%;}
.marina-detail {margin:auto;width:min(1100px,94vw);max-height:90vh;overflow:auto;padding:30px;border:1px solid #ffffff38;border-radius:18px;background:#10262e;color:#f0f3f2;box-shadow:0 20px 100px #0009;user-select:text;}
.marina-detail::backdrop {background:#04151cbb;backdrop-filter:blur(8px);}
.marina-detail-close {position:absolute;right:14px;top:12px;border:0;background:#ffffff15;color:white;border-radius:50%;width:36px;height:36px;font-size:25px;cursor:pointer;}
.marina-detail-eyebrow {color:#e3c68d;font-size:10px;letter-spacing:2px;}
.marina-detail h2 {font-family:var(--deck-serif);font-size:clamp(24px,4vw,36px);font-weight:500;margin:10px 36px 8px 0;}
.marina-detail-desc {font-size:13px;color:#bdced0;margin-bottom:22px;line-height:1.6;}
.marina-detail-photo {width:100%;height:auto;display:block;border-radius:10px;}
.marina-svg-details {margin-top:20px;font-size:13px;}
.marina-svg-details summary {cursor:pointer;padding:10px 0;color:#e3c68d;}
.marina-svg-map {display:block;width:100%;max-height:420px;background:#05141c;border:1px solid rgba(227,198,141,0.25);border-radius:10px;margin-top:8px;}
.svg-hotspot-halo {fill:rgba(227, 198, 141, 0.25);stroke:#e3c68d;stroke-width:3;animation:pulseSvgHalo 2s infinite ease-in-out;}
.svg-hotspot-dot {fill:#ffffff;stroke:#e3c68d;stroke-width:3;}
@keyframes pulseSvgHalo { 0%, 100% { r: 24px; opacity: 0.6; } 50% { r: 34px; opacity: 1; stroke-width: 4.5; } }
@media(max-width:640px){.marina-detail{padding:20px 14px;}.marina-actions{flex-wrap:wrap;max-width:90vw;}.marina-status{max-width:80vw;line-height:1.6;}}

/* The hotspot opens an immersive panorama that fills the viewport. */
.marina-detail {position:fixed;inset:0;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:0;overflow:hidden;background:#071b25;user-select:none;}
.marina-panorama-viewport {position:absolute;inset:0;touch-action:none;cursor:grab;overflow:hidden;}
.marina-panorama-viewport.dragging {cursor:grabbing;}
.marina-panorama-viewport canvas,.marina-panorama-viewport .marina-detail-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;}
.marina-panorama-viewport canvas {opacity:0;transition:opacity .4s ease;}
.marina-panorama-viewport.panorama-ready canvas {opacity:1;}
.marina-panorama-heading {position:absolute;left:0;right:0;top:0;padding:28px 90px 40px 32px;background:linear-gradient(#031820c9,transparent);pointer-events:none;}
.marina-panorama-heading h2 {font-size:clamp(22px,3vw,34px);margin-top:8px;}
.marina-panorama-heading .marina-detail-desc {max-width:650px;margin-bottom:0;color:#e3edee;text-shadow:0 1px 4px #0008;}
.marina-detail-close {position:absolute;right:24px;top:24px;z-index:4;width:42px;height:42px;background:#102e36c9;border:1px solid #ffffff55;backdrop-filter:blur(8px);}
.panorama-toolbar {position:absolute;left:0;bottom:0;right:0;padding:48px 24px 24px;display:flex;flex-direction:column;align-items:center;gap:14px;background:linear-gradient(transparent,#031820c9);pointer-events:none;}
.panorama-hint {font-size:12px;color:#fff;text-align:center;text-shadow:0 1px 5px #000;}
.panorama-buttons {display:flex;gap:8px;pointer-events:auto;}
.panorama-buttons button {padding:11px 16px;color:#fff;background:#102e36d9;border:1px solid #ffffff45;border-radius:8px;backdrop-filter:blur(8px);font:inherit;font-size:12px;cursor:pointer;}
.panorama-buttons button:focus-visible,.marina-detail-close:focus-visible {outline:2px solid #e3c68d;outline-offset:3px;}
.marina-detail .marina-svg-details {position:absolute;right:24px;bottom:24px;width:200px;margin:0;padding:0 14px;background:#05141ce8;border:1px solid rgba(227,198,141,0.4);border-radius:10px;z-index:2;box-shadow:0 12px 36px rgba(0,0,0,0.6);backdrop-filter:blur(10px);transition:width .3s ease;}
.marina-detail .marina-svg-details[open] {width:min(620px,50vw);}
.marina-detail .marina-svg-map {max-height:40vh;margin-bottom:12px;}
@media(max-width:850px){.marina-panorama-heading{padding:20px 72px 35px 20px;}.marina-detail-close{right:16px;top:16px;}.marina-detail .marina-svg-details{right:16px;bottom:155px;}.marina-detail .marina-svg-details[open]{width:min(400px,90vw);}.panorama-toolbar{padding:48px 14px 24px;}.panorama-buttons{gap:5px;}.panorama-buttons button{padding:11px 12px;}}

.panorama-link-layer {position:absolute;inset:0;z-index:2;pointer-events:none;}
.panorama-travel-hotspot {position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:9px;border:0;background:transparent;color:white;cursor:pointer;pointer-events:auto;padding:8px;}
.panorama-travel-hotspot[hidden] {display:none;}
.panorama-travel-arrow {display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:2px solid #fff;background:#163e49dc;box-shadow:0 0 0 7px #ffffff26,0 4px 18px #0006;font-size:29px;}
.panorama-travel-label {padding:8px 12px;border-radius:8px;background:#0c2932e8;box-shadow:0 2px 12px #0003;font-size:12px;white-space:nowrap;}
.panorama-travel-hotspot:hover .panorama-travel-arrow {background:#287180;}
.panorama-travel-hotspot:focus-visible {outline:2px solid #e3c68d;outline-offset:4px;border-radius:12px;}
.panorama-scene-nav {position:absolute;top:135px;left:32px;display:flex;gap:7px;z-index:3;}
.panorama-scene-nav button {padding:9px 13px;border:1px solid #ffffff40;border-radius:20px;background:#102e36cc;color:white;font:inherit;font-size:12px;cursor:pointer;backdrop-filter:blur(8px);}
.panorama-scene-nav button[aria-current="true"] {background:#f1e7d2;color:#14343c;border-color:#f1e7d2;}
.marina-panorama-viewport.panorama-switching {background:#071b25;}
.marina-panorama-viewport.panorama-switching canvas {opacity:0;transition:opacity .18s ease;}
.marina-panorama-viewport.panorama-switching .marina-detail-photo {opacity:0;}
.panorama-switching .panorama-link-layer {visibility:hidden;}
@media(max-width:850px){.panorama-scene-nav{left:20px;top:150px;}.panorama-travel-label{font-size:11px;}.panorama-travel-arrow{width:40px;height:40px;font-size:25px;}}
@media(prefers-reduced-motion:reduce){.marina-panorama-viewport canvas {transition:none;}}


/* ==========================================================================
   CORPORATE LUXURY DEALERSHIP & SHOWROOM SECTIONS (VELORIA YACHTS)
   ========================================================================== */

/* Floating Explore Fleet Down Button inside #stage */
.explore-down-pill {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(3, 14, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(227, 198, 141, 0.45);
  border-radius: 32px;
  color: #fff;
  text-decoration: none;
  font-family: var(--deck-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.explore-down-pill:hover {
  background: rgba(8, 28, 38, 0.95);
  border-color: var(--deck-gold-bright);
  color: var(--deck-gold-bright);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 14px 40px rgba(227, 198, 141, 0.28);
}

.explore-down-icon {
  color: var(--deck-gold);
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Corporate Section Base Layout */
.corp-section {
  position: relative;
  padding: clamp(75px, 10vh, 120px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(227, 198, 141, 0.12);
  background: #030e14;
}

.corp-section:nth-of-type(even) {
  background: radial-gradient(circle at 50% 0%, rgba(8, 28, 38, 0.45) 0%, #030e14 70%);
}

.corp-container {
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
}

.section-badge-center {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 52px;
}

.corp-eyebrow {
  font-family: var(--deck-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--deck-gold);
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(227, 198, 141, 0.25);
}

.corp-title {
  font-family: var(--deck-serif);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.corp-subtitle {
  font-size: clamp(14px, 1.15vw, 16.5px);
  color: var(--deck-muted);
  line-height: 1.7;
}

/* ==================== 1. FLAGSHIP VITRINI ==================== */
.flagship-section {
  background: radial-gradient(circle at 75% 20%, rgba(14, 45, 58, 0.35) 0%, #030e14 65%);
}

.flagship-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.flagship-media-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flagship-main-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at center, #071f2a 0%, #020b10 100%);
  border: 1px solid rgba(227, 198, 141, 0.35);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flagship-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flagship-main-visual:hover .flagship-hero-img {
  transform: scale(1.03);
}

.flagship-status-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(5, 20, 28, 0.88);
  border: 1px solid var(--deck-gold);
  color: var(--deck-gold-bright);
  font-family: var(--deck-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.flagship-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 9, 14, 0.95) 100%);
  padding: 32px 18px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 2;
}

.flagship-caption-title {
  color: #fff;
  font-family: var(--deck-serif);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.flagship-caption-meta {
  font-family: var(--deck-mono);
  font-size: 10px;
  color: var(--deck-gold-bright);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.flagship-category-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}
.flagship-category-bar::-webkit-scrollbar {
  display: none;
}

.flagship-cat-pill {
  padding: 6px 14px;
  background: rgba(6, 20, 28, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.22);
  border-radius: 20px;
  color: #a2b7bf;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.flagship-cat-pill:hover,
.flagship-cat-pill.active {
  background: rgba(227, 198, 141, 0.18);
  border-color: var(--deck-gold-bright);
  color: #fff;
}

.flagship-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 198, 141, 0.3) transparent;
}

.flagship-gallery-strip::-webkit-scrollbar {
  height: 5px;
}
.flagship-gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(227, 198, 141, 0.35);
  border-radius: 4px;
}

.flagship-thumb-btn {
  flex: 0 0 130px;
  background: rgba(8, 26, 34, 0.7);
  border: 1px solid rgba(227, 198, 141, 0.25);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.flagship-thumb-btn img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.flagship-thumb-btn span {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--deck-muted);
  padding: 5px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  background: rgba(4, 15, 22, 0.9);
}

.flagship-thumb-btn:hover,
.flagship-thumb-btn.active {
  border-color: var(--deck-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(227, 198, 141, 0.35);
}

.flagship-thumb-btn.active span {
  color: var(--deck-gold-bright);
}

.flagship-media-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.action-gold-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #e3c68d 0%, #c49f57 100%);
  color: #05141c;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #ffe2aa;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.action-gold-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 18px rgba(227, 198, 141, 0.45);
}

.action-outline-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(8, 26, 34, 0.75);
  border: 1px solid rgba(227, 198, 141, 0.35);
  border-radius: 10px;
  color: var(--deck-text);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.action-outline-btn:hover {
  background: rgba(18, 48, 62, 0.9);
  border-color: var(--deck-gold);
  color: #fff;
  transform: translateY(-1px);
}

/* Flagship Details Card */
.flagship-details-card {
  background: rgba(6, 20, 28, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.28);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.price-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(3, 12, 17, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
}

.price-col {
  display: flex;
  flex-direction: column;
}

.price-col.divider {
  border-left: 1px solid rgba(227, 198, 141, 0.18);
  padding-left: 18px;
}

.price-label {
  font-family: var(--deck-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--deck-muted);
  text-transform: uppercase;
}

.price-val {
  font-family: var(--deck-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--deck-gold-bright);
  margin: 4px 0 2px;
}

.price-val small {
  font-size: 13px;
  font-family: var(--deck-sans);
  color: var(--deck-muted);
  font-weight: 400;
}

.price-sub {
  font-size: 10.5px;
  color: var(--deck-muted);
}

.specs-table-compact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  font-size: 12.5px;
}

.spec-key-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-row.half {
  padding: 8px 12px;
}

.spec-key {
  color: var(--deck-muted);
  font-weight: 500;
}

.spec-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
  font-family: var(--deck-mono);
  font-size: 11.5px;
}

.flagship-callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flagship-pill-tag {
  font-size: 11px;
  color: #fff;
  background: rgba(227, 198, 141, 0.12);
  border: 1px solid rgba(227, 198, 141, 0.28);
  padding: 5px 12px;
  border-radius: 16px;
  font-weight: 500;
}

/* ==================== 2. SEÇKİN YAT PORTFÖYÜ (#FLEET) ==================== */
.fleet-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}

.fleet-filter-btn {
  background: rgba(8, 26, 34, 0.7);
  border: 1px solid rgba(227, 198, 141, 0.25);
  color: var(--deck-text);
  padding: 10px 22px;
  border-radius: 24px;
  font-family: var(--deck-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.22s ease;
}

.fleet-filter-btn:hover {
  background: rgba(22, 54, 70, 0.9);
  border-color: var(--deck-gold);
  color: #fff;
}

.fleet-filter-btn.active {
  background: linear-gradient(135deg, #e3c68d 0%, #c49f57 100%);
  color: #05141c;
  border-color: #ffe2aa;
  box-shadow: 0 4px 18px rgba(227, 198, 141, 0.35);
  font-weight: 700;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.yacht-card {
  background: rgba(6, 20, 28, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.22);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.yacht-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 198, 141, 0.6);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(227, 198, 141, 0.15);
}

.yacht-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #02090e;
}

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

.yacht-card:hover .yacht-card-img {
  transform: scale(1.06);
}

.yacht-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 20, 28, 0.9);
  border: 1px solid var(--deck-gold);
  color: var(--deck-gold-bright);
  font-family: var(--deck-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.yacht-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.yacht-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.yacht-card-title {
  font-family: var(--deck-serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.yacht-card-builder {
  font-size: 12px;
  color: var(--deck-muted);
  margin-top: 3px;
}

.yacht-card-price {
  text-align: right;
}

.yacht-card-price-num {
  font-family: var(--deck-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--deck-gold-bright);
}

.yacht-card-price-sub {
  font-size: 10px;
  color: var(--deck-muted);
  display: block;
}

.yacht-card-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(2, 9, 14, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.14);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.spec-cell {
  display: flex;
  flex-direction: column;
}

.spec-cell-label {
  font-size: 9.5px;
  color: var(--deck-muted);
  font-family: var(--deck-mono);
}

.spec-cell-value {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  font-family: var(--deck-mono);
  margin-top: 2px;
}

.yacht-card-desc {
  font-size: 12.5px;
  color: #c4d7de;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yacht-card-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.yacht-card-btn-detail {
  flex: 1;
  padding: 10px 14px;
  background: rgba(8, 26, 34, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.35);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yacht-card-btn-detail:hover {
  background: rgba(18, 48, 62, 0.95);
  border-color: var(--deck-gold);
}

.yacht-card-btn-inquire {
  flex: 1;
  padding: 10px 14px;
  background: linear-gradient(135deg, #e3c68d 0%, #c49f57 100%);
  color: #05141c;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid #ffe2aa;
}

.yacht-card-btn-inquire:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(227, 198, 141, 0.4);
}

/* ==================== 3. KURUMSAL HİZMETLERİMİZ (#SERVICES) ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: rgba(6, 20, 28, 0.82);
  border: 1px solid rgba(227, 198, 141, 0.22);
  border-radius: 18px;
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--deck-gold);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65), 0 0 20px rgba(227, 198, 141, 0.12);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(227, 198, 141, 0.12);
  border: 1px solid rgba(227, 198, 141, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deck-gold-bright);
  margin-bottom: 22px;
}

.service-card h3 {
  font-family: var(--deck-serif);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 13.5px;
  color: #b0c6d0;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-bullet-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-bullet-list li {
  font-size: 12.5px;
  color: #e2eff5;
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.service-bullet-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--deck-gold);
  font-size: 14px;
}

.service-link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--deck-gold-bright);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 10px;
  color: #fff;
}

/* ==================== 4. ŞENGÜLLER MİRASI (#ABOUT) ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-text {
  font-size: 15px;
  color: #c0d4dc;
  line-height: 1.75;
}

.about-text strong {
  color: #fff;
}

.about-quote {
  margin-top: 12px;
  padding: 18px 24px;
  border-left: 3px solid var(--deck-gold);
  background: rgba(8, 26, 34, 0.7);
  border-radius: 0 12px 12px 0;
  font-family: var(--deck-serif);
  font-size: 16px;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
}

.about-quote cite {
  display: block;
  font-family: var(--deck-sans);
  font-size: 11.5px;
  font-style: normal;
  color: var(--deck-gold);
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-card {
  background: rgba(6, 20, 28, 0.85);
  border: 1px solid rgba(227, 198, 141, 0.25);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--deck-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.metric-num {
  font-family: var(--deck-serif);
  font-size: clamp(34px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--deck-gold-bright);
  display: block;
  line-height: 1;
}

.metric-label {
  font-family: var(--deck-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 10px 0 6px;
  display: block;
}

.metric-desc {
  font-size: 11px;
  color: var(--deck-muted);
  line-height: 1.45;
}

/* ==================== 5. VIP RANDEVU & İLETİŞİM (#CONTACT) ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.contact-form-box {
  background: rgba(6, 20, 28, 0.88);
  border: 1px solid rgba(227, 198, 141, 0.28);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65);
}

.vip-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(2, 9, 14, 0.9);
  border: 1px solid rgba(227, 198, 141, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--deck-sans);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #081a22;
  color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--deck-gold-bright);
  box-shadow: 0 0 12px rgba(227, 198, 141, 0.35);
}

.form-privacy-note {
  font-size: 11px;
  color: var(--deck-muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

/* Contact Info & Office Card */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.direct-call-box {
  background: linear-gradient(135deg, rgba(8, 30, 42, 0.9) 0%, rgba(4, 16, 24, 0.95) 100%);
  border: 1px solid rgba(227, 198, 141, 0.4);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.direct-label {
  font-family: var(--deck-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--deck-gold);
  font-weight: 700;
}

.direct-phone {
  font-family: var(--deck-serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.direct-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
  margin-top: 6px;
}

.direct-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.office-item {
  background: rgba(6, 20, 28, 0.8);
  border: 1px solid rgba(227, 198, 141, 0.2);
  border-radius: 14px;
  padding: 20px 22px;
}

.office-item h4 {
  font-family: var(--deck-serif);
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px;
}

.office-item p {
  font-size: 12.5px;
  color: #c4d7de;
  margin-bottom: 8px;
  line-height: 1.45;
}

.office-contact {
  font-size: 11px;
  color: var(--deck-gold);
  font-family: var(--deck-mono);
  display: block;
}

/* ==================== 6. CORPORATE FOOTER ==================== */
.corp-footer {
  background: #02070a;
  border-top: 1px solid rgba(227, 198, 141, 0.18);
  padding: 70px clamp(20px, 4vw, 56px) 32px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  margin-bottom: 56px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-tagline {
  font-size: 12.5px;
  color: var(--deck-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--deck-serif);
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  color: var(--deck-muted);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--deck-gold-bright);
  padding-left: 4px;
}

.newsletter-col p {
  font-size: 12px;
  color: var(--deck-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(227, 198, 141, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 12px;
  outline: none;
}

.footer-newsletter-form input:focus {
  border-color: var(--deck-gold);
}

.footer-newsletter-form button {
  background: var(--deck-gold);
  border: none;
  border-radius: 8px;
  width: 42px;
  color: #05141c;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.footer-newsletter-form button:hover {
  background: var(--deck-gold-bright);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: var(--deck-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--deck-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

/* ==================== 7. DYNAMIC YACHT DETAIL DIALOG ==================== */
.yacht-detail-dialog {
  width: min(780px, 94vw);
}

.modal-gallery-box {
  margin-bottom: 18px;
}

.modal-hero-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(227, 198, 141, 0.3);
  margin-bottom: 10px;
}

.modal-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.modal-gallery-thumbs button {
  flex: 0 0 80px;
  height: 52px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.modal-gallery-thumbs button.active {
  border-color: var(--deck-gold);
}

.modal-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-pricing-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 14, 20, 0.95);
  border: 1px solid rgba(227, 198, 141, 0.25);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 18px;
  font-family: var(--deck-serif);
  font-size: 20px;
  color: var(--deck-gold-bright);
}

.modal-dialog-footer {
  margin-top: 24px;
}

/* Feedback Dialog */
.feedback-dialog {
  width: min(480px, 92vw);
  text-align: center;
}

.feedback-body {
  padding: 20px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feedback-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #e2eff5;
}

/* ==================== 8. RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .flagship-layout,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 860px) {
  .app-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(3, 12, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(227, 198, 141, 0.2);
    flex-direction: column;
    padding: 24px 20px;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .app-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-actions .glass-btn {
    display: none;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .price-box {
    grid-template-columns: 1fr;
  }

  .price-col.divider {
    border-left: none;
    border-top: 1px solid rgba(227, 198, 141, 0.18);
    padding-left: 0;
    padding-top: 12px;
  }

  .about-metrics-grid {
    grid-template-columns: 1fr;
  }

  .flagship-gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .explore-down-pill {
    padding: 10px 18px;
    font-size: 10px;
    width: 90vw;
    justify-content: center;
  }
}

/* ==========================================================================
   OMNYA LAB STYLE LUXURY BOTTOM-LEFT PERCENTAGE LOADER & VEIL
   ========================================================================== */
.veil {
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 20, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 90;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader {
  position: fixed;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 5vh, 56px);
  z-index: 95;
  pointer-events: none;
  color: #ffffff;
  transition: transform 0.85s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.7s ease;
}

.loader p {
  margin: 0 0 6px;
  font-family: var(--deck-sans);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.loader b {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--deck-sans), sans-serif;
  font-size: clamp(100px, 16vw, 210px);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.loader b small {
  font-size: 0.34em;
  letter-spacing: -0.02em;
  margin-left: 6px;
  vertical-align: 0.9em;
  color: var(--deck-gold);
}

.loader.out {
  transform: translateY(-28px);
  opacity: 0;
}

/* While loading: header and right panel stay hidden */
body.loading .app-header,
body.loading .deck-selector,
body.loading .deck-toggle-tab {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* When reveal: header and right panel smoothly fade in */
body.reveal .app-header,
body.reveal .deck-selector,
body.reveal .deck-toggle-tab {
  transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Source-backed deck plans; panorama locations are marked at area level. */
.marina-plan-dialog {width:min(1100px,94vw);max-height:90dvh;margin:auto;padding:28px;background:#071b25;color:#edf3f4;border:1px solid #e3c68d66;border-radius:16px;overflow:auto;box-shadow:0 24px 100px #0009;}
.marina-plan-dialog::backdrop{background:#020c13c9;backdrop-filter:blur(8px);}
.marina-plan-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;}
.marina-plan-header span{font-size:10px;letter-spacing:.18em;color:#e3c68d;}
.marina-plan-header h2{font-family:var(--deck-serif);font-size:32px;font-weight:400;margin-top:8px;}
.marina-plan-header>button{background:transparent;color:white;font-size:28px;border:1px solid #ffffff35;border-radius:50%;width:40px;height:40px;cursor:pointer;}
.deck-plan-tabs{display:flex;gap:7px;flex-wrap:wrap;}
.deck-plan-tabs button,.deck-plan-toolbar button{padding:8px 12px;border:1px solid #ffffff35;background:#12303c;color:#dce8ec;border-radius:6px;font:inherit;font-size:11px;cursor:pointer;}
.deck-plan-tabs button[aria-current="true"]{background:#e3c68d;color:#06151e;border-color:#e3c68d;}
.deck-plan-description,.deck-plan-status{font-size:12px;line-height:1.6;margin:12px 0;color:#c1d1d7;}
.deck-plan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:9px;letter-spacing:.12em;color:#97b0bc;}
.deck-plan-toolbar button{padding:5px 10px;letter-spacing:normal;}
.deck-plan-toolbar button:disabled{opacity:.4;cursor:default;}
.deck-plan-scroll{overflow:auto;max-height:48dvh;background:white;border-radius:8px;overscroll-behavior:contain;}
.deck-plan-image{position:relative;min-width:100%;}
.deck-plan-image>img{display:block;width:100%;height:auto;}
.deck-plan-points{position:absolute;inset:0;pointer-events:none;}
.deck-plan-point{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#133f4b;color:#fff;border:2px solid #e3c68d;box-shadow:0 0 0 4px #133f4b33;width:28px;height:28px;border-radius:50%;cursor:pointer;font-size:18px;}
.deck-plan-point[aria-current="true"]{background:#e3c68d;color:#071b25;}
.deck-plan-viewer button:focus-visible,.marina-plan-header button:focus-visible{outline:2px solid #e3c68d;outline-offset:4px;}
.deck-plan-footnote{font-size:10px;line-height:1.6;color:#8fa9b6;}
.deck-plan-footnote a{color:#b8cbd4;}
.marina-detail .marina-svg-details{width:220px;}
.marina-detail .marina-svg-details[open]{width:min(760px,80vw);max-height:60dvh;overflow:auto;}
.panorama-deck-plan{padding-bottom:14px;}
@media(max-width:600px){.marina-plan-dialog{padding:20px;width:96vw;}.marina-plan-header h2{font-size:26px;}.marina-detail .marina-svg-details[open]{width:calc(100vw - 32px);max-height:54dvh;}.deck-plan-tabs button{padding:8px;font-size:10px;}.deck-plan-description{font-size:11px;}}

/* ==================== 54-PHOTO FULL ARCHIVE LIGHTBOX MODAL ==================== */
.full-gallery-dialog {
  width: min(1200px, 95vw);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  background: #030e14;
  color: #fff;
  border: 1px solid rgba(227, 198, 141, 0.4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9);
}
.full-gallery-dialog::backdrop {
  background: rgba(1, 7, 11, 0.88);
  backdrop-filter: blur(12px);
}
.full-gallery-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(92vh - 90px);
  overflow-y: auto;
}
.full-gallery-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  background: #010609;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(227, 198, 141, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.full-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.full-gallery-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 9, 14, 0.95) 100%);
  padding: 30px 20px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 2;
}
.full-gallery-caption-bar strong {
  font-family: var(--deck-serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.full-gallery-caption-bar span {
  font-family: var(--deck-mono);
  font-size: 11px;
  color: var(--deck-gold-bright);
}
.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 14, 20, 0.75);
  border: 1px solid rgba(227, 198, 141, 0.45);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  z-index: 3;
}
.gallery-nav-arrow:hover {
  background: var(--deck-gold);
  color: #030e14;
}
.gallery-nav-arrow.prev { left: 16px; }
.gallery-nav-arrow.next { right: 16px; }
.full-gallery-cat-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}
.full-gallery-cat-bar::-webkit-scrollbar { display: none; }
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}
.gallery-grid-item {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(227, 198, 141, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  background: #06151f;
}
.gallery-grid-item:hover,
.gallery-grid-item.active {
  border-color: var(--deck-gold-bright);
  box-shadow: 0 0 12px rgba(227, 198, 141, 0.5);
  transform: translateY(-2px);
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SOLAFIDE editorial showcase. Scoped to the flagship section. */
#flagship {background:#f2f0e9;color:#152c32;padding:100px 0 88px;}
#flagship .corp-container{max-width:1440px;padding-inline:clamp(20px,5vw,72px);}
#flagship .flagship-editorial-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:38px;}
#flagship .flagship-kicker{display:block;font:500 9px var(--deck-sans);letter-spacing:.22em;color:#61706e;}
#flagship h2{font:400 clamp(62px,8vw,112px)/.95 var(--deck-serif);letter-spacing:-.055em;margin:22px 0 0;color:#152c32;}
#flagship h2>span{display:block;margin-top:18px;font:400 clamp(14px,1.6vw,20px)/1.5 var(--deck-sans);letter-spacing:-.02em;color:#596b6b;}
#flagship .flagship-editorial-heading>p{font:400 17px/1.6 var(--deck-serif);color:#344d50;padding-bottom:3px;min-width:240px;}
#flagship .flagship-editorial-heading>p>span{display:block;font:400 11px/1.7 var(--deck-sans);margin-top:12px;color:#70817e;}
#flagship .flagship-media-box{min-width:0;gap:0;}
#flagship .flagship-main-visual{margin:0;aspect-ratio:1200/779;height:auto;max-height:720px;min-height:0;border:0;border-radius:0;overflow:hidden;background:#0d222d;box-shadow:none;}
#flagship .flagship-hero-img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0;transform:none;transition:opacity .25s ease;}
#flagship .flagship-main-visual:hover .flagship-hero-img{transform:none;}
#flagship .flagship-main-visual::after{display:none;}
#flagship .flagship-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:17px 0 24px;}
#flagship .flagship-photo-caption{position:static;inset:auto;padding:0;background:none;display:flex;flex-direction:column;gap:5px;pointer-events:auto;}
#flagship .flagship-caption-title{font:400 12px/1.5 var(--deck-sans);color:#243e43;letter-spacing:0;text-shadow:none;}
#flagship .flagship-caption-meta{font:400 10px/1.5 var(--deck-sans);color:#7b8984;letter-spacing:.03em;}
#flagship .flagship-gallery-open{flex-shrink:0;border:0;border-bottom:1px solid #8d9992;background:none;padding:8px 0;color:#213f44;font:500 11px/1.5 var(--deck-sans);cursor:pointer;}
#flagship .flagship-gallery-open>span{margin-left:20px;}
#flagship .flagship-category-bar{display:flex;gap:22px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #d1d7ce;margin:0 0 16px;padding:0;background:transparent;border-radius:0;}
#flagship .flagship-cat-pill{flex-shrink:0;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;background:none;color:#75847c;font:400 10px/1.5 var(--deck-sans);white-space:nowrap;box-shadow:none;}
#flagship .flagship-cat-pill.active,#flagship .flagship-cat-pill:hover{border-bottom-color:#23434a;background:none;color:#173840;box-shadow:none;}
#flagship .flagship-gallery-strip{display:flex;gap:10px;overflow-x:auto;margin:0;padding:0 0 12px;scrollbar-color:#a9b4a8 transparent;scrollbar-width:thin;}
#flagship .flagship-thumb-btn{flex:0 0 130px;width:130px;height:84px;min-width:0;padding:0;border:0;border-radius:0;background:#d8ddd5;opacity:.6;box-shadow:none;overflow:hidden;}
#flagship .flagship-thumb-btn img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .2s ease;}
#flagship .flagship-thumb-btn span{display:none;}
#flagship .flagship-thumb-btn.active,#flagship .flagship-thumb-btn:hover{opacity:1;transform:none;border:0;box-shadow:inset 0 -3px #183940;}
#flagship .flagship-editorial-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(32px,6vw,100px);margin-top:44px;padding-top:38px;border-top:1px solid #cbd3c8;}
#flagship .flagship-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:26px 0 32px;}
#flagship .flagship-facts dt{font:400 10px var(--deck-sans);color:#73827b;margin-bottom:12px;}
#flagship .flagship-facts dd{font:400 clamp(28px,3vw,42px)/1.2 var(--deck-serif);letter-spacing:-.04em;color:#173940;}
#flagship .flagship-facts dd>span{font:400 16px var(--deck-sans);letter-spacing:0;margin-left:3px;}
#flagship .flagship-facts .flagship-builder{font-size:clamp(24px,2.6vw,36px);}
#flagship .flagship-secondary-links{display:flex;gap:24px;flex-wrap:wrap;}
#flagship .flagship-secondary-links a,#flagship .flagship-secondary-links button{background:none;border:0;border-bottom:1px solid #a7b3a6;border-radius:0;color:#27464a;padding:0 0 7px;font:400 11px var(--deck-sans);text-decoration:none;cursor:pointer;}
#flagship .flagship-secondary-links span{padding-left:10px;}
#flagship .flagship-enquiry{padding-left:34px;border-left:1px solid #cbd3c8;}
#flagship .flagship-enquiry h3{font:400 40px/1.1 var(--deck-serif);letter-spacing:-.04em;color:#173940;margin:19px 0 12px;}
#flagship .flagship-enquiry>p{font:400 12px/1.8 var(--deck-sans);color:#728078;max-width:310px;}
#flagship .flagship-viewing-link{display:flex;justify-content:space-between;gap:30px;align-items:center;max-width:340px;background:#173940;color:#f4f2e9;text-decoration:none;padding:17px 20px;margin-top:22px;font:400 11px var(--deck-sans);transition:background .2s ease;}
#flagship .flagship-viewing-link:hover{background:#2e535b;}
#flagship .flagship-price-note{font:400 9px/1.8 var(--deck-sans);color:#7c8981;margin-top:15px;}
#flagship button:focus-visible,#flagship a:focus-visible{outline:2px solid #48717a;outline-offset:5px;}
@media(max-width:850px){
 #flagship{padding:64px 0;}
 #flagship .flagship-editorial-heading{align-items:flex-start;gap:22px;}
 #flagship .flagship-editorial-heading>p{min-width:0;max-width:200px;font-size:15px;}
 #flagship .flagship-editorial-bottom{gap:32px;grid-template-columns:minmax(0,1fr);}
 #flagship .flagship-enquiry{border-left:0;padding-left:0;border-top:1px solid #cbd3c8;padding-top:30px;}
 #flagship .flagship-facts{max-width:620px;}
 #flagship .flagship-viewing-link{max-width:100%;}
}
@media(max-width:540px){
 #flagship .flagship-editorial-heading{display:block;margin-bottom:28px;}
 #flagship h2{font-size:clamp(52px,14vw,76px);}
 #flagship .flagship-editorial-heading>p{max-width:none;font:400 12px/1.7 var(--deck-sans);margin-top:22px;}
 #flagship .flagship-editorial-heading>p br{display:none;}
 #flagship .flagship-editorial-heading>p>span{margin-top:5px;}
 #flagship .flagship-gallery-heading{gap:16px;align-items:flex-start;}
 #flagship .flagship-gallery-open{max-width:120px;font-size:10px;text-align:left;}
 #flagship .flagship-gallery-open>span{margin-left:5px;}
 #flagship .flagship-caption-title{font-size:10px;}
 #flagship .flagship-caption-meta{font-size:9px;}
 #flagship .flagship-category-bar{gap:18px;}
 #flagship .flagship-thumb-btn{flex-basis:100px;width:100px;height:68px;}
 #flagship .flagship-facts{gap:16px 12px;}
 #flagship .flagship-facts dd{font-size:32px;}
 #flagship .flagship-facts .flagship-builder{font-size:24px;}
 #flagship .flagship-secondary-links{gap:18px;}
 #flagship .flagship-editorial-bottom{margin-top:28px;padding-top:28px;}
}

/* Mobile and tablet layout pass. Horizontal scrolling stays inside galleries. */
#stage{height:100svh;min-height:100svh;}
.corp-container>*{min-width:0;}
.corp-section{scroll-margin-top:88px;}
.services-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));}
.fleet-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));}
#flagship .flagship-cat-pill,#flagship .flagship-gallery-open{min-height:44px;}
#flagship .flagship-secondary-links a,#flagship .flagship-secondary-links button{min-height:44px;display:inline-flex;align-items:center;}
.flagship-category-bar,.flagship-gallery-strip,.full-gallery-cat-bar,.modal-gallery-thumbs{overscroll-behavior-x:contain;}
.full-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,110px),1fr));}
.full-gallery-main-img{object-fit:contain;}
@media(max-width:1180px){
 header.app-header{min-height:72px;padding:12px 20px;padding-top:calc(12px + env(safe-area-inset-top));gap:14px;}
 .header-actions{gap:10px;flex-shrink:0;}
 .header-actions .glass-btn{display:none;}
 .mobile-nav-toggle{display:flex;min-width:44px;min-height:44px;}
 .app-nav{position:fixed;top:calc(72px + env(safe-area-inset-top));left:0;right:0;flex-direction:column;align-items:stretch;gap:4px;padding:16px 24px 24px;background:#031018fa;border-bottom:1px solid #e3c68d44;max-height:calc(100svh - 72px - env(safe-area-inset-top));overflow-y:auto;overscroll-behavior:contain;transform:translateY(-16px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,transform .2s ease,visibility .2s ease;}
 .app-nav.open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto;}
 .app-nav .nav-link{min-height:44px;display:flex;align-items:center;padding:10px 8px;font-size:14px;}
 .app-nav .nav-link.active::after{left:8px;right:auto;width:32px;}
}
@media(max-width:850px){
 .fleet-grid{grid-template-columns:minmax(0,1fr);}
 .deck-selector{max-height:calc(100svh - 120px);overflow-y:auto;overscroll-behavior:contain;}
 .marina-controls{max-width:calc(100% - 32px);}
 .marina-actions{flex-wrap:wrap;}
 .marina-actions button,.panorama-buttons button,.deck-plan-tabs button,.deck-plan-toolbar button{min-height:44px;}
 .marina-detail-close{min-width:44px;min-height:44px;}
 .panorama-buttons{flex-wrap:wrap;justify-content:center;max-width:100%;}
 .panorama-toolbar{padding-bottom:calc(16px + env(safe-area-inset-bottom));}
 .panorama-scene-nav{max-width:calc(100% - 40px);overflow-x:auto;overscroll-behavior-x:contain;}
 .panorama-scene-nav button{flex-shrink:0;min-height:44px;}
 .marina-detail .marina-svg-details{bottom:calc(160px + env(safe-area-inset-bottom));}
 .marina-plan-dialog,.full-gallery-dialog,.yacht-detail-dialog,.specs-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;}
 .modal-dialog-header{gap:14px;}
 input,select,textarea{font-size:16px;min-width:0;}
 .form-group input,.form-group select,.form-group textarea,.footer-newsletter-form input{font-size:16px;}
}
@media(max-width:720px){
 #flagship .flagship-editorial-heading{display:block;}
 #flagship .flagship-editorial-heading>p{max-width:none;margin-top:20px;font-size:14px;}
 #flagship .flagship-editorial-heading>p br{display:none;}
 .footer-legal-links{flex-wrap:wrap;gap:12px 20px;}
}
@media(max-width:600px){
 .header-actions>.gold-cta-btn{display:none;}
 header.app-header{padding-left:16px;padding-right:16px;}
 .brand-group,.brand-text{min-width:0;}
 .brand-link{gap:9px;}
 .brand-sub{font-size:7px;letter-spacing:.18em;}
 #flagship .flagship-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px;}
 #flagship .flagship-facts dd{font-size:38px;}
 #flagship .flagship-facts .flagship-builder{font-size:32px;}
 #flagship .flagship-gallery-heading{flex-wrap:wrap;gap:10px;}
 #flagship .flagship-gallery-open{max-width:none;}
 #flagship .flagship-photo-caption{min-width:0;}
 #flagship .flagship-caption-title,#flagship .flagship-caption-meta{overflow-wrap:anywhere;}
 .full-gallery-dialog{padding:0;}
 .full-gallery-body{padding:16px;max-height:calc(100dvh - 110px);}
 .full-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
 .full-gallery-caption-bar{padding:20px 12px 10px;gap:10px;}
 .full-gallery-caption-bar strong{font-size:12px;}
 .full-gallery-caption-bar span{font-size:9px;flex-shrink:0;}
 .gallery-nav-arrow.prev{left:8px;}.gallery-nav-arrow.next{right:8px;}
 .marina-controls{left:16px;bottom:calc(16px + env(safe-area-inset-bottom));}
 #stage:has(#marina-scene[aria-hidden="false"]) .tour-browse-link{bottom:calc(150px + env(safe-area-inset-bottom));}
 .marina-status{font-size:10px;max-width:100%;}
 .marina-actions button{padding:10px;font-size:11px;}
 .deck-plan-point{width:32px;height:32px;}
 .form-row>*{min-width:0;}
 .contact-details a{overflow-wrap:anywhere;}
}
@media(max-height:500px) and (orientation:landscape){
 .marina-panorama-heading{padding-top:12px;}
 .marina-panorama-heading h2{font-size:20px;}
 .marina-panorama-heading .marina-detail-desc{display:none;}
 .panorama-scene-nav{top:78px;}
 .panorama-toolbar{padding-top:16px;gap:6px;}
 .panorama-hint{display:none;}
 .marina-detail .marina-svg-details{bottom:80px;}
 .marina-detail .marina-svg-details[open]{max-height:55dvh;}
 .deck-selector{top:88px;max-height:calc(100svh - 104px);overflow:auto;}
}
@media(pointer:coarse){
 .marina-hotspot{min-width:44px;min-height:44px;padding:10px;}
 .deck-plan-point::before{content:"";position:absolute;inset:-6px;}
}
@media(prefers-reduced-motion:reduce){.app-nav{transition:none;}}

/* A restrained scroll cue for the fleet entry point. */
.explore-down-pill {
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
}
.explore-down-pill::before,
.explore-down-pill::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}
.explore-down-pill::before {
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(110deg, transparent, rgba(227, 198, 141, .28), transparent);
  animation: fleetCueShimmer 5.2s ease-in-out infinite;
}
.explore-down-pill::after {
  inset: 0;
  border: 1px solid rgba(255, 226, 170, .7);
  box-shadow: inset 0 0 18px rgba(227, 198, 141, .15);
  animation: fleetCueGlow 3.6s ease-in-out infinite;
}
.explore-down-pill > * { position: relative; z-index: 1; }
.explore-down-pill:focus-visible { outline: 2px solid var(--deck-gold-bright); outline-offset: 5px; }
.explore-down-icon { flex-shrink: 0; animation: fleetCueArrow 2.6s ease-in-out infinite; }
@keyframes fleetCueShimmer {
  0%, 62% { opacity: 0; transform: translateX(-160%) skewX(-18deg); }
  68% { opacity: .8; }
  88%, 100% { opacity: 0; transform: translateX(360%) skewX(-18deg); }
}
@keyframes fleetCueGlow {
  0%, 100% { opacity: .15; }
  50% { opacity: .75; }
}
@keyframes fleetCueArrow {
  0%, 38%, 70%, 100% { transform: translateY(0); }
  48%, 60% { transform: translateY(4px); }
  54% { transform: translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
  .explore-down-pill::before { display: none; animation: none; }
  .explore-down-pill::after { animation: none; opacity: .4; }
  .explore-down-icon { animation: none; }
  .explore-down-pill { transition: none; }
  .explore-down-pill:hover { transform: translateX(-50%); }
}

/* iPad and other touch tablets: roomy controls, native gallery scroll, uncluttered canvas. */
.flagship-touch-hint {display:none;}
.marina-zoom-controls {display:none;gap:8px;}
.marina-zoom-controls button {width:48px;height:48px;border:1px solid #ffffff55;border-radius:10px;background:#102e36e8;color:white;font:24px var(--deck-sans);cursor:pointer;}
.marina-zoom-controls button:focus-visible {outline:2px solid #e3c68d;outline-offset:4px;}
@media(any-pointer:coarse){
 .marina-zoom-controls {display:flex;}
 #flagship .flagship-hero-img {touch-action:pan-y pinch-zoom;}
 #flagship .flagship-touch-hint {display:block;position:absolute;top:16px;right:16px;z-index:2;padding:10px 14px;background:#071b25d9;color:#f6f3ed;border:1px solid #ffffff40;border-radius:20px;font:11px var(--deck-sans);pointer-events:none;}
 #flagship .flagship-thumb-btn {opacity:.85;}
 #flagship .flagship-thumb-btn.active {opacity:1;outline:2px solid #52727a;outline-offset:-2px;}
 .flagship-gallery-strip,.flagship-category-bar,.full-gallery-cat-bar {scroll-snap-type:x proximity;}
 .flagship-thumb-btn,.flagship-cat-pill,.full-gallery-cat-bar button {scroll-snap-align:start;}
 .deck-plan-tabs button,.deck-plan-toolbar button,.marina-actions button,.panorama-buttons button,.app-nav .nav-link {min-height:48px;}
 .marina-plan-header>button,.modal-close-btn {min-width:48px;min-height:48px;}
 .marina-controls {max-width:calc(100% - 40px);}
 #stage:has(#marina-scene[aria-hidden="false"]) .explore-down-pill {bottom:calc(176px + env(safe-area-inset-bottom));}
 #stage:has(#marina-scene[aria-hidden="false"]) .tour-browse-link {bottom:calc(230px + env(safe-area-inset-bottom));}
}
@media(min-width:601px) and (max-width:1366px) and (any-pointer:coarse){
 .deck-selector {width:300px;top:94px;max-height:calc(100svh - 120px);overflow-y:auto;overscroll-behavior:contain;}
 .deck-feature {max-height:140px;overflow:hidden;}
 .deck-room-nav {max-height:min(320px,38svh);}
 .room-card-btn {min-height:64px;}
 #flagship .flagship-gallery-strip {gap:12px;}
 #flagship .flagship-thumb-btn {flex-basis:150px;width:150px;height:96px;}
 #flagship .flagship-cat-pill {font-size:12px;}
 .marina-controls {left:24px;bottom:calc(24px + env(safe-area-inset-bottom));}
 .marina-actions {flex-wrap:wrap;}
 .marina-status {font-size:12px;}
 .marina-detail .marina-svg-details {bottom:calc(150px + env(safe-area-inset-bottom));}
 .marina-plan-dialog {width:min(1080px,94vw);max-height:88dvh;}
 .panorama-scene-nav {max-width:calc(100% - 80px);overflow-x:auto;overscroll-behavior-x:contain;}
 .panorama-scene-nav button {flex-shrink:0;min-height:48px;}
 .panorama-toolbar {padding-bottom:calc(22px + env(safe-area-inset-bottom));}
 .panorama-buttons {flex-wrap:wrap;justify-content:center;}
}
@media(min-width:601px) and (max-width:1024px) and (orientation:portrait) and (any-pointer:coarse){
 #flagship .flagship-editorial-heading {display:block;}
 #flagship .flagship-editorial-heading>p {max-width:none;margin-top:22px;}
 #flagship .flagship-editorial-heading>p br {display:none;}
 #flagship .flagship-editorial-bottom {grid-template-columns:minmax(0,1fr);}
 #flagship .flagship-enquiry {border-left:0;padding-left:0;border-top:1px solid #cbd3c8;padding-top:28px;}
 .marina-detail .marina-svg-details[open] {width:min(720px,calc(100vw - 48px));}
}
