/* AURIA LASH — web_v1 main layout
   Stage 1d: giant picture owns ONLY the section below the whitespace,
   top to bottom, flush right; gallery and schedule are full-width
   sections beneath it. Desktop is the current focus; mobile app
   method keeps the bottom tab bar and stacks. */

* { box-sizing: border-box; margin: 0; padding: 0; }

/* house scrollbar, every scroll surface: rose thumb on a porcelain
   strip. The buttons wear the track's own color; the old trick, they
   exist but disappear. Never set scrollbar-width; it kills this. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--porcelain); }
::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 6px;
  border: 2px solid var(--porcelain);
}
::-webkit-scrollbar-thumb:hover { background: var(--rose-vivid); }
::-webkit-scrollbar-button {
  background: var(--porcelain);
  height: 12px;
  width: 12px;
}
::-webkit-scrollbar-corner { background: var(--porcelain); }

html, body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 calc(var(--unit) * 2);
}

/* ---------- masthead: chocolate logo bar + rose ribbon + lockup ---------- */

/* rose ribbon halved, bottom edge pinned; chocolate covers the
   difference, total masthead space unchanged */
.bar-choc {
  height: 53px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* operator's logo header SVG (now carries LASH, unified color);
   chocolate bar only; scale reduced 30% from prior */
.motif-logo { height: 14px; width: auto; }

.ribbon {
  height: 5px;
  background: var(--rose);
}

.bar-lockup {
  background: var(--white);
  border-bottom: var(--hairline);
  min-height: var(--appbar-h);
}

.bar-lockup .container {
  min-height: var(--appbar-h);
  display: flex;
  flex-wrap: wrap; /* the rail bends before it ever overflows */
  align-items: center;
  gap: calc(var(--unit) * 1) calc(var(--unit) * 2);
  padding-top: 6px;
  padding-bottom: 6px;
}
/* everything clusters right beside the theme switch; no dead gap */
.theme-shell { margin-left: auto; }

/* operator's primary logo; runs bigger by design (desktop).
   Four cuts, one per theme: no-letter = Dark, B = Light, C = Velvet,
   D = Punk. CSS picks exactly one; the swap rides the theme switch. */
.bar-lockup .lockup { height: 24px; width: auto; }
.lockup-a, .lockup-c, .lockup-d { display: none; }
:root[data-theme="dark"] .lockup-b,
:root[data-theme="velvet"] .lockup-b,
:root[data-theme="punk"] .lockup-b { display: none; }
:root[data-theme="dark"] .lockup-a { display: block; }
:root[data-theme="velvet"] .lockup-c { display: block; }
:root[data-theme="punk"] .lockup-d { display: block; }

/* main nav; below the chocolate and rose bars, right of the primary
   logo. Sections by use left to right; Checkout and Login anchored
   right per convention. Dead links; demo has no backend. */
.bar-lockup nav {
  display: none;
  align-items: center;
  gap: calc(var(--unit) * 1.75);
}
.bar-lockup nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.bar-lockup nav a:hover { border-bottom-color: var(--champagne); }
.bar-lockup nav a.nav-cta {
  background: var(--ink);
  color: var(--on-ink);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  border-bottom: none;
}
.bar-lockup nav a.nav-cta:hover { background: var(--rose); color: var(--ink); }
.bar-lockup nav a.nav-login {
  border: 1px solid var(--bone);
  border-radius: var(--radius-btn);
  padding: 7px 14px;
}
.bar-lockup nav a.nav-login:hover { border-color: var(--rose); }

/* theme switch: compact dropdown riding the lockup strip */
.theme-shell {
  position: relative;
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--champagne);
  border-radius: var(--radius-btn);
  flex: none;
}
.theme-shell select {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 8px;
  cursor: pointer;
}
.theme-shell select:focus { outline: 2px solid var(--champagne); outline-offset: 1px; }
.theme-shell select,
.theme-shell select::picker(select) { appearance: base-select; }
.theme-shell select::picker-icon { display: none; }
.theme-shell select::picker(select) {
  background: var(--white);
  border: 1px solid var(--champagne);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
}
.theme-shell select option {
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  padding: 8px 14px;
}
.theme-shell select option:hover,
.theme-shell select option:focus { background: var(--rose); color: var(--on-accent); }
.theme-shell select option::checkmark { color: var(--rose); }

/* punk: text on the hot-pink grounds runs black and white, never
   pink-on-pink */
:root[data-theme="punk"] .hero-title { color: var(--on-accent); }
:root[data-theme="punk"] .hero-copy { opacity: 0.95; }

/* dark and punk turn the chocolate bar light; the bone logo inverts
   so the mark stays visible on every ground */
:root[data-theme="dark"] .motif-logo,
:root[data-theme="dark"] footer .lockup-rev,
:root[data-theme="punk"] .motif-logo,
:root[data-theme="punk"] footer .lockup-rev {
  filter: invert(0.85);
}

.bar-lockup .menu-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.bar-lockup .menu-btn img { width: 24px; height: 24px; }

/* hamburger dropdown: the same seven buttons as the desktop nav */
.mobile-menu {
  background: var(--white);
  border-bottom: var(--hairline);
  display: grid;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px calc(var(--unit) * 2);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid var(--pearl);
}
.mobile-menu a.nav-cta { background: var(--ink); color: var(--on-ink); }
.mobile-menu a.active { color: var(--rose); }

/* ---------- big white section; studio line at its lower edge ---------- */

.white-gap {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-bottom: var(--hairline);
  min-height: 220px;
  display: flex;
  align-items: flex-start; /* lettering rides the top of the frame */
  justify-content: center;
  padding: calc(var(--unit) * 2) 0 0 0;
}

/* the studio hero: cover-fit behind everything; swap by filename */
.gap-photo,
.gap-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gap-photo img { object-fit: cover; object-position: center 45%; }

/* no scrim by operator order: the image runs clean to its edge */
.studio-line { position: relative; z-index: 1; }

/* per mockup: Arial Regular, doubled kerning, champagne, rose dot;
   trailing letter-space compensated so the line centers true.
   Side padding keeps wrapped lines off the screen edge on mobile,
   aligned with the content gutters below. */
.white-gap { padding-left: calc(var(--unit) * 2); padding-right: calc(var(--unit) * 2); }
.studio-line {
  text-align: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 1.4em;
  margin-right: -1.4em;
  text-transform: uppercase;
  /* literal chocolate in EVERY theme: the photo beneath never
     changes, so neither does the lettering */
  color: #241E19;
}
.studio-line .mid-dot { color: #C99A93; /* literal rose, same logic */ }

/* ---------- section rhythm ---------- */

section { padding: calc(var(--unit) * 5) 0; }
section.white-gap {
  padding: calc(var(--unit) * 2) calc(var(--unit) * 2) 0;
}
section.hero-split { padding: 0; }

.band-ivory { background: var(--ivory); border-bottom: var(--hairline); }
.band-pearl { background: var(--pearl); }

/* ---------- hero split: content left, giant picture right ---------- */

.main-split {
  display: grid;
  grid-template-columns: 1fr;
}

.rail-pad {
  padding: calc(var(--unit) * 5) calc(var(--unit) * 2);
  display: grid;
  gap: calc(var(--unit) * 3);
  align-content: start;
}

.content-zone { display: grid; gap: calc(var(--unit) * 1.5); }

/* hero copy: real words instead of blocked slots */
.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--rose);
  line-height: 1.25;
}
.hero-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.85;
}
.hero-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.75;
  max-width: 46ch;
}
.hero-cta {
  border: none;
  background: var(--ink);
  color: var(--on-ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 11px 30px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  justify-self: start;
  margin-top: calc(var(--unit) * 1);
}
.hero-cta:hover { background: var(--rose-vivid); }

/* section heads: real titles */
.sec-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sec-sub {
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 0.03em;
}

.article-photo { max-width: 560px; }
/* the long cut waits behind the short one; the collapse reveals it */
.article-photo .art-b { display: none; }
.main-split.collapsed .article-photo .art-a { display: none; }
.main-split.collapsed .article-photo .art-b { display: block; }
.main-split.collapsed .article-photo { max-width: 1000px; }

/* giant panel: flush right, top to bottom of THIS section only */
.giant-panel { position: relative; }

.giant-panel .clip { overflow: hidden; height: 100%; }

.giant-panel .ph-card.giant { height: 100%; }
.giant-panel .ph-card.giant .frame {
  width: 100%;
  height: 100%;
  object-fit: cover; /* real photos crop gracefully to the panel */
}

/* rose dot: rides the panel's left edge, on top of the sliver */
.dot-toggle {
  position: absolute;
  left: -14px; /* centered on the panel's left edge */
  top: 40px;   /* near the top, offset off the edge */
  width: 27px; /* circle reduced 25%; arrow size unchanged */
  height: 27px;
  border: none;
  border-radius: 50%;
  background: var(--rose);
  display: none; /* desktop control; mobile build differs, later stage */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  padding: 0;
}
.dot-toggle img { width: 22px; height: 22px; transition: transform 0.3s ease; }
.main-split.collapsed .dot-toggle img { transform: scaleX(-1); }

/* ---------- placeholder image cards ---------- */

.ph-card {
  position: relative;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ph-card .frame { width: 100%; height: auto; }

.ph-card .brief {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border: var(--hairline);
  padding: calc(var(--unit) * 1.5) calc(var(--unit) * 2);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  max-width: 80%;
}
.ph-card .brief strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
}

/* ---------- section heads + gallery grid ---------- */

.section-head {
  display: grid;
  gap: var(--unit);
  margin-bottom: calc(var(--unit) * 3);
}
.section-head .rule {
  width: 48px;
  height: 2px;
  background: var(--champagne);
}
.section-head .title-slot {
  width: 220px;
  height: 18px;
  background: var(--bone);
  border-radius: var(--radius);
}

.card-grid { display: grid; gap: calc(var(--unit) * 3); }

/* ---------- schedule zone (skeleton) ---------- */

.sched {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: calc(var(--unit) * 3);
  display: grid;
  gap: calc(var(--unit) * 2);
}
.sched .strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--unit);
}
.sched .day {
  height: 56px;
  background: var(--porcelain);
  border: var(--hairline);
  border-radius: var(--radius);
}
.sched .day.active { background: var(--ivory); border-color: var(--rose); }
.sched .slotline {
  height: 40px;
  background: var(--porcelain);
  border: var(--hairline);
  border-radius: var(--radius);
}
.sched .slotline.booked { background: var(--pearl); }

/* feature showcase: tiles up top, detail boxes below */
#feat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--unit);
}
.feat {
  border: var(--hairline);
  border-radius: var(--radius-btn);
  background: var(--porcelain);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: bold;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 2px;
  cursor: pointer;
}
.feat:hover { background: var(--ivory); }
.feat.sel {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--on-accent);
}
#feat-details { display: grid; gap: calc(var(--unit) * 1.5); margin-top: calc(var(--unit) * 1); }
.feat-detail {
  height: auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: calc(var(--unit) * 1.5);
  padding: 8px calc(var(--unit) * 1.5);
  font-size: 12.5px;
  line-height: 1.5;
}
.feat-detail::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose-vivid);
  flex: none;
}

@media (min-width: 840px) {
  #feat-strip { grid-template-columns: repeat(7, 1fr); }
  .feat { font-size: 10px; }
  .hero-title { font-size: 28px; }
}

/* ---------- footer ---------- */

footer {
  background: var(--ink);
  color: var(--on-ink);
  padding: calc(var(--unit) * 5) 0 calc(var(--unit) * 8);
}
footer .container {
  display: grid;
  gap: calc(var(--unit) * 3);
  justify-items: center;
}
footer .lockup-rev { height: 20px; }
footer .goldrule { width: 64px; height: 1px; background: var(--champagne); }
footer .caption {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
}
footer .copyright {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--on-ink);
  opacity: 0.5;
}

/* ---------- bottom tab bar (mobile app method) ---------- */

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--tabbar-h);
  background: var(--white);
  border-top: var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.tabbar .tab { width: 24px; height: 24px; opacity: 0.85; }

body { padding-bottom: var(--tabbar-h); } /* clear the fixed bar */

/* mobile: giant panel stacks as a tall block under the article zone */
.giant-panel { min-height: 60vh; }

/* ---------- desktop ---------- */

@media (min-width: 840px) {
  .bar-choc { height: 61px; }
  .motif-logo { height: 16px; }
  .bar-lockup { min-height: 76px; }
  .bar-lockup .container { min-height: 76px; }
  .bar-lockup .lockup { height: 28.5px; } /* reduced 25% */

  /* logo pegged to the screen's left edge with a fixed buffer
     (~0.65in at 96dpi), independent of viewport scale; the strip
     ignores the centered container on desktop */
  .bar-lockup .container {
    max-width: none;
    padding-left: 62px;
    padding-right: 62px;
  }
  .bar-lockup nav { display: flex; margin-left: auto; }
  .theme-shell { margin-left: 0; }
  .bar-lockup .menu-btn { display: none; }
  .mobile-menu { display: none !important; }

  .white-gap { min-height: 320px; }
  .studio-line { font-size: 16.5px; }

  .main-split {
    grid-template-columns: minmax(0, 1fr) 710px; /* +30% again */
    transition: grid-template-columns 0.4s ease;
  }
  .main-split.collapsed { grid-template-columns: minmax(0, 1fr) 20px; }

  .giant-panel { min-height: 0; }

  /* card keeps full width; the shrinking column clips it, leaving the
     left sliver visible at the page's right edge */
  .giant-panel .ph-card.giant { width: 710px; max-width: none; }
  .main-split.collapsed .giant-panel .brief { visibility: hidden; }

  .dot-toggle { display: flex; }

  /* center the left content in the space remaining beside the picture */
  .rail-pad {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding-left: calc(var(--unit) * 3);
    padding-right: calc(var(--unit) * 3);
  }
  /* collapsed: the whole area opens to the long cut's width and the
     text gets room to breathe */
  .main-split.collapsed .rail-pad { max-width: 1048px; }
  .main-split.collapsed .hero-copy { max-width: 62ch; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }

  .tabbar { display: none; }
  body { padding-bottom: 0; }
}
