/* Interior page — moodboard sections + page chrome (page-hero, back-strip).
 * Only loaded on interior.html.
 */

/* ===== PAGE HERO (compact crumb header) ===== */
.page-hero {
  padding: 9rem 2rem 2.5rem;
  text-align: center;
  background: var(--bg);
}

.page-hero .crumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.page-hero .crumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero .crumb a:hover { color: var(--terracotta); }

.page-hero .crumb span { margin: 0 0.6em; color: var(--hairline); }

/* ===== INTERIOR / MOODBOARD ===== */
.interior {
  position: relative;
  padding: 3rem 1.5rem 8rem;
  background: var(--bg);
  overflow: hidden;
}

.interior-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.interior-head {
  max-width: 760px;
  margin: 0 auto 5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.interior-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.6rem;
}

.interior-eyebrow span {
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0 0.6em;
}

.interior-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.interior-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.interior-lead {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

.interior-divider {
  width: 1px;
  height: 48px;
  background: var(--gold);
  opacity: 0.55;
  margin: 2.4rem auto 0;
}

/* WIP notice — drawn attention at top of section */
.wip-notice {
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 0.85rem 1.4rem;
  background: rgba(196, 112, 75, 0.08);
  border: 1px dashed rgba(196, 112, 75, 0.35);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--charcoal);
  text-align: center;
}
.wip-notice strong {
  color: var(--terracotta);
  letter-spacing: 0.14em;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-right: 0.5em;
}

/* ===== ROOM SCENES — alternating editorial rows ===== */
.room-scene {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto 7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.room-scene:last-of-type { margin-bottom: 2rem; }

.room-scene.flip .room-stage { order: 2; }
.room-scene.flip .room-copy  { order: 1; }

/* Stage: cream/sand backdrop, contains hero cutout + small accents */
.room-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  overflow: visible;
}

.room-stage::before {
  /* Soft arch behind the hero */
  content: '';
  position: absolute;
  inset: 12% 12% 0;
  background: var(--sand);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  z-index: 0;
}

.room-stage.tone-sand        { background: var(--sand); }
.room-stage.tone-sand::before { background: var(--cream); }
.room-stage.tone-olive        { background: #DCE0D2; }
.room-stage.tone-olive::before { background: var(--cream); }
.room-stage.tone-dark         { background: #2E2C28; }
.room-stage.tone-dark::before { background: #3A3833; }
.room-stage.tone-greige        { background: #C7BFB0; }
.room-stage.tone-greige::before { background: #D5CEC1; }

/* Ibiza-coastal backdrop for the outdoor scenes (07 + 08): warm sun glow + soft palm shadows */
.room-stage.tone-greige::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(135% 105% at 86% -5%, rgba(247,216,157,0.55), rgba(247,216,157,0) 58%);
}
.room-stage .palm-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.13;
  filter: blur(1.5px);
  background:
    url("../moodboard/palm-frond.png") no-repeat left -7% bottom -9% / auto 86%,
    url("../moodboard/palm-frond.png") no-repeat right -9% bottom -12% / auto 62%;
}

.room-hero {
  position: absolute;
  inset: 6% 6% 0;
  width: 88%;
  height: 96%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(40, 30, 20, 0.12));
}

.room-accent {
  position: absolute;
  z-index: 3;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(40, 30, 20, 0.18));
}

.room-accent.a1 { width: 26%; bottom: -4%; left: -4%; }
.room-accent.a2 { width: 22%; top:  4%; right: -5%; }
.room-accent.a3 { width: 18%; bottom: 14%; right: -6%; }

/* Kraft tag — top-left of stage */
.room-tag {
  position: absolute;
  z-index: 4;
  top: -14px;
  left: -14px;
  background: var(--surface);
  padding: 0.45rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--hairline);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  white-space: nowrap;
}

.room-tag em {
  color: var(--terracotta);
  font-style: normal;
  margin-right: 0.5em;
}

/* WIP badge inside a room tag */
.room-tag .wip {
  display: inline-block;
  margin-left: 0.6em;
  padding: 0.1em 0.5em;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  border-radius: 2px;
}

/* Placeholder stage — when no hero image yet */
.room-stage.placeholder              { background: var(--cream); }
.room-stage.placeholder.tone-sand    { background: var(--sand); }
.room-stage.placeholder.tone-olive   { background: #DCE0D2; }
.room-stage.placeholder.tone-dark    { background: #2E2C28; }
.room-stage.placeholder::before      { display: none; }

.room-stage.placeholder .ph-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.room-stage.placeholder .ph-arch {
  width: 110px;
  height: 130px;
  border: 1px solid var(--terracotta);
  border-bottom: none;
  border-radius: 55px 55px 0 0;
  opacity: 0.55;
  margin-bottom: 1.4rem;
}
.room-stage.placeholder.tone-dark .ph-arch { border-color: var(--gold); opacity: 0.7; }

.room-stage.placeholder .ph-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.room-stage.placeholder.tone-dark .ph-num { color: var(--gold); }

.room-stage.placeholder .ph-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(44,44,44,0.45);
}
.room-stage.placeholder.tone-dark .ph-label { color: rgba(255,255,255,0.45); }

/* Right-hand copy column */
.room-copy { padding: 1rem 0; }

.room-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.room-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--olive);
  opacity: 0.7;
}

.room-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.room-name em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.room-lead {
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 460px;
}

/* Inventory list — like an interior brief */
.room-list {
  list-style: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 1.5rem;
  max-width: 460px;
}

.room-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.room-list li .item-spec {
  color: var(--ink-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: center;
}

/* Closing strip — Bella credit */
.interior-credit {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 5rem auto 0;
  padding: 3rem 2.5rem;
  background: var(--panel);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.credit-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--terracotta);
  line-height: 1;
}

.credit-mark span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.credit-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}

.credit-meta {
  text-align: right;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.8;
}

.credit-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.18em;
}

/* ===== BACK STRIP (Plan your stay) ===== */
.back-strip {
  background: var(--band);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.back-strip .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.back-strip .title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.8rem;
}

.back-strip .title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.back-strip a.cta {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.95rem 2.4rem;
  transition: all 0.3s ease;
}

.back-strip a.cta:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .room-scene { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 5rem; }
  .room-scene.flip .room-stage { order: 1; }
  .room-scene.flip .room-copy  { order: 2; }
  .room-stage { aspect-ratio: 4/4.4; max-width: 480px; margin: 0 auto; width: 100%; }
  .interior-credit { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; padding: 2rem 1.5rem; }
  .credit-meta { text-align: center; }
}
