﻿/* ================================================================
   INDIGO - Pre-Order Landing Page Styles  v2
================================================================ */
:root {
  --color-bg:          #080a0f;
  --color-surface:     #0d1117;
  --color-border:      rgba(160, 165, 170, 0.22);
  --color-gold:        #A0A5AA;
  --color-gold-light:  #C8C2B0;
  --color-gold-warm:   #c9a84c;
  --color-gold-dim:    rgba(160, 165, 170, 0.35);
  --color-off-white:   #e8e0d0;
  --color-muted:       rgba(232, 224, 208, 0.52);
  --ease-out-quart:    cubic-bezier(0.25, 1, 0.5, 1);
  --font-display:      'Cinzel Decorative', serif;
  --font-heading:      'Cinzel', serif;
  --font-body:         'EB Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

@font-face {
  font-family: 'GoudyOldStyleBT-Bold';
  src: url('../Assets/GoudyOldStyleBT-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TrajanPro-Bold';
  src: url('../Assets/TrajanPro-Bold.otf') format('opentype'),
       url('../Assets/TrajanPro-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: #000;
  color: var(--color-off-white);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ----------------------------------------------------------------
   PAGE WRAPPER
---------------------------------------------------------------- */
.po-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 1.5rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
.po-logo-link {
  display: inline-block;
  line-height: 0;
}

/* ----------------------------------------------------------------
   BACK BUTTON
---------------------------------------------------------------- */
.po-back-btn {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  font-family: 'GoudyOldStyleBT-Bold', Georgia, serif;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 999;
}

.po-back-btn:hover {
  opacity: 1;
}

/* ----------------------------------------------------------------
   HEADER
---------------------------------------------------------------- */
.po-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.po-logo {
  display: block;
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.8));
}

.po-subtitle-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
}

.po-subtitle-img {
  display: block;
  height: 27px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.7));
}

.po-native-img {
  display: block;
  height: 19px;
  width: auto;
  opacity: 0.8;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
}

.po-tagline-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-top: 0.2rem;
  opacity: 0.88;
}

/* ----------------------------------------------------------------
   DIVIDER
---------------------------------------------------------------- */
.po-divider {
  width: min(480px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
  margin: 0 auto 0.9rem;
}

/* ----------------------------------------------------------------
   CONTENT ROW
---------------------------------------------------------------- */
.po-content-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2.8rem;
}

/* ---- Cover ---- */
.po-cover-wrap {
  position: relative;
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.po-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(160,165,170,0.15),
    0 16px 60px rgba(0,0,0,0.9),
    0 0 80px rgba(201,168,76,0.1);
  transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s;
}

.po-cover:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(160,165,170,0.25),
    0 24px 80px rgba(0,0,0,0.95),
    0 0 100px rgba(201,168,76,0.18);
}

.po-cover-glow {
  position: absolute;
  inset: -24px;
  border-radius: 6px;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---- Excerpt / Blurb — full width below the content row ---- */
.po-blurb {
  width: 100%;
  text-align: left;
  margin-bottom: 2.8rem;
}

.po-blurb-eyebrow {
  font-family: 'TrajanPro-Bold', 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 1.1rem;
  opacity: 0.85;
}

.po-blurb p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  color: var(--color-off-white);
  opacity: 0.92;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.po-blurb p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   FORM CARD — fills remaining width in content row
---------------------------------------------------------------- */
.po-form-card {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* ---- Fill images below form (desktop only) ---- */
.po-fill-images {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  margin-top: 0.6rem;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
}

.po-fill-img {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  display: block;
  opacity: 0.85;
}

/* MailerLite embed fills the card */
.po-form-card .ml-embedded {
  width: 100%;
}

.po-form-title {
  font-family: 'TrajanPro-Bold', 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  text-align: center;
  margin-bottom: 0.25rem;
}

.po-form-subtitle {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--color-muted);
  text-align: center;
  margin-top: auto;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.po-field-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.po-field-row .po-field {
  flex: 1 1 0;
}

.po-field {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.45rem;
}

.po-label {
  font-family: 'GoudyOldStyleBT-Bold', Georgia, serif;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 0;
  margin-bottom: 0.12rem;
}

.po-input,
.po-select {
  width: 100%;
  background: rgba(8, 10, 15, 0.7);
  border: 1px solid rgba(160, 165, 170, 0.28);
  border-radius: 3px;
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.po-input::placeholder { color: rgba(232, 224, 208, 0.28); font-style: italic; }

.po-input:focus,
.po-select:focus {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.po-select-wrap { position: relative; }

.po-select-wrap::after {
  content: '\25BE';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  pointer-events: none;
  font-size: 0.85rem;
}

.po-select option { background: var(--color-surface); color: var(--color-off-white); }

.po-submit {
  display: block;
  width: auto;
  margin: 0.55rem auto 0;
  padding: 0.28rem 1.4rem;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.55);
  border-radius: 3px;
  color: var(--color-gold-light);
  font-family: 'TrajanPro-Bold', 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.po-submit:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.85);
  color: #e8d9a8;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.15);
}

.po-privacy {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 0.3rem;
  font-style: italic;
  opacity: 0.7;
}

/* ----------------------------------------------------------------
   CONFIRMATION STATE
---------------------------------------------------------------- */
.po-confirm { display: none; text-align: center; padding: 1rem 0 0.5rem; }
.po-confirm.visible { display: block; }

.po-confirm-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-gold-warm);
  line-height: 1;
}

.po-confirm-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-warm);
  margin-bottom: 0.6rem;
}

.po-confirm-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.po-footer {
  margin-top: 3.5rem;
  text-align: center;
}

.po-footer-logo {
  height: 22px;
  opacity: 0.32;
  filter: grayscale(1);
}

.po-footer-text {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.6rem;
  opacity: 0.45;
}

/* ----------------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------------- */
@keyframes poFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.po-anim-1 { animation: poFadeUp 1s var(--ease-out-quart) 0.15s both; }
.po-anim-2 { animation: poFadeUp 1s var(--ease-out-quart) 0.35s both; }
.po-anim-3 { animation: poFadeUp 1s var(--ease-out-quart) 0.55s both; }
.po-anim-4 { animation: poFadeUp 1s var(--ease-out-quart) 0.75s both; }
.po-anim-5 { animation: poFadeUp 1s var(--ease-out-quart) 0.95s both; }

/* ----------------------------------------------------------------
   MOBILE - stack cover above excerpt
---------------------------------------------------------------- */
@media (max-width: 768px) {
  .po-page {
    padding: 1rem 1.2rem 4rem;
  }

  .po-field-row {
    flex-direction: column;
    gap: 0;
  }

  .po-logo { height: 30px; }

  .po-content-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .po-left-col {
    width: 100%;
  }

  .po-cover-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .po-cover {
    width: min(85vw, 380px);
    height: auto;
    object-fit: unset;
  }

  .po-form-card {
    width: 100%;
  }

  .po-blurb {
    margin-top: 1.2rem;
  }

  .po-blurb p {
    font-size: 1rem;
    text-align: justify;
  }

  .po-blurb-eyebrow {
    text-align: center;
  }

  .po-fill-images {
    display: none;
  }
}
