/* ============================================================
   Alexandra & André — alexandrayandre.com
   Design system: "Oaxaca Editorial"
   Cream paper, deep-green ink, terracotta & ochre accents.
   Fraunces (display serif) + Hanken Grotesk (body sans).
   ============================================================ */

:root {
  /* palette */
  --cream: #f6efe2;
  --sand: #ede1c9;
  --ink: #26321f;
  --ink-soft: #4a5741;
  --terracotta: #bc5031;
  --clay: #9c3f24;
  --ochre: #d3922e;
  --line: rgba(38, 50, 31, 0.18);
  --cream-line: rgba(246, 239, 226, 0.28);

  /* type */
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", sans-serif;

  /* scale */
  --step--1: clamp(0.8rem, 0.78rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.6vw, 2.6rem);
  --step-3: clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  --step-4: clamp(3.2rem, 2rem + 6.5vw, 7rem);

  --pad: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(4.5rem, 10vw, 9rem);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--terracotta);
  color: var(--cream);
}

/* ---------- shared bits ---------- */
.wrap {
  width: min(72rem, 100% - 2 * var(--pad));
  margin-inline: auto;
}

.overline {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.display {
  font-family: var(--serif);
  font-weight: 420;
  font-variation-settings: "opsz" 144;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.display em {
  font-style: italic;
  font-weight: 380;
  color: var(--terracotta);
}

/* zapotec step-fret (greca) divider */
.greca {
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22' viewBox='0 0 48 22'%3E%3Cpath d='M-2 18 H10 V6 H22 V18 H34 V2 H48' fill='none' stroke='%23bc5031' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

.greca--ochre {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22' viewBox='0 0 48 22'%3E%3Cpath d='M-2 18 H10 V6 H22 V18 H34 V2 H48' fill='none' stroke='%23d3922e' stroke-width='2'/%3E%3C/svg%3E");
}

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--d, 0s);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  color: var(--cream);
  transition: background 0.45s ease, color 0.45s ease, padding 0.45s ease,
    box-shadow 0.45s ease;
}

.nav.scrolled,
.nav--solid {
  background: rgba(246, 239, 226, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--line);
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
}

.nav__brand em {
  font-style: italic;
  color: var(--ochre);
  padding-inline: 0.08em;
}

.nav__links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none;
  padding: 0;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.3rem;
  background-image: linear-gradient(var(--terracotta), var(--terracotta));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.35s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  background-size: 100% 2px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.6rem 0.2rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__burger span {
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.menu a {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 420;
  text-decoration: none;
  padding: 0.2rem 1rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--ochre);
  font-style: italic;
}

.menu__date {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ochre);
  opacity: 0;
  transition: opacity 0.5s ease 0.35s;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu {
  opacity: 1;
  visibility: visible;
}

body.menu-open .menu a,
body.menu-open .menu__date {
  opacity: 1;
  transform: none;
}

body.menu-open .menu a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .menu a:nth-child(2) { transition-delay: 0.13s; }
body.menu-open .menu a:nth-child(3) { transition-delay: 0.18s; }
body.menu-open .menu a:nth-child(4) { transition-delay: 0.23s; }
body.menu-open .menu a:nth-child(5) { transition-delay: 0.28s; }
body.menu-open .menu a:nth-child(6) { transition-delay: 0.33s; }
body.menu-open .menu a:nth-child(7) { transition-delay: 0.38s; }

body.menu-open .nav {
  color: var(--cream);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.menu-open .nav__burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .nav__burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav__burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: sepia(0.14) saturate(0.94);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to top,
      rgba(20, 27, 16, 0.82) 0%,
      rgba(20, 27, 16, 0.28) 45%,
      rgba(20, 27, 16, 0.18) 70%,
      rgba(20, 27, 16, 0.42) 100%
    );
}

.hero__content {
  width: min(72rem, 100% - 2 * var(--pad));
  margin-inline: auto;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(3rem, 9vh, 6rem);
}

.hero .overline {
  color: var(--ochre);
  display: block;
  margin-bottom: 1.4rem;
}

.hero__names {
  font-size: var(--step-4);
  max-width: 12ch;
}

.hero__names .amp {
  font-style: italic;
  font-weight: 340;
  color: var(--ochre);
  margin-inline: 0.06em;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 2.2rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* load-in choreography */
.hero [data-hero] {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1.1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.hero [data-hero="2"] { animation-delay: 0.15s; }
.hero [data-hero="3"] { animation-delay: 0.3s; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(3rem, 9vh, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-rl;
  opacity: 0;
  animation: heroIn 1.1s ease 0.9s forwards;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 52px;
  background: var(--cream);
  animation: drip 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.35); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 700px) {
  .hero__scroll {
    display: none;
  }
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
  padding-block: var(--section);
  text-align: center;
}

.countdown .overline {
  display: block;
  margin-bottom: 2.6rem;
}

.countdown__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.2rem, 5vw, 4rem);
}

.countdown__cell {
  min-width: 4.2ch;
}

.countdown__num {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: var(--step-3);
  font-weight: 460;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.countdown__sep {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--terracotta);
}

.countdown .greca {
  margin-top: 3.4rem;
}

/* ============================================================
   WELCOME TO OAXACA
   ============================================================ */
.welcome {
  background: var(--sand);
  padding-block: var(--section);
  position: relative;
  overflow: hidden;
}

/* oversized ghost word in the background */
.welcome::before {
  content: "Oaxaca";
  position: absolute;
  top: -0.12em;
  right: -0.06em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(8rem, 24vw, 20rem);
  line-height: 1;
  color: rgba(188, 80, 49, 0.07);
  pointer-events: none;
}

.welcome__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.welcome__title {
  font-size: var(--step-3);
  position: sticky;
  top: 6.5rem;
}

.welcome__title .overline {
  display: block;
  margin-bottom: 1.2rem;
}

.welcome__body p {
  max-width: 58ch;
}

.welcome__body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3.6em;
  float: left;
  line-height: 0.82;
  padding: 0.06em 0.14em 0 0;
  color: var(--terracotta);
}

.welcome__pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--clay);
  margin-block: 2.4rem;
  max-width: 22ch;
}

.welcome__pull::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--ochre);
  margin-bottom: 1.4rem;
}

@media (max-width: 860px) {
  .welcome__grid {
    grid-template-columns: 1fr;
  }
  .welcome__title {
    position: static;
  }
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule {
  padding-block: var(--section);
}

.schedule__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.schedule__head h2 {
  font-size: var(--step-3);
}

.schedule__head .overline {
  display: block;
  margin-bottom: 1.2rem;
}

.schedule__note {
  max-width: 26ch;
  font-size: var(--step--1);
  color: var(--ink-soft);
  border-left: 2px solid var(--ochre);
  padding-left: 1rem;
}

.event {
  display: grid;
  grid-template-columns: minmax(7.5rem, 2fr) minmax(0, 6fr) minmax(0, 4fr);
  gap: 1.2rem clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.35s ease;
}

.event:last-of-type {
  border-bottom: 1px solid var(--line);
}

.event:hover {
  background: linear-gradient(to right, rgba(211, 146, 46, 0.09), transparent 65%);
}

.event__date {
  font-family: var(--serif);
  line-height: 1;
}

.event__date .day {
  display: block;
  font-size: var(--step-3);
  font-weight: 460;
  color: var(--terracotta);
}

.event__date .month {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.event__name {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 440;
  line-height: 1.06;
}

.event__name em {
  font-style: italic;
  font-weight: 360;
  color: var(--clay);
}

.event__desc {
  margin-top: 0.8rem;
  max-width: 46ch;
  color: var(--ink-soft);
}

.event__meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: var(--step--1);
  padding-top: 0.4rem;
}

.event__meta strong {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.event__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.btn-ghost {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.chip-tbc {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px dashed var(--terracotta);
  border-radius: 999px;
  padding: 0.42rem 1rem;
}

@media (max-width: 860px) {
  .event {
    grid-template-columns: minmax(5.5rem, auto) 1fr;
  }
  .event__meta {
    grid-column: 2;
  }
}

/* ============================================================
   STORY TEASER
   ============================================================ */
.story {
  background: var(--ink);
  color: var(--cream);
  padding-block: var(--section);
  position: relative;
  overflow: hidden;
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.story__imgwrap {
  position: relative;
}

.story__imgwrap::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--ochre);
  z-index: 0;
}

.story__imgwrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story .overline {
  color: var(--ochre);
  display: block;
  margin-bottom: 1.2rem;
}

.story h2 {
  font-size: var(--step-3);
}

.story h2 em {
  color: var(--ochre);
}

.story p {
  margin-top: 1.6rem;
  max-width: 48ch;
  color: rgba(246, 239, 226, 0.78);
}

.story .btn-ghost {
  margin-top: 2.2rem;
  color: var(--cream);
  border-color: var(--cream-line);
}

.story .btn-ghost:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink);
}

@media (max-width: 860px) {
  .story__grid {
    grid-template-columns: 1fr;
  }
  .story__imgwrap {
    max-width: 26rem;
  }
}

/* ============================================================
   PAGE HERO (stub / interior pages)
   ============================================================ */
.page-hero {
  background: var(--sand);
  padding: clamp(9rem, 20vh, 13rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: attr(data-word);
  position: absolute;
  top: 0.4em;
  right: -0.05em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 1;
  color: rgba(188, 80, 49, 0.08);
  pointer-events: none;
  white-space: nowrap;
}

.page-hero .overline {
  display: block;
  margin-bottom: 1.1rem;
}

.page-hero h1 {
  font-size: var(--step-4);
  max-width: 14ch;
}

.page-hero p {
  margin-top: 1.6rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

.coming {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.coming__card {
  border: 1px dashed var(--terracotta);
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 44rem;
  text-align: center;
  margin-inline: auto;
}

.coming__card .greca {
  margin-bottom: 1.8rem;
}

.coming__card h2 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 440;
}

.coming__card h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.coming__card p {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-inline: auto;
}

/* ============================================================
   CONTENT SECTIONS (interior pages)
   ============================================================ */
.list-section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.list-section--alt {
  background: var(--sand);
}

.list-head {
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
  max-width: 46rem;
}

.list-head h2 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 440;
  line-height: 1.05;
}

.list-head h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.list-head .overline {
  display: block;
  margin-bottom: 0.9rem;
}

.list-head p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

/* venue cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.7rem 1.6rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(38, 50, 31, 0.35);
}

.card__idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ochre);
}

.card h3 {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 460;
  line-height: 1.12;
}

.card__vibe {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--clay);
  line-height: 1.4;
}

.card__meta {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.5;
}

.card__meta strong {
  color: var(--ink);
  font-weight: 600;
}

.card__meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 50, 31, 0.25);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.card__meta a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-mini {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-mini:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

/* quick bites strip */
.bites {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px dashed var(--terracotta);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
}

.bites .overline {
  display: block;
  margin-bottom: 1rem;
}

.bites ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
}

.bites li {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--ink);
}

.bites li:not(:last-child)::after {
  content: "·";
  color: var(--ochre);
  margin-left: 1.1rem;
  font-style: normal;
}

.bites p {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* tour feature rows */
.tour {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 1.4rem clamp(1.8rem, 5vw, 4rem);
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.tour:last-of-type {
  border-bottom: 1px solid var(--line);
}

.tour h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 440;
  line-height: 1.08;
}

.tour h3 em {
  font-style: italic;
  color: var(--clay);
}

.tour__desc {
  margin-top: 0.8rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

.tour__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: 1.4rem;
  max-width: 34rem;
}

.tour__lists h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.tour__lists ul {
  list-style: none;
  padding: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tour__lists li::before {
  content: "—";
  color: var(--ochre);
  margin-right: 0.5rem;
}

.tour__facts {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: var(--step--1);
  border-left: 2px solid var(--ochre);
  padding-left: 1.3rem;
  align-self: start;
}

.tour__price {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 460;
  color: var(--terracotta);
  line-height: 1;
}

.tour__price span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tour__facts strong {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 860px) {
  .tour {
    grid-template-columns: 1fr;
  }
  .tour__lists {
    grid-template-columns: 1fr;
  }
}

/* booking / info panel */
.panel {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(2.2rem, 6vw, 3.8rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.panel .overline {
  color: var(--ochre);
  display: block;
  margin-bottom: 1rem;
}

.panel h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 440;
}

.panel h3 em {
  font-style: italic;
  color: var(--ochre);
}

.panel p {
  margin-top: 1rem;
  max-width: 58ch;
  color: rgba(246, 239, 226, 0.8);
}

.panel ol {
  margin: 1.4rem 0 0 1.2rem;
  padding: 0;
  max-width: 52ch;
  color: rgba(246, 239, 226, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.panel ol::marker {
  color: var(--ochre);
}

.panel__note {
  font-size: var(--step--1);
  font-style: italic;
  color: rgba(246, 239, 226, 0.6) !important;
}

.panel .btn-ghost {
  margin-top: 1.8rem;
  color: var(--cream);
  border-color: var(--cream-line);
}

.panel .btn-ghost:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink);
}

/* FAQ accordion */
.qa-list {
  max-width: 48rem;
}

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

.qa:last-of-type {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 0.2rem;
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 450;
  line-height: 1.2;
  transition: color 0.25s ease;
}

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

.qa summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5em;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 0.8;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.qa[open] summary {
  color: var(--clay);
}

.qa[open] summary::after {
  transform: rotate(45deg);
}

.qa__body {
  padding: 0 0.2rem 1.8rem;
  max-width: 56ch;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.qa__body strong {
  color: var(--ink);
  font-weight: 600;
}

.qa__body a {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.qa__body ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* ============================================================
   GALLERY + LIGHTBOX (photos page)
   ============================================================ */
.gallery-section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.gallery {
  columns: 3;
  column-gap: 1.2rem;
}

.gallery a {
  display: block;
  margin-bottom: 1.2rem;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s ease;
}

.gallery a:hover img {
  transform: scale(1.035);
}

.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246, 239, 226, 0.0);
  transition: border-color 0.4s ease;
  pointer-events: none;
}

.gallery a:hover::after {
  border-color: rgba(246, 239, 226, 0.9);
  border-width: 1px;
  inset: 0.7rem;
}

@media (max-width: 900px) {
  .gallery {
    columns: 2;
  }
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 27, 16, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 70rem);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: none;
  border: 1px solid var(--cream-line);
  border-radius: 50%;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.lightbox__btn:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink);
}

.lightbox__close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox__prev {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__count {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(246, 239, 226, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

/* the proposal film */
.film {
  background: var(--ink);
  color: var(--cream);
  padding-block: var(--section);
  text-align: center;
}

.film .overline {
  color: var(--ochre);
  display: block;
  margin-bottom: 1.2rem;
}

.film h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 430;
  line-height: 1;
}

.film h2 em {
  font-style: italic;
  color: var(--ochre);
}

.film p {
  margin: 1.2rem auto 0;
  max-width: 44ch;
  color: rgba(246, 239, 226, 0.75);
}

.film__frame {
  margin: clamp(2.2rem, 5vw, 3.5rem) auto 0;
  max-width: min(24rem, 88vw);
  position: relative;
}

.film__frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--ochre);
}

.film__frame video {
  position: relative;
  width: 100%;
  background: #000;
}

/* ============================================================
   MUSIC TOGGLE
   ============================================================ */
.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.music-btn:hover {
  color: var(--ochre);
}

.music-btn .bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.music-btn .bars i {
  width: 2px;
  height: 4px;
  background: currentColor;
  transform-origin: bottom;
}

.music-btn.playing .bars i {
  animation: eq 1s ease-in-out infinite;
}

.music-btn.playing .bars i:nth-child(2) {
  animation-delay: 0.25s;
}

.music-btn.playing .bars i:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes eq {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .music-btn.playing .bars i {
    animation: none;
    height: 9px;
  }
}

@media (max-width: 480px) {
  .music-btn .music-label {
    display: none;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: var(--section) var(--pad) 2.5rem;
}

.footer__mono {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 420;
  line-height: 1;
}

.footer__mono em {
  font-style: italic;
  color: var(--ochre);
  padding-inline: 0.05em;
}

.footer__date {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(246, 239, 226, 0.65);
}

.footer .greca--ochre {
  margin: 2.6rem auto;
  max-width: 15rem;
  opacity: 0.85;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.8rem;
  list-style: none;
  padding: 0;
}

.footer__links a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--ochre);
}

.footer__fin {
  margin-top: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(246, 239, 226, 0.55);
}
