:root {
  --bg: #f6f2ea;
  --paper: rgba(255, 252, 246, 0.94);
  --paper-strong: #fffdf8;
  --ink: #18212f;
  --muted: #617084;
  --line: rgba(24, 33, 47, 0.1);
  --green: #0f6a3c;
  --green-deep: #0a4125;
  --orange: #cf7b2f;
  --gold: #d6ad4b;
  --red: #b3362d;
  --shadow: 0 24px 70px rgba(15, 22, 33, 0.11);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

body.home-layout {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 720'><g transform='translate(110 110)' fill='rgba(15,106,60,0.03)'><ellipse cx='0' cy='-20' rx='13' ry='17'/><ellipse cx='-18' cy='6' rx='17' ry='13' transform='rotate(-30 -18 6)'/><ellipse cx='18' cy='6' rx='17' ry='13' transform='rotate(30 18 6)'/><rect x='-1.5' y='14' width='3' height='28'/></g><g transform='translate(560 130)' fill='none' stroke='rgba(74,47,30,0.035)' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'><path d='M 0 -45 C 22 -45 26 -25 24 -12 C 22 -2 12 2 0 2 C -12 2 -22 -2 -24 -12 C -26 -25 -22 -45 0 -45 Z'/><path d='M 0 45 C 22 45 26 25 24 12 C 22 2 12 -2 0 -2 C -12 -2 -22 2 -24 12 C -26 25 -22 45 0 45 Z'/><path d='M -5 -4 L -5 4 M 5 -4 L 5 4' stroke-width='3'/></g><g transform='translate(380 280)' fill='none' stroke='rgba(74,47,30,0.035)' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'><path d='M 16 -20 C 26 -10 30 5 24 18 C 16 28 0 32 -14 26 C -28 18 -30 0 -24 -12 C -18 -24 -4 -28 8 -24'/><path d='M 8 -24 L 18 -28 L 12 -22' stroke-width='4'/><path d='M -6 26 L -10 36 L -14 36' stroke-width='2.5'/><path d='M 6 26 L 10 36 L 14 36' stroke-width='2.5'/></g><g transform='translate(140 440)' fill='none' stroke='rgba(15,106,60,0.03)' stroke-width='3'><line x1='0' y1='-45' x2='0' y2='45'/><line x1='-28' y1='-12' x2='28' y2='-12'/><circle cx='0' cy='-12' r='18'/></g><g transform='translate(560 460)' fill='none' stroke='rgba(179,54,45,0.035)' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'><path d='M 0 -32 C 18 -28 28 -14 26 0 C 24 18 16 30 0 32 C -16 30 -24 18 -26 0 C -28 -14 -18 -28 0 -32 Z'/><line x1='0' y1='-22' x2='0' y2='28' stroke-width='3'/><line x1='0' y1='-12' x2='10' y2='-12' stroke-width='3'/><line x1='0' y1='-3' x2='-10' y2='-3' stroke-width='3'/><line x1='0' y1='6' x2='10' y2='6' stroke-width='3'/><line x1='0' y1='15' x2='-10' y2='15' stroke-width='3'/></g><g transform='translate(300 580)' fill='none' stroke='rgba(214,173,75,0.035)' stroke-width='2.6' stroke-linecap='round'><circle cx='0' cy='0' r='32'/><path d='M 0 0 C -4 -12 6 -22 18 -18'/><g transform='rotate(120)'><path d='M 0 0 C -4 -12 6 -22 18 -18'/></g><g transform='rotate(240)'><path d='M 0 0 C -4 -12 6 -22 18 -18'/></g></g></svg>");
  background-repeat: repeat;
  background-size: 720px 720px;
  color: #3a352d;
  font-family: "Source Sans 3", sans-serif;
}

.home-layout .foi-home-header {
  position: relative;
  padding: 0;
  background: white;
}

.home-layout .foi-home-header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0 0.9rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #ece7df;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.home-layout .foi-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.home-layout .foi-brand img {
  width: 4.15rem;
  height: 4.15rem;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.home-layout .foi-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.home-layout .foi-brand strong {
  font-family: "Marcellus", serif;
  font-size: 1rem;
  font-weight: 400;
  color: #4b463d;
}

.home-layout .foi-brand em {
  color: #8f8673;
  font-style: normal;
  font-size: 0.84rem;
}

.home-layout .foi-home-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.9rem;
  max-width: 42rem;
  margin: 0 auto;
}

.home-layout .foi-home-nav a {
  color: #b19b62;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  position: relative;
  white-space: nowrap;
}

.home-layout .foi-home-nav a::after {
  content: "\2304";
  margin-left: 0.45rem;
  font-size: 0.7rem;
  color: #b19b62;
}

.home-layout .foi-home-nav a:hover,
.home-layout .foi-home-nav a:focus-visible,
.home-layout .foi-home-nav a[aria-current="page"] {
  color: #3a352d;
}

.home-layout .foi-home-nav a:hover::after,
.home-layout .foi-home-nav a:focus-visible::after,
.home-layout .foi-home-nav a[aria-current="page"]::after {
  color: #3a352d;
}

.home-layout .foi-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.home-layout .foi-nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  min-width: 12rem;
  padding: 0.5rem 0;
  margin-top: 0.4rem;
  background: #ffffff;
  border: 1px solid #ece7df;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
  z-index: 30;
}

.home-layout .foi-nav-submenu a {
  padding: 0.55rem 1.1rem;
  color: #6b6b6b;
  font-size: 0.92rem;
  white-space: nowrap;
}

.home-layout .foi-nav-submenu a::after {
  content: none;
}

.home-layout .foi-nav-submenu a:hover,
.home-layout .foi-nav-submenu a:focus-visible,
.home-layout .foi-nav-submenu a[aria-current="page"] {
  color: #3a352d;
  background: #fbf8f2;
}

.home-layout .foi-nav-group:hover .foi-nav-submenu,
.home-layout .foi-nav-group:focus-within .foi-nav-submenu {
  display: flex;
}

@media (max-width: 780px) {
  .home-layout .foi-nav-group {
    display: block;
  }

  .home-layout .foi-nav-submenu {
    position: static;
    transform: none;
    display: flex;
    min-width: auto;
    margin: 0.45rem 0 0;
    padding: 0 0 0 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .home-layout .foi-nav-submenu a {
    padding: 0.35rem 0;
    font-size: 0.9rem;
  }
}

.home-layout .foi-home-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-layout .foi-home-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #d9d2c2;
  background: #ffffff;
  color: #0f6a28;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.home-layout .foi-home-badge-alt {
  color: #6c664f;
}

.home-layout a.foi-home-badge {
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-layout a.foi-home-badge:hover,
.home-layout a.foi-home-badge:focus-visible {
  background: #0f6a28;
  border-color: #0f6a28;
  color: #ffffff;
}

.home-layout .foi-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  min-height: 2.95rem;
  padding: 0.8rem 1.1rem;
  background: #0f6a28;
  color: white;
  font-weight: 700;
}

.home-layout .foi-home-main,
.home-layout .foi-home-footer {
  width: 100%;
  margin: 0;
}

.home-layout .foi-hero {
  position: relative;
  min-height: calc(100vh - 6rem);
  overflow: hidden;
}

.home-layout .foi-hero-media,
.home-layout .foi-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-layout .foi-hero-media {
  height: 100%;
  object-fit: cover;
}

.home-layout .foi-hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.28));
}

.home-layout .foi-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 6rem);
  padding: 3rem 1.5rem;
  text-align: center;
  color: white;
}

.home-layout .foi-social-row {
  display: flex;
  gap: 1.05rem;
  margin-bottom: 1.6rem;
}

.home-layout .foi-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: opacity 180ms ease;
}

.home-layout .foi-social-row a:hover,
.home-layout .foi-social-row a:focus-visible {
  opacity: 0.7;
}

.home-layout .foi-social-row svg {
  width: 1.65rem;
  height: 1.65rem;
}

.home-layout .foi-hero h1,
.home-layout .foi-intro h2,
.home-layout .foi-section-intro h2,
.home-layout .foi-image-card-copy h3,
.home-layout .foi-info-card h3,
.home-layout .foi-contact-block h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  color: #3a352d;
}

.home-layout .foi-hero h1 {
  margin: 0;
  color: white;
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 4.45rem);
  line-height: 1.12;
}

.home-layout .foi-hero-line {
  width: 5rem;
  height: 2px;
  margin: 1rem 0 0;
  background: rgba(255, 255, 255, 0.92);
}

.home-layout .foi-intro,
.home-layout .foi-support,
.home-layout .foi-follow,
.home-layout .foi-programmes,
.home-layout .foi-involved,
.home-layout .foi-contact {
  padding: 4.8rem 0;
}

.home-layout .foi-section-label {
  margin: 0;
  color: #b19b62;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-layout .foi-intro-shell,
.home-layout .foi-follow,
.home-layout .foi-section-intro {
  text-align: center;
}

.home-layout .foi-intro h2,
.home-layout .foi-section-intro h2,
.home-layout .foi-follow h2 {
  margin: 0.75rem auto 0;
  max-width: 16ch;
  font-size: clamp(2.05rem, 4.2vw, 3rem);
  line-height: 1.28;
}

.home-layout .foi-intro-copy {
  display: grid;
  gap: 1rem;
  max-width: 50rem;
  margin: 1.8rem auto 0;
}

.home-layout .foi-intro-copy p,
.home-layout .foi-section-intro p:last-child,
.home-layout .foi-image-card-copy p,
.home-layout .foi-info-card p,
.home-layout .foi-contact-block a,
.home-layout .foi-contact-block p,
.home-layout .foi-home-footer-shell {
  color: #6b6b6b;
  font-family: "Source Sans 3", sans-serif;
}

.home-layout .foi-section-intro {
  max-width: 58rem;
  margin: 0 auto;
}

.home-layout .foi-button-grid,
.home-layout .foi-follow-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.home-layout .foi-button-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-layout .foi-follow-grid {
  width: min(100%, 520px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.home-layout .foi-flat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 1rem;
  border: 1px solid #ece7df;
  background: #fbf8f2;
  box-shadow: none;
  color: #3a352d;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.home-layout .foi-social-card {
  color: #0f6a28;
  gap: 0.65rem;
  transition: background 180ms ease, transform 180ms ease;
}

.home-layout .foi-social-card:hover,
.home-layout .foi-social-card:focus-visible {
  background: #f3ede1;
  transform: translateY(-1px);
}

.home-layout .foi-social-card svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}

.home-layout .foi-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.home-layout .foi-image-card,
.home-layout .foi-info-card {
  border: 1px solid #ece7df;
  background: white;
  box-shadow: none;
}

.home-layout .foi-image-card img {
  height: 16rem;
  object-fit: cover;
}

.home-layout .foi-image-card-copy,
.home-layout .foi-info-card {
  padding: 1.45rem;
}

.home-layout .foi-image-card-copy h3,
.home-layout .foi-info-card h3 {
  margin: 0;
  font-size: 1.7rem;
}

.home-layout .foi-image-card-copy p,
.home-layout .foi-info-card p {
  margin: 0.75rem 0 0;
}

.home-layout .foi-contact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.6rem;
  background: #ece7df;
}

.home-layout .foi-contact-block {
  padding: 1.5rem;
  background: white;
}

.home-layout .foi-contact-block h3 {
  margin: 0;
  font-size: 1.5rem;
}

.home-layout .foi-contact-block a,
.home-layout .foi-contact-block p {
  margin-top: 0.6rem;
  display: block;
  font-size: 1.02rem;
}

.home-layout .foi-map {
  margin-top: 1.6rem;
  border: 1px solid #ece7df;
  background: white;
}

.home-layout .foi-map iframe {
  display: block;
  width: 100%;
  height: 24rem;
  border: 0;
}

.home-layout .foi-map-link {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-top: 1px solid #ece7df;
  color: #0f6a28;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .home-layout .foi-map iframe {
    height: 18rem;
  }
}

.home-layout .foi-home-footer {
  padding: 0 0 2.8rem;
}

.home-layout .foi-home-footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-top: 2rem;
  border-top: 1px solid #ece7df;
  font-size: 0.96rem;
}

@media (max-width: 1040px) {
  .home-layout .foi-home-header-shell {
    grid-template-columns: auto 1fr;
  }

  .home-layout .foi-home-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid #ece7df;
  }

  .home-layout .foi-home-nav {
    justify-content: flex-end;
  }

  .home-layout .foi-button-grid,
  .home-layout .foi-card-grid,
  .home-layout .foi-contact-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-layout .foi-home-header-shell {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
  }

  .home-layout .foi-brand img {
    width: 3.25rem;
    height: 3.25rem;
  }

  .home-layout .foi-brand strong {
    font-size: 0.95rem;
  }

  .home-layout .foi-brand em {
    font-size: 0.78rem;
  }

  .home-layout .foi-home-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem 1rem;
    background: white;
    border-top: 1px solid #ece7df;
    border-bottom: 1px solid #ece7df;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
    z-index: 20;
  }

  .home-layout .foi-home-nav a {
    padding: 0.8rem 0.25rem;
    font-size: 1rem;
    color: #3a352d;
    border-bottom: 1px solid #f1ede4;
  }

  .home-layout .foi-home-nav a:last-child {
    border-bottom: 0;
  }

  .home-layout .foi-home-nav a::after {
    content: none;
  }

  .home-layout .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .home-layout .foi-home-header.nav-open .foi-home-nav {
    display: flex;
  }

  .home-layout .foi-home-header.nav-open .nav-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .home-layout .foi-home-header.nav-open .nav-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .home-layout .foi-hero,
  .home-layout .foi-hero-content {
    min-height: 70vh;
  }

  .home-layout .foi-intro,
  .home-layout .foi-support,
  .home-layout .foi-follow,
  .home-layout .foi-programmes,
  .home-layout .foi-involved,
  .home-layout .foi-contact {
    padding: 3rem 0;
  }

  .home-layout .foi-intro-copy,
  .home-layout .foi-button-grid,
  .home-layout .foi-follow-grid,
  .home-layout .foi-card-grid,
  .home-layout .foi-contact-band {
    grid-template-columns: 1fr;
  }

  .home-layout .foi-image-card img {
    height: 14rem;
  }

  .home-layout .foi-home-actions {
    gap: 0.5rem;
    justify-content: stretch;
  }

  .home-layout .foi-home-badge,
  .home-layout .foi-home-cta {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.7rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
  }

  .home-layout .foi-home-footer {
    padding-bottom: 2rem;
  }
}

.home-layout .foi-hero-page {
  min-height: 58vh;
}

.home-layout .foi-hero-page .foi-hero-content {
  min-height: 58vh;
  padding: 5rem 1.5rem 3.5rem;
}

.home-layout .foi-hero-page h1 {
  max-width: 22ch;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.home-layout .foi-hero-eyebrow {
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.home-layout .foi-hero-text {
  max-width: 38rem;
  margin: 1.4rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.6;
}

.home-layout .foi-ambassador {
  padding: 5rem 0;
  background: #fbf8f2;
  border-top: 1px solid #ece7df;
  border-bottom: 1px solid #ece7df;
}

.home-layout .foi-ambassador-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
  max-width: 58rem;
  margin: 0 auto;
}

.home-layout .foi-ambassador-photo {
  width: 240px;
  height: 300px;
  object-fit: cover;
  background: #ede6d6;
  border: 5px solid #ffffff;
  box-shadow: 0 14px 36px rgba(20, 30, 44, 0.1);
}

.home-layout .foi-ambassador-eyebrow {
  margin: 0 0 0.7rem;
  color: #b19b62;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-layout .foi-ambassador-name {
  margin: 0;
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.15;
  color: #3a352d;
}

.home-layout .foi-ambassador-accent {
  width: 4.5rem;
  height: 2px;
  margin: 0.95rem 0 1rem;
  background: #c9a04f;
}

.home-layout .foi-ambassador-title {
  margin: 0 0 1.2rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.98rem;
  font-style: italic;
  color: #6c664f;
  line-height: 1.45;
}

.home-layout .foi-ambassador-bio {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.02rem;
  color: #6b6b6b;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .home-layout .foi-ambassador-card {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .home-layout .foi-ambassador-photo {
    width: 200px;
    height: 250px;
    margin: 0 auto;
  }

  .home-layout .foi-ambassador-accent {
    margin-left: auto;
    margin-right: auto;
  }
}

.home-layout .foi-team {
  padding: 4.8rem 0;
  background: #0a4125;
  color: #ffffff;
}

.home-layout .foi-team-heading {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  text-align: left;
}

.home-layout .foi-team-divider {
  width: 8.5rem;
  height: 3px;
  margin: 0 0 2.6rem;
  background: #c9a04f;
}

.home-layout .foi-team-list {
  display: grid;
  gap: 2.2rem;
}

.home-layout .foi-team-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.6rem;
  align-items: start;
}

.home-layout .foi-team-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 9rem;
  padding: 0.18rem;
  background: #000000;
  border-radius: 50%;
  overflow: hidden;
}

.home-layout .foi-team-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.home-layout .foi-team-photo img[src*="team-jayne"] {
  transform: scale(1.27);
  transform-origin: center center;
}

.home-layout .foi-team-copy h3 {
  margin: 0 0 0.55rem;
  color: #c9a04f;
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}

.home-layout .foi-team-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .home-layout .foi-team-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-layout .foi-team-photo {
    width: 7.5rem;
    height: 7.5rem;
  }
}

.home-layout .foi-card-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-layout .foi-events-empty {
  grid-column: 1 / -1;
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.home-layout .foi-events-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 54rem;
  margin: 2rem auto 0;
}

.home-layout .foi-event-card {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #ece7df;
  background: #ffffff;
  overflow: hidden;
}

.home-layout .foi-event-card.has-poster {
  grid-template-columns: minmax(0, 18rem) 1fr;
}

.home-layout .foi-event-poster {
  background: #f1ede4;
  overflow: hidden;
  min-height: 14rem;
}

.home-layout .foi-event-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-layout .foi-event-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.7rem 1.8rem;
}

.home-layout .foi-event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
}

.home-layout .foi-event-date {
  color: #b19b62;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-layout .foi-event-venue {
  color: #6c664f;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

.home-layout .foi-event-separator {
  color: #c9beae;
  font-size: 0.82rem;
}

.home-layout .foi-event-title {
  margin: 0;
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  color: #3a352d;
}

.home-layout .foi-event-description {
  margin: 0;
  color: #6b6b6b;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-layout .foi-event-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.7rem 1.15rem;
  background: #0f6a28;
  color: #ffffff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 180ms ease;
}

.home-layout .foi-event-link::after {
  content: "\2192";
  margin-left: 0.5rem;
  transition: transform 180ms ease;
}

.home-layout .foi-event-link:hover,
.home-layout .foi-event-link:focus-visible {
  background: #0a4f1d;
}

.home-layout .foi-event-link:hover::after,
.home-layout .foi-event-link:focus-visible::after {
  transform: translateX(3px);
}

@media (max-width: 700px) {
  .home-layout .foi-event-card.has-poster {
    grid-template-columns: 1fr;
  }

  .home-layout .foi-event-poster {
    min-height: 12rem;
    max-height: 18rem;
  }

  .home-layout .foi-event-body {
    padding: 1.4rem 1.4rem 1.6rem;
  }
}

.home-layout .foi-info-card .foi-card-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  margin-top: 1.4rem;
  padding: 0.7rem 1.15rem;
  background: #0f6a28;
  color: #ffffff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 180ms ease;
}

.home-layout .foi-card-action::after {
  content: "\2192";
  margin-left: 0.5rem;
  transition: transform 180ms ease;
}

.home-layout .foi-card-action:hover,
.home-layout .foi-card-action:focus-visible {
  background: #0a4f1d;
}

.home-layout .foi-card-action:hover::after,
.home-layout .foi-card-action:focus-visible::after {
  transform: translateX(3px);
}

.home-layout .foi-card-socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.home-layout .foi-card-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #d9d2c2;
  background: #fbf8f2;
  color: #0f6a28;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.home-layout .foi-card-socials a:hover,
.home-layout .foi-card-socials a:focus-visible {
  background: #0f6a28;
  border-color: #0f6a28;
  color: #ffffff;
}

.home-layout .foi-card-socials svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  flex-shrink: 0;
}

.home-layout .foi-form {
  padding: 4.8rem 0;
}

.home-layout .foi-form .foi-section-intro {
  text-align: center;
}

.home-layout .foi-form-lead {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: #6b6b6b;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
}

.home-layout .foi-contact-form {
  position: relative;
  max-width: 46rem;
  margin: 2.4rem auto 0;
  padding: 2.2rem;
  background: #ffffff;
  border: 1px solid #ece7df;
}

.home-layout .foi-form-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.home-layout .foi-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-layout .foi-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.home-layout .foi-form-field-wide {
  grid-column: 1 / -1;
}

.home-layout .foi-form-field span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6c664f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-layout .foi-form-field input,
.home-layout .foi-form-field select,
.home-layout .foi-form-field textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid #d9d2c2;
  background: #fbf8f2;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: #3a352d;
  transition: border-color 180ms ease, background 180ms ease;
}

.home-layout .foi-form-field input:focus,
.home-layout .foi-form-field select:focus,
.home-layout .foi-form-field textarea:focus {
  outline: none;
  border-color: #0f6a28;
  background: #ffffff;
}

.home-layout .foi-form-field textarea {
  resize: vertical;
  min-height: 7.5rem;
  font-family: inherit;
}

.home-layout .foi-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.home-layout .foi-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  background: #0f6a28;
  color: #ffffff;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 180ms ease, opacity 180ms ease;
}

.home-layout .foi-form-submit:hover,
.home-layout .foi-form-submit:focus-visible {
  background: #0a4f1d;
}

.home-layout .foi-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.home-layout .foi-form-note {
  margin: 0;
  color: #8d8576;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem;
  flex: 1 1 14rem;
}

.home-layout .foi-form-status {
  margin: 0.6rem 0 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  color: #6b6b6b;
}

.home-layout .foi-form-status[data-state="success"] {
  color: #0f6a28;
}

.home-layout .foi-form-status[data-state="warn"] {
  color: #b3362d;
}

@media (max-width: 640px) {
  .home-layout .foi-form-grid {
    grid-template-columns: 1fr;
  }

  .home-layout .foi-contact-form {
    padding: 1.5rem;
  }
}

.home-layout .foi-card-grid.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  .home-layout .foi-card-grid.is-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-layout .foi-card-grid.is-two,
  .home-layout .foi-card-grid.is-four {
    grid-template-columns: 1fr;
  }

  .home-layout .foi-hero-page,
  .home-layout .foi-hero-page .foi-hero-content {
    min-height: 62vh;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(179, 54, 45, 0.07), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 106, 60, 0.08), transparent 24%),
    linear-gradient(180deg, #f3ede3 0%, #fbf8f2 32%, #f5f0e8 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(20, 30, 44, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand strong,
.brand em {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand strong {
  font-size: 1rem;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  background: linear-gradient(135deg, var(--green), #17804d);
  color: white;
  box-shadow: 0 14px 32px rgba(15, 106, 60, 0.22);
}

.button:hover,
.header-cta:hover,
.button:focus-visible,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: rgba(24, 33, 47, 0.06);
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.nav-toggle span {
  width: 1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  color: white;
}

.page-hero {
  min-height: 76vh;
}

.hero-media,
.hero-overlay,
.hero-watermark {
  position: absolute;
  inset: 0;
}

.hero-media {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(9, 18, 27, 0.34), rgba(9, 18, 27, 0.6));
}

.hero-overlay-soft {
  background: linear-gradient(180deg, rgba(9, 18, 27, 0.22), rgba(9, 18, 27, 0.56));
}

.hero-watermark {
  opacity: 0.09;
  pointer-events: none;
}

.hero-watermark-pattern {
  background:
    radial-gradient(circle at 12% 20%, rgba(214, 173, 75, 0.75), transparent 18%),
    radial-gradient(circle at 88% 20%, rgba(207, 123, 47, 0.72), transparent 18%),
    radial-gradient(circle at 82% 82%, rgba(15, 106, 60, 0.72), transparent 20%),
    url("assets/img/heritage-pattern.jpg") center/cover;
  mix-blend-mode: screen;
}

.hero-watermark-logo {
  background:
    radial-gradient(circle at 20% 20%, rgba(207, 123, 47, 0.55), transparent 16%),
    radial-gradient(circle at 82% 80%, rgba(15, 106, 60, 0.6), transparent 20%),
    url("assets/img/logo.jpeg") center/38rem no-repeat;
  mix-blend-mode: screen;
}

.hero-shell,
.page-hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 8rem 0 4rem;
}

.page-hero-shell {
  min-height: 76vh;
}

.hero-copy,
.page-hero-shell {
  max-width: 44rem;
}

.eyebrow {
  margin: 0;
  color: rgba(255, 241, 210, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 0.9rem;
  font-size: clamp(3.5rem, 8vw, 6.6rem);
  max-width: 11ch;
}

h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 11ch;
}

h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

.hero-text,
.lead,
.feature-card p,
.spotlight-copy p,
.programme-band p,
.value-card p,
.contact-panel p,
.contact-item span,
.text-stack p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 40rem;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), #17804d);
  color: white;
  box-shadow: 0 16px 34px rgba(15, 106, 60, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.heritage-ribbons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.ribbon {
  display: inline-block;
  width: 5rem;
  height: 0.45rem;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ribbon-ireland {
  background: linear-gradient(90deg, #169b62 0 33.33%, #ffffff 33.33% 66.66%, #ff883e 66.66% 100%);
}

.ribbon-ghana {
  background: linear-gradient(90deg, #ce1126 0 33.33%, #fcd116 33.33% 66.66%, #006b3f 66.66% 100%);
}

.section {
  position: relative;
  padding: 5.4rem 0;
}

.section-heading {
  max-width: 46rem;
}

.split-intro,
.about-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.lead {
  font-size: 1.08rem;
}

.intro-band,
.cta-panel,
.contact-panel,
.feature-card,
.spotlight-card,
.programme-band,
.value-card,
.contact-item {
  border: 1px solid rgba(24, 33, 47, 0.08);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.intro-band {
  padding: 4.2rem 0;
}

.logo-watermark::before,
.pattern-watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}

.logo-watermark::before {
  background: url("assets/img/logo.jpeg") center 20% / 26rem no-repeat;
}

.pattern-watermark::before {
  background: url("assets/img/heritage-pattern.jpg") center/cover;
}

.logo-watermark > *,
.pattern-watermark > * {
  position: relative;
  z-index: 1;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.value-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.feature-card p:last-child,
.value-card p {
  margin: 0.8rem 0 0;
}

.spotlight-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.spotlight-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.spotlight-card img {
  height: 16rem;
  object-fit: cover;
}

.spotlight-copy {
  padding: 1.4rem;
}

.spotlight-copy p {
  margin: 0.75rem 0 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.cta-links {
  display: grid;
  gap: 0.9rem;
}

.cta-links a {
  display: flex;
  align-items: center;
  min-height: 3.8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
  font-weight: 700;
}

.text-stack {
  display: grid;
  gap: 1rem;
}

.text-stack p {
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.stacked-programmes {
  display: grid;
  gap: 1rem;
}

.programme-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.6rem;
  align-items: start;
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius-lg);
}

.programme-band p {
  margin: 0;
  padding-top: 1.4rem;
}

.contact-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: block;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--paper-strong);
}

.contact-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-item strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer {
  padding: 0 0 2.4rem;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.footer-shell p {
  margin: 0;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .header-cta {
    display: none;
  }

  .three-up,
  .spotlight-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-intro,
  .about-layout,
  .programme-band,
  .cta-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    padding-top: 0.7rem;
  }

  .header-shell {
    grid-template-columns: auto auto;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    background: rgba(255, 252, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-header.nav-open .nav-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero,
  .page-hero {
    min-height: 100svh;
  }

  .page-hero {
    min-height: 72svh;
  }

  .hero-shell,
  .page-hero-shell {
    min-height: 100svh;
    padding: 7rem 0 3rem;
  }

  .page-hero-shell {
    min-height: 72svh;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.3rem, 11vw, 3.3rem);
  }

  .section {
    padding: 4rem 0;
  }

  .three-up,
  .two-up,
  .spotlight-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-card img {
    height: 14rem;
  }

  .cta-panel,
  .contact-panel {
    padding: 1.35rem;
  }

  .footer-shell {
    padding-bottom: 1.2rem;
  }
}
