/*
  Global Theme
  Minimal dark aesthetic with small accent palette.
*/
:root {
  --bg: #06090f;
  --bg-soft: #0d121a;
  --panel: #111826;
  --panel-2: #1a2435;
  --text: #e8edf5;
  --muted: #94a2b8;
  --line: rgba(214, 227, 255, 0.11);
  --line-soft: rgba(214, 227, 255, 0.06);
  --accent: #63d8ff;
  --accent-2: #7ff1cb;
  --danger: #ff7b92;
  --radius: 14px;
  --radius-lg: 18px;
  --container: min(1140px, 92vw);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.28);
  --glow-soft: 0 0 0 1px rgba(99, 216, 255, 0.18), 0 0 32px rgba(99, 216, 255, 0.16);
  --speed-fast: 180ms;
  --speed: 320ms;
  --speed-slow: 620ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-ui: "Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(circle at 12% -2%, rgba(99, 216, 255, 0.18), transparent 42%),
    radial-gradient(circle at 85% 18%, rgba(127, 241, 203, 0.11), transparent 35%),
    linear-gradient(180deg, rgba(11, 17, 27, 0.7), rgba(6, 9, 15, 0.95)),
    var(--bg);
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at center, black 25%, transparent 80%);
}

body.home-cinematic::before {
  opacity: 0.24;
}

body.home-cinematic::after {
  content: "";
  position: fixed;
  inset: -18%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  filter: blur(28px);
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 20% 18%, rgba(99, 216, 255, 0.24), transparent 35%),
    radial-gradient(circle at 78% 24%, rgba(127, 241, 203, 0.2), transparent 34%),
    radial-gradient(circle at 64% 82%, rgba(99, 216, 255, 0.14), transparent 38%);
  will-change: auto;
}

main,
footer {
  position: relative;
  z-index: 1;
}

/* Page-level transition states are toggled by JS for smooth in/out navigation. */
@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.has-motion.is-ready main,
body.has-motion.is-ready footer {
  animation: page-enter var(--speed-slow) var(--ease) both;
}

body.has-motion.is-leaving main,
body.has-motion.is-leaving footer {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 300ms var(--ease),
    transform 300ms var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--speed-fast) var(--ease);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(99, 216, 255, 0.6);
  outline-offset: 2px;
  border-radius: 8px;
}

::selection {
  background: rgba(99, 216, 255, 0.28);
  color: #f6fbff;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

main {
  padding: 7.15rem 0 4.8rem;
}

section {
  margin: 0 0 clamp(2.8rem, 5vw, 4.4rem);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  font-weight: 720;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 650;
}

h3 {
  font-size: 1.1rem;
  font-weight: 640;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  letter-spacing: -0.015em;
}

h2 {
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

p + p {
  margin-top: 0.7rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.45rem;
}

.section-head p {
  max-width: 56ch;
}

/*
  Header / Navigation
*/
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 16, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.nav-wrap {
  width: var(--container);
  margin-inline: auto;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #f3f7fd;
  transition: transform var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  color: #ffffff;
}

.brand span {
  white-space: nowrap;
}

.brand-logo {
  width: 2.05rem;
  height: 2.05rem;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 12px rgba(99, 216, 255, 0.16));
  transition:
    transform var(--speed-fast) var(--ease),
    filter var(--speed-fast) var(--ease);
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-1px) scale(1.03);
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 16px rgba(99, 216, 255, 0.24));
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  font-weight: 520;
  font-size: 0.94rem;
  padding: 0.62rem 0.78rem;
  border-radius: 9px;
  position: relative;
  transition:
    color var(--speed-fast) var(--ease),
    background var(--speed-fast) var(--ease),
    transform var(--speed-fast) var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--speed-fast) var(--ease);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: #f4f8ff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition: border-color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(99, 216, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

/*
  Buttons
*/
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 216, 255, 0.16);
  border-radius: 11px;
  padding: 0.7rem 1.02rem;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #0d1721;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 5px 14px rgba(99, 216, 255, 0.18);
  transition:
    transform var(--speed-fast) var(--ease),
    box-shadow var(--speed-fast) var(--ease),
    filter var(--speed-fast) var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 28px rgba(99, 216, 255, 0.28);
  filter: brightness(1.04);
}

.btn.secondary {
  color: var(--text);
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

/*
  Utility Grid Patterns
*/
.grid-2,
.grid-3,
.grid-auto {
  display: grid;
  gap: clamp(0.8rem, 1.8vw, 1.2rem);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--speed) var(--ease),
    border-color var(--speed-fast) var(--ease),
    box-shadow var(--speed-fast) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: -80% -20% auto;
  height: 65%;
  background: radial-gradient(circle at center, rgba(99, 216, 255, 0.16), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--speed-fast) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 216, 255, 0.38);
  box-shadow: var(--shadow), var(--glow-soft);
}

.card:hover::before {
  opacity: 1;
}

.card-body {
  padding: clamp(0.95rem, 1.8vw, 1.15rem);
  position: relative;
  z-index: 1;
}

.card > img {
  transform: scale(1.001);
  transition:
    transform var(--speed) var(--ease),
    filter var(--speed-fast) var(--ease);
}

.card:hover > img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.03);
}

.tag {
  display: inline-flex;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(99, 216, 255, 0.24);
  padding: 0.28rem 0.62rem;
  margin-bottom: 0.7rem;
  color: #d1f7ff;
  background: rgba(99, 216, 255, 0.12);
}

/*
  Home Page
*/
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  align-items: stretch;
}

.hero-copy {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 4vw, 2.2rem);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-soft);
}

.hero-copy p {
  margin: 1rem 0 1.5rem;
  max-width: 48ch;
}

.hero-copy h1,
.darts-hero-main h1 {
  position: relative;
  display: inline-block;
}

.hero-copy h1::after,
.darts-hero-main h1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 2%;
  bottom: -0.18em;
  height: 0.22em;
  background: linear-gradient(90deg, rgba(99, 216, 255, 0.42), rgba(127, 241, 203, 0.15), transparent 78%);
  filter: blur(10px);
  transform-origin: left;
  transform: scaleX(0.6);
  opacity: 0;
  transition:
    opacity var(--speed-slow) var(--ease),
    transform var(--speed-slow) var(--ease);
  pointer-events: none;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 100%;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(99, 216, 255, 0.2), transparent 52%);
  opacity: 0.38;
  transition: opacity var(--speed) var(--ease);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.01);
  transition:
    transform var(--speed-slow) var(--ease),
    filter var(--speed-fast) var(--ease);
}

.hero-media:hover::after {
  opacity: 0.6;
}

.hero-media:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.06);
}

.hero-media img.hero-portrait {
  object-position: center 26%;
  filter: saturate(0.94) contrast(1.08) brightness(0.94);
}

.hero-cinematic {
  position: relative;
  min-height: min(82vh, 840px);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 26px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      108deg,
      rgba(9, 17, 30, 0.99),
      rgba(28, 44, 58, 0.95),
      rgba(62, 49, 28, 0.78),
      rgba(6, 11, 19, 0.97)
    );
  background-size: 480% 480%;
  animation: hero-gradient-shift 13s ease infinite;
  box-shadow: var(--shadow);
}

.hero-cinematic::before,
.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  z-index: 0;
}

.hero-cinematic::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(99, 216, 255, 0.18), transparent 34%),
    radial-gradient(circle at 30% 70%, rgba(127, 241, 203, 0.12), transparent 38%);
  opacity: 0.86;
}

.hero-cinematic::after {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.045), transparent 28%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.015) 0 1px,
      transparent 1px 3px
    );
  opacity: 0.26;
}

@keyframes hero-gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-cinematic-copy,
.hero-cinematic-media {
  position: relative;
  z-index: 1;
}

.hero-cinematic-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.35rem, 1vw, 0.8rem);
}

.hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(217, 238, 255, 0.9);
  padding: 0.4rem 0.55rem 0.4rem 0;
}

.hero-title {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7.1vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.032em;
  color: #f6fbff;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.hero-title span:last-child {
  background: linear-gradient(95deg, #dff8ff, #7fe4ff 46%, #9df0d5 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 1rem 0 1.45rem;
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  color: rgba(216, 227, 241, 0.86);
  max-width: 52ch;
}

.hero-actions {
  gap: 0.65rem;
}

.hero-cinematic-media {
  align-self: center;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 760px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.hero-cinematic-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.02), rgba(6, 9, 15, 0.34));
  pointer-events: none;
  z-index: 1;
}

.hero-cinematic-media .hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.9) contrast(1.08) brightness(0.92);
}

.hero-media-badge {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: inline-flex;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 9, 16, 0.5);
  color: rgba(235, 244, 255, 0.9);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-cinematic .site-header {
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.88), rgba(6, 9, 15, 0.42));
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.home-cinematic .nav {
  gap: 0.12rem;
}

body.home-cinematic .nav a {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(210, 225, 244, 0.82);
}

/* Cinematic hero sequence with smooth staged entrance. */
.hero-cinematic.reveal .hero-kicker,
.hero-cinematic.reveal .hero-title span,
.hero-cinematic.reveal .hero-sub,
.hero-cinematic.reveal .hero-actions,
.hero-cinematic.reveal .hero-cinematic-media {
  opacity: 0;
  transform: translateY(18px);
}

.hero-cinematic.reveal .hero-title span:nth-child(1) {
  transition:
    opacity var(--speed-slow) var(--ease) 60ms,
    transform var(--speed-slow) var(--ease) 60ms;
}

.hero-cinematic.reveal .hero-title span:nth-child(2) {
  transition:
    opacity var(--speed-slow) var(--ease) 120ms,
    transform var(--speed-slow) var(--ease) 120ms;
}

.hero-cinematic.reveal .hero-title span:nth-child(3) {
  transition:
    opacity var(--speed-slow) var(--ease) 180ms,
    transform var(--speed-slow) var(--ease) 180ms;
}

.hero-cinematic.reveal .hero-kicker {
  transition:
    opacity var(--speed-slow) var(--ease),
    transform var(--speed-slow) var(--ease);
}

.hero-cinematic.reveal .hero-sub {
  transition:
    opacity var(--speed-slow) var(--ease) 210ms,
    transform var(--speed-slow) var(--ease) 210ms;
}

.hero-cinematic.reveal .hero-actions {
  transition:
    opacity var(--speed-slow) var(--ease) 280ms,
    transform var(--speed-slow) var(--ease) 280ms;
}

.hero-cinematic.reveal .hero-cinematic-media {
  transform: translateY(16px) scale(0.985);
  transition:
    opacity var(--speed-slow) var(--ease) 200ms,
    transform var(--speed-slow) var(--ease) 200ms;
}

.hero-cinematic.reveal.is-visible .hero-kicker,
.hero-cinematic.reveal.is-visible .hero-title span,
.hero-cinematic.reveal.is-visible .hero-sub,
.hero-cinematic.reveal.is-visible .hero-actions,
.hero-cinematic.reveal.is-visible .hero-cinematic-media {
  opacity: 1;
  transform: none;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.metric {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 0.85rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.018);
  transition: transform var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 216, 255, 0.3);
}

.metric strong {
  display: block;
  font-size: 1.2rem;
  color: #f5fbff;
}

.metric span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero sequencing: fade and lift core elements once hero section is visible. */
.hero.reveal .hero-copy h1,
.darts-hero.reveal .darts-hero-main h1,
.hero.reveal .hero-copy p,
.darts-hero.reveal .darts-hero-main p,
.hero.reveal .hero-copy .btn-row,
.darts-hero.reveal .darts-hero-main .btn-row,
.hero.reveal .hero-media {
  opacity: 0;
  transform: translateY(14px);
}

.hero.reveal .hero-media {
  transform: translateY(14px) scale(0.985);
}

.hero.reveal .hero-copy h1,
.darts-hero.reveal .darts-hero-main h1 {
  transition:
    opacity var(--speed-slow) var(--ease),
    transform var(--speed-slow) var(--ease);
}

.hero.reveal .hero-copy p,
.darts-hero.reveal .darts-hero-main p {
  transition:
    opacity var(--speed-slow) var(--ease) 80ms,
    transform var(--speed-slow) var(--ease) 80ms;
}

.hero.reveal .hero-copy .btn-row,
.darts-hero.reveal .darts-hero-main .btn-row {
  transition:
    opacity var(--speed-slow) var(--ease) 150ms,
    transform var(--speed-slow) var(--ease) 150ms;
}

.hero.reveal .hero-media {
  transition:
    opacity var(--speed-slow) var(--ease) 120ms,
    transform var(--speed-slow) var(--ease) 120ms;
}

.hero.reveal.is-visible .hero-copy h1,
.darts-hero.reveal.is-visible .darts-hero-main h1,
.hero.reveal.is-visible .hero-copy p,
.darts-hero.reveal.is-visible .darts-hero-main p,
.hero.reveal.is-visible .hero-copy .btn-row,
.darts-hero.reveal.is-visible .darts-hero-main .btn-row,
.hero.reveal.is-visible .hero-media {
  opacity: 1;
  transform: none;
}

.hero.reveal.is-visible .hero-copy h1::after,
.darts-hero.reveal.is-visible .darts-hero-main h1::after {
  opacity: 0.56;
  transform: scaleX(1);
}

.darts-hero.reveal .score-box {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--speed-slow) var(--ease),
    transform var(--speed-slow) var(--ease);
}

.darts-hero.reveal .score-box:nth-child(1) {
  transition-delay: 100ms;
}

.darts-hero.reveal .score-box:nth-child(2) {
  transition-delay: 150ms;
}

.darts-hero.reveal .score-box:nth-child(3) {
  transition-delay: 200ms;
}

.darts-hero.reveal .score-box:nth-child(4) {
  transition-delay: 250ms;
}

.darts-hero.reveal.is-visible .score-box {
  opacity: 1;
  transform: none;
}

/*
  Galleries
*/
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.filter-btn {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    border-color var(--speed-fast) var(--ease),
    color var(--speed-fast) var(--ease),
    background var(--speed-fast) var(--ease),
    transform var(--speed-fast) var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  transform: translateY(-1px);
  border-color: rgba(99, 216, 255, 0.45);
  color: #def8ff;
  background: rgba(99, 216, 255, 0.14);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease),
    box-shadow var(--speed-fast) var(--ease);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 9, 15, 0.72), transparent);
  opacity: 0.75;
  transition: opacity var(--speed-fast) var(--ease);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 240, 201, 0.38);
  box-shadow: var(--shadow), 0 0 0 1px rgba(124, 240, 201, 0.14);
}

.gallery-card:hover::after {
  opacity: 0.9;
}

.gallery-card button {
  all: unset;
  display: block;
  width: 100%;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}

.gallery-card button::after {
  content: "";
  position: absolute;
  inset: -140% -60%;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.22), transparent 60%);
  transform: translateX(-120%) rotate(20deg);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}

.gallery-card:hover button::after {
  transform: translateX(120%) rotate(20deg);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--speed) var(--ease), filter var(--speed-fast) var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.05) translateY(-2px);
  filter: saturate(1.07) contrast(1.03);
}

.gallery-meta {
  padding: 0.82rem 0.92rem 0.96rem;
  position: relative;
  z-index: 1;
}

.gallery-meta small {
  color: var(--muted);
}

.gallery-card.is-hidden {
  display: none;
}

/*
  Lightbox Overlay
*/
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 1.2rem;
  background: rgba(3, 6, 10, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-frame {
  width: min(1120px, 96vw);
  max-height: 90vh;
  border: 1px solid var(--line-soft);
  background: #0a1018;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(99, 216, 255, 0.2);
}

.lightbox-frame img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #04070d;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.95rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.lightbox-close {
  border: 1px solid var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 9px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: border-color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(99, 216, 255, 0.4);
  background: rgba(99, 216, 255, 0.12);
}

/*
  Darts Page
*/
.darts-page {
  display: grid;
  gap: 4.1rem;
}

.darts-page section {
  margin-bottom: 0;
}

.darts-hero {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 1rem;
  align-items: stretch;
}

.darts-hero-main {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 4vw, 1.8rem);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-soft);
}

.darts-hero-main p {
  margin: 0.95rem 0 1.2rem;
  max-width: 54ch;
}

.score-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.score-box {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.82rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  transition: transform var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease);
}

.score-box:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 216, 255, 0.34);
}

.score-box span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #adc0d7;
}

.score-box strong {
  display: block;
  margin-top: 0.24rem;
  font-size: 1.35rem;
  color: #f3f8ff;
}

.score-box small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition:
    transform var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 216, 255, 0.36);
}

.video-card.is-featured {
  grid-column: span 2;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06090f;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  padding: 0.88rem 0.95rem 1rem;
}

.video-meta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.video-label {
  display: inline-flex;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c8f9f2;
  border: 1px solid rgba(124, 240, 201, 0.26);
  border-radius: 999px;
  background: rgba(124, 240, 201, 0.1);
  padding: 0.2rem 0.5rem;
}

.video-time {
  color: var(--muted);
  font-size: 0.84rem;
}

.video-meta p {
  margin-top: 0.3rem;
}

.darts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: start;
}

.post-stack {
  display: grid;
  gap: 1rem;
}

.post-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  padding: 1rem;
  transition:
    transform var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease);
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 216, 255, 0.36);
}

.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.post-kicker {
  display: inline-flex;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d3f6ff;
  border: 1px solid rgba(85, 211, 255, 0.24);
  border-radius: 999px;
  background: rgba(85, 211, 255, 0.11);
  padding: 0.2rem 0.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
}

.post-link {
  display: inline-flex;
  margin-top: 0.65rem;
  color: #c9f8ff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--speed-fast) var(--ease);
}

.post-link:hover,
.post-link:focus-visible {
  color: #ffffff;
}

.guide-section {
  margin-top: 0.25rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.guide-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.95rem;
}

.guide-card h3 {
  margin: 0.45rem 0 0.45rem;
}

.guide-card p {
  margin-bottom: 0.65rem;
}

.guide-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.guide-points li + li {
  margin-top: 0.34rem;
}

.darts-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6.2rem;
  align-self: start;
}

.side-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow);
  padding: 1rem;
}

.side-panel h3 {
  margin-bottom: 0.65rem;
}

.stats-board {
  display: grid;
  gap: 0.7rem;
}

.stat-block {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
  padding: 0.74rem;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}

.stat-row span {
  color: #bfd2eb;
  font-size: 0.82rem;
}

.stat-row strong {
  font-size: 1.15rem;
  color: #f3f9ff;
}

.stat-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.45rem 0 0.32rem;
  background: rgba(255, 255, 255, 0.09);
}

.stat-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.stat-note {
  margin: 0;
  font-size: 0.8rem;
}

.tips-list,
.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tips-list li,
.guide-list li {
  padding: 0.64rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}

.tips-list li:first-child,
.guide-list li:first-child {
  padding-top: 0;
}

.tips-list li:last-child,
.guide-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.guide-list a {
  color: #def8ff;
  transition: color var(--speed-fast) var(--ease);
}

.guide-list a:hover,
.guide-list a:focus-visible {
  color: #ffffff;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 0.72rem 0.82rem;
}

.list li + li {
  margin-top: 0.55rem;
}

/*
  About + Contact
*/
.profile {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border-left: 2px solid rgba(85, 211, 255, 0.35);
  padding-left: 0.85rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.42rem;
  color: #d6deeb;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  transition:
    border-color var(--speed-fast) var(--ease),
    background var(--speed-fast) var(--ease),
    box-shadow var(--speed-fast) var(--ease);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(99, 216, 255, 0.34);
  border-color: rgba(99, 216, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(99, 216, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.status-msg {
  color: var(--accent-2);
  font-size: 0.9rem;
}

/*
  Footer
*/
footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.3rem 0 2rem;
}

.footer-row {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #dbe8f8;
}

.footer-logo {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(99, 216, 255, 0.14));
}

/*
  Scroll Reveal
  Elements start hidden and are animated in via JS IntersectionObserver.
*/
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms var(--ease),
    transform 640ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/*
  Responsive Behavior
*/
@media (max-width: 930px) {
  .hero,
  .profile,
  .grid-3,
  .darts-hero,
  .darts-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-cinematic {
    min-height: auto;
    padding: 1rem;
  }

  .hero-cinematic-media {
    width: min(420px, 100%);
    max-height: none;
    justify-self: center;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 4.2rem);
  }

  .hero-sub {
    max-width: 100%;
  }

  .video-card.is-featured {
    grid-column: auto;
  }

  .darts-sidebar {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 4vw;
    right: 4vw;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(13, 18, 26, 0.94);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0.75rem;
  }

  .metric-row {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 700px) {
  main {
    padding-top: 6.4rem;
  }

  .grid-2,
  .input-row {
    grid-template-columns: 1fr;
  }

  .score-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-media-badge {
    right: 0.7rem;
    bottom: 0.7rem;
    font-size: 0.7rem;
  }

  .brand span {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .brand-logo {
    width: 1.86rem;
    height: 1.86rem;
  }
}

/*
  Motion safety for users who prefer reduced motion.
*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition-delay: 0ms !important;
  }

  body.has-motion main,
  body.has-motion footer {
    opacity: 1;
    transform: none;
  }

  .hero.reveal .hero-copy h1,
  .darts-hero.reveal .darts-hero-main h1,
  .hero.reveal .hero-copy p,
  .darts-hero.reveal .darts-hero-main p,
  .hero.reveal .hero-copy .btn-row,
  .darts-hero.reveal .darts-hero-main .btn-row,
  .hero.reveal .hero-media,
  .darts-hero.reveal .score-box {
    opacity: 1;
    transform: none;
  }

  .hero-copy h1::after,
  .darts-hero-main h1::after {
    opacity: 0.3;
    transform: none;
  }

  body.home-cinematic::after {
    opacity: 0.22;
    transform: none;
  }

  .hero-cinematic {
    animation: none;
    background-position: 50% 50%;
  }
}
