:root {
  --ink: #241208;
  --soil: #4b2410;
  --clay: #a44f30;
  --clay-dark: #78331e;
  --leaf: #51613a;
  --moss: #7c8a58;
  --cream: #f7f1e8;
  --wheat: #dfc391;
  --paper: #fffaf1;
  --white: #fffdf8;
  --line: rgba(36, 18, 8, 0.13);
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(36, 18, 8, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(81, 97, 58, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(81, 97, 58, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 34px rgba(36, 18, 8, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
  box-shadow: 0 6px 22px rgba(36, 18, 8, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 250, 241, 0.18);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: rgba(75, 36, 16, 0.08);
}

.nav-cta {
  color: var(--ink);
  background: var(--wheat);
  box-shadow: inset 0 0 0 1px rgba(36, 18, 8, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: settle 1400ms ease-out forwards;
}

.hero-shade {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 250, 241, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(36, 18, 8, 0.76), rgba(36, 18, 8, 0.46) 46%, rgba(36, 18, 8, 0.22)),
    linear-gradient(0deg, rgba(36, 18, 8, 0.84), rgba(36, 18, 8, 0.02) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 130px 0 145px;
  transform: translateY(16px);
  opacity: 0;
  animation: rise 800ms 180ms ease-out forwards;
}

.eyebrow,
.section-kicker,
.feature-tag {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--wheat);
}

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

h1,
h2,
h3 {
  line-height: 0.98;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 9.5vw, 6.5rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.7rem, 3.5vw, 3.25rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
}

.hero-text {
  max-width: 600px;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  text-wrap: pretty;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 12px 28px rgba(36, 18, 8, 0.18);
}

.button-primary {
  color: var(--ink);
  background: var(--wheat);
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(255, 250, 241, 0.7);
  background: rgba(255, 250, 241, 0.08);
}

.button-dark {
  color: var(--paper);
  background: var(--clay-dark);
}

.button-outline {
  border-color: rgba(36, 18, 8, 0.24);
  background: rgba(255, 250, 241, 0.68);
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 241, 0.24);
  background: rgba(36, 18, 8, 0.58);
  backdrop-filter: blur(12px);
}

.hero-strip span {
  display: grid;
  min-height: 76px;
  place-items: center;
  border-right: 1px solid rgba(255, 250, 241, 0.2);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 4vw, 54px);
}

.story {
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(30px, 6vw, 72px);
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.story-copy {
  padding-top: 18px;
  font-size: 1rem;
}

.section-heading {
  max-width: var(--container);
  margin: 0 auto 38px;
}

.section-heading h2,
.story-grid h2,
.events-copy h2,
.relax-copy h2,
.contact h2 {
  text-wrap: balance;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: stretch;
}

.feature-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.feature-card > div {
  padding: 28px;
}

.feature-card .feature-tag {
  color: var(--clay);
}

.events {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 680px;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.events-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.events-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 86px);
}

.events-copy p {
  font-size: 1rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.relax {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  color: var(--paper);
  background: var(--leaf);
}

.relax .section-kicker {
  color: var(--wheat);
}

.relax-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.22);
  box-shadow: var(--shadow);
}

.relax-panel div {
  min-height: 190px;
  padding: 28px;
  background: rgba(36, 18, 8, 0.25);
}

.relax-panel strong {
  display: block;
  margin-bottom: 22px;
  color: var(--wheat);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.4vw, 3.8rem);
  font-weight: 500;
  line-height: 0.9;
}

.relax-panel span {
  font-weight: 700;
}

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 245px;
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--soil);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.contact {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(36, 18, 8, 0.9), rgba(75, 36, 16, 0.94)),
    url("assets/dettaglio-ruota.jpeg") center / cover;
  color: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: end;
}

.contact .section-kicker {
  color: var(--wheat);
}

.contact h2 {
  max-width: 780px;
}

.contact p {
  max-width: 620px;
}

.site-footer {
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(36, 18, 8, 0.98), rgba(75, 36, 16, 0.96)),
    url("assets/podere-fienile.jpeg") center / cover;
  border-top: 1px solid rgba(255, 250, 241, 0.14);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 0.65fr));
  gap: clamp(24px, 5vw, 58px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 78px) 0 34px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.footer-brand img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 18px 46px rgba(12, 7, 4, 0.28);
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1;
}

.footer-brand p,
.footer-bottom p {
  margin: 0;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255, 250, 241, 0.76);
  font-size: 0.95rem;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-heading {
  margin: 0 0 8px;
  color: var(--wheat);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-group a,
.footer-group button {
  width: fit-content;
  padding: 0;
  color: rgba(255, 250, 241, 0.82);
  border: 0;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-group a:hover,
.footer-group a:focus-visible,
.footer-group button:hover,
.footer-group button:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--wheat);
  outline: none;
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 0 22px;
  color: rgba(255, 250, 241, 0.58);
  border-top: 1px solid rgba(255, 250, 241, 0.14);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255, 250, 241, 0.72);
  font-weight: 750;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 7, 4, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.policy-page {
  background: var(--paper);
}

.policy-page .site-header {
  position: sticky;
}

.policy-nav {
  display: flex;
}

.policy-main {
  padding: clamp(92px, 12vw, 140px) clamp(18px, 4vw, 54px);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.policy-content h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.policy-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.policy-content a {
  color: var(--clay-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cookie-banner {
  position: fixed;
  left: auto;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(460px, calc(100vw - 24px));
  max-width: 460px;
  margin: 0;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(36, 18, 8, 0.22);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.consent-summary,
[data-consent-summary] {
  display: grid;
  gap: 8px;
  min-width: 0;
  opacity: 1;
  visibility: visible;
}

.consent-summary-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.consent-banner-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(36, 18, 8, 0.1);
  border-radius: 50%;
  background:
    rgba(239, 208, 154, 0.22)
    url("assets/cookie-icon.png") center / 24px 24px no-repeat;
}

.consent-summary h2,
.cookie-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.08;
}

.consent-summary h2,
.consent-summary p {
  max-width: 560px;
}

.consent-summary p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.consent-summary .consent-note {
  color: rgba(36, 18, 8, 0.68);
  font-size: 0.82rem;
}

.consent-summary a {
  color: var(--clay-dark);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-label {
  margin: 0 0 6px;
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-actions,
.cookie-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions {
  padding-top: 4px;
  border-top: 1px solid rgba(36, 18, 8, 0.1);
}

.cookie-actions .button,
.cookie-panel-actions .button {
  min-height: 38px;
  padding: 10px 14px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 7, 4, 0.62);
}

.cookie-floating {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 65;
  display: grid;
  place-items: center;
  align-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(36, 18, 8, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 42px rgba(36, 18, 8, 0.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cookie-floating[hidden] {
  display: none;
}

.cookie-floating span {
  width: 28px;
  height: 28px;
  background: url("assets/cookie-icon.png") center / contain no-repeat;
}

.cookie-floating:hover,
.cookie-floating:focus-visible {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(36, 18, 8, 0.24);
  outline: none;
}

.cookie-panel {
  width: min(760px, 100%);
  max-height: min(780px, 92vh);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 120px rgba(12, 7, 4, 0.38);
}

.cookie-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cookie-x {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.cookie-x::before,
.cookie-x::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.cookie-x::before {
  transform: rotate(45deg);
}

.cookie-x::after {
  transform: rotate(-45deg);
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.cookie-option h3 {
  margin-bottom: 5px;
  font-size: 1.16rem;
}

.cookie-option p {
  margin-bottom: 0;
  color: rgba(36, 18, 8, 0.72);
  font-size: 0.88rem;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 34px;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(36, 18, 8, 0.24);
  cursor: pointer;
  transition: background 160ms ease;
}

.switch span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 3px 10px rgba(36, 18, 8, 0.18);
  transition: transform 160ms ease;
}

.switch input:checked + span {
  background: var(--leaf);
}

.switch input:checked + span::before {
  transform: translateX(24px);
}

.switch input:disabled + span {
  cursor: not-allowed;
  background: var(--clay-dark);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 241, 0.45);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.08);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--paper);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes settle {
  to {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 14px;
    color: var(--ink);
    background: rgba(255, 250, 241, 0.96);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero-content {
    padding-bottom: 132px;
  }

  .story-grid,
  .events,
  .relax,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .feature-card-tall {
    margin-top: 0;
  }

  .events {
    min-height: 0;
  }

  .events-media img {
    min-height: 380px;
  }

  .relax-panel,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    left: clamp(12px, 3vw, 28px);
    right: clamp(12px, 3vw, 28px);
    width: auto;
  }

  .cookie-actions,
  .cookie-panel-actions {
    justify-content: flex-end;
  }

  .cookie-actions .button,
  .cookie-panel-actions .button {
    flex: 0 1 auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 3.85rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

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

  .hero-strip span {
    min-height: 54px;
  }

  .feature-card img,
  .events-media img {
    height: 260px;
    min-height: 260px;
  }

  .feature-card > div,
  .events-copy,
  .relax-panel div {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .footer-brand img {
    width: 68px;
    height: 68px;
  }

  .footer-bottom {
    display: grid;
  }

  .policy-nav a:not(.nav-cta) {
    display: none;
  }

  .cookie-banner {
    max-height: calc(100vh - 20px);
    overflow: auto;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    padding: 12px;
    gap: 9px;
  }

  .consent-summary h2 {
    font-size: 1rem;
    line-height: 1.08;
  }

  .consent-summary p,
  .consent-summary a {
    font-size: 0.82rem;
    line-height: 1.34;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }

  .cookie-modal {
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .cookie-panel {
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .cookie-panel-head {
    gap: 12px;
    padding-bottom: 14px;
  }

  .cookie-panel h2 {
    font-size: 1.28rem;
  }

  .cookie-options {
    gap: 10px;
    margin: 14px 0;
  }

  .cookie-option {
    gap: 12px;
    padding: 14px;
  }

  .cookie-option h3 {
    font-size: 1rem;
  }

  .cookie-option p {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .cookie-actions,
  .cookie-panel-actions,
  .policy-actions {
    display: grid;
  }

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

  .cookie-panel-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .cookie-actions .button,
  .cookie-panel-actions .button {
    width: 100%;
    min-height: 36px;
    padding: 9px 7px;
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

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