@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0e1316;
  --bg-deep: #090c0e;
  --panel: #141a1e;
  --panel-border: rgba(255, 255, 255, 0.08);
  --ink: #f3efe8;
  --ink-dim: rgba(243, 239, 232, 0.72);
  --ink-muted: rgba(243, 239, 232, 0.45);
  --gold: #d5b078;
  --gold-glow: rgba(213, 176, 120, 0.15);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Base Headings & Eyebrows */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

/* Standard Section Layouts (for downstream sections) */
.story-head {
  padding: 14vh 0 7vh;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
}

.story-head h2 {
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.story-head p {
  max-width: 520px;
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Floorplan Explorer */
.floor-wrap {
  padding: 0 7vw 16vh;
  max-width: 1440px;
  margin: auto;
}

.floor-stage {
  position: relative;
  width: 100%;
  height: min(78vh, 840px);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  overflow: hidden;
}

.floor-stage img {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floor-stage img.active {
  opacity: 1;
  transform: scale(1);
}

.zones {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 10;
}

.zone {
  padding: 8px 14px;
  border: 1px solid var(--panel-border);
  background: rgba(14, 19, 22, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.25s ease;
}

.zone:hover {
  border-color: rgba(213, 176, 120, 0.4);
  color: var(--ink);
}

.zone.active {
  border-color: var(--gold);
  color: #11171b;
  background: #f3efe8;
  font-weight: 600;
}

/* Craft Process Section */
.process {
  background: var(--bg);
  color: var(--ink);
  padding: 0 7vw 18vh;
}

.process .story-head {
  padding-top: 16vh;
}

.process .story-head h2 {
  color: var(--ink);
}

.process .story-head p {
  color: var(--ink-dim);
}

.process-track {
  position: relative;
  height: 76vh;
  max-width: 1440px;
  margin: auto;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

.process-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
  transform: scale(0.98);
}

.process-track img.active {
  opacity: 1;
  transform: scale(1);
}

.process-label {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  z-index: 2;
}

.process-rail {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.process-line {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.process-dot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.process-dot span.active {
  color: var(--gold);
  font-weight: 700;
}

/* The Bar Section */
.bar {
  background: var(--bg);
  color: var(--ink);
  padding: 0 7vw 16vh;
  max-width: 1440px;
  margin: auto;
}

.bar-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 24px;
}

.bar-card {
  position: relative;
  background: var(--panel);
  min-height: 480px;
  border: 1px solid var(--panel-border);
  overflow: hidden;
}

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

.bar-card.copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bar-card h3 {
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.045em;
  margin: 12px 0 0;
  line-height: 0.96;
}

.bar-card p {
  max-width: 440px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-top: 18px;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Business Section */
.business {
  background: #ece8e0;
  color: #171716;
  padding: 0 7vw 18vh;
}

.business .story-head h2 {
  color: #171716;
}

.business .story-head p {
  color: #66605a;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1440px;
  margin: auto;
}

.metric {
  border-top: 2px solid #191817;
  padding-top: 20px;
}

.metric .num {
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.metric .lab {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d665f;
  font-weight: 500;
}

.case {
  margin: 64px auto 0;
  max-width: 1440px;
  background: #141a1e;
  color: #f1ece5;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border: 1px solid var(--panel-border);
}

.case h3 {
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -0.04em;
  margin: 12px 0 0;
}

.case-note {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 28px;
}

.slider {
  display: grid;
  gap: 20px;
}

.slider label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7b1aa;
  display: flex;
  justify-content: space-between;
}

.slider input {
  width: 100%;
  accent-color: var(--gold);
}

.case-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: center;
  height: 100%;
}

.result {
  padding: 20px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
}

.result b {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.result span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a39d95;
}

/* Opportunity / Exterior */
.opportunity {
  padding: 0 7vw 16vh;
  max-width: 1440px;
  margin: auto;
}

.media-container {
  width: 100%;
  height: min(76vh, 820px);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  overflow: hidden;
}

.media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Partner Section */
.partner {
  padding: 18vh 7vw 18vh;
  background: var(--bg-deep);
  color: var(--ink);
  text-align: center;
}

.partner h2 {
  font-size: clamp(52px, 8.5vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin: 0 auto;
  max-width: 1200px;
  font-weight: 800;
}

.partner > p {
  max-width: 600px;
  margin: 28px auto 0;
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.6;
}

.partner-structures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 48px auto 0;
  text-align: left;
}

.partner-struct-item {
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.partner-struct-item .struct-type {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold, #d5b078);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.partner-struct-item h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink, #f3efe8);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.partner-struct-item p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim, #9b958c);
  margin: 0;
  max-width: none;
}

@media (max-width: 860px) {
  .partner-structures {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }
}

.partner-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.cta {
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease;
}

.cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cta.primary {
  background: #f0ece4;
  color: #111;
  border-color: #f0ece4;
}

.cta.primary:hover {
  background: #fff;
  color: #000;
}

/* Foot */
.foot {
  padding: 24px 7vw 44px;
  background: var(--bg-deep);
  border-top: 1px solid var(--panel-border);
  color: #7f7a74;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

/* SCENE 12: PRIVATE ROOM ENTRY CUE */
.private-entry-cue {
  background: #090c0e;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 100px 7vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.private-cue-inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cue-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a86a;
  font-weight: 600;
}

.cue-title {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #f2ede4;
  margin: 0;
  text-transform: uppercase;
}

.cue-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #8f8b84;
  margin: 0 0 12px;
  font-style: italic;
}

.cue-action {
  margin-top: 8px;
}

.private-enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid rgba(201, 168, 106, 0.4);
  background: rgba(201, 168, 106, 0.04);
  color: #f5f0e8;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.private-enter-btn:hover {
  border-color: #c9a86a;
  background: rgba(201, 168, 106, 0.12);
  transform: translateY(-1px);
  color: #ffffff;
}

.private-enter-btn .btn-arrow {
  color: #c9a86a;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.private-enter-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Responsiveness */
@media (max-width: 900px) {
  .story-head {
    padding-top: 10vh;
    display: block;
  }

  .story-head p {
    margin-top: 20px;
  }

  .floor-wrap, .process, .bar, .business, .opportunity {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .bar-grid, .case {
    grid-template-columns: 1fr;
  }

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

  .floor-stage, .process-track, .media-container {
    height: 62vh;
  }

  .foot {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
