/* ==========================================================================
   LAMBROSUK — links page
   All colour literals live in :root. Nothing below :root hardcodes a colour.
   ========================================================================== */

:root {
  --bg:            #080807;
  --bg-deep:       #000000;
  --surface:       rgba(255, 255, 255, 0.045);
  --surface-hi:    rgba(255, 255, 255, 0.085);
  --gold:          #E8C25A;
  --gold-bright:   #F7E3A6;
  --gold-deep:     #A87B28;
  --text:          #F7F3EA;
  --text-muted:    #9A958C;

  --hairline:      rgba(232, 194, 90, 0.16);
  --hairline-hi:   rgba(232, 194, 90, 0.42);
  --bar-bg:        rgba(10, 9, 8, 0.82);
  --logo-glow:     rgba(232, 194, 90, 0.34);
  --lift-shadow:   rgba(0, 0, 0, 0.55);
  --gold-glow:     rgba(232, 194, 90, 0.22);

  /* hero scrim — photo has to die into the page, not stop at an edge */
  --scrim-top:     rgba(8, 8, 7, 0.30);
  --scrim-mid:     rgba(8, 8, 7, 0.72);
  --scrim-end:     rgba(8, 8, 7, 1);
  --wordmark-ink:  #FFFFFF;

  /* platform brand colours — the one place non-gold colour is allowed */
  --yt:            #FF0000;
  --tt-bg:         #FFFFFF;
  --tt-ink:        #0A0A0A;
  --fb:            #1877F2;
  --ig-a:          #F9CE34;
  --ig-b:          #EE2A7B;
  --ig-c:          #6228D7;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, p { margin: 0; }

/* ---------------------------------------------------------------- grain -- */
/* Fixed noise over everything — large soft gradients on near-black band
   badly without it. Static, never animated. */

.grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
}

/* -------------------------------------------------------------- shell -- */

.shell {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

/* -------------------------------------------------------- sticky header -- */

.minibar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--bar-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.minibar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.minibar__crest {
  width: 28px;
  height: auto;
  flex: 0 0 auto;
}

.minibar__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 24px 8px;
  overflow: hidden;
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* scaled past 1 so the parallax translate never exposes an edge */
  transform: scale(1.06);
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* bias down and right: keeps the wheel and flank in frame and pushes the
     blurred show-floor crowd along the top edge out of the portrait crop */
  object-position: 64% 68%;
}

/* photo has to die into the page rather than stop at a hard edge */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      var(--scrim-top) 0%,
      var(--scrim-mid) 52%,
      var(--scrim-end) 96%),
    radial-gradient(ellipse 75% 55% at 50% 42%,
      transparent 30%,
      var(--scrim-mid) 100%);
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero__crest {
  width: 150px;
  max-width: 42vw;
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 34px var(--logo-glow));
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 15.5vw, 86px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--wordmark-ink);
  text-shadow: 0 2px 40px var(--scrim-end);
}

.handle {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- stack -- */

.stack {
  position: relative;
  z-index: 2;
  padding: 26px 24px 56px;
}

/* ---------------------------------------------------------- link rows -- */

.links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
  text-decoration: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.26s var(--ease), border-color 0.26s var(--ease),
              transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.link__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.link__chip svg {
  width: 23px;
  height: 23px;
}

/* real platform colour is what makes the row read as that platform */
.link--yt .link__chip { background: var(--yt); }
.link--yt .link__chip svg { fill: var(--wordmark-ink); }

.link--tt .link__chip { background: var(--tt-bg); }
.link--tt .link__chip svg { fill: var(--tt-ink); }

.link--fb .link__chip { background: var(--fb); }
.link--fb .link__chip svg { fill: var(--wordmark-ink); }

.link--ig .link__chip {
  background:
    radial-gradient(circle at 30% 107%,
      var(--ig-a) 0%, var(--ig-b) 55%, var(--ig-c) 100%);
}
.link--ig .link__chip svg { fill: var(--wordmark-ink); }

.link__label {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
}

.link__go {
  flex: 0 0 auto;
  display: flex;
  color: var(--text-muted);
  transition: transform 0.26s var(--ease), color 0.26s var(--ease);
}

.link__go svg { width: 17px; height: 17px; }

.link:hover,
.link:focus-visible {
  background: var(--surface-hi);
  border-color: var(--hairline-hi);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--lift-shadow), 0 0 0 1px var(--gold-glow);
}

.link:hover .link__go,
.link:focus-visible .link__go {
  transform: translateX(4px);
  color: var(--gold);
}

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

/* ------------------------------------------------------- featured card -- */

.feature {
  position: relative;
  display: block;
  margin-top: 22px;
  border-radius: 20px;
  overflow: hidden;
  overflow: clip;
  border: 1px solid var(--hairline);
  text-decoration: none;
  aspect-ratio: 16 / 10;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.feature__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    var(--scrim-end) 4%,
    var(--scrim-mid) 42%,
    transparent 78%);
}

.feature__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}

.feature:hover,
.feature:focus-visible {
  border-color: var(--hairline-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--lift-shadow);
}

.feature:hover .feature__img,
.feature:focus-visible .feature__img { transform: scale(1.05); }

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

/* ------------------------------------------------------------- contact -- */

.contact {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.contact__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

.contact__link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact__link:hover,
.contact__link:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.contact__link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* -------------------------------------------------------------- footer -- */

.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.75;
}

/* --------------------------------------------------- entrance + reveal -- */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__crest,
.wordmark,
.handle,
.links .link {
  animation: rise 620ms var(--ease) both;
}

.hero__crest      { animation-delay: 60ms; }
.wordmark         { animation-delay: 150ms; }
.handle           { animation-delay: 240ms; }
.links .link:nth-child(1) { animation-delay: 330ms; }
.links .link:nth-child(2) { animation-delay: 400ms; }
.links .link:nth-child(3) { animation-delay: 470ms; }
.links .link:nth-child(4) { animation-delay: 540ms; }

/* scroll-revealed blocks; only hidden when JS is actually running */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ---------------------------------------------------------- responsive -- */

@media (min-width: 540px) {
  .shell {
    margin: 28px auto 44px;
    border-radius: 26px;
    overflow: hidden;
    overflow: clip;
    border: 1px solid var(--hairline);
    box-shadow: 0 30px 90px var(--scrim-end);
  }

  .hero { min-height: 60vh; }
}

@media (max-width: 400px) {
  .stack { padding-left: 18px; padding-right: 18px; }
  .hero  { padding-left: 18px; padding-right: 18px; }
  .link__label { font-size: 15px; }
}

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* the hero photo stays — only its motion goes, held at rest rather than
     wherever a 0.01ms animation happened to land */
  .hero__media {
    transform: scale(1.06) !important;
    will-change: auto;
  }
}
