/* Olorix Labs. Colors from the official swan_v3 YouTube banner. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #192853;
  --pink: #ff0053;
  --cream: #fff6e2;
  --cream-dim: rgba(255, 246, 226, 0.72);
  --cream-faint: rgba(255, 246, 226, 0.5);
  --line: rgba(255, 246, 226, 0.14);
  --font: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 70rem;
  --rail: 5px;
  --header-h: 4.25rem;
}

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

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

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

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.5;
  font-size: 1rem;
  padding-left: var(--rail);
  min-height: 100svh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail);
  height: 100%;
  background: var(--pink);
  z-index: 50;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pink);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cream);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 60;
}

.skip:focus {
  left: var(--pad);
  top: 0.5rem;
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  border-bottom: 1px solid transparent;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--cream-dim);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cream);
}

/* Hero */
.page-top {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  padding: 1.75rem 0 0.5rem;
  position: relative;
  z-index: 2;
}

.hero-lockup {
  max-width: 36rem;
}

.hero-lockup img {
  width: min(100%, 38rem);
  height: auto;
}

.lede {
  margin-top: 1.15rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--cream-dim);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  line-height: 1;
}

.btn:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--cream);
}

.hero-visual {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-visual img {
  width: min(100%, 28rem);
  height: auto;
  max-height: 48vh;
  object-fit: contain;
  object-position: right bottom;
}

/* Sections */
.section {
  padding: 4.5rem 0 2rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin-top: 0.45rem;
  color: var(--cream-dim);
  max-width: 32rem;
}

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 0.9rem;
}

.video {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.video-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-link:hover {
  color: inherit;
}

.thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #10182f;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 50%;
  background: rgba(16, 24, 47, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 246, 226, 0.18);
  pointer-events: none;
}

.play::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.95rem;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent var(--cream);
}

.video-link:hover .play {
  background: var(--pink);
}

.video-link:hover .play::after {
  border-color: transparent transparent transparent #fff;
}

.video-meta {
  padding-top: 0.7rem;
}

.video-date {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 0.25rem;
}

.video-title {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.video-link:hover .video-title {
  color: var(--pink);
}

.parts {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--cream-dim);
}

.parts a {
  color: var(--cream);
  font-weight: 500;
}

.videos-more {
  margin-top: 2rem;
}

.videos-empty {
  display: none;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 3rem 1.25rem;
  text-align: center;
  color: var(--cream-dim);
}

/* Gear */
.gear-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  list-style: none;
}

.gear-list a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem 1.05rem;
  font-weight: 500;
  min-height: 4.4rem;
}

.gear-list a:hover {
  color: var(--cream);
  border-color: var(--pink);
}

.gear-list a span {
  font-size: 0.85rem;
  color: var(--cream-faint);
  font-weight: 400;
}

/* Social */
.social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  padding: 0.55rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.social-list a:last-child {
  border-bottom: 0;
}

.social-list svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: currentColor;
}

.social-handle {
  margin-left: auto;
  font-weight: 400;
  color: var(--cream-faint);
  font-size: 0.9rem;
}

.social-list a:hover .social-handle {
  color: var(--pink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 3rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
}

.footer-brand img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}

.footer-note,
.footer-legal {
  color: var(--cream-dim);
  font-size: 0.9rem;
  max-width: 36rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--cream-faint);
}

@media (min-width: 720px) {
  .lede {
    font-size: 1.15rem;
    max-width: 30rem;
  }

  .hero-visual img {
    max-height: none;
    width: min(52vw, 34rem);
  }

  .videos-grid {
    gap: 2rem 1.25rem;
  }

  .video-title {
    font-size: 1rem;
  }

  .gear-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .gear-list a {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 6.5rem;
    padding: 1.15rem 1.15rem 1.2rem;
  }

  .social-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .page-top {
    height: 100svh;
    max-height: 100svh;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    align-items: stretch;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0 3rem;
    width: auto;
    max-width: 42rem;
    margin-left: max(var(--pad), calc((100vw - var(--rail) - var(--max)) / 2));
    margin-right: 1.5rem;
  }

  .hero-lockup img {
    width: min(100%, 40rem);
  }

  .lede {
    max-width: 34rem;
  }

  .hero-visual {
    margin: 0;
    min-height: 0;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .hero-visual img {
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 1.5rem;
  }

  .section {
    padding: 5.5rem 0 2.5rem;
  }
}

@media (max-width: 419px) {
  .brand-name {
    display: none;
  }

  .nav {
    font-size: 0.85rem;
    gap: 0.85rem;
  }
}
