/* ========================================================================
   Launch Advisory — launchadvisory.io
   ======================================================================== */

:root {
  --navy: #0A1628;
  --navy-deep: #070F1C;
  --charcoal: #0F1620;
  --charcoal-2: #141B27;
  --bronze: #B08D57;
  --bronze-soft: #C9A877;
  --bronze-dim: rgba(176, 141, 87, 0.35);
  --text: #E8E6E1;
  --text-muted: #9AA0AB;
  --text-dim: #6B7280;
  --hairline: rgba(232, 230, 225, 0.10);
  --hairline-strong: rgba(232, 230, 225, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--bronze); color: var(--navy-deep); }

.serif { font-family: 'Source Serif 4', 'Iowan Old Style', Georgia, serif; font-style: italic; font-weight: 300; }
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.label-sm {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 720px) { .container { padding: 0 28px; } }

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}
.brand-text { letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; }
.brand-text b { font-weight: 600; }
.foot-brand .brand-mark { width: 40px; height: 40px; font-size: 22px; }
.foot-brand .brand-text { font-size: 16px; letter-spacing: 0.16em; }
.nav-links {
  display: flex; gap: 40px; align-items: center;
  font-size: 13px; letter-spacing: 0.02em;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.cta {
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  padding: 9px 18px;
  transition: all 200ms ease;
}
.nav-links a.cta:hover {
  border-color: var(--bronze);
  color: var(--bronze-soft);
}
@media (max-width: 720px) { .nav-links a:not(.cta) { display: none; } }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--navy-deep);
  z-index: 0;
}
.skyline {
  position: absolute;
  top: 76px; left: 0; right: 0; bottom: 0;
  background-image: url('hero-melbourne-shrine.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  filter: saturate(0.55) brightness(0.6) hue-rotate(-10deg) contrast(1.05);
}
/* Solid dark header band that the nav sits on. */
.hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 76px;
  background: var(--navy-deep);
  z-index: 2;
  border-bottom: 1px solid var(--hairline);
}
.skyline::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; top: 76px; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(180deg, rgba(7,15,28,0.30) 0%, rgba(7,15,28,0.25) 50%, rgba(7,15,28,0.45) 100%),
    linear-gradient(180deg, rgba(20, 35, 60, 0.35) 0%, rgba(20, 35, 60, 0.35) 100%);
  z-index: 3;
}
.hero-inner {
  position: relative; z-index: 4;
  width: 100%;
  padding-top: 150px;
  display: flex; flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}
.hero-content { max-width: 1080px; padding-bottom: 80px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
}
.hero-eyebrow .line { width: 36px; height: 1px; background: var(--bronze); }

.hero h1 {
  font-family: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: #F2EFE8;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.hero h1 .accent {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--bronze-soft);
  letter-spacing: -0.005em;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 560px;
  margin: 0 0 44px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}

.cta-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: all 240ms cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.btn .arr {
  width: 14px; height: 1px; background: currentColor;
  position: relative;
  transition: width 240ms ease;
}
.btn .arr::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arr { width: 22px; }

.btn-primary {
  background: var(--bronze);
  color: var(--navy-deep);
  border-color: var(--bronze);
}
.btn-primary:hover {
  background: var(--bronze-soft);
  border-color: var(--bronze-soft);
}
.btn-ghost {
  border-color: var(--hairline-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--bronze);
  color: var(--bronze-soft);
}
.btn-link {
  padding: 18px 0;
  color: var(--text-muted);
}
.btn-link:hover { color: var(--bronze-soft); }

/* Hero stat strip overlay */
.hero-stats {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--hairline);
  padding-top: 36px;
  padding-bottom: 40px;
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 820px) { .hero-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }
.hero-stat { padding: 0 24px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }
.hero-stat .label {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px; font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.hero-stat .value {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  font-size: clamp(19px, 2.1vw, 26px);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero-stat .value .plus { color: var(--text); font-weight: 300; }
.hero-stat .hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 8px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

/* ============== APPROACH ============== */
.approach {
  padding: 88px 0 0;
  background: var(--navy);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: end;
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; } }
.section-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.section-eyebrow .num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
  font-size: 14px;
}
.section-head h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: #F2EFE8;
}
.section-head h2 em {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: var(--bronze-soft);
}
.section-head .lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 520px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--hairline);
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr 1.5fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
  transition: background 300ms ease;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.step:hover::before { transform: scaleX(1); }
.step:hover .step-num { color: var(--bronze); }
.step:hover .step-title { color: #fff; }

@media (max-width: 820px) {
  .step { grid-template-columns: 60px 1fr; gap: 20px; padding: 36px 0; }
  .step .step-desc, .step .step-detail { grid-column: 2 / -1; }
}

.step-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--text-muted);
  transition: color 300ms ease;
  line-height: 1;
  padding-top: 4px;
}
.step-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
  transition: color 300ms ease;
}
.step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}
.step-detail {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  text-align: right;
  padding-top: 6px;
}
@media (max-width: 820px) { .step-detail { display: none; } }

/* ============== CTA SECTION ============== */
.cta-section {
  background: var(--charcoal-2);
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(176, 141, 87, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.cta-mark {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--bronze));
  margin: 0 auto 28px;
}
.cta-section h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 28px;
  color: #F2EFE8;
}
.cta-section h2 em {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: var(--bronze-soft);
}
.cta-section .sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 32px;
  font-weight: 300;
}
.cta-section .cta-row { justify-content: center; }
.cta-meta {
  margin-top: 36px;
  display: flex; gap: 28px 36px; justify-content: center; flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cta-meta span { display: inline-flex; align-items: center; gap: 10px; }
.cta-meta .dot { width: 4px; height: 4px; background: var(--bronze); border-radius: 50%; }

/* ============== FOOTER ============== */
footer {
  background: var(--navy-deep);
  padding: 80px 0 48px;
  border-top: 1px solid var(--hairline);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 40px; } }
.foot-brand {
  display: flex; flex-direction: column; gap: 24px;
}
.foot-brand .brand { font-size: 14px; }
.foot-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
  max-width: 640px;
}
.foot-disclaimer p { margin: 0 0 12px; }
.foot-disclaimer p:last-child { margin-bottom: 0; }
.foot-disclaimer .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-meta {
  display: flex; flex-direction: column; gap: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.foot-meta .row { display: flex; justify-content: space-between; gap: 24px; }
.foot-meta .row .k { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10px; }
.foot-meta .row .v { color: var(--text); font-weight: 400; }

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.foot-bottom a { color: var(--text-dim); text-decoration: none; transition: color 200ms; }
.foot-bottom a:hover { color: var(--bronze-soft); }

/* ============== ENQUIRY MODAL ============== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(7, 15, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--charcoal-2);
  border: 1px solid var(--hairline-strong);
  width: 100%; max-width: 560px;
  padding: 48px 44px;
  position: relative;
  transform: translateY(20px);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--bronze);
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 32px; height: 32px;
  background: transparent; border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  transition: color 200ms;
}
.modal-close:hover { color: var(--bronze-soft); }
.modal h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text);
}
.modal h3 em {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic; font-weight: 300;
  color: var(--bronze-soft);
}
.modal .sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 32px;
  font-weight: 300;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 8px 0;
  outline: none;
  transition: border-color 200ms;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--bronze);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--text-dim);
  font-weight: 300;
}
.field .err {
  color: #D6856B;
  font-size: 11px;
  margin-top: 6px;
  letter-spacing: 0.04em;
  display: none;
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #D6856B; }
.field.invalid .err { display: block; }

.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.form-foot .note {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.modal .btn-primary { padding: 14px 22px; }

.form-success {
  text-align: center;
  padding: 24px 0;
  display: none;
}
.form-success.show { display: block; }
.form-success .check {
  width: 40px; height: 40px;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  margin: 0 auto 24px;
  display: grid; place-items: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 18px;
}
.form-success h4 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}
.form-success p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

/* ============== ANIMATIONS ============== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.delay-4 { transition-delay: 400ms; }
.reveal.delay-5 { transition-delay: 500ms; }

[data-count] { display: inline; }

/* ============== RESPONSIVE ============== */
@media (max-width: 720px) {
  .hero { padding: 120px 0 0; min-height: auto; }
  .approach { padding: 64px 0 0; }
  .cta-section { padding: 48px 0 72px; }

  .container { padding: 0 32px !important; }

  .hero h1 { font-size: 34px; line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 32px; }
  .hero-sub { font-size: 15px; line-height: 1.65; margin-bottom: 36px; }
  .hero-eyebrow { margin-bottom: 28px; }
  .hero-content { padding-bottom: 24px; }
  .hero-inner { padding-top: 130px; }

  .section-head h2,
  .approach h2,
  .cta-section h2 { font-size: 30px !important; line-height: 1.12; letter-spacing: -0.01em; }

  .step { padding: 32px 0 !important; }
  .step-title { font-size: 20px; }
  .step-desc { font-size: 14.5px; }
  .step-num { font-size: 24px; }

  .cta-row { gap: 14px; row-gap: 16px; }
  .btn { padding: 13px 18px; font-size: 11.5px; }

  .foot-grid { gap: 32px !important; }
}

@media (max-width: 400px) {
  .container { padding: 0 24px !important; }
  .hero h1 { font-size: 28px; line-height: 1.12; }
  .hero-sub { font-size: 14.5px; }
  .section-head h2,
  .approach h2,
  .cta-section h2 { font-size: 24px !important; }
  .btn { padding: 12px 16px; font-size: 11px; letter-spacing: 0.1em; }
}

@media (max-width: 340px) {
  .container { padding: 0 20px !important; }
  .hero h1 { font-size: 24px; line-height: 1.15; }
  .hero-sub { font-size: 13.5px; }
}
