/* Heartfelt Living — site styles (one file, loaded by every page)

   Contents (search for the heading text):
     Tokens        colours, fonts and sizes as CSS variables, just below; change the brand here
     Base          page defaults, typography, links, text selection
     Header        logo, desktop menu with dropdowns, Get in touch button, phone menu
     Hero          full-width photo with the page title
     Two-column / Offerings / Buttons / Long text / Gallery / Testimonials
     Contact       the contact section and form at the bottom of most pages
     Footer
     Events page   schedule, poster grid, poster pop-up
     Animations    curtain and the hidden states GSAP reveals (js/anim.js)
   Reduced-motion rules sit at the end of the sections they affect. */
:root {
  --bg: #f8f8f8;
  --paper: #ffffff;
  --ink: #3f3935;
  --ink-soft: #6b625c;
  --accent: #7a0a12;       /* the logo's crimson */
  --accent-dark: #5a0710;
  --gold: #c9a24a;
  --sand: #efe7dc;
  --line: #e4ddd4;
  --rule: rgba(201, 162, 74, .65); /* thin gold rules, as on the printed posters */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --script: "Allura", "Cormorant Garamond", cursive;
  --max: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
html { accent-color: var(--accent); caret-color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 4px;
  text-decoration: none; font-size: 14px;
}
.skip-link:focus { top: 12px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4rem); color: var(--accent); }
h2 { font-size: clamp(2rem, 4.2vw, 2.8rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h1, h2, h3 { text-wrap: balance; }
.lead, .prose p { text-wrap: pretty; } /* no single orphan word on the last line */
.accent { color: var(--accent); }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.05rem; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 248, 248, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { width: min(100% - 40px, 1400px); } /* room for nav + button */
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  margin-right: auto; /* pushes nav, button and menu icon to the right */
  flex-shrink: 0;     /* never squeeze the logo into the nav */
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent);
}
.brand img { width: auto; height: 48px; object-fit: contain; flex-shrink: 0; }
.brand span {
  font-family: var(--script); font-size: 2.1rem; line-height: 1; white-space: nowrap;
  padding-top: 6px; /* optical centring: the script sits high */
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand img { height: 40px; }
  .brand span { font-size: 1.75rem; }
}

/* Get in touch button: header on wider screens, inside the menu on phones */
.header-cta { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 599px) { .header-inner .header-cta { display: none; } } /* beats .btn's display */
.mobile-menu .menu-cta {
  display: flex; margin-top: 28px; padding: 15px 24px;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; color: #fff;
}
.mobile-menu .menu-cta:hover { color: #fff; }

/* Desktop nav: five top items, two of them open a dropdown */
.nav-desktop { display: none; margin-right: 8px; }
.nav-desktop > ul { list-style: none; display: flex; align-items: center; gap: clamp(22px, 2.4vw, 34px); margin: 0; padding: 0; }
.nav-desktop > ul > li { position: relative; }
.nav-desktop > ul > li > a, .nav-desktop .sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink); text-decoration: none; padding: 12px 0;
  background: none; border: 0; cursor: pointer;
}
/* underline that draws in from the left */
.nav-desktop > ul > li > a::after, .nav-desktop .sub-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.nav-desktop .sub-toggle::after { right: 17px; } /* stop before the arrow */
.nav-desktop > ul > li > a:hover, .nav-desktop .sub-toggle:hover,
.nav-desktop > ul > li > a[aria-current="page"], .nav-desktop .is-here > .sub-toggle,
.nav-desktop .sub-toggle[aria-expanded="true"] { color: var(--accent); }
.nav-desktop > ul > li > a:hover::after, .nav-desktop .sub-toggle:hover::after,
.nav-desktop > ul > li > a[aria-current="page"]::after, .nav-desktop .is-here > .sub-toggle::after,
.nav-desktop .sub-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.chev { flex-shrink: 0; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Dropdown panel */
.nav-desktop .sub {
  position: absolute; top: 100%; left: -22px; padding-top: 10px; /* gap the pointer can cross */
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-desktop .is-open > .sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .28s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1);
}
.nav-desktop .sub ul {
  list-style: none; margin: 0; padding: 8px; min-width: 250px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 2px 6px rgba(63, 57, 53, .05), 0 22px 44px -22px rgba(63, 57, 53, .35);
}
.nav-desktop .sub li { opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .25s ease; }
.nav-desktop .is-open > .sub li { opacity: 1; transform: none; }
.nav-desktop .is-open > .sub li:nth-child(2) { transition-delay: .04s; }
.nav-desktop .is-open > .sub li:nth-child(3) { transition-delay: .08s; }
.nav-desktop .sub a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: 9px; white-space: nowrap;
  font-size: .9rem; color: var(--ink); text-decoration: none;
  transition: background-color .2s, color .2s;
}
/* small arrow that slides in on hover */
.nav-desktop .sub a::after {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s cubic-bezier(.22, 1, .36, 1);
}
.nav-desktop .sub a:hover, .nav-desktop .sub a:focus-visible { background: var(--sand); color: var(--accent); }
.nav-desktop .sub a:hover::after, .nav-desktop .sub a:focus-visible::after { opacity: 1; transform: none; }
.nav-desktop .sub a[aria-current="page"] { color: var(--accent); font-weight: 500; }

/* Hamburger button */
.menu-toggle {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink);
  position: relative; z-index: 120;
}
.menu-toggle:hover { color: var(--accent); }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; display: block; width: 26px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .3s ease, opacity .2s ease, background-color .2s;
  position: relative;
}
.menu-toggle .bars::before { position: absolute; top: -8px; }
.menu-toggle .bars::after { position: absolute; top: 8px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu panel: solid, full screen, above everything */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 16px) 32px 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.menu-open .mobile-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a {
  display: block; padding: 14px 0; text-decoration: none;
  font-family: var(--serif); font-size: 1.65rem; font-weight: 400; color: var(--ink);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--accent); }
/* Groups open like an accordion */
.mobile-menu .sub-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.65rem; font-weight: 400; color: var(--ink);
}
.mobile-menu .sub-toggle .chev { width: 16px; height: 16px; color: var(--ink-soft); }
.mobile-menu .sub-toggle:hover, .mobile-menu .is-here > .sub-toggle { color: var(--accent); }
.mobile-menu .sub {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s;
}
.mobile-menu .is-open > .sub { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1); }
.mobile-menu .sub ul { overflow: hidden; min-height: 0; }
.mobile-menu .sub li { border: 0; }
.mobile-menu .sub li:last-child { padding-bottom: 12px; }
.mobile-menu .sub a {
  padding: 9px 0 9px 18px; font-family: var(--sans); font-size: 1rem; color: var(--ink-soft);
  border-left: 1px solid var(--line);
}
.mobile-menu .sub a:hover, .mobile-menu .sub a[aria-current="page"] { color: var(--accent); border-left-color: var(--accent); }
.mobile-menu .menu-lotus { width: 57px; height: auto; margin: 36px auto 0; opacity: .85; }
.mobile-menu .menu-contact { margin-top: auto; padding-top: 28px; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.mobile-menu .menu-contact a { display: inline; font-family: var(--sans); font-size: .9rem; color: var(--accent); padding: 0; }
body.menu-open { overflow: hidden; }
/* keep header (with close button) above the panel */
.menu-open .site-header { background: var(--paper); border-bottom-color: var(--line); z-index: 130; }

@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(30,20,15,.55) 100%);
}
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vw, 90px); }
.hero h1, .hero h2 { color: #fff; }
.hero .script {
  font-family: var(--script); font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: 1.05;
  color: #fff; margin: 0; font-weight: 400; text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero--short { min-height: min(62vh, 560px); }
.hero__sub { /* informative line under a page title */
  margin: .5em 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}

/* ---------- Two-column ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.3fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.photo { border-radius: 18px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 3 / 2; }
.sticky-photo { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Offerings ---------- */
.offerings { display: grid; gap: 28px; }
@media (min-width: 700px) { .offerings { grid-template-columns: 1fr 1fr; } }
.offerings { row-gap: clamp(40px, 5vw, 56px); column-gap: clamp(24px, 4vw, 48px); }
.offer { display: flex; flex-direction: column; }
.offer img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 14px; }
.offer__body { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; }
.offer h3 { color: var(--accent); margin-bottom: .4em; }
.offer p { font-size: .95rem; max-width: 52ch; }
.offer .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: .92rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--secondary { background: var(--paper); border-color: #d9cfc4; color: var(--ink); }
.btn--secondary:hover { background: var(--paper); border-color: var(--accent); color: var(--accent); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { /* secondary action: words plus a small arrow, same as "View the printed schedule" */
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 500; color: var(--accent); text-decoration: none;
}
.text-link::after {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.text-link:hover { color: var(--accent-dark); }
.text-link:hover::after { transform: translateX(3px); }
.btn--small { padding: 10px 18px; font-size: .85rem; }

/* ---------- Long text ---------- */
.prose p { max-width: 68ch; }
.prose .pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35;
  color: var(--accent); margin: 1.8em 0 1.6em;
}
.prose .pull::before { content: ""; display: block; width: 48px; height: 1px; background: var(--rule); margin-bottom: .8em; }
.prose .poem { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; color: var(--accent); }
.signoff { font-family: var(--script); font-size: 2.4rem; color: var(--accent); }
.questions { list-style: none; padding: 0; margin: 1.4em 0; }
.questions li {
  font-family: var(--serif); font-size: 1.35rem; padding: 8px 0 8px 22px; position: relative;
}
.questions li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--accent); }

.details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 1px 2px rgba(63, 57, 53, .04), 0 18px 40px -28px rgba(63, 57, 53, .35);
}
.price { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 0 clamp(32px, 5vw, 64px); margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding: 28px 0 36px; border-top: 1px solid var(--rule); }
.quote blockquote { margin: 0 0 18px; font-size: .95rem; }
.quote blockquote p { margin: 0; text-wrap: pretty; }
.quote figcaption { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent); }

/* ---------- Contact ---------- */
.contact {
  scroll-margin-top: var(--header-h); /* keep the form clear of the sticky header */
  position: relative; padding: clamp(56px, 9vw, 110px) 0; overflow: hidden;
}
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(248, 248, 248, .55); }
.contact .container { position: relative; z-index: 1; }
.contact-card {
  background: rgba(255, 255, 255, .96); border-radius: 20px;
  padding: clamp(28px, 5vw, 52px); max-width: 620px; margin-inline: auto;
}
.contact-card h2 { color: var(--accent); }
.lotus-ornament { width: 57px; height: auto; margin: 0 0 14px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .8rem; letter-spacing: .06em; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #cfc6bc; border-radius: 10px; padding: 12px 14px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122, 10, 18, .15); }
.form-field [aria-invalid="true"] { border-color: #b3261e; }
.form-error { color: #b3261e; font-size: .82rem; margin: 6px 0 0; }
.form-help { color: var(--ink-soft); font-size: .8rem; margin: 6px 0 0; }
.form-status { margin: 0 0 14px; }
/* Spam trap field: off screen, never shown to people */
.form-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-thanks { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.form-fallback { font-size: .85rem; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9e1d8; padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .92rem; }
.site-footer a { color: #e9e1d8; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #f1d7a4; }
.site-footer a:focus-visible { outline: 2px solid #f1d7a4; outline-offset: 3px; border-radius: 2px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.25fr 1.3fr 1fr; column-gap: clamp(40px, 5vw, 72px); }
  .footer-brand { grid-column: auto; }
}
.footer-logo { display: inline-block; }
.footer-logo img { width: 170px; height: auto; }
.footer-brand p { max-width: 38ch; margin: 18px 0 0; line-height: 1.7; color: rgba(233, 225, 216, .72); }
.footer-heading {
  margin: 0 0 14px; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: #fff;
}
.footer-nav { /* two columns sized to their longest link, filled top to bottom */
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, auto); grid-template-rows: repeat(5, auto); grid-auto-flow: column;
  justify-content: start; column-gap: clamp(28px, 5vw, 56px);
}
.footer-nav a { display: inline-block; padding: 7px 0; line-height: 1.35; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; overflow-wrap: anywhere; }
.footer-contact svg { flex: none; color: #f1d7a4; }
@media (max-width: 639px) { .footer-nav a, .footer-contact a { padding: 10px 0; } } /* easier to tap */
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  font-size: .8rem; color: rgba(233, 225, 216, .6);
}
.footer-bottom p { margin: 0; }
.site-footer .footer-top { display: inline-flex; align-items: center; gap: 6px; color: rgba(233, 225, 216, .75); }
.footer-top svg { width: 15px; height: 15px; }

/* ---------- Events page ---------- */
/* Borrowed from the printed posters: cream paper, crimson serif, thin gold rules, a sand sign-up band */
.page-head { padding: clamp(36px, 5vw, 64px) 0 0; }
.page-head__inner { padding-bottom: clamp(24px, 3.5vw, 36px); border-bottom: 1px solid var(--rule); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { max-width: 60ch; color: var(--ink-soft); margin: 0; }
.schedule-section { padding-top: clamp(36px, 5vw, 60px); }

.schedule-layout { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) {
  .schedule-layout { grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); }
  .schedule-layout .book-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.schedule h2, .posters-head { color: var(--accent); margin-bottom: .5em; }
.schedule-also { font-size: clamp(1.4rem, 2.6vw, 1.75rem); color: var(--accent); margin: 2.2em 0 .5em; }
.schedule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.slot {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  column-gap: 20px; row-gap: 2px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.slot--noday { grid-template-columns: minmax(0, 1fr) auto; }
.slot__day, .slot__time { font-size: .9rem; font-weight: 500; color: var(--accent); }
.slot__time { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.slot__what { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; color: var(--ink); }
.slot__link {
  color: inherit; text-decoration: underline; text-decoration-color: var(--rule);
  text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.slot__link:hover, .slot__link:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.slot__sub { display: block; font-family: var(--sans); font-size: .8rem; line-height: 1.5; color: var(--ink-soft); margin-top: 3px; }
.slot__extra { grid-column: 2 / -1; }
.slot--noday .slot__extra { grid-column: 1 / -1; }
.slot__note { margin: 6px 0 0; font-size: .85rem; color: var(--ink-soft); }
.slot__note strong { color: var(--accent); font-weight: 500; }
@media (max-width: 599px) {
  .slot { grid-template-columns: minmax(0, 1fr) auto; }
  .slot__day { grid-row: 1; grid-column: 1; }
  .slot__time { grid-row: 1; grid-column: 2; }
  .slot__what { grid-column: 1 / -1; margin-top: 2px; }
  .slot--noday .slot__what { grid-column: 1; grid-row: 1; margin-top: 0; }
  .slot__extra { grid-column: 1 / -1; }
}

/* Booking card */
.book-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(26px, 4vw, 36px);
  box-shadow: 0 1px 2px rgba(63, 57, 53, .04), 0 20px 44px -30px rgba(63, 57, 53, .4);
}
.book-card .lotus-ornament { width: 44px; margin-bottom: 16px; }
.book-card h2 { color: var(--accent); font-size: clamp(1.8rem, 3vw, 2.1rem); margin-bottom: .3em; }
.book-card > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }
.book-card .btn { display: flex; width: 100%; margin-bottom: 10px; padding: 14px 24px; border-radius: 999px; }
.book-card .btn--ghost { background: transparent; color: var(--accent); border-color: rgba(122, 10, 18, .35); }
.book-card .btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.book-card .book-card__contact { /* last item in the card: no extra space below */
  margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .88rem; line-height: 1.8; color: var(--ink-soft);
}
.book-card__contact a { color: var(--ink); text-decoration: none; font-weight: 500; }
.book-card__contact a:hover { color: var(--accent); }

/* Posters shown as framed prints; every frame the same size so rows line up */
.posters-head { margin-bottom: 0; }
.poster-grid {
  list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 48px) clamp(18px, 2.5vw, 28px);
}
@media (min-width: 560px) { .poster-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }
.poster { display: block; color: inherit; text-decoration: none; }
.poster:hover { color: inherit; }
.poster:focus-visible { outline: none; }
.poster:focus-visible .poster__mat { outline: 2px solid var(--accent); outline-offset: 4px; }
.poster__mat {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; padding: clamp(16px, 2.4vw, 26px);
  background: var(--sand); border-radius: 12px;
}
.poster__mat img { /* whole poster, never cropped */
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  box-shadow: 0 1px 3px rgba(63, 57, 53, .14), 0 12px 24px -14px rgba(63, 57, 53, .4);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .6s cubic-bezier(.16, 1, .3, 1);
}
.poster:hover .poster__mat img, .poster:focus-visible .poster__mat img {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(63, 57, 53, .12), 0 22px 36px -16px rgba(63, 57, 53, .45);
}
.poster__title {
  display: block; margin-top: 16px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2;
  color: var(--ink); transition: color .2s ease;
}
.poster:hover .poster__title, .poster:focus-visible .poster__title { color: var(--accent); }
.poster__when { display: block; margin-top: 4px; font-size: .85rem; color: var(--ink-soft); }

/* Poster pop-up */
html.lightbox-open { overflow: hidden; }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(34, 26, 22, .95); color: #fff; overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(34, 26, 22, .6); }
.lightbox__inner { position: relative; height: 100%; padding: 68px 84px 22px; }
.lightbox__figure { margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
.lightbox__frame { min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); background: #f8f5f0;
  transition: opacity .2s ease;
}
.lightbox__frame.is-loading .lightbox__img { opacity: .35; }
.lightbox__caption { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lightbox__title { margin: 0; color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.lightbox__when { font-size: .88rem; opacity: .85; }
.lightbox__meta { font-size: .78rem; opacity: .75; margin-top: 4px; }
.lightbox__meta a { color: #f1d7a4; }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
  transition: background-color .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn:focus-visible { outline: 2px solid #f1d7a4; outline-offset: 3px; }
.lightbox__close { top: 12px; right: 16px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; } /* poster opened on its own */
@media (max-width: 699px) {
  .lightbox__inner { padding: 64px 12px 16px; }
  .lightbox__caption { padding: 0 60px; } /* room for the arrows beside it */
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .poster__mat img, .poster__title, .slot__link, .lightbox__img { transition: none; }
  .poster:hover .poster__mat img, .poster:focus-visible .poster__mat img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-menu, .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { transition: none; }
  .nav-desktop .sub, .nav-desktop .sub li, .nav-desktop .sub a::after, .chev, .mobile-menu .sub,
  .nav-desktop > ul > li > a::after, .nav-desktop .sub-toggle::after { transition: none !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Animations (GSAP, js/anim.js) ---------- */
/* Page transition curtain: covers the page on arrival, wipes away, and rises again when leaving */
.curtain {
  position: fixed; inset: 0; z-index: 300; display: none;
  place-items: center; background: var(--paper); pointer-events: none;
}
.curtain img { width: 69px; height: auto; }
.anim .curtain { display: grid; }
/* Hidden until GSAP reveals them (only while the "anim" class is on) */
.anim .hero h1, .anim .page-head h1, .anim .hero__sub, .anim .page-head .lead { visibility: hidden; }
/* Line masks for headings: a little room so script swashes and descenders are not clipped */
.split-line-mask { padding: .08em .12em .14em; margin: -.08em -.12em -.14em; }
.split-word { will-change: transform, opacity, filter; }
