/* =====================================================
   VELLA · LANDING
   Stripped down. Photos do the work. One conversion event.
   ===================================================== */

:root {
  --bg: #080809;
  --bg-soft: #0e0e10;
  --bg-card: #131316;
  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(212, 175, 55, 0.22);

  --text: #f3f3f5;
  --text-muted: #a4a8af;
  --text-dim: #6e747c;

  --orange: #E8520A;
  --orange-hot: #ff6418;
  --gold: #D4AF37;
  --blue: #3A5F9F;
  --graphite: #6E747C;

  --max: 1240px;
  --shell: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; background: var(--bg); }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 12px;
  background: var(--orange); color: white; padding: 10px 16px;
  border-radius: 6px; z-index: 999;
  font-size: 13px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

::selection { background: var(--gold); color: var(--bg); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px var(--shell);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(8, 8, 9, 0.45);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(8, 8, 9, 0.82);
  border-bottom-color: var(--border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; height: 28px; flex-shrink: 0; }
.logo img { height: 100%; width: auto; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.btn-cta {
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
}
.btn-cta:hover {
  background: var(--orange-hot);
  transform: translateY(-1px);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 100px var(--shell) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/img/photo-hero-coastal.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.35) 0%, rgba(8, 8, 9, 0.1) 30%, rgba(8, 8, 9, 0.5) 75%, rgba(8, 8, 9, 0.95) 100%),
    linear-gradient(90deg, rgba(8, 8, 9, 0.75) 0%, rgba(8, 8, 9, 0.35) 45%, rgba(8, 8, 9, 0.05) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 auto 0 max(var(--shell), 5vw);
}

.kicker {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0.95;
}
.hero h1 {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  color: var(--text);
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  margin-bottom: 32px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

/* ============ SIGNUP FORM ============ */
.signup {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin-bottom: 12px;
}
.signup input {
  flex: 1;
  min-width: 0;
  background: rgba(8, 8, 9, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.signup input:focus { border-color: var(--orange); }
.signup input::placeholder { color: rgba(255, 255, 255, 0.45); }
.signup button {
  background: var(--orange);
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.signup button:hover {
  background: var(--orange-hot);
  transform: translateY(-1px);
}
.signup-success {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.06);
  margin-bottom: 12px;
}
.signup-success[hidden] { display: none; }
.signup-note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.signup-large input { padding: 17px 20px; font-size: 16px; }
.signup-large button { padding: 17px 26px; font-size: 15px; }

.social-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.social-row a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: border-color 0.2s;
}
.social-row a:hover { border-bottom-color: var(--gold); }
.social-row span { color: var(--text-dim); }

.social-row-hero {
  justify-content: flex-start;
  margin-top: 22px;
  padding-top: 18px;
  max-width: 460px;
}

@media (max-width: 560px) {
  .signup { flex-direction: column; }
}

/* ============ BAND (generic section) ============ */
.band {
  padding: clamp(80px, 12vh, 140px) var(--shell);
  position: relative;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.container.narrow { max-width: 760px; }
.container.center { text-align: center; }
.container.center .signup,
.container.center .signup-success { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

h2 {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin-bottom: 26px;
}
h2 .gold { color: var(--gold); }
h2 .orange { color: var(--orange); }

.band-head { max-width: 720px; margin-bottom: 56px; }
.band-lead {
  font-size: clamp(16px, 1.55vw, 19px);
  color: var(--text);
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.band-body {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}

/* ============ INTRO BAND ============ */
.band-intro { padding-top: clamp(100px, 14vh, 160px); padding-bottom: clamp(60px, 9vh, 110px); }
.lede {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 400;
}
.signed {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
.signed-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* ============ ATLAS ============ */
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.atlas-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px 20px;
  isolation: isolate;
  transition: transform 0.3s var(--ease);
}
.atlas-tile::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--tile-bg);
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.atlas-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 9, 0) 30%, rgba(8, 8, 9, 0.85) 100%);
  z-index: -1;
}
.atlas-tile:hover { transform: translateY(-3px); }
.atlas-tile:hover::before { transform: scale(1.04); }
.atlas-tile-label {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: white;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  margin-bottom: 4px;
}
.atlas-tile-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@media (max-width: 760px) {
  .atlas-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .atlas-tile-label { font-size: 22px; }
  .atlas-tile-meta { font-size: 9px; }
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px clamp(24px, 4vw, 48px);
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.figure { display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 720px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
}
.figure-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: 0.01em;
  color: var(--gold);
  line-height: 1;
}
.figure-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============ JOURNEY (photo band) ============ */
.band-journey {
  position: relative;
  min-height: clamp(560px, 85vh, 800px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.journey-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/img/photo-journey.jpg');
  background-size: cover;
  background-position: center 40%;
}
.journey-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.92) 0%, rgba(8, 8, 9, 0.7) 35%, rgba(8, 8, 9, 0.25) 70%, rgba(8, 8, 9, 0) 100%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.3) 0%, transparent 30%, transparent 70%, rgba(8, 8, 9, 0.55) 100%);
}
.journey-content {
  position: relative; z-index: 2;
  max-width: 620px;
  padding: clamp(80px, 12vh, 120px) var(--shell);
  margin-left: max(var(--shell), 4vw);
  margin-right: auto;
}
@media (min-width: 1100px) {
  .journey-content { margin-left: 6vw; }
}
.on-photo { color: var(--text); text-shadow: 0 4px 32px rgba(0, 0, 0, 0.7); }
.eyebrow-light { color: var(--gold); }

/* ============ CONSTELLATION ============ */
.band-constellation {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(58, 95, 159, 0.07) 0%, transparent 55%),
    var(--bg);
}
.signed-mono {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 22px;
}

/* ============ SEE YOU SOON ============ */
.band-soon {
  position: relative;
  min-height: clamp(620px, 95vh, 880px);
  overflow: hidden;
  padding: 36px var(--shell);
}
.soon-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/img/photo-see-you-soon.jpg');
  background-size: cover;
  background-position: center 78%;
}
@media (max-width: 760px) {
  .band-soon { min-height: clamp(520px, 70vh, 640px); }
  .soon-photo { background-position: center 65%; }
}
.soon-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.4) 0%, rgba(8, 8, 9, 0) 25%, rgba(8, 8, 9, 0) 65%, rgba(8, 8, 9, 0.95) 100%);
}
.soon-stamp {
  position: relative; z-index: 2;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  max-width: var(--max);
  margin: 0 auto;
}

/* ============ CHALLENGES ============ */
.challenge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 5vw, 56px) clamp(32px, 4vw, 48px);
  padding-top: 8px;
}
.challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 24px 32px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.challenge:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.challenge-mark {
  position: relative;
  width: 84px;
  height: 92px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
  margin-bottom: 4px;
}
.challenge-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.challenge-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 36px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.challenge-icon img {
  width: 40px;
  height: 40px;
  display: block;
}
.challenge-type {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.challenge-name {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: 0.015em;
  color: var(--text);
  margin: 0;
  line-height: 1;
}
.challenge-desc {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.challenge-vella .challenge-type { color: #E8520A; }
.challenge-crested .challenge-type { color: #D4AF37; }
.challenge-smc .challenge-type { color: #5A88CC; }
.challenge-silent .challenge-type { color: #9966EE; }

@media (max-width: 720px) {
  .challenge-list { grid-template-columns: 1fr; }
}

/* ============ CREST ============ */
.band-crest {
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.03) 50%, transparent 100%);
  padding-top: clamp(30px, 5vh, 60px);
}
.crest-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.crest-mark {
  width: clamp(110px, 14vw, 150px);
  aspect-ratio: 80 / 92;
  flex-shrink: 0;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.25));
}
.crest-mark svg { width: 100%; height: 100%; }
.crest-row .eyebrow { margin-bottom: 14px; }
.crest-row h3 {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: 0.005em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}
.crest-row p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 620px;
}
@media (max-width: 720px) {
  .crest-row {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 22px;
  }
  .crest-mark { width: 96px; }
}
.crest-contact {
  margin-top: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.crest-contact a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: border-color 0.2s;
}
.crest-contact a:hover { border-bottom-color: var(--gold); }
@media (max-width: 600px) {
  .crest-row { grid-template-columns: 1fr; gap: 18px; }
}

/* ============ FINAL CTA ============ */
.band-final {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(232, 82, 10, 0.08) 0%, transparent 60%);
  text-align: center;
}
.band-final h2 { display: inline-block; }
.band-final .band-lead { margin: 0 auto 28px; }
.timeline {
  display: inline-flex;
  gap: 12px;
  margin: 0 auto 34px;
  flex-wrap: wrap;
  justify-content: center;
}
.timeline-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
}
.timeline-chip .t-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.timeline-chip .t-event {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--text);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 50px var(--shell) 70px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer-brand .logo { height: 32px; margin-bottom: 14px; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 13px;
  max-width: 330px;
  line-height: 1.55;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  max-width: 460px;
}
.footer-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-meta a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-meta a:hover { color: var(--gold); }
.footer-slogan {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: normal;
  text-align: right;
  max-width: 460px;
}
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-slogan { text-align: left; }
}

/* ============ MAILERLITE RELAY ============ */
/* The hidden embed form must remain in the DOM (so Mailerlite renders into it) but stay invisible. */
.ml-relay {
  position: fixed !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 90;
  background: var(--orange);
  color: white;
  padding: 16px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  transform: translateY(140%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 12px 32px rgba(232, 82, 10, 0.4);
}
.sticky-cta.visible { transform: translateY(0); }
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* ============ MOTION PREFS ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
