:root {
  --color-cream: #f7f0da;
  --color-cream-soft: #fff8e7;
  --color-ink: #111111;
  --color-muted: #665f53;
  --color-green: #123b2f;
  --color-blue: #0070b8;
  --color-yellow: #f4c430;
  --color-orange: #c8562a;
  --color-burgundy: #7a2440;
  --color-teal: #00bfa6;
  --shadow-soft: 0 24px 80px rgba(17, 17, 17, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 87% 10%, rgba(244, 196, 48, 0.22), transparent 18rem),
    radial-gradient(circle at 3% 35%, rgba(0, 191, 166, 0.13), transparent 16rem),
    var(--color-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--color-ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.05rem clamp(1rem, 4vw, 2rem);
  background: rgba(247, 240, 218, 0.86);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 2.35rem;
  height: auto;
}

.brand strong,
.footer-brand span {
  display: block;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: -0.15rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
}

.site-nav a:focus-visible,
.site-nav a:hover {
  color: var(--color-orange);
}

.section-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.82fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  min-height: 680px;
  padding: clamp(3rem, 8vw, 6.5rem) 0 4rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--color-orange);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(4.2rem, 9vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 0.95;
}

.hero-lead {
  max-width: 34rem;
  color: #211f1c;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 760;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--color-ink);
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: white;
}

.button-secondary {
  background: transparent;
}

.hero-collage {
  position: relative;
  min-height: 520px;
  z-index: 1;
}

.photo {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #ded6bf;
  box-shadow: var(--shadow-soft);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  position: absolute;
  right: 0;
  top: 5.3rem;
  width: min(94%, 34rem);
  aspect-ratio: 1.03;
  border-radius: 54% 46% 48% 52% / 43% 40% 60% 57%;
}

.photo-small {
  position: absolute;
  left: 0;
  top: 1rem;
  width: 43%;
  aspect-ratio: 0.83;
  border: 8px solid var(--color-cream);
  border-radius: 999px 999px 2rem 2rem;
  transform: rotate(-4deg);
}

.shape {
  position: absolute;
  border-radius: 999px;
}

.shape-sun {
  right: 1rem;
  top: 0.5rem;
  width: 11rem;
  height: 11rem;
  background: var(--color-yellow);
}

.shape-green {
  left: 2rem;
  top: 0;
  width: 8rem;
  height: 8rem;
  background: var(--color-green);
}

.shape-teal {
  right: 6rem;
  bottom: 1.3rem;
  width: 16rem;
  height: 10rem;
  background: var(--color-teal);
  border-radius: 50% 40% 46% 54% / 54% 36% 64% 46%;
}

.year-badge {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 0;
  display: grid;
  width: 9rem;
  height: 9rem;
  place-items: center;
  background: var(--color-ink);
  border-radius: 50%;
  color: white;
  line-height: 1;
  transform: rotate(6deg);
}

.year-badge strong {
  color: var(--color-yellow);
  font-size: 2.7rem;
}

.year-badge span {
  font-size: 0.82rem;
  font-weight: 900;
}

.crop-village img {
  object-position: 12% 40%;
}

.crop-sport img {
  object-position: 52% 28%;
}

.crop-dance img {
  object-position: 67% 42%;
}

.crop-culture img {
  object-position: 58% 84%;
}

.crop-pub img {
  object-position: 89% 12%;
}

.crop-community img {
  object-position: 84% 76%;
}

.intro-band {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 3rem 0;
  text-align: center;
}

.intro-band p {
  max-width: 820px;
  font-size: clamp(1.35rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.08;
}

.weekends,
.history,
.people,
.info-gallery {
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.split-heading p,
.program-heading p,
.people-copy p,
.history-copy p,
.practical li {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.weekend-stack {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
}

.weekend-feature {
  display: grid;
  grid-template-columns: minmax(17rem, 0.86fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.weekend-feature.is-reversed {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.86fr);
}

.weekend-feature.is-reversed .weekend-visual {
  order: 2;
}

.weekend-visual {
  position: relative;
  min-height: 320px;
}

.weekend-visual .photo {
  position: absolute;
  inset: 2rem 10% 0 6%;
  border-radius: 42% 58% 44% 56% / 56% 39% 61% 44%;
}

.weekend-teal .weekend-visual .photo img {
  object-position: 50% 36%;
}

.weekend-burgundy .weekend-visual .photo img {
  object-position: 50% 44%;
}

.weekend-gold .weekend-visual .photo img {
  object-position: 50% 44%;
}

.weekend-orange .weekend-visual .photo img {
  object-position: 52% 42%;
}

.weekend-blob {
  position: absolute;
  inset: 0 2rem 2.2rem 0;
  border-radius: 56% 44% 49% 51% / 48% 63% 37% 52%;
  background: var(--color-teal);
}

.weekend-burgundy .weekend-blob {
  background: var(--color-burgundy);
}

.weekend-gold .weekend-blob {
  background: #c99b2d;
}

.weekend-orange .weekend-blob {
  background: var(--color-orange);
}

.weekend-number {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  width: 5.4rem;
  height: 5.4rem;
  display: grid;
  place-items: center;
  background: var(--color-ink);
  border-radius: 50%;
  color: var(--color-yellow);
  font-size: 2rem;
  font-weight: 950;
}

.weekend-content .date {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.weekend-content h3 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  text-transform: uppercase;
}

.weekend-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.weekend-content li {
  padding: 0.45rem 0.7rem;
  background: rgba(255, 248, 231, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
}

.weekend-content li.weekend-highlight {
  padding: 0;
  background: transparent;
  border: 0;
}

.weekend-highlight-link {
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.9);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
  touch-action: manipulation;
}

@media (hover: hover) {
  .weekend-highlight-link:hover {
    border-color: var(--color-ink);
    background: var(--color-yellow);
  }
}

.weekend-highlight-link:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

.weekend-details {
  margin-top: 1.35rem;
  border-top: 2px solid rgba(17, 17, 17, 0.16);
  border-bottom: 2px solid rgba(17, 17, 17, 0.16);
}

.weekend-details summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.4rem;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.weekend-details summary::-webkit-details-marker {
  display: none;
}

.weekend-details summary span {
  color: var(--color-orange);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.weekend-details summary b {
  margin-left: auto;
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.weekend-details[open] summary b {
  transform: rotate(180deg);
}

.weekend-details summary:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 0.25rem;
}

.weekend-details-content {
  display: grid;
  gap: 1rem;
  padding: 0 0 1.2rem;
}

.weekend-program-day {
  padding: 1rem;
  background: rgba(255, 248, 231, 0.68);
  border-left: 0.45rem solid var(--color-teal);
}

.weekend-burgundy .weekend-program-day {
  border-left-color: var(--color-burgundy);
}

.weekend-gold .weekend-program-day {
  border-left-color: var(--color-yellow);
}

.weekend-orange .weekend-program-day {
  border-left-color: var(--color-orange);
}

.weekend-program-day h4 {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weekend-program-day ul {
  display: grid;
  gap: 0;
  margin: 0;
}

.weekend-program-day li {
  display: grid;
  grid-template-columns: minmax(7.2rem, 0.38fr) minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.65rem 0 0;
  border: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 0;
  background: transparent;
  font-size: 0.96rem;
}

.weekend-program-day li:first-child {
  padding-top: 0;
  border-top: 0;
}

.weekend-program-day li.is-program-target {
  outline: 3px solid var(--color-yellow);
  outline-offset: 0.3rem;
  background: rgba(244, 196, 48, 0.16);
}

.weekend-program-day time {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.weekend-program-day strong,
.weekend-program-day span {
  display: block;
}

.weekend-program-day span {
  margin-top: 0.12rem;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.weekend-event-description {
  max-width: 68ch;
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.68;
}

.weekend-event-callout {
  max-width: 68ch;
  margin: 1rem 0 0;
  padding: 0.8rem 0.9rem;
  border-left: 0.35rem solid var(--color-teal);
  background: rgba(0, 191, 166, 0.14);
  color: var(--color-ink);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.58;
}

.weekend-event-note {
  display: inline-block;
  margin: 0.9rem 0 0;
  padding: 0.35rem 0.65rem;
  border-radius: 0.3rem;
  background: var(--color-ink);
  color: var(--color-cream);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.015em;
}

.weekend-event-note--small {
  font-size: 0.75rem;
}

.program-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background: var(--color-green);
  color: white;
}

.program-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.6rem;
}

.program-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.program-timeline {
  display: grid;
  gap: 1.2rem;
}

.program-block {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--color-cream-soft);
  border-left: 0.7rem solid var(--color-teal);
  border-radius: 0 2.5rem 2.5rem 0;
  color: var(--color-ink);
}

.program-burgundy {
  border-left-color: var(--color-burgundy);
}

.program-gold {
  border-left-color: var(--color-yellow);
}

.program-orange {
  border-left-color: var(--color-orange);
}

.program-block-head {
  display: flex;
  gap: 1rem;
}

.program-block-head span {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  background: var(--color-ink);
  border-radius: 50%;
  color: var(--color-yellow);
  font-size: 1.4rem;
  font-weight: 950;
}

.program-block h3 {
  margin-bottom: 0.25rem;
  font-size: 1.65rem;
}

.program-block p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-weight: 850;
}

.program-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-day h4 {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.program-day ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-day li {
  display: grid;
  gap: 0.32rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  font-weight: 760;
}

.status {
  width: fit-content;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.09);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-confirmed {
  background: rgba(0, 112, 184, 0.12);
  color: #005c92;
}

.status-question,
.status-draft {
  background: rgba(244, 196, 48, 0.28);
  color: #6b4b00;
}

.history {
  display: grid;
  grid-template-columns: minmax(18rem, 0.84fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.history-hero {
  min-height: 680px;
  padding: clamp(3rem, 8vw, 6.5rem) 0 4rem;
}

.history-collage {
  position: relative;
  min-height: 500px;
}

.history-shape,
.history-photo,
.history-anniversary-logo,
.history-ribbon {
  position: absolute;
}

.history-shape {
  z-index: 0;
}

.history-shape-green {
  inset: 2.5rem 0 3rem 1.4rem;
  background: var(--color-green);
  border-radius: 48% 52% 44% 56% / 58% 38% 62% 42%;
}

.history-shape-teal {
  right: 0;
  bottom: 1rem;
  width: 52%;
  height: 37%;
  background: var(--color-teal);
  border-radius: 999px 999px 2rem 999px;
  transform: rotate(-8deg);
}

.history-photo {
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: #ded6bf;
  box-shadow: var(--shadow-soft);
}

.history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-photo-chapel {
  inset: 4.7rem 3% 1.8rem 2.8rem;
  border-radius: 52% 48% 42% 58% / 45% 44% 56% 55%;
}

.history-photo-chapel img {
  object-position: center;
}

.history-photo-linden {
  right: 0;
  bottom: 0;
  width: 40%;
  aspect-ratio: 0.78;
  border: 8px solid var(--color-cream);
  border-radius: 999px 999px 2rem 2rem;
  transform: rotate(5deg);
}

.history-photo-linden img {
  object-position: center 30%;
}

.history-anniversary-logo {
  z-index: 2;
  left: 0;
  top: 0;
  width: clamp(7.2rem, 25%, 10.6rem);
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--color-cream);
  border-radius: 50%;
  background: var(--color-cream-soft);
  box-shadow: 0 0.8rem 1.8rem rgba(17, 17, 17, 0.2);
  transform: rotate(-5deg);
}

.history-anniversary-logo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.history-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
}

.history-lead {
  max-width: 40rem;
  font-size: clamp(1.08rem, 2vw, 1.32rem) !important;
  font-weight: 760;
}

.history-details {
  max-width: 42rem;
  margin-top: 1.75rem;
  border-top: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
}

.history-details summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.history-details summary::-webkit-details-marker {
  display: none;
}

.history-details summary span {
  padding: 0.35rem 0.55rem;
  background: var(--color-yellow);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.history-details summary b {
  margin-left: auto;
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.history-details[open] summary b {
  transform: rotate(180deg);
}

.history-details-content {
  padding: 0.4rem 0 1.35rem;
}

.history-details-content p {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.03rem;
}

.history-details-content p:last-child {
  margin-bottom: 0;
}

.history-details summary:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

.mass-note {
  max-width: 42rem;
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-left: 0.45rem solid var(--color-burgundy);
  background: rgba(255, 248, 231, 0.72);
}

.mass-note .eyebrow {
  margin-bottom: 0.4rem;
  color: var(--color-burgundy);
}

.mass-note p:last-child {
  margin: 0;
  font-size: 1.05rem;
}

.people {
  display: grid;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.people-collage {
  position: relative;
  min-height: 410px;
}

.people-collage::before {
  content: "";
  position: absolute;
  inset: 3rem 5rem 0 0;
  background: var(--color-blue);
  border-radius: 999px 999px 999px 0;
}

.people-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.people-photo.secondary {
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
  width: 44%;
  border: 8px solid var(--color-cream);
  border-radius: 2rem;
}

.info-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1fr);
  gap: 1.5rem;
}

.practical-info-only {
  grid-template-columns: minmax(0, 0.85fr);
}

.practical,
.gallery-placeholder {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 2px solid rgba(17, 17, 17, 0.12);
}

.practical {
  border-radius: 0 3rem 3rem 3rem;
  background: rgba(255, 248, 231, 0.68);
}

.practical ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.gallery-placeholder {
  min-height: 310px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.04)),
    url("assets/images/inspirace-homepage.webp");
  background-position: 82% 76%;
  background-size: cover;
  border-radius: 3rem 3rem 3rem 0;
  color: white;
  box-shadow: inset 0 -12rem 8rem rgba(17, 17, 17, 0.68);
}

.gallery-placeholder span {
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.gallery-placeholder p {
  max-width: 28rem;
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(14rem, 0.6fr);
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem) max(1rem, calc((100vw - var(--max-width)) / 2));
  background: var(--color-ink);
  color: white;
}

.site-footer p,
.footer-contact span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.footer-nav a:hover {
  color: var(--color-yellow);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .hero,
  .split-heading,
  .program-heading,
  .program-block,
  .history,
  .people,
  .info-gallery {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 0;
  }

  .hero-collage {
    min-height: 460px;
  }

  .weekend-feature,
  .weekend-feature.is-reversed {
    grid-template-columns: 1fr;
  }

  .weekend-feature.is-reversed .weekend-visual {
    order: 0;
  }

  .program-days {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand img {
    width: 2rem;
  }

  .site-nav {
    font-size: 0.86rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 3rem);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 3rem;
    padding-inline: 0.85rem;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
  }

  .hero-collage {
    min-height: 330px;
    margin-top: 0.75rem;
  }

  .photo-main {
    top: 2.2rem;
    width: 88%;
  }

  .photo-small {
    display: none;
  }

  .shape-sun {
    width: 7rem;
    height: 7rem;
  }

  .shape-teal {
    right: 2rem;
    width: 11rem;
    height: 7rem;
  }

  .year-badge {
    width: 7rem;
    height: 7rem;
    right: 0;
    bottom: 0.5rem;
  }

  .year-badge strong {
    font-size: 2rem;
  }

  .weekend-visual {
    min-height: 260px;
  }

  .weekend-number {
    width: 4.5rem;
    height: 4.5rem;
  }

  .weekend-program-day li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .program-block {
    border-radius: 0 1.6rem 1.6rem 0;
  }

  .people-collage {
    min-height: 320px;
  }

  .history-collage {
    min-height: 365px;
  }

  .history-shape-green {
    inset: 2rem 0 2.2rem 0.6rem;
  }

  .history-photo-chapel {
    inset: 4rem 0 2.8rem 2rem;
  }

  .history-photo-linden {
    width: 42%;
    border-width: 6px;
  }

  .history-anniversary-logo {
    width: 7.2rem;
    border-width: 4px;
  }

  .intro-ribbon {
    right: 0.3rem;
    top: 1.45rem;
    width: 4.2rem;
  }

  .history-copy h2 {
    max-width: 100%;
  }

  .history-details summary {
    align-items: flex-start;
    font-size: 0.94rem;
  }

  .history-details summary span {
    flex: 0 0 auto;
  }

  .site-footer {
    padding-inline: 1rem;
  }
}

/* Kvíz: součást sekce Lidé a krajina, ne samostatná aplikace. */
.people {
  grid-template-rows: auto auto;
}

.people-copy p + p {
  margin-top: 1rem;
}

.people-photo img {
  object-position: center;
}

.people-photo.secondary img {
  object-position: 43% center;
}

.skrdlovice-quiz {
  position: relative;
  grid-column: 1 / -1;
  margin-top: clamp(1rem, 4vw, 2.5rem);
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 0 3.25rem 3.25rem 3.25rem;
  background:
    linear-gradient(125deg, rgba(224, 102, 53, 0.12), transparent 40%),
    rgba(255, 248, 231, 0.76);
}

.quiz-intro {
  max-width: 44rem;
}

.quiz-intro h2,
.quiz-game h2 {
  max-width: 25ch;
  margin: 0.35rem 0 0.8rem;
}

.quiz-intro > p:not(.section-kicker) {
  max-width: 39rem;
  font-size: 1.12rem;
}

.quiz-note {
  color: var(--color-burgundy);
  font-weight: 700;
}

.quiz-start {
  margin-top: 0.7rem;
}

.quiz-game {
  max-width: 48rem;
}

.quiz-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
  color: var(--color-burgundy);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quiz-progress {
  width: 100%;
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 51, 70, 0.15);
}

.quiz-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--color-blue);
  transition: width 180ms ease;
}

.quiz-question {
  margin: 1.45rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.15;
}

.quiz-options {
  display: grid;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(17, 17, 17, 0.17);
  border-radius: 1rem 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.58);
  color: var(--color-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.quiz-option:not([disabled]):hover {
  transform: translateX(0.25rem);
  border-color: var(--color-blue);
  background: rgba(182, 220, 224, 0.38);
}

.quiz-option:focus-visible,
.quiz-start:focus-visible,
.quiz-next:focus-visible,
.quiz-restart:focus-visible {
  outline: 3px solid var(--color-burgundy);
  outline-offset: 3px;
}

.quiz-option > b {
  display: grid;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-cream);
  font-size: 0.85rem;
}

.quiz-option.is-correct,
.quiz-option.is-correct > b {
  border-color: #216344;
  background: #d9edcf;
  color: #173d2c;
}

.quiz-option.is-wrong,
.quiz-option.is-wrong > b {
  border-color: #a0382a;
  background: #f8d8cf;
  color: #6d211c;
}

.quiz-feedback {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 5px solid var(--color-blue);
  border-radius: 0 1rem 1rem 0;
  background: rgba(182, 220, 224, 0.3);
}

.quiz-feedback strong {
  display: block;
  margin-bottom: 0.25rem;
}

.quiz-next,
.quiz-result-actions {
  margin-top: 1.2rem;
}

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.quiz-result-score {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
}

.quiz-result-actions .button-secondary {
  background: transparent;
}

.quiz-noscript {
  margin: 1rem 0 0;
  color: var(--color-burgundy);
}

@media (max-width: 620px) {
  .skrdlovice-quiz {
    padding: 1.25rem;
    border-radius: 0 2rem 2rem 2rem;
  }

  .quiz-progress-row {
    font-size: 0.74rem;
  }

  .quiz-option {
    min-height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-progress > span,
  .quiz-option {
    transition: none;
  }
}

/* Dlouhý příběh: zachovává záměrné jednotlivé řádky dokumentu. */
.story-disclosure {
  position: relative;
  grid-column: 1 / -1;
  margin-top: clamp(0.5rem, 3vw, 2rem);
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-radius: 3.25rem 0 3.25rem 3.25rem;
  background: rgba(227, 209, 138, 0.2);
}

.story-disclosure h2 {
  max-width: 28ch;
  margin: 0.35rem 0 0.8rem;
}

.story-lead {
  max-width: 44rem;
  margin-bottom: 0.7rem;
  font-size: 1.12rem;
}

.story-disclaimer {
  max-width: 44rem;
  padding: 0.8rem 1rem;
  border-left: 5px solid var(--color-burgundy);
  background: rgba(255, 248, 231, 0.72);
}

.story-details {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.story-details summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.story-details summary::-webkit-details-marker {
  display: none;
}

.story-details summary span {
  flex: 0 0 auto;
  color: var(--color-burgundy);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-details summary b {
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform 160ms ease;
}

.story-details[open] summary b {
  transform: rotate(180deg);
}

.story-details summary:focus-visible {
  outline: 3px solid var(--color-burgundy);
  outline-offset: 3px;
}

.story-body {
  max-width: 48rem;
  padding: clamp(0.5rem, 3vw, 1.5rem) 0 1.25rem;
}

.story-document-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2.35rem);
  line-height: 1.04;
}

.story-subtitle {
  margin: 0.65rem 0 2rem;
  color: var(--color-burgundy);
  font-weight: 700;
}

.story-body h4 {
  margin: 2.5rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

.story-line {
  margin: 0 0 0.7rem;
  line-height: 1.58;
}

.story-divider {
  width: 4.5rem;
  margin: 2.25rem 0;
  border: 0;
  border-top: 2px solid var(--color-burgundy);
}

@media (max-width: 620px) {
  .story-disclosure {
    padding: 1.25rem;
    border-radius: 2rem 0 2rem 2rem;
  }

  .story-details summary {
    align-items: flex-start;
    font-size: 0.94rem;
  }

  .story-details summary span {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-details summary b {
    transition: none;
  }
}

.story-collapse-wrap {
  margin: 1.4rem 0 2.2rem;
  text-align: center;
}

.story-collapse {
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.9);
  color: var(--color-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.story-collapse:hover {
  border-color: var(--color-burgundy);
  color: var(--color-burgundy);
}

.story-collapse:focus-visible {
  outline: 3px solid var(--color-burgundy);
  outline-offset: 3px;
}

.story-collapse span {
  margin-left: 0.3rem;
  color: var(--color-burgundy);
}
