:root {
  --bg: #f4efe8;
  --surface: rgba(255, 248, 240, 0.88);
  --surface-strong: rgba(255, 252, 246, 0.95);
  --text: #2d1f1d;
  --muted: #675655;
  --accent: #bb5d3d;
  --accent-dark: #8c4027;
  --line: rgba(45, 31, 29, 0.12);
  --shadow: 0 28px 80px rgba(79, 43, 29, 0.16);
  --max-width: 1180px;
  --headline-size: clamp(2.8rem, 7vw, 5.4rem);
  --subheadline-size: clamp(1.5rem, 3vw, 2.2rem);
  --section-title-size: clamp(2rem, 4vw, 3rem);
  --card-title-size: clamp(2rem, 4vw, 3rem);
  --body-size: 1.02rem;
  --body-leading: 1.8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(229, 137, 76, 0.22), transparent 24%),
    radial-gradient(circle at right, rgba(135, 73, 44, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf5ec 0%, #f3ede4 100%);
}

a {
  color: inherit;
}

main {
  display: block;
}

img {
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
}

.site-header,
.content-section,
.site-footer,
.subpage-hero {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  position: relative;
  z-index: 5;
}

.brand,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  text-decoration: none;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  max-width: 16ch;
  position: relative;
  z-index: 6;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.site-nav a.is-current,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.86);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.45rem;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-home {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
  z-index: 4;
}

.hero-copy-panel,
.hero-slider,
.panel,
.card,
.feature-panel,
.subpage-hero {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy-panel {
  border-radius: 2rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
  position: relative;
  z-index: 5;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.35;
}

.hero-copy-panel h1,
.subpage-hero h1 {
  margin: 0;
  font-size: var(--headline-size);
  line-height: 0.96;
  font-weight: 600;
  text-wrap: balance;
}

.hero-copy-panel h2 {
  margin: 0;
  font-size: var(--subheadline-size);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-copy-panel p,
.subpage-hero p,
.panel p,
.card p,
.feature-panel p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  overflow-wrap: anywhere;
}

.subpage-hero {
  display: grid;
  gap: 1rem;
}

.subpage-hero h1 {
  margin-bottom: 0.35rem;
}

.subpage-hero p {
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.explore-menu {
  position: relative;
  z-index: 20;
}

.explore-menu summary {
  list-style: none;
}

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

.explore-menu[open] summary {
  background: rgba(255, 255, 255, 0.92);
}

.explore-menu-list {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 13rem;
  padding: 0.6rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 251, 246, 0.97);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.2rem;
  z-index: 30;
}

.explore-menu-list a {
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.explore-menu-list a:hover,
.explore-menu-list a:focus-visible {
  background: rgba(187, 93, 61, 0.1);
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
  text-align: center;
}

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

.button-primary {
  background: var(--accent);
  color: #fff9f5;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.hero-slider {
  min-height: 620px;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 211, 181, 0.45), transparent 28%),
    linear-gradient(160deg, #ecd8c6 0%, #d7b8a7 52%, #b47656 100%);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 800ms ease, transform 4.8s ease;
  margin: 0;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 14, 10, 0.02), rgba(24, 14, 10, 0.24));
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide img,
.slide figcaption {
  position: absolute;
  inset: 0;
}

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

.slide figcaption {
  display: none;
  z-index: 1;
  padding: 2rem;
  align-items: flex-end;
  color: #fffaf7;
  font-weight: 700;
  letter-spacing: 0.03em;
  background:
    linear-gradient(180deg, rgba(24, 14, 10, 0.08), rgba(24, 14, 10, 0.5)),
    linear-gradient(135deg, rgba(187, 93, 61, 0.52), rgba(92, 47, 30, 0.7));
}

.slide.is-missing figcaption {
  display: flex;
}

.slider-dots {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  gap: 0.55rem;
  z-index: 2;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.dot.is-active {
  background: #ffffff;
}

.dot:hover,
.dot:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.content-section {
  padding: 1.25rem 0 3rem;
  position: relative;
  z-index: 1;
}

.intro-strip,
.card-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.event-list {
  display: grid;
  gap: 1.25rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.category-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.place-list {
  display: grid;
  gap: 1rem;
}

.place-item {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.place-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.place-item h4 {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.place-item p {
  margin: 0.1rem 0;
}

.travel-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.intro-strip {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.panel,
.card,
.feature-panel,
.subpage-hero {
  border-radius: 1.75rem;
}

.panel,
.card {
  padding: 1.5rem;
  height: 100%;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.panel h2,
.card h3,
.feature-panel h3 {
  margin: 0;
  font-size: var(--section-title-size);
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.card h3,
.event-card h3 {
  font-size: var(--card-title-size);
}

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

.event-card h3 {
  margin-bottom: 0.75rem;
}

.event-details {
  display: grid;
  gap: 0.55rem;
}

.travel-widget {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.travel-widget-hero {
  margin-top: 0.75rem;
}

.travel-widget-copy {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.travel-widget-copy h3,
.travel-form h3 {
  margin: 0;
  font-size: var(--card-title-size);
  line-height: 1.06;
}

.travel-form {
  display: grid;
  gap: 1rem;
}

.travel-field {
  display: grid;
  gap: 0.45rem;
}

.travel-field span {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.travel-field select,
.travel-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fffdf9;
  color: var(--text);
  font: inherit;
}

.travel-form .button {
  border: 0;
  cursor: pointer;
}

.map-panel {
  padding: 1rem;
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.map-panel-hero {
  margin-top: 0.5rem;
}

.map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 32rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 32rem;
  border: 0;
}

.card a {
  color: var(--accent-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.feature-panel {
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.concierge-panel {
  align-items: stretch;
}

.concierge-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  max-width: 34rem;
}

.qr-card {
  min-width: min(100%, 17rem);
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.qr-card img {
  width: min(100%, 14.875rem);
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 18px 36px rgba(79, 43, 29, 0.12);
}

.qr-card p {
  max-width: 18rem;
}

.qr-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.qr-link:hover,
.qr-link:focus-visible {
  text-decoration: underline;
}

.concierge-page-panel {
  display: grid;
  justify-items: center;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.qr-large {
  width: min(100%, 34rem);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  image-rendering: crisp-edges;
  background: #ffffff;
  border-radius: 0;
}

.qr-register-link {
  color: var(--accent-dark);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.qr-register-link:hover,
.qr-register-link:focus-visible {
  text-decoration: underline;
}

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

.subpage-hero {
  margin-top: 0.75rem;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.site-footer {
  padding: 0 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero-home,
  .intro-strip,
  .category-grid,
  .travel-layout,
  .card-grid,
  .two-up,
  .travel-widget {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 440px;
  }

  .feature-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .qr-card {
    width: min(100%, 22rem);
    margin: 0 auto;
  }

  .map-embed,
  .map-embed iframe {
    min-height: 26rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 243, 235, 0.96);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem 2rem;
    transform: translateY(-100%);
    transition: transform 220ms ease;
    z-index: 4;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 1.25rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .hero-home,
  .content-section,
  .site-footer,
  .site-header,
  .subpage-hero {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-copy-panel,
  .subpage-hero,
  .panel,
  .card,
  .feature-panel,
  .concierge-page-panel {
    padding: 1.25rem;
  }

  .hero-slider {
    min-height: 320px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .hero-actions .button,
  .feature-panel .button,
  .explore-menu,
  .travel-form .button {
    width: 100%;
  }

  .explore-menu-list {
    position: static;
    margin-top: 0.65rem;
    min-width: 0;
  }

  .slider-dots {
    left: 1rem;
    bottom: 1rem;
  }

  .qr-large {
    width: min(100%, 24rem);
  }

  .map-embed,
  .map-embed iframe {
    min-height: 22rem;
  }
}
