/* ==========================================================================
   PISCEAN PROJECTS — Design System
   Construction & Project Delivery / Sevenoaks, Kent / London & South East
   Palette: black, charcoal, silver, white + sparing blue accent
   ========================================================================== */

:root {
  /* Colour tokens */
  --black: #0a0a0b;
  --charcoal: #141416;
  --charcoal-2: #1c1d20;
  --charcoal-3: #26282c;
  --charcoal-4: #34363b;
  --silver: #a9aeb4;
  --silver-light: #d6d9dc;
  --silver-lighter: #e7e9ea;
  --white: #f7f7f6;
  --pure-white: #ffffff;
  --blue: #2b6cdf;
  --blue-deep: #1a4fb0;
  --blue-light: #5a92f0;
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --line-on-dark-strong: rgba(255, 255, 255, 0.22);
  --line-on-light: rgba(10, 10, 11, 0.12);
  --line-on-light-strong: rgba(10, 10, 11, 0.2);

  /* Type */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1320px;
  --container-narrow: 860px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --header-h: 88px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  color-scheme: dark;
}

/* --------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--pure-white);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------
   Type scale & utility classes
   -------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue-light);
  display: inline-block;
}
.on-light .eyebrow {
  color: var(--blue-deep);
}
.on-light .eyebrow::before {
  background: var(--blue-deep);
}

.h-display {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  text-transform: uppercase;
}
.h-xl {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  text-transform: uppercase;
}
.h-lg {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  text-transform: uppercase;
}
.h-md {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.h-sm {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--silver-light);
  font-weight: 400;
  max-width: 62ch;
}
.on-light .lede {
  color: #4c4f54;
}

.body-text {
  color: var(--silver-light);
  max-width: 68ch;
}
.on-light .body-text {
  color: #45484d;
}

.text-silver { color: var(--silver); }
.text-white { color: var(--white); }
.text-blue { color: var(--blue-light); }
.on-light .text-blue { color: var(--blue); }

.mono-tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
}

/* --------------------------------------------------------------------
   Section backgrounds
   -------------------------------------------------------------------- */
.section {
  position: relative;
  padding-block: clamp(64px, 10vw, 140px);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.bg-black { background: var(--black); color: var(--white); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-charcoal-2 { background: var(--charcoal-2); color: var(--white); }
.bg-white { background: var(--white); color: var(--charcoal); }
.bg-silver-light { background: var(--silver-lighter); color: var(--charcoal); }

.on-light { color: var(--charcoal); }
.on-light h1, .on-light h2, .on-light h3, .on-light h4 { color: var(--charcoal); }

.divider {
  height: 1px;
  width: 100%;
  background: var(--line-on-dark);
  border: 0;
  margin: 0;
}
.on-light .divider,
.divider--light {
  background: var(--line-on-light);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head__title {
  max-width: 640px;
}
.section-head__side {
  max-width: 420px;
}

/* --------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------- */
.btn {
  --btn-fg: var(--black);
  --btn-bg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  --btn-bg: var(--blue);
  --btn-fg: var(--pure-white);
}
.btn--primary:hover {
  --btn-bg: var(--blue-deep);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--black);
}
.btn--light:hover {
  --btn-bg: var(--blue);
  --btn-fg: var(--pure-white);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: var(--line-on-dark-strong);
}
.btn--outline:hover {
  --btn-fg: var(--pure-white);
  border-color: var(--blue-light);
  background: rgba(43, 108, 223, 0.12);
}
.on-light .btn--outline {
  --btn-fg: var(--charcoal);
  border-color: var(--line-on-light-strong);
}
.on-light .btn--outline:hover {
  border-color: var(--blue);
  background: rgba(43, 108, 223, 0.08);
}

.btn--outline-dark {
  --btn-bg: transparent;
  --btn-fg: var(--black);
  border-color: var(--line-on-light-strong);
}
.btn--outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  background: rgba(43, 108, 223, 0.06);
}

.btn--sm {
  padding: 12px 22px;
  font-size: 12.5px;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--line-on-dark-strong);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link:hover {
  color: var(--blue-light);
  border-color: var(--blue-light);
}
.on-light .text-link {
  color: var(--charcoal);
  border-color: var(--line-on-light-strong);
}
.on-light .text-link:hover {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}
.text-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  background: rgba(247, 247, 246, 0.97);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-on-light);
  box-shadow: 0 1px 0 rgba(10,10,11,0.02);
  transition: box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.is-solid {
  box-shadow: 0 10px 30px rgba(10, 10, 11, 0.08);
}
.site-header .nav-link { color: var(--charcoal); }
.site-header .nav-link.is-active,
.site-header .nav-link:hover { color: var(--blue-deep); }
.site-header .logo-word { color: var(--charcoal); }
.site-header .burger span { background: var(--charcoal); }

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.brand__mark {
  height: 38px;
  width: auto;
  flex: none;
  display: flex;
  align-items: center;
}
.brand__mark img { height: 100%; width: auto; display: block; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17.5px;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--charcoal);
  white-space: nowrap;
}
.logo-word span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--blue-light);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transition: right 0.35s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 0;
  flex: none;
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn--primary { display: none; }
  .burger { display: flex; }
}

@media (max-width: 480px) {
  .logo-word { font-size: 15px; }
  .logo-word span { display: none; }
}
.burger span {
  width: 100%;
  height: 2px;
  background: var(--pure-white);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 60px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav__links a {
  font-family: var(--font-head);
  font-size: clamp(2rem, 9vw, 2.8rem);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav__links a span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--silver);
  font-weight: 500;
}
.mobile-nav__foot {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav__meta {
  color: var(--silver);
  font-size: 14px;
}

body.nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.45) 30%, rgba(6,6,7,0.86) 88%, rgba(6,6,7,0.96) 100%),
    linear-gradient(90deg, rgba(6,6,7,0.5) 0%, rgba(6,6,7,0.05) 45%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-h) + 40px) 72px;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero__kicker .dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex: none;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  text-transform: uppercase;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}
.hero__sub {
  margin-top: 26px;
  max-width: 620px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--silver-light);
}
.hero__ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__foot {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-dark);
}
.hero__foot-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__foot-item b {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__foot-item span {
  font-size: 12.5px;
  color: var(--silver);
}

/* Page (non-home) hero — shorter */
.page-hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--header-h) + 76px);
  padding-bottom: 76px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,9,0.55), rgba(8,8,9,0.92));
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
}
.page-hero .breadcrumb a:hover { color: var(--blue-light); }
.page-hero h1 {
  max-width: 20ch;
}
.page-hero .lede {
  margin-top: 22px;
}

/* --------------------------------------------------------------------
   Grids & cards
   -------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line-on-dark);
}
.on-light .grid { background: var(--line-on-light); }
.grid > * { background: inherit; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--charcoal);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: background 0.45s var(--ease);
}
.service-card:hover { background: var(--charcoal-3); }
.service-card__icon {
  width: 46px;
  height: 46px;
  color: var(--silver-light);
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}
.service-card:hover .service-card__icon {
  color: var(--blue-light);
  transform: translateY(-3px);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--charcoal-4);
  font-weight: 700;
}
.service-card h3 {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: auto;
}
.service-card p {
  font-size: 14.5px;
  color: var(--silver);
  line-height: 1.6;
}

/* Detailed service block (Services page) */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.service-block:nth-child(even) .service-block__media { order: 2; }
@media (max-width: 860px) {
  .service-block, .service-block:nth-child(even) .service-block__media {
    grid-template-columns: 1fr;
    order: 0;
  }
  .service-block { grid-template-columns: 1fr; }
}
.service-block__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
}
.service-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-block:hover .service-block__media img {
  transform: scale(1.045);
}
.service-block__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(10,10,11,0.75);
  color: var(--silver-light);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-left: 2px solid var(--blue);
}
.service-block__index {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.service-block__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-block__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--silver-light);
}
.service-block__list li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--blue-light);
}

/* --------------------------------------------------------------------
   Process / turnkey steps
   -------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
}
.process__step {
  position: relative;
  padding: 30px 22px 26px;
  border-top: 2px solid var(--line-on-dark-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.on-light .process__step { border-top-color: var(--line-on-light-strong); }
.process__step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.6s var(--ease);
}
.process__step.is-visible::before { width: 100%; }
.process__num {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--blue-light);
  letter-spacing: 0.06em;
}
.on-light .process__num { color: var(--blue-deep); }
.process__step h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.process__step p {
  font-size: 13.5px;
  color: var(--silver);
}
.on-light .process__step p { color: #5b5e63; }
.process__arrow {
  display: none;
}
@media (max-width: 900px) {
  .process__step { border-top: none; border-left: 2px solid var(--line-on-dark-strong); padding: 16px 0 16px 22px; }
  .on-light .process__step { border-left-color: var(--line-on-light-strong); }
  .process__step::before { top: 0; left: -2px; width: 2px; height: 0; }
  .process__step.is-visible::before { height: 100%; width: 2px; }
}

/* --------------------------------------------------------------------
   Healthcare feature section
   -------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}
.split__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.split__body {
  padding: clamp(40px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-top: 8px;
}
.check-list--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .check-list--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .check-list,
  .check-list--3col { grid-template-columns: 1fr; }
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--silver-light);
  min-width: 0;
}
.on-light .check-list li { color: #45484d; }
.check-list li svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex: none;
  color: var(--blue-light);
}
.on-light .check-list li svg { color: var(--blue); }

.client-note {
  margin-top: 10px;
  padding: 20px 24px;
  border-left: 2px solid var(--blue);
  background: rgba(43,108,223,0.08);
  font-size: 14px;
  color: var(--silver-light);
}
.on-light .client-note { color: #3d4045; }

/* --------------------------------------------------------------------
   Project mosaic (multi-image feature)
   -------------------------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 3px;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.mosaic a, .mosaic .mosaic__item {
  display: block;
  overflow: hidden;
  position: relative;
}
.mosaic a:hover img { transform: scale(1.06); }
.mosaic .span-2 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .mosaic .span-2 { grid-column: span 2; grid-row: span 1; }
}
.mosaic-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--silver);
  text-align: right;
}
.on-light .mosaic-caption { color: #7a7d82; }

.project-feature {
  border: 1px solid var(--line-on-dark);
  background: var(--charcoal);
}
.project-feature__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.project-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver);
}

/* --------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-on-dark);
}
@media (max-width: 980px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}
.project-card {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  position: relative;
}
.project-card__media {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}
.project-card:hover .project-card__media img {
  transform: scale(1.06);
}
.project-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,10,11,0.78);
  color: var(--silver-light);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 11px;
}
.project-card__badge--live {
  background: var(--blue);
  color: var(--pure-white);
}
.project-card__body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--silver);
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card h3 {
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
}
.project-card p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.55;
}
.project-card--placeholder {
  border: 1px dashed var(--line-on-dark-strong);
}
.project-card--placeholder .project-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-2);
}
.project-card--placeholder .project-card__media svg {
  width: 44px;
  height: 44px;
  color: var(--charcoal-4);
}

/* --------------------------------------------------------------------
   About / values
   -------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
}
@media (max-width: 860px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: var(--white);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value-card__num {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.value-card h3 {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.value-card p {
  font-size: 14px;
  color: #55585d;
  line-height: 1.6;
}

/* Quote / statement block */
.statement {
  max-width: 920px;
}
.statement p {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3;
  font-weight: 600;
  text-transform: none;
}
.statement p em {
  font-style: normal;
  color: var(--blue-light);
}
.on-light .statement p em { color: var(--blue); }

/* --------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding-block: clamp(60px, 9vw, 120px);
  overflow: hidden;
  text-align: center;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.cta-band h2 {
  max-width: 18ch;
}
.cta-band .btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-band__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.cta-band__grid img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 940px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-info__block {
  padding-block: 22px;
  border-top: 1px solid var(--line-on-light);
}
.contact-info__block:first-child { border-top: none; padding-top: 0; }
.contact-info__block h3 {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.contact-info__block p, .contact-info__block a {
  font-size: 15px;
  color: #3c3f44;
}
.contact-info__block a:hover { color: var(--blue-deep); }

.project-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.project-type-chips span {
  font-size: 12.5px;
  padding: 7px 12px;
  border: 1px solid var(--line-on-light-strong);
  color: #45484d;
}

.form-card {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(28px, 4vw, 48px);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}
.field label .req { color: var(--blue-light); }
.field input,
.field select,
.field textarea {
  background: var(--charcoal-2);
  border: 1px solid var(--line-on-dark-strong);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  border-radius: var(--radius);
  transition: border-color 0.3s ease, background 0.3s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: var(--charcoal-3);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%23a9aeb4' stroke-width='1.6' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field-note {
  font-size: 12.5px;
  color: var(--silver);
  margin-top: -8px;
  margin-bottom: 22px;
}
.form-msg {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 14px;
  border-left: 2px solid var(--blue);
  background: rgba(43,108,223,0.1);
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg.is-error {
  border-color: #d05a5a;
  background: rgba(208,90,90,0.1);
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--silver);
  padding-block: 72px 28px;
  border-top: 1px solid var(--line-on-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand__mark { height: 42px; width: auto; flex: none; }
.footer-brand__mark img { height: 100%; width: auto; display: block; }
.footer-brand h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 16.5px;
  letter-spacing: 0.02em;
}
.footer-brand p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--silver);
}
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a, .footer-col p {
  font-size: 14px;
  color: var(--silver);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--charcoal-4);
}
.footer-bottom a:hover { color: var(--silver); }

/* --------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.14s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.26s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.32s; }
[data-reveal-group].is-visible > *:nth-child(7) { transition-delay: 0.38s; }
[data-reveal-group].is-visible > *:nth-child(8) { transition-delay: 0.44s; }

/* --------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------- */
.image-frame {
  position: relative;
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-caption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--silver);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.on-light .image-caption { color: #7a7d82; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line-on-dark-strong);
  color: var(--silver-light);
}
.on-light .badge { border-color: var(--line-on-light-strong); color: #45484d; }

.numbered-list {
  counter-reset: item;
  display: flex;
  flex-direction: column;
}
.numbered-list li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--line-on-dark);
}
.on-light .numbered-list li { border-top-color: var(--line-on-light); }
.numbered-list li:first-child { border-top: none; }
.numbered-list li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--blue-light);
}
.on-light .numbered-list li::before { color: var(--blue); }
.numbered-list h4 {
  font-size: 15.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.numbered-list p {
  font-size: 14.5px;
  color: var(--silver-light);
}
.on-light .numbered-list p { color: #4c4f54; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg { width: 18px; height: 18px; }

::selection {
  background: var(--blue);
  color: var(--pure-white);
}

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