/* ==========================================================================
   WeYeb — Landing page stylesheet
   --------------------------------------------------------------------------
   Table of contents
   1.  Design tokens
   2.  Base & typography
   3.  Utilities (labels, buttons, links, containers)
   4.  Header & navigation
   5.  Hero
   6.  Trust strip
   7.  Why WeYeb (features) + value strip
   8.  Selected work (projects + placeholder mock visuals)
   9.  Testimonials
   10. Final CTA
   11. Footer
   12. Back to top
   13. Enquiry modal & form
   14. Reveal animations & reduced motion
   15. Responsive adjustments
   ========================================================================== */


/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --color-background: #f7f7f3;
  --color-surface: #ffffff;
  --color-text: #111820;
  --color-muted: #60686f;
  --color-navy: #031d35;
  --color-navy-light: #082945;
  --color-green: #18c85a;
  --color-green-hover: #10ad4b;
  --color-border: #d9ddd9;
  --color-border-dark: rgba(255, 255, 255, 0.14);
  --color-white: #ffffff;
  --color-text-on-navy: rgba(255, 255, 255, 0.78);

  --font-sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container-width: 1320px;
  --container-pad: 24px;
  --section-space: clamp(56px, 5.5vw, 80px);
  --section-space-sm: clamp(40px, 3.6vw, 52px);
  --radius-small: 2px;
  --transition: 250ms ease;
  --header-height: 84px;

  /* Type scale */
  --fs-hero: clamp(2.75rem, 4.6vw, 4.15rem);
  --fs-h2: clamp(2rem, 3.1vw, 2.85rem);
  --fs-h3: 1.2rem;
  --fs-body: clamp(1rem, 1.1vw, 1.08rem);
  --fs-small: 0.9rem;
  --fs-label: 0.74rem;
}


/* ==========================================================================
   2. Base & typography
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

/* Brand scrollbar — green thumb on the page background */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-green) var(--color-background);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: var(--color-green);
  border: 2px solid var(--color-background);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-green-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: inherit;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul[role="list"] {
  list-style: none;
  padding: 0;
  margin: 0;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

::selection {
  background: var(--color-green);
  color: var(--color-navy);
}

/* Global focus ring — visible on every interactive element */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
  border-radius: var(--radius-small);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  border-radius: var(--radius-small);
}

.skip-link:focus {
  top: 16px;
}


/* ==========================================================================
   3. Utilities
   ========================================================================== */
.container {
  max-width: var(--container-width);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.text-accent {
  color: var(--color-green);
}

.dot {
  margin: 0 0.5em;
  color: var(--color-muted);
}

/* Uppercase editorial labels */
.eyebrow,
.section-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 22px;
}

.section-label__num {
  color: var(--color-green);
}

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

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  max-width: 14em;
}

.section-lead {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 34em;
}

.section-head {
  margin-bottom: clamp(28px, 2.8vw, 40px);
}

.section-head__aside {
  display: flex;
  align-items: center;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.work .section-title {
  max-width: 18em;
}

.work__intro {
  margin-top: 18px;
  max-width: 42em;
}

/* Buttons */
.btn-cta {
  --bs-btn-bg: var(--color-green);
  --bs-btn-border-color: var(--color-green);
  --bs-btn-color: var(--color-navy);
  --bs-btn-hover-bg: var(--color-green-hover);
  --bs-btn-hover-border-color: var(--color-green-hover);
  --bs-btn-hover-color: var(--color-white);
  --bs-btn-active-bg: var(--color-green-hover);
  --bs-btn-active-border-color: var(--color-green-hover);
  --bs-btn-active-color: var(--color-white);
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(24, 200, 90, 0.35);
  --bs-btn-padding-x: 26px;
  --bs-btn-padding-y: 12px;
  --bs-btn-font-size: 0.92rem;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: var(--radius-small);
  min-height: 46px;
  letter-spacing: -0.005em;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translateY(-1px);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
  box-shadow: none;
}

.btn-outline-light.btn-cta {
  --bs-btn-bg: transparent;
  --bs-btn-color: var(--color-white);
  --bs-btn-border-color: rgba(255, 255, 255, 0.4);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: var(--color-white);
}

/* Text link with trailing arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text);
  min-height: 44px;
  white-space: nowrap;
}

.link-arrow__icon {
  transition: transform var(--transition);
}

.link-arrow:hover {
  color: var(--color-green-hover);
}

.link-arrow:hover .link-arrow__icon {
  transform: translateX(4px);
}


/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-background);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(247, 247, 243, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 12px rgba(3, 29, 53, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  flex: none;
}

.brand--light {
  color: var(--color-white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.site-nav__link.is-active {
  font-weight: 700;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}

.lang__toggle:hover {
  color: var(--color-green-hover);
}

.lang__menu {
  --bs-dropdown-border-radius: var(--radius-small);
  --bs-dropdown-border-color: var(--color-border);
  --bs-dropdown-link-active-bg: var(--color-green);
  --bs-dropdown-link-active-color: var(--color-navy);
  --bs-dropdown-link-hover-bg: var(--color-background);
  --bs-dropdown-font-size: 0.9rem;
  --bs-dropdown-min-width: 9rem;
  box-shadow: 0 8px 24px rgba(3, 29, 53, 0.08);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  padding-top: clamp(32px, 3vw, 44px);
  padding-bottom: clamp(40px, 4vw, 56px);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 10.5em;
  margin-bottom: 28px;
}

/* Typing effect — the line reserves its height so the layout never jumps */
.hero__typed-line {
  display: block;
  min-height: 1.02em;
  white-space: nowrap;
}

.hero__caret {
  display: inline-block;
  width: 0.06em;
  height: 0.9em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  background: var(--color-green);
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.hero__lead {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 34em;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  margin-bottom: 36px;
}

.hero__reassurance {
  font-size: 0.72rem;
  color: var(--color-muted);
}

.hero__reassurance .dot {
  margin: 0 0.6em;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  aspect-ratio: 640 / 520;
}

.hero-art__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-art__layer {
  transition: transform 400ms ease-out;
  will-change: transform;
}


/* ==========================================================================
   6. Trust strip
   ========================================================================== */
.trust {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0 38px;
}

.trust__title {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 30px;
}

.trust__slider {
  overflow: hidden;
}

/* Linear easing gives the mobile marquee a continuous drift */
.trust__slider.swiper-initialized .swiper-wrapper {
  transition-timing-function: linear;
}

.trust__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust__item {
  flex: 0 0 auto;
  width: auto;
  display: flex;
  justify-content: center;
}

.client-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.85;
  transition: opacity var(--transition);
}

.client-mark:hover {
  opacity: 1;
}


/* ==========================================================================
   7. Why WeYeb — features & value strip
   ========================================================================== */
.about {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border);
  margin-bottom: clamp(28px, 2.8vw, 40px);
}

.feature {
  padding: 36px 32px 28px 0;
  border-right: 1px solid var(--color-border);
}

.feature + .feature {
  padding-left: 32px;
}

.feature:last-child {
  border-right: 0;
}

.feature__icon {
  color: var(--color-green);
  margin-bottom: 26px;
}

.feature__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature__text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
}

/* Dark strip */
.value-strip {
  display: flex;
  align-items: stretch;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0 clamp(24px, 3vw, 48px);
  border-radius: var(--radius-small);
}

.value-strip__statement {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  padding: 44px 0;
}

.value-strip__symbol {
  flex: none;
}

.value-strip__text {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.value-strip__points {
  display: flex;
  align-items: stretch;
  flex: none;
  border-left: 1px solid var(--color-border-dark);
}

.value-strip__point {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px clamp(20px, 2vw, 36px);
  border-right: 1px solid var(--color-border-dark);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-white);
}

.value-strip__point:last-child {
  border-right: 0;
  padding-right: 0;
}

.value-strip__point svg {
  color: var(--color-green);
}


/* ==========================================================================
   8. Selected work
   ========================================================================== */
.work {
  padding-top: var(--section-space-sm);
  padding-bottom: clamp(40px, 3.6vw, 52px);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.project__link {
  position: relative;
  display: block;
  color: inherit;
}

.project__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--color-surface);
  border-radius: var(--radius-small);
}

.project__media > * {
  transition: transform 450ms ease;
  transform-origin: center;
}

.project__link:hover .project__media > *,
.project__link:focus-visible .project__media > * {
  transform: scale(1.03);
}

.project__link:focus-visible {
  outline-offset: 4px;
}

/* Reveal-on-interaction "View case study" label */
.project__cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-small);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

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

.project__index {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.project__num {
  color: var(--color-green);
  margin-right: 6px;
}

.project__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 17em;
  margin-bottom: 10px;
}

.project__tags {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.project__tags span + span::before {
  content: "·";
  margin: 0 0.6em;
}

/* Project 02 sits lower with text on top (editorial offset) */
.project--02 {
  padding-top: 18px;
}

.project--02 .project__media {
  aspect-ratio: 4 / 3.3;
}

/* ---- Placeholder mock visuals ----------------------------------------- */
.mock {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-family: var(--font-sans);
}

.mock__bar {
  height: 4px;
  width: 40%;
  background: #18c85a;
  margin-bottom: 8px;
}

.mock__line {
  display: block;
  height: 3px;
  width: 80%;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 6px;
}

.mock__line.short {
  width: 50%;
}

.mock__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin-top: 8px;
}

.mock__bars i {
  flex: 1;
  background: #18c85a;
  opacity: 0.9;
}

/* Mock 01 — navy website */
.mock--web {
  background: #031d35;
  color: #fff;
  padding: 10% 8%;
}

.mock--web__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8%;
}

.mock--web__logo {
  width: 18px;
  height: 8px;
  background: #18c85a;
  margin-right: auto;
}

.mock--web__nav i {
  width: 16px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.mock--web__nav b {
  font-size: 5px;
  font-weight: 700;
  padding: 3px 5px;
  background: #18c85a;
  color: #031d35;
}

.mock--web__title {
  font-size: clamp(11px, 1.15vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 60%;
  margin-bottom: 6px;
}

.mock--web__sub {
  font-size: 6px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.mock--web__btns {
  display: flex;
  gap: 5px;
  margin-bottom: 12%;
}

.mock--web__btns span {
  width: 34px;
  height: 9px;
  background: #18c85a;
}

.mock--web__btns .is-alt {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.mock--web__shape {
  position: absolute;
  right: -18%;
  top: 12%;
  width: 55%;
  height: 70%;
  background: #18c85a;
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}

.mock--web__panel {
  position: absolute;
  background: #0c2a49;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
}

.mock--web__panel svg {
  width: 100%;
  height: 26px;
}

.mock--web__panel--a {
  left: 8%;
  bottom: 8%;
  width: 46%;
}

.mock--web__panel--b {
  right: 8%;
  bottom: 14%;
  width: 40%;
  background: #ffffff;
  border-color: #e3e6e3;
}

.mock--web__panel--b .mock__line {
  background: #d9ddd9;
}

/* Mock 02 — brand stationery */
.mock--brand {
  background: #ece7df;
}

.mock--brand__card {
  position: absolute;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(3, 29, 53, 0.1);
  overflow: hidden;
  transform: rotate(-9deg);
}

.mock--brand__card--a {
  left: 6%;
  top: 14%;
  width: 52%;
  height: 46%;
  padding: 8% 7%;
}

.mock--brand__card--b {
  left: 40%;
  top: 4%;
  width: 38%;
  height: 30%;
  padding: 6%;
  background: #e8412a;
  color: #fff;
}

.mock--brand__card--c {
  right: 4%;
  top: 34%;
  width: 40%;
  height: 40%;
  padding: 7%;
  background: #fff;
  color: #e8412a;
}

.mock--brand__card--d {
  left: 20%;
  bottom: -6%;
  width: 60%;
  height: 26%;
  background: #e8412a;
}

.mock--brand__logo {
  display: block;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #e8412a;
  margin-bottom: 6px;
}

.mock--brand__logo.is-small {
  font-size: 11px;
  color: #fff;
}

.mock--brand__tag {
  display: block;
  font-size: 7px;
  color: #60686f;
  max-width: 60%;
  line-height: 1.3;
}

.mock--brand__diag {
  position: absolute;
  right: -30%;
  bottom: -10%;
  width: 80%;
  height: 60%;
  background: #e8412a;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}

.mock--brand__lines {
  display: block;
}

.mock--brand__lines i {
  display: block;
  height: 2px;
  width: 70%;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.mock--brand__ar {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #031d35;
  margin-bottom: 6px;
  text-align: right;
}

.mock--brand__dig {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.mock--brand__dot {
  position: absolute;
  left: 8%;
  top: 30%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

/* Mock 03 — growth engine */
.mock--growth {
  background: #0a0e14;
  color: #fff;
  padding: 8%;
}

.mock--growth__head {
  width: 55%;
}

.mock--growth__title {
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mock--growth__btn {
  display: block;
  width: 36px;
  height: 9px;
  background: #2b6ef2;
}

.mock--growth__stat {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 34%;
  padding: 8px;
  background: #ffffff;
  color: #111820;
}

.mock--growth__stat svg {
  width: 100%;
  height: 34px;
}

.mock--growth__label {
  font-size: 6px;
  color: #60686f;
  display: block;
}

.mock--growth__value {
  font-size: 12px;
  font-weight: 700;
  color: #18c85a;
  display: block;
  margin-bottom: 4px;
}

.mock--growth__card {
  position: absolute;
  left: 8%;
  bottom: 30%;
  width: 38%;
  padding: 8px;
  background: #0c2a49;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mock--growth__card .mock__bars i {
  background: #2b6ef2;
}

.mock--growth__ad {
  position: absolute;
  right: 8%;
  bottom: 26%;
  width: 40%;
  padding: 8px;
  background: #ffffff;
  color: #111820;
}

.mock--growth__adtext {
  display: block;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.mock--growth__adbtn {
  display: block;
  width: 30px;
  height: 7px;
  background: #2b6ef2;
}

.mock--growth__blue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: #1f5fe0;
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}


/* ==========================================================================
   9. Testimonials
   ========================================================================== */
.reviews {
  background: var(--color-navy);
  color: var(--color-white);
  padding-top: clamp(48px, 4.6vw, 66px);
  padding-bottom: clamp(48px, 4.6vw, 66px);
}

.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 0;
}

.reviews__intro {
  padding-right: clamp(24px, 4vw, 56px);
  border-right: 1px solid var(--color-border-dark);
}

.reviews__intro .section-title {
  color: var(--color-white);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin-bottom: 40px;
}

.stars {
  display: flex;
  gap: 6px;
  color: var(--color-green);
  margin-bottom: 12px;
}

.reviews__intro-text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-text-on-navy);
  max-width: 30em;
  margin-bottom: 24px;
}

.reviews__verified {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
}

.reviews__verified-mark {
  width: 22px;
  height: 2px;
  background: var(--color-green);
}

.reviews__slider {
  min-width: 0;
  overflow: visible;
  padding-left: clamp(24px, 3.5vw, 48px);
}

.reviews__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quote {
  margin: 0;
  position: relative;
  color: var(--color-white);
}

.quote--featured {
  grid-column: 1 / -1;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border-dark);
  padding-left: 48px;
}

.quote__mark {
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--color-green);
}

.quote--featured .quote__text {
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.quote:not(.quote--featured) {
  padding-left: 36px;
  padding-right: 32px;
}

.quote:not(.quote--featured) + .quote:not(.quote--featured) {
  border-left: 1px solid var(--color-border-dark);
  padding-left: 68px;
}

.quote:not(.quote--featured) + .quote:not(.quote--featured) .quote__mark {
  left: 32px;
}

.quote:not(.quote--featured) .quote__text {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}

.quote__cite {
  font-size: 0.78rem;
  color: var(--color-text-on-navy);
}

.quote__name {
  font-style: normal;
  font-weight: 700;
  color: var(--color-green);
}

.reviews__controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-dark);
  background: transparent;
  color: var(--color-white);
  border-radius: var(--radius-small);
  transition: border-color var(--transition), background-color var(--transition);
}

.slider-btn:hover {
  border-color: var(--color-green);
  background: rgba(24, 200, 90, 0.08);
}

.slider-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.reviews__pagination {
  display: flex;
  gap: 8px;
}

.reviews__pagination .swiper-pagination-bullet {
  width: 20px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0;
  transition: background-color var(--transition);
}

.reviews__pagination .swiper-pagination-bullet-active {
  background: var(--color-green);
}


/* ==========================================================================
   10. Final CTA
   ========================================================================== */
.cta {
  padding-top: clamp(40px, 3.6vw, 52px);
  padding-bottom: clamp(40px, 3.6vw, 52px);
}

.cta__lead {
  margin-top: 20px;
}

.cta__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta__email {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.cta__email:hover {
  color: var(--color-green-hover);
}

.cta__note {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: -6px;
}

.cta__note + .cta__note {
  margin-top: -8px;
}

.cta__visual {
  display: flex;
  justify-content: flex-end;
}

.cta-art {
  width: 100%;
  max-width: 260px;
  height: auto;
}


/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy);
  color: var(--color-text-on-navy);
  padding-top: clamp(40px, 3.6vw, 52px);
  font-size: 0.86rem;
}

.site-footer__brand .brand {
  margin-bottom: 20px;
}

.site-footer__desc {
  max-width: 24em;
  line-height: 1.65;
  margin-bottom: 8px;
}

.site-footer__location {
  font-size: 0.8rem;
  color: var(--color-white);
  margin-bottom: 24px;
}

.social {
  display: flex;
  gap: 16px;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -12px;
  color: var(--color-white);
  transition: color var(--transition);
}

.social__link:hover {
  color: var(--color-green);
}

.site-footer__heading {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-white);
  margin-bottom: 14px;
}

.site-footer__links li + li {
  margin-top: 8px;
}

.site-footer__links a,
.site-footer__legal a,
.site-footer__langs a {
  display: inline-block;
  padding: 2px 0;
  color: var(--color-text-on-navy);
}

.site-footer__links a:hover,
.site-footer__legal a:hover,
.site-footer__langs a:hover {
  color: var(--color-green);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 2.4vw, 36px);
  padding: 18px 0;
  border-top: 1px solid var(--color-border-dark);
  font-size: 0.8rem;
}

.site-footer__legal,
.site-footer__langs {
  display: flex;
  gap: 28px;
}

.site-footer__langs .is-active {
  color: var(--color-green);
  font-weight: 700;
}

.site-footer__legal {
  margin-left: auto;
  margin-right: clamp(24px, 8vw, 120px);
}


/* ==========================================================================
   12. Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius-small);
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(3, 29, 53, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background-color var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-green-hover);
}


/* ==========================================================================
   13. Enquiry modal & form
   ========================================================================== */
.enquiry .modal-dialog {
  max-width: 960px;
}

.enquiry__content {
  flex-direction: row;
  border: 0;
  border-radius: var(--radius-small);
  overflow: hidden;
}

.enquiry__aside {
  flex: 0 0 38%;
  padding: 44px 40px;
  background: var(--color-navy);
  color: var(--color-white);
}

.enquiry__aside .section-label {
  margin-bottom: 16px;
}

.enquiry__title {
  font-size: 1.75rem;
  margin-bottom: 18px;
}

.enquiry__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-on-navy);
  margin-bottom: 28px;
}

.enquiry__email {
  font-weight: 700;
  color: var(--color-green);
}

.enquiry__email:hover {
  color: var(--color-white);
}

.enquiry__main {
  position: relative;
  flex: 1 1 auto;
  padding: 44px 40px;
  background: var(--color-surface);
}

.enquiry__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  transition: color var(--transition);
}

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

.enquiry .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.enquiry .form-control,
.enquiry .form-select {
  border-radius: var(--radius-small);
  border-color: var(--color-border);
  padding: 11px 14px;
  font-size: 0.94rem;
  min-height: 46px;
}

.enquiry .form-control:focus,
.enquiry .form-select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(24, 200, 90, 0.25);
}

.enquiry .form-control.is-invalid,
.enquiry .form-select.is-invalid {
  border-color: #c9382b;
}

.enquiry .invalid-feedback {
  font-size: 0.78rem;
  color: #b8321f;
}

.enquiry__submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 8px;
}

.enquiry__privacy {
  font-size: 0.74rem;
  color: var(--color-muted);
}

.enquiry__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
}

.enquiry__success[hidden] {
  display: none;
}

.enquiry__success-title {
  font-size: 1.35rem;
}

.enquiry__success-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.enquiry__success .btn-outline-light {
  --bs-btn-color: var(--color-navy);
  --bs-btn-border-color: var(--color-border);
  --bs-btn-hover-bg: var(--color-background);
  --bs-btn-hover-color: var(--color-navy);
  --bs-btn-hover-border-color: var(--color-navy);
}

.modal-backdrop {
  --bs-backdrop-bg: #031d35;
  --bs-backdrop-opacity: 0.6;
}


/* ==========================================================================
   14. Reveal animations & reduced motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

  .hero-art__layer {
    transform: none !important;
  }

  .hero__caret {
    animation: none;
  }
}


/* ==========================================================================
   15. Responsive adjustments
   ========================================================================== */

/* Large desktop: give the container its full editorial width */
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-width);
  }
}

/* Below 1200 */
@media (max-width: 1199.98px) {
  .value-strip {
    flex-wrap: wrap;
  }

  .value-strip__points {
    flex: 1 1 100%;
    border-left: 0;
    border-top: 1px solid var(--color-border-dark);
  }

  .value-strip__point {
    flex: 1;
    padding: 28px clamp(16px, 2vw, 32px) 28px 0;
  }

  .value-strip__point + .value-strip__point {
    padding-left: clamp(16px, 2vw, 32px);
  }

  .value-strip__statement {
    padding: 36px 0;
  }
}

/* Navigation collapses below 1200px (six items + CTA need the room) */
@media (max-width: 1199.98px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px var(--container-pad) 40px;
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

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

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

  .site-nav__list li {
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav__link {
    display: flex;
    width: 100%;
    min-height: 56px;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .site-nav__link::after {
    display: none;
  }

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

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 24px;
  }

  .site-nav__actions .btn-cta {
    width: 100%;
  }

  .lang__toggle {
    justify-content: flex-start;
  }

}

/* Tablet & below (Bootstrap lg) */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 40px;
  }

  .hero__visual {
    order: -1;
  }

  .hero-art {
    max-width: 520px;
    margin-left: 0;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    padding: 32px 28px 32px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .feature:nth-child(2n) {
    border-right: 0;
  }

  .feature:nth-child(n+3) {
    border-bottom: 0;
  }

  .feature:nth-child(2n) {
    padding-left: 28px;
  }

  .feature:nth-child(2n+1) {
    padding-left: 0;
  }

  .projects {
    grid-template-columns: repeat(2, 1fr);
  }

  .project--02 {
    padding-top: 0;
  }

  .reviews__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .reviews__slider {
    min-width: 0;
    width: 100%;
  }

  .reviews__intro {
    padding-right: 0;
    padding-bottom: 32px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border-dark);
  }

  .reviews__intro .section-title {
    margin-bottom: 28px;
  }

  .reviews__slider {
    padding-left: 0;
  }

  .cta__visual {
    justify-content: flex-start;
  }

  .enquiry__content {
    flex-direction: column;
  }

  .enquiry__aside {
    flex-basis: auto;
    padding: 32px 28px;
  }

  .enquiry__main {
    padding: 32px 28px;
  }

  .site-footer__legal {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Mobile (Bootstrap md) */
@media (max-width: 767.98px) {
  :root {
    --container-pad: 20px;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero__title {
    max-width: none;
  }

  .hero__typed-line {
    white-space: normal;
  }

  .hero__actions {
    gap: 8px 24px;
  }

  .hero__actions .btn-cta {
    width: 100%;
  }

  /* Trust logos become a Swiper (initialised in main.js) */
  .trust__list {
    justify-content: flex-start;
    gap: 0;
  }

  .trust__item {
    width: auto;
    padding: 0 24px;
  }

  .value-strip__points {
    flex-direction: column;
  }

  .value-strip__point {
    flex-direction: row;
    align-items: center;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border-dark);
  }

  .value-strip__point + .value-strip__point {
    padding-left: 0;
  }

  .value-strip__point:last-child {
    border-bottom: 0;
  }

  .value-strip__point br {
    display: none;
  }

  .value-strip__statement {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 32px 0 28px;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Logical reading order on mobile: image, index, title, tags */
  .project--02 .project__body {
    order: 2;
  }

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

  /* Testimonials become a Swiper on mobile */
  .reviews__slider {
    overflow: hidden;
  }

  .reviews__list {
    display: flex;
  }

  .quote,
  .quote--featured,
  .quote:not(.quote--featured),
  .quote:not(.quote--featured) + .quote:not(.quote--featured) {
    width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 0 0 0 40px;
    border: 0;
  }

  .quote:not(.quote--featured) + .quote:not(.quote--featured) .quote__mark {
    left: 0;
  }

  .quote--featured .quote__text,
  .quote:not(.quote--featured) .quote__text {
    font-size: 1.05rem;
  }

  .reviews__controls {
    display: flex;
  }

  .cta__action {
    width: 100%;
  }

  .cta__action .btn-cta {
    width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer__legal,
  .site-footer__langs {
    gap: 20px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .features {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(2n),
  .feature:nth-child(n+3) {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .feature__icon {
    margin-bottom: 18px;
  }

  .hero__reassurance .dot {
    margin: 0 0.4em;
  }

  .enquiry__submit .btn-cta {
    width: 100%;
  }
}


/* ==========================================================================
   16. Contact page (contact.html)
   ========================================================================== */

/* Breadcrumb */
.breadcrumb-nav {
  padding: 18px 0 8px;
}

.breadcrumb-nav__list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.breadcrumb-nav__list li + li::before {
  content: "/";
  margin-right: 12px;
  color: var(--color-border);
}

.breadcrumb-nav__list a:hover {
  color: var(--color-green-hover);
}

.breadcrumb-nav__list [aria-current="page"] {
  color: var(--color-text);
  font-weight: 600;
}

/* Hero */
.contact-hero {
  padding-top: 8px;
  padding-bottom: clamp(40px, 4vw, 56px);
  border-bottom: 1px solid var(--color-border);
}

.contact-hero__title {
  font-size: clamp(2.3rem, 3.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 15em;
  margin-bottom: 22px;
}

.contact-hero__lead {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 36em;
  margin-bottom: 28px;
}

.contact-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 0.8rem;
  color: var(--color-text);
}

.contact-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-hero__points svg {
  color: var(--color-green);
  flex: none;
}

.contact-hero__visual {
  display: flex;
  justify-content: flex-end;
}

.contact-art {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Two-column main grid */
.contact-main {
  padding-top: clamp(40px, 3.6vw, 52px);
  padding-bottom: clamp(40px, 3.6vw, 52px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
}

.contact-grid__form {
  padding-right: clamp(28px, 3.5vw, 56px);
  border-right: 1px solid var(--color-border);
}

.contact-grid__aside {
  padding-left: clamp(28px, 3.5vw, 56px);
}

/* Form */
.brief-form .form-label,
.consent .form-check-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-optional {
  font-weight: 400;
  color: var(--color-muted);
}

.brief-form .form-control,
.brief-form .form-select {
  border-radius: var(--radius-small);
  border-color: var(--color-border);
  background-color: var(--color-surface);
  padding: 11px 14px;
  font-size: 0.94rem;
  min-height: 46px;
}

.brief-form .form-control::placeholder {
  color: #a3a9ae;
}

.brief-form .form-control:focus,
.brief-form .form-select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(24, 200, 90, 0.25);
}

.brief-form .form-control.is-invalid,
.brief-form .form-select.is-invalid {
  border-color: #c9382b;
}

.brief-form .invalid-feedback {
  font-size: 0.78rem;
  color: #b8321f;
}

/* Service tiles (checkbox group) */
.service-tiles {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.service-tiles legend {
  float: none;
  width: auto;
  padding: 0;
  font-size: 0.86rem;
}

.service-tiles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-tile {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.service-tile input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.service-tile__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
  padding: 14px 14px;
  border: 1.5px solid var(--color-text);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.service-tile__box svg {
  color: var(--color-text);
  transition: color var(--transition);
}

.service-tile:hover .service-tile__box {
  border-color: var(--color-green-hover);
}

.service-tile input:checked + .service-tile__box {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.service-tile input:checked + .service-tile__box svg {
  color: var(--color-green);
}

.service-tile input:focus-visible + .service-tile__box {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}

.service-tiles.is-invalid .service-tile__box {
  border-color: #c9382b;
}

.service-tiles.is-invalid > .invalid-feedback {
  display: block;
  margin-top: 8px;
}

/* File attach */
.file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 14px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--color-green-hover);
  color: var(--color-text);
}

.file-drop:focus-within {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}

.file-drop__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.file-drop.has-file {
  border-style: solid;
  border-color: var(--color-navy);
  color: var(--color-text);
  font-weight: 600;
}

.consent {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent .form-check-input {
  float: none;
  margin: 3px 0 0;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--radius-small);
  border-color: var(--color-text);
}

.consent .form-check-input:checked {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
}

.consent .form-check-input:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(24, 200, 90, 0.25);
}

.consent .form-check-label {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0;
}

.consent .invalid-feedback {
  flex-basis: 100%;
}

.consent .form-check-input.is-invalid ~ .invalid-feedback {
  display: block;
}

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

.brief-form__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.brief-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 0;
}

.brief-success[hidden] {
  display: none;
}

.brief-success__title {
  font-size: 1.5rem;
}

.brief-success__text {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 40em;
}

/* Aside */
.contact-aside__title {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin-bottom: 14px;
}

.contact-aside__lead {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 30em;
  margin-bottom: 28px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.contact-list__item svg {
  flex: none;
  color: var(--color-text);
  margin-top: 1px;
}

.contact-list__item a:hover {
  color: var(--color-green-hover);
}

.contact-list__label {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 3px;
}

.btn-navy.btn-cta {
  --bs-btn-bg: var(--color-navy);
  --bs-btn-border-color: var(--color-navy);
  --bs-btn-color: var(--color-white);
  --bs-btn-hover-bg: var(--color-navy-light);
  --bs-btn-hover-border-color: var(--color-navy-light);
  --bs-btn-hover-color: var(--color-white);
  --bs-btn-active-bg: var(--color-navy-light);
  --bs-btn-active-border-color: var(--color-navy-light);
  --bs-btn-active-color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-aside__link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 22px 0 36px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-text);
}

.contact-aside__link:hover {
  color: var(--color-green-hover);
}

.next-steps {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 32px 28px;
  border-radius: var(--radius-small);
}

.next-steps__title {
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.next-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.next-steps__list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-dark);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-on-navy);
}

.next-steps__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.next-steps__num {
  position: relative;
  flex: none;
  padding-right: 26px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-green);
}

.next-steps__num::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--color-green);
}

/* FAQ */
.contact-faq {
  padding-top: clamp(32px, 3vw, 44px);
  padding-bottom: clamp(48px, 4.5vw, 64px);
  border-top: 1px solid var(--color-border);
}

.contact-faq__title {
  margin-bottom: 20px;
}

.faq {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--color-text);
  --bs-accordion-btn-padding-x: 20px;
  --bs-accordion-btn-padding-y: 18px;
  --bs-accordion-body-padding-x: 20px;
  --bs-accordion-body-padding-y: 0;
  border-top: 1px solid var(--color-border);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 !important;
}

.faq__button {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 0 !important;
  transition: color var(--transition);
}

.faq__button::after {
  background-image: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--color-text), var(--color-text)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--color-text), var(--color-text)) center / 1.5px 14px no-repeat;
  transition: transform var(--transition);
}

.faq__button:not(.collapsed)::after {
  transform: rotate(45deg);
}

.faq__button:hover {
  color: var(--color-green-hover);
}

.faq__button:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: -2px;
}

.faq__body {
  padding-bottom: 22px;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 60em;
}

/* Closing strip */
.contact-strip {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(40px, 3.6vw, 52px) 0;
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-strip__title {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  margin-bottom: 14px;
}

.contact-strip__text {
  font-size: var(--fs-small);
  color: var(--color-text-on-navy);
}

.contact-strip__art {
  flex: none;
  width: 160px;
  height: auto;
}

/* Footer directly follows the strip — add a hairline between them */
.page-contact .site-footer {
  border-top: 1px solid var(--color-border-dark);
}

/* Responsive */
@media (max-width: 991.98px) {
  .contact-hero__visual {
    order: -1;
    justify-content: flex-start;
  }

  .contact-art {
    max-width: 460px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .contact-grid__form {
    padding-right: 0;
    border-right: 0;
  }

  .contact-grid__aside {
    padding-left: 0;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 767.98px) {
  .service-tiles__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-strip__art {
    width: 120px;
  }

  .contact-hero__points {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .service-tiles__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service-tile__box {
    min-height: 76px;
    padding: 12px;
  }
}


/* ==========================================================================
   17. About page (about.html)
   ========================================================================== */
.about-hero {
  padding-top: 8px;
  padding-bottom: clamp(32px, 3vw, 44px);
}

.about-hero__title {
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 13em;
}

.about-hero__lead {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
}

.about-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(32px, 3.5vw, 52px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 24px 18px 0;
  border-right: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-text);
}

.about-hero__facts li + li {
  padding-left: 24px;
}

.about-hero__facts li:last-child {
  border-right: 0;
}

.about-hero__fact-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* 01 Who we are */
.who {
  padding-top: var(--section-space-sm);
}

.who__art {
  margin-top: 32px;
  max-width: 420px;
}

.who__art svg {
  width: 100%;
  height: auto;
}

.who__text p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 18px;
}

.who__text p:first-child {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.principles {
  margin-top: 36px;
  border-top: 1px solid var(--color-border);
}

.principle {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.principle__num {
  flex: none;
  width: 2.2em;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-green);
  padding-top: 5px;
}

.principle__title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.principle__text {
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--color-muted);
}

/* 02 What we do */
.what {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
}

.service-block {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--color-border);
}

.service-block + .service-block {
  padding-left: 32px;
}

.service-block:last-child {
  border-right: 0;
  padding-right: 0;
}

.service-block__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--color-green);
}

.service-block__title {
  font-size: 1.3rem;
  color: var(--color-text);
}

.service-block__text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.service-block__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.service-block__list li + li {
  margin-top: 10px;
}

.service-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1.5px;
  background: var(--color-green);
}

.service-block__list strong {
  color: var(--color-text);
  font-weight: 700;
}

.what__foot {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

/* 03 Team */
.team {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--color-border);
}

.team__intro {
  margin-top: 18px;
  max-width: 40em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}

.member__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  margin-bottom: 18px;
  color: var(--color-navy);
}

.member__photo--a { background: #e6ebe3; }
.member__photo--b { background: #dfe6ea; }
.member__photo--c { background: var(--color-navy); color: var(--color-white); }
.member__photo--d { background: #ece7df; }

.member__initials {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.member__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member__name {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.member__role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-green-hover);
  margin-bottom: 8px;
}

.member__focus {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 28em;
}

/* 04 Numbers */
.numbers {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(56px, 5.5vw, 80px) 0;
}

.numbers__title {
  color: var(--color-white);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  margin-bottom: 16px;
}

.numbers__lead {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-text-on-navy);
  max-width: 26em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--color-border-dark);
  border-left: 1px solid var(--color-border-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 32px;
  border-right: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.stat__value {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-green);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-on-navy);
  max-width: 18em;
}

/* Responsive */
@media (max-width: 991.98px) {
  .about-hero__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero__facts li:nth-child(2n) {
    border-right: 0;
    padding-left: 24px;
  }

  .about-hero__facts li:nth-child(2n+1) {
    padding-left: 0;
  }

  .about-hero__facts li:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-block,
  .service-block + .service-block {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .service-block:last-child {
    border-bottom: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who__art {
    max-width: 360px;
  }
}

@media (max-width: 575.98px) {
  .about-hero__facts {
    grid-template-columns: 1fr;
  }

  .about-hero__facts li,
  .about-hero__facts li:nth-child(2n) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .about-hero__facts li:last-child {
    border-bottom: 0;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .member__focus {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 24px 20px;
  }
}


/* ==========================================================================
   18. Careers page (careers.html)
   ========================================================================== */
.careers-hero__link {
  margin-top: 8px;
}

.why-us {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}

.why-us .features {
  margin-bottom: 0;
}

/* Positions */
.positions {
  padding-top: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.positions__count {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.filter__chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.filter__chip:hover {
  border-color: var(--color-text);
}

.filter__chip.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.jobs {
  border-top: 1px solid var(--color-border);
  margin-top: 20px;
}

.job {
  border-bottom: 1px solid var(--color-border);
}

.job[hidden] {
  display: none;
}

.job__head {
  margin: 0;
  font-size: inherit;
}

.job__toggle {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition);
}

.job__toggle:hover .job__title {
  color: var(--color-green-hover);
}

.job__toggle:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: -2px;
}

.job__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color var(--transition);
}

.job__meta {
  font-size: 0.84rem;
  color: var(--color-muted);
}

.job__cat {
  font-weight: 700;
  color: var(--color-green-hover);
}

.job__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  justify-self: end;
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.job__icon::before,
.job__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.job__icon::before { width: 14px; height: 1.5px; }
.job__icon::after { width: 1.5px; height: 14px; transition: transform var(--transition); }

.job__toggle[aria-expanded="true"] .job__icon {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.job__toggle[aria-expanded="true"] .job__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.job__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  padding: 0 0 36px;
}

.job__about {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 24px;
  max-width: 44em;
}

.job__subtitle {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.job__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.job__list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--color-muted);
}

.job__list li + li {
  margin-top: 8px;
}

.job__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1.5px;
  background: var(--color-green);
}

.job__aside {
  align-self: start;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.job__facts {
  margin: 0 0 20px;
}

.job__facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.86rem;
}

.job__facts div:first-child {
  padding-top: 0;
}

.job__facts dt {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.job__facts dd {
  margin: 0;
  color: var(--color-text);
}

.job__note {
  margin-top: 12px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.jobs__empty {
  padding: 32px 0;
  font-size: var(--fs-small);
  color: var(--color-muted);
}

/* Hiring process */
.hiring {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space);
}

.hiring__lead {
  margin-top: 16px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.step {
  display: flex;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}

.step__num {
  flex: none;
  width: 3em;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-green);
  padding-top: 4px;
}

.step__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step__text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 42em;
}

/* Open application strip */
.open-app {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(48px, 4.6vw, 66px) 0;
}

.open-app__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.open-app__title {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: 14px;
  max-width: 16em;
}

.open-app__text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-text-on-navy);
  max-width: 36em;
}

.open-app__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.open-app__email {
  font-weight: 600;
  color: var(--color-white);
}

.open-app__email:hover {
  color: var(--color-green);
}

.open-app__note {
  font-size: 0.78rem;
  color: var(--color-text-on-navy);
}

.page-careers .site-footer {
  border-top: 1px solid var(--color-border-dark);
}

@media (max-width: 991.98px) {
  .job__toggle {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px 20px;
  }

  .job__meta {
    grid-column: 1;
  }

  .job__icon {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .job__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .open-app__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 575.98px) {
  .job__toggle {
    padding: 20px 0;
  }

  .job__title {
    font-size: 1.1rem;
  }

  .step {
    gap: 20px;
  }

  .job__aside .btn-cta {
    width: 100%;
  }
}


/* ==========================================================================
   19. Work / portfolio page (work.php)
   ========================================================================== */
.work-map {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}

.work-map__hint {
  font-size: 0.84rem;
  color: var(--color-muted);
  max-width: 22em;
  text-align: right;
}

/* Map container — the img keeps the 1000×400 ratio, pins overlay in % */
.map-wrap {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
}

.map__scroll {
  overflow: hidden;
}

.map {
  position: relative;
  padding: 2%;
}

.work-map__hint-mobile {
  display: none;
}

.map__base {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.map__pins {
  position: absolute;
  inset: 2%;
}

.map__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition);
}

.map__pin.is-dimmed {
  opacity: 0.3;
}

.pin {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pin__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-green);
  transform: translate(-50%, -50%);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
  opacity: 0.35;
  transform: translate(-50%, -50%);
  animation: pin-pulse 2.4s ease-out infinite;
}

@keyframes pin-pulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.pin__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 2px);
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-small);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.pin:hover .pin__label,
.pin:focus-visible .pin__label,
.pin[aria-expanded="true"] .pin__label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pin:hover .pin__dot,
.pin:focus-visible .pin__dot {
  transform: translate(-50%, -50%) scale(1.25);
}

.pin[aria-expanded="true"] .pin__dot {
  background: var(--color-navy);
  box-shadow: 0 0 0 2px var(--color-navy);
  transform: translate(-50%, -50%) scale(1.25);
}

.pin:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
  border-radius: 50%;
}

/* Floating card for the selected pin */
.map__card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  width: min(360px, calc(100% - 48px));
  padding: 22px 24px 20px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-small);
  box-shadow: 0 12px 32px rgba(3, 29, 53, 0.22);
}

.map__card[hidden] {
  display: none;
}

.map__card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}

.map__card-close:hover {
  color: var(--color-white);
}

.map__card-meta {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 8px;
  padding-right: 32px;
}

.map__card-title {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.map__card-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--color-text-on-navy);
  margin-bottom: 14px;
}

.map__card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.map__card .link-arrow {
  color: var(--color-white);
  min-height: 32px;
  font-size: 0.86rem;
}

.map__card .link-arrow:hover {
  color: var(--color-green);
}

.map__card-filter {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  color: var(--color-text-on-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map__card-filter:hover {
  color: var(--color-green);
}

.map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.map__legend-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.map__legend-btn:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.map__legend-btn.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

/* Grid + filters */
.work-grid {
  padding-top: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.work-filters .filter {
  margin-bottom: 0;
}

.work-filters__country .form-select {
  min-height: 40px;
  padding: 6px 40px 6px 14px;
  border-radius: 999px;
  border-color: var(--color-border);
  font-size: 0.84rem;
  font-weight: 600;
  background-color: transparent;
}

.work-filters__country .form-select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(24, 200, 90, 0.25);
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}

.work-card[hidden] {
  display: none;
}

.work-card__link {
  position: relative;
  display: block;
}

.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-small);
  margin-bottom: 18px;
}

.work-card__media > * {
  transition: transform 450ms ease;
}

.work-card__link:hover .work-card__media > *,
.work-card__link:focus-visible .work-card__media > * {
  transform: scale(1.03);
}

.work-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__title {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.work-card.is-highlighted .work-card__media {
  outline: 2px solid var(--color-green);
  outline-offset: 4px;
}

/* Placeholder tile */
.work-tile {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.work-tile--a { background: var(--color-navy); color: #18c85a; }
.work-tile--b { background: #ece7df; color: #e8412a; }
.work-tile--c { background: #0a0e14; color: #2b6ef2; }
.work-tile--d { background: #e6ebe3; color: #031d35; }

.work-tile__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.work-tile__index {
  position: relative;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.work-tile__iso {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.work-reset {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--color-green-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.work-cta {
  border-top: 1px solid var(--color-border);
}

@media (prefers-reduced-motion: reduce) {
  .pin::before {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .work-map__hint {
    text-align: left;
  }

  .work-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .map__card {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  /* Keep pins legible: the map scrolls sideways at a minimum width */
  .map__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .map {
    min-width: 760px;
    padding: 12px;
  }

  .map__pins {
    inset: 12px;
  }

  .pin__label {
    display: none;
  }

  .work-map__hint-mobile {
    display: inline;
  }

  .map__card {
    position: static;
    width: auto;
    margin: 0 12px 12px;
  }

  .work-filters {
    align-items: stretch;
  }

  .work-filters__country .form-select {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .work-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ==========================================================================
   20. Mega menu (Services)
   ========================================================================== */
.site-nav__item {
  position: relative;
}

.has-mega {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mega-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.mega-toggle svg {
  transition: transform var(--transition);
}

.mega-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.site-header__inner {
  position: relative;
}

.has-mega {
  position: static;
}

.mega {
  position: absolute;
  left: var(--container-pad);
  right: var(--container-pad);
  top: 100%;
  z-index: 1001;
  width: auto;
  transform: translateY(8px);
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

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

.mega__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.9fr);
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  box-shadow: 0 18px 48px rgba(3, 29, 53, 0.14);
}

.mega__col {
  padding: 28px 24px 24px;
  border-right: 1px solid var(--color-border);
}

.mega__group {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.mega__group-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 4px;
  transition: color var(--transition);
}

.mega__group:hover .mega__group-name {
  color: var(--color-green-hover);
}

.mega__group-short {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.mega__list li + li {
  margin-top: 2px;
}

.mega__link {
  display: block;
  padding: 7px 10px;
  margin-left: -10px;
  border-radius: var(--radius-small);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color var(--transition), color var(--transition);
}

.mega__link:hover,
.mega__link:focus-visible {
  background: var(--color-background);
  color: var(--color-green-hover);
}

.mega__link.is-current {
  color: var(--color-green-hover);
  font-weight: 700;
}

.mega__aside {
  padding: 28px 24px;
  background: var(--color-navy);
  color: var(--color-white);
}

.mega__aside-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 10px;
}

.mega__aside-text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-text-on-navy);
  margin-bottom: 14px;
}

.mega__aside .link-arrow {
  color: var(--color-white);
  font-size: 0.86rem;
  min-height: 36px;
}

.mega__aside .link-arrow:hover {
  color: var(--color-green);
}

.mega__all {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--color-text-on-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mega__all:hover {
  color: var(--color-green);
}

/* Below 1200px: the mega menu becomes an accordion inside the nav drawer */
@media (max-width: 1199.98px) {
  .has-mega {
    flex-wrap: wrap;
    gap: 0;
  }

  .has-mega > .site-nav__link {
    flex: 1;
  }

  .mega-toggle {
    width: 56px;
    height: 56px;
  }

  .mega {
    position: static;
    width: 100%;
    transform: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .has-mega.is-open .mega {
    display: block;
    transform: none;
  }

  .mega__inner {
    grid-template-columns: 1fr;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-bottom: 12px;
  }

  .mega__col {
    padding: 8px 0 12px;
    border-right: 0;
  }

  .mega__group {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .mega__link {
    margin-left: 0;
    padding: 10px 0;
    font-size: 0.95rem;
  }

  .mega__aside {
    margin-top: 8px;
    padding: 20px;
    border-radius: var(--radius-small);
  }
}


/* ==========================================================================
   21. Services overview + service pages
   ========================================================================== */
.services-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.services-jump .filter__chip {
  display: inline-flex;
  align-items: center;
}

.services-group {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-green);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(3, 29, 53, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card__arrow {
  color: var(--color-green);
  transition: transform var(--transition);
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

.service-card__short {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.service-card__tags {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.76rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

/* Service page */
.svc-hero {
  padding-top: 8px;
  padding-bottom: clamp(32px, 3vw, 44px);
}

.svc-hero__text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 40em;
  margin: 22px 0 28px;
}

.svc-hero .hero__actions {
  margin-bottom: 0;
}

.svc-outcomes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
}

.svc-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.svc-outcomes svg {
  flex: none;
  color: var(--color-green);
  margin-top: 2px;
}

.svc-definition {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}

.svc-definition__text {
  margin-top: 18px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
}

.svc-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  border-top: 1px solid var(--color-border);
}

.svc-includes li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  font-weight: 600;
}

.svc-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 10px;
  height: 1.5px;
  background: var(--color-green);
}

.svc-problems {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.svc-problems .features {
  margin-bottom: 0;
}

.feature__num {
  display: block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-green);
  margin-bottom: 22px;
}

.svc-deliverables {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.svc-list {
  margin-top: 22px;
}

.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  line-height: 1.5;
}

.svc-list svg {
  flex: none;
  color: var(--color-green);
  margin-top: 2px;
}

.svc-ideal {
  margin-top: 22px;
}

.svc-ideal li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.svc-ideal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3em;
  width: 10px;
  height: 1.5px;
  background: var(--color-green);
}

.svc-process {
  padding-bottom: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

/* Selected project band */
.svc-project {
  background: var(--color-navy);
  color: var(--color-white);
}

.svc-project__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 4vw, 56px) 0;
}

.svc-project__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-small);
}

.svc-project__meta {
  font-size: 0.82rem;
  color: var(--color-green);
  font-weight: 700;
  margin-bottom: 10px;
}

.svc-project__title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  margin-bottom: 14px;
}

.svc-project__text {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-text-on-navy);
  max-width: 34em;
  margin-bottom: 18px;
}

.svc-project__link {
  color: var(--color-white);
}

.svc-project__link:hover {
  color: var(--color-green);
}

.svc-why {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}

.principles--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin-top: 0;
}

.svc-engagement {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
  border-top: 1px solid var(--color-border);
}

.engage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.engage__option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.engage__num {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-green);
}

.engage__title {
  font-size: 1.15rem;
}

.engage__text {
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--color-muted);
  flex: 1;
}

.svc-quote {
  padding: clamp(40px, 4vw, 56px) 0;
  border-top: 1px solid var(--color-border);
}

.svc-quote__inner {
  position: relative;
  max-width: 46em;
  margin: 0;
  padding-left: 48px;
}

.svc-quote__mark {
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--color-green);
}

.svc-quote__text {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.svc-quote .quote__cite {
  color: var(--color-muted);
}

.svc-faq {
  border-top: 1px solid var(--color-border);
}

.svc-related {
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), transform var(--transition);
}

.related-card:hover {
  border-color: var(--color-navy);
  transform: translateY(-2px);
}

.related-card__name {
  font-weight: 700;
  font-size: 1rem;
}

.related-card__short {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.related-card__arrow {
  margin-top: auto;
  padding-top: 8px;
  color: var(--color-green);
}

@media (max-width: 991.98px) {
  .services-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-project__inner {
    grid-template-columns: 1fr;
  }

  .principles--grid {
    grid-template-columns: 1fr;
  }

  .engage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .services-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .svc-includes {
    grid-template-columns: 1fr;
  }

  .svc-hero .hero__actions .btn-cta {
    width: 100%;
  }
}
