/* =========================================================
   Karang Taruna Bima Sakti RT 02 / RW 02 — Stylesheet
   ========================================================= */
:root {
  --maroon: #6B0F1A;
  --maroon-dark: #4a0a12;
  --navy: #0D1B4C;
  --navy-dark: #081233;
  --gold: #FFD700;
  --gold-soft: #ffe866;
  --olive: #4A5D23;
  --bg: #F8FAFC;
  --text: #1E293B;
  --muted: #64748b;
  --white: #ffffff;

  --font-head: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Poppins', sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(13, 27, 76, .25);
  --shadow-lg: 0 25px 50px -15px rgba(13, 27, 76, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-light { color: rgba(255,255,255,.78) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 25px -10px rgba(255,215,0,.7); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--maroon { background: var(--maroon); color: var(--white); }
.btn--maroon:hover { background: var(--maroon-dark); box-shadow: var(--shadow); }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-block; padding: .4rem 1rem; border-radius: 999px;
  background: rgba(255,215,0,.15); color: var(--gold);
  border: 1px solid rgba(255,215,0,.4);
  font-size: .85rem; font-weight: 600; font-style: italic; letter-spacing: .03em;
}

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(13, 27, 76, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px -10px rgba(0,0,0,.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.nav__logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.nav__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.nav__title strong { color: var(--gold); }

.nav__menu { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; padding: .5rem .85rem; border-radius: 999px;
  color: rgba(255,255,255,.85); font-weight: 500; font-size: .93rem;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link.active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--gold);
}
.nav__cta { background: var(--gold); color: var(--navy) !important; font-weight: 700; margin-left: .5rem; padding-inline: 1.2rem; }
.nav__cta:hover { background: var(--gold-soft); }
.nav__cta.active::after { display: none; }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.nav__toggle span {
  position: absolute; left: 10px; width: 24px; height: 2.5px; border-radius: 2px; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: var(--white);
  padding: calc(var(--header-h) + 2rem) 0 5rem; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(13,27,76,.94) 0%, rgba(13,27,76,.82) 45%, rgba(107,15,26,.88) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 3rem;
}
.hero__title { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; margin: 1.2rem 0 1rem; letter-spacing: -.02em; }
.hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.85); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__logo-wrap { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,.35), transparent 65%);
  animation: pulse 4s ease-in-out infinite;
}
.hero__logo {
  position: relative; width: min(400px, 85%);
  filter: drop-shadow(0 25px 40px rgba(0,0,0,.5));
  animation: float 6s ease-in-out infinite;
}
.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--gold); animation: scrollDot 1.8s infinite;
}

@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
@keyframes pulse { 0%,100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.18); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; }
.section--soft { background: linear-gradient(180deg, #eef2f7 0%, var(--bg) 100%); }
.section--navy {
  background:
    radial-gradient(circle at 10% 10%, rgba(255,215,0,.08), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(107,15,26,.5), transparent 50%),
    var(--navy);
  color: var(--white);
}
.section--contact {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 40%, var(--navy) 100%);
  color: var(--white);
}
.section__head { text-align: center; max-width: 780px; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--maroon);
  padding-bottom: .4rem; border-bottom: 3px solid var(--gold); margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold); }
.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.section__lead { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- Profile pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--navy));
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar__icon {
  width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 1.3rem;
  display: grid; place-items: center; color: var(--white);
}
.pillar__icon svg { width: 32px; height: 32px; }
.pillar__icon--maroon { background: linear-gradient(135deg, var(--maroon), #9b1a2a); }
.pillar__icon--olive  { background: linear-gradient(135deg, var(--olive), #6b8433); }
.pillar__icon--navy   { background: linear-gradient(135deg, var(--navy), #24398a); }
.pillar h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .6rem; }
.pillar p { color: var(--muted); }

/* ---------- Visi & Misi ---------- */
.vm { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.vm__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 2.5rem; backdrop-filter: blur(6px);
}
.vm__card--visi {
  background: linear-gradient(145deg, var(--maroon), var(--maroon-dark));
  border-color: rgba(255,215,0,.3); position: relative; overflow: hidden;
}
.vm__card--visi::after {
  content: '“'; position: absolute; right: 1rem; bottom: -3.5rem;
  font-family: Georgia, serif; font-size: 14rem; color: rgba(255,215,0,.12); line-height: 1;
}
.vm__label {
  display: inline-block; font-size: 1rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--navy); background: var(--gold); padding: .35rem 1rem; border-radius: 8px; margin-bottom: 1.5rem;
}
.vm blockquote { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.55; position: relative; z-index: 1; }
.vm__list { counter-reset: misi; display: grid; gap: 1.1rem; }
.vm__list li { counter-increment: misi; display: flex; gap: 1rem; align-items: flex-start; color: rgba(255,255,255,.9); }
.vm__list li::before {
  content: counter(misi); flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
  background: rgba(255,215,0,.15); color: var(--gold); border: 1.5px solid var(--gold);
}

/* ---------- Event ---------- */
.featured {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--white);
  border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}
.featured__media { position: relative; min-height: 340px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.05); }
.featured__tag {
  position: absolute; top: 1.2rem; left: 1.2rem; background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; padding: .4rem .9rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .08em;
}
.featured__body { padding: clamp(1.8rem, 4vw, 3rem); }
.featured__date { display: inline-block; color: var(--maroon); font-weight: 700; font-size: .88rem; margin-bottom: .6rem; }
.featured__body h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 1rem; }
.featured__theme { color: var(--muted); padding: 1rem 1.2rem; background: #fff8d6; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; margin-bottom: 1.5rem; }
.featured__body h4 { color: var(--navy); margin-bottom: .8rem; }
.timeline { display: grid; gap: .6rem; margin-bottom: 1.8rem; }
.timeline li { display: flex; align-items: center; gap: .9rem; font-weight: 500; }
.timeline span {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: .8rem;
}

.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.agenda__card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 2rem 1.7rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--olive);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.agenda__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.agenda__badge {
  position: absolute; top: 1.3rem; right: 1.3rem; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .25rem .7rem; border-radius: 999px; background: rgba(74,93,35,.12); color: var(--olive);
}
.agenda__icon { font-size: 2.2rem; margin-bottom: .8rem; }
.agenda__card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: .5rem; }
.agenda__card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.agenda__meta { font-size: .82rem; font-weight: 600; color: var(--maroon); }

/* ---------- Kepengurusan ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.member {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border-bottom: 4px solid var(--navy);
}
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member--lead { border-bottom-color: var(--gold); background: linear-gradient(180deg, #fffdf0, var(--white)); }
.member__avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem;
  color: var(--gold); background: linear-gradient(135deg, var(--navy), var(--maroon));
  box-shadow: 0 0 0 5px var(--white), 0 0 0 8px rgba(255,215,0,.6);
}
.member__role {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--maroon); background: rgba(107,15,26,.08); padding: .3rem .8rem; border-radius: 999px;
}
.member__name { font-size: 1.45rem; color: var(--navy); margin: .7rem 0 .5rem; }
.member p { color: var(--muted); font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1.2rem; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.2rem 1rem; color: var(--white); font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(13,27,76,.92));
  transform: translateY(30%); opacity: 0; transition: all .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption { transform: none; opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 30, .94);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; transition: opacity .3s;
}
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__figure img { max-height: 80vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.6); animation: zoomIn .35s var(--ease); }
.lightbox__figure figcaption { color: var(--white); margin-top: 1rem; font-weight: 500; }
.lightbox__close { position: absolute; top: 1rem; right: 1.5rem; color: var(--white); font-size: 2.8rem; line-height: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: var(--white); font-size: 1.3rem; transition: background .2s;
}
.lightbox__nav:hover, .lightbox__close:hover { background: var(--gold); color: var(--navy); }
.lightbox__close:hover { background: none; color: var(--gold); }
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
@keyframes zoomIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact__info { display: grid; gap: 1.5rem; }
.contact__item {
  display: flex; gap: 1.2rem; padding: 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
}
.contact__icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold); color: var(--navy);
}
.contact__icon svg { width: 24px; height: 24px; }
.contact__item h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.contact__item p { color: rgba(255,255,255,.8); }
.contact__email { color: var(--gold); font-weight: 600; word-break: break-all; }
.contact__email:hover { text-decoration: underline; }
.contact__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.contact__motto { display: flex; align-items: center; gap: 1rem; padding: 0 .5rem; color: rgba(255,255,255,.85); }
.contact__motto img { width: 60px; }
.contact__motto p { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold); }

.contact__form {
  background: var(--white); color: var(--text); padding: clamp(1.8rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg);
}
.contact__form h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid #dbe2ea; border-radius: 12px;
  font: inherit; color: var(--text); background: #f8fafc; transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(13,27,76,.1);
}
.field .invalid { border-color: var(--maroon); }
.form__error { color: var(--maroon); font-size: .88rem; font-weight: 600; min-height: 1.2em; margin-bottom: .5rem; }
.form__note { display: block; text-align: center; color: var(--muted); margin-top: .8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 1.8rem 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Toast & To-top ---------- */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 150%); z-index: 300;
  background: var(--navy); color: var(--white); padding: .85rem 1.5rem; border-radius: 999px;
  border: 1px solid var(--gold); box-shadow: var(--shadow-lg); font-weight: 600;
  transition: transform .4s var(--ease); pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 1.3rem; font-weight: 800; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-soft); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82%); height: 100vh;
    flex-direction: column; align-items: stretch; gap: .3rem; padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    background: var(--navy); box-shadow: -20px 0 40px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav__menu.open { transform: none; }
  .nav__link { display: block; padding: .85rem 1rem; border-radius: 12px; font-size: 1rem; }
  .nav__link.active { background: rgba(255,215,0,.1); }
  .nav__link.active::after { display: none; }
  .nav__cta { margin: .8rem 0 0; text-align: center; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero__logo-wrap { order: -1; }
  .hero__logo { width: min(240px, 60%); }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }

  .pillars, .agenda { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .vm, .contact { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 600px) {
  .nav__title { font-size: .95rem; }
  .team { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item figcaption { opacity: 1; transform: none; }
  .vm__card { padding: 1.8rem; }
  .footer__inner { flex-direction: column; text-align: center; }
  .lightbox__nav { width: 42px; height: 42px; top: auto; bottom: 1.5rem; transform: none; }
  .hero__scroll { display: none; }
}

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