@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --act-primary: #5B2C6F;
  --act-secondary: #8E44AD;
  --act-accent: #F39C12;
  --act-background: #FAF5FF;
  --act-surface: #FFFFFF;
  --act-text: #2C1A3D;
  --act-text-light: #7B6B8A;
  --act-border: #E0D0EE;
  --act-hero-overlay: linear-gradient(140deg, rgba(91, 44, 111, 0.87), rgba(142, 68, 173, 0.5));
  --act-shadow-rest: 0 2px 8px rgba(0, 0, 0, 0.1);
  --act-shadow-lift: 0 8px 16px rgba(44, 26, 61, 0.18);
  --act-radius: 8px;
  --act-grid-gap: 24px;
  --act-card-pad: 32px;
  --act-max-width: 1240px;
  --act-nav-height: 88px;
  --act-fast: 180ms ease;
  --act-slow: 320ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(243, 156, 18, 0.14), transparent 28%),
    linear-gradient(180deg, #fdf8ff 0%, var(--act-background) 45%, #f4ebfb 100%);
  color: var(--act-text);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

a {
  color: var(--act-primary);
  text-decoration: none;
  transition: color var(--act-fast);
}

a:hover,
a:focus-visible {
  color: var(--act-accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  color: var(--act-primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.05;
}

p,
ul,
ol,
blockquote {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

::selection {
  background: rgba(243, 156, 18, 0.28);
}

.act-site-shell {
  min-height: 100vh;
}

.act-page-shell {
  width: min(calc(100% - 32px), var(--act-max-width));
  margin: 0 auto;
}

.act-page-shell > * + * {
  margin-top: 24px;
}

.act-card-shell,
.act-hero,
.act-campaign,
.act-help-grid,
.act-manifesto,
.act-map-panel,
.act-testimonials,
.act-timeline,
.act-faq,
.act-toolkit,
.act-team,
.act-footer-panel,
.act-page-banner,
.act-story-grid,
.act-program-grid,
.act-contact-panel {
  background: var(--act-surface);
  border: 1px solid var(--act-border);
  border-radius: var(--act-radius);
  box-shadow: var(--act-shadow-rest);
  padding: var(--act-card-pad);
  transition: transform var(--act-fast), box-shadow var(--act-fast), border-color var(--act-fast);
}

.act-card-shell:hover,
.act-card-shell:focus-within,
.act-hero:hover,
.act-campaign:hover,
.act-help-card:hover,
.act-map-panel:hover,
.act-testimonial-card:hover,
.act-team-card:hover,
.act-program-card:hover,
.act-story-card:hover,
.act-footer-panel:hover {
  box-shadow: var(--act-shadow-lift);
  transform: translateY(-3px);
}

.act-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--act-primary);
  color: var(--act-surface);
  box-shadow: 0 4px 14px rgba(44, 26, 61, 0.16);
}

.act-nav {
  width: min(calc(100% - 32px), var(--act-max-width));
  min-height: var(--act-nav-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.act-nav-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--act-surface);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  line-height: 1;
}

.act-nav-brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.act-nav-brand span {
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.74);
}

.act-nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--act-surface);
}

.act-nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--act-fast), opacity var(--act-fast);
}

.act-nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.act-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--act-surface);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.act-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  background: var(--act-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--act-fast);
}

.act-nav-link:hover::after,
.act-nav-link:focus-visible::after,
.act-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.act-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.act-language-toggle,
.act-nav-cta,
.act-button,
.act-button-alt,
.act-footer-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform var(--act-fast), background var(--act-fast), color var(--act-fast), box-shadow var(--act-fast);
}

.act-nav-cta,
.act-button,
.act-footer-submit {
  background: var(--act-accent);
  color: var(--act-text);
}

.act-language-toggle,
.act-button-alt {
  background: rgba(255, 255, 255, 0.12);
  color: var(--act-surface);
}

.act-nav-cta:hover,
.act-button:hover,
.act-button-alt:hover,
.act-language-toggle:hover,
.act-footer-submit:hover,
.act-nav-cta:focus-visible,
.act-button:focus-visible,
.act-button-alt:focus-visible,
.act-language-toggle:focus-visible,
.act-footer-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--act-shadow-lift);
}

.act-page-main {
  padding: 24px 0 48px;
}

.act-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: var(--act-primary);
}

.act-hero-media {
  min-height: 540px;
  background:
    var(--act-hero-overlay),
    url('images/hero-1.jpg') center/cover no-repeat;
}

.act-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 48px;
  background: var(--act-primary);
  color: var(--act-surface);
}

.act-hero-panel h1,
.act-hero-panel h2,
.act-hero-panel h3 {
  color: var(--act-surface);
}

.act-hero-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.act-hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
}

.act-hero-copy {
  max-width: 28rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.act-hero-points {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.act-hero-points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.act-hero-points li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 0.35em;
  border-radius: 50%;
  background: var(--act-accent);
  box-shadow: 0 0 0 6px rgba(243, 156, 18, 0.18);
}

.act-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.act-campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: var(--act-grid-gap);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(91, 44, 111, 0.05), rgba(243, 156, 18, 0.12)),
    var(--act-surface);
}

.act-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--act-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.act-kicker::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--act-accent);
}

.act-progress-block {
  display: grid;
  gap: 16px;
}

.act-progress-track {
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #efe4f8;
}

.act-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--act-accent), #ffbf4f);
}

.act-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--act-text-light);
  font-size: 0.95rem;
}

.act-campaign-aside {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--act-radius);
  background: rgba(91, 44, 111, 0.06);
}

.act-stat-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.act-stat-block {
  padding: 16px;
  border-radius: var(--act-radius);
  background: var(--act-surface);
  border: 1px solid var(--act-border);
}

.act-stat-number {
  display: block;
  color: var(--act-primary);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.act-stat-label {
  display: block;
  margin-top: 8px;
  color: var(--act-text-light);
  font-size: 0.92rem;
}

.act-help-grid,
.act-testimonial-grid,
.act-team-grid,
.act-program-grid,
.act-story-grid,
.act-resource-list,
.act-contact-grid {
  display: grid;
  gap: var(--act-grid-gap);
}

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

.act-help-card {
  position: relative;
  overflow: hidden;
  background: var(--act-surface);
  border: 1px solid var(--act-border);
  border-radius: var(--act-radius);
  box-shadow: var(--act-shadow-rest);
  padding: var(--act-card-pad);
  transition: transform var(--act-fast), box-shadow var(--act-fast);
}

.act-help-card::before {
  content: attr(data-badge);
  position: absolute;
  top: 18px;
  right: -32px;
  padding: 8px 38px;
  background: var(--act-accent);
  color: var(--act-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(34deg);
}

.act-help-icon {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(91, 44, 111, 0.08);
  color: var(--act-primary);
  font-size: 1.6rem;
}

.act-manifesto {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(44, 26, 61, 0.2), rgba(44, 26, 61, 0.8)),
    url('images/scene-1.jpg') center/cover no-repeat;
}

.act-manifesto-quote {
  max-width: 760px;
  padding: 40px;
  border-radius: var(--act-radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--act-surface);
}

.act-manifesto-quote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.12;
}

.act-manifesto-attrib {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.act-map-panel {
  background:
    linear-gradient(180deg, rgba(250, 245, 255, 0.9), rgba(250, 245, 255, 0.98)),
    url('images/community-1.jpg') center/cover no-repeat;
}

.act-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: var(--act-grid-gap);
  align-items: start;
}

.act-map-frame {
  position: relative;
  min-height: 420px;
  border-radius: var(--act-radius);
  border: 1px solid var(--act-border);
  background:
    linear-gradient(145deg, rgba(91, 44, 111, 0.08), rgba(142, 68, 173, 0.02)),
    var(--act-surface);
  overflow: hidden;
}

.act-map-frame svg,
.act-map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.act-map-region {
  fill: rgba(91, 44, 111, 0.22);
  stroke: var(--act-primary);
  stroke-width: 2;
  cursor: pointer;
  transition: fill var(--act-fast), transform var(--act-fast);
}

.act-map-region:hover,
.act-map-region:focus {
  fill: rgba(243, 156, 18, 0.38);
}

.act-map-list {
  display: grid;
  gap: 14px;
}

.act-map-link {
  display: block;
  padding: 16px 18px;
  border-radius: var(--act-radius);
  border: 1px solid var(--act-border);
  background: var(--act-surface);
  color: var(--act-text);
  font-weight: 600;
}

.act-map-link:hover,
.act-map-link:focus-visible {
  border-color: var(--act-accent);
  background: #fff9ef;
}

.act-testimonials {
  background:
    linear-gradient(180deg, rgba(91, 44, 111, 0.06), rgba(91, 44, 111, 0)),
    var(--act-surface);
}

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

.act-testimonial-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: var(--act-radius);
  background: var(--act-primary);
}

.act-testimonial-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.act-testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 26, 61, 0.05), rgba(44, 26, 61, 0.88));
}

.act-testimonial-copy {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 1;
  color: var(--act-surface);
}

.act-testimonial-copy p {
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  line-height: 1.16;
}

.act-testimonial-copy span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.act-timeline {
  background:
    linear-gradient(180deg, rgba(243, 156, 18, 0.08), transparent 30%),
    var(--act-surface);
}

.act-timeline-list {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.act-timeline-item {
  display: grid;
  grid-template-columns: 120px 20px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.act-timeline-date {
  color: var(--act-secondary);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.act-timeline-pin {
  position: relative;
  width: 20px;
  min-height: 100%;
}

.act-timeline-pin::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--act-accent);
  box-shadow: 0 0 0 6px rgba(243, 156, 18, 0.16);
}

.act-timeline-pin::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: -20px;
  left: 9px;
  width: 2px;
  background: var(--act-border);
}

.act-timeline-item:last-child .act-timeline-pin::after {
  display: none;
}

.act-timeline-card {
  padding: 18px 20px;
  border-radius: var(--act-radius);
  background: #fffdf6;
  border: 1px solid var(--act-border);
}

.act-faq {
  background: var(--act-surface);
}

.act-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.act-faq-item {
  border: 1px solid var(--act-border);
  border-radius: var(--act-radius);
  background: #fcf9ff;
  overflow: hidden;
}

.act-faq-item summary {
  list-style: none;
  padding: 20px 56px 20px 20px;
  position: relative;
  cursor: pointer;
  font-weight: 700;
  color: var(--act-primary);
}

.act-faq-item summary::-webkit-details-marker {
  display: none;
}

.act-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 14px;
  color: var(--act-accent);
  font-size: 1.6rem;
  line-height: 1;
}

.act-faq-item[open] summary::after {
  content: "−";
}

.act-faq-answer {
  padding: 0 20px 20px;
  color: var(--act-text-light);
}

.act-toolkit {
  background:
    linear-gradient(135deg, rgba(91, 44, 111, 0.98), rgba(142, 68, 173, 0.9)),
    var(--act-primary);
  color: var(--act-surface);
}

.act-toolkit h2,
.act-toolkit h3,
.act-toolkit a,
.act-toolkit p {
  color: var(--act-surface);
}

.act-toolkit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: var(--act-grid-gap);
  align-items: center;
}

.act-resource-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.act-resource-card {
  padding: 20px;
  border-radius: var(--act-radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.act-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.act-team-card {
  overflow: hidden;
  background: var(--act-surface);
  border-radius: var(--act-radius);
  border: 1px solid var(--act-border);
  box-shadow: var(--act-shadow-rest);
}

.act-team-photo {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.act-team-copy {
  padding: 20px;
}

.act-team-role {
  color: var(--act-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.act-footer-panel {
  background:
    linear-gradient(145deg, rgba(91, 44, 111, 0.98), rgba(63, 29, 81, 0.98)),
    var(--act-primary);
  color: var(--act-surface);
}

.act-footer-panel h2,
.act-footer-panel h3,
.act-footer-panel p,
.act-footer-panel a,
.act-footer-panel label {
  color: var(--act-surface);
}

.act-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: var(--act-grid-gap);
}

.act-signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 18px;
}

.act-input {
  min-height: 50px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--act-surface);
}

.act-input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.act-social-list,
.act-meta-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.act-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--act-surface);
  font-weight: 600;
}

.act-floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 12px;
}

.act-floating-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--act-accent);
  color: var(--act-text);
  box-shadow: var(--act-shadow-lift);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.act-page-banner {
  min-height: 320px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(44, 26, 61, 0.14), rgba(44, 26, 61, 0.8)),
    url('images/hero-2.jpg') center/cover no-repeat;
}

.act-page-banner[data-act-image="about"] {
  background:
    linear-gradient(180deg, rgba(44, 26, 61, 0.14), rgba(44, 26, 61, 0.8)),
    url('images/scene-2.jpg') center/cover no-repeat;
}

.act-page-banner[data-act-image="programs"] {
  background:
    linear-gradient(180deg, rgba(44, 26, 61, 0.14), rgba(44, 26, 61, 0.8)),
    url('images/community-2.jpg') center/cover no-repeat;
}

.act-page-banner[data-act-image="team"] {
  background:
    linear-gradient(180deg, rgba(44, 26, 61, 0.14), rgba(44, 26, 61, 0.8)),
    url('images/community-3.jpg') center/cover no-repeat;
}

.act-page-banner[data-act-image="contact"] {
  background:
    linear-gradient(180deg, rgba(44, 26, 61, 0.14), rgba(44, 26, 61, 0.8)),
    url('images/hero-3.jpg') center/cover no-repeat;
}

.act-banner-copy {
  max-width: 720px;
  color: var(--act-surface);
}

.act-banner-copy h1,
.act-banner-copy h2,
.act-banner-copy p {
  color: var(--act-surface);
}

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

.act-story-card,
.act-program-card {
  overflow: hidden;
  padding: 0;
}

.act-story-image,
.act-program-image,
.act-contact-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.act-story-copy,
.act-program-copy {
  padding: 24px;
}

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

.act-program-card:nth-child(1) .act-program-image {
  content: url('images/community-1.jpg');
}

.act-program-card:nth-child(2) .act-program-image {
  content: url('images/community-4.jpg');
}

.act-program-card:nth-child(3) .act-program-image {
  content: url('images/scene-2.jpg');
}

.act-program-card:nth-child(4) .act-program-image {
  content: url('images/scene-3.jpg');
}

.act-contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.act-contact-panel {
  display: grid;
  gap: 20px;
}

.act-contact-card {
  padding: 22px;
  border-radius: var(--act-radius);
  background: #fcf9ff;
  border: 1px solid var(--act-border);
}

.act-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.act-contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--act-primary);
}

.act-language-slot {
  display: none;
}

body[data-language="en"] .act-language-slot[data-lang="en"],
body[data-language="cy"] .act-language-slot[data-lang="cy"] {
  display: block;
}

body[data-language="en"] [data-lang-inline="en"],
body[data-language="cy"] [data-lang-inline="cy"] {
  display: inline;
}

body[data-language="en"] [data-lang-inline="cy"],
body[data-language="cy"] [data-lang-inline="en"] {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1100px) {
  .act-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .act-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .act-nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: var(--act-radius);
    background: var(--act-primary);
    box-shadow: var(--act-shadow-lift);
  }

  .act-topbar.act-nav-open .act-nav-menu {
    display: flex;
  }

  .act-topbar.act-nav-open .act-nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .act-topbar.act-nav-open .act-nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .act-topbar.act-nav-open .act-nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .act-nav-actions {
    justify-content: flex-end;
  }

  .act-hero,
  .act-campaign,
  .act-map-layout,
  .act-toolkit-layout,
  .act-contact-grid,
  .act-footer-grid {
    grid-template-columns: 1fr;
  }

  .act-help-grid,
  .act-testimonial-grid,
  .act-team-grid,
  .act-story-grid,
  .act-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .act-resource-list,
  .act-faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body {
    font-size: 17px;
  }

  .act-page-shell {
    width: min(calc(100% - 20px), var(--act-max-width));
  }

  .act-card-shell,
  .act-hero-panel,
  .act-campaign,
  .act-help-card,
  .act-manifesto,
  .act-map-panel,
  .act-testimonials,
  .act-timeline,
  .act-faq,
  .act-toolkit,
  .act-team,
  .act-footer-panel,
  .act-page-banner,
  .act-story-card,
  .act-program-card,
  .act-contact-panel {
    padding: 24px;
  }

  .act-hero {
    grid-template-columns: 1fr;
  }

  .act-hero-media {
    min-height: 320px;
  }

  .act-hero-panel {
    padding: 32px 24px;
  }

  .act-hero-title {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .act-help-grid,
  .act-testimonial-grid,
  .act-team-grid,
  .act-story-grid,
  .act-program-grid {
    grid-template-columns: 1fr;
  }

  .act-timeline-item {
    grid-template-columns: 1fr;
  }

  .act-timeline-pin {
    display: none;
  }

  .act-stat-stack {
    grid-template-columns: 1fr;
  }

  .act-signup-form {
    grid-template-columns: 1fr;
  }

  .act-nav-actions .act-nav-cta {
    display: none;
  }

  .act-floating-actions {
    right: 14px;
    bottom: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
