/* Justin The DJ — wedding lander. Colors, type and shapes from the Justin The DJ design system. */
:root {
  --bg: #0C0D0F;
  --surface: #141516;
  --graphite: #2C2C2F;
  --border-strong: #737477;
  --text: #F5F7FA;
  --text-soft: #D2D4D8;
  --text-muted: #AFB1B4;
  --text-faint: #919295;
  --brand: #F76822;
  --brand-hover: #FE7E47;
  --link: #FE7E47;
  --accent: #1ECFD3;
  --on-brand: #141516;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cut: 12px;
  --glow-brand: 0 0 0 1px rgba(247,104,34,.5), 0 0 28px rgba(247,104,34,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: #FF9E77; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.eyebrow { margin: 0; font: 700 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--link); }
.h1, .h2 { margin: 0; font-family: var(--display); font-style: italic; text-transform: uppercase; }
.h1 { font-weight: 900; line-height: .9; font-size: clamp(48px, 6.4vw, 96px); }
.h2 { font-weight: 800; line-height: 1; font-size: clamp(40px, 5vw, 56px); }
.h1 span, .h2 span { display: block; }
.hl { color: var(--brand); }
.lead { margin: 0; font-size: 20px; line-height: 1.5; color: var(--text-soft); }
.muted { color: var(--text-muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 36px; border: 0; cursor: pointer; text-decoration: none; font: italic 800 19px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); transform: translateY(-2px); box-shadow: var(--glow-brand); }
.btn-dark { background: var(--surface); color: var(--text); }
.btn-dark:hover { background: var(--graphite); color: var(--text); transform: translateY(-2px); }
.btn:focus-visible { clip-path: none; }
.btn:active { scale: .99; }
.btn svg { flex: none; }

/* Hero */
.hero { padding: 32px 0 96px; background-color: var(--bg); background-image: linear-gradient(180deg, rgba(12,13,15,.55) 0%, rgba(12,13,15,.92) 100%), radial-gradient(55% 90% at 0% 0%, rgba(247,104,34,.45), transparent 62%), url("img/hero-hands-up.webp"); background-size: cover; background-position: center; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-top a { font: 700 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(20,21,22,.8); border: 1px solid var(--graphite); border-radius: 2px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.stars { color: var(--brand); letter-spacing: 2px; }

/* Form card */
.form-card { flex: 1 1 380px; max-width: 460px; min-width: 0; background: var(--surface); border: 1px solid var(--graphite); border-radius: 4px; box-shadow: 0 24px 64px rgba(0,0,0,.55); overflow: hidden; scroll-margin-top: 24px; }
.beam { height: 4px; background: linear-gradient(90deg, #F76822, #1ECFD3); }
.form-card form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-card h2 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 36px; line-height: 1; }
.form-card .intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .f { flex: 1 1 150px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f label { font-size: 14px; font-weight: 600; color: var(--text-soft); }
.f input, .f select { min-height: 48px; padding: 0 14px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 2px; color: var(--text); font: 400 16px var(--body); width: 100%; color-scheme: dark; }
.f input:focus, .f select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,207,211,.12); }
.form-card .btn { width: 100%; margin-top: 8px; }
.fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-faint); text-align: center; }

/* Proof bar */
.proof { background: var(--surface); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); padding: 32px 0; }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.proof .eyebrow { color: var(--text-faint); }
.venues { display: flex; flex-wrap: wrap; gap: 12px 32px; font: italic 700 22px/1.2 var(--display); text-transform: uppercase; color: var(--text-soft); }

/* Stats */
.stats { padding: 72px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat b { display: block; font: italic 900 72px/1 var(--display); }
.stat:first-child b { color: var(--brand); }
.stat span { font: 700 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }

/* Benefits */
.leak { background: radial-gradient(55% 90% at 0% 0%, rgba(247,104,34,.30), transparent 62%), radial-gradient(45% 80% at 100% 100%, rgba(30,207,211,.18), transparent 60%), var(--bg); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--graphite); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s, transform .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(247,104,34,.5), 0 0 28px rgba(247,104,34,.25); }
.card h3 { margin: 0; font: 700 28px/1.1 var(--display); }
.card p { margin: 0; color: var(--text-muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; border-top: 1px solid var(--graphite); padding-top: 48px; margin-top: 48px; }
.step { display: flex; gap: 16px; }
.step b { font: italic 900 56px/.9 var(--display); }
.step:first-child b { color: var(--brand); }
.step h3 { margin: 0 0 6px; font: 700 24px/1.1 var(--display); }
.step p { margin: 0; font-size: 16px; color: var(--text-muted); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-photos { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.about-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about-photos img:first-child { grid-column: span 2; align-self: end; }
.about-photos img:last-child { grid-column: span 3; }
.about-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about-copy p { margin: 0; }

/* Not for everyone */
.fit { background: var(--surface); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); }
.fit-head { text-align: center; align-items: center; max-width: 720px; margin: 0 auto 48px; }
.fit-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.fit-col { border: 1px solid #3C3D40; border-radius: 4px; padding: 32px; }
.fit-col.yes { border-color: var(--brand); background: rgba(247,104,34,.06); }
.fit-col h3 { margin: 0 0 16px; font: 700 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.fit-col.yes h3 { color: var(--link); }
.fit-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; color: var(--text-muted); }
.fit-col.yes ul { color: var(--text); }
.fit-col li { display: flex; gap: 12px; }
.fit-col li::before { content: "✕"; color: var(--border-strong); }
.fit-col.yes li::before { content: "✓"; color: var(--brand); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin-top: 40px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.rating { display: flex; align-items: center; gap: 16px; }
.rating b { font: italic 900 64px/1 var(--display); color: var(--brand); }
.review { margin: 0; background: var(--surface); border: 1px solid var(--graphite); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.review-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-faint); }
.review blockquote { margin: 0; font: italic 700 24px/1.15 var(--display); text-transform: uppercase; }
.review figcaption { font-size: 14px; color: var(--text-muted); }
.review figcaption strong { color: var(--text); }

/* Ember CTA */
.ember { background: linear-gradient(160deg, #FE7E47 0%, #F76822 35%, #8E3300 100%); color: var(--on-brand); text-align: center; }
.ember .wrap { max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ember .tag { margin: 0; padding: 8px 14px; background: var(--surface); color: var(--text); border-radius: 2px; font: 700 13px/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.ember .h1 { font-size: clamp(48px, 7vw, 96px); line-height: .92; }
.ember p.lead { color: var(--on-brand); font-weight: 500; max-width: 560px; }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--graphite); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer p { margin: 0; font-size: 14px; color: var(--text-faint); }

/* Thank-you page */
.thanks { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; }
.thanks .wrap { max-width: 760px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding-bottom: 64px; }
  .hero-top { margin-bottom: 24px; }
  .hero-grid { gap: 32px; }
  .hero-copy { padding-top: 0; gap: 16px; }
  .hero-top a { display: none; }
  .hero-top img { width: 128px; height: auto; }
  .hero .lead { display: none; }
  .hero .chips { order: 3; }
  .lead { font-size: 18px; }
  .form-card form { padding: 24px; }
  .stat b { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
