/* MindFlux — Light Premium Cognitive AI Platform */
/* Regina, Saskatchewan — mindflux.life */

:root {
  --white: #FFFFFF;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #D1FAE5;
  --ink: #1C1917;
  --ink-muted: #57534E;
  --ink-faint: #A8A29E;
  --cloud: #F5F5F4;
  --cloud-warm: #FAFAF9;
  --border: #E7E5E4;
  --radius-card: 24px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 4px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 48px rgba(28, 25, 23, 0.1);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.site-mindflux {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--emerald); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.serif { font-family: var(--font-serif); font-weight: 400; }
.serif-medium { font-family: var(--font-serif); font-weight: 500; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 800px; }
.container-wide { max-width: 1400px; }

/* Surfaces */
.surface-light { background: var(--white); }
.surface-cloud { background: var(--cloud-warm); }
.surface-accent { background: var(--cloud); }
.surface-emerald { background: var(--emerald-light); }

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 640px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-lead {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--emerald);
  background: transparent;
  color: var(--emerald-dark);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--fill {
  background: var(--emerald);
  color: var(--white);
}

.btn--fill:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
}

.btn--white {
  border-color: var(--white);
  color: var(--white);
}

.btn--white:hover {
  background: var(--white);
  color: var(--emerald-dark);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  border-radius: calc(var(--radius-card) - 8px);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card__text {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover { color: var(--ink); }

.logo__symbol {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--emerald-dark);
  background: var(--emerald-light);
}

.nav-desktop .btn {
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
}

.nav-desktop .btn--fill,
.nav-desktop .btn--fill:hover,
.nav-desktop .btn--fill.is-active {
  color: var(--white);
  background: var(--emerald);
}

.nav-desktop .btn--fill:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: var(--transition);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.nav-overlay__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav-overlay__links a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 24px;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-overlay__links a:hover {
  color: var(--emerald);
}

@media (min-width: 1024px) {
  .nav-overlay {
    display: none;
  }
}

/* Hero Pattern A — 60/40 Editorial */
.hero-editorial {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-editorial__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
}

.hero-editorial__content {
  max-width: 600px;
}

.hero-editorial__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-editorial__title em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 500;
  color: var(--emerald-dark);
}

.hero-editorial__lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-editorial__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.hero-editorial__visual {
  position: relative;
}

.hero-editorial__image {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-editorial__accent {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  background: var(--emerald-light);
  border-radius: var(--radius-card);
  z-index: -1;
}

/* Page Hero */
.page-hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 64px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero__image {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section--sm { padding: 48px 0; }

/* Adoption Counter */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.counter-item {
  text-align: center;
  padding: 32px 16px;
}

.counter-item__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-item__label {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Channels Grid */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.channel-card {
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.channel-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}

.channel-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--emerald-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.channel-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.channel-card__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Teaming Method */
.teaming-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.teaming-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.teaming-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.teaming-step__num {
  width: 40px;
  height: 40px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.teaming-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.teaming-step__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-item {
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition);
}

.bento-item:hover { box-shadow: var(--shadow-md); }

.bento-item--wide { grid-column: span 2; }
.bento-item--tall { grid-row: span 2; }

.bento-item__title {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.bento-item__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.bento-item__image {
  border-radius: calc(var(--radius-card) - 12px);
  margin-top: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  transition: color var(--transition);
}

.faq-item__question:hover { color: var(--emerald-dark); }

.faq-item__number {
  color: var(--emerald);
  font-weight: 800;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 600px;
}

.faq-item__answer-inner {
  padding-bottom: 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* No-JS fallback: all FAQ items open */
html:not(.js) .faq-item .faq-item__answer {
  max-height: none;
}

html:not(.js) .faq-item__icon { display: none; }

/* CTA Band */
.cta-band {
  padding: 64px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-card);
  margin: 0 24px;
}

.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.program-card__code {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.program-card__title {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.program-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}

.program-card__price span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.program-card__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.program-card__image {
  border-radius: calc(var(--radius-card) - 8px);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-portrait {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  max-width: 320px;
}

.about-text p {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: 20px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info__item {
  margin-bottom: 24px;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 4px;
}

.contact-info__value {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--ink);
}

.contact-info__value a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-light);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.form-consent input {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-form .form-consent label,
.contact-form .form-consent__label {
  display: inline;
  margin-bottom: 0;
  font-weight: 400;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

.form-consent__link {
  color: var(--emerald-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  background: var(--emerald-light);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  color: var(--emerald-dark);
  font-weight: 600;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content .legal-image {
  border-radius: var(--radius-card);
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/7;
  object-fit: cover;
  width: 100%;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-bottom: 32px;
}

/* AI Disclaimer */
.ai-disclaimer {
  background: var(--cloud);
  border-left: 4px solid var(--emerald);
  padding: 16px 20px;
  margin: 32px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  background: var(--cloud-warm);
  color: var(--ink);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  color: var(--ink);
}

.footer-brand__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--emerald-dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.footer-bottom a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--emerald-dark); }

.footer-ai-note {
  width: 100%;
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(28, 25, 23, 0.1);
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.cookie-banner__text a { text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner__actions .btn {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

/* Cookie Customise Panel */
.cookie-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3100;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 48px rgba(28, 25, 23, 0.15);
  padding: 32px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-panel.is-visible {
  transform: translateY(0);
}

.cookie-panel__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cookie-panel__desc {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option__info h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.cookie-option__info p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 28px;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--emerald);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-panel__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* 404 */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.error-page__code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--emerald-light);
  line-height: 1;
}

.error-page__title {
  font-size: 1.5rem;
  margin: 16px 0;
}

.error-page__text {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.error-page__image {
  border-radius: var(--radius-card);
  max-width: 480px;
  margin: 0 auto 32px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Scroll Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html:not(.js) .reveal,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-editorial__grid { grid-template-columns: 1fr; }
  .hero-editorial__visual { order: -1; max-width: 480px; margin: 0 auto; }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-item--wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .channels-grid { grid-template-columns: 1fr 1fr; }
  .teaming-layout,
  .about-grid,
  .contact-grid,
  .page-hero__grid { grid-template-columns: 1fr; }
  .programs-grid,
  .services-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { margin: 0 16px; }
}

@media (max-width: 480px) {
  .channels-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr; }
  .hero-editorial__actions { flex-direction: column; }
  .hero-editorial__actions .btn { width: 100%; }
}
