:root {
  --bg: #ffffff;
  --ink: #0b1220;
  --muted: #5a6b85;
  --blue: #0b5fff;
  --blue-deep: #0639a8;
  --blue-soft: #9ec0ff;
  --squad-bg: #0b0e11;
  --squad-panel: rgba(18, 22, 28, 0.92);
  --squad-ink: #f3f5f7;
  --squad-muted: #9aa3ad;
  --squad-line: rgba(180, 230, 190, 0.18);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --radius: 14px;
  --card-gk: linear-gradient(165deg, #f0c14b 0%, #b8860b 55%, #7a5208 100%);
  --card-def: linear-gradient(165deg, #3d7cff 0%, #0b5fff 50%, #0639a8 100%);
  --card-mid: linear-gradient(165deg, #2fd67a 0%, #0f9d58 55%, #06663a 100%);
  --card-att: linear-gradient(165deg, #ff6b4a 0%, #e11d48 55%, #9f1239 100%);
}

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

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  /* Page slide MUST stay animated � Windows often enables reduce-motion */
  .pages__track,
  .pages__track.is-moving {
    transition-duration: 820ms !important;
    animation-duration: 820ms !important;
  }
}

body {
  color: var(--ink);
  background: #05080f;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

/* ========== FULL-PAGE SLIDER slide3 (CSS transform = Windows OK) ========== */
.pages {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: #05080f;
  outline: none;
  touch-action: none;
}

.pages.is-animating .page-dots {
  pointer-events: none;
}
/* Keep hero CTA clickable even during page slide */
.pages.is-animating .cta {
  pointer-events: auto;
}

.pages__track {
  width: 100%;
  height: 200%;
  height: 200dvh;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transition: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.pages__track.is-moving {
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.page {
  height: 50%;
  height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.page-dots {
  position: fixed;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  gap: 0.55rem;
  pointer-events: auto;
}

body[data-section="1"] .page-dots {
  opacity: 0.35;
}

.page-dots__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.page-dots__dot.is-active {
  background: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(11, 95, 255, 0.35);
}

/* ========== HERO ========== */
.hero {
  display: grid;
  place-items: end start;
  color: #fff;
  background: #05080f;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 50% 40%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 48, 0.18) 0%, rgba(6, 20, 48, 0.12) 38%, rgba(6, 20, 48, 0.78) 100%),
    linear-gradient(90deg, rgba(6, 20, 48, 0.48) 0%, transparent 58%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(4.5rem, 10vw, 6rem);
  max-width: 40rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0 0 0.85rem;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: min(340px, 72vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero__title {
  margin: 0 0 1.35rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.94);
  text-wrap: balance;
}

.cta {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.85rem 1.35rem 0.8rem;
  background: #fff;
  color: var(--blue-deep);
  font-family: inherit;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cta:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.cta:disabled { opacity: 0.78; cursor: not-allowed; }
.cta.is-busy { cursor: progress; }

.cta__label {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.cta__hint {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.62;
}

.hero__note {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 26rem;
  line-height: 1.35;
}

.hero__scroll {
  appearance: none;
  border: none;
  background: transparent;
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 0.6rem 1rem;
  font: inherit;
}

.hero__scroll:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 8px;
}

.hero__scroll span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll i {
  width: 1.5px;
  height: 28px;
  background: linear-gradient(180deg, #fff, transparent);
  animation: scrollPulse 1.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; }
  .hero__scroll i { animation: none; }
}

/* ========== SQUAD (ref UI) ========== */
.squad {
  background: #0b0e11;
  color: var(--squad-ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.squad__inner {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  padding: 0.7rem clamp(0.75rem, 2vw, 1.25rem) 0.75rem;
}

/* Top bar */
.fd-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1.1rem;
  min-height: 3.2rem;
}

.fd-mark {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 10px;
  background: linear-gradient(160deg, #1d4ed8, #0b5fff 55%, #062f86);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 22px rgba(11, 95, 255, 0.35);
  line-height: 1;
}
.fd-mark span:first-child { color: #9dc0ff; font-size: 1.05rem; }
.fd-mark span:last-child { color: #fff; font-size: 1.05rem; margin-left: 1px; }
.fd-mark { display: flex; align-items: center; justify-content: center; }

.fd-comp__label {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  font-weight: 700;
}
.fd-comp__title {
  margin: 0.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.fd-top__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.fd-hex {
  min-width: 4.4rem;
  padding: 0.45rem 0.7rem 0.4rem;
  border: 1.5px solid #22c55e;
  border-radius: 12px;
  text-align: center;
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.12), inset 0 0 18px rgba(34,197,94,0.08);
}
.fd-hex[data-tone="good"] { border-color: #22c55e; }
.fd-hex[data-tone="ok"] { border-color: #eab308; background: rgba(234,179,8,0.08); }
.fd-hex[data-tone="mid"] { border-color: #f97316; background: rgba(249,115,22,0.08); }
.fd-hex[data-tone="bad"] { border-color: #ef4444; background: rgba(239,68,68,0.08); }
.fd-hex strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.fd-hex span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}

.fd-conn { text-align: right; }
.fd-conn__label {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}
.fd-conn__val {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fd-conn__val[data-tone="good"] { color: #4ade80; }
.fd-conn__val[data-tone="ok"] { color: #facc15; }
.fd-conn__val[data-tone="mid"] { color: #fb923c; }
.fd-conn__val[data-tone="bad"] { color: #f87171; }

.squad__layout {
  display: grid;
  grid-template-columns: minmax(168px, 200px) minmax(0, 1fr) minmax(168px, 210px);
  gap: 0.75rem;
  min-height: 0;
  align-items: stretch;
}

.tactics-rail,
.side-rail {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tactics-panel {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  height: 100%;
  overflow: auto;
}

.rail__label {
  margin: 0.55rem 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.tactics-panel > .rail__label:first-child { margin-top: 0; }

.mode-toggle,
.mentality,
.form-choices { display: grid; gap: 0.22rem; }

.mode-btn,
.form-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: transparent;
  color: rgba(255,255,255,0.5);
  padding: 0.58rem 0.7rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  font-size: 0.84rem;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mode-btn:hover,
.form-btn:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.04);
}
.mode-btn.is-active,
.form-btn.is-active {
  color: #fff;
  background: rgba(37, 99, 235, 0.28);
  border-left-color: #3b82f6;
}
.mode-btn:focus-visible,
.form-btn:focus-visible {
  outline: 2px solid rgba(59,130,246,0.8);
  outline-offset: 1px;
}

.bench-rail {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  min-height: 0;
  padding: 0.75rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
}
.bench-rail .rail__label { margin: 0 0 0.2rem; text-align: left; }

.bench {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  align-content: start;
  overflow: auto;
  min-height: 0;
  flex: 1;
}
.bench .card { width: 100%; }

.pitch2d {
  min-height: 0;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.pitch2d__field {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}
.pitch2d__grass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.pitch2d__links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.chem line {
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.92;
}
.chem--good line { stroke: #22c55e; }
.chem--ok line { stroke: #eab308; }
.chem--mid line { stroke: #f97316; }
.chem--bad line { stroke: #ef4444; }

.pitch2d__grid {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: inherit;
  display: grid;
  grid-auto-rows: 1fr;
  padding: 3.2% 2.8% 2.8%;
  gap: 0.55rem;
}
.row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.35rem;
}

/* Dark player cards + endurance on RIGHT */
.card {
  --sta: 80%;
  --sta-color: #22c55e;
  position: relative;
  width: clamp(72px, 9.2vw, 92px);
  background: linear-gradient(180deg, #232833 0%, #171b22 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.4rem 0.55rem 0.42rem 0.4rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.4);
  text-align: left;
  color: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 5px;
  bottom: 8px;
  width: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
  background:
    linear-gradient(to top, var(--sta-color) 0, var(--sta-color) var(--sta), rgba(255,255,255,0.08) var(--sta), rgba(255,255,255,0.08) 100%);
}
.card[data-slot] { cursor: grab; }
.card.is-selected {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 0 0 2px #3b82f6, 0 14px 30px rgba(0,0,0,0.55);
  z-index: 6;
}
.card.is-dragging { opacity: 0.55; cursor: grabbing; }
.card.is-drop {
  outline: 2px dashed rgba(255,255,255,0.8);
  outline-offset: 2px;
}
.card:hover { transform: translateY(-3px); }

.card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  margin-bottom: 0.15rem;
  padding-right: 0.35rem;
}
.card__ovr {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: none;
  padding: 0;
  min-width: 0;
}
.card__pos {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.62);
  margin-top: 0;
}
.card__fit { display: none; }

.card__avatar {
  position: relative;
  width: calc(100% - 0.15rem);
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #0c0e12;
  margin: 0 0 0.28rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.card__flag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
.card__name {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-right: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card__fav { display: none; }

/* Footer */
.fd-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem 1.25rem;
  align-items: center;
  padding: 0.55rem 0.35rem 0.15rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fd-eval__label {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}
.fd-eval__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.2rem;
}
.fd-eval__row strong {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}
.fd-stars {
  display: flex;
  gap: 0.15rem;
  color: #f5c518;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.fd-bars {
  display: grid;
  gap: 0.35rem;
  max-width: 34rem;
}
.fd-bar__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.15rem;
}
.fd-bar__head b { color: #fff; font-variant-numeric: tabular-nums; }
.fd-bar__track {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.fd-bar__track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #22c55e;
  transition: width 0.35s ease, background 0.2s ease;
}
.fd-bar__track i[data-tone="good"] { background: #22c55e; }
.fd-bar__track i[data-tone="ok"] { background: #eab308; }
.fd-bar__track i[data-tone="mid"] { background: #f97316; }
.fd-bar__track i[data-tone="bad"] { background: #ef4444; }

.fd-legend {
  display: grid;
  gap: 0.28rem;
  justify-items: start;
}
.fd-legend__i {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.fd-legend__i::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 3px;
  border-radius: 99px;
  margin-right: 0.4rem;
  vertical-align: middle;
}
.fd-legend__i--ex::before { background: #22c55e; }
.fd-legend__i--good::before { background: #eab308; }
.fd-legend__i--mid::before { background: #f97316; }
.fd-legend__i--bad::before { background: #ef4444; }

@media (max-width: 1100px) {
  .squad__layout {
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) minmax(150px, 180px);
  }
}
@media (max-width: 860px) {
  .squad__inner { overflow: auto; grid-template-rows: auto auto auto; }
  .squad__layout { grid-template-columns: 1fr; }
  .pitch2d__field { min-height: 480px; }
  .fd-foot { grid-template-columns: 1fr; }
  .fd-top { grid-template-columns: auto 1fr; }
  .fd-top__meta { grid-column: 1 / -1; justify-content: flex-start; }
}


/* ========== GALLERY (page 2 — pitch + shots) ========== */
.gallery {
  --g-ink: #f3f6fb;
  --g-muted: #a7b6cc;
  --g-line: rgba(255, 255, 255, 0.12);
  --g-blue: #0b5fff;
  background:
    radial-gradient(1000px 520px at 8% 10%, rgba(11, 95, 255, 0.2), transparent 58%),
    radial-gradient(800px 480px at 100% 90%, rgba(11, 95, 255, 0.08), transparent 55%),
    #070b14;
  color: var(--g-ink);
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.gallery__inner {
  flex: 1;
  min-height: 0;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(1.1rem, 2.8vh, 2.2rem) clamp(1rem, 3vw, 2rem) 1.6rem;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
}

.gallery__copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 34rem;
  animation: galleryIn 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ec0ff;
  font-weight: 700;
}

.gallery__title {
  margin: 0;
  font-family: Syne, Outfit, sans-serif;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.gallery__lead {
  margin: 0.15rem 0 0;
  color: var(--g-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38ch;
  text-wrap: pretty;
}

.gallery__points {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.gallery__points li {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0 0.7rem 0.95rem;
  border-left: 1px solid rgba(11, 95, 255, 0.55);
  background: linear-gradient(90deg, rgba(11, 95, 255, 0.08), transparent 70%);
}

.gallery__points strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.gallery__points span {
  color: var(--g-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gallery__hook {
  margin: 0.2rem 0 0;
  color: #d7e0ef;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 40ch;
  font-weight: 500;
}

.gallery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  margin-top: 0.35rem;
}

.gallery__cta {
  appearance: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #0b5fff, #0846c4);
  color: #fff;
  font-weight: 750;
  font-size: 0.95rem;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  letter-spacing: -0.01em;
  transition: transform 140ms ease, filter 140ms ease;
}
.gallery__cta:hover { transform: translateY(-1px); filter: brightness(1.08); }

.gallery__link {
  appearance: none;
  border: none;
  background: transparent;
  color: #9ec0ff;
  font-weight: 650;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.4rem 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(158, 192, 255, 0.35);
}
.gallery__link:hover { color: #fff; }

.gallery__shots {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  min-height: 0;
  align-content: center;
}

.gallery__shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--g-line);
  background: #0d1422;
  aspect-ratio: 16 / 10;
  animation: galleryIn 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gallery__shot:nth-child(1) { animation-delay: 40ms; }
.gallery__shot:nth-child(2) { animation-delay: 110ms; }
.gallery__shot:nth-child(3) { animation-delay: 180ms; }
.gallery__shot:nth-child(4) { animation-delay: 250ms; }

.gallery__shot--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.gallery__shot picture,
.gallery__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery__shot:nth-child(4) img { object-position: center 35%; }
.gallery__shot:hover img { transform: scale(1.035); }

.gallery__shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 0.85rem 0.7rem;
  background: linear-gradient(0deg, rgba(7, 11, 20, 0.92), transparent);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

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

@media (max-width: 960px) {
  .gallery__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }
  .gallery__copy { max-width: none; order: 1; }
  .gallery__shots { order: 2; }
  .gallery__shot--wide { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .gallery__shots { grid-template-columns: 1fr; }
  .gallery__shot--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__copy,
  .gallery__shot { animation: none; }
  .gallery__shot:hover img { transform: none; }
}
