:root {
  color-scheme: light;
  --ink: #17121d;
  --muted: #625b69;
  --paper: #fffaf2;
  --surface: #ffffff;
  --purple: #2b103f;
  --purple-2: #4b1f69;
  --wine: #9c183d;
  --gold: #f3b531;
  --amber: #fa7e1e;
  --teal: #097b78;
  --line: rgba(23, 18, 29, 0.12);
  --shadow: 0 24px 80px rgba(30, 15, 48, 0.18);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 28px), var(--max));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 16px 48px rgba(14, 9, 20, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    top 0.25s ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(14, 9, 20, 0.12);
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(43, 16, 63, 0.12);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  margin: 0;
  padding: 0;
}

.primary-menu > .menu-item-has-children {
  position: relative;
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 0 16px 34px rgba(30, 15, 48, 0.14);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.primary-menu > .menu-item-has-children:hover > .sub-menu,
.primary-menu > .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.main-nav a {
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(23, 18, 29, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(43, 16, 63, 0.08);
  color: var(--purple);
  outline: none;
}

.main-nav a.nav-account {
  border: 1px solid rgba(43, 16, 63, 0.2);
  background: var(--purple);
  color: #fff;
}

.main-nav a.nav-account:hover,
.main-nav a.nav-account:focus-visible {
  background: var(--wine);
  color: #fff;
}

.main-nav a.nav-booking-management {
  border: 1px solid rgba(156, 24, 61, 0.24);
  background: rgba(156, 24, 61, 0.08);
  color: var(--wine);
  font-size: 0.84rem;
  white-space: nowrap;
}

.main-nav a.nav-booking-management:hover,
.main-nav a.nav-booking-management:focus-visible {
  background: var(--wine);
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -5px);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle span:last-child {
  transform: translate(-50%, 5px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  align-items: end;
  overflow: hidden;
  background: var(--purple);
  isolation: isolate;
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(20, 8, 30, 0.8) 0%, rgba(20, 8, 30, 0.48) 42%, rgba(20, 8, 30, 0.1) 100%),
    url("../images/duna-toll-hero-hd.png") center / cover no-repeat;
  transform: scale(1.02);
  z-index: -2;
}

.hero-overlay {
  background:
    radial-gradient(circle at 19% 78%, rgba(250, 126, 30, 0.46), transparent 26%),
    linear-gradient(180deg, rgba(43, 16, 63, 0.16), rgba(43, 16, 63, 0.72));
  mix-blend-mode: normal;
  z-index: -1;
}

.hero-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 180px 0 92px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.values h2,
.community h2,
.join h2 {
  margin: 0;
  max-width: 890px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 7.8rem);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--gold);
  box-shadow: 0 18px 42px rgba(243, 181, 49, 0.28);
  color: #261333;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(12px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 36px), var(--max));
  margin: -42px auto 0;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stat {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--purple);
  font-size: 1.16rem;
  line-height: 1.15;
}

.stat span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

/* A modern live-status treatment for the membership callout. */
.stat-membership-spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #edfaf3;
  border-color: #80c9a7;
  box-shadow: inset 0 0 0 1px rgba(20, 148, 103, 0.2), 0 10px 24px rgba(20, 104, 73, 0.12);
}

.stat-membership-spotlight::before {
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(20, 148, 103, 0.3);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.stat-membership-spotlight::after {
  position: absolute;
  top: 0;
  left: -30%;
  width: 24%;
  height: 3px;
  background: #149467;
  content: "";
  animation: membership-scan 4.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.stat-membership-spotlight strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #126448;
  animation: membership-title-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-membership-spotlight > span {
  color: #31594a;
  font-weight: 800;
  animation: membership-subtitle-in 640ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-join-cta {
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff8e7;
  color: var(--purple);
  text-decoration: none;
}

.stat-join-cta::after {
  position: absolute;
  top: 0;
  left: -30%;
  width: 24%;
  height: 3px;
  background: var(--yellow);
  content: "";
  animation: membership-scan 4.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.stat-join-cta em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(183, 116, 0, 0.34);
  border-radius: 5px;
  background: var(--yellow);
  color: var(--purple);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.stat-join-cta:hover em,
.stat-join-cta:focus-visible em {
  background: var(--purple);
  color: #fff;
  transform: translateX(3px);
}

.stat-join-cta:focus-visible {
  outline: 3px solid rgba(248, 183, 38, 0.62);
  outline-offset: 3px;
}

.membership-spark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #149467;
}

.membership-spark::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(20, 148, 103, 0.8);
  border-radius: inherit;
  content: "";
  animation: membership-ping 2.2s ease-out infinite;
}

@keyframes membership-scan {
  0%,
  18% {
    left: -30%;
  }

  48%,
  100% {
    left: 106%;
  }
}

@keyframes membership-title-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes membership-subtitle-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

@keyframes membership-ping {
  0% {
    opacity: 0.8;
    transform: scale(0.55);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-membership-spotlight::before,
  .stat-membership-spotlight::after,
  .stat-membership-spotlight strong,
  .membership-spark::after {
    animation: none;
  }
}

.section,
.values,
.community,
.booking,
.facebook-join,
.gallery,
.location,
.join,
.site-footer {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.section h2,
.values h2,
.community h2,
.join h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
}

.prose p,
.community p,
.join p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  font-weight: 560;
}

.prose p + p {
  margin-top: 20px;
}

.page-content {
  padding-top: 160px;
}

.page-content h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
}

.page-content .prose {
  max-width: 780px;
}

.page-content .prose > *:first-child {
  margin-top: 0;
}

.about-page {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 142px 0 84px;
}

.about-page__header {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 34px;
}

.about-page__header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.about-page__header > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.55;
}

.about-page__content > .about-page__profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-profile {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-profile__role {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-profile h2 {
  margin: 0 0 22px;
  color: var(--purple);
  font-size: 2rem;
}

.about-profile__copy {
  display: grid;
  gap: 16px;
}

.about-profile__copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.values {
  padding: 72px 0 92px;
}

.values-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.values .section-kicker,
.training .section-kicker,
.community .section-kicker,
.join .section-kicker {
  color: var(--wine);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.value-grid article {
  min-height: 290px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(243, 181, 49, 0.08)),
    #fff;
}

.value-grid article:last-child {
  border-right: 0;
}

.value-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(9, 123, 120, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
}

.value-grid h3,
.training-list h3 {
  margin: 52px 0 12px;
  color: var(--purple);
  font-size: 1.35rem;
  line-height: 1.1;
}

.value-grid p,
.training-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 580;
}

.training {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.training-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.training-list article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(30, 15, 48, 0.06);
}

.training-list .training-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(30, 15, 48, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.training-list .training-card:hover,
.training-list .training-card:focus-visible {
  border-color: rgba(156, 24, 61, 0.45);
  box-shadow: 0 18px 40px rgba(30, 15, 48, 0.12);
  outline: none;
  transform: translateY(-3px);
}

.training-list h3 {
  margin-top: 0;
}

.training-card h3 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 1.35rem;
  line-height: 1.1;
}

.training-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 580;
}

.training-card span {
  margin-top: auto;
  padding-top: 22px;
  color: var(--wine);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.training .split {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.training h2 {
  font-size: clamp(2.2rem, 4.35vw, 4.2rem);
}

.news-section {
  padding-top: 76px;
  padding-bottom: 82px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.52fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

.news-heading .section-kicker {
  color: var(--wine);
}

.news-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  line-height: 1;
}

.news-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 620;
  line-height: 1.55;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(30, 15, 48, 0.06);
}

.news-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--purple);
}

.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__content {
  display: flex;
  min-height: 280px;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.news-card__meta {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.news-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-card__meta time {
  white-space: nowrap;
}

.news-card h3 {
  margin: 20px 0 12px;
  color: var(--purple);
  font-size: 1.48rem;
  line-height: 1.12;
}

.news-card h3 a {
  color: inherit;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 580;
  line-height: 1.55;
}

.news-card__link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-article {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 126px 0 92px;
}

.news-article__header {
  margin-bottom: 38px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.news-article__label {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-article h1 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
}

.news-article__image {
  margin: 0 0 42px;
}

.news-article__image img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.news-article .prose {
  max-width: none;
}

.news-article .prose h2 {
  margin-top: 44px;
}

.news-article__back {
  display: inline-flex;
  margin-top: 42px;
  color: var(--wine);
  font-weight: 900;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: 94px 0 30px;
}

.booking h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.45vw, 4.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.booking-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(43, 16, 63, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 181, 49, 0.15)),
    #fff;
  box-shadow: 0 18px 48px rgba(30, 15, 48, 0.1);
}

.booking-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 620;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 104px 0;
}

.community-image {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.community-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.community-copy p:last-child {
  margin-top: 22px;
}

.gallery {
  padding: 18px 0 112px;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.gallery-heading .section-kicker,
.location .section-kicker {
  color: var(--wine);
}

.gallery h2,
.location h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 5.6vw, 5.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
}

.gallery-heading > p,
.location-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 620;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--purple);
}

.gallery-grid figure.is-featured {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-grid figure.is-community {
  aspect-ratio: 4 / 3;
}

.gallery-grid figure.is-tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.gallery-grid figure:not(.is-featured):not(.is-community):not(.is-tall) {
  aspect-ratio: 16 / 9;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.facebook-join {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: 12px 0 96px;
}

/* Main-page navigation targets: leave the fixed header above each section label. */
#rolunk,
#edzesek,
#kozosseg,
#facebook-csoport,
#galeria,
#csatlakozas,
#kapcsolat {
  scroll-margin-top: 106px;
}

.facebook-join h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.45vw, 4.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.facebook-join-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(43, 16, 63, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(9, 123, 120, 0.12)),
    #fff;
  box-shadow: 0 18px 48px rgba(30, 15, 48, 0.1);
}

.facebook-join-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 620;
}

.join {
  margin-bottom: 104px;
  padding: 72px 0;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(43, 16, 63, 0.96), rgba(75, 31, 105, 0.9)),
    url("../images/duna-toll-hero-hd.png") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.location {
  display: grid;
  grid-template-columns: minmax(350px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 112px 0 84px;
  border-top: 1px solid var(--line);
}

.training-page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}

.training-page-actions .section-kicker {
  color: var(--wine);
}

.training-page-actions h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.training-page-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.location h2 {
  max-width: 560px;
  font-size: clamp(2.2rem, 4.25vw, 4rem);
  line-height: 0.98;
}

.location-copy > p:not(.section-kicker) {
  max-width: 480px;
  margin-top: 20px;
  white-space: pre-line;
}

.location-copy .button {
  margin-top: 28px;
}

.location-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(30, 15, 48, 0.1);
}

.location-visual img,
.location-visual iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.location-visual img {
  object-fit: cover;
}

.join-inner {
  max-width: 820px;
  padding: 0 clamp(24px, 6vw, 72px);
}

.join h2 {
  color: #fff;
}

.join p {
  max-width: 660px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.82);
}

.join .section-kicker {
  color: var(--gold);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(160px, 0.62fr) minmax(240px, 0.75fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
  padding: 58px 0 26px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 330px;
  text-align: left;
}

.footer-wordmark {
  display: block;
  width: min(100%, 274px);
}

.footer-wordmark:focus-visible {
  outline: 3px solid rgba(243, 181, 49, 0.72);
  outline-offset: 4px;
}

.footer-wordmark img {
  width: 100%;
  height: auto;
}

.site-footer p,
.site-footer span,
.site-footer a {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 650;
}

.footer-brand p {
  margin-top: 18px;
  line-height: 1.65;
}

.footer-navigation,
.footer-contact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-heading {
  color: var(--ink);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-navigation ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.footer-navigation a {
  color: var(--muted);
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible {
  color: var(--wine);
  outline: none;
}

.footer-contact {
  font-style: normal;
}

.footer-contact > span:not(.footer-heading),
.footer-address {
  color: var(--muted);
}

.footer-contact > a:not(.button),
.footer-bottom a {
  color: var(--wine);
}

.footer-address {
  line-height: 1.55;
}

.footer-booking-button {
  width: fit-content;
  margin-top: 12px !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 8px;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(156, 24, 61, 0.18);
  border-radius: 50%;
  background: rgba(156, 24, 61, 0.07);
  color: var(--wine);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--wine);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom span,
.footer-bottom a {
  font-size: 0.92rem;
  font-weight: 750;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-cookie-settings {
  border: 0;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 0;
}

.dunatoll-cookie-embed {
  position: relative;
  display: grid;
  min-height: 340px;
  overflow: hidden;
  background: rgba(43, 16, 63, 0.06);
}

.dunatoll-cookie-embed iframe {
  display: none;
  width: 100%;
  min-height: 340px;
  height: 100%;
  border: 0;
}

.dunatoll-cookie-embed.is-enabled iframe {
  display: block;
}

.dunatoll-cookie-embed-placeholder {
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.dunatoll-cookie-embed.is-enabled .dunatoll-cookie-embed-placeholder {
  display: none;
}

.dunatoll-cookie-embed-placeholder p {
  max-width: 290px;
  margin: 0;
}

.dunatoll-cookie-embed-placeholder button {
  border: 1px solid rgba(43, 16, 63, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 10px 14px;
}

.dunatoll-cookie-banner {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  width: min(460px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.dunatoll-cookie-title,
.dunatoll-cookie-banner p {
  margin: 0;
}

.dunatoll-cookie-title {
  color: var(--purple);
  font-size: 1.12rem;
  font-weight: 900;
}

.dunatoll-cookie-banner > p:not(.dunatoll-cookie-title) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.dunatoll-cookie-banner > a {
  color: var(--wine);
  font-size: 0.9rem;
  font-weight: 800;
}

.dunatoll-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.dunatoll-cookie-actions button {
  min-height: 42px;
  border: 1px solid rgba(43, 16, 63, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 9px 14px;
}

.dunatoll-cookie-actions button:last-child {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.dunatoll-cookie-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 18, 29, 0.5);
}

.dunatoll-cookie-modal-panel {
  width: min(560px, 100%);
  padding: clamp(22px, 5vw, 38px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.dunatoll-cookie-modal h2 {
  margin: 0;
  color: var(--purple);
  font-size: 1.8rem;
}

.dunatoll-cookie-modal p {
  color: var(--muted);
}

.dunatoll-cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.dunatoll-cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--purple);
}

.dunatoll-cookie-option span,
.dunatoll-cookie-option small {
  display: block;
}

.dunatoll-cookie-option strong {
  color: var(--ink);
}

.dunatoll-cookie-option small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  #rolunk,
  #edzesek,
  #kozosseg,
  #facebook-csoport,
  #galeria,
  #csatlakozas,
  #kapcsolat {
    scroll-margin-top: 98px;
  }

  .site-header {
    top: 12px;
    width: min(calc(100% - 22px), var(--max));
    border-radius: 26px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 11px;
    left: 11px;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .primary-menu {
    display: grid;
    gap: 10px;
  }

  .primary-menu li {
    width: 100%;
  }

  .primary-menu .sub-menu {
    display: grid;
    position: static;
    min-width: 0;
    margin: 2px 0 0 14px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid rgba(43, 16, 63, 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-menu .sub-menu a {
    min-height: 42px;
  }

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

  .main-nav a {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    border-radius: 14px;
    background: rgba(43, 16, 63, 0.05);
    padding: 14px 16px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(20, 8, 30, 0.58), rgba(20, 8, 30, 0.78)),
      url("../images/duna-toll-hero-hd.png") 56% center / cover no-repeat;
  }

  .hero-inner {
    padding-bottom: 74px;
  }

  .intro-band,
  .split,
  .values-heading,
  .booking,
  .facebook-join,
  .gallery-heading,
  .community,
  .location,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .stat {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

  .values {
    padding: 70px 0;
  }

  .value-grid,
  .training-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .news-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .value-grid article {
    min-height: 250px;
    border-bottom: 1px solid var(--line);
  }

  .value-grid article:nth-child(2n) {
    border-right: 0;
  }

  .value-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .community {
    padding: 76px 0;
  }

  .training .split {
    grid-template-columns: 1fr;
  }

  .gallery {
    padding: 12px 0 76px;
  }

  .location {
    padding: 76px 0 62px;
  }

  .training-page-actions {
    align-items: start;
    flex-direction: column;
    padding: 38px 0 48px;
  }

  .training-page-actions-buttons {
    justify-content: flex-start;
  }

  .site-footer address {
    text-align: left;
  }

  .footer-brand {
    justify-self: start;
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  .privacy-link {
    justify-self: start;
  }

  .about-page {
    width: min(calc(100% - 28px), var(--max));
    padding: 104px 0 58px;
  }

  .about-page__header {
    gap: 10px;
    margin-bottom: 22px;
  }

  .about-page__content > .about-page__profiles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-profile {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .brand strong {
    max-width: 140px;
  }

  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
    padding-top: 142px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .about-page__header h1 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

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

  .section,
  .values,
  .community,
  .booking,
  .facebook-join,
  .gallery,
  .location,
  .join,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .section h2,
  .values h2,
  .community h2,
  .booking h2,
  .facebook-join h2,
  .gallery h2,
  .location h2,
  .join h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1;
  }

  .value-grid,
  .training-list,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card__content {
    min-height: 0;
  }

  .news-article {
    width: min(calc(100% - 28px), 900px);
    padding: 104px 0 64px;
  }

  .value-grid article,
  .value-grid article:nth-child(2n),
  .value-grid article:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-grid article:last-child {
    border-bottom: 0;
  }

  .value-grid h3 {
    margin-top: 34px;
  }

  .training-list article {
    min-height: auto;
  }

  .training-list .training-card {
    min-height: auto;
  }

  .community-image,
  .community-image img {
    min-height: 300px;
  }

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

  .gallery-grid figure.is-featured {
    grid-column: span 2;
  }

  .gallery-grid figure.is-tall {
    grid-row: auto;
  }

  .location-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .location-visual img,
  .location-visual iframe {
    min-height: 220px;
  }

  .location-visual iframe {
    min-height: 280px;
  }

  .join {
    margin-bottom: 72px;
    padding: 58px 0;
  }
}

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