/* ==========================================================================
   The School of Ancient Crafts — base styles
   Palette: slate, sphagnum, moss, gorse, birch
   Display type: Bricolage Grotesque, body: Atkinson Hyperlegible
   ========================================================================== */

:root {
  /* Brand palette: Slate & Gorse (colours from the Scottish outdoors) */
  --slate: #2f3b44;
  --slate-deep: #1c252c;
  --slate-ink: #1f272d;
  --slate-tint: #e6e9dc;
  --sphagnum: #d9dcc6;
  --sphagnum-mid: #c3caa8;
  --sphagnum-deep: #b8bf9f;
  --birch: #f2f1ea;
  --moss: #4f6a35;
  --moss-deep: #3d5228;
  --gorse: #e3b23c;
  --gorse-deep: #cf9f2c;
  /* Dots and dotted borders: dark enough to read on sphagnum */
  --rule: #7d866b;

  /* Roles */
  --bg: var(--sphagnum);
  --surface: var(--birch);
  --text: var(--slate-ink);
  --text-muted: #47515a;
  --line: var(--sphagnum-deep);
  --field-border: #6b7468;
  --primary: var(--slate);
  --primary-hover: var(--slate-deep);
  --accent: var(--gorse);
  --on-accent: var(--slate-ink);
  --focus: var(--slate);
  --on-dark: var(--birch);

  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 6px;
  /* Ornament: dotted rules echo the rings in the logo. Set --dot-color to recolour. */
  --dot-color: var(--rule);

  --shadow: 0 1px 2px rgb(var(--slate-deep-rgb) / 0.08), 0 8px 24px rgb(var(--slate-deep-rgb) / 0.1);

  /* Colour channels, for tints: rgb(var(--slate-deep-rgb) / 0.5) */
  --slate-deep-rgb: 28 37 44;
  --slate-rgb: 47 59 68;
  --moss-deep-rgb: 61 82 40;
  --birch-rgb: 242 241 234;
  --white-rgb: 255 255 255;
  --sphagnum-rgb: 217 220 198;
  --on-dark-rgb: 242 241 234;
  --shade-rgb: 0 0 0;
  --backdrop-rgb: 20 24 28;
  --rule-rgb: 125 134 107;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--slate-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--moss-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.page-hero :focus-visible,
.bg-slate :focus-visible,
.bg-moss :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--on-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--slate-ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

p,
li {
  text-wrap: pretty;
}
p {
  margin: 0 0 1.1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip:hover {
  color: var(--on-dark);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--slate);
  color: var(--on-dark);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}




.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.4em;
  border-radius: 3px;
  border: 2px solid transparent;
  font: 700 1rem/1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
.btn-primary {
  background: var(--slate);
  color: var(--on-dark);
}
.btn-primary:hover {
  background: var(--slate-deep);
  color: var(--on-dark);
}


.btn-ghost {
  border-color: currentColor;
  color: var(--slate-deep);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--on-dark);
}
.btn-light {
  background: var(--birch);
  color: var(--slate-ink);
}
.btn-light:hover {
  background: var(--on-dark);
  color: var(--slate-ink);
}
.btn-outline-light {
  border-color: var(--on-dark);
  color: var(--on-dark);
}
.btn-outline-light:hover {
  background: var(--on-dark);
  color: var(--slate-ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.2s;
}
.link-arrow:hover::after {
  transform: translateX(4px);
}

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


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(var(--white-rgb) / 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--slate-ink);
}
.brand img {
  width: 54px;
  height: 54px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}
.nav-links a {
  display: block;
  padding: 0.6em 0.9em;
  border-radius: 3px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--slate-tint);
  color: var(--slate-ink);
}
.nav-links a[aria-current="page"] {
  color: var(--slate);
  box-shadow: inset 0 -2px 0 var(--slate);
  border-radius: 0;
}
.nav .btn {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--slate);
  color: var(--on-dark);
  cursor: pointer;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 1120px) {
  .nav-links {
    display: flex;
  }
  .nav .btn {
    display: inline-flex;
    margin-left: 0.75rem;
  }
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem var(--gutter) 1.25rem;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.mobile-nav li a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate-ink);
  text-decoration: none;
}
.mobile-nav .btn {
  width: 100%;
}
@media (min-width: 1120px) {
  .mobile-nav,
.mobile-nav.open {
    display: none;
  }
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Clear at the top so the photo keeps its colour; dark only behind the text.
     Worst case (text over a pure white patch of photo) stays above 3:1 for the
     headline and 4.5:1 for the intro. */
  background:
    linear-gradient(180deg, transparent 0%, rgb(var(--slate-deep-rgb) / 0.25) 35%, rgb(var(--slate-deep-rgb) / 0.6) 70%, rgb(var(--slate-deep-rgb) / 0.85) 100%),
    linear-gradient(90deg, rgb(var(--slate-deep-rgb) / 0.75) 0%, rgb(var(--slate-deep-rgb) / 0.55) 45%, transparent 80%);
}
@media (max-width: 720px) {
  /* Text runs the full width on phones, so the tint has to come from below */
  .hero::before {
    background:
      linear-gradient(180deg, rgb(var(--slate-deep-rgb) / 0.3) 0%, rgb(var(--slate-deep-rgb) / 0.66) 28%, rgb(var(--slate-deep-rgb) / 0.84) 55%, rgb(var(--slate-deep-rgb) / 0.92) 100%);
  }
}
.hero .wrap {
  padding-block: clamp(4rem, 12vh, 7rem) clamp(3rem, 8vh, 5rem);
}
.hero h1 {
  color: var(--on-dark);
  max-width: 14ch;
}

.hero .lede {
  color: var(--on-dark);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--on-dark);
  background: var(--slate-ink);
  overflow: hidden;
}
.page-hero .hero-media img {
  opacity: 0.45;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(var(--slate-deep-rgb) / 0.9) 0%, rgb(var(--slate-deep-rgb) / 0.4) 100%);
}
.page-hero .wrap {
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 7vw, 5rem);
}
.page-hero h1 {
  color: var(--on-dark);
  max-width: 18ch;
}

.page-hero .lede {
  color: var(--on-dark);
}
.page-hero.plain {
  background: var(--slate);
}
.page-hero.plain::before {
  background:
    radial-gradient(circle at 85% 20%, rgb(var(--on-dark-rgb) / 0.12), transparent 40%),
    linear-gradient(135deg, var(--slate) 0%, var(--slate-deep) 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--on-dark);
}
.breadcrumb a {
  color: var(--on-dark);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4em;
  opacity: 0.6;
}

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

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section-tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head h2 {
  margin: 0;
  max-width: 18ch;
}
/* Heading and intro sit on the same last line of text */
.section-head {
  align-items: last baseline;
}
.section-head > p {
  margin: 0;
}

.bg-surface {
  background: var(--surface);
}
.bg-sphagnum {
  background: var(--sphagnum-mid);
}
.bg-slate {
  background: var(--slate);
  color: var(--on-dark);
}
.bg-moss {
  background: var(--moss);
  color: var(--on-dark);
}

.bg-slate h2,
.bg-moss h2,
.bg-slate h3,
.bg-moss h3 {
  color: var(--on-dark);
}

.bg-slate .lede,
.bg-moss .lede {
  color: var(--on-dark);
}

/* Split: text + image */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split.reverse > :first-child {
    order: 2;
  }
}
.split-media {
  position: relative;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}


/* Question → Research → … method */
.method {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px) {
  .method {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .method {
    grid-template-columns: repeat(5, 1fr);
  }
}
.method li {
  counter-increment: step;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgb(var(--slate-deep-rgb) / 0.25);
  border: 1px solid rgb(var(--on-dark-rgb) / 0.18);
}
.method li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gorse);
  margin-bottom: 0.75rem;
}
.method strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--on-dark);
  margin-bottom: 0.25rem;
}
.method span {
  font-size: 0.95rem;
  color: var(--on-dark);
}

/* Stats */





/* --------------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------------- */

/* Cards: used by the room hire pages */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: var(--shadow);
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sphagnum-mid);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .link-arrow {
  margin-top: auto;
}

/* Projects index: one row per project */
.project-rows {
  display: grid;
}
.project-row {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  background-image: radial-gradient(circle, var(--slate) 1.6px, transparent 2.2px);
  background-size: 11px 6px;
  background-repeat: repeat-x;
}
.project-row:first-child {
  background-image: none;
  padding-top: 0;
}
.project-row-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sphagnum-mid);
}
.project-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-row-meta {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--moss-deep);
}
.project-row h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 0.5rem;
}
.project-row h3 a {
  color: inherit;
  text-decoration: none;
}
.project-row h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.project-row h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.project-row-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--slate);
}
.project-row-body p:last-child {
  color: var(--text-muted);
  max-width: 52ch;
}
@media (min-width: 760px) {
  .project-row {
    grid-template-columns: 5fr 7fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
  }
  .project-row:nth-child(even) {
    grid-template-columns: 7fr 5fr;
  }
  .project-row:nth-child(even) .project-row-media {
    order: 2;
  }
}

/* Image-less fallback tile */
.media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgb(var(--on-dark-rgb) / 0.2), transparent 55%),
    var(--fallback, var(--moss));
}
.media-fallback img {
  width: 38%;
  height: auto;
  opacity: 0.9;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Booking CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--moss);
  color: var(--on-dark);
  display: grid;
}
@media (min-width: 880px) {
  .cta-band {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.cta-band-body {
  padding: clamp(2rem, 5vw, 4rem);
}
.cta-band h2 {
  color: var(--on-dark);
}

.cta-band p {
  color: var(--on-dark);
  max-width: 48ch;
}
.cta-band-media {
  min-height: 260px;
  position: relative;
}
.cta-band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.5rem;
}
.cta-band-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.cta-band-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--rule);
}

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */




/* --------------------------------------------------------------------------
   Prose / project detail
   -------------------------------------------------------------------------- */

.detail {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 960px) {
  .detail {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .facts {
    position: sticky;
    top: 100px;
  }
}
.prose {
  max-width: 56ch;
}
.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: 2.2rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}

.facts {
  align-self: start;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.facts h3 {
  font-size: 1.25rem;
}
.facts dl {
  margin: 0 0 1.5rem;
}
.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.facts dd {
  margin: 0.2rem 0 1rem;
  font-weight: 600;
}

/* Placeholder content — remove the class once real copy is in */
.placeholder {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border: 3px dotted var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.placeholder::before {
  content: attr(data-label);
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  background: var(--sphagnum-mid);
  color: var(--slate-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.placeholder p:last-child {
  margin-bottom: 0;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
  }
  .gallery .wide {
    grid-column: span 2;
  }
  .gallery .tall {
    grid-row: span 2;
  }
  .gallery .big {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sphagnum-mid);
  aspect-ratio: 1;
}
@media (min-width: 720px) {
  .gallery-item {
    aspect-ratio: auto;
  }
}
.gallery-item button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item button:hover img {
  transform: scale(1.04);
}
.gallery-item.empty {
  display: grid;
  place-items: center;
  border: 3px dotted var(--rule);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}
.gallery-item.empty svg {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.4rem;
  color: var(--rule);
}

.lightbox {
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--slate-deep);
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgb(var(--backdrop-rgb) / 0.85);
}
.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}
.lightbox figcaption {
  padding: 0.75rem 1rem;
  color: var(--birch);
  font-size: 0.9rem;
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(var(--on-dark-rgb) / 0.9);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Partners / sponsors */
.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .partners {
    grid-template-columns: repeat(4, 1fr);
  }
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 130px;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  overflow-wrap: anywhere;
}
.partner .logo-slot {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 140px;
  height: 56px;
  border: 3px dotted var(--rule);
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.partner span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.partner small {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.partner-role {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss-deep);
}

.project-nav {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .project-nav {
    grid-template-columns: 1fr 1fr;
  }
}
.project-nav a {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--slate-ink);
}
.project-nav a:hover {
  border-color: var(--slate);
}
.project-nav small {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.project-nav b {
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.project-nav .next {
  text-align: right;
}

/* --------------------------------------------------------------------------
   Timeline (Our Story)
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 6px;
  background: radial-gradient(circle, var(--rule) 1.6px, transparent 2.2px) 50% 0 / 6px 11px repeat-y;
}
.timeline li {
  position: relative;
  padding: 0 0 2.5rem 3rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px dotted var(--slate);
}
.timeline li.now::before {
  border-color: var(--gorse);
}
.timeline time {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate);
  line-height: 1.2;
}
.timeline h3 {
  font-size: 1.35rem;
  margin: 0.2rem 0 0.4rem;
}
.timeline p {
  color: var(--text-muted);
  max-width: 60ch;
}
@media (min-width: 880px) {
  .timeline::before {
    left: calc(50% - 3px);
  }
  .timeline li {
    width: 50%;
    padding: 0 3rem 3rem 0;
    text-align: right;
  }
  .timeline li::before {
    left: auto;
    right: -10px;
  }
  .timeline li:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 3rem 3rem;
    text-align: left;
  }
  .timeline li:nth-child(even)::before {
    right: auto;
    left: -10px;
  }
  .timeline li p {
    margin-left: auto;
  }
  .timeline li:nth-child(even) p {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.team {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .team {
    grid-template-columns: repeat(4, 1fr);
  }
}
.person img,
.person .avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  filter: grayscale(1);
}
.person .avatar {
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 3rem;
  filter: none;
}
.person h3 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}
.person .role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin-bottom: 0.6rem;
}
.person p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Rooms + form (Room Booking)
   -------------------------------------------------------------------------- */

.rooms {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 880px) {
  .rooms {
    grid-template-columns: repeat(3, 1fr);
  }
}
.room {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.room .card-media {
  aspect-ratio: 16 / 10;
}
.room-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.room ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.room li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.room li span:first-child {
  color: var(--text-muted);
}
.room li span:last-child {
  font-weight: 700;
}
.room .btn {
  margin-top: auto;
}

.tbc {
  display: inline-block;
  padding: 0 0.4em;
  border-radius: 4px;
  background: var(--sphagnum-mid);
  color: var(--slate-ink);
  font-size: 0.85em;
}

.form-email {
  align-content: start;
  background: var(--birch);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.form-email p {
  margin: 0;
}
.form,
.form-email {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form {
    grid-template-columns: 1fr 1fr;
  }
  .form .full {
    grid-column: 1 / -1;
  }
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--field-border);
  border-radius: 3px;
  background: var(--on-dark);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgb(var(--slate-rgb) / 0.25);
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
.info-list li {
  display: flex;
  gap: 1rem;
}
.info-list svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--slate);
  margin-top: 2px;
}
.info-list b {
  display: block;
}







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

.site-footer {
  background: var(--slate-deep);
  color: var(--birch);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-brand img {
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
}
.footer-brand p {
  max-width: 34ch;
  color: rgb(var(--birch-rgb) / 0.8);
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sphagnum-deep);
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer li a {
  display: inline-block;
  padding-block: 0.3rem;
}
.site-footer a:hover {
  text-decoration: underline;
  color: var(--on-dark);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  --dot-color: rgb(var(--birch-rgb) / 0.3);
  font-size: 0.85rem;
  color: rgb(var(--birch-rgb) / 0.65);
}
.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgb(var(--birch-rgb) / 0.3);
}
.socials svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Utilities + motion
   -------------------------------------------------------------------------- */

.center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:active {
    transform: none;
  }
  .card:hover .card-media img,
  .feature:hover > img,
  .gallery-item button:hover img,
  .link-arrow:hover::after {
    transform: none;
  }
}

.req {
  color: var(--moss-deep);
}

/* Where our work lives now */
.places {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 880px) {
  .places {
    grid-template-columns: repeat(3, 1fr);
  }
}
.places li {
  padding: 1.5rem 0 0;
  --dot-color: var(--slate);
}
.places b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate-ink);
  margin-bottom: 0.3rem;
}
.places span {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Home: statement, feature grid, photo band
   -------------------------------------------------------------------------- */

.statement {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .statement {
    grid-template-columns: 1.6fr 1fr;
    gap: 5rem;
    align-items: end;
  }
}
.statement-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--slate-ink);
}
.statement-text em {
  font-style: normal;
  color: var(--slate);
  text-decoration: underline;
  text-decoration-color: var(--gorse);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
}
.statement-aside {
  color: var(--text-muted);
  padding-top: 1.5rem;
  color: var(--text-muted);
}
.statement-aside {
  --dot-color: var(--slate);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: repeat(2, minmax(260px, 1fr));
  }
  .feature-lead {
    grid-row: span 2;
  }
}
.feature {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--on-dark);
  text-decoration: none;
  background: var(--slate-ink);
}
.feature > img,
.feature > .media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.feature:hover > img {
  transform: scale(1.03);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgb(var(--slate-deep-rgb) / 0.9) 100%);
}
.feature-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.feature-body h3 {
  color: var(--on-dark);
  margin: 0;
}
.feature-body p {
  margin: 0.6rem 0 0;
  max-width: 46ch;
  color: var(--on-dark);
}
.feature:hover {
  color: var(--on-dark);
}
.feature-lead {
  min-height: 420px;
}
.feature-lead h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.photo-band {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 70vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
}
.photo-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(var(--moss-deep-rgb) / 0.88) 0%, rgb(var(--moss-deep-rgb) / 0.35) 65%, transparent 100%);
}
.photo-band .wrap {
  padding-block: clamp(3rem, 8vw, 5rem);
}
.photo-band-text {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}
.photo-band :focus-visible {
  outline-color: var(--on-dark);
}

/* --------------------------------------------------------------------------
   Ornaments: dotted rules and the Celtic knot from the logo
   -------------------------------------------------------------------------- */

/* The knot is a mask, so it takes whatever colour `background` gives it. */
.knot {
  display: inline-block;
  width: 44px;
  aspect-ratio: 128 / 130;
  background: currentColor;
  -webkit-mask: url("../knot.svg") center / contain no-repeat;
  mask: url("../knot.svg") center / contain no-repeat;
}

/* A row of dots along the top edge. The gradient is declared here, not as a
   token, so --dot-color resolves on each element. */
.ornament::before,
.ornament::after,
.statement-aside,
.places li,
.footer-base {
  background-image: radial-gradient(circle, var(--dot-color) 1.6px, transparent 2.2px);
  background-size: 11px 6px;
  background-repeat: repeat-x;
  background-position: 0 0;
}


.ornament {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--slate);
  --dot-color: var(--rule);
  margin-block: 0 clamp(2rem, 4vw, 3rem);
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 6px;
}
.ornament.short {
  max-width: 320px;
  margin-inline: auto;
}

/* Large faint knot behind dark sections */
.bg-slate,
.page-hero,
.cta-band,
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.bg-slate::after,
.page-hero::after,
.cta-band-body::after,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  aspect-ratio: 128 / 130;
  background: var(--on-dark);
  -webkit-mask: url("../knot.svg") center / contain no-repeat;
  mask: url("../knot.svg") center / contain no-repeat;
}
.bg-slate::after {
  width: clamp(280px, 38vw, 520px);
  right: -6%;
  top: -10%;
  opacity: 0.07;
}
.page-hero::after {
  width: clamp(220px, 30vw, 420px);
  right: -4%;
  bottom: -18%;
  opacity: 0.1;
}
.cta-band-body {
  position: relative;
  isolation: isolate;
}
.cta-band-body::after {
  width: 260px;
  right: -60px;
  bottom: -70px;
  opacity: 0.08;
}
.site-footer::after {
  width: 360px;
  right: -80px;
  top: -60px;
  opacity: 0.04;
  background: var(--sphagnum-mid);
}

/* Dotted ring around the brand stamp, like the logo's outer ring */


/* Section labels: dotted lead-in instead of a solid dash */


.places-head {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Brief additions: areas, get involved, booking, volunteer
   -------------------------------------------------------------------------- */






.areas {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 880px) {
  .areas {
    grid-template-columns: repeat(3, 1fr);
  }
}
.areas {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.areas li {
  padding-top: 1.5rem;
  background-image: radial-gradient(circle, var(--slate) 1.6px, transparent 2.2px);
  background-size: 11px 6px;
  background-repeat: repeat-x;
}
.areas h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 0.3em;
}
.areas p {
  color: var(--text-muted);
}

.involve-line {
  max-width: 30ch;
  margin: 1rem auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--slate-ink);
}
.involve-line a {
  color: var(--slate);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* Pricing table */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.pricing {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricing th,
.pricing td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.pricing tr:last-child th,
.pricing tr:last-child td {
  border-bottom: 0;
}
.pricing thead th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--sphagnum-mid);
}
.pricing tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate-ink);
  white-space: nowrap;
}
.pricing small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
}
.pricing .price {
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .pricing thead {
    display: none;
  }
  .pricing tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  .pricing tr:last-child {
    border-bottom: 0;
  }
  .pricing th,
.pricing td {
    padding: 0;
    border: 0;
  }
  .pricing td:not(.price) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .pricing .price {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Booking calendar placeholder and embed */
.calendar-slot,
.video-slot {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 3px dotted var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.calendar-slot svg,
.video-slot svg {
  width: 36px;
  height: 36px;
  color: var(--slate);
}
.calendar-slot p,
.video-slot p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}
.calendar-slot b,
.video-slot b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--slate-ink);
  margin-bottom: 0.3rem;
}
.calendar-intro {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 60ch;
}

.calendar-embed {
  width: 100%;
  height: 800px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--on-dark);
}

.gallery-mini {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .gallery-mini {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 160px;
  }
  .split .gallery-mini {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

/* Community time slots */
.slots {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 880px) {
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
}
.slots li {
  display: grid;
  gap: 0.3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgb(var(--shade-rgb) / 0.18);
  border: 1px solid rgb(var(--on-dark-rgb) / 0.2);
}
.slots b {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--on-dark);
}
.slot-time {
  font-weight: 700;
  color: var(--birch);
}
.slots-note {
  margin-top: 1.5rem;
  color: var(--on-dark);
}

/* Numbered steps and checklists */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 3px dotted var(--slate);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--slate);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.checklist li {
  position: relative;
  padding-left: 1.75rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 3px dotted var(--slate);
}

.flows {
  display: grid;
  gap: 1rem;
}
@media (min-width: 880px) {
  .flows {
    grid-template-columns: repeat(2, 1fr);
  }
}
.flow {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.flow h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}
.flow p:last-child {
  margin-bottom: 0;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}
a svg {
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.05em;
}

/* Room cards on room hire */
.room.card .room-body h3 a {
  color: inherit;
  text-decoration: none;
}
.room.card .room-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.room.card .link-arrow {
  margin-top: auto;
  color: var(--slate-deep);
}

/* Volunteer form */
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
fieldset.field legend {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.checks {
  display: grid;
  gap: 0.5rem;
}
.checks-days {
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}
.checks label,
.check-consent label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  min-height: 32px;
  cursor: pointer;
}
.checks input,
.check-consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  flex: none;
  accent-color: var(--slate);
}
.optional {
  font-weight: 400;
  color: var(--text-muted);
}
.form-status {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--slate-deep);
}

/* Footer additions */
.footer-funders {
  margin-top: 3rem;
}
.footer-funders ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-base a {
  color: var(--birch);
  text-decoration: underline;
}

/* About: logo and missing trustee photo */


.person .avatar {
  flex-direction: column;
  gap: 0.25rem;
}
.person .avatar small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

/* Grid children may shrink below their content (keeps tables inside phones) */
.split > *,
.detail > * {
  min-width: 0;
}
@media (max-width: 600px) {
  .pricing tr {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .pricing tbody th,
.pricing .price {
    white-space: normal;
  }
}
.checks label,
.check-consent label {
  font-weight: 400;
  font-size: 1rem;
  margin: 0;
  align-items: center;
}
.field .checks input,
.check-consent input {
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}

/* Year and place under a project title (replaces the label above it) */
.hero-meta {
  margin: 1.25rem 0 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--birch);
}

/* Line the area links up along the bottom */
.areas li {
  display: flex;
  flex-direction: column;
}
.areas li .link-arrow {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Audit fixes: utilities that replace inline styles, reflow, tap targets
   -------------------------------------------------------------------------- */

.lede-narrow {
  max-width: 44ch;
}
.split-top {
  align-items: start;
}
.btn-block {
  width: 100%;
}
.wrap-narrow {
  max-width: 760px;
}
.lightbox-figure {
  margin: 0;
}
.fallback-slate { --fallback: var(--slate); }
.fallback-moss { --fallback: var(--moss); }
.fallback-moss-deep { --fallback: var(--moss-deep); }
.fallback-deep { --fallback: var(--slate-deep); }

/* Long emails and URLs wrap instead of pushing the page wide at large text sizes */
a[href^="mailto:"],
.info-list a,
.link-list a,
.footer-base a,
.pricing th,
.pricing td,
.room li span,
.facts dd {
  overflow-wrap: anywhere;
}

/* Larger tap areas for small standalone links */
.breadcrumb a,
.info-list a,
.link-list a,
.footer-base a,
.check-consent a {
  display: inline-block;
  padding-block: 0.3rem;
}

/* Fewer lone words on the last line */
dd,
td,
small,
figcaption,
.lede {
  text-wrap: pretty;
}

/* Browser surfaces in the palette */
::selection {
  background: rgb(var(--slate-rgb) / 0.25);
  color: var(--slate-ink);
}
input,
textarea {
  caret-color: var(--slate);
}
.pricing .price,
.slot-time {
  font-variant-numeric: tabular-nums;
}

/* Steps and booking routes shrink and hyphenate long words at large text sizes */
.steps li {
  grid-template-columns: 2.25rem minmax(0, 1fr);
}
.flows {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 880px) {
  .flows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.steps li,
.flow,
.checklist li {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Long words in headings break with a hyphen rather than overflow at large text sizes */
h1,
h2,
h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Gorse call-to-action: the one bright colour, saved for booking */
.btn-accent {
  background: var(--gorse);
  color: var(--on-accent);
}
.btn-accent:hover {
  background: var(--gorse-deep);
  color: var(--on-accent);
}
/* On dark sections the focus ring switches to gorse */
.hero :focus-visible,
.page-hero :focus-visible,
.bg-slate :focus-visible,
.bg-moss :focus-visible,
.cta-band :focus-visible,
.photo-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gorse);
}

/* Braidwood Centre exterior photo */
.centre-photo {
  margin: 0;
}
.centre-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
