:root {
  --navy: #192448;
  --navy-dark: #0D1526;
  --gold: #C19860;
  --cream: #F4EFE3;
  --border: #E5E1D8;
  --text-dark: #192448;
  --text-muted: #5A5650;
  --text-light: #C9D2DE;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   MOBILE
   ============================================================ */

#app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand-panel {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 40px 24px;
  min-height: 100vh;
  width: 100%;
}

.brand-panel__inner { width: 100%; }

.hero-logo { width: 170px; margin-bottom: 28px; display: block; }

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 14px;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 0 22px;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hero-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #E5E1D8; line-height: 1.4; }
.hero-bullets .check { color: var(--gold); font-weight: 600; flex-shrink: 0; }
.hero-microcopy { text-align: center; font-size: 12px; color: #7E8CA3; margin: 12px 0 0; }

.asset-classes--mobile { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.asset-classes__label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 4px; }
.asset-card { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.asset-card__img { width: 100%; height: 160px; object-fit: cover; display: block; }
.asset-card__body { padding: 14px 16px; background: rgba(255,255,255,0.04); }
.asset-card__title { font-family: var(--font-serif); font-size: 16px; font-weight: 500; color: #fff; margin: 0 0 6px; }
.asset-card__desc { font-size: 12px; color: #C9D2DE; line-height: 1.6; margin: 0; }

.gallery-panel { display: none; }

.content-panel { flex: 1; display: flex; flex-direction: column; }

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  justify-content: center;
}

.step-inner { width: 100%; }
.step-inner--center { align-items: center; text-align: center; }

.hero-only-cta { display: block; }
.screen--start-prompt { display: none; }

.content-panel .screen[hidden] { display: none !important; }
.content-panel .screen:not([hidden]) { display: flex; min-height: 100vh; }

#app.is-stepping .brand-panel { display: none; }
#app.is-stepping .content-panel { display: flex; }
#app:not(.is-stepping) .content-panel { display: none; }

/* Buttons */
.btn { font-family: var(--font-sans); font-size: 16px; font-weight: 600; border: none; border-radius: 6px; padding: 16px 20px; cursor: pointer; transition: opacity 0.15s ease, transform 0.1s ease; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { opacity: 0.92; }
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--full { width: 100%; display: block; }
.btn--text { background: none; color: var(--text-muted); font-weight: 500; font-size: 14px; padding: 10px; text-decoration: underline; }

.progress-bar { display: flex; height: 3px; background: var(--border); border-radius: 2px; margin: 0 0 28px; overflow: hidden; }
.progress-bar__fill { height: 100%; background: var(--navy); border-radius: 2px; transition: width 0.3s ease; }

.step-label { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; font-weight: 500; }
.step-question { font-family: var(--font-serif); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--navy); margin: 0 0 8px; }
.step-subtext { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0 0 24px; }

.option-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.option-btn { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--text-dark); background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 16px 18px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: border-color 0.15s ease, background 0.15s ease; width: 100%; }
.option-btn:hover { border-color: var(--gold); background: var(--cream); }
.option-btn__arrow { color: var(--gold); font-size: 16px; opacity: 0; transition: opacity 0.15s ease; }
.option-btn:hover .option-btn__arrow { opacity: 1; }

.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-form input { font-family: var(--font-sans); font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 8px; outline: none; transition: border-color 0.15s ease; width: 100%; }
.contact-form input:focus { border-color: var(--navy); }
.contact-form .btn { margin-top: 8px; }
.form-error { color: #A32D2D; font-size: 13px; margin: 4px 0 0; }

.confirm-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-body { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0 auto 24px; text-align: center; }
.confirm-callout { border: 1.5px solid var(--gold); border-radius: 8px; padding: 14px 18px; font-size: 14px; font-weight: 500; color: var(--navy); display: block; }
.confirm-schedule-btn { text-decoration: none; text-align: center; display: block; margin-top: 14px; }

.back-btn { background: none; border: none; color: var(--text-muted); font-family: var(--font-sans); font-size: 14px; font-weight: 500; cursor: pointer; padding: 0; margin: 0 0 20px; display: flex; align-items: center; gap: 6px; opacity: 0.7; transition: opacity 0.15s ease; }
.back-btn:hover { opacity: 1; }

.brand-panel__how { display: none; }
.brand-panel__address { display: none; }

.start-prompt-inner { width: 100%; }
.start-prompt-headline { font-family: var(--font-serif); font-size: 28px; font-weight: 600; color: var(--navy); line-height: 1.25; margin: 0 0 28px; }
.start-prompt-benefits { display: flex; flex-direction: column; gap: 22px; margin: 0 0 36px; }
.start-prompt-benefit { display: flex; gap: 16px; align-items: flex-start; }
.start-prompt-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.start-prompt-benefit-title { font-size: 15px; font-weight: 600; color: var(--navy); margin: 0 0 4px; }
.start-prompt-benefit-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.start-prompt-microcopy { font-size: 12px; color: #8A8576; text-align: center; margin: 12px 0 0; }

.disclosure-footer { background: #0A1220; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.disclosure-text { font-size: 9.5px; color: #4A5A72; line-height: 1.6; text-align: center; margin: 0; }

/* ============================================================
   DESKTOP — CSS Grid, panels fill full viewport
   ============================================================ */

@media (min-width: 860px) {

  html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  #app {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 25% 37% 38%;
    grid-template-rows: 100vh;
    overflow: hidden;
    min-height: unset;
  }

  /* LEFT */
  .brand-panel {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: unset;
    overflow-y: auto;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 32px;
    background: var(--navy);
  }

  .brand-panel__inner { width: 100%; }
  .hero-logo { width: 160px; margin-bottom: 28px; }
  .hero-headline { font-size: 26px; margin-bottom: 12px; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-bullets { gap: 12px; margin-bottom: 28px; }
  .hero-bullets li { font-size: 13px; }
  .hero-only-cta { display: none !important; }
  .hero-microcopy { display: none; }
  .asset-classes--mobile { display: none; }

  .brand-panel__how { display: block; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
  .brand-panel__how-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 14px; display: block; }
  .brand-panel__how-step { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
  .brand-panel__how-step:last-child { margin-bottom: 0; }
  .brand-panel__how-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(193,152,96,0.15); border: 1px solid rgba(193,152,96,0.4); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--gold); font-weight: 600; flex-shrink: 0; }
  .brand-panel__how-step span { font-size: 12px; color: #C9D2DE; line-height: 1.6; }
  .brand-panel__address { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
  .brand-panel__address-name { font-size: 11px; color: #C9D2DE; font-weight: 500; margin: 0 0 5px; }
  .brand-panel__address-details { font-size: 10px; color: #5A6A82; line-height: 1.7; margin: 0; }

  /* MIDDLE */
  .gallery-panel {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--navy-dark);
    padding: 32px 24px;
    border-left: 1px solid rgba(255,255,255,0.07);
    border-right: 1px solid rgba(255,255,255,0.07);
  }

  .gallery-panel .asset-classes__label { font-size: 10px; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin: 0 0 14px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-panel .asset-card { border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.15s ease; display: flex; flex-direction: column; }
  .gallery-panel .asset-card:hover { border-color: rgba(193,152,96,0.5); }
  .gallery-panel .asset-card__img { width: 100%; height: 120px; object-fit: cover; display: block; flex-shrink: 0; }
  .gallery-panel .asset-card__body { padding: 10px 12px; background: rgba(255,255,255,0.05); flex: 1; display: flex; flex-direction: column; }
  .gallery-panel .asset-card__title { font-family: var(--font-serif); font-size: 12px; font-weight: 500; color: #fff; margin: 0 0 4px; }
  .gallery-panel .asset-card__desc { font-size: 10px; line-height: 1.5; color: #A8B8CC; flex: 1; margin: 0; }

  /* RIGHT */
  .content-panel {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex !important;
    flex-direction: column;
    background: #fff;
  }

  .screen {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
    min-height: 100%;
  }

  .step-inner { width: 100%; }

  #app.is-stepping .brand-panel { display: flex !important; }
  #app.is-stepping .gallery-panel { display: flex !important; }
  #app.is-stepping .content-panel { display: flex !important; }
  #app:not(.is-stepping) .content-panel { display: flex !important; }
  #app:not(.is-stepping) .content-panel .screen--start-prompt { display: flex !important; }

  .content-panel .screen[hidden] { display: none !important; }
  .content-panel .screen:not([hidden]) { display: flex; min-height: unset; }

  .screen--start-prompt { display: flex !important; align-items: center; justify-content: center; padding: 48px 52px; }

  .start-prompt-headline { font-size: 30px; margin-bottom: 32px; }
  .start-prompt-benefits { gap: 24px; margin-bottom: 40px; }
  .start-prompt-benefit-title { font-size: 16px; }
  .start-prompt-benefit-desc { font-size: 14px; }

  .step-question { font-size: 30px; }
  .progress-bar { margin-bottom: 32px; height: 4px; }
  .step-label { font-size: 14px; margin-bottom: 12px; }

  .option-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
  .option-btn { justify-content: space-between; text-align: left; padding: 22px 28px; font-size: 17px; }
  .option-btn__arrow { display: block; opacity: 0.4; font-size: 20px; }
  .option-btn:hover .option-btn__arrow { opacity: 1; }

  .contact-form { gap: 16px; margin-top: 20px; }
  .contact-form input { padding: 18px 20px; font-size: 16px; }
  .contact-form .btn { padding: 20px; font-size: 17px; margin-top: 8px; }

  .disclosure-footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; padding: 10px 40px; }
  .disclosure-text { font-size: 9px; }
  .screen { padding-bottom: 48px; }
}
