/* ==========================================================================
   The Five Ways Inn — stylesheet
   Author: built for Jason
   Structure:
     01. Design tokens
     02. Reset & base
     03. Typography & helpers
     04. Layout primitives
     05. Buttons & links
     06. Header / navigation
     07. Hero
     08. Section: Welcome
     09. Section: Food & Drink
     10. Section: What's On
     11. Section: Function Room
     12. Section: Wakes & Memorials
     13. Section: Gallery
     14. Section: Find Us + Enquiry form
     15. Footer
     16. Utilities, motion & print
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS
   Change the brand colours here and the whole site follows.
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — traditional British pub */
  --green-900: #14261d;
  --green-800: #1d3629;
  --green-700: #274734;
  --green-600: #35604a;
  --burgundy:  #7a2e33;
  --burgundy-dark: #5e2226;
  --brass:     #b0863c;
  --brass-deep: #8a6829;   /* accessible on light backgrounds */
  --brass-light: #d9b878;

  /* Neutrals */
  --cream:     #f7f1e3;
  --cream-2:   #efe6d3;
  --parchment: #fbf7ee;
  --ink:       #241f1a;
  --ink-soft:  #4a423a;
  --ink-faint: #7a7065;
  --line:      #ded2ba;
  --white:     #ffffff;

  /* Semantic roles */
  --bg:            var(--parchment);
  --bg-alt:        var(--cream);
  --bg-deep:       var(--green-800);
  --text:          var(--ink);
  --text-muted:    var(--ink-soft);
  --heading:       var(--green-800);
  --accent:        var(--burgundy);
  --rule:          var(--line);

  /* Typography */
  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype",
                  Palatino, Georgia, "Times New Roman", serif;
  --font-body:    "Source Sans 3", "Source Sans Pro", -apple-system,
                  BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h3:   clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h2:   clamp(1.75rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-h1:   clamp(2.5rem, 1.8rem + 3.4vw, 4.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Structure */
  --container: 1180px;
  --container-narrow: 760px;
  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(36, 31, 26, 0.06), 0 2px 8px rgba(36, 31, 26, 0.05);
  --shadow-md: 0 4px 10px rgba(36, 31, 26, 0.08), 0 12px 32px rgba(36, 31, 26, 0.09);
  --shadow-lg: 0 10px 24px rgba(36, 31, 26, 0.10), 0 28px 60px rgba(36, 31, 26, 0.12);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   02. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0; }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.01em; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--burgundy-dark); }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li + li { margin-top: var(--space-2); }

hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-6) 0; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--brass-light); color: var(--green-900); }

/* --------------------------------------------------------------------------
   03. TYPOGRAPHY HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  line-height: 1.6;
}

.section-head { max-width: 62ch; margin-bottom: var(--space-7); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* Small ornamental divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: var(--space-6) 0;
  color: var(--brass);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  width: min(90px, 18vw);
  background: linear-gradient(to right, transparent, currentColor);
}
.divider::after { background: linear-gradient(to left, transparent, currentColor); }

/* --------------------------------------------------------------------------
   04. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.125rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--deep {
  background: var(--bg-deep);
  color: var(--cream);
}
.section--deep h2, .section--deep h3, .section--deep h4 { color: var(--white); }
.section--deep .lead, .section--deep p { color: rgba(247, 241, 227, 0.82); }
.section--deep .eyebrow { color: var(--brass-light); }

.grid { display: grid; gap: var(--space-6); }
@media (min-width: 720px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-first > .split__media { order: -1; }
}

/* --------------------------------------------------------------------------
   05. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: var(--cream);
  --btn-bd: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--burgundy); --btn-bd: var(--burgundy); --btn-fg: #fff; }
.btn--brass  { --btn-bg: var(--brass); --btn-bd: var(--brass); --btn-fg: var(--green-900); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  --btn-bd: currentColor;
}
.btn--ghost:hover { --btn-bg: var(--green-800); --btn-fg: var(--cream); }

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: rgba(247, 241, 227, 0.55);
}
.btn--on-dark:hover { --btn-bg: var(--cream); --btn-fg: var(--green-800); --btn-bd: var(--cream); }

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   06. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--green-800);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--cream); }

/* Top strip — hours / phone */
.topbar {
  background: var(--green-900);
  color: rgba(247, 241, 227, 0.85);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  padding-block: 0.5rem;
  text-align: center;
}
.topbar a { color: var(--brass-light); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.4rem; }
@media (max-width: 620px) { .topbar__item--hours { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

/* Wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--green-800);
  flex: none;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand__tag {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-top: 3px;
}

/* Desktop nav */
.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--green-800);
  text-decoration: none;
  position: relative;
}
@media (min-width: 1320px) { .nav__link { font-size: var(--fs-sm); } }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="true"] { color: var(--burgundy); }

.header-cta { display: none; white-space: nowrap; padding-inline: 1.125rem; font-size: 0.8125rem; }

/* Mobile menu button */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  color: var(--green-800);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--green-800);
  color: var(--cream);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 6vw, 3rem) 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid rgba(247, 241, 227, 0.14); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--cream);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--brass-light); }
.mobile-nav__foot { font-size: var(--fs-sm); color: rgba(247, 241, 227, 0.75); }

/* Desktop switch — placed last so it beats the mobile declarations above */
@media (min-width: 1060px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* --------------------------------------------------------------------------
   07. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: var(--cream);
  background: var(--green-900);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(11, 20, 15, 0.72) 0%, rgba(11, 20, 15, 0.45) 45%, rgba(11, 20, 15, 0.85) 100%);
}
.hero__inner { padding-block: clamp(4rem, 12vw, 7rem); max-width: 46rem; }
.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero h1 .hero__the {
  display: block;
  font-size: 0.32em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-shadow: none;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: rgba(247, 241, 227, 0.9);
  max-width: 40ch;
  margin-bottom: var(--space-6);
}
.hero .btn-row { margin-top: 0; }

/* Quick facts bar under hero */
.quickbar {
  background: var(--green-700);
  color: var(--cream);
  border-top: 3px solid var(--brass);
}
.quickbar__grid {
  display: grid;
  gap: 1px;
  background: rgba(247, 241, 227, 0.16);
}
@media (min-width: 700px) { .quickbar__grid { grid-template-columns: repeat(3, 1fr); } }
.quickbar__item {
  background: var(--green-700);
  padding: 1.375rem clamp(1rem, 3vw, 2rem);
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.quickbar__icon { color: var(--brass-light); flex: none; margin-top: 2px; }
.quickbar__label {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.quickbar__value { font-size: var(--fs-sm); line-height: 1.45; }
.quickbar__value a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(247,241,227,.35); }
.quickbar__value a:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   08. WELCOME
   -------------------------------------------------------------------------- */
.figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.figure img { width: 100%; }
.figure figcaption {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  padding: 0.625rem 0.875rem;
  background: var(--white);
}

/* Framed image with brass offset border */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--brass);
  border-radius: var(--radius-lg);
  z-index: -1;
}
@media (max-width: 640px) { .framed::before { inset: 10px -10px -10px 10px; } }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}
@media (max-width: 420px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}
.stat__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   09. FOOD & DRINK
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--burgundy);
  margin-bottom: var(--space-4);
  border: 1px solid var(--rule);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* Chalkboard-style menu panel */
.menu-board {
  background: var(--green-800);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--brass);
  border-image: linear-gradient(150deg, var(--brass-light), var(--brass), #8a6829) 1;
}
.menu-board h3 { color: var(--white); text-align: center; }
.menu-board .divider { color: var(--brass-light); margin-block: var(--space-4) var(--space-5); }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  margin: 0;
  padding: 0.875rem 0;
  border-bottom: 1px dashed rgba(247, 241, 227, 0.22);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--white);
}
.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(247, 241, 227, 0.4);
  transform: translateY(-4px);
}
.menu-item__price { color: var(--brass-light); font-weight: 700; white-space: nowrap; }
.menu-item__desc {
  font-size: var(--fs-sm);
  color: rgba(247, 241, 227, 0.72);
  margin: 0.25rem 0 0;
}

.note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  background: var(--cream);
  border-left: 3px solid var(--brass);
  padding: var(--space-4);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.section--deep .note,
.menu-board .note {
  background: rgba(247, 241, 227, 0.08);
  color: rgba(247, 241, 227, 0.85);
}

/* --------------------------------------------------------------------------
   10. WHAT'S ON
   -------------------------------------------------------------------------- */
.events { display: grid; gap: var(--space-4); }
.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.event__day {
  text-align: center;
  min-width: 74px;
  padding: 0.625rem 0.75rem;
  background: var(--green-800);
  color: var(--cream);
  border-radius: var(--radius);
}
.event__day-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.event__day-time {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-top: 0.2rem;
}
.event__body h3 { margin-bottom: 0.25rem; font-size: 1.1875rem; }
.event__body p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 480px) {
  .event { grid-template-columns: 1fr; gap: var(--space-3); }
  .event__day { justify-self: start; }
}

/* --------------------------------------------------------------------------
   11. FUNCTION ROOM
   -------------------------------------------------------------------------- */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin: 0 0 0.75rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 11px;
  height: 11px;
  border: 2px solid var(--brass);
  border-radius: 50%;
}
.section--deep .feature-list li::before { border-color: var(--brass-light); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  margin-top: var(--space-5);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(247, 241, 227, 0.18);
  vertical-align: top;
}
.spec-table th { font-weight: 600; color: var(--brass-light); width: 45%; }
.spec-table caption {
  text-align: left;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  padding-bottom: var(--space-3);
  font-weight: 600;
}

.package-grid { display: grid; gap: var(--space-5); }
@media (min-width: 820px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }
.package {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
/* A light card sitting inside a dark section must opt out of the dark
   section's inherited colours, or its text disappears. */
.section--deep .package,
.section--deep .card,
.section--deep .wake__panel { color: var(--text); }
.section--deep .package h2, .section--deep .package h3, .section--deep .package h4,
.section--deep .card h2,    .section--deep .card h3,    .section--deep .card h4 { color: var(--heading); }
.section--deep .package p,  .section--deep .card p,
.section--deep .package li, .section--deep .card li { color: var(--text-muted); }
.section--deep .package .eyebrow, .section--deep .card .eyebrow { color: var(--brass-deep); }
.section--deep .package .package__price { color: var(--burgundy); }
.section--deep .package .feature-list li::before { border-color: var(--brass); }

.package--featured {
  border-color: var(--brass);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.package__flag {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brass);
  color: var(--green-900);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}
.package__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--burgundy);
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
}
.package__price small { font-family: var(--font-body); font-size: 0.8125rem; color: var(--ink-faint); font-weight: 600; }
.package ul { margin: var(--space-4) 0 var(--space-5); flex: 1; }
.package .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   12. WAKES & MEMORIALS  (deliberately quieter, calmer treatment)
   -------------------------------------------------------------------------- */
.wake {
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.wake .eyebrow { color: var(--green-600); }
.wake h2 { color: var(--green-800); }
.wake__panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.wake__quiet {
  font-size: var(--fs-lead);
  font-family: var(--font-display);
  color: var(--green-700);
  line-height: 1.5;
  font-style: italic;
}
.steps { list-style: none; counter-reset: step; margin: var(--space-5) 0 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: var(--space-5);
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.steps h4 { margin-bottom: 0.25rem; color: var(--green-800); }
.steps p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   13. GALLERY
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 19vw, 240px); gap: var(--space-4); }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 2; }
}
.gallery__item {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery__item--wide { aspect-ratio: 1 / 1; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 0.875rem 0.75rem;
  font-size: var(--fs-xs);
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(11, 20, 15, 0.85), transparent);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(11, 20, 15, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 82vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lightbox__cap { color: rgba(247,241,227,.85); font-size: var(--fs-sm); margin-top: 0.75rem; text-align: center; }
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1.5px solid rgba(247, 241, 227, 0.5);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(247, 241, 227, 0.12); }

/* --------------------------------------------------------------------------
   14. FIND US + FORM
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.info-block + .info-block { margin-top: var(--space-6); }
.info-block h3 { font-size: 1.125rem; margin-bottom: var(--space-3); }
.info-block address { font-style: normal; line-height: 1.7; }

.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--rule); text-align: left; }
.hours th { font-weight: 600; color: var(--text); }
.hours td { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--burgundy); font-weight: 700; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  background: var(--cream-2);
  aspect-ratio: 16 / 10;
}
.map-embed iframe, .map-embed img { width: 100%; height: 100%; border: 0; object-fit: cover; }

/* Form */
.form-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--green-800);
}
.field .req { color: var(--burgundy); }
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: var(--fs-xs); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--parchment);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
  min-height: 48px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a7065' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(53, 96, 74, 0.15);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--burgundy); }

.field-row { display: grid; gap: var(--space-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 3px; accent-color: var(--green-700); }

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f0e9; border-left: 3px solid var(--green-600); color: var(--green-800); }
.form-status--err { background: #f6e7e7; border-left: 3px solid var(--burgundy); color: var(--burgundy-dark); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--green-900);
  color: rgba(247, 241, 227, 0.78);
  font-size: var(--fs-sm);
  padding-block: var(--space-8) var(--space-5);
}
.site-footer h4 {
  color: var(--brass-light);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer a { color: rgba(247, 241, 227, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-6); }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.5rem; }
.site-footer .brand { color: var(--cream); margin-bottom: var(--space-4); }
.site-footer .brand__name { color: var(--white); }

.socials { display: flex; gap: 0.625rem; margin-top: var(--space-4); }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 241, 227, 0.28);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--green-900); }

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(247, 241, 227, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(247, 241, 227, 0.6);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-bottom li { margin: 0; }

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 -4px 18px rgba(36, 31, 26, 0.18);
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 0.5rem;
  background: var(--green-800);
  color: var(--cream);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.callbar a + a { background: var(--burgundy); color: #fff; }
@media (min-width: 1060px) { .callbar { display: none; } }
@media (max-width: 1059px) { body { padding-bottom: 56px; } }

/* --------------------------------------------------------------------------
   16. UTILITIES, MOTION & PRINT
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.text-center { text-align: center; }

/* Placeholder markers.
   Invisible by default. Press Ctrl/Cmd + Shift + P on the live page to light
   up everything still carrying sample content. Delete this block, and the
   class="ph" attributes, once the real content is in. */
.ph { }
body.show-placeholders .ph {
  background: #ffe9a8;
  outline: 1px dashed #b0863c;
  outline-offset: 1px;
  color: #3a2c0c !important;
  border-radius: 2px;
}
body.show-placeholders .ph * { color: inherit !important; }
body.show-placeholders::after {
  content: "PLACEHOLDER VIEW — everything highlighted still needs real content. Ctrl/Cmd+Shift+P to hide.";
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 999;
  background: #7a2e33;
  color: #fff;
  font: 600 12px/1.4 var(--font-body);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 12px;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .mobile-nav, .callbar, .hero__media, .lightbox, .gallery, .socials { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
