/* ==========================================================================
   Parish & Palm — stylesheet
   Editorial Caribbean: deep green ink, sand paper, lagoon teal, gold.
   ========================================================================== */

:root {
  --ink: #1a2e26;
  --ink-soft: #2a3d35;
  --ink-mute: #5a6e63;
  --paper: #faf6ee;
  --paper-2: #f4ecde;
  --sand: #ecdfc8;
  --sand-deep: #e0d0b2;
  --palm: #1f5a44;
  --lagoon: #2a7d82;
  --gold: #b8922a;
  --gold-soft: #ecd48a;
  --coral: #c45a38;
  --line: rgba(26, 46, 38, 0.12);
  --line-soft: rgba(26, 46, 38, 0.07);
  --shadow-sm: 0 1px 3px rgba(26, 46, 38, 0.05), 0 10px 28px -20px rgba(26, 46, 38, 0.4);
  --shadow-lg: 0 32px 64px -32px rgba(26, 46, 38, 0.38);
  --radius: 6px;
  --shell: 1240px;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-soft); color: var(--ink); }

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

.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 {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 3rem);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.2vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}

.display em {
  font-style: italic;
  color: var(--gold);
}

.display-sm {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin: 0 0 0.9rem;
}

.kicker-light { color: var(--gold-soft); }

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
}

.small-note {
  font-size: 0.86rem;
  color: var(--ink-mute);
}

.muted { color: var(--ink-mute); }

.credit {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}
.credit a { color: inherit; }

.center { text-align: center; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--palm); }

.btn-ghost {
  border-color: rgba(251, 247, 239, 0.4);
  color: var(--paper);
  background: transparent;
}
.btn-ghost:hover { background: rgba(251, 247, 239, 0.12); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--palm);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 80, 60, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s, gap 0.25s var(--ease);
}
.text-link:hover { color: var(--lagoon); border-color: var(--lagoon); gap: 0.6rem; }
.text-link-light { color: var(--gold-soft); border-color: rgba(230, 199, 106, 0.4); }
.text-link-light:hover { color: #fff; border-color: #fff; }

.chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: rgba(251, 247, 239, 0.75);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark { width: 34px; height: 34px; color: var(--palm); flex: none; }

.brand-text {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
}
.brand-text i { font-style: normal; color: var(--gold); font-size: 0.85em; }

.primary-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--ink); }

.header-cta {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--sand); border-color: transparent; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  z-index: -2;
  animation: hero-drift 24s ease-out both;
}

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 40, 32, 0.5) 0%, rgba(20, 40, 32, 0.08) 38%, rgba(20, 40, 32, 0.78) 100%),
    linear-gradient(90deg, rgba(20, 40, 32, 0.45), rgba(20, 40, 32, 0) 60%);
}

.hero-inner {
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  max-width: var(--shell);
}

.hero-inner > * { max-width: 46rem; }

.hero h1 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.86);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn-primary { background: var(--paper); color: var(--ink); }
.hero .btn-primary:hover { background: var(--gold-soft); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(251, 247, 239, 0.25);
  margin-top: auto;
}
.hero-facts div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-facts strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.hero-facts span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.7);
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: rgba(251, 247, 239, 0.78); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.wave { display: block; width: 100%; height: auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}
.section-head-row > div { max-width: 46rem; }
.section-head .display { margin-bottom: 1rem; }

.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ink-mute);
  max-width: 40rem;
  margin: 0.9rem 0 0;
}
.section-lead-light { color: rgba(251, 247, 239, 0.66); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.intro-copy { padding-top: 0.4rem; }
.intro-copy p + p { margin-top: 1rem; }

/* ---------- Counties ---------- */

.county-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.county-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.county-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.county-head { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.county-head h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.county-head .kicker { margin: 0; order: -1; flex-basis: 100%; }
.county-count {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.county-card > p { font-size: 0.94rem; color: var(--ink-mute); }

.county-list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}
.county-list a {
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--palm);
  border-bottom: 1px solid transparent;
}
.county-list a:hover { border-color: currentColor; }

/* ---------- Parish cards ---------- */

.parish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.parish-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.parish-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.parish-card-link { text-decoration: none; display: block; height: 100%; }

.parish-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-deep);
}
.parish-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.parish-card:hover .parish-card-media img { transform: scale(1.06); }

.parish-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 23, 0.28), transparent 45%);
  pointer-events: none;
}

.chip-county {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 1;
  background: rgba(251, 247, 239, 0.92);
  border-color: transparent;
  color: var(--palm);
}

.parish-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.parish-card-body h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}
.parish-capital {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.parish-headline { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- Video ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}

.video-card { margin: 0; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #05100c;
  cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: opacity 0.3s, transform 0.6s var(--ease); }
.video-embed:hover img { opacity: 0.95; transform: scale(1.03); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 239, 0.6);
  border-radius: 999px;
  background: rgba(11, 29, 23, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, transform 0.3s var(--ease), border-color 0.25s;
}
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-embed:hover .video-play { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.06); }

.video-card figcaption { padding-top: 1rem; }
.video-card .kicker { margin-bottom: 0.35rem; font-size: 0.64rem; }
.video-card h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.video-card p { font-size: 0.88rem; color: rgba(251, 247, 239, 0.66); }
.section:not(.section-dark) .video-card p { color: var(--ink-mute); }

.doc-strip { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(251, 247, 239, 0.1); }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.doc-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.doc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); }
.doc-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s, transform 0.5s var(--ease); }
.doc-card:hover .doc-media img { opacity: 1; transform: scale(1.05); }
.doc-ep {
  position: absolute;
  bottom: 0.55rem; left: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  font-weight: 700;
}
.doc-card h3 {
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--sans);
  margin-top: 0.6rem;
  color: var(--paper);
  line-height: 1.25;
}
.doc-card p { font-size: 0.76rem; color: rgba(251, 247, 239, 0.6); margin: 0.2rem 0 0; }

/* ---------- Media band ---------- */

.media-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2px;
  background: var(--ink);
}
.media-band figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.media-band figure:hover img { transform: scale(1.04); }
.media-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(11, 29, 23, 0.75));
}

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split-narrow { align-items: start; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.check-list,
.eat-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.check-list strong { color: var(--ink); }

.eat-list li {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.eat-list strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}
.eat-list span { font-size: 0.9rem; color: var(--ink-mute); }

/* ---------- Stay types ---------- */

.stay-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stay-type {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.section-sand .stay-type { background: var(--paper); }
.stay-type:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stay-type h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.stay-type p { font-size: 0.92rem; color: var(--ink-mute); }
.stay-examples { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
.stay-where { font-size: 0.8rem; color: var(--ink-mute); border-top: 1px solid var(--line-soft); padding-top: 0.8rem; margin-top: auto; }
.stay-where span { font-weight: 700; color: var(--palm); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; margin-right: 0.35rem; }

/* ---------- Inner page hero ---------- */

.page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(90rem 40rem at 85% -20%, rgba(201, 162, 39, 0.16), transparent 60%),
    var(--paper);
}
.page-hero .display { max-width: 18ch; margin-bottom: 1.2rem; }
.page-lead {
  max-width: 46rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-mute);
  margin: 0;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.8rem;
}
.jump-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.2s, border-color 0.2s;
}
.jump-nav a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Filters ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.filter-search { flex: 1 1 280px; }
.filter-search input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.filter-search input:focus { outline: 2px solid var(--lagoon); outline-offset: 2px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip-btn {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip-btn:hover { background: var(--sand); }
.chip-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.filter-status { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 2rem; }
.empty-state { padding: 3rem 0; text-align: center; color: var(--ink-mute); }

/* ---------- Parish detail ---------- */

.parish-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.parish-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.parish-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 29, 23, 0.72) 0%, rgba(11, 29, 23, 0.18) 34%, rgba(11, 29, 23, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 29, 23, 0.45), rgba(11, 29, 23, 0) 70%);
}
.parish-hero-inner { padding-top: 7rem; padding-bottom: 2.5rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.88);
  text-shadow: 0 1px 12px rgba(11, 29, 23, 0.55);
  margin-bottom: 1.5rem;
}
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.parish-hero h1 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}
.parish-hero-headline {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: rgba(251, 247, 239, 0.88);
  max-width: 30ch;
  margin-bottom: 1.4rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  margin: 0;
}

.facts-bar { background: var(--ink); color: var(--paper); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  padding-block: 1.6rem;
}
.fact-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}
.fact-value { font-size: 0.95rem; color: rgba(251, 247, 239, 0.9); line-height: 1.35; }

.parish-intro { max-width: 54rem; }
.parish-intro .lede { margin-bottom: 0.75rem; }

.parish-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.dont-list { list-style: none; margin: 0; padding: 0; }
.dont-item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.dont-item:last-child { border-bottom: 1px solid var(--line); }
.dont-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: 0.15rem;
}
.dont-item h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.25rem; }
.dont-item p { font-size: 0.92rem; color: var(--ink-mute); margin: 0; }

.aside-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.8rem;
  position: sticky;
  top: 96px;
}
.section-sand .aside-card { background: var(--paper-2); }
.aside-card h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin-bottom: 0.5rem;
}
.aside-card h3 + p { margin-bottom: 1.4rem; font-size: 0.93rem; }
.aside-card p:last-child { margin-bottom: 0; }

.stay-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.stay-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.section-sand .stay-card { background: var(--paper); }
.stay-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stay-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.stay-area { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.stay-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.stay-card p { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 0.4rem; }
.stay-card .text-link { margin-top: auto; }

.parish-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.pager-link {
  padding: clamp(1.6rem, 4vw, 3rem);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background 0.25s;
}
.pager-link span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.pager-link strong { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 400; color: var(--ink); }
.pager-link:hover { background: var(--sand); }
.pager-next { text-align: right; border-left: 1px solid var(--line); }

/* ---------- Activity list ---------- */

.activity-list { list-style: none; margin: 0; padding: 0; }
.activity-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.activity-item:last-child { border-bottom: 1px solid var(--line); }
.activity-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.2rem; }
.activity-item p { font-size: 0.93rem; color: var(--ink-mute); margin: 0; max-width: 52ch; }
.activity-meta { display: flex; align-items: center; gap: 1rem; flex: none; }
.activity-meta .text-link { white-space: nowrap; }

/* ---------- Table ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--paper); }
.stay-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.stay-table th, .stay-table td { text-align: left; padding: 1rem 1.15rem; vertical-align: top; }
.stay-table thead th {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.stay-table tbody tr + tr th, .stay-table tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.stay-table th[scope="row"] { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; white-space: nowrap; }
.stay-table th[scope="row"] a { text-decoration: none; border-bottom: 1px solid transparent; }
.stay-table th[scope="row"] a:hover { border-color: currentColor; }

/* ---------- Plan page ---------- */

.essentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  margin: 0;
}
.essential { padding-block: 1.3rem; border-top: 1px solid var(--line); }
.essential dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin-bottom: 0.4rem;
}
.essential dd { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.itinerary { list-style: none; margin: 0 0 2rem; padding: 0; }
.itinerary li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.itinerary li:last-child { border-bottom: 1px solid var(--line); }
.it-day {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
}
.itinerary h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 0.35rem; }
.itinerary p { font-size: 0.95rem; color: var(--ink-mute); margin-bottom: 0.6rem; max-width: 60ch; }

.festival-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.festival-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.fest-month { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lagoon); padding-top: 0.2rem; }
.festival-list strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.festival-list p { font-size: 0.9rem; color: var(--ink-mute); margin: 0.15rem 0 0; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
}
.resource-group h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--palm);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.75rem;
}
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.resource-list a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
}
.resource-list a strong { border-bottom: 1px solid rgba(11, 29, 23, 0.25); }
.resource-list a:hover strong { border-color: var(--gold); }
.resource-list p { font-size: 0.84rem; color: var(--ink-mute); margin: 0.25rem 0 0; }
.ext { font-size: 0.8em; color: var(--lagoon); }

.official-banner {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: var(--ink);
  color: rgba(251, 247, 239, 0.8);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.official-banner h3 { color: #fff; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; margin-bottom: 0.4rem; }
.official-banner p { max-width: 46ch; font-size: 0.93rem; margin: 0; }
.official-banner .btn-primary { background: var(--gold); color: var(--ink); }
.official-banner .btn-primary:hover { background: var(--gold-soft); }

.parish-jump { max-width: 34rem; }
.parish-jump label { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.6rem; }
.jump-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.jump-row select {
  flex: 1 1 16rem;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Prose / credits ---------- */

.prose { max-width: 62rem; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin: 2rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-mute); }
.credits-list { columns: 2; gap: 2rem; font-size: 0.85rem; color: var(--ink-mute); padding-left: 1.1rem; }
.credits-list li { break-inside: avoid; margin-bottom: 0.4rem; }

/* ---------- CTA ---------- */

.cta-section { background: var(--ink); color: rgba(251, 247, 239, 0.78); }
.cta-inner { max-width: 46rem; }
.cta-inner .display { color: #fff; margin-bottom: 1.2rem; }
.cta-inner p { font-size: 1.05rem; margin-bottom: 2rem; }
.cta-inner .btn-primary { background: var(--gold); color: var(--ink); }
.cta-inner .btn-primary:hover { background: var(--gold-soft); }

.error-hero { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }
.error-hero .display { max-width: none; }
.error-hero .hero-actions { justify-content: center; }
.error-hero .btn-ghost { border-color: var(--line); color: var(--ink); }
.error-hero .btn-ghost:hover { background: var(--sand); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(251, 247, 239, 0.62); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer-brand .brand { color: var(--paper); margin-bottom: 1rem; }
.footer-brand .brand-mark { color: var(--gold-soft); }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-note { font-size: 0.76rem !important; color: rgba(251, 247, 239, 0.42); margin-top: 1rem; }
.footer-h {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-links.two-col { grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.footer-links a { font-size: 0.88rem; text-decoration: none; color: inherit; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(251, 247, 239, 0.12);
  font-size: 0.76rem;
}
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; color: var(--gold-soft); }

/* ---------- Reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .parish-grid { grid-template-columns: repeat(2, 1fr); }
  .county-grid { grid-template-columns: 1fr 1fr; }
  .county-card:last-child { grid-column: span 2; }
  .stay-type-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid .video-card:last-child { grid-column: span 2; max-width: 32rem; }
}

@media (max-width: 860px) {
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem clamp(1.15rem, 4vw, 3rem) 2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line-soft); }
  .primary-nav a { display: block; padding: 0.9rem 0; font-size: 1rem; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }

  .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-media { order: -1; }
  .parish-content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .stay-card-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .activity-item { flex-direction: column; gap: 0.75rem; }
  .essentials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .itinerary li { grid-template-columns: 1fr; gap: 0.4rem; }
  .it-day { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid .video-card:last-child { grid-column: auto; max-width: none; }
  .media-band { grid-template-columns: 1fr 1fr; }
  .media-band figure:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .parish-pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; border-left: 0; border-top: 1px solid var(--line); }
  .official-banner { flex-direction: column; align-items: flex-start; }
  .credits-list { columns: 1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .parish-grid { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .county-card:last-child { grid-column: auto; }
  .stay-type-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-links.two-col { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .dont-item { grid-template-columns: 2.2rem 1fr; gap: 0.6rem; }
  .jump-row select { flex-basis: 100%; }
}

/* ==========================================================================
   Refinement layer — ornamental edges, framed media and quieter details
   ========================================================================== */

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(70rem 40rem at 8% -8%, rgba(201, 162, 39, 0.07), transparent 60%),
    radial-gradient(60rem 36rem at 100% 10%, rgba(23, 118, 124, 0.05), transparent 55%);
}

p { text-wrap: pretty; }
h1, h2, h3, .display { text-wrap: balance; }

/* Header: a fine gold hairline and a softer bottom edge. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.75) 18%, var(--gold-soft) 50%, rgba(201, 162, 39, 0.75) 82%, transparent);
  pointer-events: none;
}
.site-header { box-shadow: 0 1px 0 rgba(201, 162, 39, 0.16), 0 18px 40px -34px rgba(11, 29, 23, 0.6); }

.brand-mark { transition: transform 0.45s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-7deg) scale(1.05); }

.header-cta {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(251, 247, 239, 0.5);
}
.header-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Kickers get a short rule, like a printed section marker. */
.kicker { display: inline-flex; align-items: center; gap: 0.65rem; }
.kicker::before {
  content: "";
  width: clamp(18px, 2.6vw, 30px);
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

/* Display type: slightly more editorial. */
.display, .hero h1, .parish-hero h1 { font-optical-sizing: auto; }
.display em { font-variation-settings: "SOFT" 40, "WONK" 1; }

/* Home hero: an inset frame with gold corner marks. */
.hero-frame {
  position: absolute;
  inset: clamp(12px, 1.8vw, 24px);
  border: 1px solid rgba(230, 199, 106, 0.4);
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) left 0 top 0 / 44px 1px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) left 0 top 0 / 1px 44px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) right 0 top 0 / 44px 1px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) right 0 top 0 / 1px 44px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) left 0 bottom 0 / 44px 1px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) left 0 bottom 0 / 1px 44px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) right 0 bottom 0 / 44px 1px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.9), rgba(230, 199, 106, 0.9)) right 0 bottom 0 / 1px 44px no-repeat;
}
.hero-inner, .hero-facts { position: relative; z-index: 1; }
.hero-facts { border-top-color: rgba(230, 199, 106, 0.4); }

/* Ornamental divider. */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: clamp(2rem, 4vw, 3rem) 1rem 0;
  color: var(--gold);
}
.ornament-line {
  display: block;
  width: clamp(56px, 17vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament-line:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.ornament svg { width: clamp(44px, 6vw, 64px); height: auto; flex: none; }

/* Section edges: a warm gradient and fine gold rules on sand bands. */
.section-sand {
  position: relative;
  background: linear-gradient(180deg, #f3e8d5 0%, var(--sand) 14%, var(--sand) 86%, #f3e8d5 100%);
  border-top: 1px solid rgba(11, 29, 23, 0.07);
  border-bottom: 1px solid rgba(11, 29, 23, 0.07);
}
.section-sand::before,
.section-sand::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
  pointer-events: none;
}
.section-sand::before { top: 6px; }
.section-sand::after { bottom: 6px; }

.section-dark {
  position: relative;
  background:
    radial-gradient(70rem 42rem at 12% 0%, rgba(42, 125, 130, 0.18), transparent 62%),
    linear-gradient(180deg, #1f3329 0%, #1a2e26 100%);
}
.section-dark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 199, 106, 0.45), transparent);
  pointer-events: none;
}

/* Inner page hero: a quiet inset frame and a warm glow. */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.6vw, 20px);
  border: 1px solid rgba(201, 162, 39, 0.24);
  pointer-events: none;
  background:
    linear-gradient(rgba(201, 162, 39, 0.7), rgba(201, 162, 39, 0.7)) left 0 top 0 / 28px 1px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.7), rgba(201, 162, 39, 0.7)) left 0 top 0 / 1px 28px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.7), rgba(201, 162, 39, 0.7)) right 0 bottom 0 / 28px 1px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.7), rgba(201, 162, 39, 0.7)) right 0 bottom 0 / 1px 28px no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -55%;
  width: min(40rem, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14), transparent 64%);
  pointer-events: none;
}
.page-hero .shell { position: relative; z-index: 1; }

/* Parish hero: the same frame, tuned for photography. */
.parish-hero::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.8vw, 22px);
  border: 1px solid rgba(230, 199, 106, 0.32);
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(230, 199, 106, 0.8), rgba(230, 199, 106, 0.8)) left 0 top 0 / 34px 1px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.8), rgba(230, 199, 106, 0.8)) left 0 top 0 / 1px 34px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.8), rgba(230, 199, 106, 0.8)) right 0 bottom 0 / 34px 1px no-repeat,
    linear-gradient(rgba(230, 199, 106, 0.8), rgba(230, 199, 106, 0.8)) right 0 bottom 0 / 1px 34px no-repeat;
}
.parish-hero-inner { position: relative; z-index: 1; }

/* Cards: a paper mat and a hairline gold frame inside the edge. */
.parish-card, .county-card, .stay-type, .stay-card, .aside-card, .icon-card {
  position: relative;
  border-color: rgba(11, 29, 23, 0.12);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow-sm);
}
.parish-card::before, .county-card::before, .stay-type::before,
.stay-card::before, .aside-card::before, .icon-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 162, 39, 0.26);
  border-radius: calc(var(--radius) - 1px);
  pointer-events: none;
  z-index: 4;
  transition: border-color 0.3s;
}
.parish-card:hover::before, .county-card:hover::before, .stay-type:hover::before,
.stay-card:hover::before, .icon-card:hover::before {
  border-color: rgba(201, 162, 39, 0.55);
}

/* Arched media with a gold offset frame. */
.split-media { position: relative; }
.split-media img {
  position: relative;
  z-index: 1;
  border-radius: 50% 50% 0 0 / 13% 13% 0 0;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.28), 0 28px 50px -40px rgba(11, 29, 23, 0.5);
}
.split-media::before {
  content: "";
  position: absolute;
  inset: -10px -10px 3.2rem 10px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 50% 50% 0 0 / 13% 13% 0 0;
  pointer-events: none;
  z-index: 0;
}

/* Media band: finer seams. */
.media-band { gap: 6px; }
.media-band figure { box-shadow: inset 0 0 0 1px rgba(230, 199, 106, 0.18); }

/* Icon cards (Kingston) — previously unstyled. */
.icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.icon-card { overflow: hidden; background-color: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.icon-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-deep); }
.icon-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.icon-card:hover .icon-card-media img { transform: scale(1.05); }
.icon-card-body { padding: 1.5rem 1.6rem 1.7rem; }
.icon-card-body .kicker { margin-bottom: 0.55rem; }
.icon-card-body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.icon-card-body > p { font-size: 0.94rem; color: var(--ink-mute); }
.icon-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.icon-links a { text-decoration: none; display: grid; gap: 0.1rem; }
.icon-link-name { font-size: 0.88rem; font-weight: 600; color: var(--palm); }
.icon-link-note { font-size: 0.8rem; color: var(--ink-mute); }
.link-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.link-list a { font-size: 0.9rem; color: var(--palm); }

/* Dark feature and CTA blocks: a framed edge and a little depth. */
.cta-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(55rem 32rem at 82% 0%, rgba(184, 146, 42, 0.16), transparent 62%), linear-gradient(180deg, #1f3329 0%, #1a2e26 100%);
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 2.4vw, 30px);
  border: 1px solid rgba(230, 199, 106, 0.28);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

.official-banner { position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(230, 199, 106, 0.22); }

/* Footer: a gold rule, a centred diamond, and a warm wash. */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(230, 199, 106, 0.22);
  background: radial-gradient(60rem 30rem at 50% 0%, rgba(184, 146, 42, 0.12), transparent 58%), linear-gradient(180deg, #1f3329 0%, #1a2e26 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 9px; height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--ink);
}

/* Tables and small details. */
.table-wrap { box-shadow: var(--shadow-sm); }
.stay-table thead th { border-bottom-color: rgba(201, 162, 39, 0.35); }
.parish-pager { border-top-color: rgba(201, 162, 39, 0.3); }

/* A restrained drop cap for the home introduction. */
.intro-copy .lede::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.5em;
  line-height: 0.8;
  padding: 0.06em 0.12em 0 0;
  color: var(--palm);
}

@media (max-width: 860px) {
  .icon-grid { grid-template-columns: 1fr; }
  .split-media::before { inset: -8px -8px 2.8rem 8px; }
  .hero-frame {
    inset: 10px;
    background-size: 28px 1px, 1px 28px, 28px 1px, 1px 28px, 28px 1px, 1px 28px, 28px 1px, 1px 28px;
  }
}

@media (max-width: 600px) {
  .kicker { gap: 0.5rem; }
  .kicker::before { width: 16px; }
  .hero-frame {
    inset: 8px;
    background-size: 20px 1px, 1px 20px, 20px 1px, 1px 20px, 20px 1px, 1px 20px, 20px 1px, 1px 20px;
  }
  .page-hero::before { inset: 8px; }
  .split-media::before { inset: -6px -6px 2.5rem 6px; }
  .ornament { padding-top: 1.75rem; }
}

/* ---------- Gentle flair: softer, warmer, more refined ---------- */
body {
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.18  0 0 0 0 0.15  0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(80rem 50rem at 12% -5%, rgba(184, 146, 42, 0.07), transparent 60%),
    radial-gradient(70rem 45rem at 100% 8%, rgba(42, 125, 130, 0.05), transparent 55%);
  background-attachment: fixed, scroll, scroll;
}

.site-header {
  background: rgba(250, 246, 238, 0.82);
  box-shadow: 0 1px 0 rgba(184, 146, 42, 0.14), 0 12px 32px -28px rgba(26, 46, 38, 0.5);
}

.shell { padding-inline: clamp(1.25rem, 4.2vw, 3.25rem); }

.display, .hero h1, .parish-hero h1 {
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -0.03em;
}

.kicker { letter-spacing: 0.19em; }

.btn {
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(26, 46, 38, 0.08);
}
.btn:hover { box-shadow: 0 6px 18px -10px rgba(26, 46, 38, 0.35); }
.btn-primary {
  background: linear-gradient(180deg, #234036, #1a2e26);
}
.btn-primary:hover { background: linear-gradient(180deg, #2a5244, #1f3a30); }

.parish-card, .county-card, .stay-type, .stay-card, .aside-card, .icon-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.25)), var(--paper);
  box-shadow: 0 1px 2px rgba(26, 46, 38, 0.04), 0 14px 32px -22px rgba(26, 46, 38, 0.32);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.parish-card:hover, .county-card:hover, .stay-type:hover, .stay-card:hover, .icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(26, 46, 38, 0.06), 0 24px 48px -24px rgba(26, 46, 38, 0.42);
}

.parish-card::before, .county-card::before, .stay-type::before,
.stay-card::before, .aside-card::before, .icon-card::before {
  border-color: rgba(184, 146, 42, 0.22);
}

.page-hero, .parish-hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.page-hero::before, .parish-hero::before {
  border-color: rgba(184, 146, 42, 0.2);
}

.section-sand {
  background: linear-gradient(180deg, #f1e6d0 0%, var(--sand) 16%, var(--sand) 84%, #f1e6d0 100%);
}

.hero-frame {
  border-color: rgba(236, 212, 138, 0.45);
}

.ornament { color: var(--gold); opacity: 0.9; }

.footer-bottom { border-top-color: rgba(236, 212, 138, 0.16); }

@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll; }
}

/* ---------- Don't-miss tag filter ---------- */
.dont-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dont-filter .chip-btn { cursor: pointer; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.tag-list li { margin: 0; }
.tag-link {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border: 1px solid rgba(251, 247, 239, 0.35);
  border-radius: 999px;
  color: rgba(251, 247, 239, 0.9);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tag-link:hover { background: rgba(251, 247, 239, 0.12); border-color: rgba(251, 247, 239, 0.6); }
.tag-link.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.filter-status { font-size: 0.82rem; color: var(--ink-mute); margin-bottom: 2rem; }

/* ---------- Eat & drink page ---------- */
.rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.rule-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3)), var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 46, 38, 0.04), 0 14px 30px -24px rgba(26, 46, 38, 0.35);
}
.rule-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}
.rule-item h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.35rem; }
.rule-item p { font-size: 0.92rem; color: var(--ink-mute); margin: 0; }

.spot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.spot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.7rem 1.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3)), var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 46, 38, 0.04), 0 16px 34px -26px rgba(26, 46, 38, 0.38);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.spot-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(184, 146, 42, 0.16);
  border-radius: 4px;
  pointer-events: none;
}
.spot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 4px rgba(26, 46, 38, 0.06), 0 26px 46px -26px rgba(26, 46, 38, 0.45);
  border-color: rgba(184, 146, 42, 0.35);
}
.spot-num {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(184, 146, 42, 0.28);
  line-height: 1;
}
.spot-card .kicker { margin: 0; }
.spot-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.spot-card h3 a { text-decoration: none; color: var(--ink); }
.spot-card h3 a:hover { color: var(--lagoon); }
.spot-card p { font-size: 0.9rem; color: var(--ink-mute); margin: 0; flex: 1; }
.spot-card-alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55)), var(--paper); }

.street-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.street-item {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.4rem;
  padding: 1.6rem 1.6rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)), var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 46, 38, 0.04), 0 14px 30px -24px rgba(26, 46, 38, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.street-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(26, 46, 38, 0.06), 0 24px 42px -26px rgba(26, 46, 38, 0.44);
}
.street-tag {
  align-self: start;
  justify-self: start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  white-space: nowrap;
}
.street-body h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 0.35rem; }
.street-body p { font-size: 0.92rem; color: var(--ink-mute); margin: 0 0 0.6rem; }
.street-body .street-where { font-size: 0.82rem; color: var(--ink-soft); }
.street-where span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--lagoon);
}
.street-links { margin-top: 0.8rem; }
.street-go { grid-column: 2; justify-self: start; }

.market-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35)), var(--paper);
  transition: background 0.3s;
}
.market-item:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)), var(--paper); }
.market-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.3rem; }
.market-item h3 a { text-decoration: none; color: var(--ink); }
.market-item h3 a:hover { color: var(--lagoon); }
.market-item p { font-size: 0.92rem; color: var(--ink-mute); margin: 0; max-width: 62ch; }
.market-item .text-link { flex: none; white-space: nowrap; }

.parish-pick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
}
.parish-pick {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 1.3rem 1.35rem 1.4rem;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3)), var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 46, 38, 0.04), 0 12px 26px -22px rgba(26, 46, 38, 0.32);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.parish-pick:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 146, 42, 0.4);
  box-shadow: 0 2px 4px rgba(26, 46, 38, 0.06), 0 22px 38px -24px rgba(26, 46, 38, 0.42);
}
.parish-pick-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon);
}
.parish-pick-dish { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.parish-pick-note { font-size: 0.83rem; color: var(--ink-mute); }

.eat-list a.eat-link {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.eat-list a.eat-link:hover { color: var(--lagoon); }

.activity-item h3 a { text-decoration: none; color: var(--ink); }
.activity-item h3 a:hover { color: var(--lagoon); }

@media (max-width: 1100px) {
  .spot-grid { grid-template-columns: repeat(2, 1fr); }
  .parish-pick-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .rules-list { grid-template-columns: 1fr; }
  .street-grid { grid-template-columns: 1fr; }
  .parish-pick-grid { grid-template-columns: repeat(2, 1fr); }
  .market-item { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
@media (max-width: 560px) {
  .spot-grid { grid-template-columns: 1fr; }
  .parish-pick-grid { grid-template-columns: 1fr; }
  .street-item { grid-template-columns: 1fr; gap: 0.9rem; }
  .street-go { grid-column: 1; }
}
