/* Buy a House or Build a Dream
   Fonts are self hosted (Montserrat, Open Sans, DM Sans) to match the original site. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/montserrat-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/open-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-400.woff2") format("woff2");
}

:root {
  --lime: #c0c90c;
  --lime-bright: #dbe60a;
  --olive: #24241a;
  --olive-deep: #1c1c14;
  --charcoal: #1d1e20;
  --slate: #2a2d30;
  --paper: #f7f6f0;
  --ink: #1f1f1f;
  --ink-soft: #3a3a3a;
  --white: #fff;

  --font: "Montserrat", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--olive);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.narrow { max-width: 720px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime); color: var(--ink); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--lime);
  background: var(--lime);
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--lime-bright); border-color: var(--lime-bright); color: var(--ink); }
.btn--ghost { background: var(--white); color: var(--lime); border-color: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--olive); color: var(--white); border-color: var(--white); }
.btn--ended { background: var(--lime); color: #a01212; cursor: default; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: 22px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.15;
}
.brand img { width: 44px; height: 44px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.brand span { max-width: 9.5em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-size: 15px;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.nav a:not(.btn):hover { color: var(--lime-bright); }
.nav a[aria-current="page"] { color: var(--lime); border-bottom-color: var(--lime); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: var(--radius);
    background: rgba(0,0,0,.35); color: var(--white); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav {
    position: absolute; top: 76px; right: 20px; left: 20px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--olive-deep); border-radius: var(--radius); padding: 10px 18px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.08); }
  .nav .btn { margin-top: 14px; text-align: center; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  background: var(--charcoal) center / cover no-repeat;
  padding: 150px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 20, 16, .55);
}
.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); max-width: 15ch; margin: 0 auto 18px; }
.hero h1.caps { text-transform: uppercase; max-width: 16ch; }
.hero .lede {
  color: var(--lime); font-weight: 700; font-size: clamp(17px, 1.8vw, 21px);
  max-width: 44ch; margin: 0 auto 30px; line-height: 1.4;
}
.hero .lede.caps { text-transform: uppercase; font-size: clamp(15px, 1.5vw, 17px); max-width: 52ch; }
.hero--home { min-height: 640px; display: flex; align-items: center; }
.hero--home .btn-row { flex-direction: column; align-items: center; }
.hero--home .btn { min-width: 250px; text-align: center; }

.lineup { margin: 46px 0 0; }
.lineup h2 { font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; margin-bottom: 18px; }
.lineup ul { list-style: none; margin: 0; padding: 0; font-size: clamp(19px, 2vw, 24px); font-weight: 700; text-transform: uppercase; line-height: 1.55; }
.lineup ul span { color: var(--lime); }
.event-meta { margin: 28px 0 0; font-weight: 600; font-size: 17px; line-height: 1.5; }
.event-meta p { margin: 0 0 4px; }
.event-meta .price { color: var(--lime); font-weight: 700; margin-top: 14px; font-size: 18px; }
.hero .btn-row { margin-top: 26px; }

/* Sections */
.section { padding: 90px 0; }
.section--olive { background: var(--olive); color: var(--white); }
.section--slate { background: var(--slate); color: var(--white); }
.section--paper { background: var(--paper); color: var(--ink); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); }
.center { text-align: center; }

/* About */
.about h2 { margin-bottom: 26px; }
.about p { font-size: 17px; color: #e9e9e2; }
.about strong { color: var(--lime); }
.about .btn { margin-top: 14px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact__photo {
  aspect-ratio: 1 / 1.1; object-fit: cover; object-position: 50% 60%; width: 100%; height: auto; max-height: 560px;
  border-radius: 46% 54% 50% 50% / 38% 40% 60% 62%;
}
.contact h2 { color: var(--lime); font-weight: 400; margin-bottom: 8px; }
.contact .intro { color: #d9d9d0; margin-bottom: 24px; }
.form label { display: block; font-size: 13px; margin: 0 0 6px; color: #e9e9e2; }
.form .field { margin-bottom: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 15px;
  padding: 11px 13px; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--white); color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.form .btn { border-radius: 999px; text-transform: none; font-weight: 600; font-size: 15px; padding: 11px 30px; color: var(--ink); }
.form .hidden { display: none; }

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact__photo { max-width: 360px; margin-inline: auto; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
}

/* FAQ */
.faq h2 { margin-bottom: 50px; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 70px; max-width: 1000px; margin-inline: auto; }
.faq-list h3 { font-size: 18px; margin-bottom: 10px; }
.faq-list p { color: var(--ink-soft); font-size: 15px; margin: 0; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; gap: 32px; } }

/* Gallery */
.gallery h2 { font-weight: 400; margin-bottom: 6px; }
.gallery .sub { color: #cfd0cc; margin-bottom: 44px; }
.masonry { columns: 4 220px; column-gap: 12px; }
.masonry--3 { columns: 3 220px; max-width: 900px; margin-inline: auto; }
.masonry a { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: 3px; }
.masonry img { width: 100%; height: auto; transition: transform .4s ease; }
.masonry a:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(10,10,8,.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 3px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--white);
  font: 700 34px/1 var(--font); cursor: pointer; padding: 12px 16px;
}
.lightbox .lb-close { top: 10px; right: 14px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Pitch (the "why come" block) */
.backdrop {
  position: relative; color: var(--white);
  background: var(--charcoal) center / cover no-repeat fixed;
}
@media (max-width: 900px) { .backdrop { background-attachment: scroll; } }
.backdrop::before { content: ""; position: absolute; inset: 0; background: rgba(28, 30, 28, .72); }
.backdrop > * { position: relative; }
.pitch h2 { text-align: center; margin: 0 auto 30px; max-width: 18ch; }
.pitch p { font-size: 16px; }
.pitch .callout { color: var(--lime); font-size: 18px; margin-top: 26px; }
.pitch .callout strong { font-weight: 700; }
.pitch ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.pitch li { margin-bottom: 8px; }
.pitch li::marker { color: var(--lime); }
.pitch .seats { text-align: center; margin-top: 40px; }
.pitch .seats p { margin: 0; font-weight: 700; }
.pitch .seats .btn { margin: 12px 0; }

/* Speakers */
.banner {
  background: rgba(150, 160, 30, .62);
  padding: 22px 24px; text-align: center; margin-bottom: 70px;
}
.banner h2 { text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); }

.speaker {
  display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center;
  max-width: 960px; margin: 0 auto 80px;
}
.speaker:last-child { margin-bottom: 0; }
.speaker__photo { width: 100%; max-width: 300px; justify-self: center; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.speaker__card {
  background: rgba(118, 118, 112, .72);
  padding: 24px 28px 20px;
  border-radius: 2px;
}
.speaker__card h3 { font-size: 18px; text-transform: uppercase; }
.speaker__card .role { color: var(--lime-bright); font-weight: 700; font-size: 14px; margin: 2px 0 14px; }
.speaker__card p { font-size: 15px; line-height: 1.55; color: #f3f3ef; }
.socials { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.socials a { color: var(--lime-bright); display: inline-flex; }
.socials a:hover { color: var(--white); }
.socials svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .speaker { grid-template-columns: 1fr; gap: 24px; }
  .speaker__photo { max-width: 240px; }
}

.closing-cta { text-align: center; margin-top: 70px; }
.closing-cta p { font-weight: 700; margin-bottom: 10px; }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
.location h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 26px; }
.location h3 { font-size: 15px; color: var(--lime); margin: 22px 0 6px; }
.location p { margin: 0; color: #ecece4; }
.location .btn { margin-top: 30px; }
.map { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); filter: grayscale(.25); }
@media (max-width: 820px) { .location { grid-template-columns: 1fr; } }

.statement { padding: 120px 0; text-align: center; }
.statement h2 { font-size: clamp(30px, 4vw, 48px); max-width: 20ch; margin-inline: auto; }

/* Footer */
.site-footer {
  background: var(--olive); color: var(--lime);
  padding: 34px 0 40px; font-family: "Open Sans", "Segoe UI", sans-serif; font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { font-family: "DM Sans", "Noto Sans", sans-serif; color: var(--lime); }
.site-footer a:hover { color: var(--lime-bright); }
.site-footer p { margin: 0; }

/* Cookie notice */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 50;
  max-width: 380px; background: var(--white); color: var(--ink);
  padding: 18px 20px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.25);
  font-size: 14px; display: none;
}
.cookie.is-open { display: block; }
@media (max-width: 520px) { .cookie { right: 12px; left: 12px; bottom: 12px; max-width: none; } }
.cookie p { margin: 0 0 12px; }
.cookie .actions { display: flex; gap: 10px; }
.cookie button { font: 600 13px var(--font); padding: 8px 16px; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--ink); background: var(--white); }
.cookie button.accept { background: var(--olive); color: var(--white); border-color: var(--olive); }

/* Simple pages (thanks, 404) */
.simple { min-height: 70vh; display: flex; align-items: center; padding: 140px 0 80px; color: var(--white); }
.simple h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.simple p { color: #ddd; max-width: 46ch; }
.simple .btn { margin-top: 12px; }
