/* SKISO IV — The Finale
   Display: Montserrat
   Body: Nunito Sans */

:root {
  --white: #F7F8FA;
  --snow: #F4F6F8;
  --black: #0A0A0A;
  --ink: #111111;
  --muted: #5A5E66;
  --line: #E4E6EA;
  --paper: #EEF2F6;
  --gold: #D4A93A;
  --gold-bright: #E8C25A;
  --gold-deep: #876810;
  --alpine: #1B3A6B;
  --alpine-mid: #2A5294;
  --sky: #3D6BA8;
  --nav-h: 88px;
  --wrap: 1120px;
  --gutter: 28px;
  --display: "Montserrat", "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --text: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

html {
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

body {
  min-width: 0;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: var(--black);
  color: var(--gold);
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--gold-deep);
}

.eyebrow-on-dark { color: var(--gold); }

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  min-height: 48px;
  padding: 10px 26px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-hero {
  color: var(--black);
  border-color: var(--gold);
  background: var(--gold);
}
.btn-hero:hover,
.btn-hero:focus-visible {
  background: var(--gold-bright);
  color: var(--black);
  border-color: var(--gold-bright);
  outline: none;
}

.btn-outline {
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--black);
  color: var(--gold-bright);
  border-color: var(--black);
}

/* ---------- Sticky nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  border-bottom: 1px solid rgba(212, 169, 58, 0.35);
  transition: background-color 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
}

.nav-inner {
  height: 100%;
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  line-height: 0;
}
.nav-logo img {
  height: 68px;
  width: auto;
  display: block;
}
.nav-logo:hover { text-decoration: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 0.92;
  color: var(--white);
}
.nav-menu a:hover { opacity: 1; text-decoration: none; color: var(--gold-bright); }

.nav-cta {
  border: 1px solid var(--gold);
  padding: 8px 14px;
  font-weight: 600 !important;
  color: var(--gold) !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  margin: 5px auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 16, 0.55) 0%,
      rgba(10, 16, 32, 0.62) 40%,
      rgba(8, 10, 16, 0.82) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--gold);
}

.hero-logo-wrap {
  margin: 0 0 20px;
  max-width: min(520px, 92vw);
  width: 100%;
}

.hero-logo {
  width: 100%;
  height: auto;
  max-height: min(62vh, 640px);
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-line {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--snow);
  opacity: 0.95;
}

/* ---------- About ---------- */

.about {
  padding: 112px 0;
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
}

.about-copy p {
  margin: 0 0 1.1em;
  color: var(--ink);
  max-width: 38em;
}

.about-by {
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px !important;
}

.about-photo,
.venue-photo {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.about-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* ---------- Venue ---------- */

.venue {
  padding: 112px 0;
  background: var(--paper);
}

.venue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.venue-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
}

.venue-photo figcaption {
  margin: 12px 2px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
}

.venue-dates {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: -8px 0 20px;
  color: var(--gold-deep);
}

.venue-copy p { margin: 0 0 1em; }

.venue-copy address {
  font-style: normal;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ---------- Coming soon ---------- */

.soon {
  padding: 96px 0;
  text-align: center;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(212, 169, 58, 0.35);
  border-bottom: 1px solid rgba(212, 169, 58, 0.28);
}

.soon h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.soon .lede {
  margin: 0 auto;
  max-width: 28em;
  color: var(--gold-bright);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Past SKISO / gallery ---------- */

.past {
  padding: 112px 0 96px;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(212, 169, 58, 0.28);
}

.past h2 {
  color: var(--white);
}

.lede {
  max-width: 42em;
  margin: 0 0 48px;
  color: var(--muted);
}

.past .lede {
  color: rgba(247, 248, 250, 0.72);
  max-width: 54em;
  margin-bottom: 16px;
}

.past .lede-stays {
  margin-bottom: 48px;
}

.past-recap {
  margin: 0 0 64px;
}

.past-video-heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  color: var(--gold);
}

.past-video {
  position: relative;
  max-width: 100%;
}

.past-video-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border: 1px solid rgba(212, 169, 58, 0.28);
  vertical-align: middle;
}

.past-video-desktop {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.past-video-mobile {
  display: none;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .past-video-desktop { display: none; }
  .past-video-mobile {
    display: block;
    width: min(100%, 420px);
  }
  .past-recap { margin-bottom: 48px; }
}

.lede a { text-decoration: underline; text-underline-offset: 3px; }
.lede a:hover { color: var(--gold-deep); }
.past .lede a { color: var(--gold); }
.past .lede a:hover { color: var(--gold-bright); }

.past-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 16px;
  align-items: start;
}

.past-item {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.past-item figcaption {
  margin: 12px 2px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-item {
  padding: 0;
  border: 1px solid rgba(212, 169, 58, 0.2);
  background: #111;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
}

.past-item.is-portrait .gallery-item {
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.45s ease;
}

.past-item.is-portrait .gallery-item img {
  object-position: center 42%;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Signup ---------- */

.signup {
  background: var(--black);
  color: var(--white);
  padding: 112px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 169, 58, 0.28);
}

.signup h2 { margin-bottom: 12px; color: var(--white); }

.signup p {
  margin: 0 0 32px;
  font-size: 20px;
  opacity: 0.9;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 0 0 36px;
  border-top: 1px solid rgba(212, 169, 58, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-block;
  margin: 0 0 16px;
  line-height: 0;
  text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo img {
  width: auto;
  height: 132px;
  display: block;
}

.footer-line {
  margin: 0 0 18px;
  font-size: 16px;
}

.footer-tagline {
  margin: 0 0 6px;
  font-size: 15px;
  color: rgba(247, 248, 250, 0.75);
}

.footer-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--gold);
}

.footer-venue p { margin: 0 0 8px; font-size: 16px; }
.footer-venue a:hover { text-decoration: underline; color: var(--gold-bright); }
.footer-dates { margin-top: 14px !important; }

.pc-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,0.94);
  color: var(--black);
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 169, 58, 0.35);
}

.pc-seal { width: 72px; height: 72px; flex: 0 0 auto; object-fit: contain; filter: invert(1); }
.pc-kicker { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }
.pc-name { margin: 0; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.03em; line-height: 1.35; }
.pc-name a:hover { text-decoration: underline; }

.powered { margin-top: 28px; }
.powered img { width: 90px; height: 63px; object-fit: contain; }

.footer-bottom {
  border-top: 1px solid rgba(212, 169, 58, 0.18);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(247, 248, 250, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-credit {
  margin-top: 10px !important;
  max-width: 48em;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(247, 248, 250, 0.62);
}
.footer-credit a {
  color: rgba(232, 194, 90, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: var(--gold-bright); }

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
}
.lightbox::backdrop { background: rgba(0,0,0,0.88); }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  margin: 0 auto;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  :root { --gutter: 20px; --nav-h: 72px; }

  .nav-toggle { display: block; }

  .nav-logo img { height: 56px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(212, 169, 58, 0.3);
  }

  .nav.is-open .nav-menu { display: flex; }
  .nav-cta { width: 100%; text-align: center; box-sizing: border-box; }
  .nav-menu a { max-width: 100%; }

  .hero { min-height: 100svh; }
  .hero-content { padding-bottom: 40px; }
  .hero-logo-wrap { max-width: min(420px, 88vw); }
  .hero-logo { max-height: min(52vh, 480px); }

  .about, .venue, .soon, .past, .signup { padding: 72px 0; }

  .about-grid,
  .venue-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo img,
  .venue-photo img { height: 280px; }

  .past-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { padding-top: 48px; }
  .footer-logo img { height: 116px; }
}

@media (max-width: 520px) {
  .past-grid { grid-template-columns: 1fr; gap: 22px; }
  body { font-size: 17px; }
  .hero-logo { max-height: min(48vh, 400px); }
  .nav-logo img { height: 50px; }
}

#about, #venue, #coming-soon, #past, #signup {
  scroll-margin-top: var(--nav-h);
}

/* QA pass Nov 16 */
.nowrap { white-space: nowrap; }
