/* =========================================================
   Cuebeam — one type voice (Schibsted Grotesk + Work Sans),
   two color themes. The photography carries the drama.
   ========================================================= */

:root {
  --violet: #5B2A86;
  --magenta: #C13584;
  --teal: #1FA9A3;
  --red: #E23B3B;
  --black: #1A1A1E;
  --white: #F5EFE6;
  --maxw: 1180px;
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}

html[data-theme="light"] {
  --bg: var(--white);
  --text: var(--black);
  --text-soft: rgba(26,26,30,.65);
  --text-softer: rgba(26,26,30,.65);
  --border: rgba(26,26,30,.12);
  --card-bg: rgba(26,26,30,.03);
  --nav-bg: rgba(245,239,230,.88);
  --accent: var(--violet);
  --ph-bg: #d9cdb8;
  --ph-label: rgba(26,26,30,.45);
}

html[data-theme="dark"] {
  --bg: var(--black);
  --text: var(--white);
  --text-soft: rgba(245,239,230,.6);
  --text-softer: rgba(245,239,230,.52);
  --border: rgba(245,239,230,.12);
  --card-bg: rgba(245,239,230,.04);
  --nav-bg: rgba(26,26,30,.88);
  --accent: var(--teal);
  --ph-bg: #17171b;
  --ph-label: rgba(245,239,230,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background .35s ease, color .35s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
picture { display: contents; } /* layout-transparent so % heights resolve against grid cells */
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.ph-block {
  background-color: var(--ph-bg);
  background-image: repeating-linear-gradient(45deg, rgba(128,128,128,.10) 0, rgba(128,128,128,.10) 2px, transparent 2px, transparent 14px);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.ph-label { font: 500 11px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .02em; color: var(--ph-label); padding: 0 20px; }

/* ---------- skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--violet); color: #fff; padding: 10px 18px; font-size: 13px; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }

/* ---------- scroll reveal ---------- */
.sec-anim > * { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.sec-anim.in-view > * { opacity: 1; transform: translateY(0); }
.sec-anim.in-view > *:nth-child(1) { transition-delay: 0s; }
.sec-anim.in-view > *:nth-child(2) { transition-delay: .08s; }
.sec-anim.in-view > *:nth-child(3) { transition-delay: .16s; }
.sec-anim.in-view > *:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.nav-links { display: none; align-items: center; gap: 28px; font-size: 13.5px; }
.nav-links a { color: var(--text-soft); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links.is-open-mobile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  position: absolute; top: 100%; left: 0; right: 0; padding: 20px 24px 26px;
  background: var(--nav-bg); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px);
}
.btn-book { font: 500 13px var(--font-body); background: var(--red) !important; color: #fff; padding: 10px 18px; border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle-track { display: inline-flex; align-items: center; width: 40px; height: 22px; border-radius: 20px; background: var(--border); padding: 3px; transition: background .3s; }
.theme-toggle-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .3s; }
html[data-theme="dark"] .theme-toggle-thumb { transform: translateX(18px); background: var(--teal); }

.nav-burger { display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.nav-burger span { width: 20px; height: 1.5px; background: var(--text); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,15,22,.5) 0%, rgba(18,15,22,.42) 45%, rgba(18,15,22,.68) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; color: var(--white); max-width: var(--maxw); margin: 0 auto; }
.hero-tag { font: 600 10.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(245,239,230,.85); margin: 0 0 18px; }
.hero-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 44px; line-height: 1.03; margin: 0 0 16px; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.hero-title em { font-style: italic; color: var(--magenta); }
.hero-sub { font-size: 15px; line-height: 1.6; font-weight: 300; opacity: .92; max-width: 400px; margin: 0 auto 26px; }
.hero-scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 1px; height: 28px; background: linear-gradient(to bottom, transparent, rgba(245,239,230,.7)); }

.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 15px 26px; border-radius: 2px; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; transition: transform .2s, box-shadow .2s; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(226,59,59,.5); }
.btn-ghost { color: var(--text-soft); font-size: 13px; padding: 12px 6px; }

/* =========================================================
   SECTIONS (generic)
   ========================================================= */
.section { padding: 52px 0; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 11px var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; font-size: 30px; line-height: 1.15; margin: 0 0 26px; max-width: 560px; }

/* ---------- pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.pillar { position: relative; padding-left: 0; }
.pillar h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.pillar p { font-size: 13.5px; line-height: 1.6; color: var(--text-soft); font-weight: 300; margin: 0; max-width: 340px; }

/* ---------- corporate events ---------- */
.corp-section { padding-top: 0; }
.corp-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.corp-text { font-size: 13.5px; line-height: 1.7; color: var(--text-soft); font-weight: 300; margin: 0 0 18px; max-width: 460px; }
.corp-list { margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.corp-list li { font-size: 13px; line-height: 1.55; color: var(--text-soft); padding-left: 18px; position: relative; font-weight: 300; max-width: 440px; }
.corp-list li::before { content: '—'; position: absolute; left: 0; color: var(--text-softer); }
.corp-media { border-radius: 6px; overflow: hidden; }
.corp-media img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; object-position: center 55%; display: block; }

/* ---------- four cues (photo grid) ---------- */
.cue-section { padding-top: 0; }
.cue-intro { font-size: 13.5px; line-height: 1.7; color: var(--text-soft); font-weight: 300; margin: -10px 0 22px; max-width: 560px; }
.cue-grid { display: grid; grid-template-columns: 1fr; gap: 28px 20px; }
.cue-card { margin: 0; }
.cue-card picture, .cue-card img { border-radius: 6px; overflow: hidden; }
.cue-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.cue-card figcaption { font-size: 13px; line-height: 1.6; color: var(--text-soft); font-weight: 300; margin-top: 10px; }
.cue-card figcaption strong { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--nav-bg); backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
.mobile-cta[hidden] { display: none; }
.mobile-cta .btn-cta { width: 100%; justify-content: center; }
@media (min-width: 720px) { .mobile-cta { display: none !important; } }

/* ---------- work / portfolio ---------- */
.work-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.work-caption { font-size: 12.5px; line-height: 1.6; color: var(--text-softer); font-weight: 300; max-width: 640px; margin: 0 0 20px; }
.link-arrow { font-size: 12.5px; color: var(--violet); font-weight: 600; white-space: nowrap; }
html[data-theme="dark"] .link-arrow { color: var(--teal); }
.link-arrow--btn { background: none; border: none; font-family: inherit; }
.work-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 190px 190px; gap: 3px; padding: 0 3px; }
.work-cell { position: relative; overflow: hidden; }
.work-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.work-cell:hover img { transform: scale(1.05); }
.work-img--rig { object-position: center 58%; }
.work-img--candid { object-position: center 38%; }
.work-img--crowd { object-position: center 45%; }
.work-img--ensemble { object-position: center 32%; }
.work-img--sax { object-position: center 40%; }
.work-img--duet { object-position: center 35%; }
.work-img--redorange { object-position: center 42%; }
.work-cell--big { grid-row: span 2; }
.work-grid--more { grid-template-columns: repeat(2, 1fr); grid-template-rows: 190px 190px; margin-top: 3px; }
.work-grid--more[hidden] { display: none; }
.work-more-wrap { text-align: center; padding: 16px 24px 0; }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.how-step { background: var(--bg); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.how-num { font-family: var(--font-display); font-size: 24px; color: var(--violet); }
html[data-theme="dark"] .how-num { color: var(--magenta); }
.how-label { font-size: 13px; font-weight: 500; }

/* ---------- pricing ---------- */
.pricing-sub { font-size: 13.5px; color: var(--text-soft); max-width: 520px; margin: -12px 0 28px; font-weight: 300; line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.price-card { border: 1px solid var(--border); border-radius: 6px; padding: 26px 24px; position: relative; }
.price-card--featured { border: 1.5px solid var(--violet); background: rgba(91,42,134,.05); }
html[data-theme="dark"] .price-card--featured { border-color: var(--magenta); background: rgba(193,53,132,.08); }
.price-badge { position: absolute; top: -11px; left: 24px; background: var(--violet); color: #fff; font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; letter-spacing: .03em; }
html[data-theme="dark"] .price-badge { background: var(--magenta); }
.price-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.price-tagline { font-size: 12px; color: var(--text-softer); margin-bottom: 16px; }
.price-amount { font-family: var(--font-display); font-size: 26px; margin-bottom: 18px; }
.price-includes li { font-size: 12.5px; line-height: 1.7; color: var(--text-soft); padding-left: 16px; position: relative; font-weight: 300; }
.price-includes li::before { content: '—'; position: absolute; left: 0; color: var(--text-softer); }
.pricing-foot { text-align: center; margin-top: 28px; }

/* ---------- local bands & live performance ---------- */
.band-section { padding-top: 0; }
.band-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.band-text { font-size: 13.5px; line-height: 1.7; color: var(--text-soft); font-weight: 300; margin: 0 0 18px; max-width: 460px; }
.band-list { margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.band-list li { font-size: 13px; line-height: 1.55; color: var(--text-soft); padding-left: 18px; position: relative; font-weight: 300; max-width: 440px; }
.band-list li::before { content: '—'; position: absolute; left: 0; color: var(--text-softer); }
.band-media { border-radius: 6px; overflow: hidden; }
.band-media img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; object-position: center 42%; display: block; }

/* ---------- pull quote (testimonial) ---------- */
.quote-section { padding-top: 0; }
.pull-quote { margin: 0; max-width: 680px; border-left: 3px solid var(--violet); padding: 6px 0 6px 26px; }
html[data-theme="dark"] .pull-quote { border-left-color: var(--magenta); }
.pull-quote blockquote { margin: 0 0 14px; font-family: var(--font-display); font-size: 22px; line-height: 1.45; font-weight: 500; }
.pull-quote figcaption { font-size: 12.5px; color: var(--text-softer); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- operator ---------- */
.operator-section { padding-top: 0; }
.operator-text { font-size: 14.5px; line-height: 1.75; color: var(--text-soft); font-weight: 300; margin: 0; max-width: 560px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 22px; }
.faq-item h3 { font-size: 15px; margin: 0 0 6px; font-weight: 600; }
.faq-item p { font-size: 13.5px; line-height: 1.65; color: var(--text-soft); font-weight: 300; margin: 0; max-width: 620px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: 56px 24px 64px; margin-top: 8px; background: var(--black); color: var(--white); text-align: center; overflow: hidden; }
html[data-theme="dark"] .cta-banner { border-top: 1px solid var(--border); }
.cta-inner { position: relative; max-width: 460px; margin: 0 auto; }
.cta-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0 0 10px; }
.cta-sub { font-size: 13px; opacity: .78; font-weight: 300; margin: 0 0 24px; }
.dot { width: 24px; height: 3px; border-radius: 2px; background: rgba(245,239,230,.25); }
.dot--active { background: var(--red); }

/* ---------- footer ---------- */
.footer { background: var(--black); color: rgba(245,239,230,.5); border-top: 1px solid rgba(245,239,230,.1); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 12px; }
.footer-inner a:hover { color: var(--white); }

/* =========================================================
   WIZARD MODAL
   ========================================================= */
.wizard-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,12,.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; padding: 20px;
}
.wizard-overlay.is-open { opacity: 1; pointer-events: auto; }
.wizard {
  position: relative; width: 100%; max-width: 440px; max-height: 88vh; overflow-y: auto;
  background: var(--bg); color: var(--text); border-radius: 12px; padding: 36px 30px 30px;
  transform: translateY(16px); transition: transform .3s ease; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
}
.wizard-overlay.is-open .wizard { transform: translateY(0); }
.wizard-close { position: absolute; top: 14px; right: 16px; font-size: 26px; line-height: 1; color: var(--text-softer); }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 26px; }
.wizard-progress .dot { flex: 1; background: var(--border); }
.wizard-step h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 8px; font-weight: 700; }
.wizard-hint { font-size: 12.5px; color: var(--text-softer); margin: 0 0 20px; font-weight: 300; }
.wizard-step input[type="text"], .wizard-step input[type="date"], .wizard-step input[type="email"], .wizard-step input[type="tel"], .wizard-step select, .wizard-step textarea {
  width: 100%; font: 400 14px var(--font-body); color: var(--text); background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 6px; padding: 13px 14px; margin-bottom: 12px; resize: vertical;
}
.wizard-step input:focus, .wizard-step select:focus, .wizard-step textarea:focus { outline: none; border-color: var(--violet); }
.wizard-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wizard-option { border: 1px solid var(--border); border-radius: 20px; padding: 10px 16px; font-size: 13px; color: var(--text-soft); transition: all .15s; }
.wizard-option:hover { border-color: var(--violet); }
.wizard-option.is-selected { background: var(--violet); border-color: var(--violet); color: #fff; }
html[data-theme="dark"] .wizard-option.is-selected { background: var(--magenta); border-color: var(--magenta); }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.wizard-nav .btn-cta:disabled { opacity: .4; pointer-events: none; }
.wizard-step--success { text-align: center; padding: 20px 0; }
.wizard-step--success h3 { font-size: 24px; }

/* honeypot — off-screen, never display:none (some bots skip hidden fields) */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }
.cf-turnstile { margin-bottom: 14px; min-height: 65px; }

/* estimate step */
.wizard-step--estimate { text-align: center; padding: 8px 0 4px; }
.estimate-card { border: 1.5px solid var(--violet); border-radius: 6px; padding: 20px 22px; margin: 4px 0 16px; text-align: left; background: rgba(91,42,134,.05); }
html[data-theme="dark"] .estimate-card { border-color: var(--magenta); background: rgba(193,53,132,.08); }
.estimate-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.estimate-price { font-family: var(--font-display); font-size: 24px; margin-bottom: 12px; }
.estimate-includes li { font-size: 12.5px; line-height: 1.7; color: var(--text-soft); padding-left: 16px; position: relative; font-weight: 300; }
.estimate-includes li::before { content: '—'; position: absolute; left: 0; color: var(--text-softer); }

/* =========================================================
   TABLET / DESKTOP
   ========================================================= */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .hero-title { font-size: 60px; }
  .cue-grid { grid-template-columns: repeat(2, 1fr); }
  .cue-card img { height: 260px; }
  .hero-sub { font-size: 16px; max-width: 460px; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .price-card--featured { transform: translateY(-10px); }
  .corp-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .corp-media img { max-height: 420px; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .band-media img { max-height: 420px; }
  .faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sec-anim > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .work-cell img { transition: none; }
}

@media (min-width: 1080px) {
  .hero { height: 92vh; min-height: 640px; }
  .hero-content { padding: 0 24px; }
  .hero-tag { font-size: 12px; letter-spacing: .14em; margin-bottom: 22px; }
  .hero-title { font-size: 84px; }
  .hero-sub { font-size: 17px; max-width: 520px; margin-bottom: 34px; }
  .section { padding: 76px 0; }
  .section-title { font-size: 38px; }
  .work-grid { grid-template-rows: 280px 280px; }
  .work-grid--more { grid-template-rows: 260px; }
  .cta-title { font-size: 38px; }
  .cta-banner { padding: 72px 24px 84px; }
}
