:root {
  --paper: #FBF6F0;
  --clay: #F2E7DC;
  --ink: #2A211C;
  --flame: #C8582E;
  --stone: #8A7A6E;
  --shell: #FFFFFF;
  --flame-hover: #A8451F;
  --clay-hover: #E7D7C7;
  --hairline: 1px solid rgba(138, 122, 110, .32);
  --radius: 4px 18px 4px 18px;
  --gap: 18px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.68;
  min-height: 100vh;
}

body:has(.cookie-bar) {
  padding-bottom: 9.5rem;
}

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

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

a:hover {
  color: var(--flame-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid #C8582E;
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.7em;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.28rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

small {
  font-size: .86rem;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  border-radius: 4px 18px 4px 18px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
  color: var(--paper);
}

/* Header */
.nav-bar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: var(--hairline);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  grid-column: span 8;
  justify-self: end;
  background: var(--clay);
  color: var(--ink);
  border: var(--hairline);
  border-radius: 4px 18px 4px 18px;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.nav-links {
  grid-column: span 8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--flame);
}

.nav-links .btn-pale {
  padding: 0.45rem 0.85rem;
}

/* Page shell */
.page-shell {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.2rem 0 3.4rem;
}

.headblock {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: stretch;
  margin-bottom: 0.4rem;
}

.headblock-copy {
  grid-column: span 8;
  background: var(--clay);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(42, 33, 28, .06);
  padding: 1.7rem 1.8rem 1.85rem;
}

.headblock-visual {
  grid-column: span 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--clay);
  box-shadow: 0 1px 0 rgba(42, 33, 28, .06);
  min-height: 220px;
}

.headblock-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.tagline-chip {
  display: inline-block;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 0.85rem;
}

.headblock-copy .lead,
.lead {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.btn-solid,
.btn-line,
.btn-pale {
  display: inline-block;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 4px 18px 4px 18px;
  padding: 0.62rem 1.05rem;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
}

.btn-solid {
  background: #C8582E;
  color: #FBF6F0;
  border-color: #C8582E;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #A8451F;
  border-color: #A8451F;
  color: #FBF6F0;
}

.btn-solid:visited {
  color: #FBF6F0;
}

.btn-line {
  background: transparent;
  color: #2A211C;
  border-color: #2A211C;
}

.btn-line:hover,
.btn-line:focus-visible {
  background: #2A211C;
  color: #FBF6F0;
}

.btn-line:visited {
  color: #2A211C;
}

.btn-line:hover:visited {
  color: #FBF6F0;
}

.btn-pale {
  background: #F2E7DC;
  color: #2A211C;
  border-color: #F2E7DC;
}

.btn-pale:hover,
.btn-pale:focus-visible {
  background: #E7D7C7;
  color: #2A211C;
}

.btn-pale:visited {
  color: #2A211C;
}

/* Bento tiles */
.bento {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  margin-top: 0.15rem;
}

.tile,
.tile-wide,
.tile-tall,
.tile-flame,
.tile-quiet,
.prog-card,
.prog-meta,
.case-block,
.case-facts,
.note-row,
.faq-item {
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(42, 33, 28, .06);
}

.tile,
.tile-wide,
.tile-tall,
.tile-quiet,
.prog-card,
.case-block,
.note-row {
  background: var(--clay);
  color: var(--ink);
  padding: 1.35rem 1.45rem 1.5rem;
}

.tile {
  grid-column: span 4;
}

.tile-wide {
  grid-column: span 8;
}

.tile-tall {
  grid-column: span 4;
}

.tile-flame {
  grid-column: span 4;
  background: var(--flame);
  color: var(--paper);
  padding: 1.35rem 1.45rem 1.5rem;
}

.tile-flame h2,
.tile-flame h3,
.tile-flame p,
.tile-flame li,
.tile-flame a {
  color: var(--paper);
}

.tile-flame a:hover {
  color: var(--paper);
}

.tile-flame .btn-pale {
  color: #2A211C;
}

.tile-flame .btn-pale:hover {
  color: #2A211C;
}

.tile-quiet {
  grid-column: span 4;
  background: var(--shell);
  border: var(--hairline);
}

.tile img,
.tile-wide img,
.tile-tall img {
  width: 100%;
  border-radius: 3px 14px 3px 14px;
  margin-bottom: 0.7rem;
}

.tile-photo {
  padding: 0;
  overflow: hidden;
  min-height: 220px;
}

.tile-photo img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  border-radius: var(--radius);
}

.tile ul,
.tile-flame ul,
.tile-quiet ul,
.tile-wide ul {
  padding-left: 1.1em;
}

.tile-flame li + li {
  margin-top: 0.45rem;
}

/* Programmes */
.prog-card {
  grid-column: span 8;
}

.prog-meta {
  grid-column: span 4;
  background: var(--shell);
  border: var(--hairline);
  padding: 1.35rem 1.45rem 1.5rem;
}

.prog-meta dl {
  margin: 0;
}

.prog-meta dt {
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.85rem;
}

.prog-meta dt:first-child {
  margin-top: 0;
}

.prog-meta dd {
  margin: 0.15rem 0 0;
}

/* Case blocks */
.case-block {
  grid-column: span 8;
}

.case-facts {
  grid-column: span 4;
  background: var(--shell);
  border: var(--hairline);
  padding: 1.35rem 1.45rem 1.5rem;
}

.case-facts p,
.case-facts li {
  margin: 0 0 0.55rem;
}

.case-facts strong {
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 0.12rem;
}

/* Steps */
.step-row {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.55rem 0.8rem;
  margin: 0 0 1rem;
  padding: 0;
  counter-increment: step;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step-row::before {
  content: counter(step);
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--flame);
  line-height: 1.4;
}

.step-row p {
  margin: 0;
}

/* FAQ */
.faq-item {
  background: var(--shell);
  border: var(--hairline);
  padding: 1rem 1.15rem 1.15rem;
  margin: 0 0 0.75rem;
}

.faq-q {
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.faq-a {
  margin: 0;
}

/* Notes */
.note-row {
  grid-column: span 8;
}

.note-row time {
  display: block;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.35rem;
}

/* Forms */
.form-field {
  margin: 0 0 1rem;
}

.form-field label {
  display: block;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: .86rem;
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--shell);
  border: var(--hairline);
  border-radius: 4px 12px 4px 12px;
  padding: 0.55rem 0.7rem;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input[type="checkbox"] {
  width: auto;
  margin-right: 0.45rem;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.consent-row label {
  font-weight: 400;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: .95rem;
}

.field-error {
  color: var(--flame);
  font-size: .86rem;
  margin: 0.3rem 0 0;
}

.form-summary {
  background: var(--shell);
  border: 1px solid var(--flame);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* Footer */
footer {
  background: var(--clay);
  border-top: var(--hairline);
  padding: 2.2rem 0 1.4rem;
  margin-top: 0.5rem;
}

.foot-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.foot-cols {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}

.foot-cols h2,
.foot-map h2 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.foot-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-cols li {
  margin: 0 0 0.35rem;
}

.foot-cols a,
.foot-legal a {
  color: var(--ink);
  text-decoration: none;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: .92rem;
}

.foot-cols a:hover,
.foot-legal a:hover {
  color: var(--flame);
}

.foot-map {
  grid-column: span 4;
}

.foot-map iframe {
  border: 0;
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 0.8rem;
}

.foot-map address {
  font-style: normal;
  margin-bottom: 0.6rem;
}

.foot-legal {
  grid-column: 1 / -1;
  border-top: var(--hairline);
  padding-top: 1rem;
  margin-top: 0.4rem;
  font-size: .86rem;
  color: var(--ink);
}

.foot-legal p {
  margin: 0 0 0.45rem;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 1.4rem));
  background: var(--clay);
  color: var(--ink);
  border-top: var(--hairline);
  border: var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(42, 33, 28, .06);
  z-index: 80;
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: .95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Motion */
.lift-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

.js .lift-in {
  opacity: 0;
  transform: translateY(14px);
}

.js .lift-in--on {
  opacity: 1;
  transform: none;
}

.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

.js .lift-in:nth-child(1) { transition-delay: 0ms; }
.js .lift-in:nth-child(2) { transition-delay: 60ms; }
.js .lift-in:nth-child(3) { transition-delay: 120ms; }
.js .lift-in:nth-child(4) { transition-delay: 180ms; }
.js .lift-in:nth-child(5) { transition-delay: 240ms; }
.js .lift-in:nth-child(6) { transition-delay: 300ms; }
.js .lift-in:nth-child(7) { transition-delay: 360ms; }

.glossary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.glossary .tile {
  grid-column: auto;
}

.map-wide iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lift-in,
  .js .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1099px) {
  .page-shell,
  .headblock,
  .bento,
  .nav-bar,
  .foot-inner {
    grid-template-columns: repeat(6, 1fr);
  }

  .brand {
    grid-column: span 3;
  }

  .nav-links,
  .nav-toggle {
    grid-column: span 3;
  }

  .headblock-copy,
  .tile-wide,
  .prog-card,
  .case-block,
  .note-row,
  .foot-cols {
    grid-column: span 6;
  }

  .headblock-visual,
  .tile,
  .tile-tall,
  .tile-flame,
  .tile-quiet,
  .prog-meta,
  .case-facts,
  .foot-map {
    grid-column: span 3;
  }

  .tile:nth-child(3n) {
    grid-column: span 6;
  }

  .bento > .tile-flame,
  .bento > .tile-quiet,
  .bento > .tile-tall,
  .bento > .prog-meta,
  .bento > .case-facts {
    grid-column: span 6;
  }

  .glossary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 859px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.4rem 0 0.2rem;
  }

  .nav-links:target,
  .nav-links.is-open,
  .nav-bar:has(.nav-links:target) .nav-links {
    display: flex;
  }

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

  .js .nav-links:not([hidden]) {
    display: flex;
  }

  .no-js .nav-links {
    display: flex;
  }
}

@media (max-width: 719px) {
  .page-shell,
  .headblock,
  .bento,
  .nav-bar,
  .foot-inner {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .brand,
  .nav-toggle,
  .nav-links,
  .headblock-copy,
  .headblock-visual,
  .tile,
  .tile-wide,
  .tile-tall,
  .tile-flame,
  .tile-quiet,
  .prog-card,
  .prog-meta,
  .case-block,
  .case-facts,
  .note-row,
  .foot-cols,
  .foot-map,
  .foot-legal {
    grid-column: 1 / -1;
  }

  .bento > .tile:nth-child(3n) {
    grid-column: 1 / -1;
  }

  .foot-cols {
    grid-template-columns: 1fr;
  }

  .headblock-visual img,
  .tile-photo img {
    min-height: 180px;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
  }
}