/**
 * TOOSST — gedeelde websitevormgeving; Bootstrap verzorgt raster en interacties.
 *
 * Ontwerp & realisatie: j.kiewiet
 * Website: https://interbit.nl
 */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/barlow-condensed-800.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-medium.ttf') format('truetype');
  font-weight: 500 900;
  font-display: swap;
}

/* 01. Gedeelde kleuren, afstanden en typografie */
:root {
  color-scheme: dark;
  --ink: #fff4fa;
  --cream: #fff4fa;
  --muted: #c6abbf;
  --pink: #f6abd1;
  --magenta: #d92289;
  --plum: #210e1d;
  --surface: #2a1425;
  --line: #f6abd129;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Barlow Condensed', Impact, sans-serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(32px, 4.5vw, 88px);
  --section-space: clamp(96px, 9vw, 144px);
  --radius: 3px;
  --wordmark-tracking: 0.045em;
  --header-height: 106px;
  --header-compact-height: 78px;
  --logo-size: 96px;
  --logo-compact-size: 74px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}
body {
  margin: 0;
  padding-top: calc(var(--header-height) + 1px);
  color: var(--ink);
  background: var(--plum);
  font: 400 18px / 1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection {
  color: var(--cream);
  background: #a51b69;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: inherit;
}
p, h1, h2, h3, figure {
  margin: 0;
}
p {
  line-height: 1.85;
}
img {
  display: block;
  max-width: 100%;
}
button, input, select, textarea {
  font: inherit;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
:focus-visible,
.btn.button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 5px;
  box-shadow: none;
}
.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1440px;
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
/* Fijne lijnen in de bestaande tussenruimte, zacht uitlopend naar de randen. */
main > section:not(.hero),
.footer {
  position: relative;
}

.social-links {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.header-actions .social-links { margin-right: 1.25rem; }
.header-actions .social-link { width: 3.2rem; height: 3.2rem; }
.header-actions .social-link svg { width: 2.1rem; height: 2.1rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  color: #ff00a8;
  border: 0;
  border-radius: .65rem;
  opacity: .82;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.social-link:hover, .social-link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(255,0,168,.12);
}

.social-link svg { width: 1.8rem; height: 1.8rem; fill: currentColor; shape-rendering: geometricPrecision; }
.social-link svg path { fill: currentColor; stroke: none; }
.social-link svg[viewBox="0 0 16 16"] { fill: currentColor; fill-rule: evenodd; clip-rule: evenodd; }
.social-link svg[viewBox="0 0 16 16"] path { fill: currentColor; fill-rule: evenodd; clip-rule: evenodd; }
.social-link svg[viewBox="0 0 16 16"] { background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23ff00a8' stroke-width='1.9'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/g%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23ff00a8'/%3E%3C/svg%3E"); }
.social-link svg[viewBox="0 0 16 16"] path { display: none; }
.social-link .social-dot { fill: currentColor; stroke: none; }
.mobile-nav-social { display: none; }
.footer-social { justify-content: center; margin: 1.25rem 0 1.5rem; }
.footer-social .social-link { width: 4rem; height: 4rem; }
.footer-social .social-link svg { width: 2.5rem; height: 2.5rem; }
main > section:not(.hero)::before,
.footer::before {
  content: '';
  position: absolute;
  top: calc(var(--section-top-space, var(--section-space)) / 2);
  left: 50%;
  width: min(calc(100% - var(--gutter) * 2), 1440px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #f6abd11f 14%, #f6abd15c 50%, #f6abd11f 86%, transparent);
  pointer-events: none;
}
.footer::before {
  top: 0;
}
h2 {
  font: 800 clamp(70px, 8vw, 124px) / 0.9 var(--display);
  letter-spacing: -0.025em;
}
h2 em {
  color: var(--pink);
  font-weight: 400;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  padding: 12px 20px;
  background: var(--cream);
  color: var(--plum);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}

/* 02. De kopbalk krimpt; de vaste ruimte erboven voorkomt verspringen. */
.header.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 0;
  background:
    linear-gradient(180deg, #ffffff07, transparent 55%),
    radial-gradient(ellipse at 18% -55%, #d9228947, transparent 62%),
    radial-gradient(ellipse at 100% 120%, #8e619526, transparent 55%),
    linear-gradient(110deg, #351329 0%, #260f22 48%, #1b0d1a 100%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled {
  box-shadow: 0 10px 35px #10070e45;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: var(--header-height);
  transition: min-height 0.35s var(--ease), padding 0.35s var(--ease);
}
.header.is-scrolled .header-inner {
  min-height: var(--header-compact-height);
}
.wordmark {
  width: fit-content;
  color: var(--cream);
  font: 800 var(--logo-size) / 0.9 var(--display);
  letter-spacing: var(--wordmark-tracking);
  transition: color 0.25s, font-size 0.35s var(--ease);
}
.header.is-scrolled .wordmark {
  font-size: var(--logo-compact-size);
}
.wordmark:hover {
  color: var(--pink);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 50px);
}
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font: 800 23px / 1 var(--display);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  inset-inline: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--pink);
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #f6abd155;
  border-radius: var(--radius);
  font: 800 21px / 1 var(--display);
  letter-spacing: 0.045em;
  transition: background 0.25s, border-color 0.25s;
}
.header-contact:hover,
.header-contact.is-active {
  background: #f6abd112;
  border-color: var(--pink);
}
.nav-arrow {
  color: var(--pink);
  font: 400 23px / 1 var(--sans);
}
.header .mobile-toggle,
.header .mobile-nav {
  display: none;
}

/* Gedeelde knopvorm voor de website */
.button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  min-height: 56px;
  padding: 16px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--cream);
  background: var(--magenta);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.25s, box-shadow 0.25s, transform 0.3s var(--ease);
}
.button.btn:hover,
.button.btn:active {
  color: var(--cream);
  background: #b91c74;
  box-shadow: 0 8px 28px #d9228930;
}
.button > span {
  font-size: 23px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding-block: 8px;
  border: 0;
  border-bottom: 1px solid var(--pink);
  color: var(--cream);
  background: none;
  font-size: 15px;
  transition: color 0.25s;
}
.text-link:hover {
  color: var(--pink);
}
.text-link > span {
  color: var(--pink);
  font-size: 22px;
}

/* 03. Opening — foto en tekst samen in het eerste scherm.
   De bovenkant van de foto blijft zichtbaar, inclusief het TOOSST-podiumlogo.
   Op smalle schermen volgt de tekst de hoogte van de volledige foto. */
.hero {
  position: relative;
  padding: 0;
  background: var(--plum);
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100svh - 107px);
  isolation: isolate;
}
.hero-images {
  position: absolute;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  z-index: -1;
}
.hero-images::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--plum) 0%, #210e1de6 17%, #210e1d00 42%);
  pointer-events: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-content {
  grid-area: 1 / 1;
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 18px clamp(40px, 6vw, 96px);
  min-width: 0;
  padding-top: 24px;
  padding-bottom: 64px;
}
.hero h1 {
  position: relative;
  top: -16px;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: fit-content;
  max-width: 100%;
}
.hero-title-main {
  display: block;
  font: 800 clamp(88px, 8vw, 130px) / 0.79 var(--display);
  letter-spacing: -0.025em;
}
.hero h1 em {
  display: block;
  margin-top: 8px;
  margin-left: 3px;
  color: var(--pink);
  font: italic 400 clamp(58px, 5.4vw, 88px) / 0.98 var(--serif);
  letter-spacing: -0.045em;
}
.hero-content > p {
  grid-column: 2;
  grid-row: 1;
  max-width: 37ch;
  margin-top: 0;
  color: #f3dce9;
  font-size: 18px;
  line-height: 1.85;
}
.hero-actions {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}
.hero-actions .button {
  min-width: 182px;
  min-height: 50px;
  padding-block: 13px;
  letter-spacing: 0.08em;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .desktop-nav {
    gap: 24px;
  }
  .hero h1 {
    top: -4px;
  }
}
@media (min-width: 992px) and (max-height: 700px) {
  :root {
    --header-height: 86px;
    --header-compact-height: 68px;
    --logo-size: 78px;
    --logo-compact-size: 60px;
  }
  .hero-layout {
    min-height: calc(100svh - 87px);
  }
  .hero-content {
    gap: 14px 40px;
    padding-block: 16px 44px;
  }
  .hero-title-main {
    font-size: 84px;
  }
  .hero h1 em {
    font-size: 56px;
  }
  .hero h1 {
    top: -4px;
  }
  .hero-content > p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-actions .button {
    min-height: 46px;
    padding-block: 11px;
  }
}
@media (min-width: 992px) and (min-aspect-ratio: 2/1),
       (min-width: 992px) and (max-aspect-ratio: 5/4) {
  .hero-photo {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* 04. Band — gelijke portretten en een duidelijke hiërarchie */
.band-section {
  padding-top: var(--section-space);
}
.intro {
  align-items: center;
  margin-top: 0;
  padding-block: 0 76px;
  --bs-gutter-y: 0;
}
.intro h2 {
  font-size: clamp(110px, 13vw, 195px);
  line-height: 0.85;
}
.intro-copy > p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 18px;
}
.lineup-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.lineup-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.lineup-heading .eyebrow {
  color: var(--pink);
}
.members {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 48px;
}
.member-profile {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portrait,
.group-photo,
.contact-photo,
.show-poster {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 3px solid var(--cream);
  border-radius: var(--radius);
  background: #10070e;
  color: var(--cream);
}
.portrait {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
}
.portrait img,
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-position, center);
}
.portrait img {
  transition: transform 0.65s var(--ease);
}
.photo-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #fff4fa55;
  border-radius: var(--radius);
  color: var(--cream);
  background: #210e1ddd;
  font: 400 21px / 1 var(--sans);
  transition: background 0.25s, color 0.25s;
}
.member-caption {
  flex: 1;
  padding-block: 24px 26px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s;
}
.member-caption h3 {
  font: 800 clamp(25px, 2.25vw, 35px) / 1.05 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.member-caption p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.member-profile:focus-within .member-caption {
  border-color: var(--pink);
}

/* 05. Live — meer ruimte voor het beeld */
.experience {
  padding-bottom: 0;
}
.experience-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}
.experience-text h2 {
  font: 400 clamp(34px, 3.65vw, 56px) / 1.08 var(--serif);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.experience-text h2 em {
  display: inline-block;
  margin-top: 12px;
}
.experience-copy {
  max-width: 55ch;
  margin-top: 34px;
  color: var(--muted);
  font-size: 18px;
}
.group-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.group-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 06. Agenda en nieuws — gedeelde kaders en datums, eigen inhoud */
.agenda,
.news {
  padding-bottom: 0;
}
.agenda {
  --section-top-space: calc(var(--section-space) + clamp(40px, 5vw, 80px));
  padding-top: var(--section-top-space);
}
.news {
  --section-top-space: calc(var(--section-space) + clamp(64px, 7vw, 112px));
  padding-top: var(--section-top-space);
}
.agenda-heading,
.news-heading {
  margin-bottom: 48px;
}
.news-item,
.show {
  display: grid;
  gap: clamp(24px, 3.2vw, 50px);
  padding: 44px 36px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--magenta);
  border-radius: var(--radius);
  background: var(--surface);
}
.news-item {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
}
.news-copy {
  min-width: 0;
}
.news-item h3 {
  max-width: 28ch;
  margin-top: 14px;
  color: var(--cream);
  font: 800 clamp(34px, 3.5vw, 52px) / 1.05 var(--display);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.news-copy > p {
  max-width: 70ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.news-item .text-link {
  margin-top: 24px;
}
.show {
  grid-template-columns: 112px minmax(0, 1fr) 280px;
  align-items: center;
}
.show + .show,
.news-item + .news-item {
  margin-top: 32px;
}
:is(.news-item, .show) time {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  gap: 10px;
  padding: 12px 12px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--pink);
}
:is(.news-item, .show) time strong {
  font: 800 88px / 0.95 var(--display);
  letter-spacing: -0.03em;
}
:is(.news-item, .show) time span {
  white-space: nowrap;
  font-size: 11px;
}
.show-subtitle,
.news-category {
  color: var(--pink);
  font-size: 10px;
  letter-spacing: 0.13em;
}
.show h3 {
  margin-top: 14px;
  font: 800 clamp(38px, 4.3vw, 66px) / 0.98 var(--display);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.show-location {
  margin-top: 20px;
  font-size: 17px;
}
.show-address {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.show-tickets {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
}
.show-tickets small {
  color: var(--muted);
  font-size: 13px;
}
.show-poster {
  width: 100%;
  border: 1px solid var(--line);
}
.show-poster img {
  width: 100%;
  height: auto;
}

/* 07. Contact — groot, gecentreerd en rechtstreeks bereikbaar */
.contact {
  padding-block: var(--section-space);
  background: radial-gradient(ellipse at 50% 65%, #59133545, transparent 70%);
  text-align: center;
}
.contact > .wrap {
  max-width: 1040px;
}
.contact-intro h2 {
  font-size: clamp(96px, 10.5vw, 152px);
}
.contact-intro > p {
  max-width: 44ch;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.6;
  text-wrap: balance;
}
.contact-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 40px);
  margin: 48px auto 40px;
}
.contact-photo {
  flex: 0 0 clamp(112px, 10vw, 140px);
  width: clamp(112px, 10vw, 140px);
  aspect-ratio: 3 / 4;
}
.contact-photo img {
  object-position: 68% center;
}
.contact-person-info {
  min-width: 0;
  text-align: left;
}
.contact-purpose {
  color: var(--pink);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-person h3 {
  margin-top: 12px;
  font: 800 clamp(44px, 4.8vw, 64px) / 1.05 var(--display);
  text-transform: uppercase;
}
#contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  min-height: 132px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--magenta);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3b1b31, var(--surface));
  text-align: left;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.contact-detail-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.contact-detail-label {
  color: var(--pink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.contact-detail-value {
  color: var(--cream);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.contact-detail-arrow {
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 32px;
  line-height: 1;
}
.contact-detail:hover {
  border-color: #f6abd180;
  background: #421c36;
  box-shadow: 0 10px 32px #10070e40;
}

/* 08. Een groot, rustig slotakkoord */
.footer {
  overflow: hidden;
  padding-top: 52px;
  border-top: 1px solid transparent;
  background: #180a15;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-main > p {
  font: italic 400 clamp(27px, 3vw, 43px) / 1.15 var(--serif);
  color: var(--pink);
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.back-top > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pink);
  font-size: 23px;
  transition: transform 0.3s var(--ease);
}
.footer-wordmark {
  position: relative;
  display: block;
  width: fit-content;
  margin: 52px auto 44px;
  font: 800 clamp(180px, 27vw, 440px) / 0.85 var(--display);
  letter-spacing: var(--wordmark-tracking);
  color: var(--magenta);
  transition: color 0.3s;
}
.footer-wordmark:hover {
  color: var(--pink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom > span {
  padding-block: 12px;
}
.design-credit a:hover,
.design-credit a:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-block: 12px;
  color: var(--muted);
}
.footer-login:hover,
.footer-login:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 09. Fotogalerij */
.modal-backdrop.show {
  background: #10070e;
  opacity: 0.97;
}
.gallery-modal .modal-dialog {
  width: calc(100% - 144px);
  max-width: 1400px;
  margin-inline: auto;
}
.gallery-modal .modal-content {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
}
.gallery-modal figure img {
  width: 100%;
  max-height: calc(100svh - 150px);
  object-fit: contain;
  border-radius: var(--radius);
}
.gallery-modal figure img.is-group-photo {
  width: min(100%, calc((100svh - 150px) * 16 / 9));
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  object-fit: cover;
}
.gallery-modal figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.5;
}
#gallery-count {
  flex-shrink: 0;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}
.gallery-modal button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #f6abd155;
  border-radius: 50%;
  background: var(--plum);
  color: var(--pink);
  font-size: 26px;
  line-height: 1;
}
.gallery-modal button:hover {
  background: var(--pink);
  color: var(--plum);
}
.gallery-close {
  top: -10px;
  right: -52px;
}
.gallery-prev {
  top: 45%;
  left: -56px;
}
.gallery-next {
  top: 45%;
  right: -56px;
}

/* 10. Hoverinteracties; scrolleffecten staan in motion.css. */
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }
  .button:hover > span {
    transform: translate(2px, -2px);
  }
  .portrait:hover img {
    transform: scale(1.035);
  }
  .member-profile:hover .member-caption {
    border-color: var(--pink);
  }
  button:hover > .photo-expand {
    background: var(--pink);
    color: var(--plum);
  }
  .back-top:hover > span {
    transform: translateY(-3px);
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .members > .member {
    width: 20%;
  }
  .members {
    --bs-gutter-x: 16px;
  }
  .show {
    grid-template-columns: 88px minmax(0, 1fr) 225px;
    padding: 36px 28px;
  }
  .news-item {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 36px 28px;
  }
  :is(.news-item, .show) time strong {
    font-size: 72px;
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation: none !important;
  transition: none !important;
}
html:has(.motion-paused) {
  scroll-behavior: auto;
}
.motion-paused .reveal-pending {
  opacity: 1;
  transform: none;
}
.motion-paused .portrait:hover img,
.motion-paused .button:hover,
.motion-paused .button:hover > span,
.motion-paused .back-top:hover > span {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
  .portrait:hover img,
  .button:hover,
  .button:hover > span,
  .back-top:hover > span {
    transform: none;
  }
}
