/* Studio14 — v1 "Green Room"
   Ground, gold and serif taken from Studio14's own printed price sheets:
   damask #061F1E, gold #D3B16B, highlight #F6D9A4.                        */

:root {
  color-scheme: dark;
  --bg:      #061F1E;
  --bg2:     #0A2A28;
  --bg3:     #041615;
  --ink:     #F1E7D2;
  --muted:   rgba(241, 231, 210, .64);
  --faint:   rgba(241, 231, 210, .40);
  --gold:    #D3B16B;
  --gold-hi: #F6D9A4;
  --line:    rgba(211, 177, 107, .26);
  --line2:   rgba(211, 177, 107, .14);
  /* Playfair carries far more stroke contrast than Cormorant, so a headline
     reads as a statement at a glance instead of a whisper. Cormorant stays
     for italic asides, where its lightness is the point. */
  --display: 'Playfair Display', Georgia, serif;
  --quiet:   'Cormorant Garamond', Georgia, serif;
  --body:    Inter, system-ui, -apple-system, sans-serif;
  --pad:     clamp(20px, 5vw, 76px);
}

* { margin: 0; padding: 0; box-sizing: border-box }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.68 var(--body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto }
a { color: inherit }

/* ------------------------------------------------------------- chrome */

.flag {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: #7E2B22; color: #FFF1E6;
  font: 500 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  text-align: center; padding: 8px 12px;
}

.nav {
  position: fixed; top: 27px; left: 0; right: 0; z-index: 55;
  display: flex; align-items: center; gap: 22px;
  padding: 12px var(--pad);
  background: linear-gradient(var(--bg) 45%, transparent);
  font: 500 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase;
}
.nav-mark { font-size: 14px; letter-spacing: .26em; text-decoration: none; color: var(--gold) }
.nav-mark b { font-weight: 500 }
.nav-links { display: flex; gap: 20px; margin-left: auto }
.nav-links a { color: var(--faint); text-decoration: none }
.nav-links a:hover { color: var(--gold-hi) }
.nav-promo { color: var(--gold); letter-spacing: .12em }

/* --------------------------------------------------------- panel rig */
/* A pinned panel is taller than the screen and holds its .pin sticky while
   it passes. Panels whose content is taller than the viewport are .flow and
   never pin — pinning them would clip the overflow.                      */

.panel { position: relative; height: 138vh }
.panel.flow { height: auto }

.pin {
  position: sticky; top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
  background: var(--bg);
  transform: translateY(var(--lift, 0));
  will-change: transform;
}
.panel.flow > .pin {
  position: static; min-height: 0; overflow: visible; transform: none;
  padding: clamp(70px, 11vh, 130px) 0;
}
.panel.accent > .pin { background: var(--bg3) }
.panel:nth-of-type(even) > .pin { background: var(--bg2) }
.panel.accent > .pin { background: var(--bg3) }

.inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad) }
.inner.narrow { max-width: 820px }
.inner.two {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: start;
}

.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px) }
.head p { color: var(--muted); margin-top: 12px }

h1, h2, h3 { font-family: var(--display); line-height: 1.02 }
h1 { font-size: clamp(38px, 6.6vw, 82px); font-weight: 700; letter-spacing: -.022em }
h2 { font-size: clamp(28px, 4.2vw, 50px); font-weight: 700; letter-spacing: -.018em }
h3 { font-size: clamp(19px, 2.1vw, 25px); font-weight: 400 }
p  { color: var(--muted) }
.small { font-size: 13px; color: var(--faint); margin-top: 14px }

/* --------------------------------------------------------- motion    */
/* One writer per property: .reveal only ever reads --in.               */

.reveal, [data-intro] {
  opacity: calc(var(--in, 1) * 1);
  transform: translateY(calc((1 - var(--in, 1)) * 26px));
  transition: opacity .05s linear, transform .05s linear;
}
h1.split .l {
  display: inline-block;
  opacity: var(--in, 1);
  transform: translateY(calc((1 - var(--in, 1)) * 0.5em));
  transition: opacity .5s cubic-bezier(.2, .7, .2, 1),
              transform .6s cubic-bezier(.2, .7, .2, 1);
}
h1.split .w { display: inline-block; white-space: nowrap }

/* --------------------------------------------------------- hero      */

/* The whole hook — question, plates, chips and both buttons — has to land
   inside the first screen, so this panel is sized to the viewport and the
   plate is capped rather than left to its aspect ratio. */
.hero > .pin { align-items: center; padding: 0; min-height: 100svh }
.hero .inner { padding-top: 96px; padding-bottom: clamp(24px, 4vh, 44px) }
.hero h1 { font-size: clamp(34px, 5.4vw, 66px) }
.eyebrow {
  font: 500 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero h1 { max-width: 15ch }
.hero h1 em { font-style: italic; color: var(--gold) }
.lede {
  font-family: var(--quiet); font-size: clamp(17px, 1.9vw, 22px);
  font-style: italic; line-height: 1.4; color: rgba(241, 231, 210, .8);
  max-width: 560px; margin-top: 14px;
}

/* The room picker: the question above it is answered by these five plates. */
.hero-pick { margin-top: clamp(16px, 2.4vh, 24px) }
.hp-stage {
  position: relative; overflow: hidden; background: #000;
  border: 1px solid var(--line);
  width: 100%; height: clamp(200px, 33vh, 360px);
}
.hp-img {
  width: 100%; height: 100%; object-fit: cover;
  animation: plate .9s cubic-bezier(.2, .7, .2, 1);
}
@keyframes plate {
  from { opacity: 0; transform: scale(1.045) }
  to   { opacity: 1; transform: none }
}
.hp-tag {
  position: absolute; left: 14px; bottom: 13px;
  background: rgba(6, 31, 30, .82); border: 1px solid var(--line);
  padding: 9px 14px;
  font: 500 10.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-hi);
}
.hp-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px }
.hp-chip {
  flex: 1 1 auto; cursor: pointer;
  display: inline-flex; align-items: baseline; justify-content: center; gap: 8px;
  background: transparent; color: var(--faint);
  border: 1px solid var(--line2); border-radius: 2px; padding: 12px 14px;
  font: 500 11.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
}
.hp-chip i { font-style: normal; font-size: 10px; opacity: .75 }
.hp-chip:hover { color: var(--ink); border-color: var(--line) }
.hp-chip.on { background: var(--gold); border-color: var(--gold); color: #08201E }

.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: clamp(14px, 2.2vh, 22px) }
.hero-cta .cta b { font-weight: 600 }

/* At-a-glance strip: the four questions everyone asks first. */
.panel.tight > .pin { padding: clamp(34px, 5vh, 54px) 0 }
.glance {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--line2); border: 1px solid var(--line2);
}
.gl { background: var(--bg); padding: 20px 22px }
.gl-k {
  display: block; font: 500 10px/1 var(--body); letter-spacing: .22em;
  text-transform: uppercase; color: var(--faint);
}
.gl b {
  display: block; margin-top: 10px; font-family: var(--display);
  font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); color: var(--gold);
  line-height: 1.05;
}
.gl em { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: var(--muted) }

/* --------------------------------------------------------- themes    */

.theme-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.tc { border: 1px solid var(--line2); background: rgba(0, 0, 0, .18) }
.tc-img { overflow: hidden }
.tc-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
.tc-body { padding: 18px 20px 22px }
.tc-body h3 i { font-style: normal; color: var(--gold); font-size: .74em; letter-spacing: .08em }
.tc-body p { font-size: 13.5px; margin-top: 10px }
.tc-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px;
  font: 400 10.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint);
}
.tc-meta .hot { color: var(--gold) }

/* ------------------------------------------------- lighting switcher */

.sw { display: grid; gap: 16px }
.sw-themes { display: flex; flex-wrap: wrap; gap: 8px }
.sw-theme {
  font: 500 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: var(--faint);
  border: 1px solid var(--line2); border-radius: 2px;
  padding: 11px 15px; cursor: pointer;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.sw-theme i { font-style: normal; font-size: 10px; letter-spacing: .1em; opacity: .7 }
.sw-theme:hover { color: var(--ink); border-color: var(--line) }
.sw-theme.on { background: var(--gold); border-color: var(--gold); color: #08201E }

.sw-stage {
  position: relative; border: 1px solid var(--line);
  background: #000; overflow: hidden;
  aspect-ratio: 3 / 2;
}
.sw-img { width: 100%; height: 100%; object-fit: cover }
/* Sits under the stage: Studio14 burns its own caption into the bottom of
   every frame, and stacking a second label on top of it read as a mistake. */
.sw-cap {
  margin-top: 9px; padding-left: 1px;
  font: 500 11.5px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-hi);
}

.sw-panel { display: grid; gap: 12px; align-content: start }
.sw-angles { display: flex; flex-wrap: wrap; gap: 8px }
.sw-angles.one { display: none }
.sw-angle {
  font: 400 12px/1 var(--body); background: transparent; color: var(--faint);
  border: 1px solid var(--line2); border-radius: 99px; padding: 9px 15px; cursor: pointer;
}
.sw-angle.on { color: var(--gold-hi); border-color: var(--gold) }

.sw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px }
.sw-step {
  font: 400 12px/1.35 var(--body); text-align: left;
  background: rgba(255, 255, 255, .03); color: var(--muted);
  border: 1px solid var(--line2); border-left: 2px solid transparent;
  padding: 11px 13px; cursor: pointer;
}
.sw-step:hover { color: var(--ink) }
.sw-step.on { border-left-color: var(--gold); color: var(--gold-hi); background: rgba(211, 177, 107, .08) }
.sw-note { font-size: 13px; color: var(--faint); max-width: 720px }

/* The sliced frames are only ~655-768px wide, so the stage is capped at 760
   and the controls sit beside it. Larger would be a visible upscale.
   Declared after the base rules so it is not overridden by them.          */
@media (min-width: 1040px) {
  .sw {
    grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
    grid-template-areas: 'themes themes' 'main panel' 'note note';
    align-items: start; column-gap: 26px;
  }
  .sw-themes { grid-area: themes }
  .sw-main   { grid-area: main }
  .sw-panel  { grid-area: panel }
  .sw-note   { grid-area: note }
  .sw-steps  { grid-template-columns: 1fr }
}

/* --------------------------------------------------------- galleries */

.gal, .setup-grid, .prop-strip {
  display: grid; gap: clamp(10px, 1.4vw, 18px);
}
.gal       { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) }
.setup-grid{ grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) }
.prop-strip{ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) }

.gs, .ss, .pp { border: 1px solid var(--line2); background: rgba(0, 0, 0, .2) }
.gs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
.ss img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
.pp img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover }
.gs figcaption, .ss figcaption, .pp figcaption {
  padding: 9px 11px; font: 400 10.5px/1.4 var(--body);
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}

/* Collapsed grids: items beyond the fold are hidden, not removed, so the
   images below are never fetched until the reader asks for them. */
.hide { display: none !important }

.more {
  display: block; margin: 18px auto 0;
  background: transparent; color: var(--gold);
  border: 1px solid var(--line); border-radius: 2px;
  font: 500 11.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 28px; cursor: pointer;
}
.more:hover { border-color: var(--gold); color: var(--gold-hi) }

.prop-names {
  list-style: none; margin-top: 22px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 4px 20px; font-size: 13px; color: var(--muted);
}
.prop-names li { padding: 5px 0; border-bottom: 1px solid var(--line2) }

/* --------------------------------------------------------- rates     */

.rate-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.rate { border: 1px solid var(--line); padding: 26px 24px 28px; background: rgba(0, 0, 0, .2) }
.rate h3 { color: var(--ink) }
.rate b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 5vw, 52px); color: var(--gold); margin-top: 12px; line-height: 1;
}
.rate b s { color: var(--faint); font-size: .48em; margin-right: 8px }
.rate em {
  font-style: normal; display: block; margin-top: 6px;
  font: 400 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
}
.rate .until { display: block; margin-top: 14px; font-size: 12px; color: var(--gold-hi) }
.rate p { font-size: 13.5px; margin-top: 12px }

.extras { margin-top: 22px; border-top: 1px solid var(--line2) }
.extras dt, .extras dd {
  display: inline-block; padding: 11px 0; border-bottom: 1px solid var(--line2);
  font-size: 13.5px;
}
.extras dt { width: 62%; color: var(--muted) }
.extras dd { width: 38%; text-align: right; color: var(--gold) }

/* --------------------------------------------------------- lists     */

.tick, .cross, .rules, .fields { list-style: none; margin-top: 16px }
.tick li, .cross li, .rules li {
  position: relative; padding: 9px 0 9px 26px; font-size: 14px;
  color: var(--muted); border-bottom: 1px solid var(--line2);
}
.tick li::before  { content: '✓'; position: absolute; left: 0; color: var(--gold) }
.cross li::before { content: '×'; position: absolute; left: 0; color: #C4746A }
.rules li::before { content: '·'; position: absolute; left: 6px; color: var(--gold) }

blockquote {
  margin: 18px 0; padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(0, 0, 0, .22);
  font-family: var(--display); font-size: clamp(17px, 2vw, 22px);
  font-style: italic; color: var(--gold-hi); line-height: 1.42;
}

/* --------------------------------------------------------- booking   */

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.step { border: 1px solid var(--line2); padding: 22px 20px; background: rgba(0, 0, 0, .18) }
.step i {
  font-style: normal; font-family: var(--display); font-size: 30px;
  color: var(--gold); display: block; line-height: 1;
}
.step h3 { margin: 10px 0 8px }
.step p { font-size: 13.5px }

.fieldcard {
  margin-top: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line); padding: 26px 24px; background: rgba(0, 0, 0, .22);
}
.fields {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px 18px; margin: 16px 0 22px;
}
.fields li {
  font: 400 12.5px/1 var(--body); color: var(--muted);
  padding: 9px 11px; border: 1px dashed var(--line2);
}

.cta {
  display: inline-block; text-decoration: none;
  background: var(--gold); color: #08201E;
  font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 2px;
}
.cta.ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold) }
.visit-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }

/* --------------------------------------------------------- faq       */

.faq { display: grid; gap: 2px }
.q { border-bottom: 1px solid var(--line2) }
.q summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-family: var(--display); font-size: clamp(17px, 2vw, 21px); color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.q summary::-webkit-details-marker { display: none }
.q summary::after { content: '+'; color: var(--gold); font-size: 19px; flex: none }
.q[open] summary::after { content: '–' }
.q p { padding: 0 0 18px; font-size: 14px; max-width: 68ch }

/* --------------------------------------------------------- foot      */

.foot { padding: 40px var(--pad) 56px; border-top: 1px solid var(--line2); background: var(--bg3) }
.foot p { font-size: 12px; color: var(--faint); max-width: 720px }

/* --------------------------------------------------------- narrow    */

@media (max-width: 900px) {
  /* Release every pin: sticky panels on a short screen clip their content. */
  .panel { height: auto }
  .pin {
    position: static; min-height: 0; overflow: visible; transform: none;
    padding: clamp(60px, 9vh, 96px) 0;
  }
  .nav-links { display: none }
  .nav-promo { margin-left: auto }

  /* The hook still has to fit one phone screen, so the plate shrinks and the
     chips tighten rather than letting the buttons drop below the fold. */
  .hero > .pin { min-height: 100svh }
  .hero .inner { padding-top: 84px; padding-bottom: 22px }
  .hero h1 { font-size: clamp(29px, 7.6vw, 40px) }
  .lede { font-size: 16.5px; margin-top: 11px }
  .hero-pick { margin-top: 14px }
  .hp-stage { height: clamp(150px, 23vh, 240px) }
  .hp-chip { padding: 9px 9px; font-size: 10.5px; letter-spacing: .08em; gap: 6px }
  .hero-cta { gap: 8px; margin-top: 13px }
  .hero-cta .cta { padding: 13px 18px; font-size: 11px; letter-spacing: .12em }
  .extras dt, .extras dd { width: 100%; text-align: left }
  .extras dd { padding-top: 0; border-bottom: 1px solid var(--line2); color: var(--gold) }
  .extras dt { border-bottom: 0; padding-bottom: 2px }
}
