/* ==========================================================================
   CATALYE BV — one-page corporate website
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset and base
   3.  Layout primitives
   4.  Buttons
   5.  Header and navigation
   6.  Hero slider
   7.  About
   8.  Services and cards
   9.  Process
   10. Why choose us
   11. Featured work
   12. Call to action
   13. Contact
   14. Footer
   15. Legal page
   16. Reveal animation
   17. Responsive breakpoints
   18. Reduced motion, print and forced colours
   ========================================================================== */

/* 1. Design tokens ======================================================== */

:root {
  --navy: #0a1f44;
  --navy-deep: #06142e;
  --navy-soft: #13305f;
  --accent: #13b8c4;
  --accent-strong: #0b7f88;
  --accent-soft: #e7f8f9;
  --white: #ffffff;
  --grey-50: #f7f9fc;
  --grey-100: #f1f4f9;
  --grey-200: #e3e8f0;
  --charcoal: #2b3445;
  --muted: #5a6680;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.13rem, 1.06rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06), 0 4px 12px rgba(10, 31, 68, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 31, 68, 0.09);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.16);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Reset and base ======================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  /* `clip` rather than `hidden` so the root does not become a scroll
     container, which would stop the sticky header from working. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  /* Contains the closed mobile drawer, which sits just outside the viewport.
     Paired with the rule above this keeps scrollWidth equal to the viewport;
     in browsers without `overflow: clip` it propagates to the viewport
     instead, which prevents horizontal scrolling just the same. */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

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

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

a:hover {
  color: var(--navy);
}

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -140%);
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform 0.2s var(--ease);
}

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

/* 3. Layout primitives ==================================================== */

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

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

.section--light {
  background: var(--white);
}

.section--grey {
  background: linear-gradient(180deg, var(--grey-50), var(--grey-100));
}

.section--navy {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(19, 184, 196, 0.22), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.82);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

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

.section__title {
  font-size: var(--step-3);
}

.section__lead {
  font-size: var(--step-1);
  color: var(--muted);
  line-height: 1.6;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--accent);
}

.icon {
  width: 24px;
  height: 24px;
}

/* 4. Buttons ============================================================== */

.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--lg {
  padding: 0.95rem 1.8rem;
  font-size: var(--step-1);
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--navy-deep);
}

.btn--accent:hover {
  --btn-bg: #15cdda;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.18s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* 5. Header and navigation ================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--grey-200);
  box-shadow: 0 6px 24px rgba(10, 31, 68, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--accent-strong);
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

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

.brand__name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.brand__suffix {
  margin-left: 0.3em;
  color: var(--accent-strong);
}

.brand__tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 1.1rem);
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.35rem;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--navy);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
}

.nav-toggle__icon {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  margin: auto;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-toggle__icon--close,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open {
  opacity: 0;
  transform: rotate(-45deg) scale(0.8);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  opacity: 1;
  transform: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 20, 46, 0.5);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.nav-backdrop.is-visible {
  opacity: 1;
}

/* 6. Hero slider ========================================================== */

.hero {
  position: relative;
  background: var(--navy-deep);
}

.slider {
  position: relative;
  isolation: isolate;
}

.slider__viewport {
  position: relative;
  display: grid;
  min-height: clamp(540px, 82vh, 820px);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s linear;
}

.slide.is-active .slide__image {
  transform: scale(1);
}

/* Keeps the headline legible on the left while the artwork stays visible on
   the right. */
.slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 20, 46, 0.95) 0%,
      rgba(6, 20, 46, 0.9) 38%,
      rgba(6, 20, 46, 0.55) 66%,
      rgba(6, 20, 46, 0.2) 100%
    ),
    linear-gradient(0deg, rgba(6, 20, 46, 0.45), rgba(6, 20, 46, 0.08));
}

.slide__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  padding-block: clamp(5rem, 12vh, 8rem);
  color: var(--white);
}

.slide__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(19, 184, 196, 0.5);
  border-radius: 999px;
  background: rgba(19, 184, 196, 0.14);
  color: #8df0f6;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide__headline {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.slide__text {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.86);
}

.slide.is-active .slide__eyebrow,
.slide.is-active .slide__headline,
.slide.is-active .slide__text,
.slide.is-active .btn {
  animation: slide-in 0.75s var(--ease) both;
}

.slide.is-active .slide__headline {
  animation-delay: 0.08s;
}

.slide.is-active .slide__text {
  animation-delay: 0.16s;
}

.slide.is-active .btn {
  animation-delay: 0.24s;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(6, 20, 46, 0.4);
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.slider__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}

.slider__arrow--prev {
  left: clamp(0.75rem, 2vw, 1.75rem);
}

.slider__arrow--next {
  right: clamp(0.75rem, 2vw, 1.75rem);
}

.slider__arrow-icon {
  width: 26px;
  height: 26px;
}

.slider__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transform: translateX(-50%);
}

.slider__dots {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.slider__dot {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}

.slider__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slider__dot.is-active {
  width: 34px;
  border-radius: 999px;
  border-color: var(--accent);
  background: var(--accent);
}

.slider__playpause {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(6, 20, 46, 0.4);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s var(--ease);
}

.slider__playpause:hover {
  background: rgba(19, 184, 196, 0.35);
}

.slider__playpause-icon {
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.slider__playpause[data-state="paused"] .slider__playpause-icon {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left: 10px solid currentColor;
  border-right: 0;
}

/* 7. About ================================================================ */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about__statements {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.about__statement {
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--grey-50);
}

.about__statement dt {
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__statement dd {
  margin: 0;
  color: var(--charcoal);
}

.about__values-title {
  font-size: var(--step-1);
  margin-bottom: 1rem;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.75rem;
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.about__value-icon {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 0.22rem;
  color: var(--accent-strong);
}

.about__value strong {
  display: block;
  color: var(--navy);
}

.about__value span {
  font-size: 0.95rem;
  color: var(--muted);
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__media img {
  width: 100%;
}

/* 8. Services and cards =================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.5vw, 2.1rem);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 184, 196, 0.45);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.card__icon .icon {
  width: 26px;
  height: 26px;
}

.card:hover .card__icon {
  background: var(--accent);
  color: var(--navy-deep);
}

.card__title {
  font-size: var(--step-1);
  margin-bottom: 0.55rem;
}

.card__text {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.card__link span {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.card__link:hover {
  color: var(--accent-strong);
}

.card__link:hover span {
  border-bottom-color: currentColor;
}

.card__link-icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s var(--ease);
}

.card__link:hover .card__link-icon {
  transform: translateX(4px);
}

/* 9. Process ============================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  counter-reset: stage;
}

.process__step {
  position: relative;
  padding-top: 0.5rem;
}

/* Connecting line between stages on wide screens. */
.process__step::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 68px;
  right: calc(-1 * clamp(1.5rem, 3vw, 2.25rem));
  height: 2px;
  background: linear-gradient(90deg, var(--grey-200), rgba(19, 184, 196, 0.5));
}

.process__step:last-child::before {
  display: none;
}

.process__marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.process__number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.process__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.process__icon .icon {
  width: 22px;
  height: 22px;
}

.process__title {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.process__stage-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent-strong);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process__text {
  color: var(--muted);
}

/* 10. Why choose us ======================================================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.feature {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(19, 184, 196, 0.5);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: rgba(19, 184, 196, 0.18);
  color: #7fe9f0;
}

.feature__title {
  font-size: var(--step-1);
  margin-bottom: 0.45rem;
}

.feature__text {
  color: rgba(255, 255, 255, 0.76);
}

/* 11. Featured work ======================================================= */

.cards--work {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

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

.work-card__image {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
}

.work-card__outcome {
  padding-left: 0.9rem;
  border-left: 3px solid var(--accent);
  color: var(--charcoal);
  font-size: 0.95rem;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.work-card__tags li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 600;
}

/* 12. Call to action ====================================================== */

.cta {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(700px 320px at 10% 110%, rgba(19, 184, 196, 0.3), transparent 70%),
    linear-gradient(120deg, var(--navy-soft), var(--navy-deep));
  color: var(--white);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.cta__copy {
  max-width: 38rem;
}

.cta__title {
  color: var(--white);
  font-size: var(--step-3);
  margin-bottom: 0.6rem;
}

.cta__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--step-1);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* 13. Contact ============================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.5vw, 2.1rem);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.contact-card:hover {
  border-color: rgba(19, 184, 196, 0.45);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.contact-card__title {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-card__value {
  color: var(--navy);
  font-size: var(--step-1);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card__value:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.contact-card__note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-card__address {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-card__link:hover .card__link-icon {
  transform: translateX(4px);
}

.contact-card__link:hover span:first-child {
  text-decoration: underline;
}

/* 14. Footer ============================================================== */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.brand--footer {
  color: var(--white);
  margin-bottom: 1rem;
}

.brand--footer .brand__mark {
  color: var(--accent);
}

.brand--footer .brand__suffix {
  color: var(--accent);
}

.site-footer__description {
  max-width: 34ch;
  margin: 0;
}

.site-footer__heading {
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__nav ul,
.site-footer__contact ul,
.site-footer__social {
  display: grid;
  gap: 0.7rem;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

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

.site-footer__icon {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 0.22rem;
  color: var(--accent);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* 15. Legal page ========================================================== */

.legal {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.legal__inner {
  max-width: 48rem;
}

.legal__updated {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: var(--step-2);
}

.legal h3 {
  margin-top: 1.75rem;
  font-size: var(--step-1);
}

.legal ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.1em;
  padding-left: 1.3rem;
  list-style: disc;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  font-weight: 600;
  text-decoration: none;
}

/* 16. Reveal animation ==================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

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

/* 17. Responsive breakpoints ============================================== */

@media (max-width: 1080px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process__step::before {
    display: none;
  }

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

@media (max-width: 960px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__media {
    order: -1;
    max-width: 640px;
  }
}

/* Narrow desktops: tighten the nav before it needs to collapse. */
@media (max-width: 1240px) and (min-width: 1041px) {
  .site-nav__link {
    font-size: 0.88rem;
    padding-inline: 0.25rem;
  }

  .site-nav__cta {
    padding: 0.62rem 1.05rem;
    font-size: 0.9rem;
  }

  .brand__tagline {
    display: none;
  }
}

/* Mobile and tablet navigation drawer. */
@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: min(360px, 86vw);
    height: 100dvh;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
    background: var(--white);
    box-shadow: -12px 0 40px rgba(6, 20, 46, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list li + li {
    border-top: 1px solid var(--grey-200);
  }

  .site-nav__link {
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
  }

  .site-nav__link::after {
    left: 0.25rem;
    right: auto;
    bottom: 0.65rem;
    width: 24px;
  }

  .site-nav__cta {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .slider__viewport {
    min-height: clamp(520px, 86vh, 700px);
  }

  .slide__content {
    padding-block: clamp(4.5rem, 14vh, 7rem) clamp(6rem, 16vh, 8rem);
  }

  .slide__overlay {
    background:
      linear-gradient(180deg, rgba(6, 20, 46, 0.7) 0%, rgba(6, 20, 46, 0.88) 100%);
  }

  .slider__arrow {
    width: 46px;
    height: 46px;
    top: auto;
    bottom: clamp(1.25rem, 4vh, 2.5rem);
    transform: none;
  }

  .slider__arrow--prev {
    left: var(--gutter);
  }

  .slider__arrow--next {
    right: var(--gutter);
  }

  .slider__controls {
    flex-direction: column;
    gap: 0.75rem;
    bottom: clamp(1.4rem, 4.4vh, 2.6rem);
  }

  .about__values {
    grid-template-columns: minmax(0, 1fr);
  }

  .process {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta__inner,
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__actions .btn {
    flex: 1 1 auto;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .brand__tagline {
    display: none;
  }

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

  .cta__actions {
    width: 100%;
  }

  .slider__playpause-label {
    display: none;
  }

  .slider__playpause {
    padding: 0.5rem;
  }
}

/* 18. Reduced motion, print and forced colours ============================ */

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

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

  .slide__image {
    transform: none;
  }

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

  .btn:hover,
  .card:hover,
  .feature:hover,
  .work-card:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .card,
  .feature,
  .contact-card,
  .btn {
    border: 1px solid CanvasText;
  }
}

@media print {
  .site-header,
  .nav-backdrop,
  .slider__arrow,
  .slider__controls,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section--navy,
  .cta,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .section--navy h2,
  .section--navy h3,
  .cta__title {
    color: #000 !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
