@font-face {
  font-family: "Amberes Grotesk";
  src: url("../fonts/Amberes-Grotesk-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #15120f;
  --cream: #ecd0e3;
  --white: #fffaf1;
  --rose-taffy: #e5a0b8;
  --soft-orchid: #ecd0e3;
  --berlin-slate: #a6a8aa;
  --sky-blue: #8cc9fa;
  --solar-yellow: #eedd82;
  --lavender-mist: #dcd0f3;
  --rose-ink: #8f3659;
  --sky-ink: #1f5d8f;
  --honey: var(--solar-yellow);
  --mango: var(--rose-taffy);
  --mango-dark: var(--rose-ink);
  --sage: var(--sky-blue);
  --ink-soft: rgba(21, 18, 15, 0.68);
  --white-soft: rgba(255, 250, 241, 0.78);
  --line: rgba(166, 168, 170, 0.38);
  --shadow: 0 24px 80px rgba(143, 54, 89, 0.18);
  --page-max: 1280px;
  --page-pad: clamp(1rem, 5vw, 4rem);
  --container-pad: max(var(--page-pad), calc((100vw - var(--page-max)) / 2));
  --title-optical-shift: -0.06em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 160, 184, 0.26), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(140, 201, 250, 0.2), transparent 26rem),
    linear-gradient(180deg, var(--white), rgba(236, 208, 227, 0.72));
  color: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(21, 18, 15, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 18, 15, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 60%, transparent);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--sky-blue);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--container-pad);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(21, 18, 15, 0.86);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
}

.brand-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
}

.brand-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  color: var(--white);
  font-family: "Amberes Grotesk", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 700;
  line-height: 1;
  transform-origin: 50% 50%;
  animation: circular-spin 20s linear infinite reverse;
}

.brand-ring span {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-block;
  width: 1ch;
  height: 50%;
  color: var(--white);
  font-size: 0.38rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform-origin: 50% 100%;
}

.brand-logo {
  height: auto;
}

.brand-logo-static {
  position: relative;
  z-index: 1;
  width: 40px;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(21, 18, 15, 0.2));
}

.menu-toggle {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 250, 241, 0.34);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.08);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-toggle:hover {
  border-color: rgba(255, 250, 241, 0.72);
  background: rgba(255, 250, 241, 0.16);
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: var(--page-pad);
  right: var(--page-pad);
  display: grid;
  gap: 1rem;
  justify-items: stretch;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(21, 18, 15, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.45rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.site-header.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  overflow: visible;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
  scrollbar-width: none;
}

.site-nav a {
  display: inline-flex;
  width: fit-content;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.header-button {
  opacity: 0.86;
  transition: opacity 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.header-button:hover {
  color: var(--solar-yellow);
  opacity: 1;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

.header-button {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
}

.language-switcher {
  display: none;
  position: relative;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
}

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

.language-switcher[open] summary {
  color: var(--solar-yellow);
}

.language-switcher a {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 25;
  display: block;
  min-width: 7rem;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: rgba(21, 18, 15, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 101vh;
  min-height: 101svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7.5rem var(--container-pad) 4rem;
  color: var(--white);
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(21, 18, 15, 0.83) 0%, rgba(21, 18, 15, 0.45) 52%, rgba(21, 18, 15, 0.25) 100%),
    linear-gradient(0deg, rgba(21, 18, 15, 0.74), transparent 48%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms ease-in-out;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(100%, var(--page-max));
  margin-inline: auto;
  translate: 0 4vh;
}

.hero-content {
  position: relative;
  max-width: 100%;
  text-align: left;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--rose-taffy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rose-taffy);
}

.about-title {
  color: var(--rose-taffy);
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-content .eyebrow {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Amberes Grotesk", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4.51rem, 11.88vw, 9.24rem);
  white-space: normal;
  translate: var(--title-optical-shift) 0;
}

h2 {
  font-size: clamp(2.8rem, 8vw, 6.6rem);
  translate: var(--title-optical-shift) 0;
}

.rituals-title {
  font-size: clamp(3.5rem, 6.4vw, 5.8rem);
}

h3 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero-copy {
  max-width: none;
  margin: 1.4rem 0 0;
  color: var(--white-soft);
  font-size: clamp(1.27rem, 2.42vw, 1.65rem);
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--honey);
  color: var(--black);
}

.button-secondary {
  border: 1px solid rgba(220, 208, 243, 0.65);
  color: var(--white);
}

.section-pad {
  padding: clamp(4rem, 10vw, 8rem) var(--container-pad);
}

.intro-grid {
  display: grid;
  gap: 2rem;
  max-width: var(--page-max);
  margin: 0 auto;
  align-items: center;
}

.intro-copy p:not(.eyebrow),
.location-panel p {
  max-width: 660px;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.about-body {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  max-width: 720px;
}

.about-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.65;
}

.intro-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rituals {
  background: var(--black);
  color: var(--white);
}

.rituals .section-heading {
  max-width: var(--page-max);
  margin: 0 auto 2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  max-width: var(--page-max);
  margin: 0 auto;
}

.ritual-card {
  overflow: hidden;
  border: 1px solid rgba(236, 208, 227, 0.22);
  border-radius: 8px;
  background: rgba(236, 208, 227, 0.08);
}

.ritual-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

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

.ritual-card:nth-child(3) img {
  object-position: center 74%;
}

.ritual-card div {
  padding: 1.2rem;
}

.ritual-card h3 {
  font-size: clamp(1.6rem, 3.1vw, 2.55rem);
  line-height: 1;
}

.ritual-card p {
  margin: 0.7rem 0 0;
  color: var(--white-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 800;
}

.section-heading {
  max-width: var(--page-max);
  margin: 0 auto 2rem;
}

.gallery {
  overflow: hidden;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: var(--page-max);
  margin: 0 auto;
}

.gallery-strip picture,
.gallery-strip img {
  display: block;
  width: 100%;
}

.gallery-strip picture {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(21, 18, 15, 0.14);
}

.gallery-strip img {
  min-height: 220px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-strip picture:nth-child(3n + 1) img {
  aspect-ratio: 4 / 3;
}

.gallery-strip picture:nth-child(4n) {
  background: var(--lavender-mist);
}

.location {
  background:
    linear-gradient(rgba(21, 18, 15, 0.28), rgba(21, 18, 15, 0.34)),
    url("../images/webp/ayo-berlin-natural-ingredients-13.webp") center / cover;
  color: var(--white);
}

.location-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(220, 208, 243, 0.3);
  border-radius: 8px;
  background: rgba(21, 18, 15, 0.24);
  backdrop-filter: blur(12px);
  text-align: center;
}

.location-panel p {
  margin-inline: auto;
  color: var(--white-soft);
}

address {
  margin: 1.3rem 0 2rem;
  color: var(--cream);
  font-style: normal;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4rem) var(--container-pad);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--black);
}

.footer-brand {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.footer-logo {
  width: 86px;
  margin-bottom: 0.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: flex-start;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.footer-links {
  max-width: 360px;
}

.site-footer a {
  display: inline-flex;
  justify-self: start;
  transition: color 300ms ease-in, opacity 300ms ease-in;
}

.site-footer a:hover {
  color: var(--rose-ink);
}

.footer-email {
  color: var(--rose-ink);
  font-weight: 900;
}

.footer-heading {
  margin: 0;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-legal-list,
.footer-contact-list {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-legal-list {
  font-weight: 800;
}

.footer-contact-list {
  font-weight: 400;
}

.copyright {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
  font-size: 0.78rem;
}

.legal-page-header {
  background: rgba(21, 18, 15, 0.92);
  backdrop-filter: blur(16px);
}

.legal-page-main {
  min-height: 100vh;
  padding-top: 5rem;
  background: linear-gradient(180deg, var(--white), var(--cream));
}

.legal-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: var(--rose-taffy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.back-link::before {
  content: "<";
}

.legal-page h1 {
  max-width: 100%;
  color: var(--black);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1.02;
  translate: none;
}

.legal-page-copy {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

html[data-language-preference="de"] [data-lang-content="en"] {
  display: none !important;
}

html[data-language-preference="en"] [data-lang-content="de"] {
  display: none !important;
}

.legal-page-copy p {
  margin: 0;
}

.legal-page-copy h2 {
  margin: 1.25rem 0 0;
  color: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
  translate: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes circular-spin {
  to {
    rotate: 360deg;
  }
}

@media (min-width: 740px) {
  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: contents;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-nav {
    position: absolute;
    left: 50%;
    grid-column: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    overflow: visible;
    padding-bottom: 0;
    translate: -50% 0;
  }

  .site-nav a {
    width: auto;
  }

  .header-actions {
    justify-self: end;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .intro-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-strip {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
  }

  .gallery-strip img {
    min-height: 320px;
  }

}

@media (min-width: 800px) {
  .site-footer {
    grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1fr) minmax(220px, 0.8fr);
  }
}

@media (min-width: 960px) {
  .hero-content {
    margin-bottom: 4vh;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding-block: clamp(3.25rem, 10vw, 5rem);
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 7rem var(--container-pad) 2rem;
  }

  .hero-layout {
    width: 100%;
    translate: 0 0;
  }

  h1 {
    max-width: 7.5ch;
    font-size: clamp(4.2rem, 20vw, 6.35rem);
    white-space: normal;
  }

  h2,
  .rituals-title {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .hero-copy {
    max-width: 22rem;
    font-size: clamp(1.08rem, 5.5vw, 1.35rem);
    white-space: normal;
  }

  .legal-page {
    width: 100%;
  }

  .legal-page h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13vw, 5rem);
    line-height: 1;
  }

  .legal-page-copy {
    max-width: 100%;
  }

  .hero-slide {
    object-position: 58% center;
    transform: scale(1.02);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .ritual-card picture {
    aspect-ratio: 4 / 3;
  }

  .ritual-card:nth-child(3) img {
    object-position: center 72%;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 739px) {
  .mobile-menu {
    left: var(--page-pad);
    right: var(--page-pad);
  }

  .site-nav,
  .header-actions,
  .language-switcher {
    width: 100%;
  }

  .header-button {
    width: 100%;
  }

  .language-switcher {
    justify-self: start;
  }

  .language-switcher summary {
    justify-content: flex-start;
    width: fit-content;
  }

  .language-switcher a {
    position: static;
    display: inline-flex;
    width: fit-content;
    min-width: 0;
    margin-top: 0.65rem;
    border-color: rgba(255, 250, 241, 0.18);
    padding: 0.65rem 0.85rem;
    background: rgba(255, 250, 241, 0.08);
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) var(--page-pad) 0.75rem;
  }

  .site-header.is-scrolled {
    padding-block: calc(env(safe-area-inset-top, 0px) + 0.65rem) 0.65rem;
  }

  .brand-link,
  .brand-badge {
    width: 66px;
    height: 66px;
  }

  .brand-logo-static {
    width: 34px;
  }

  .brand-ring span {
    font-size: 0.32rem;
  }

  .header-button {
    padding-inline: 0.8rem;
    font-size: 0.72rem;
  }

  .header-actions {
    align-items: stretch;
  }

  .language-switcher {
    font-size: 0.7rem;
  }

  .language-switcher summary {
    padding-inline: 0;
  }

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

  .hero {
    padding-top: 6.2rem;
  }

  .hero-content .eyebrow {
    margin-bottom: 0.75rem;
  }

  .eyebrow {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(3.75rem, 19vw, 5.15rem);
  }

  .hero-actions {
    gap: 0.65rem;
    margin-top: 1.45rem;
  }

  .button {
    min-height: 2.75rem;
    padding-block: 0.8rem;
  }

  .intro-grid {
    gap: 1.4rem;
  }

  .intro-image img,
  .ritual-card picture,
  .gallery-strip picture {
    aspect-ratio: 4 / 5;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .location-panel {
    padding: 1.4rem;
  }

  .legal-page-main {
    padding-top: 5.5rem;
  }

  .legal-page h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .back-link {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .brand-ring {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  max-width: var(--page-max);
  margin-inline: auto;
}

.gallery-strip picture {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--sage);
}

.gallery-strip picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fine-tune difficult crops */
.gallery-strip picture:nth-child(1) img {
  object-position: center center;
}

.gallery-strip picture:nth-child(4) img {
  object-position: center center;
}

@media (max-width: 900px) {
  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip picture {
    aspect-ratio: 4 / 5;
  }
}
