/* ============================================================
   BOFF — Brighton's Own Free Fringe
   Brand palette:
   - Red     #cc0000
   - Orange  #ffa51f
   - Blue    #133963
   - Cream   #fdf0da (main background)
   ============================================================ */

:root {
  --red: #cc0000;
  --orange: #ffa51f;
  --blue: #133963;
  --cream: #fdf0da;
  --cream-light: #fffdf6;
  --ink: #2b2431;
  --ink-soft: #5a5260;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --font-display: 'Alfa Slab One', 'Rockwell', serif;
  --font-body: 'Droid Serif', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 165, 31, 0.14) 0, transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(204, 0, 0, 0.08) 0, transparent 30%),
    radial-gradient(circle at 70% 90%, rgba(19, 57, 99, 0.08) 0, transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(255, 165, 31, 0.10) 0, transparent 24%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--blue);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  font-size: 1.08rem;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Accent highlight for inline emphasis ---------- */
.hl-red { color: var(--red); }
.hl-orange { color: #d87500; }
.hl-blue { color: var(--blue); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 14px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.logo .logo-img {
  display: block;
  height: 54px;
  width: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-logo-pbh {
  display: block;
  height: 40px;
  width: auto;
}

@media (max-width: 640px) {
  .nav-logo-pbh {
    height: 32px;
  }
}

@media (max-width: 640px) {
  .logo .logo-img {
    height: 44px;
  }
}

.logo .logo-b {
  background: var(--red);
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 var(--blue);
}

.logo small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: var(--red);
  display: block;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 9px 16px;
  border-radius: 14px;
  color: var(--blue);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  position: relative;
}

.nav-links a:hover {
  background: var(--orange);
  color: var(--blue);
  transform: rotate(-2deg) translateY(-2px);
}

.nav-links a.active {
  background: var(--blue);
  color: #fff;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 3px;
  margin: 5px 0;
}

/* ============================================================
   Hero banner
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 84px;
  overflow: hidden;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  padding: 24px 24px 24px 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.9) 28%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.9) 28%, #000 55%);
}

.hero-grid .tile {
  overflow: hidden;
  background: var(--ink);
}

.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}

/* ============================================================
   Applications banner
   ============================================================ */
.apply-banner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 26px;
  background: var(--blue);
  color: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.5px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.apply-banner:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.apply-banner-star {
  color: var(--orange);
  font-size: 1.15em;
}

.apply-banner-arrow {
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(2.4rem, 6.8vw, 5.2rem);
  line-height: 0.95;
  display: inline-block;
  max-width: 520px;
}

.hero h1 .word {
  display: inline-block;
  margin-right: 14px;
}

.hero h1 .w-red    { color: var(--red);  transform: rotate(-2.5deg); }
.hero h1 .w-orange { color: #d87500;     transform: rotate(1.5deg);  }
.hero h1 .w-blue   { color: var(--blue); transform: rotate(-1deg);   }

.hero-sub {
  max-width: 640px;
  font-size: 1.22rem;
  margin-top: 22px;
  color: var(--ink-soft);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.blob {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

.blob-red {
  width: 220px;
  height: 220px;
  background: var(--red);
  border-radius: 62% 38% 55% 45% / 55% 44% 56% 45%;
  top: 30px;
  right: 8%;
  transform: rotate(14deg);
  opacity: 0.12;
}

.blob-orange {
  width: 140px;
  height: 140px;
  background: var(--orange);
  border-radius: 40% 60% 62% 38% / 58% 40% 60% 42%;
  bottom: -30px;
  left: 4%;
  opacity: 0.35;
}

.blob-blue {
  width: 110px;
  height: 110px;
  background: var(--blue);
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  top: 55%;
  left: 44%;
  opacity: 0.10;
}

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-align: center;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-red    { background: var(--red);    color: #fff; }
.btn-orange { background: var(--orange); color: var(--blue); }
.btn-blue   { background: var(--blue);   color: #fff; }
.btn-cream  { background: var(--cream-light); color: var(--blue); }

/* ============================================================
   Top banner (advertise / donate)
   ============================================================ */
.top-banner {
  background: var(--blue);
  color: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.top-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
}

.top-banner .btn {
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* ============================================================
   Intro section (big paragraph)
   ============================================================ */
.intro {
  padding: 84px 0 40px;
}

.intro-inner {
  max-width: 860px;
}

.intro h2 {
  margin-bottom: 26px;
}

.intro p {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}

.intro p strong {
  font-weight: 700;
}

/* Big first word highlight */
.intro .big-first::first-letter {
  font-family: var(--font-display);
  font-size: 1.9em;
  color: var(--red);
  float: left;
  line-height: 0.8;
  margin-right: 10px;
}

/* Standalone page copy (About) */
.about-copy {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}

/* About page sections */
.about-section {
  margin-top: 48px;
}

.about-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 16px;
}

.about-section p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 18px;
}

.about-section p a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.donate-cta {
  margin-top: 12px;
}

/* Featured red bubble (About) */
.feature-red {
  background: var(--red);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px 30px 20px;
  margin-top: 48px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-0.5deg);
}

.feature-red h2 {
  color: #fff;
}

.feature-red h2::before {
  content: '★ ';
  color: var(--orange);
}

.feature-red p {
  color: #fff;
}

.feature-red p a {
  color: var(--orange);
  text-decoration-thickness: 2px;
}

/* ============================================================
   Perform page — guide copy & CTA
   ============================================================ */
.item-head {
  color: var(--blue);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 32px 0 10px;
}

.conduct-rules {
  margin: 20px 0 8px;
  padding-left: 24px;
}

.conduct-rules li {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.conduct-list {
  margin: 12px 0 24px;
  padding-left: 24px;
}

.conduct-list li {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-weight: 400;
}

.genre-list {
  list-style: none;
  margin: 8px 0 0;
  padding-left: 0;
}

.genre-list > li {
  font-weight: 700;
  color: var(--ink);
  margin-top: 12px;
}

.genre-list ul {
  list-style: disc;
  margin: 6px 0 0;
  padding-left: 22px;
}

.genre-list ul li {
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.apply-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding-top: 10px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.2rem;
}

.apply-cta-note {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.98rem;
}

.apply-cta-note a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Cards (homepage)
   ============================================================ */
.cards {
  padding: 56px 0 90px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.page-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 30px 24px;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  min-height: 300px;
}

.page-card:hover {
  transform: translate(-4px, -4px) rotate(-1deg);
  box-shadow: 10px 10px 0 var(--ink);
}

.page-card h3 {
  color: var(--ink);
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.page-card p {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-red { background: var(--red); }
.card-red h3 { color: #fff; }
.card-red p { color: var(--cream); }
.card-orange { background: var(--orange); }
.card-cream { background: var(--cream-light); }
.card-blue { background: var(--blue); }
.card-blue h3, .card-blue p { color: var(--cream); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-hero {
  padding: 60px 0 40px;
}

.page-hero .kicker {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--red);
  border: 3px solid var(--red);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  transform: rotate(-2deg);
}

.page-hero p {
  max-width: 720px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 16px;
}

.programme-soon-wrap h1 {
  max-width: 780px;
}

.programme-soon-wrap .soon-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-body {
  padding: 20px 0 90px;
}

/* ============================================================
   Programme page
   ============================================================ */
.programme-toolbar {
  position: sticky;
  top: 76px;
  z-index: 30;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 20px;
  margin: 10px 0 34px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-group {
  flex: 1 1 200px;
  min-width: 190px;
}

.filter-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 5px;
}

.filter-group select,
.search-box {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.12s ease;
}

.filter-group select:focus,
.search-box:focus {
  box-shadow: 3px 3px 0 var(--orange);
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.btn-filter {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.btn-reset {
  background: var(--cream-light);
  color: var(--blue);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-display);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-reset:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.result-count {
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.result-count b {
  color: var(--red);
}

/* Event grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.event-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.event-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.event-img-wrap {
  height: 170px;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--cream);
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.event-card:hover .event-img-wrap img {
  transform: scale(1.05);
}

.event-top {
  padding: 22px 22px 14px;
  position: relative;
}

.event-cat {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--orange);
  color: var(--blue);
  margin-bottom: 14px;
}

.event-cat.tag-red    { background: var(--red);    color: #fff; }
.event-cat.tag-blue   { background: var(--blue);   color: #fff; }
.event-cat.tag-orange { background: var(--orange); color: var(--blue); }
.event-cat.tag-cream  { background: var(--cream-light); color: var(--blue); }

.event-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 6px;
}

.event-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 10px;
}

.event-bottom {
  margin-top: auto;
  border-top: 2.5px dashed var(--ink);
  padding: 14px 22px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.event-bottom .ev-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ev-venue {
  grid-column: 1 / -1;
}

.ev-icon {
  color: var(--red);
}

/* No results */
.no-results {
  text-align: center;
  padding: 70px 20px;
}

.no-results .big {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  display: block;
  transform: rotate(-3deg);
}

.no-results p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}

/* Legend colours */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.legend .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend .dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

/* ============================================================
   Share-event panels & generic content blocks
   ============================================================ */
.section {
  padding: 30px 0 50px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head .sub {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 1.05rem;
  max-width: 620px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.panel {
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 30px 26px;
}

.panel h3 {
  color: var(--ink);
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel .panel-num {
  background: var(--orange);
  color: var(--blue);
  font-family: var(--font-display);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
}

.panel p {
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 12px;
}

.panel ul, .panel ol {
  padding-left: 22px;
  margin-top: 6px;
}

.panel li {
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-weight: 400;
}

.panel li strong {
  color: var(--ink);
}

/* Highlight boxes */
.highlight-box {
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 26px 0;
  box-shadow: 5px 5px 0 var(--ink);
}

.highlight-box.red-orange {
  background: var(--red);
  color: #fff;
}

.highlight-box.red-orange h3 { color: #fff; }

.highlight-box.orange {
  background: var(--orange);
  color: var(--blue);
}

.highlight-box.orange h3 { color: var(--blue); }

/* Timeline */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.timeline li {
  padding-left: 54px;
  padding-bottom: 30px;
  position: relative;
  font-weight: 400;
  color: var(--ink-soft);
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 50%;
  z-index: 2;
}

.timeline li::after {
  content: '';
  position: absolute;
  left: 26px;
  top: 22px;
  bottom: -4px;
  width: 3px;
  background: var(--ink);
  opacity: 0.35;
}

.timeline li:last-child::after { display: none; }

.timeline li strong {
  display: block;
  font-family: var(--font-display);
  color: var(--blue);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

/* Faq */
.faq details {
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 22px;
  margin-bottom: 18px;
}

.faq summary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--red);
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 1rem;
}

/* ============================================================
   Contact / forms
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: box-shadow 0.12s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  box-shadow: 3px 3px 0 var(--orange);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 18px;
}

/* Contact info list */
.contact-panel {
  max-width: 560px;
  margin: 0 auto;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 2.5px dashed rgba(19, 57, 99, 0.25);
}

.contact-list li:last-child { border-bottom: none; }

.contact-list .c-icon {
  flex: 0 0 48px;
  height: 48px;
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.contact-list a, .contact-list span {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.98rem;
}

.contact-list a:hover { color: var(--red); }

/* Social links */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--blue);
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.social-link:hover {
  transform: translate(-2px, -2px) rotate(-2deg);
  box-shadow: 5px 5px 0 var(--ink);
}

/* Form success message */
.form-success {
  display: none;
  background: #e7f6ec;
  color: #1d6a33;
  border: 3px solid #1d6a33;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.form-success.show { display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--blue);
  color: var(--cream);
  margin-top: 40px;
  border-top: 4px solid var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 30px;
  padding: 52px 0 36px;
}

.footer-brand p {
  color: #c9d6ea;
  font-weight: 400;
  font-size: 0.98rem;
  margin-top: 14px;
  max-width: 300px;
}

.footer-brand .logo-img {
  height: 56px;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul a {
  color: #c9d6ea;
  font-weight: 700;
  font-size: 0.98rem;
}

.site-footer ul a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 2px solid rgba(253, 240, 218, 0.2);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #aebdd6;
  font-weight: 700;
}

.footer-bottom .made {
  color: var(--orange);
}

/* ============================================================
   Ticker / misc small bits
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  background: var(--orange);
  color: var(--blue);
  font-size: 1.4rem;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease;
}

.to-top:hover {
  transform: translate(-2px, -2px) rotate(-6deg);
}

.hide { display: none !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .programme-toolbar {
    position: static;
  }
  .hero-grid {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 20px;
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    font-size: 1.2rem;
    padding: 12px;
  }

  .nav-burger {
    display: block;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
  }
}