/* =========================================================
   West Hobbies RC — styles
   ========================================================= */

:root {
  --bg: #0b0d10;
  --bg-2: #12151a;
  --bg-3: #1a1e25;
  --line: #262b34;
  --text: #eef1f5;
  --muted: #98a1b0;
  --lime: #c6f135;
  --lime-d: #a7d11b;
  --lime-glow: rgba(198, 241, 53, .35);
  --orange: #ff6a1a;
  --yt: #ff0033;

  --f-display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b { font-weight: 600; color: var(--text); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--lime); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lime { color: var(--lime); }
.muted { color: var(--muted); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 600 13px/1 var(--f-display); letter-spacing: .26em; text-transform: uppercase; color: var(--lime);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--lime); box-shadow: 0 0 10px var(--lime-glow); }
.h2 {
  font: 700 clamp(36px, 5.4vw, 72px)/1 var(--f-display); text-transform: uppercase;
  letter-spacing: -.01em; margin: 0 0 22px; text-wrap: balance;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 60ch; }
.head { margin-bottom: clamp(36px, 5vw, 60px); }
.head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head--row .muted { max-width: 38ch; margin: 0 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 15px 24px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--sm { padding: 11px 16px; font-size: 13px; }
.btn--lg { padding: 19px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: #0b0d10; }
.btn--lime:hover { background: #d9ff52; transform: translateY(-2px); box-shadow: 0 10px 30px -6px var(--lime-glow); }
.btn--line { border-color: rgba(255,255,255,.3); color: var(--text); }
.btn--line:hover { border-color: var(--lime); color: var(--lime); }
.btn--yt { background: var(--yt); color: #fff; }
.btn--yt:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255,0,51,.6); }

/* ---------- Ship bar ---------- */
.ship {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 8px 16px;
  background: var(--lime); color: #0b0d10; font: 600 13px/1.3 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
}
.ship a { text-decoration: none; border-bottom: 2px solid; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(11,13,16,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.is-scrolled { border-color: var(--line); background: rgba(11,13,16,.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.nav__links a:not(.btn) {
  font: 600 14px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .25s var(--ease); box-shadow: 0 0 8px var(--lime-glow); }
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 960px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: rgba(11,13,16,.98); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav__links a:not(.btn) { font-size: 24px; color: var(--text); }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); display: flex; align-items: center; overflow: hidden; padding: 80px 0 110px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.95) 0%, rgba(11,13,16,.78) 38%, rgba(11,13,16,.2) 70%, rgba(11,13,16,.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__rotor { position: absolute; width: min(70vw, 900px); right: -18vw; top: -22vw; opacity: .5; pointer-events: none; }
.hero__rotor .disc { fill: rgba(198,241,53,.03); stroke: rgba(198,241,53,.18); stroke-width: .4; stroke-dasharray: 2 3; }
.hero__rotor .blades { fill: rgba(198,241,53,.16); transform-origin: 0 0; animation: spin 1.1s linear infinite; filter: blur(.6px); }
.hero__rotor .hub { fill: rgba(198,241,53,.4); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr .6fr; gap: 48px; align-items: end; width: 100%; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 9px 14px;
  border: 1px solid rgba(198,241,53,.35); background: rgba(11,13,16,.55); border-radius: 4px;
  font: 600 12.5px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--text);
}
.tag__live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime-glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.hero__title { font: 700 clamp(52px, 6.6vw, 116px)/.88 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 28px; }
.hero__title > span { display: block; }
.hero__hl { white-space: nowrap; color: var(--lime); text-shadow: 0 0 40px rgba(198,241,53,.35); }
.hero__lede { max-width: 52ch; font-size: clamp(17px, 1.5vw, 20px); color: #c9d0db; margin: 0 0 36px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hud {
  position: relative; background: rgba(11,13,16,.72); border: 1px solid rgba(198,241,53,.35); border-radius: 8px;
  padding: 20px 22px 22px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-display); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 40px rgba(198,241,53,.04);
}
.hud::before, .hud::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--lime); }
.hud::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.hud::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.hud__head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hud__id { color: var(--lime); }
.hud__list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 2px; }
.hud__list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.hud__list i { font-style: normal; font-size: 12px; letter-spacing: .14em; color: var(--bg); background: var(--lime); padding: 3px 8px; border-radius: 3px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.hud.is-in .hud__list li:nth-child(1) i { transition-delay: .7s; }
.hud.is-in .hud__list li:nth-child(2) i { transition-delay: 1.1s; }
.hud.is-in .hud__list li:nth-child(3) i { transition-delay: 1.5s; }
.hud.is-in .hud__list li:nth-child(4) i { transition-delay: 1.9s; }
.hud.is-in .hud__list i { opacity: 1; transform: none; }
.hud__foot { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hud__foot b { font: 700 20px/1 var(--f-display); letter-spacing: .04em; color: var(--lime); text-transform: uppercase; }
.hud__bar { margin-top: 12px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hud__bar span { display: block; height: 100%; width: 0; background: var(--lime); box-shadow: 0 0 10px var(--lime); transition: width 1.8s .4s var(--ease); }
.hud.is-in .hud__bar span { width: 100%; }

.hero__down { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; z-index: 2; }
.hero__down span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; background: var(--lime); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { to { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hud { max-width: 380px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.85) 55%, var(--bg) 100%); }
}

/* ---------- Brands marquee ---------- */
.brands { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.brands__track { display: flex; align-items: center; gap: 44px; width: max-content; padding: 22px 0; animation: marquee 32s linear infinite; }
.brands span { font: 700 clamp(22px, 2.6vw, 34px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: #5d6574; transition: color .2s; }
.brands span:hover { color: var(--text); }
.brands i { width: 8px; height: 8px; background: var(--lime); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.brands:hover .brands__track { animation-play-state: paused; }

/* ---------- Build services ---------- */
.builds { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.builds::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.builds .wrap { position: relative; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price {
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 32px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.price:hover { transform: translateY(-6px); border-color: rgba(198,241,53,.5); box-shadow: 0 24px 50px -24px rgba(198,241,53,.25); }
.price__tag { display: inline-block; font: 600 12px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(198,241,53,.4); padding: 6px 10px; border-radius: 3px; }
.price h3 { font: 700 24px/1.15 var(--f-display); text-transform: uppercase; margin: 18px 0 8px; letter-spacing: .01em; }
.price__amt { font: 700 72px/1 var(--f-display); letter-spacing: -.02em; margin: 6px 0 22px; display: flex; align-items: flex-start; gap: 4px; }
.price__amt small { font-size: 30px; margin-top: 8px; color: var(--muted); }
.price__amt em { font-style: normal; font-size: 16px; align-self: flex-end; margin: 0 6px 12px 0; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: center; color: #c9d0db; font-size: 15.5px; }
.price li::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23c6f135' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.price--hot { background: linear-gradient(160deg, #1d2410, var(--bg-2) 60%); border-color: rgba(198,241,53,.5); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.extra { background: var(--bg-2); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.extra span { color: #c9d0db; font-weight: 500; font-size: 15px; }
.extra b { font: 700 22px/1 var(--f-display); color: var(--lime); white-space: nowrap; }
.extra em { font-style: normal; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .extras { grid-template-columns: 1fr; } }
.fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

.flow { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.flow li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0 0; border-top: 2px solid var(--line); position: relative; }
.flow li::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--lime); box-shadow: 0 0 10px var(--lime-glow); transition: width 1s .3s var(--ease); }
.flow li.is-in::before { width: 100%; }
.flow span { font: 700 34px/1 var(--f-display); color: var(--lime); }
.flow b { display: block; font: 700 19px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.flow div { color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .flow { grid-template-columns: 1fr; } }
.builds__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; }

/* ---------- Bench mosaic ---------- */
.bench { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 12px; }
.m { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.m--big { grid-column: span 2; grid-row: span 2; }
.m--tall { grid-row: span 2; }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9); }
.m::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: var(--r); transition: border-color .3s; }
.m:hover img { transform: scale(1.06); filter: saturate(1.1); }
.m:hover::after, .m:focus-visible::after { border-color: var(--lime); }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .m--big { grid-column: span 2; }
}

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5,6,8,.92); backdrop-filter: blur(4px); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: fixed; background: rgba(11,13,16,.8); border: 1px solid var(--line); color: var(--text); width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { border-color: var(--lime); color: var(--lime); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Shop ---------- */
.shop { padding: clamp(80px, 10vw, 140px) 0; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod {
  position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 22px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.prod:hover { transform: translateY(-6px); border-color: rgba(198,241,53,.5); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.prod__img { aspect-ratio: 4 / 3; background: #fff; border-radius: 6px; overflow: hidden; display: grid; place-items: center; margin-bottom: 18px; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.06) rotate(-1.5deg); }
.prod__badge { position: absolute; top: 24px; left: 24px; background: var(--orange); color: #fff; font: 700 11px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.prod__badge--new { background: var(--lime); color: var(--bg); }
.prod__brand { padding: 0 8px; font: 600 12px/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.prod h3 { padding: 0 8px; margin: 8px 0 14px; font: 700 21px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.prod__go { margin-top: auto; padding: 0 8px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.prod:hover .prod__go { color: var(--lime); }
@media (max-width: 960px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

.cats__title { font: 700 20px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; margin: 64px 0 18px; color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cat {
  text-decoration: none; padding: 13px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2);
  font: 600 15px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; transition: all .2s;
}
.cat:hover { border-color: var(--lime); color: var(--bg); background: var(--lime); }

/* ---------- About ---------- */
.about { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px) clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { position: relative; border-radius: var(--r); overflow: hidden; grid-row: span 2; align-self: stretch; min-height: 320px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,16,.75), transparent 45%); }
.about__cap { position: absolute; left: 20px; bottom: 18px; z-index: 1; font: 700 15px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.about__cap::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--lime); vertical-align: middle; margin-right: 10px; }

.logbook { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.logbook li { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); transition: border-color .3s; }
.logbook li:hover { border-color: rgba(198,241,53,.5); }
.logbook__age { font: 700 13px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.logbook div { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.logbook b { display: block; font: 700 17px/1.2 var(--f-display); text-transform: uppercase; color: var(--text); margin-bottom: 2px; letter-spacing: .02em; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) { .logbook { grid-template-columns: 1fr; } }

/* ---------- YouTube band ---------- */
.yt { position: relative; padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; text-align: center; }
.yt__bg { position: absolute; inset: 0; }
.yt__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.yt__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,13,16,.55), rgba(11,13,16,.92) 75%); }
.yt__inner { position: relative; }
.yt__q { font: 700 clamp(34px, 5.6vw, 76px)/1.02 var(--f-display); text-transform: uppercase; margin: 0 0 18px; letter-spacing: -.01em; text-wrap: balance; }
.yt__sub { color: #c9d0db; font-size: 18px; margin: 0 auto 34px; max-width: 46ch; }

/* ---------- Events ---------- */
.events { padding: clamp(80px, 10vw, 140px) 0; }
.evts { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.evt { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.evt__when { font: 600 13px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.evt h3 { font: 700 24px/1.15 var(--f-display); text-transform: uppercase; margin: 12px 0 10px; }
.evt p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.evt a { color: var(--lime); font-weight: 600; text-decoration: none; }
.evt a:hover { text-decoration: underline; }
.evt__past { position: absolute; top: 24px; right: 24px; font: 700 11px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 3px; }
.evt--next { background: linear-gradient(150deg, #1d2410, var(--bg-2) 70%); border-color: rgba(198,241,53,.5); }
.evt--next .evt__when { color: var(--lime); }
@media (max-width: 900px) { .evts { grid-template-columns: 1fr; } }

/* ---------- Visit / form ---------- */
.visit { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.vinfo { list-style: none; padding: 0; margin: 28px 0 28px; }
.vinfo li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.vinfo span { font: 600 12px/1.9 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.vinfo a { font: 700 20px/1.35 var(--f-display); text-decoration: none; letter-spacing: .02em; transition: color .2s; }
.vinfo a:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; border: 1px solid var(--line); transition: all .2s; }
.socials a:hover { border-color: var(--lime); background: var(--lime); }
.socials a:hover svg { fill: var(--bg); }
.socials svg { width: 20px; height: 20px; fill: var(--text); }

.form { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--lime); border-radius: var(--r); padding: clamp(24px, 3vw, 38px); display: grid; gap: 16px; }
.form h3 { margin: 0 0 4px; font: 700 26px/1.1 var(--f-display); text-transform: uppercase; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 7px; min-width: 0; }
.f > span { font: 600 12px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.f input, .f select, .f textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.f input::placeholder, .f textarea::placeholder { color: #5d6574; }
.f textarea { resize: vertical; min-height: 100px; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c6f135' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198,241,53,.15); }
.f.is-invalid input { border-color: #ff4d5e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.form__note a { color: var(--lime); }
.form__note.is-ok { color: var(--lime); font-weight: 600; }
.form__note.is-err { color: #ff6b78; font-weight: 600; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; background: #07080a; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer__grid > div { display: grid; gap: 8px; align-content: start; }
.footer__grid b { font: 700 13px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__logo { height: 44px; width: auto; }
.footer p { margin: 8px 0 0; max-width: 34ch; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title .reveal { transform: translateY(50px); }
.js .hero__title .reveal.is-in { transform: none; }
.no-js .hud__list i { opacity: 1; transform: none; }
.no-js .hud__bar span, .no-js .flow li::before { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hud__list i { opacity: 1 !important; transform: none !important; }
  .hud__bar span, .flow li::before { width: 100% !important; }
}
