/* Version 3: Abweichungen gegenüber dem gemeinsamen Stylesheet (Basis: Version 2) */

:root {
  --nav-h: 76px;
  --hero-max: 700px;
  --line: #3d3933;
}

/* Navigation: größer als V2, Logo deutlich größer */

.site-header__bar { gap: 0 36px; }
.logo { gap: 8px; }
.logo__sps { font-size: 44px; }
.logo__dot { width: 12px; height: 12px; }
.logo__events { font-size: 23px; }
.site-nav { gap: 0 36px; font-size: 17px; font-weight: 500; }
.pill--small { min-height: 44px; padding: 0 22px; font-size: 16px; }
.pill--small::after { inset: 0; }

/* Ab hier kompaktes Menü: Burger, Logo groß, "Anfragen" bleibt sichtbar. */
@media (max-width: 880px) {
  :root { --nav-h: 68px; }
  .logo__sps { font-size: 38px; }
  .logo__dot { width: 10px; height: 10px; }
  .logo__events { font-size: 20px; }
  .pill--small { min-height: 44px; padding: 0 18px; font-size: 16px; }

  .js .site-header__bar { flex-wrap: wrap; gap: 0 4px; }
  .js .logo { margin-right: auto; }
  .js .menu-toggle {
    position: relative;
    display: block;
    order: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    font-size: 0;            /* Text bleibt als zugänglicher Name, sichtbar ist das Symbol */
    cursor: pointer;
  }
  .js .menu-toggle::before,
  .js .menu-toggle::after {
    content: "";
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 240ms var(--ease);
  }
  .js .menu-toggle::before { top: 17px; }
  .js .menu-toggle::after { top: 25px; }
  .js .menu-toggle[aria-expanded="true"]::before { transform: translateY(4px) rotate(45deg); }
  .js .menu-toggle[aria-expanded="true"]::after { transform: translateY(-4px) rotate(-45deg); }
  .js .pill--small { order: 1; }
  .js .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    padding: 4px 0 20px;
    font-size: 1.375rem;
    font-weight: 600;
  }
  .js .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .js .site-header.is-open .site-nav { display: flex; }
}

@media (max-width: 374px) {
  .logo { gap: 5px; }
  .logo__sps { font-size: 32px; }
  .logo__dot { width: 8px; height: 8px; }
  .logo__events { font-size: 17px; }
  .pill--small { padding: 0 14px; font-size: 15px; }
}

/* Hero */

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  color: #d6d0c5;
}
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { flex: none; color: var(--accent-text); }

/* Kontakt */

.contact--funnel { padding: var(--section) 24px 200px; }
#kontakt { scroll-margin-top: calc(var(--nav-h) - var(--section) + 48px); }

.funnel {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
@media (max-width: 600px) {
  .funnel { padding: 28px 20px; }
}

/* Ohne JavaScript bleiben WhatsApp und Telefon. */
html:not(.js) .funnel { display: none; }

.funnel__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.funnel__track {
  height: 4px;
  margin-bottom: 36px;
  border-radius: 4px;
  background: #2e2b26;
  overflow: hidden;
}
.funnel__bar {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(0.25);
  transform-origin: 0 50%;
  transition: transform 400ms var(--ease);
}

.funnel h3 {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  outline: none;
}
.funnel__hint { margin: -16px 0 24px; color: var(--text-2); }

@keyframes step-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
html.motion .funnel__step:not([hidden]),
html.motion .funnel__done:not([hidden]) { animation: step-in 240ms ease-out; }

.funnel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.funnel fieldset + fieldset { margin-top: 24px; }
.fields + fieldset { margin-top: 24px; }
.funnel legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px;
}
.chips--small { grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); }
.chips--small .chip span { padding-inline: 14px; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }

.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  min-height: 56px;
  padding: 8px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #000;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 150ms ease, border-color 150ms ease, transform 100ms ease-out;
}
.chip:active span { transform: scale(0.98); }
.chip input:checked + span {
  border-color: var(--accent);
  background: rgba(214, 58, 32, 0.16);
}
.chip input:checked + span::after {
  content: "✓";
  flex: none;
  color: var(--accent-text);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}
.chip--pill span {
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 0.9375rem;
}
@media (hover: hover) {
  .chip:hover span { border-color: var(--text-3); }
  .chip:hover input:checked + span { border-color: var(--accent); }
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label:not(.check) { font-size: 0.9375rem; font-weight: 600; }

.funnel input[type="text"],
.funnel input[type="date"],
.funnel select,
.funnel textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #000;
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
  text-overflow: ellipsis;
}
.funnel textarea { padding: 14px 16px; resize: vertical; }
.funnel input[type="date"] { color-scheme: dark; -webkit-appearance: none; appearance: none; }
.funnel input[type="date"]:disabled { opacity: 0.45; }
.funnel select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8A196' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.funnel ::placeholder { color: var(--text-3); opacity: 1; }
.funnel input:focus-visible,
.funnel select:focus-visible,
.funnel textarea:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 1px;
  border-radius: 14px;
}
.funnel [aria-invalid="true"] { border-color: var(--accent-text); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text-2);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.check--small { min-height: 28px; align-items: center; }
.check--small input { margin: 0; }
.check a { color: var(--accent-text); }
.funnel__consent { margin-top: 20px; }

.funnel__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.funnel__error {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  color: var(--accent-text);
}
.funnel__send-error {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(214, 58, 32, 0.16);
}

.funnel__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 16px;
  margin-top: 36px;
}
.funnel__back { margin-right: auto; }
.funnel__next { border: 0; font-family: inherit; white-space: nowrap; cursor: pointer; }
@media (max-width: 600px) {
  .funnel__next { padding: 0 22px; }
}
.funnel__next[aria-busy="true"] { opacity: 0.6; cursor: progress; }

.ghost-btn {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 120ms ease-out, border-color 150ms ease;
}
.ghost-btn:active { transform: scale(0.97); }
@media (hover: hover) {
  .ghost-btn:hover { border-color: var(--text-3); }
}

.funnel__done { padding: 24px 0; text-align: center; }
.funnel__done-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent);
}
.funnel__done h3 { margin-bottom: 10px; }
.funnel__done p { max-width: 460px; margin-inline: auto; color: var(--text-2); }
.funnel__done .ghost-btn { margin-top: 24px; min-height: 44px; font-size: 0.9375rem; }
.funnel__demo {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #000;
  font-size: 0.9375rem;
}

.funnel-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 32px;
  margin-top: 32px;
}
.funnel-alt span { color: var(--text-3); }
.funnel-alt .link-more { font-size: 1.0625rem; }

@media (prefers-reduced-motion: reduce) {
  .funnel__bar, .chip span, .ghost-btn { transition: none; }
  .chip:active span, .ghost-btn:active { transform: none; }
}

/* ───────────── Version 3 ───────────── */

/* Leistungen: 6 gleich große Kacheln, Desktop 3 × 2 */

.bento--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 400px;
}
@media (max-width: 999px) {
  .bento--six { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 360px; }
}
@media (max-width: 639px) {
  .bento--six { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .bento--six .tile { aspect-ratio: 4 / 4.6; }
}

/* Name groß, Spruch klein darunter */
.bento--six .tile__copy { padding: 28px 28px 0; }
.bento--six .tile h3 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.bento--six .tile__copy p {
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  color: #e4ded3;
  hyphens: manual;
}
.bento--six .tile::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 55%);
}

/* "+" als Hinweis: Kachel lässt sich öffnen */
.tile__more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 28, 25, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
  transition: transform 200ms var(--ease), background-color 200ms ease;
}
.tile { -webkit-tap-highlight-color: transparent; }
.tile:active { transform: scale(0.985); transition: transform 100ms ease-out; }
@media (hover: hover) {
  .tile:hover .tile__more,
  .person:hover .tile__more { background: var(--accent); transform: scale(1.06); }
}

.brands { margin-top: 40px; }

/* Team: Karten anklickbar */

.person {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.person .people__photo { position: relative; transition: background-color 200ms ease; }
.person:active .people__photo { transform: scale(0.985); }
@media (hover: hover) {
  .person:hover .people__photo { background: #24211d; }
}

/* Detailansicht als Sheet von unten */

.sheet {
  position: fixed;
  inset: auto 0 0;
  width: min(760px, 100%);
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 32px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet[open] { display: flex; flex-direction: column; }
.sheet.is-open { transform: none; }
.sheet::backdrop {
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 400ms ease;
}
.sheet.is-open::backdrop { opacity: 1; }
html { scrollbar-gutter: stable; }
html.has-sheet { overflow: hidden; }

.sheet__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 64px;
  touch-action: none;
}
.sheet__grabber {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40px;
  height: 5px;
  margin-left: -20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
}
.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--text);
  cursor: pointer;
  transition: transform 120ms ease-out, background-color 150ms ease;
}
.sheet__close:active { transform: scale(0.92); }
@media (hover: hover) {
  .sheet__close:hover { background: rgba(60, 56, 50, 0.9); }
}

.sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet__img {
  width: 100%;
  height: clamp(220px, 38vh, 360px);
  object-fit: cover;
}
.sheet__body {
  padding: 36px 48px calc(48px + env(safe-area-inset-bottom));
}
.sheet--person .sheet__body { padding-top: 72px; }
.sheet__title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  outline: none;
}
.sheet__body .sheet__sub {
  margin: 8px 0 28px;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent-text);
}
.sheet__body > p,
.sheet__body li {
  color: #d6d0c5;
  line-height: 1.55;
  hyphens: auto;
}
.sheet__body > p + p { margin-top: 14px; }
.sheet__body h3 {
  margin: 36px 0 12px;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.sheet__body ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.sheet__body li {
  position: relative;
  padding-left: 22px;
}
.sheet__body li + li { margin-top: 12px; }
.sheet__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.sheet__body strong { color: var(--text); font-weight: 600; }
.sheet__body a:not(.pill) { color: var(--accent-text); }
.sheet__body .sheet__brands {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
  color: var(--text-3);
  hyphens: manual;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .sheet__body .sheet__brands { margin-top: 36px; padding-top: 24px; font-size: 1.0625rem; }
}
.sheet__cta { margin-top: 32px; }
.sheet__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.sheet__photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}
.sheet__avatar {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #000;
  font-size: 0.8125rem;
  color: var(--text-3);
}

@media (max-width: 600px) {
  .sheet { max-height: calc(100dvh - 12px); }
  .sheet__body { padding: 28px 24px calc(40px + env(safe-area-inset-bottom)); }
  .sheet--person .sheet__body { padding-top: 68px; }
  .sheet__photos { grid-template-columns: 1fr; }
}

/* Ohne JavaScript: Detailtexte stehen als normale Abschnitte auf der Seite. */
html:not(.js) .sheets { display: grid; gap: 20px; margin-top: 48px; }
html:not(.js) .sheet {
  position: static;
  display: block;
  width: auto;
  max-height: none;
  border-radius: var(--radius);
  box-shadow: none;
  transform: none;
}
html:not(.js) .sheet__bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .sheet { transform: none; opacity: 0; transition: opacity 200ms ease; }
  .sheet.is-open { opacity: 1; }
  .tile__more, .sheet__close, .js .menu-toggle::before, .js .menu-toggle::after { transition: none; }
  .tile:active, .person:active .people__photo, .sheet__close:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .tile__more, .sheet__close { background: #1a1815; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Funnel: DJ-Service plus Komplettpaket über die ganze Breite */
.chip--full { grid-column: 1 / -1; }

/* Social Media */

.social {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.social--contact { margin-top: 28px; }
.social__link {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-2);
  transition: color 150ms ease, background-color 150ms ease;
}
.site-footer .social__link--small {
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
}
.site-footer__links { align-items: center; }
@media (hover: hover) {
  .social__link:hover { color: var(--text); background: #2a2722; }
  .site-footer .social__link--small:hover { background: none; }
}

/* Mobil entzerren (375 bis 430 px): kleinere Überschriften, mehr Luft */

@media (max-width: 600px) {
  :root { --section: 96px; }

  .hero { padding: 64px 20px 0; }
  .hero__kicker { font-size: 1.0625rem; margin-bottom: 12px; }
  .hero__title { font-size: 48px; line-height: 1.06; }
  .hero__sub { margin-top: 20px; font-size: 19px; line-height: 1.4; }
  .hero__checks { flex-direction: column; align-items: flex-start; width: fit-content; gap: 12px; text-align: left; }
  .hero__media { margin: 56px -20px 0; }
  .hero__img { height: min(70vh, 520px); }

  .stance { padding-inline: 20px; }
  .stance__text { font-size: 28px; line-height: 1.22; }

  .stats { padding-inline: 20px; }
  .stats__grid { gap: 40px; }
  .stat { font-size: 56px; }

  .section, .plan, .feed { padding-inline: 20px; }
  .section--gallery { padding-inline: 0; }
  .gallery-head { padding-inline: 20px; margin-bottom: 32px; }
  .gallery { --gutter: 20px; gap: 14px; }
  .gallery figure { height: 440px; min-height: 0; flex-basis: 84%; }
  .gallery figcaption { padding: 22px 22px 48px; font-size: 22px; }

  .h2 { font-size: 36px; line-height: 1.1; margin-bottom: 18px; }
  .h2--small { font-size: 32px; }
  .h3 { font-size: 26px; }
  .lead { margin-bottom: 40px; font-size: 1.125rem; line-height: 1.5; }
  .plan__head .lead { margin-bottom: 32px; }

  .bento--six .tile__copy { padding: 24px 24px 0; }
  .bento--six .tile h3 { font-size: 28px; }

  .people { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .people h3 { margin-top: 14px; font-size: 1.0625rem; }
  .people p { font-size: 0.875rem; line-height: 1.4; }
  .people .tile__more { right: 12px; bottom: 12px; width: 32px; height: 32px; }
  #team .h3 { margin: 72px 0 24px; }
  .chronicle li { grid-template-columns: 64px 1fr; padding: 14px 0; line-height: 1.45; }

  .contact--funnel { padding: var(--section) 20px 120px; }
  .contact__title { font-size: 48px; }
  .lead--center { margin-top: 20px; }
  .funnel { margin-top: 40px; }
  .funnel h3 { font-size: 26px; }

  /* Funnel-Kacheln einspaltig, Tippflächen mindestens 44 px */
  .chips, .chips--small { grid-template-columns: 1fr; gap: 10px; }
  .chip span { min-height: 52px; }
  .check { min-height: 44px; align-items: center; }
  .check input { margin: 0; }
  .funnel__consent .check { align-items: flex-start; }
  .funnel__consent .check input { margin-top: 2px; }
  .funnel__nav { gap: 12px; }
  .funnel__next { flex: 1 1 auto; justify-content: center; }

  .funnel-alt { flex-direction: column; gap: 16px; }
  .funnel-alt .link-more { display: inline-flex; align-items: center; min-height: 44px; }

  .site-footer { padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); font-size: 0.8125rem; }
  .site-footer__inner { flex-direction: column; gap: 12px; }
}

#leistungen { scroll-margin-top: calc(var(--nav-h) + 32px); }

/* Galerie: Abiball-Foto ist quer, Bühne und Traverse im Mittelpunkt halten */
.gallery img.gallery__img--abiball { object-position: 50% 35%; }

/* Instagram-Vorschau (Version 4): Beiträge aus shared/instagram/feed.json, gesetzt von instagram.js */
.feed__example {
  flex-basis: 100%;
  margin-top: -6px;
  font-size: 0.875rem;
  color: var(--text-3);
}
.feed__grid--posts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 12px;
}
@media (min-width: 700px) {
  .feed__grid--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; }
}
.post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}
.post:focus-visible { border-radius: 20px; outline-offset: 6px; }
.post__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
}
.feed__grid--posts .post__media img {
  display: block;
  border-radius: 0;
  transition: transform 400ms ease, filter 200ms ease;
}
@media (hover: hover) {
  .post:hover .post__media img { transform: scale(1.03); filter: brightness(1.06); }
  .post:hover .post__text { color: var(--text); }
}
.post__play {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}
.post__play svg { margin-left: 2px; }
.post__date {
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-3);
}
.post__text {
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-2);
  overflow-wrap: anywhere;
  transition: color 200ms ease;
}
.feed__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 44px;
}
.feed__handle {
  color: var(--text-2);
  text-decoration: none;
}
.feed__handle strong { color: var(--text); font-weight: 600; }
@media (hover: hover) {
  .feed__handle:hover strong { color: var(--accent-text); }
}
@media (max-width: 639px) {
  .post__date { margin-top: 10px; font-size: 0.75rem; }
  .post__text { font-size: 0.875rem; }
  .feed__foot { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .feed__grid--posts .post__media img, .post__text { transition: none; }
  .post:hover .post__media img { transform: none; }
}
