/* =========================================================================
   COTC Africa — design system
   Brand marks are green #009966 with a blue #0099CC secondary. The brief asked
   for navy/teal/gold, so the palette below keeps the brand green as the action
   colour and resolves the "deep sophisticated tone" as a teal-leaning navy that
   sits harmoniously beside it. Gold appears only as a sparing accent.
   ========================================================================= */

:root {
  /* --- Ink & surface ---------------------------------------------------- */
  --ink: #072a2c;
  --ink-2: #0d3b3d;
  --ink-soft: #3c5b5c;
  /* 5.31:1 on white, 5.05:1 on --surface-2 — clears WCAG AA for body text. */
  --muted: #577070;
  --line: #dfe8e5;
  --line-soft: #edf2f0;

  --surface: #ffffff;
  --surface-2: #f7faf8;
  --surface-3: #eef4f1;

  /* --- Brand ------------------------------------------------------------ */
  --brand: #009966;
  --brand-deep: #007a52;
  --brand-dark: #00563a;
  --brand-tint: #e6f5ee;
  --azure: #0099cc;
  --azure-deep: #0077a3;
  --azure-tint: #e5f5fb;
  --gold: #c9a227;
  --gold-soft: #e8c96a;

  /* --- Typography ------------------------------------------------------- */
  --font-display: 'Newsreader', ui-serif, Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1: clamp(1.16rem, 1.09rem + 0.32vw, 1.36rem);
  --step-2: clamp(1.38rem, 1.25rem + 0.6vw, 1.79rem);
  --step-3: clamp(1.68rem, 1.44rem + 1.05vw, 2.42rem);
  --step-4: clamp(2.05rem, 1.63rem + 1.8vw, 3.3rem);
  --step-5: clamp(2.5rem, 1.79rem + 3.05vw, 4.6rem);

  /* --- Space, radius, shadow -------------------------------------------- */
  --gutter: clamp(1.15rem, 0.8rem + 1.7vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --measure: 68ch;
  --max: 1240px;
  --max-narrow: 980px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(7, 42, 44, 0.05), 0 2px 8px rgba(7, 42, 44, 0.04);
  --shadow-md: 0 4px 12px rgba(7, 42, 44, 0.06), 0 14px 34px rgba(7, 42, 44, 0.07);
  --shadow-lg: 0 10px 24px rgba(7, 42, 44, 0.08), 0 32px 70px rgba(7, 42, 44, 0.11);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 76px;
}

@media (max-width: 720px) {
  :root {
    --nav-h: 64px;
  }
}

/* =========================================================================
   Reset & base
   ========================================================================= */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

a {
  color: var(--brand-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  padding: 0.75rem 1.4rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   Layout primitives
   ========================================================================= */

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: var(--max-narrow);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tint {
  background: var(--surface-2);
}

.section--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section__head {
  max-width: 60ch;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--azure));
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section--ink .eyebrow {
  color: var(--gold-soft);
}

.title {
  font-size: var(--step-4);
}

.title--lg {
  font-size: var(--step-5);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1.15rem;
  max-width: var(--measure);
}

.section--ink .lede {
  color: rgba(255, 255, 255, 0.68);
}

.section__head--center .lede {
  margin-inline: auto;
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.7rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn svg {
  flex: none;
  width: 1.05em;
  height: 1.05em;
}

.btn--primary {
  box-shadow: 0 2px 6px rgba(0, 122, 82, 0.24), 0 10px 26px rgba(0, 122, 82, 0.24);
}

.btn--primary:hover {
  --btn-bg: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 122, 82, 0.28), 0 16px 34px rgba(0, 122, 82, 0.3);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}

.btn--ghost:hover {
  --btn-bd: var(--brand);
  --btn-fg: var(--brand-deep);
  background: var(--brand-tint);
  transform: translateY(-2px);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.btn--on-dark:hover {
  --btn-bg: rgba(255, 255, 255, 0.96);
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  transform: translateY(-2px);
}

.btn--azure {
  --btn-bg: var(--azure);
  box-shadow: 0 2px 6px rgba(0, 119, 163, 0.22), 0 10px 26px rgba(0, 119, 163, 0.22);
}

.btn--azure:hover {
  --btn-bg: var(--azure-deep);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.62rem 1.15rem;
  font-size: var(--step--1);
}

.btn--block {
  width: 100%;
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

/* =========================================================================
   Navigation
   ========================================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  flex: none;
}

.nav__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: filter 0.4s var(--ease);
}

.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__wordmark b {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
  white-space: nowrap;
}

.nav__wordmark span {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brand);
  transition: color 0.4s var(--ease);
}

@media (max-width: 359px) {
  .nav__wordmark {
    display: none;
  }
}

/* The strapline is the first thing to go when space is tight. */
@media (max-width: 430px) {
  .nav__wordmark span {
    display: none;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.6rem);
  list-style: none;
  padding: 0;
}

.nav__links a {
  position: relative;
  display: block;
  padding: 0.4rem 0.15rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}

.nav__links a:hover::after,
.nav__links a[aria-current='true']::after {
  transform: scaleX(1);
}

.nav__links a[aria-current='true'] {
  color: var(--brand-deep);
}

/* Transparent state — sits over the hero */
.nav:not(.is-solid) .nav__wordmark b,
.nav:not(.is-solid) .nav__links a {
  color: #fff;
}

.nav:not(.is-solid) .nav__wordmark span {
  color: var(--gold-soft);
}

.nav:not(.is-solid) .nav__links a[aria-current='true'] {
  color: #fff;
}

.nav:not(.is-solid) .nav__links a::after {
  background: var(--gold-soft);
}

.nav:not(.is-solid) .nav__brand img {
  filter: brightness(0) invert(1);
}

.nav:not(.is-solid) .nav__burger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Solid state — after scroll */
.nav.is-solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 22px rgba(7, 42, 44, 0.07);
}

@supports not (backdrop-filter: blur(1px)) {
  .nav.is-solid {
    background: #fff;
  }
}

.nav__cta {
  flex: none;
}

.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav__burger svg {
  width: 20px;
  height: 20px;
}

.nav__burger .icon-close {
  display: none;
}

.nav.is-open .nav__burger .icon-open {
  display: none;
}

.nav.is-open .nav__burger .icon-close {
  display: block;
}

@media (max-width: 1040px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }

  .nav.is-open {
    background: #fff;
    border-bottom-color: var(--line-soft);
  }

  .nav.is-open .nav__wordmark b {
    color: var(--ink);
  }

  .nav.is-open .nav__wordmark span {
    color: var(--brand);
  }

  .nav.is-open .nav__brand img {
    filter: none;
  }

  .nav.is-open .nav__burger {
    color: var(--ink);
    border-color: var(--line);
  }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 99;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  padding: 1.25rem var(--gutter) 2rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.36s var(--ease-out),
    opacity 0.28s var(--ease),
    visibility 0.36s;
}

.nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-drawer ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.4rem;
}

.nav-drawer li + li {
  border-top: 1px solid var(--line-soft);
}

.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.nav-drawer a svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

@media (min-width: 1041px) {
  .nav-drawer {
    display: none;
  }
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero__stage {
  position: absolute;
  inset: -6% 0 -6%;
  z-index: -2;
  will-change: transform;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.06);
}

.hero__slide.is-active img {
  animation: kenburns 11s var(--ease) forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.15);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Deep enough to hold AA contrast for white text anywhere over the photo,
     and to keep the backdrop reading as atmosphere rather than subject. */
  background:
    linear-gradient(180deg, rgba(4, 26, 28, 0.78) 0%, rgba(4, 26, 28, 0.52) 32%, rgba(4, 26, 28, 0.74) 62%, rgba(4, 26, 28, 0.96) 100%),
    linear-gradient(105deg, rgba(0, 60, 44, 0.72) 0%, rgba(4, 26, 28, 0.3) 68%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__content {
  max-width: 60rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.05rem 0.5rem 0.55rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__badge b {
  padding: 0.24rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: var(--step-5);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
  min-height: 2.1em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

/* Typing effect */
.type {
  border-right: 2px solid var(--gold-soft);
  padding-right: 3px;
  animation: caret 1s steps(1) infinite;
}

.type.is-done {
  animation: none;
  border-right-color: transparent;
}

@keyframes caret {
  50% {
    border-right-color: transparent;
  }
}

.hero__sub {
  max-width: 48ch;
  margin-top: 1.6rem;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.3rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 2.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  padding-left: 0;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--step--1);
  font-weight: 500;
}

.hero__meta svg {
  width: 17px;
  height: 17px;
  color: var(--gold-soft);
  flex: none;
}

.hero__dots {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  display: flex;
  gap: 0.5rem;
}

.hero__dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.hero__dots button[aria-selected='true'] {
  background: var(--gold-soft);
}

@media (max-width: 720px) {
  .hero__dots {
    display: none;
  }
}

/* =========================================================================
   Key-facts bar
   ========================================================================= */

.facts {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--section-y) * -0.5);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.facts__item {
  padding: clamp(1.3rem, 1rem + 1.2vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.facts__item + .facts__item {
  border-left: 1px solid var(--line-soft);
}

.facts__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.5rem;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand-deep);
}

.facts__icon svg {
  width: 19px;
  height: 19px;
}

.facts__item dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts__item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
  color: var(--ink);
}

.facts__item dd small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts__item:nth-child(odd) {
    border-left: 0;
  }
  .facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }
}

@media (max-width: 520px) {
  .facts {
    margin-top: calc(var(--section-y) * -0.35);
  }
  .facts__grid {
    grid-template-columns: 1fr;
  }
  .facts__item + .facts__item {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
}

/* =========================================================================
   Upcoming event
   ========================================================================= */

.event {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.event::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(0, 153, 102, 0.24), transparent 62%),
    radial-gradient(55% 50% at 92% 8%, rgba(0, 153, 204, 0.2), transparent 60%);
  pointer-events: none;
}

.event > * {
  position: relative;
}

/* The event section is dark, so the default light-theme muted grey on .lede
   would only reach 2.9:1 here. */
.event .lede {
  color: rgba(255, 255, 255, 0.72);
}

.event__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.6rem, 1rem + 2.6vw, 3rem);
  align-items: start;
}

@media (max-width: 980px) {
  .event__grid {
    grid-template-columns: 1fr;
  }
}

.event__card {
  padding: clamp(1.7rem, 1.2rem + 2.4vw, 3.2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.event__title {
  font-size: var(--step-4);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.025em;
}

.event__year {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12em 0.5em;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: #2c2200;
  font-family: var(--font-sans);
  font-size: 0.44em;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: middle;
  transform: translateY(-0.22em);
}

.event__theme {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(255, 255, 255, 0.06);
}

.event__theme dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.4rem;
}

.event__theme dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.3;
  color: #fff;
}

.event__theme dd b {
  font-weight: 600;
}

.event__logistics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin-top: 2rem;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.event__logistics > div {
  padding: 1.2rem 1.25rem;
  background: rgba(9, 44, 46, 0.72);
  display: flex;
  gap: 0.85rem;
}

.event__logistics svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--brand);
}

.event__logistics dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.event__logistics dd {
  margin: 0.25rem 0 0;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.event__logistics dd small {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.15rem;
}

/* Sessions — expandable */
.sessions {
  margin-top: 2.2rem;
}

.sessions h3 {
  font-size: var(--step-1);
  color: #fff;
  margin-bottom: 1rem;
}

.session {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.session + .session {
  margin-top: 0.7rem;
}

.session[open] {
  border-color: rgba(0, 153, 102, 0.5);
  background: rgba(0, 153, 102, 0.08);
}

.session summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.25s var(--ease);
}

.session summary::-webkit-details-marker {
  display: none;
}

.session summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.session__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(0, 153, 102, 0.2);
  color: var(--brand);
}

.session__mark svg {
  width: 17px;
  height: 17px;
}

.session__chev {
  margin-left: auto;
  width: 18px;
  height: 18px;
  flex: none;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.3s var(--ease);
}

.session[open] .session__chev {
  transform: rotate(180deg);
}

.session__body {
  padding: 0 1.25rem 1.25rem 4.15rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.96rem;
}

.session__body ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.session__body li + li {
  margin-top: 0.3rem;
}

@media (max-width: 520px) {
  .session__body {
    padding-left: 1.25rem;
  }
}

/* Registration rail */
.register {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .register {
    position: static;
  }
}

.register h3 {
  font-size: var(--step-2);
}

.register__note {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.register__cpd {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 0.95rem 1.1rem;
  border: 1px dashed var(--brand);
  border-radius: var(--r-md);
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.register__cpd svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--brand-deep);
}

.register__actions {
  display: grid;
  gap: 0.7rem;
}

.register__sep {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.4rem 0 1.15rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.register__sep::before,
.register__sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.register__contact {
  display: grid;
  gap: 0.75rem;
  font-size: 0.93rem;
}

.register__contact a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.25s var(--ease);
}

.register__contact a:hover {
  color: var(--brand-deep);
}

.register__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--brand);
}

/* Sponsor strip inside the event section */
.event__sponsors {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.event__sponsors p {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 1.4rem;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
}

.sponsor-row li {
  list-style: none;
}

.sponsor-row img {
  height: 62px;
  width: auto;
  border-radius: var(--r-sm);
  background: #fff;
  padding: 4px;
}

.sponsor-row .sponsor-text {
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.3;
}

/* =========================================================================
   About
   ========================================================================= */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

.about__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__stat {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.about__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
  line-height: 1.2;
}

.about__stat span {
  font-size: 0.87rem;
  color: var(--muted);
}

.pillars {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
  list-style: none;
  padding: 0;
}

.pillar {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.pillar:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand-deep);
}

.pillar__icon svg {
  width: 21px;
  height: 21px;
}

.pillar h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.28rem;
}

.pillar p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* Mission / vision */
.mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 0.6rem + 1.6vw, 1.8rem);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.mv__card {
  position: relative;
  padding: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.mv__card--alt {
  background: linear-gradient(150deg, var(--brand-dark), var(--brand-deep));
}

.mv__card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.mv__card h3 {
  font-size: var(--step-2);
  color: #fff;
  margin-bottom: 0.85rem;
}

.mv__card p {
  position: relative;
  font-size: var(--step-0);
  line-height: 1.62;
}

.mv__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-soft);
}

.mv__card--alt .mv__mark {
  color: #fff;
}

.mv__mark svg {
  width: 22px;
  height: 22px;
}

/* =========================================================================
   Committee
   ========================================================================= */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: clamp(1.1rem, 0.8rem + 1.2vw, 2rem);
  list-style: none;
  padding: 0;
}

.person {
  text-align: center;
}

.person__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.1rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}

.person:hover .person__photo {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.person:hover .person__photo img {
  transform: scale(1.05);
}

.person__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(7, 42, 44, 0.07);
}

.person h3 {
  font-family: var(--font-sans);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 0.2rem;
}

.person__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.person__org {
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.person--tbc .person__role,
.person--tbc .person__org {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}

/* =========================================================================
   Partners
   ========================================================================= */

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(0.8rem, 0.5rem + 1vw, 1.4rem);
  list-style: none;
  padding: 0;
}

.partner {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  padding: 1.6rem 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  text-align: center;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease-out);
}

.partner:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  /* Muted enough to sit as a calm grid, legible enough to still act as a
     credibility signal. Full colour on hover. */
  filter: saturate(0.35) opacity(0.88);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease-out);
}

.partner:hover img {
  filter: none;
  transform: scale(1.04);
}

.partner span {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}

/* =========================================================================
   Gallery
   ========================================================================= */

.gallery {
  columns: 3;
  column-gap: clamp(0.7rem, 0.4rem + 1vw, 1.15rem);
}

@media (max-width: 900px) {
  .gallery {
    columns: 2;
  }
}

@media (max-width: 520px) {
  .gallery {
    columns: 1;
  }
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 clamp(0.7rem, 0.4rem + 1vw, 1.15rem);
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-3);
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}

.shot:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.shot img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out);
}

.shot:hover img {
  transform: scale(1.045);
}

.shot__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 2.6rem 1.05rem 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(4, 26, 28, 0.86));
  color: #fff;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out);
}

.shot__cap span {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.2rem;
}

.shot:hover .shot__cap,
.shot:focus-visible .shot__cap {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 20, 21, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  /* Hold visibility until the fade-out finishes, but flip it on instantly when
     opening — otherwise focus() lands on a still-invisible dialog and is a
     no-op, which breaks the keyboard flow. */
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0s;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: scale(0.965);
  transition: transform 0.36s var(--ease-out);
}

.lightbox.is-open .lightbox__figure {
  transform: scale(1);
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--r-md);
}

.lightbox__figure figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  text-align: center;
}

.lightbox__figure figcaption span {
  color: var(--gold-soft);
  font-weight: 600;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease-out);
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.06);
}

.lightbox__btn svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: clamp(0.8rem, 2.5vw, 1.8rem);
  right: clamp(0.8rem, 2.5vw, 1.8rem);
}

.lightbox__prev {
  left: clamp(0.5rem, 2vw, 1.8rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: clamp(0.5rem, 2vw, 1.8rem);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  transform: translateY(-50%) scale(1.06);
}

@media (max-width: 560px) {
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .lightbox__prev:hover,
  .lightbox__next:hover {
    transform: scale(1.06);
  }
}

/* =========================================================================
   Contact
   ========================================================================= */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.7rem);
}

.contact__card {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.contact__card:hover {
  border-color: rgba(0, 153, 102, 0.55);
  background: rgba(0, 153, 102, 0.09);
  transform: translateY(-3px);
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-soft);
}

.contact__icon svg {
  width: 21px;
  height: 21px;
}

.contact__card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact__card a,
.contact__card p {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.25s var(--ease);
}

.contact__card a:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================================================================
   Footer
   ========================================================================= */

.footer {
  background: #041a1b;
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem;
  font-size: 0.94rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: clamp(2rem, 1.2rem + 3vw, 4rem);
  padding-bottom: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 1.1rem;
}

.footer__brand p {
  max-width: 38ch;
  line-height: 1.65;
}

.footer h2 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1.15rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  word-break: break-word;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--brand);
}

/* Scoped to .footer so it outweighs `.footer ul { display: grid }`, which would
   otherwise stack the icons vertically. */
.footer .social {
  display: flex;
  flex-flow: row wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
  list-style: none;
  padding: 0;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease-out);
}

.social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer__base ul {
  display: flex;
  gap: 1.4rem;
}

/* =========================================================================
   Floating WhatsApp
   ========================================================================= */

.wa {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.9rem);
  bottom: clamp(1rem, 2.5vw, 1.9rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem;
  border-radius: var(--r-pill);
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.36), 0 12px 34px rgba(7, 42, 44, 0.22);
  transform: translateY(90px);
  opacity: 0;
  transition:
    transform 0.45s var(--ease-out),
    opacity 0.35s var(--ease),
    box-shadow 0.3s var(--ease);
}

.wa.is-ready {
  transform: translateY(0);
  opacity: 1;
}

.wa:hover {
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 18px 44px rgba(7, 42, 44, 0.28);
}

.wa svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.wa__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.4s var(--ease-out), opacity 0.3s var(--ease), padding-right 0.4s var(--ease-out);
}

.wa:hover .wa__label,
.wa:focus-visible .wa__label {
  max-width: 12rem;
  padding-right: 0.6rem;
  opacity: 1;
}

.wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25d366;
  animation: wa-pulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* =========================================================================
   Scroll-reveal motion
   ========================================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   Reduced motion
   ========================================================================= */

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__slide.is-active img,
  .wa::after {
    animation: none;
  }

  .hero__slide img {
    transform: none;
  }

  .type {
    border-right-color: transparent;
  }

  .hero__stage {
    transform: none !important;
  }
}
