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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-highlight);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-highlight-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--color-black);
}

p {
  margin: 0 0 var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* Boot / logo intro (5GCx-style) */
.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #0a1415;
  animation: bootOut 1.85s cubic-bezier(0.33, 0.1, 0.2, 1) 3.6s forwards;
}

.no-boot .boot {
  display: none;
}

.boot__inner {
  width: min(280px, 72vw);
  text-align: center;
}

.boot__logo {
  margin: 0 auto 1.35rem;
}

.boot__logo img {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.92);
  animation: bootLogoIn 1.2s var(--ease) 0.2s forwards;
}

.boot__bar {
  height: 2px;
  background: rgba(126, 200, 203, 0.22);
  overflow: hidden;
  border-radius: 1px;
}

.boot__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #1a5f62, #227a7e 55%, #7ec8cb);
  transform-origin: left;
  transform: scaleX(0);
  animation: bootBar 2.4s cubic-bezier(0.6, 0.1, 0.2, 1) 0.15s forwards;
}

.boot__tagline {
  margin: 1.1rem 0 0;
  color: #7ec8cb;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: bootLogoIn 0.9s var(--ease) 0.85s forwards;
}

@keyframes bootLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bootBar {
  to {
    transform: scaleX(1);
  }
}

@keyframes bootOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot {
    display: none;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-highlight);
  color: var(--color-on-highlight);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header — overlays hero at top; fixed white bar when scrolled */
.site-header {
  z-index: 50;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(8, 20, 22, 0.55) 0%, rgba(8, 20, 22, 0.2) 55%, rgba(8, 20, 22, 0) 100%);
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header--overlay .brand,
.site-header--overlay .brand:hover {
  color: #fff;
}

.site-header--overlay .brand__a4 {
  color: #7ec8cb;
}

.site-header--overlay .brand:hover .brand__a4 {
  color: #a8e0e2;
}

.site-header--overlay .nav a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header--overlay .nav a:hover {
  color: #fff;
}

.site-header.is-scrolled,
.site-header--page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: none;
  box-shadow: 0 8px 24px rgba(10, 20, 21, 0.06);
  backdrop-filter: blur(10px);
}

.site-header--page .brand__logo--light {
  display: none;
}

.site-header--page .brand__logo--dark {
  display: block;
}

.site-header--page .lang-switch {
  color: var(--color-text-muted);
}

.site-header--page .lang-switch a[aria-current="page"],
.site-header--page .lang-switch a:hover {
  color: var(--color-highlight);
}

.site-header--page .nav a {
  color: var(--color-text-muted);
}

.site-header--page .nav a:hover {
  color: var(--color-highlight);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .brand:hover {
  color: var(--color-black);
}

.site-header.is-scrolled .brand__a4,
.site-header.is-scrolled .brand:hover .brand__a4 {
  color: var(--color-highlight);
}

.site-header.is-scrolled .nav a {
  color: var(--color-text-muted);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--color-highlight);
}

.site-header.is-scrolled .btn--light {
  background: var(--color-highlight);
  color: #fff;
}

.site-header.is-scrolled .btn--light:hover {
  background: var(--color-highlight-deep);
  color: #fff;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-black);
  flex-shrink: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.brand:hover {
  color: var(--color-black);
}

.brand__logo {
  display: block;
  height: 3.5rem;
  width: auto;
}

.brand__logo--dark {
  display: none;
}

.site-header.is-scrolled .brand__logo--light {
  display: none;
}

.site-header.is-scrolled .brand__logo--dark {
  display: block;
}

.brand__mark {
  width: 0.65rem;
  height: 0.65rem;
  background: var(--color-highlight);
  border-radius: 1px;
  flex-shrink: 0;
}

.brand__name {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__a4 {
  color: var(--color-highlight);
  font-weight: 500;
}

.nav {
  display: none;
  gap: 1.05rem;
  margin-left: auto;
  font-size: 0.92rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (min-width: 900px) {
  .lang-switch {
    margin-left: 0.85rem;
  }
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch a:hover,
.lang-switch a[aria-current="page"] {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.35;
}

.site-header--overlay .lang-switch {
  color: #fff;
}

.site-header.is-scrolled .lang-switch {
  color: var(--color-text-muted);
}

.site-header.is-scrolled .lang-switch a[aria-current="page"],
.site-header.is-scrolled .lang-switch a:hover {
  color: var(--color-highlight);
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
}

.nav a:hover {
  color: var(--color-highlight);
}

.site-header .btn--small {
  margin-left: auto;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .site-header .btn--small {
    margin-left: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  background: var(--color-highlight);
  color: var(--color-on-highlight);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--color-highlight-deep);
  color: var(--color-on-highlight);
  transform: translateY(-1px);
}

.btn--small {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.btn--light {
  background: #fff;
  color: #0f1c1d;
}

.btn--light:hover {
  background: #f2f7f7;
  color: #0f1c1d;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(18, 18, 18, 0.22);
}

.btn--outline:hover {
  background: rgba(34, 122, 126, 0.06);
  color: var(--color-highlight-deep);
  border-color: var(--color-highlight);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-highlight);
  padding-bottom: 0.15rem;
}

.text-link:hover {
  color: var(--color-highlight);
}

/* Sections — Indoc-inspired calm hierarchy */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section__inner--narrow {
  max-width: 40rem;
}

.section__inner--center {
  text-align: center;
}

.section__inner--split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .section__inner--split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
  }
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.section__head--center .section__title--wide {
  max-width: 20ch;
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-highlight);
}

.section__title {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  max-width: 16ch;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.section__title--wide {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.section__intro {
  max-width: 36rem;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.section__intro--center {
  margin-left: auto;
  margin-right: auto;
}

.text-accent {
  color: var(--color-highlight);
  font-style: italic;
  font-weight: 400;
}

/* Hero — mockup-style layout, no info card */
.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  align-items: center;
  padding: clamp(7.5rem, 14vh, 9.5rem) 0 clamp(4rem, 10vh, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0d1819;
  background-image: url("https://media.cwd-cdn.com/a4-life-science/images/hero-5.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(8, 20, 22, 0.72) 0%,
      rgba(8, 20, 22, 0.45) 38%,
      rgba(8, 20, 22, 0.18) 62%,
      rgba(8, 20, 22, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 20, 22, 0.35) 0%,
      transparent 28%,
      transparent 55%,
      rgba(8, 20, 22, 0.55) 100%
    );
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 var(--space-md);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(126, 200, 203, 0.55);
  border-radius: 3px;
  color: #7ec8cb;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(8, 20, 22, 0.35);
}

.hero__title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 14ch;
  margin: 0 0 var(--space-md);
  color: #fff;
}

.hero__accent {
  color: #5fd0d5;
}

.hero__lede {
  max-width: 34rem;
  margin: 0 0 var(--space-lg);
  font-weight: 300;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 2px 8px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(0, 0, 0, 0.55);
}

@media (max-width: 900px) {
  .hero__lede {
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.9),
      0 2px 10px rgba(0, 0, 0, 0.8),
      0 0 24px rgba(0, 0, 0, 0.7),
      0 0 40px rgba(0, 0, 0, 0.45);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0;
}

/* Media placeholders */
.media-slot {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(34, 122, 126, 0.06), rgba(34, 122, 126, 0.02)),
    var(--color-surface);
  border: 1px dashed rgba(34, 122, 126, 0.28);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-slot--square {
  aspect-ratio: 1 / 1;
}

.media-slot--work {
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-md);
}

/* Animated divider — same language as Programme readiness bars */
.rule {
  height: 0.42rem;
  margin: 0 0 var(--space-lg);
  background: rgba(34, 122, 126, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.rule--center {
  max-width: 12rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.rule i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a5f62, #227a7e 55%, #7ec8cb);
  transition: width 4.5s var(--ease);
}

.rule.is-visible i {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .rule i {
    transition: none;
    width: 100%;
  }
}

/* Focus + proof strip */
.section--focus {
  background: #fff;
}

.proof-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

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

.section--focus .section__intro + .section__intro {
  margin-top: -0.75rem;
}

.proof h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.proof p {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Approach */
.section--approach {
  background: #f0f0f0;
}

.section--approach .section__title--wide {
  max-width: 22ch;
}

.section--approach .section__intro {
  margin-bottom: 1.25rem;
}

.heartbeat {
  display: flex;
  justify-content: center;
  margin: 0.35rem auto 0;
  max-width: 28rem;
  width: 100%;
}

.heartbeat__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.heartbeat__path {
  fill: none;
  stroke: url(#heartbeat-gradient);
  stroke-width: 2.5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.heartbeat.is-visible .heartbeat__path {
  animation: heartbeat-draw 2.4s linear forwards;
}

@keyframes heartbeat-draw {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heartbeat__path {
    stroke-dashoffset: 0;
    opacity: 1;
    animation: none;
  }
}

/* Solutions — 4 vertical cards, bold / mid / light */
.section--solutions {
  background: #fff;
}

.section__intro--solutions {
  max-width: 48rem;
}

.solutions__media {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  width: 100%;
  overflow: hidden;
}

.solutions__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.solution-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .solution-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.35rem;
    align-items: stretch;
  }
}

.solution {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: #f7f8f7;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-top: 3px solid var(--color-highlight);
  min-height: 100%;
}

.solution__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-highlight);
  background: rgba(34, 122, 126, 0.12);
  flex-shrink: 0;
}

.solution__icon svg {
  display: block;
}

.solution h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-black);
}

.solution__focus {
  margin: 0;
  color: var(--color-text);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.55;
}

.solution__outcome {
  margin: 0;
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Regions — constellation by continent */
.section--regions {
  position: relative;
  background: #f0f0f0;
  overflow: hidden;
  isolation: isolate;
}

.regions__globe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(42rem, 108vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: #ffffff;
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

.regions__globe svg {
  width: 100%;
  height: 100%;
  display: block;
}

.regions__globe svg * {
  stroke-width: 2.25;
}

.section--regions .section__inner {
  position: relative;
  z-index: 1;
}

.markets {
  position: relative;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  max-width: 58rem;
  padding: 1.25rem 0 0.5rem;
}

.markets__groups {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  text-align: center;
}

.markets__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.markets__continent {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-highlight);
}

.markets__dot {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0.15rem auto 0.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a5f62, #227a7e 55%, #7ec8cb);
  box-shadow: 0 0 0 0 rgba(34, 122, 126, 0.35);
  position: relative;
}

.markets__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(126, 200, 203, 0.55);
}

.markets.is-visible .markets__dot {
  animation: markets-pulse 3.6s var(--ease) infinite;
}

.markets__group:nth-child(1) .markets__dot { animation-delay: 0s; }
.markets__group:nth-child(2) .markets__dot { animation-delay: 0.35s; }
.markets__group:nth-child(3) .markets__dot { animation-delay: 0.7s; }
.markets__group:nth-child(4) .markets__dot { animation-delay: 1.05s; }

@keyframes markets-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 122, 126, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 122, 126, 0);
  }
}

.markets__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.markets__nodes li {
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.3;
}

@media (min-width: 820px) {
  .markets {
    padding: 1.25rem 0 0.5rem;
  }

  .markets__groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }

  .markets__group {
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }

  .markets__continent {
    margin-bottom: 0.15rem;
  }

  .markets__dot {
    margin: 0.1rem auto 0.25rem;
  }

  .markets__nodes {
    gap: 0.45rem;
  }

  .markets__nodes li {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .markets.is-visible .markets__dot {
    animation: none;
  }
}

/* Partners */
.section--partners {
  background: #fff;
}

.partner-list {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.75rem) auto 0;
  padding: 0;
  max-width: 46rem;
  display: grid;
  gap: 0;
}

.partner {
  display: grid;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(34, 122, 126, 0.14);
}

.partner:last-child {
  border-bottom: 1px solid rgba(34, 122, 126, 0.14);
}

@media (min-width: 640px) {
  .partner {
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.35rem;
    align-items: center;
  }
}

.partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 4.25rem;
  padding: 0.45rem 0.55rem;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(34, 122, 126, 0.12);
  border-radius: 3px;
  text-decoration: none;
}

.partner__logo--light,
.partner__logo--dark {
  background: #ffffff;
}

.partner__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.partner__body h3 a {
  color: var(--color-black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.partner__body h3 a:hover {
  color: var(--color-highlight-deep);
  border-bottom-color: rgba(34, 122, 126, 0.45);
}

.partner__body p {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* About */
.section--about {
  background: #f0f0f0;
}

.about-profile {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  max-width: 58rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .about-profile {
    grid-template-columns: minmax(10rem, 12.5rem) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: center;
  }
}

.about-profile__media {
  width: 100%;
  max-width: 12.5rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .about-profile__media {
    margin: 0;
  }
}

.media-slot--portrait {
  aspect-ratio: 4 / 5;
  border-style: solid;
  border-color: rgba(34, 122, 126, 0.16);
  background:
    linear-gradient(135deg, rgba(34, 122, 126, 0.08), rgba(34, 122, 126, 0.02)),
    #e8eeee;
}

.about-profile__photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 2px;
}

.about-profile__content {
  text-align: center;
}

.about-profile__content .section__title {
  margin: 0 auto 0.35rem;
}

.about-profile__role {
  margin: 0 0 1.25rem;
  color: var(--color-highlight);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.about-profile__bio {
  margin: 0 auto 1rem;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 40rem;
}

.about-profile__bio:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .about-profile__content {
    text-align: left;
  }

  .about-profile__content .section__title {
    margin-left: 0;
    margin-right: 0;
  }

  .about-profile__bio {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Contact */
.section--contact {
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
  background: #0f1c1d;
  color: #fff;
}

.section--contact .eyebrow {
  color: #7ec8cb;
}

.section--contact .section__title {
  color: #fff;
}

.section--contact .text-accent {
  color: #5fd0d5;
}

.section--contact .section__intro {
  color: rgba(255, 255, 255, 0.78);
}

.section--contact .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.section--contact .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  width: 100%;
  max-width: 44rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(126, 200, 203, 0.22);
  border-radius: 4px;
}

.contact-form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.contact-form__row .contact-form__field {
  margin-bottom: 0;
}

.contact-form__field span {
  color: #7ec8cb;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.96);
  color: #121212;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #227a7e;
  box-shadow: 0 0 0 3px rgba(34, 122, 126, 0.28);
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
}

.contact-form__status {
  min-height: 1.4em;
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 300;
  color: #7ec8cb;
}

.contact-detail {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 400;
}

.contact-detail--phone {
  margin-top: 0.55rem;
}

.contact-detail a {
  color: #7ec8cb;
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 200, 203, 0.35);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-detail a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.contact-blank {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.blank-label {
  color: #7ec8cb;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-right: 0.35rem;
}

/* Footer */
.site-footer {
  padding: 1.15rem 0;
  border-top: none;
  background: #0a1415;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.site-footer__brand {
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: #fff;
}

.site-footer__meta {
  color: #7ec8cb;
  font-size: 0.95rem;
  margin: 0;
}

.site-footer__social {
  display: flex;
  justify-content: flex-start;
}

.site-footer__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  color: #7ec8cb;
  border: 1px solid rgba(126, 200, 203, 0.35);
  border-radius: 3px;
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-footer__linkedin:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__linkedin svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.site-footer__legal {
  text-align: left;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.45rem;
}

.site-footer__credit {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__credit a {
  color: #7ec8cb;
  text-decoration: none;
}

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

.site-footer__sep {
  opacity: 0.55;
}

/* Legal / privacy pages — match About typography / colour language */
.page-legal {
  padding: clamp(6.5rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: #f0f0f0;
}

.legal-prose {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
}

.legal-prose .eyebrow {
  color: var(--color-highlight);
}

.legal-prose .section__title {
  margin: 0 0 0.35rem;
  color: var(--color-black);
}

.legal-prose__meta {
  margin: 0 0 1.75rem;
  color: var(--color-highlight);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.legal-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-black);
}

.legal-prose p,
.legal-prose li {
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-prose li {
  margin: 0 0 0.45rem;
}

.legal-prose a {
  color: var(--color-highlight-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-prose a:hover {
  color: var(--color-highlight);
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__legal {
    text-align: right;
    justify-self: end;
  }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
