@font-face {
  font-family: "Muintearas Bold Rounded";
  src: url("font/Muintearas-BoldRounded.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #edeae6;
  --teal: #086769;
  --teal-dark: #045455;
  --teal-pale: #e6f3f2;
  --navy: #1a0e50;
  --yellow: #ffc222;
  --orange: #e77611;
  --text: #243842;
  --line: #d6e5e3;
  --white: #fff;
  --radius: 20px;
  --max-width: 1360px;
  --font-heading: "Muintearas Bold Rounded", Inter, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.45;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }

/* Shared header */
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(var(--max-width), calc(100% - 48px));
  transform: translateX(-50%);
  padding: 48px 0 0;
  color: white;
}
.logo { display: inline-block; width: clamp(190px, 22vw, 300px); text-decoration: none; }
.logo img { width: 100%; height: auto; }
.utility-nav {
  position: absolute;
  top: 56px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}
.utility-nav a, .main-nav a { text-decoration: none; }
.lang { color: var(--yellow); }
.lang.active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 14px;
  background: white;
  color: var(--teal);
}
.main-nav {
  margin-top: 38px;
  margin-left: 36%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 22px;
  font-size: 15px;
  font-weight: 700;
}
.main-nav > a, .utility-nav a { position: relative; transition: color 160ms ease; }
.main-nav > a:hover, .main-nav > a:focus-visible, .utility-nav a:hover, .utility-nav a:focus-visible { color: var(--yellow); }
.main-nav > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.main-nav > a:hover::before, .main-nav > a:focus-visible::before { transform: scaleX(1); }

.menu-toggle {
  display: none;
  position: fixed;
  top: 28px;
  right: 24px;
  z-index: 120;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle-line {
  position: absolute;
  left: 12px;
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: top 180ms ease, transform 180ms ease, opacity 140ms ease;
}
.menu-toggle-line:nth-of-type(1) { top: 16px; }
.menu-toggle-line:nth-of-type(2) { top: 24px; }
.menu-toggle-line:nth-of-type(3) { top: 32px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-of-type(1) { top: 24px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-of-type(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-of-type(3) { top: 24px; transform: rotate(-45deg); }
.menu-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mobile-menu { display: none; }

/* Home page */
main { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100vh;
  min-height: 100svh;
  padding: 270px max(40px, calc((100vw - var(--max-width)) / 2)) 120px;
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(1, 28, 41, 0.72), rgba(1, 28, 41, 0.18));
}
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 1; max-width: 1100px; }
.hero h1, .split-copy h2, .news-section h2, .newsletter h2, .contact-prompt p, .page-hero h1, .content-card h2, .side-card h2, .download-section h2, .address-block h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero h1 { max-width: 1060px; margin: 0 0 24px; font-size: clamp(1.98rem, 4.5vw, 3.6rem); line-height: 1.05; }
.hero p { max-width: 470px; margin: 0 0 28px; font-size: 18px; }
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  width: 46px;
  height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(1, 28, 41, .18);
  backdrop-filter: blur(3px);
  opacity: .78;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}
.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
  background: rgba(255,255,255,.14);
}
.hero-scroll-cue span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: translate(-50%, -62%) rotate(45deg);
  animation: hero-scroll-cue 1.8s ease-in-out infinite;
}
@keyframes hero-scroll-cue {
  0%, 100% { transform: translate(-50%, -68%) rotate(45deg); }
  50% { transform: translate(-50%, -42%) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span { animation: none; }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.button-yellow { background: var(--yellow); color: var(--navy); }
.button-yellow:hover, .button-yellow:focus-visible { background: var(--orange); color: white; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover, .button-navy:focus-visible { background: var(--teal); color: white; }
.split-feature { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius); }
.split-feature-plan { margin-top: 40px; position: relative; z-index: 2; }
.split-copy { padding: 80px; background: var(--navy); color: var(--cream); }
.split-copy h2 { margin: 18px 0 22px; font-size: clamp(1.98rem, 3.6vw, 3.6rem); line-height: 1; }
.split-copy p:not(.eyebrow) { max-width: 430px; margin-bottom: 28px; }
.split-copy .eyebrow { color: white; }
.split-feature-teal .split-copy { background: var(--teal); }
.split-copy-plan { background: white; color: var(--text); }
.split-copy-plan .eyebrow { color: var(--navy); }
.split-copy-plan h2 { color: var(--navy); }
.split-image img, .split-video video { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center; }
.split-plan-image img, .split-plan-image { min-height: 544px; background: white; }
.eyebrow { margin: 0; color: var(--navy); font-size: 13.2px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.news-section { padding: 70px 0 40px; }
.news-section > h2 { margin: 0 0 42px; color: var(--teal); text-align: center; text-transform: uppercase; font-size: clamp(1.62rem, 3.24vw, 2.7rem); line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card { overflow: hidden; border-radius: 16px; background: white; }
.card img { width: 100%; aspect-ratio: 427 / 276; object-fit: cover; }
.card div { padding: 28px 40px 40px; }
.card h3 { margin: 14px 0; color: #027679; font-size: 24px; line-height: 1.05; letter-spacing: -0.04em; }
.card p:last-of-type { min-height: 88px; font-size: 15px; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 480px); margin: 28px 0 80px; overflow: hidden; border-radius: var(--radius); }
.newsletter { padding: 80px; background: white; }
.newsletter h2 { margin: 0; color: var(--teal); font-size: clamp(1.8rem, 3.6vw, 3.33rem); line-height: 1; }
.newsletter p { margin: 16px 0 28px; color: var(--teal); font-size: 24px; }
.newsletter label { display: block; margin: 18px 0 8px; color: var(--teal); font-weight: 800; font-size: 20px; }
.newsletter input[type="text"], .newsletter input[type="email"] { width: 100%; min-height: 56px; border: 1px solid #bababa; border-radius: 8px; font: inherit; padding: 12px 16px; }
.checkbox { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; font-size: 16px !important; }
.checkbox input { width: 18px; height: 18px; }
.contact-prompt { padding: 40px 24px; background: var(--yellow); }
.contact-prompt p { margin: 0; color: white; font-size: clamp(2.35rem, 4.8vw, 4.05rem); line-height: .9; text-transform: uppercase; }
.contact-prompt p:nth-child(2) { color: var(--orange); }

/* Campaí page */
body.campai-page .site-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
  padding: 32px 0 28px;
  color: var(--teal);
}
body.campai-page .utility-nav, body.campai-page .main-nav { color: var(--teal); }
body.campai-page .main-nav > a:hover, body.campai-page .main-nav > a:focus-visible, body.campai-page .utility-nav a:hover, body.campai-page .utility-nav a:focus-visible { color: var(--teal-dark); }
body.campai-page .main-nav > a::before { background: var(--teal); }
body.campai-page main { padding-bottom: 72px; }
body.campai-page .page-hero .eyebrow {
  font-size: 11.2px;
}

.page-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 84px max(24px, calc((100vw - var(--max-width)) / 2)) 92px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, var(--teal-pale), #fff9ef 70%);
}
.page-hero h1 { max-width: 1000px; margin: 14px 0 18px; color: var(--teal-dark); font-size: clamp(2.08rem, 5.1vw, 4.42rem); line-height: .98; }
.page-hero p { max-width: 760px; margin: 0; color: var(--text); font-size: clamp(.9rem, 1.7vw, 1.15rem); }
.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 56px; }
.content-card, .side-card, .download-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0,0,0,.045);
}
.content-card { padding: clamp(28px, 5vw, 64px); }
.content-card h2, .download-section h2 { margin: 34px 0 16px; color: var(--teal-dark); font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1; }
.content-card h2:first-child { margin-top: 0; }
.content-card h3, .side-card h3, .download-section h3 { margin: 26px 0 10px; color: var(--navy); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.1; }
.content-card p { margin: 0 0 1.1rem; max-width: 820px; }
.notice-box {
  margin-bottom: 34px;
  padding: 18px 22px;
  border-left: 8px solid var(--yellow);
  border-radius: 12px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 1.08rem;
}
.side-card { align-self: start; position: sticky; top: 24px; padding: 28px; background: var(--teal); color: white; }
.side-card h2 { margin: 0 0 20px; color: white; font-size: 2rem; line-height: 1; }
.side-card h3 { color: var(--yellow); }
.side-card p { margin: 0 0 18px; }
.side-card a { color: white; font-weight: 800; }
body.campai-page .content-card .button { margin: 8px 0 10px; border-radius: 999px; }
.download-section { margin-top: 40px; padding: clamp(28px, 5vw, 56px); }
.download-section > h2 { margin-top: 0; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.download-group { padding: 24px; border-radius: 16px; background: var(--teal-pale); }
.download-group h3 { margin-top: 0; }
.download-list { list-style: none; padding: 0; margin: 0; }
.download-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(8,103,105,.18); }
.download-list li:first-child { border-top: 0; }
.download-list li > span:first-child { font-weight: 700; }
.format-links { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.format-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  color: var(--teal);
  background: white;
  font-weight: 800;
  text-decoration: none;
}
.format-links a:hover, .format-links a:focus-visible { background: var(--teal); color: white; }

/* Footer */
.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--teal);
  color: white;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1.8fr .6fr; gap: 64px; padding: 72px 48px; }
.footer-logo { width: clamp(180px, 18vw, 260px); height: auto; margin: 0 0 24px; }
.site-footer h3 { margin: 0 0 24px; font-size: 24px; }
.site-footer p { margin: 0 0 16px; }
.site-footer a { color: white; }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 32px; }
.address-block h4 { margin: 0 0 14px; color: white; font-size: 22px; line-height: 1.1; }
.contact-line { display: flex; align-items: center; gap: 9px; margin: 0 0 10px !important; }
.contact-icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.social-links { display: flex; align-items: center; gap: 24px; }
.social-links a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; transition: transform 180ms ease, opacity 180ms ease; }
.social-links a:hover, .social-links a:focus-visible { transform: translateY(-3px) scale(1.08); opacity: .82; }
.footer-logo-strip { display: flex; align-items: center; justify-content: flex-start; padding: 36px 48px; background: var(--teal-dark); border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-support-logos { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.footer-support-logos img { display: block; width: auto; height: clamp(52px, 4.5vw, 68px); max-width: min(46vw, 260px); object-fit: contain; }
.footer-return { display: flex; align-items: center; justify-content: flex-end; gap: 36px; padding: 22px 48px; background: var(--teal-dark); }
.footer-return a { color: white; font-weight: 800; text-decoration: none; white-space: nowrap; }
.back-to-top-triangle { display: inline-block; width: 0; height: 0; margin-left: 12px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid var(--orange); transform: translateY(1px); }
.footer-bottom { display: flex; justify-content: flex-end; align-items: center; padding: 32px 48px; background: var(--navy); color: white; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .utility-nav, .main-nav { position: static; margin: 24px 0 0; justify-content: flex-start; }
  .hero { padding-top: 260px; }
  .split-feature, .contact-panel, .footer-grid, .content-shell, .download-grid { grid-template-columns: 1fr; }
  .split-feature-plan { margin-top: 40px; }
  .cards { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 900px) {
  .address-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header, body.campai-page .site-header, main, .site-footer { width: min(100% - 28px, var(--max-width)); }
  .site-header { padding-top: 28px; }
  .logo { width: clamp(170px, 52vw, 240px); }
  .utility-nav, .main-nav { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    overflow-y: auto;
    background: var(--navy);
    color: white;
    transform: translateX(100%);
    transition: transform 240ms ease;
  }
  .mobile-menu.is-open { transform: translateX(0); }
  .mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 104px 28px 34px; }
  .mobile-quick-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
  .mobile-quick-links a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: white; font-weight: 700; text-decoration: none; }
  .mobile-quick-links a:hover, .mobile-quick-links a:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
  .mobile-menu-simple { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.18); }
  .mobile-menu-simple a { display: block; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: white; font-family: var(--font-heading); font-size: clamp(1.55rem, 7vw, 2.15rem); line-height: 1.05; text-decoration: none; }
  .mobile-menu-simple a:hover, .mobile-menu-simple a:focus-visible { color: var(--yellow); }
  .hero { min-height: 100vh; min-height: 100svh; padding-inline: 24px; }
  .split-copy, .newsletter, .content-card, .download-section { padding: 32px 24px; }
  .split-feature-plan { margin-top: 28px; }
  .split-image img, .split-video video, .split-plan-image img, .split-plan-image { min-height: 320px; }
  .contact-prompt p { font-size: 2.65rem; }
  .footer-grid, .footer-logo-strip, .footer-return, .footer-bottom { padding-left: 24px; padding-right: 24px; }
  .footer-grid { gap: 34px; padding-top: 40px; padding-bottom: 40px; }
  .download-list li { align-items: flex-start; flex-direction: column; }
  .format-links { width: 100%; }
  .page-hero { padding-top: 48px; padding-bottom: 56px; }
}


/* Campaí simplification update */
body.campai-page .content-shell {
  display: block;
  max-width: 980px;
  margin: 56px auto 0;
}

body.campai-page .content-card {
  width: 100%;
}

body.campai-page .side-card {
  display: none !important;
}

body.campai-page .download-section {
  max-width: 980px;
  margin: 40px auto 0;
}

body.campai-page .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

body.campai-page .download-group {
  padding: 22px 24px;
  background: #fffdf8;
  border: 1px solid rgba(8, 103, 105, .12);
}

body.campai-page .download-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

@media (max-width: 640px) {
  body.campai-page .content-shell,
  body.campai-page .download-section {
    max-width: none;
  }

  body.campai-page .download-list li {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ==========================================================================
   Figma-based Campaí page refresh
   ========================================================================== */
body.figma-campai {
  background: var(--cream);
}

body.figma-campai .site-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
  padding: 32px 0 28px;
  color: var(--teal);
}

body.figma-campai .utility-nav,
body.figma-campai .main-nav,
body.figma-campai .main-nav > a,
body.figma-campai .utility-nav a {
  color: var(--teal);
}

body.figma-campai .main-nav > a:hover,
body.figma-campai .main-nav > a:focus-visible,
body.figma-campai .utility-nav a:hover,
body.figma-campai .utility-nav a:focus-visible {
  color: var(--teal-dark);
}

body.figma-campai .main-nav > a::before {
  background: var(--teal);
}

body.figma-campai main {
  padding-bottom: 74px;
}

.campai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 0;
  overflow: hidden;
  margin: 26px auto 40px;
  border-radius: 28px;
  background: var(--teal);
  color: white;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .08);
}

.campai-hero-copy {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 92px);
}

.campai-hero .eyebrow,
.campai-layout .eyebrow,
.forms-heading .eyebrow {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: .09em;
}

.campai-hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -0.055em;
}

.campai-hero .hero-intro {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.55vw, 1.23rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-outline {
  border: 2px solid rgba(255, 255, 255, .72);
  background: transparent;
  color: white;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy);
}

.campai-hero-media {
  min-height: 520px;
  background: var(--navy);
}

.campai-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.campai-status {
  max-width: 1040px;
  margin: -6px auto 34px;
  padding: 18px 24px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
}

.campai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto 38px;
}

.campai-panel,
.forms-panel,
.campai-note {
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .045);
}

.campai-panel {
  padding: clamp(30px, 4.5vw, 58px);
}

.intro-panel {
  background: white;
}

.guardians-panel {
  background: var(--navy);
  color: white;
}

.campai-panel h2,
.forms-panel h2 {
  margin: 12px 0 18px;
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: .98;
  letter-spacing: -0.045em;
}

.guardians-panel h2 {
  color: white;
}

.campai-panel p {
  margin: 0 0 1.05rem;
  font-size: 1.03rem;
}

.forms-panel {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(32px, 5vw, 62px);
  background: #fffefb;
}

.forms-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.forms-heading .eyebrow {
  color: var(--teal);
}

.forms-heading p {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
}

.forms-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-group {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 103, 105, .13);
  border-radius: 18px;
  background: #ffffff;
}

.form-group h3 {
  margin: 0;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(8, 103, 105, .13);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

body.figma-campai .download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.figma-campai .download-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 24px;
  border-top: 1px solid rgba(8, 103, 105, .10);
}

body.figma-campai .download-list li:first-child {
  border-top: 0;
}

body.figma-campai .download-list li > span:first-child {
  color: var(--text);
  font-weight: 750;
}

body.figma-campai .format-links {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
}

body.figma-campai .format-links a {
  display: inline-flex;
  min-width: 58px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.figma-campai .format-links a:hover,
body.figma-campai .format-links a:focus-visible {
  background: var(--teal);
  color: white;
}

.small-note {
  margin: 0;
  padding: 18px 24px 22px;
  color: var(--teal-dark);
}

.campai-note {
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 26px 30px;
  background: var(--teal-pale);
  color: var(--teal-dark);
}

.campai-note p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .campai-hero,
  .campai-layout {
    grid-template-columns: 1fr;
  }

  .campai-hero-copy,
  .campai-hero-media,
  .campai-hero-media img {
    min-height: auto;
  }

  .campai-hero-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  body.figma-campai .site-header {
    padding-top: 28px;
  }

  .campai-hero {
    margin-top: 20px;
    border-radius: 22px;
  }

  .campai-hero-copy,
  .campai-panel,
  .forms-panel {
    padding: 30px 24px;
  }

  .campai-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .campai-status {
    margin-top: 0;
  }

  body.figma-campai .download-list li {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
    padding: 16px 18px;
  }

  body.figma-campai .format-links {
    justify-content: flex-start;
    width: 100%;
  }

  .form-group h3 {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* Campaí one-panel refinement */
.figma-campai .campai-layout {
  display: block;
  max-width: 1040px;
  margin: 0 auto 38px;
}

.figma-campai .combined-info-panel {
  background: #ffffff;
}

.figma-campai .combined-info-panel .panel-divider {
  width: 100%;
  height: 1px;
  margin: 34px 0 30px;
  border: 0;
  background: rgba(8, 103, 105, .16);
}

.figma-campai .combined-info-panel h2 + p {
  margin-top: 0;
}


/* ==========================================================================
   Shared simple content pages matching Preasráiteas
   ========================================================================== */
.preas-page {
  background: var(--cream, #edeae6);
}
.preas-main {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.preas-article {
  width: min(920px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}
.preas-article .eyebrow { margin: 0 0 1rem; color: var(--teal); }
.preas-article h1 {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .95;
  letter-spacing: -.04em;
}
.preas-date,
.content-intro {
  margin: 0 0 2rem;
  font-weight: 700;
}
.preas-content {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.preas-content p { margin: 0 0 1.25rem; }
.preas-content h2 {
  margin: 2.5rem 0 1rem;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.preas-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}
.preas-content li { margin-bottom: .5rem; }
.content-actions,
.region-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.8rem 0 2.2rem;
}
.content-actions .button,
.region-links .button {
  min-height: 48px;
  border-radius: 12px;
}
.region-links .button { justify-content: flex-start; }
.main-nav a.is-active,
.mobile-menu a.is-active {
  color: var(--yellow);
}
body.figma-campai .main-nav a.is-active,
body.figma-campai .mobile-menu a.is-active,
body.preas-page .main-nav a.is-active,
body.preas-page .mobile-menu a.is-active {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: .16em;
  text-underline-offset: .28em;
}
body.preas-page .site-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
  padding: 32px 0 28px;
  color: var(--teal);
}
body.preas-page .utility-nav,
body.preas-page .main-nav,
body.preas-page .main-nav > a,
body.preas-page .utility-nav a { color: var(--teal); }
body.preas-page .main-nav > a:hover,
body.preas-page .main-nav > a:focus-visible,
body.preas-page .utility-nav a:hover,
body.preas-page .utility-nav a:focus-visible { color: var(--teal-dark); }
body.preas-page .main-nav > a::before { background: var(--teal); }
@media (max-width: 760px) {
  .preas-main {
    width: min(100% - 28px, var(--max-width));
    padding: 2rem 0 3rem;
  }
  .preas-article {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }
  .content-actions,
  .region-links { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Update: English tooltip and smaller internal page H1s
   ========================================================================== */
.utility-nav .lang:not(.active) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.utility-nav .lang:not(.active)::after {
  content: "Níl an leagan Béarla réidh go foill.";
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 0;
  width: max-content;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.utility-nav .lang:not(.active)::before {
  content: "";
  position: absolute;
  z-index: 31;
  top: calc(100% + 5px);
  right: 12px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--navy);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.utility-nav .lang:not(.active):hover::after,
.utility-nav .lang:not(.active):focus-visible::after,
.utility-nav .lang:not(.active):hover::before,
.utility-nav .lang:not(.active):focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.preas-article h1 {
  font-size: clamp(1.92rem, 4.8vw, 4rem);
}

body.figma-campai .campai-hero h1 {
  font-size: calc(var(--hero-title-size, clamp(3rem, 7vw, 6.25rem)) * 0.64) !important;
}

@media (max-width: 760px) {
  .preas-article h1 {
    font-size: clamp(1.92rem, 9.6vw, 4rem);
  }
}


/* ==========================================================================
   Update: Folúntais cards and footer social links
   ========================================================================== */
.vacancy-card {
  display: flex;
  min-height: 100%;
}
.vacancy-card > div {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
.vacancy-card img {
  display: none !important;
}
.vacancy-card .card-title-link {
  color: inherit;
  text-decoration: none;
}
.vacancy-card .card-title-link:hover,
.vacancy-card .card-title-link:focus-visible {
  text-decoration: underline;
}
.vacancy-card .button {
  align-self: flex-start;
  margin-top: auto;
}
.vacancy-post {
  padding: 0 0 2rem;
  margin: 0 0 2rem;
  border-bottom: 1px solid rgba(8, 103, 105, .16);
}
.vacancy-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}


/* ==========================================================================
   Update: Folúntais page content cards
   ========================================================================== */
.vacancy-card {
  border: 1px solid rgba(8, 103, 105, .12);
}
.vacancy-card > div {
  padding-top: 34px;
}
.vacancy-post h3 {
  margin: 1.45rem 0 .55rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.vacancy-post ul {
  margin: 0 0 1.25rem 1.2rem;
  padding: 0;
}
.vacancy-post li {
  margin: 0 0 .55rem;
}
.vacancy-post a {
  color: var(--teal);
  font-weight: 800;
}
.content-intro {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}


/* Update: h3s use body font and Folúntais on-page links */
h3,
.card h3,
.content-card h3,
.side-card h3,
.download-section h3,
.site-footer h3,
.form-group h3,
.vacancy-post h3 {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.on-page-nav {
  margin: 0 0 2.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(8, 103, 105, .14);
  border-radius: 18px;
  background: #fffdf8;
}

.on-page-nav-title {
  margin: 0 0 .85rem;
  color: var(--teal-dark);
  font-weight: 800;
}

.on-page-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button-outline-teal {
  border: 1px solid var(--teal);
  background: white;
  color: var(--teal);
}

.button-outline-teal:hover,
.button-outline-teal:focus-visible {
  background: var(--teal);
  color: white;
}

.vacancy-post {
  scroll-margin-top: 2rem;
}


/* Campaí list panel added to Campaí Samhraidh page */
.campai-list-panel {
  margin: 40px 0;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0,0,0,.045);
}
.campai-list-panel h2 {
  margin: 14px 0 16px;
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.campai-list-panel .content-intro { max-width: 820px; }

@media (max-width: 760px) {
  .footer-return { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .footer-return a { white-space: normal; }
  .footer-logo-strip { padding-top: 26px; padding-bottom: 26px; }
  .footer-support-logos { width: 100%; gap: 24px; }
  .footer-support-logos img { height: clamp(36px, 9vw, 48px); max-width: calc(50% - 12px); }
}

.mailchimp-message {
  margin: 1rem 0;
  font-weight: 700;
  line-height: 1.4;
}

.mailchimp-contact-panel button[disabled] {
  opacity: 0.65;
  cursor: wait;
}
.plan-banner-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.5rem 0 2.5rem;
}


/* Update: Folúntais 2026 detailed job panels and download buttons */
.vacancies-article {
  width: min(1040px, 100%);
}
.vacancy-download-actions {
  margin-top: 0;
}
.vacancy-meta {
  display: grid;
  gap: 0;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid rgba(8, 103, 105, .16);
  border-radius: 16px;
  overflow: hidden;
  background: #fffdf8;
}
.vacancy-meta div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 1rem;
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(8, 103, 105, .12);
}
.vacancy-meta div:last-child { border-bottom: 0; }
.vacancy-meta dt {
  color: var(--teal-dark);
  font-weight: 800;
}
.vacancy-meta dd {
  margin: 0;
}
.vacancy-post .eyebrow {
  color: var(--teal);
  margin-bottom: .5rem;
}
.vacancy-post .button {
  color: var(--navy);
  text-decoration: none;
}
.vacancy-post .button-navy,
.vacancy-download-actions .button-navy {
  color: #fff;
}
@media (max-width: 760px) {
  .vacancy-meta div { grid-template-columns: 1fr; gap: .25rem; }
}
