:root {
  --ink: #17201d;
  --muted: #68736e;
  --paper: #f4efe6;
  --paper-deep: #e9e0d2;
  --ivory: #fffdf8;
  --teal: #123f3a;
  --teal-2: #1d5851;
  --teal-3: #dce9e5;
  --brick: #a3452f;
  --brick-dark: #7c2f20;
  --gold: #c4a35a;
  --sage: #71816e;
  --line: rgba(23, 32, 29, 0.14);
  --shadow-sm: 0 10px 30px rgba(21, 31, 28, 0.09);
  --shadow-lg: 0 28px 80px rgba(21, 31, 28, 0.18);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1240px;
  --header-height: 96px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(196, 163, 90, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--ivory), var(--paper));
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.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;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 999;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.announcement {
  position: relative;
  z-index: 80;
  background: var(--ink);
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
  letter-spacing: .03em;
}
.announcement__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.announcement a {
  color: white;
  font-weight: 700;
}
.announcement a:hover { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: var(--header-height);
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease, min-height .25s ease;
}
.site-header.is-scrolled {
  min-height: 78px;
  border-color: var(--line);
  box-shadow: 0 12px 35px rgba(23, 32, 29, .08);
}
.header__inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .9rem;
}
.brand__mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: multiply;
  transition: width .25s ease, height .25s ease;
}
.site-header.is-scrolled .brand__mark { width: 54px; height: 54px; }
.brand__wordmark { display: grid; line-height: 1.06; }
.brand__wordmark strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.brand__wordmark small {
  margin-top: .38rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: .12rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a,
.primary-nav > ul > li > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 46px;
  padding: .65rem .68rem;
  border: 0;
  background: none;
  color: #26312d;
  cursor: pointer;
  font-size: .87rem;
  font-weight: 700;
}
.primary-nav > ul > li > a::after,
.primary-nav > ul > li > button::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .45rem;
  height: 1px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li > button:hover::after,
.primary-nav > ul > li > a.is-active::after,
.primary-nav > ul > li > button.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.submenu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  width: 220px;
  padding: .55rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: var(--teal);
  color: white;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 9px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background: var(--teal);
  transform: rotate(45deg);
}
.submenu a {
  position: relative;
  z-index: 1;
  display: block;
  padding: .78rem .85rem;
  border-radius: 9px;
  color: rgba(255, 255, 255, .86);
  font-size: .88rem;
  font-weight: 650;
}
.submenu a:hover,
.submenu a.is-active { background: rgba(255, 255, 255, .1); color: white; }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-actions { display: flex; gap: .55rem; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-5.5px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .72rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .015em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--primary { background: var(--brick); color: white; box-shadow: 0 9px 22px rgba(163, 69, 47, .23); }
.button--primary:hover { background: var(--brick-dark); box-shadow: 0 13px 28px rgba(163, 69, 47, .28); }
.button--secondary { background: var(--teal); color: white; box-shadow: 0 9px 22px rgba(18, 63, 58, .22); }
.button--secondary:hover { background: var(--teal-2); }
.button--ghost { border-color: var(--line); background: rgba(255, 255, 255, .58); color: var(--ink); }
.button--ghost:hover { border-color: var(--ink); background: white; }
.button--light { background: white; color: var(--teal); }
.button--light:hover { background: var(--paper); }
.button--outline-light { border-color: rgba(255,255,255,.45); color: white; background: transparent; }
.button--outline-light:hover { background: rgba(255,255,255,.1); border-color: white; }
.button--small { min-height: 40px; padding: .55rem .92rem; font-size: .8rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--teal);
  font-weight: 800;
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

#app { min-height: 60vh; }
.page { animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero--home {
  min-height: min(780px, calc(100vh - 134px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  background: var(--teal);
  color: white;
}
.hero--home::before {
  content: "1656";
  position: absolute;
  left: -2vw;
  bottom: -11vw;
  z-index: -1;
  color: rgba(255,255,255,.035);
  font-family: var(--serif);
  font-size: clamp(16rem, 34vw, 38rem);
  line-height: .8;
  letter-spacing: -.06em;
}
.hero__content {
  align-self: center;
  width: min(100%, 760px);
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1rem, 7vw, 7.5rem);
}
.hero__eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  color: var(--brick);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero--home .hero__eyebrow { color: #f1cf88; }
.hero__eyebrow::before,
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .93;
}
.hero h1 { max-width: 850px; font-size: clamp(4rem, 7.5vw, 7.8rem); }
.hero__lead {
  max-width: 650px;
  margin: 1.7rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 680px;
  margin-top: 3.3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__meta strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.hero__meta span { display: block; margin-top: .2rem; color: rgba(255,255,255,.58); font-size: .77rem; }
.hero__media { position: relative; min-height: 620px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,63,58,.25), transparent 45%), linear-gradient(0deg, rgba(18,63,58,.25), transparent 30%);
}
.hero__seal {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  width: 144px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(18,63,58,.48);
  backdrop-filter: blur(11px);
  color: white;
  text-align: center;
  font-family: var(--serif);
  font-size: .9rem;
  line-height: 1.25;
  transform: rotate(5deg);
}
.hero__seal::before { content: "✦"; display: block; color: var(--gold); font-size: 1rem; }

.page-hero {
  min-height: 500px;
  display: grid;
  align-items: end;
  color: white;
  background: var(--teal);
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9,35,32,.93) 0%, rgba(9,35,32,.71) 45%, rgba(9,35,32,.22) 100%), linear-gradient(0deg, rgba(9,35,32,.65), transparent 60%);
}
.page-hero__content { width: min(100%, 850px); padding-block: 6rem 4.5rem; }
.page-hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
.page-hero p { max-width: 640px; margin: 1.4rem 0 0; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.page-hero .hero__actions { margin-top: 1.8rem; }

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--tight { padding: 4rem 0; }
.section--paper { background: var(--paper); }
.section--ivory { background: var(--ivory); }
.section--teal { background: var(--teal); color: white; }
.section--ink { background: var(--ink); color: white; }
.section--brick { background: var(--brick); color: white; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.6rem;
}
.section-heading--center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center .eyebrow::before { display: none; }
.section-heading h2,
.split__copy h2,
.feature-panel h2,
.cta-band h2,
.modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
}
.section-heading p { margin: 0; color: var(--muted); }
.section--teal .section-heading p,
.section--ink .section-heading p { color: rgba(255,255,255,.67); }

.quick-links {
  position: relative;
  z-index: 5;
  margin-top: -2rem;
}
.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quick-link {
  position: relative;
  min-height: 185px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ivory);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.quick-link:last-child { border-right: 0; }
.quick-link::before {
  content: attr(data-number);
  position: absolute;
  top: -.4rem;
  right: .8rem;
  color: rgba(18,63,58,.075);
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
}
.quick-link span { color: var(--brick); font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.quick-link strong { margin-top: .5rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.quick-link i { margin-top: .7rem; font-style: normal; color: var(--muted); font-size: .87rem; }
.quick-link:hover { background: var(--teal); color: white; }
.quick-link:hover span { color: var(--gold); }
.quick-link:hover i { color: rgba(255,255,255,.68); }
.quick-link:hover::before { color: rgba(255,255,255,.05); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  min-height: 520px;
  max-height: 700px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 54%;
  height: 54%;
  right: -1.2rem;
  bottom: -1.2rem;
  border-radius: 34px;
  background: var(--gold);
  opacity: .35;
}
.split--reverse .split__media::before { left: -1.2rem; right: auto; }
.split__copy { max-width: 620px; }
.split__copy > p { color: var(--muted); }
.split__copy .lead { color: var(--ink); font-family: var(--serif); font-size: 1.32rem; line-height: 1.5; }
.split__copy .button { margin-top: .9rem; }
.section--teal .split__copy > p,
.section--teal .split__copy .lead { color: rgba(255,255,255,.72); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat { min-height: 170px; padding: 2rem; background: var(--ivory); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1; color: var(--teal); }
.stat span { display: block; margin-top: .65rem; color: var(--muted); font-size: .85rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 1.55rem; }
.card__kicker { color: var(--brick); font-size: .7rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.card h3 { margin: .55rem 0 .65rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; line-height: 1.15; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
.card .text-link { margin-top: 1.1rem; }
.card--dark { background: var(--teal); color: white; border-color: transparent; }
.card--dark p { color: rgba(255,255,255,.68); }
.card--dark .text-link { color: var(--gold); }
.card--overlay { min-height: 480px; display: flex; align-items: flex-end; color: white; border: 0; }
.card--overlay .card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.card--overlay .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,32,29,.92), transparent 68%); }
.card--overlay .card__body { position: relative; z-index: 1; }
.card--overlay p { color: rgba(255,255,255,.72); }

.feature-panel {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: var(--shadow-lg);
}
.feature-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,28,.92), rgba(8,31,28,.45) 62%, transparent); }
.feature-panel__content { position: relative; z-index: 1; width: min(690px, 90%); padding: clamp(2rem, 5vw, 4.5rem); }
.feature-panel__content p { color: rgba(255,255,255,.72); }

.event-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.35rem; }
.event-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.3rem;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
}
.event-card:first-child { border-top: 0; }
.event-date {
  width: 80px;
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 14px;
  background: var(--paper);
  color: var(--teal);
  line-height: 1;
}
.event-date strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; }
.event-date span { margin-top: .3rem; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.event-card h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.event-card p { margin: .25rem 0 0; color: var(--muted); font-size: .85rem; }
.event-card .button { white-space: nowrap; }
.event-feature {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  color: white;
  background: var(--teal);
}
.event-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,32,29,.94), rgba(9,32,29,.05)); }
.event-feature__copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 2rem; }
.event-feature__copy h3 { margin: .45rem 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 500; }
.event-feature__copy p { color: rgba(255,255,255,.72); }

.quote {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}
.quote::before { content: "“"; display: block; height: 3rem; color: var(--gold); font-family: var(--serif); font-size: 7rem; line-height: .7; }
.quote blockquote { margin: 1rem 0; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 4.4rem); line-height: 1.08; letter-spacing: -.035em; }
.quote cite { color: var(--muted); font-style: normal; font-size: .85rem; font-weight: 700; }
.section--teal .quote cite { color: rgba(255,255,255,.55); }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 6rem);
  border-radius: var(--radius-lg);
  background: var(--teal);
  color: white;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  right: -80px;
  top: -125px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255,255,255,.035), 0 0 0 116px rgba(255,255,255,.025);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.cta-band__copy { max-width: 720px; }
.cta-band p { color: rgba(255,255,255,.7); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--paper-deep); }
.gallery figure:nth-child(1) { grid-column: span 7; }
.gallery figure:nth-child(2) { grid-column: span 5; }
.gallery figure:nth-child(3) { grid-column: span 4; }
.gallery figure:nth-child(4) { grid-column: span 4; }
.gallery figure:nth-child(5) { grid-column: span 4; }
.gallery img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(13,37,34,.78);
  color: white;
  font-size: .75rem;
  backdrop-filter: blur(8px);
}

.timeline { position: relative; max-width: 1000px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 144px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 3rem; padding: 2.2rem 0; }
.timeline-item__year { position: relative; color: var(--brick); font-family: var(--serif); font-size: 2rem; }
.timeline-item__year::after { content: ""; position: absolute; top: .8rem; right: -31px; width: 11px; height: 11px; border: 3px solid var(--ivory); border-radius: 50%; background: var(--brick); box-shadow: 0 0 0 1px var(--brick); }
.timeline-item h3 { margin: 0 0 .4rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.timeline-item p { margin: 0; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.info-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ivory); }
.info-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-3); color: var(--teal); font-size: 1.15rem; }
.info-card h3 { margin: 1rem 0 .45rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { color: var(--teal); font-weight: 750; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.price-card { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ivory); }
.price-card--featured { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.price-card--featured::before { content: "Most popular"; position: absolute; top: 0; right: 1.4rem; transform: translateY(-50%); padding: .35rem .65rem; border-radius: 999px; background: var(--teal); color: white; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-card h3 { margin: 0; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.price-card__price { margin: .75rem 0; color: var(--teal); font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.price-card__price small { color: var(--muted); font-family: var(--sans); font-size: .8rem; }
.price-card ul { display: grid; gap: .55rem; margin: 1.2rem 0 1.7rem; padding: 0; list-style: none; color: var(--muted); }
.price-card li { position: relative; padding-left: 1.45rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brick); font-weight: 900; }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.4rem;
}
.accordion-button span:last-child { font-family: var(--sans); font-size: 1.4rem; transition: transform .2s ease; }
.accordion-button[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p { margin: 0 0 1.35rem; color: var(--muted); }
.accordion-button[aria-expanded="true"] + .accordion-panel { grid-template-rows: 1fr; }

.form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 800; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  padding: .9rem 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18,63,58,.1); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form-note { color: var(--muted); font-size: .78rem; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 2rem; }
.contact-panel { padding: 2rem; border-radius: var(--radius-lg); background: var(--teal); color: white; }
.contact-panel h2 { margin: 0; font-family: var(--serif); font-size: 2.8rem; font-weight: 500; }
.contact-panel p { color: rgba(255,255,255,.68); }
.contact-list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: .8rem; }
.contact-item span:first-child { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.contact-item strong { display: block; font-size: .8rem; }
.contact-item p { margin: .15rem 0 0; color: rgba(255,255,255,.78); }
.map-placeholder {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(34deg, transparent 46%, rgba(18,63,58,.1) 47%, rgba(18,63,58,.1) 50%, transparent 51%),
    linear-gradient(-28deg, transparent 46%, rgba(163,69,47,.12) 47%, rgba(163,69,47,.12) 50%, transparent 51%),
    var(--paper-deep);
  background-size: 46px 46px, 60px 60px, auto;
}
.map-placeholder::after {
  content: "132 High Street\A Marlborough";
  white-space: pre;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 160px;
  padding: 1rem;
  border-radius: 12px;
  background: var(--brick);
  color: white;
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-weight: 800;
}

.badge-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.1rem 0 0; }
.badge { padding: .42rem .68rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--muted); font-size: .75rem; font-weight: 750; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(23,32,29,.96);
  color: white;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; }
.cookie-banner p { margin: .1rem 0 0; color: rgba(255,255,255,.63); font-size: .82rem; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  max-width: 360px;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: none; }

.modal-root { position: relative; z-index: 200; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10,20,18,.7);
  backdrop-filter: blur(10px);
  animation: fadeIn .2s ease both;
}
.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: 0 40px 110px rgba(0,0,0,.35);
  animation: modalIn .25s ease both;
}
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 1.3rem; }
.modal p { color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(15px) scale(.98); } }

.site-footer { background: #0e2f2b; color: white; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .6fr .6fr 1fr;
  gap: 3.5rem;
  padding-block: 5rem 3.5rem;
}
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__brand img { flex: 0 0 auto; border-radius: 50%; background: white; mix-blend-mode: screen; }
.footer__brand h2,
.site-footer h3 { margin: 0 0 .8rem; font-family: var(--serif); font-weight: 500; }
.footer__brand h2 { font-size: 1.8rem; }
.footer__brand p,
.footer__newsletter p { margin: 0; color: rgba(255,255,255,.57); font-size: .88rem; }
.site-footer h3 { font-size: 1.25rem; }
.site-footer a { display: block; margin: .48rem 0; color: rgba(255,255,255,.68); font-size: .87rem; }
.site-footer a:hover { color: white; }
.inline-form { display: grid; grid-template-columns: 1fr 48px; margin-top: 1rem; }
.inline-form input { min-width: 0; border: 1px solid rgba(255,255,255,.18); border-right: 0; border-radius: 999px 0 0 999px; background: rgba(255,255,255,.08); color: white; padding: .8rem 1rem; outline: none; }
.inline-form input::placeholder { color: rgba(255,255,255,.5); }
.inline-form button { border: 0; border-radius: 0 999px 999px 0; background: var(--brick); color: white; cursor: pointer; }
.footer__bottom { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: .75rem; }
.footer__bottom div { display: flex; gap: 1rem; }
.footer__bottom a { display: inline; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.noscript { padding: 1rem; background: #fff3cd; color: #664d03; text-align: center; }

@media (max-width: 1120px) {
  :root { --header-height: 82px; }
  .brand__wordmark { display: none; }
  .brand__mark { width: 58px; height: 58px; }
  .primary-nav { gap: .7rem; }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button { padding-inline: .48rem; font-size: .82rem; }
  .nav-actions .button--ghost { display: none; }
  .hero--home { grid-template-columns: minmax(0, 1fr) minmax(370px, .8fr); }
  .hero__content { padding-inline: 4rem; }
  .footer__grid { grid-template-columns: 1.35fr .6fr .6fr; }
  .footer__newsletter { grid-column: 1 / -1; max-width: 650px; }
}

@media (max-width: 900px) {
  .announcement__inner { justify-content: space-between; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: calc(38px + var(--header-height) - 2px);
    max-height: calc(100vh - 130px);
    overflow: auto;
    display: block;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,253,248,.98);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav > ul { display: block; }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button { width: 100%; justify-content: space-between; padding: .85rem .4rem; font-size: 1rem; }
  .primary-nav > ul > li > a::after,
  .primary-nav > ul > li > button::after { display: none; }
  .submenu {
    position: static;
    width: auto;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 .35rem;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--paper);
    color: var(--ink);
    transition: max-height .25s ease, padding .25s ease;
  }
  .submenu::before { display: none; }
  .submenu a { color: var(--muted); }
  .submenu a:hover, .submenu a.is-active { color: var(--teal); background: rgba(18,63,58,.06); }
  .has-submenu.is-open .submenu { max-height: 240px; padding-block: .35rem; }
  .nav-actions { margin-top: 1rem; }
  .nav-actions .button { flex: 1; }
  .nav-actions .button--ghost { display: inline-flex; }

  .hero--home { min-height: auto; grid-template-columns: 1fr; }
  .hero__content { width: 100%; padding: 5rem 1.5rem 4rem; }
  .hero__media { min-height: 520px; }
  .hero__seal { width: 120px; }
  .quick-links { margin-top: 0; }
  .quick-links__grid { grid-template-columns: repeat(2, minmax(0,1fr)); border-radius: 0; }
  .quick-link { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { min-height: 420px; }
  .stats, .card-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .event-grid { grid-template-columns: 1fr; }
  .event-feature { min-height: 480px; }
  .cta-band__inner { display: block; }
  .cta-band__actions { margin-top: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand, .footer__newsletter { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .announcement span { display: none; }
  .announcement__inner { justify-content: center; }
  .container { width: min(calc(100% - 1.3rem), var(--container)); }
  .brand__mark { width: 52px; height: 52px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .hero__content { padding: 4rem 1rem 3.5rem; }
  .hero__meta { grid-template-columns: 1fr; gap: .75rem; }
  .hero__meta div { display: flex; align-items: baseline; gap: .65rem; }
  .hero__media { min-height: 430px; }
  .hero__seal { right: 1rem; bottom: 1rem; width: 105px; }
  .page-hero { min-height: 430px; }
  .page-hero__content { padding-block: 4.5rem 3rem; }
  .page-hero h1 { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  .quick-links__grid, .card-grid, .card-grid--4, .stats, .info-grid, .price-grid { grid-template-columns: 1fr; }
  .quick-link { min-height: 150px; border-right: 0; }
  .split__media img { min-height: 360px; }
  .stat { min-height: auto; }
  .event-card { grid-template-columns: 70px 1fr; gap: .9rem; }
  .event-date { width: 66px; min-height: 70px; }
  .event-card .button { grid-column: 2; justify-self: start; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(n) { grid-column: auto; }
  .gallery img { min-height: 280px; }
  .timeline::before { left: 17px; }
  .timeline-item { grid-template-columns: 1fr; gap: .65rem; padding-left: 3.2rem; }
  .timeline-item__year::after { left: -2.65rem; right: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full, .form-actions { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand, .footer__newsletter { grid-column: auto; }
  .footer__brand { display: block; }
  .footer__brand img { margin-bottom: 1rem; }
  .footer__bottom { align-items: flex-start; flex-direction: column; padding-block: 1.4rem; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
}

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

/* Static multipage additions */
.primary-nav{gap:.8rem}.primary-nav>ul{gap:0}.primary-nav>ul>li>a,.primary-nav>ul>li>button{padding:.75rem .55rem;font-size:.79rem}.nav-actions{gap:.55rem}.nav-icon{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:999px;font-size:1rem}.nav-icon:hover{background:var(--teal);color:white}.nav-icon span{position:absolute;right:-3px;top:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:var(--brick);color:white;border-radius:99px;font-size:.65rem;font-weight:800}.cookie-actions{display:flex;align-items:center;gap:1rem}.cookie-actions>a{text-decoration:underline}.article-layout{display:grid;grid-template-columns:minmax(0,780px) minmax(250px,1fr);gap:clamp(2rem,6vw,6rem);align-items:start}.prose{font-family:var(--sans);font-size:1.08rem;line-height:1.8}.prose>p:first-of-type.lead{font-family:var(--serif);font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.45;color:var(--teal)}.prose h2{font-family:var(--serif);font-size:clamp(2rem,4vw,3.1rem);font-weight:500;line-height:1.08;margin:3.4rem 0 1rem}.prose h3{font-family:var(--serif);font-size:1.55rem;font-weight:600;margin:2rem 0 .5rem}.prose a{color:var(--brick);text-decoration:underline;text-underline-offset:3px}.prose blockquote{margin:3rem 0;padding:1.6rem 0 1.6rem 2rem;border-left:3px solid var(--gold);font-family:var(--serif);font-size:1.55rem;line-height:1.4;color:var(--teal)}.prose li+li{margin-top:.5rem}.article-aside{position:sticky;top:120px;display:grid;gap:1.2rem}.aside-card{padding:1.7rem;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);box-shadow:var(--shadow-sm)}.aside-card h3{font-family:var(--serif);font-size:1.5rem;margin:.2rem 0 .8rem}.aside-card ul{padding-left:1.15rem}.article-meta{color:var(--muted);font-size:.85rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.content-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}.content-cards article{padding:1.25rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm)}.content-cards strong{font-family:var(--serif);font-size:1.2rem}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius-sm)}table{width:100%;border-collapse:collapse;background:white}th,td{text-align:left;padding:1rem;border-bottom:1px solid var(--line)}th{background:var(--teal);color:white}.job-list{display:grid;gap:1rem}.job-card{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;padding:2rem;border:1px solid var(--line);border-radius:var(--radius-md);background:white;box-shadow:var(--shadow-sm)}.job-card h3{font-family:var(--serif);font-size:2rem;margin:.25rem 0}.cart-shell,.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:2rem;align-items:start}.cart-items{display:grid;gap:1rem}.cart-row{display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:center;padding:1.4rem;background:white;border:1px solid var(--line);border-radius:var(--radius-sm)}.cart-row h3{margin:.2rem 0;font-family:var(--serif);font-size:1.35rem}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:999px;background:white;cursor:pointer}.cart-summary{padding:1.6rem;background:var(--teal);color:white;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);position:sticky;top:120px}.cart-summary .button{width:100%;margin-top:1rem}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid rgba(255,255,255,.16)}.summary-total{font-size:1.25rem;border:0;padding-top:1.2rem}.empty-state{text-align:center;padding:4rem 2rem;border:1px dashed var(--line);border-radius:var(--radius-md);background:var(--paper)}.empty-state>span{font-size:3rem}.empty-state h2{font-family:var(--serif);font-size:2rem}.auth-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:2rem}.account-benefits{padding:2rem;background:var(--teal);color:white;border-radius:var(--radius-md)}.benefit-row{display:grid;grid-template-columns:46px 1fr;gap:1rem;padding:1.3rem 0;border-bottom:1px solid rgba(255,255,255,.15)}.benefit-row>span{color:#f1cf88;font-weight:800}.benefit-row h3{font-family:var(--serif);font-size:1.35rem;margin:0}.benefit-row p{margin:.25rem 0;color:rgba(255,255,255,.75)}.notice-box{padding:1rem;background:var(--teal-3);border-radius:var(--radius-sm)}.check-field label{display:flex;gap:.6rem;align-items:flex-start}.check-field input{width:auto;margin-top:.3rem}.not-found{min-height:68vh;display:grid;place-items:center;text-align:center}.not-found h1{font-family:var(--serif);font-size:clamp(4rem,10vw,8rem);font-weight:500;line-height:.9;margin:0 auto;max-width:850px}.not-found p{max-width:600px;margin:1.5rem auto}.primary-nav a.is-active{color:var(--brick)}
@media(max-width:1180px){.brand__wordmark{display:none}.primary-nav>ul>li>a,.primary-nav>ul>li>button{padding-inline:.42rem}}
@media(max-width:1100px){.article-layout,.cart-shell,.checkout-layout,.auth-grid{grid-template-columns:1fr}.article-aside,.cart-summary{position:static}.content-cards{grid-template-columns:1fr}.job-card{grid-template-columns:1fr}.cookie-actions{width:100%;justify-content:space-between}}
@media(max-width:640px){.job-card{padding:1.4rem}.article-layout{gap:2rem}.prose{font-size:1rem}.cart-row{grid-template-columns:1fr auto}.cart-row .icon-button{grid-column:2;grid-row:1/3}.cookie-actions{align-items:flex-start}.not-found h1{font-size:4rem}}

/* Production enhancement pass */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #f4c967;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(18, 63, 58, .8);
}
:where(a, button) { touch-action: manipulation; }
[hidden] { display: none !important; }
body.modal-open,
body.nav-open { overflow: hidden; }
[inert] { pointer-events: none; user-select: none; }

.breadcrumbs {
  padding-block: .8rem;
  font-size: .78rem;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: .42rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: rgba(23,32,29,.35); }
.breadcrumbs a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.breadcrumbs a:hover { color: var(--brick); }

.nav-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
}
.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-icon [data-cart-count] {
  position: absolute;
  right: -4px;
  top: -5px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  border: 2px solid var(--ivory);
  border-radius: 99px;
  background: var(--brick);
  color: white;
  font-size: .66rem;
  font-weight: 800;
}

[data-external]::after {
  content: "↗";
  display: inline-block;
  margin-left: .35em;
  font-size: .82em;
  transform: translateY(-.08em);
}
.brand[data-external]::after,
.card[data-external]::after,
.nav-icon[data-external]::after { display: none; }

.form-note {
  display: block;
  margin-top: .55rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}
.site-footer .form-note { color: rgba(255,255,255,.62); }
.optional { color: var(--muted); font-size: .82em; font-weight: 500; }
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) { border-color: var(--brick); }

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: var(--teal);
  color: white;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-2); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(7, 18, 16, .94);
  backdrop-filter: blur(10px);
}
.lightbox figure {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  margin: 0;
  display: grid;
  gap: .75rem;
}
.lightbox figure img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption { color: rgba(255,255,255,.82); text-align: center; }
.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}
[data-lightbox] { cursor: zoom-in; }

.summary-row span { display: grid; }
.summary-row small { margin-top: .15rem; color: var(--muted); font-weight: 500; }
.button.is-disabled,
.button[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 680px; }
.page-hero,
.hero--home,
.site-header,
.site-footer { content-visibility: visible; }

@media (max-width: 900px) {
  .breadcrumbs { padding-block: .55rem; }
  .announcement__inner { justify-content: space-between; text-align: left; }
  .announcement__inner span { max-width: 70%; }
  .primary-nav.is-open { overflow-y: auto; overscroll-behavior: contain; }
  .nav-actions { padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); }
  .nav-icon { width: 48px; height: 48px; }
}

@media (max-width: 520px) {
  .announcement { font-size: .72rem; }
  .announcement__inner { min-height: 44px; gap: .5rem; }
  .announcement__inner a { white-space: nowrap; }
  .brand__wordmark small { display: none; }
  .breadcrumbs { font-size: .72rem; }
}

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

@media (forced-colors: active) {
  .button, .nav-icon, .card, .price-card, .aside-card, .form-card { border: 1px solid CanvasText; }
  .hero::after, body::before { display: none; }
  :where(a,button,input,select,textarea):focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}

@media print {
  .announcement, .site-header, .site-footer, .back-to-top, .hero__actions, .cta-band, .cookie-banner { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  body::before { display: none; }
  a { text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
  .page-hero { min-height: 0; background: white; color: black; }
  .page-hero__media { display: none; }
  .section { padding-block: 1.5rem; content-visibility: visible; }
}

/* Mobile and tablet navigation refinement */
@media (max-width: 1100px) {
  :root { --header-height: 76px; }
  .announcement { position: relative; z-index: 92; }
  .site-header { z-index: 90; min-height: var(--header-height); }
  .site-header.is-scrolled { min-height: 70px; }
  .header__inner { gap: 1rem; }
  .brand { min-width: 0; gap: .7rem; }
  .brand__mark,
  .site-header.is-scrolled .brand__mark { width: 52px; height: 52px; }
  .brand__wordmark { display: grid; min-width: 0; }
  .brand__wordmark strong { font-size: 1rem; white-space: nowrap; }
  .brand__wordmark small { margin-top: .24rem; font-size: .58rem; letter-spacing: .11em; white-space: nowrap; }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    place-content: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-color: rgba(18,63,58,.18);
    background: var(--paper);
    box-shadow: 0 5px 18px rgba(18,63,58,.08);
  }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; margin: 2.5px auto; border-radius: 2px; }
  .nav-toggle[aria-expanded="true"] { background: var(--teal); border-color: var(--teal); }
  .nav-toggle[aria-expanded="true"] span:not(.sr-only) { background: #fff; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: fixed;
    inset: calc(38px + var(--header-height)) 0 0 auto;
    width: min(430px, 100%);
    max-height: none;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.1rem clamp(1rem, 4vw, 1.5rem) max(1.4rem, env(safe-area-inset-bottom));
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: #fffdf8;
    box-shadow: -24px 20px 55px rgba(16,39,35,.18);
    opacity: 1;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform .28s ease, visibility .28s ease;
  }
  .primary-nav::before {
    content: "Explore";
    display: block;
    padding: .2rem .25rem .8rem;
    color: var(--brick);
    font-family: var(--serif);
    font-size: 1.5rem;
  }
  .primary-nav.is-open { visibility: visible; transform: translateX(0); }
  .primary-nav > ul { display: block; width: 100%; }
  .primary-nav > ul > li { border-top: 1px solid var(--line); }
  .primary-nav > ul > li:last-child { border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    padding: .75rem .25rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
  }
  .primary-nav > ul > li > a::after,
  .primary-nav > ul > li > button::after { display: none; }
  .primary-nav > ul > li > a.is-active,
  .primary-nav > ul > li > button.is-active { color: var(--brick); }
  .has-submenu > button span[aria-hidden] { font-family: var(--sans); font-size: 1.15rem; transition: transform .2s ease; }
  .has-submenu.is-open > button span[aria-hidden] { transform: rotate(180deg); }
  .submenu {
    position: static;
    width: auto;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    transition: max-height .28s ease, padding .28s ease;
  }
  .submenu::before { display: none; }
  .submenu a {
    display: block;
    padding: .62rem .85rem;
    border-left: 2px solid var(--line);
    border-radius: 0;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 650;
  }
  .submenu a:hover,
  .submenu a.is-active { border-left-color: var(--brick); background: rgba(153,69,50,.06); color: var(--teal); }
  .has-submenu.is-open .submenu { max-height: 420px; padding: 0 0 .75rem .35rem; }
  .nav-actions {
    display: grid;
    grid-template-columns: 46px 1fr 1fr;
    gap: .65rem;
    width: 100%;
    margin-top: 1.15rem;
  }
  .nav-actions .nav-icon { width: 46px; height: 46px; }
  .nav-actions .button { min-width: 0; min-height: 46px; padding-inline: .75rem; }
  .nav-actions .button--ghost { display: inline-flex; }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(9,28,25,.46);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  .announcement__inner { min-height: 34px; }
  .announcement a { font-size: .78rem; }
  .brand__mark,
  .site-header.is-scrolled .brand__mark { width: 46px; height: 46px; }
  .brand__wordmark strong { font-size: .91rem; }
  .brand__wordmark small { display: none; }
  .nav-toggle { width: 44px; height: 44px; }
  .primary-nav { inset-block-start: calc(34px + var(--header-height)); width: 100%; border-left: 0; box-shadow: 0 20px 50px rgba(16,39,35,.2); }
  .primary-nav::before { font-size: 1.35rem; }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button { min-height: 52px; font-size: 1.12rem; }
  .nav-actions { grid-template-columns: 44px 1fr; }
  .nav-actions .button--ghost { display: none; }
}

@media (min-width: 641px) and (max-width: 1100px) and (orientation: landscape) {
  .primary-nav { width: min(390px, 52vw); }
}

/* Responsive QA corrections — 2026-07-22 */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
main, header, footer, section, .page, .container, .header__inner,
.primary-nav, .primary-nav > ul, .hero, .hero__content, .hero__media,
.page-hero, .section-heading, .card-grid, .event-grid, .footer__grid {
  min-width: 0;
  max-width: 100%;
}
iframe, video, canvas, svg { max-width: 100%; }
pre, code { overflow-wrap: anywhere; }
.prose, .card, .form-card, .aside-card { overflow-wrap: anywhere; }
.table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }

/* A shorter, calmer home hero. */
.hero--home {
  min-height: clamp(540px, 68vh, 660px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}
.hero__content {
  padding-block: clamp(3.25rem, 5vw, 5.25rem);
}
.hero h1 { font-size: clamp(3.65rem, 6.1vw, 6.25rem); }
.hero__lead { margin-top: 1.25rem; }
.hero__actions { margin-top: 1.5rem; }
.hero__meta { margin-top: 2rem; }
.hero__media { min-height: 540px; }

@media (max-width: 1100px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .header__inner { width: 100%; }
  .brand { max-width: calc(100% - 60px); }
  .brand__wordmark { overflow: hidden; }
  .brand__wordmark strong,
  .brand__wordmark small { overflow: hidden; text-overflow: ellipsis; }

  .primary-nav {
    left: auto;
    right: 0;
    max-width: 100vw;
    box-sizing: border-box;
    transform: translate3d(100%, 0, 0);
    contain: layout paint;
  }
  .primary-nav.is-open { transform: translate3d(0, 0, 0); }
  .primary-nav > ul,
  .primary-nav > ul > li,
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button,
  .nav-actions { max-width: 100%; }

  .hero--home {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  }
  .hero__content { padding: 3.5rem 2rem; }
  .hero h1 { font-size: clamp(3.35rem, 7.1vw, 5.2rem); }
  .hero__media { min-height: 470px; }
  .page-hero { min-height: 440px; }
  .page-hero__content { padding-block: 4.25rem 3.25rem; }
  .page-hero h1 { font-size: clamp(3rem, 7vw, 5.25rem); }
}

@media (max-width: 820px) {
  .announcement__inner { gap: .65rem; }
  .announcement__inner span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announcement__inner a { flex: 0 0 auto; white-space: nowrap; }

  .hero--home { display: flex; flex-direction: column; }
  .hero__content { order: 1; padding: 3rem 1.5rem 2.75rem; }
  .hero__media { order: 2; min-height: 330px; height: 38vh; max-height: 410px; }
  .hero h1 { max-width: 13ch; font-size: clamp(3.25rem, 9vw, 4.8rem); }
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__meta strong { font-size: 1.12rem; }
  .hero__seal { width: 102px; }

  .page-hero { min-height: 390px; }
  .page-hero__content { padding-block: 3.5rem 2.75rem; }
  .page-hero h1 { font-size: clamp(2.8rem, 9vw, 4.5rem); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .announcement__inner { min-height: 32px; }
  .announcement__inner span { font-size: .7rem; }
  .announcement__inner a { font-size: .7rem; }
  .header__inner { gap: .55rem; }
  .brand { gap: .5rem; max-width: calc(100% - 52px); }
  .brand__wordmark strong { font-size: clamp(.78rem, 3.8vw, .92rem); }
  .brand__mark,
  .site-header.is-scrolled .brand__mark { width: 42px; height: 42px; }
  .nav-toggle { width: 42px; height: 42px; }
  .primary-nav {
    inset: calc(32px + var(--header-height)) 0 0 0;
    width: 100%;
    max-width: 100%;
    padding-inline: .9rem;
  }

  .hero__content { padding: 2.5rem .9rem 2.25rem; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.85rem, 13vw, 4rem); line-height: .96; }
  .hero__lead { font-size: .98rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .button { width: 100%; }
  .hero__meta { grid-template-columns: 1fr; gap: .65rem; }
  .hero__meta div { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: .5rem; }
  .hero__media { min-height: 240px; height: 31vh; max-height: 300px; }
  .hero__seal { width: 88px; right: .75rem; bottom: .75rem; }

  .page-hero { min-height: 340px; }
  .page-hero__content { padding-block: 3rem 2.25rem; }
  .page-hero h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
  .page-hero p { font-size: 1rem; }
  .page-hero .hero__actions { display: grid; }

  .button { max-width: 100%; white-space: normal; text-align: center; }
  .footer__bottom, .footer__bottom > div { max-width: 100%; }
}

@media (max-width: 390px) {
  .announcement__inner span { max-width: 58%; }
  .brand__wordmark strong { max-width: 205px; }
  .hero h1 { font-size: clamp(2.65rem, 13.5vw, 3.35rem); }
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button { font-size: 1.05rem; }
  .nav-actions { grid-template-columns: 42px 1fr; }
}

/* Authoritative responsive navigation and homepage hero — 2026-07-22f */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  border: 0;
  padding: 0;
  background: rgba(9, 28, 25, .52);
  backdrop-filter: blur(2px);
}

.nav-backdrop[hidden] { display: none !important; }

@media (max-width: 1100px) {
  body.nav-open { overflow: hidden; }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
  }

  .nav-toggle {
    display: flex !important;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 3;
    width: 46px;
    height: 46px;
    margin-left: auto;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform .2s ease, opacity .2s ease;
  }

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

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

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

  .primary-nav,
  .primary-nav[hidden] {
    display: none !important;
  }

  .primary-nav.is-open:not([hidden]) {
    display: flex !important;
    position: fixed !important;
    top: var(--mobile-nav-top, calc(38px + var(--header-height))) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 2;
    width: min(430px, 100vw) !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 1rem clamp(1rem, 4vw, 1.4rem) max(1.4rem, env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 0 !important;
    border-left: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: #fffdf8 !important;
    box-shadow: -20px 20px 55px rgba(16, 39, 35, .2) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    contain: layout paint;
  }

  .primary-nav::before {
    content: "Explore";
    display: block;
    padding: .1rem .2rem .75rem;
    color: var(--brick);
    font-family: var(--serif);
    font-size: 1.45rem;
  }

  .primary-nav > ul,
  .primary-nav > ul > li,
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button,
  .nav-actions {
    width: 100%;
    max-width: 100%;
  }

  .primary-nav > ul {
    display: block !important;
    margin: 0;
    padding: 0;
  }

  .primary-nav > ul > li {
    border-top: 1px solid var(--line);
  }

  .primary-nav > ul > li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: .72rem .2rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
  }

  .primary-nav > ul > li > a::after,
  .primary-nav > ul > li > button::after {
    display: none;
  }

  .has-submenu > button span[aria-hidden] {
    transition: transform .2s ease;
  }

  .has-submenu.is-open > button span[aria-hidden] {
    transform: rotate(180deg);
  }

  .has-submenu .submenu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 .25rem !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: max-height .25s ease, padding .25s ease !important;
  }

  .has-submenu.is-open .submenu {
    max-height: 520px !important;
    padding: 0 .25rem .75rem !important;
  }

  .submenu::before { display: none !important; }

  .submenu a {
    display: block;
    padding: .62rem .8rem;
    border-left: 2px solid var(--line);
    border-radius: 0;
    color: var(--muted);
    font-size: .94rem;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1fr);
    gap: .65rem;
    margin-top: 1rem;
  }

  .nav-actions .button {
    min-width: 0;
    min-height: 46px;
    padding-inline: .7rem;
  }
}

@media (max-width: 640px) {
  .primary-nav.is-open:not([hidden]) {
    width: 100vw !important;
    border-left: 0 !important;
  }

  .nav-actions {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .nav-actions .button--ghost {
    display: none !important;
  }
}

/* Balanced desktop homepage hero: larger than the 480px version, without returning to full-screen scale. */
@media (min-width: 1101px) {
  body[data-page="home"] .hero--home {
    height: clamp(540px, 64vh, 600px);
    min-height: clamp(540px, 64vh, 600px);
    max-height: 600px;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  }

  body[data-page="home"] .hero__content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.8rem, 4.5vw, 4.8rem) clamp(2rem, 5.5vw, 6rem);
  }

  body[data-page="home"] .hero h1 {
    max-width: 780px;
    font-size: clamp(3.8rem, 5.7vw, 6rem);
  }

  body[data-page="home"] .hero__lead { margin-top: 1.15rem; }
  body[data-page="home"] .hero__actions { margin-top: 1.35rem; }
  body[data-page="home"] .hero__meta { margin-top: 1.75rem; }

  body[data-page="home"] .hero__media {
    align-self: stretch;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body[data-page="home"] .hero__media img {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* Final mobile interaction geometry and overflow safeguards. */
@media (max-width: 1100px) {
  .primary-nav.is-open:not([hidden]) {
    height: calc(100dvh - var(--mobile-nav-top, 114px)) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - var(--mobile-nav-top, 114px)) !important;
    contain: none !important;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 1100px) {
    .primary-nav.is-open:not([hidden]) {
      height: calc(100vh - var(--mobile-nav-top, 114px)) !important;
      max-height: calc(100vh - var(--mobile-nav-top, 114px)) !important;
    }
  }
}

@media (max-width: 640px) {
  .footer__bottom > div {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    row-gap: .25rem;
  }

  .footer__bottom a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cta-band,
  .cta-band__inner,
  .cta-band__actions {
    min-width: 0;
    max-width: 100%;
  }

  .cta-band__actions {
    display: flex;
    flex-wrap: wrap;
  }
}


/* Explicit submenu state: no max-height dependency on mobile. */
@media (max-width: 1100px) {
  .primary-nav .has-submenu > .submenu[hidden] {
    display: none !important;
  }

  .primary-nav.is-open .has-submenu.is-open > .submenu:not([hidden]) {
    display: block !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 .25rem .75rem !important;
  }
}

/* Final desktop homepage hero balance. */
@media (min-width: 1101px) {
  body[data-page="home"] .hero--home {
    height: clamp(651px, 73.5vh, 693px);
    min-height: clamp(651px, 73.5vh, 693px);
    max-height: 693px;
  }

  body[data-page="home"] .hero__content,
  body[data-page="home"] .hero__media {
    min-height: 0 !important;
    max-height: 100% !important;
  }

  body[data-page="home"] .hero__media {
    height: 100% !important;
    overflow: hidden;
  }

  body[data-page="home"] .hero__media img {
    height: 100% !important;
  }
}


/* The mobile drawer is moved to <body>, so it uses the viewport as its fixed containing block. */
@media (max-width: 1100px) {
  body > .primary-nav.is-open:not([hidden]) {
    z-index: 95;
    top: var(--mobile-nav-top, 101px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    contain: none !important;
  }
}

/* Desktop navigation remains on one line without crowding the logo or actions. */
@media (min-width: 1101px) {
  .primary-nav {
    min-width: 0;
    gap: .55rem;
  }

  .primary-nav > ul {
    flex-wrap: nowrap;
  }

  .primary-nav > ul > li,
  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    flex: 0 0 auto;
  }

  .primary-nav > ul > li > a,
  .primary-nav > ul > li > button {
    padding-inline: .42rem;
    white-space: nowrap;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: .5rem;
  }

  .nav-actions .button {
    padding-inline: .9rem;
  }
}

@media (min-width: 1101px) and (max-width: 1320px) {
  .brand__wordmark { display: none; }
}


/* Finished-site location and directions components. */
.location-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  box-shadow: var(--shadow-sm);
}
.location-map__canvas {
  position: relative;
  min-height: 430px;
  background: var(--paper-deep);
}
.location-map__canvas iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}
.location-map__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem clamp(1.1rem, 3vw, 2rem);
}
.location-map__details h3 {
  margin: 0 0 .2rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
}
.location-map__details p { margin: 0; color: var(--muted); }
.location-map__actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
.map-attribution {
  margin: 0;
  padding: 0 clamp(1.1rem, 3vw, 2rem) 1rem;
  color: var(--muted);
  font-size: .72rem;
}
.map-attribution a { text-decoration: underline; text-underline-offset: .18em; }
.travel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 1.25rem; }
.travel-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.64);
}
.travel-card h3 { margin: 0 0 .45rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.travel-card p { margin: 0; color: var(--muted); }
.travel-card .text-link { display: inline-flex; margin-top: .8rem; }
.contact-panel a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .2em; }
.footer-directions { display: inline-block; margin-top: .25rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,.32); text-underline-offset: .2em; }
.external-choice { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.provider-note { margin-top: .75rem; color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
  .location-map__canvas, .location-map__canvas iframe { min-height: 360px; height: 360px; }
  .location-map__details { align-items: flex-start; flex-direction: column; }
  .location-map__actions { justify-content: flex-start; }
  .travel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .location-map__canvas, .location-map__canvas iframe { min-height: 300px; height: 300px; }
  .location-map__actions { width: 100%; }
  .location-map__actions .button { flex: 1 1 100%; }
}

/* Final narrow-screen overflow hardening. */
.footer__newsletter,
.footer__newsletter form,
.inline-form {
  min-width: 0;
  max-width: 100%;
}
.inline-form button {
  width: 48px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
@media (max-width: 640px) {
  .footer__newsletter,
  .footer__newsletter form,
  .inline-form { width: 100%; }
}


/* Homepage cleanup and persistent navigation — 2026-07-22n */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  inset-block-start: 0 !important;
  top: 0 !important;
  z-index: 100;
  width: 100%;
  isolation: isolate;
}

/* Keep the removed homepage modules hidden if an older cached page is served. */
body[data-page="home"] .hero__seal,
body[data-page="home"] .quick-links {
  display: none !important;
}

/* Sticky positioning needs the page body to remain outside a nested scroll container. */
html {
  overflow-x: clip !important;
}
body:not(.nav-open) {
  overflow-x: visible !important;
  overflow-y: visible !important;
}
