/* ============================================================
   VXU Attractions — monochrome system
   The UI is black and white; colour comes from imagery only.
   Black:  #0A0A0B  (canvas)
   Coal:   #131315  (raised surfaces)
   Line:   #2A2A2E  (hairlines)
   White:  #FFFFFF  (type, controls)
   Dim:    #9A9AA2  (secondary type)
   Type:   Anton (display caps) / Instrument Sans / Spline Sans Mono
   ============================================================ */

:root {
  --black: #0A0A0B;
  --coal: #131315;
  --line: #2A2A2E;
  --white: #FFFFFF;
  --dim: #9A9AA2;

  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  --max-w: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--white); }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ============ Image placeholders ============
   Each .media-ph stands in for a real image. Swap the div for
   <img class="media-img" src="..." alt="..."> when assets exist.
   The gradients are deliberately vivid: colour belongs to imagery. */

.media-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
}

.media-ph span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.media-ph-hero  { background: radial-gradient(120% 90% at 15% 10%, #BE6297 0%, transparent 55%), radial-gradient(100% 80% at 85% 20%, #4383B4 0%, transparent 55%), radial-gradient(120% 100% at 50% 100%, #E3A654 0%, transparent 60%), #14060F; }
.media-ph-brand { background: radial-gradient(110% 100% at 20% 0%, #E3A654 0%, transparent 60%), radial-gradient(120% 100% at 90% 100%, #BE543A 0%, transparent 55%), #170B03; }
.media-ph-a     { background: radial-gradient(120% 120% at 20% 20%, #4383B4 0%, transparent 60%), radial-gradient(100% 100% at 90% 90%, #BE6297 0%, transparent 55%), #0A0714; }
.media-ph-b     { background: radial-gradient(120% 120% at 80% 15%, #53A275 0%, transparent 55%), radial-gradient(110% 110% at 15% 90%, #E2C461 0%, transparent 55%), #06110B; }
.media-ph-c     { background: radial-gradient(120% 120% at 25% 85%, #E2C461 0%, transparent 55%), radial-gradient(110% 110% at 85% 15%, #BE543A 0%, transparent 60%), #150A04; }

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Header / nav ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-links a:hover { color: var(--dim); }

.nav-cta {
  border: 1px solid var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: #D9D9DE; }

.btn-outline {
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ============ Type helpers ============ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 22ch;
  margin-bottom: 1.6rem;
}

.section-lede {
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 62ch;
  color: var(--dim);
  margin-bottom: 3rem;
}

.tm {
  font-size: 0.4em;
  vertical-align: super;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.15) 40%, rgba(10, 10, 11, 0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.2vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 14ch;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

/* the one full-colour word on the page — gradient drawn from the logo palette */
.fun-word {
  display: inline-block;
  background: linear-gradient(100deg, #4383B4 0%, #BE6297 35%, #E3A654 70%, #53A275 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-2.5deg);
}

.fun-stop { color: inherit; }

/* hero only: the gradient flows through "fun", and every few seconds it giggles */
.hero-headline .fun-word {
  background: linear-gradient(100deg, #4383B4 0%, #BE6297 25%, #E3A654 50%, #53A275 75%, #4383B4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 260% 100%;
  background-position: 30% 0;
  animation: fun-flow 7s linear infinite, fun-giggle 6s ease-in-out infinite;
}

@keyframes fun-flow {
  /* 162.5% shifts the repeating gradient exactly one tile, so the loop is seamless */
  from { background-position: 0% 0; }
  to   { background-position: 162.5% 0; }
}

@keyframes fun-giggle {
  0%, 62%  { transform: rotate(-2.5deg) scale(1, 1); }
  68%      { transform: rotate(2.5deg) scale(1.12, 0.92); }
  74%      { transform: rotate(-5deg) scale(0.95, 1.08); }
  80%      { transform: rotate(-1.5deg) scale(1.04, 0.98); }
  86%, 100% { transform: rotate(-2.5deg) scale(1, 1); }
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* marquee strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--black);
}

.strip-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
}

.strip-track .dot { color: var(--dim); font-size: 0.55rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Sections ============ */

.section { padding: 7rem 1.5rem; }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-line-top { border-top: 1px solid var(--line); }

/* ============ Pillars ============ */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  background: var(--coal);
  border: 1px solid var(--line);
  padding: 2.25rem 2rem;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.1rem;
  margin-bottom: 1.4rem;
}

.pillar h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar p { color: var(--dim); font-size: 1rem; }

/* ============ Journey (Couch-Fun-Couch) ============ */

.journey {
  position: relative;
  margin: 3.5rem 0 5rem;
}

.journey-svg { width: 100%; height: auto; display: block; }

.journey-line {
  stroke: var(--white);
  stroke-width: 3;
  stroke-dasharray: 10 14;
  opacity: 0.9;
}

.journey.in-view .journey-line {
  animation: dash-flow 1.4s linear infinite;
}

@keyframes dash-flow {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

.journey-stops {
  list-style: none;
  position: absolute;
  inset: 0;
}

.stop {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  width: 150px;
}

.stop-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--black);
  border: 3px solid var(--white);
  margin-top: -8px; /* centre the dot itself on the path anchor */
  transition: border-color 0.2s ease, background 0.2s ease;
}

.stop-dot-end { background: var(--white); }

.stop-icon {
  width: 32px;
  height: 32px;
  color: var(--white);
  margin-top: 0.2rem;
  /* springy overshoot gives the icons a cartoon "boing" on hover */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.stop-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* hand-placed sticker tilts — each icon sits a little askew */
.stop:nth-child(1) .stop-icon { transform: rotate(-5deg); }
.stop:nth-child(2) .stop-icon { transform: rotate(4deg); }
.stop:nth-child(3) .stop-icon { transform: rotate(-3deg); }
.stop:nth-child(4) .stop-icon { transform: rotate(5deg); }
.stop:nth-child(5) .stop-icon { transform: rotate(-4deg); }

.stop:hover .stop-icon { transform: rotate(-9deg) scale(1.22) !important; }

/* each stop pops its own brand colour on hover */
.stop:nth-child(1):hover .stop-dot { border-color: #E2C461; }
.stop:nth-child(1):hover .stop-icon { color: #E2C461; }
.stop:nth-child(2):hover .stop-dot { border-color: #4383B4; }
.stop:nth-child(2):hover .stop-icon { color: #4383B4; }
.stop:nth-child(3):hover .stop-dot { border-color: #BE6297; }
.stop:nth-child(3):hover .stop-icon { color: #BE6297; }
.stop:nth-child(4):hover .stop-dot { border-color: #E3A654; }
.stop:nth-child(4):hover .stop-icon { color: #E3A654; }
.stop:nth-child(5):hover .stop-dot { border-color: #53A275; background: #53A275; }
.stop:nth-child(5):hover .stop-icon { color: #53A275; }

.stop-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stop-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
  line-height: 1.4;
}

.journey-footnote {
  font-size: 0.95rem;
  color: var(--dim);
  max-width: 58ch;
  margin-top: 2.5rem;
}

/* ============ Partners ============ */

.partner-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--white);
}

.partner-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}

.partner-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.partner-head h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 18ch;
}

.partner-body p { color: var(--dim); }

/* ============ Our brands ============ */

.brand-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.brand-copy p { margin-bottom: 1.25rem; max-width: 55ch; color: var(--dim); }

.brand-copy strong { color: var(--white); }

.brand-copy .btn { margin-top: 0.75rem; }

.brand-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* showcase strip */
.showcase-head {
  max-width: var(--max-w);
  margin: 4.5rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.showcase-head .eyebrow { margin-bottom: 0.6rem; }

.showcase-note {
  color: var(--dim);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.showcase {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.show-tile { transition: transform 0.2s ease; }

.show-tile:hover { transform: translateY(-4px) rotate(-0.4deg); }

.show-tile {
  border: 1px solid var(--line);
  background: var(--coal);
}

.show-tile .media-ph,
.show-tile .media-img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.show-tile figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}

/* ============ Mission ============ */

.section-mission { padding: 8rem 1.5rem; }

.mission {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.mission cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ============ Contact ============ */

.section-contact {
  background: var(--white);
  color: var(--black);
}

.section-contact .eyebrow { color: #6B6B74; }

.section-contact .section-lede { color: #45454D; }

.section-contact .btn-solid { background: var(--black); color: var(--white); }
.section-contact .btn-solid:hover { background: #2E2E33; }

.contact-inner { text-align: center; }

.contact-logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 1.75rem;
}

.contact-inner .section-title,
.contact-inner .section-lede { margin-left: auto; margin-right: auto; }

.contact-actions { margin-top: 1rem; }

/* ============ Footer ============ */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-note { color: var(--dim); font-size: 0.95rem; }

.footer-legal { color: #5C5C64; font-size: 0.8rem; margin-top: 1rem; max-width: 72ch; }

/* ============ Reveal on scroll ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .brand-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase { grid-template-columns: 1fr; }

  .journey { margin-top: 2rem; margin-bottom: 4.5rem; }
  .stop { width: 110px; }
  .stop:last-child { width: 84px; }
  .stop-note { display: none; }
  .stop-label { font-size: 0.82rem; }
  .stop-dot { width: 12px; height: 12px; border-width: 2.5px; margin-top: -6px; }
  .stop-icon { width: 24px; height: 24px; margin-top: 0.1rem; }
  .traveller-inner { transform: scale(1.55); } /* keeps the ball and its face visible at mobile scale */
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    display: inline-block !important;
    margin-top: 0.5rem;
    padding: 0.5rem 1.2rem !important;
  }

  .logo-img { height: 36px; }
  .contact-logo { height: 68px; }

  .hero { min-height: 80vh; }
  .hero-inner { padding-top: 6rem; }
  .section { padding: 4.5rem 1.5rem; }
}
