/* ==========================================================================
   K-Tiling: one-page site
   ========================================================================== */

:root {
  --white: #ffffff;
  --ink: #262626;
  --graphite: #333333;
  --green: #2c7207;
  --green-dark: #235a06;
  --green-soft: #eef4ea;
  --grey-50: #f7f7f6;
  --grey-100: #efefed;
  --grey-200: #e3e4e1;
  --grey-300: #cfd1cc;
  --grey-500: #85877f;
  --grey-700: #5a5c56;

  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 4px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.22, .9, .25, 1);
  --shadow: 0 30px 60px -30px rgba(30, 32, 28, .35);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--graphite);
}

h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

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

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

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

/* Eyebrow label with a small green tile */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font: 500 .76rem/1 var(--font-head);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-700);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--green);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Buttons: one size, matte glass with a light 3D feel ---------- */
.btn {
  --tint: 51, 51, 51;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  width: 210px;
  height: 52px;
  padding: 0 1.2em;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 55%),
    rgba(var(--tint), .82);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -2px 6px rgba(0, 0, 0, .18),
    0 10px 22px -10px rgba(var(--tint), .7),
    0 2px 4px rgba(0, 0, 0, .08);
  color: var(--white);
  font: 500 .95rem/1 var(--font-head);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s;
}
.btn::before {
  /* soft sheen that slides across on hover */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
  z-index: -1;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -2px 6px rgba(0, 0, 0, .18),
    0 16px 30px -12px rgba(var(--tint), .75),
    0 3px 6px rgba(0, 0, 0, .1);
}
.btn:hover::before { left: 120%; }
.btn:active { transform: translateY(0) scale(.98); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25), 0 4px 10px -6px rgba(var(--tint), .6); }
.btn--green { --tint: 44, 114, 7; }
.btn--ghost {
  border-color: rgba(51, 51, 51, .14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 100%),
    rgba(240, 241, 238, .5);
  color: var(--graphite);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 6px rgba(0, 0, 0, .05),
    0 10px 22px -12px rgba(30, 32, 28, .35),
    0 2px 4px rgba(0, 0, 0, .05);
}
.btn--ghost::before { background: linear-gradient(100deg, transparent, rgba(44, 114, 7, .12), transparent); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (max-width: 760px) {
  /* centred on phones */
  .btn { display: flex; margin-inline: auto; }
  .hero__actions { flex-direction: column; align-items: center; }
}

/* Call to action rows under sections */
.section__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.section__cta--center { justify-content: center; margin-top: 48px; }
.text-link { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--green-dark); }
.hero__stat-link { display: grid; justify-items: center; color: inherit; text-decoration: none; }
.hero__stat-link strong { transition: color .3s; }
.hero__stat-link:hover strong { color: var(--green); }
.tags li.is-key a { color: inherit; text-decoration: none; }

@media (max-width: 760px) {
  .section__cta { flex-direction: column; align-items: center; }
}

.link-arrow {
  font: 500 .95rem var(--font-head);
  text-decoration: none;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
}
.link-arrow span { display: inline-block; transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.no-intro .intro, html:not(.js) .intro { display: none; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__stage, .intro__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__stage canvas { animation: fadeIn 1s var(--ease) both; }

.intro__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
}
.intro.is-fallback .intro__fallback { visibility: visible; }

.kmark { display: block; }
.kmark--intro { width: min(46vw, 260px); margin-top: -12vh; overflow: visible; }
.kmark__p { fill: var(--graphite); opacity: 0; }
.kmark__p--g { fill: var(--green); }
.intro.is-fallback .kmark__p { animation: tileIn .9s var(--ease) forwards; }
.intro.is-fallback .kmark__p--a { --from: translate(-60px, -80px); animation-delay: .05s; }
.intro.is-fallback .kmark__p--b { --from: translate(80px, -70px); animation-delay: .2s; }
.intro.is-fallback .kmark__p--c { --from: translate(-90px, 60px); animation-delay: .35s; }
.intro.is-fallback .kmark__p--d { --from: translate(80px, 90px); animation-delay: .5s; }
.intro.is-fallback .kmark__p--g { --from: scale(.2); animation-delay: .8s; transform-origin: 597px 560px; }
@keyframes tileIn {
  from { opacity: 0; transform: var(--from); }
  to { opacity: 1; transform: none; }
}

.intro__wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 420px);
  transform: translate(-50%, calc(14vh + 10px));
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity .6s var(--ease), clip-path 1.1s var(--ease), transform 1.1s var(--ease);
}
.intro.show-wordmark .intro__wordmark {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate(-50%, 14vh);
}

.intro__skip {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: clamp(16px, 4vw, 36px);
  padding: .7em 1.2em;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  font: 500 .8rem var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-700);
  backdrop-filter: blur(6px);
  transition: background .3s, color .3s;
}
.intro__skip:hover { background: var(--graphite); color: var(--white); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--grey-200);
}
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 84px; }
.nav__logo img { width: 170px; }
.nav__menu { display: flex; gap: 2rem; margin-left: auto; }
.nav__menu a {
  position: relative;
  font: 500 .92rem var(--font-head);
  text-decoration: none;
  color: var(--graphite);
  padding: .4em 0;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-cta { display: none; }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav__inner { height: 70px; }
  .nav__logo img { width: 140px; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid;
    gap: 6px;
    margin-left: auto;
    padding: 12px 6px;
    background: none;
    border: 0;
    z-index: 2;
  }
  .nav__toggle span:not(.sr-only) {
    width: 26px; height: 2px;
    background: var(--graphite);
    transition: transform .4s var(--ease);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 0 var(--gutter);
    background: var(--white);
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path .7s var(--ease);
  }
  .nav__menu.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .nav__menu a { font-size: 2rem; font-weight: 600; }
  .nav__menu-cta { display: inline-block; color: var(--green) !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent calc(50% - .5px), var(--grey-200) calc(50% - .5px), var(--grey-200) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(-45deg, transparent calc(50% - .5px), var(--grey-200) calc(50% - .5px), var(--grey-200) calc(50% + .5px), transparent calc(50% + .5px));
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 75%);
  opacity: .7;
}
/* Full screen 3D floor behind the hero text */
.hero__scene { position: absolute; inset: 0; }
.hero__scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__scene.is-live canvas { opacity: 1; }
.hero__scene::after {
  /* soft light behind the text, and a fade into the page below */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 44% 40% at 50% 46%, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 84%, #fff 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}
.hero__inner .eyebrow { justify-content: center; }
.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  max-width: 15ch;
  margin-bottom: 1.6rem;
}
.hero__lead { font-size: 1.15rem; color: var(--grey-700); max-width: 36rem; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 4rem);
  list-style: none;
  margin: 0; padding: 0;
}
.hero__stats li { display: grid; justify-items: center; }
.hero__stats strong { font: 600 2rem/1 var(--font-head); color: var(--graphite); letter-spacing: -.03em; }
.hero__stats span { font-size: .85rem; color: var(--grey-700); margin-top: .35rem; }

/* Scroll cue: a spirit level settling to level */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  text-decoration: none;
}
.level { width: 72px; height: auto; overflow: visible; }
.level__body { fill: var(--white); stroke: var(--graphite); stroke-width: 1.5; }
.level__vial { fill: var(--green-soft); stroke: var(--grey-500); stroke-width: 1; }
.level__mark { stroke: var(--graphite); stroke-width: 1; }
.level__hole { fill: none; stroke: var(--grey-300); stroke-width: 1.2; }
.level__bubble { fill: var(--green); animation: bubble 3.6s var(--ease) infinite; }
@keyframes bubble {
  0% { transform: translateX(-9px); }
  22% { transform: translateX(7px); }
  40% { transform: translateX(-4px); }
  56% { transform: translateX(2px); }
  70%, 100% { transform: translateX(0); }
}
.hero__scroll-arrow {
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--graphite);
  border-bottom: 1.5px solid var(--graphite);
  transform: rotate(45deg);
  animation: arrowDown 1.8s var(--ease) infinite;
}
@keyframes arrowDown { 0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .4; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }
.hero__scroll:hover .level__body { stroke: var(--green); }

/* Hero entrance (runs after the intro) */
.js .hero__anim { transform: translateY(18px); }
.is-ready .hero__anim { transform: none; transition: transform 1.2s var(--ease); }
.is-ready .hero__anim:nth-child(2) { transition-delay: .1s; }
.is-ready .hero__anim:nth-child(3) { transition-delay: .2s; }
.is-ready .hero__anim:nth-child(4) { transition-delay: .3s; }
.is-ready .hero__anim:nth-child(5) { transition-delay: .4s; }

@media (max-width: 900px) {
  .hero { padding-top: 100px; }
  .hero__scroll { display: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--grey-200);
  padding: 22px 0;
  background: var(--white);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span { font: 500 clamp(1.1rem, 2vw, 1.5rem) var(--font-head); color: var(--graphite); white-space: nowrap; letter-spacing: -.01em; }
.marquee i { width: 10px; height: 10px; background: var(--green); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; position: relative; }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__lead { margin-top: 1.4rem; font-size: 1.08rem; color: var(--grey-700); max-width: 40rem; }
.section__head--center .section__lead { margin-inline: auto; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.about__years { position: relative; display: grid; justify-items: start; }
.about__num {
  /* "10" with a subtle diamond tile pattern and a soft glaze */
  font: 700 clamp(9rem, 22vw, 19rem)/.8 var(--font-head);
  letter-spacing: -.06em;
  /* room for the glyph overhang, otherwise the clipped fill cuts the 0 */
  padding: .04em .12em .08em 0;
  background:
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .14) 50%, transparent 58%) 0 0 / 250% 100% no-repeat,
    linear-gradient(45deg, transparent 48.5%, rgba(255, 255, 255, .22) 48.5%, rgba(255, 255, 255, .22) 51.5%, transparent 51.5%) 0 0 / 36px 36px,
    linear-gradient(-45deg, transparent 48.5%, rgba(255, 255, 255, .22) 48.5%, rgba(255, 255, 255, .22) 51.5%, transparent 51.5%) 0 0 / 36px 36px,
    linear-gradient(155deg, #353535 0%, #2f3a2b 35%, #2c6a0b 70%, #2c7207 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: numGlaze 9s ease-in-out infinite;
}
@keyframes numGlaze { 0% { background-position: 130% 0, 0 0, 0 0, 0 0; } 50%, 100% { background-position: -30% 0, 0 0, 0 0, 0 0; } }
.about__label {
  margin-top: 18px;
  padding-left: 22px;
  position: relative;
  font: 500 1.1rem/1.3 var(--font-head);
  color: var(--graphite);
}
.about__label::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 10px; height: 10px;
  background: var(--green);
  transform: rotate(45deg);
}
.about__copy h2 { max-width: 16ch; }
.about__text { margin-top: 1.2rem; color: var(--grey-700); max-width: 40rem; }
.about__sign { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.about__sign::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.about__sign strong { font: 600 1rem var(--font-head); color: var(--graphite); }
.about__sign span { font-size: .88rem; color: var(--grey-500); }
.about__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 36px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--grey-200);
}
.about__points strong { display: block; font: 600 1rem var(--font-head); color: var(--graphite); margin-bottom: 4px; }
.about__points span { font-size: .9rem; color: var(--grey-500); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__points { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Services (two features + tags) ---------- */
.services__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 18, .82) 0%, rgba(20, 22, 18, .25) 45%, transparent 70%);
}
.feature:hover img { transform: scale(1.05); }
.feature__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 8px; padding: clamp(22px, 3vw, 36px); }
.feature__num { font: 500 .78rem var(--font-head); letter-spacing: .14em; color: #a9d68b; }
.feature__title { font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.feature__text { font-size: .98rem; color: rgba(255, 255, 255, .85); max-width: 30rem; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.tags li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  font: 500 .9rem var(--font-head);
  color: var(--graphite);
}
.tags li::before { content: ""; width: 7px; height: 7px; background: var(--green); transform: rotate(45deg); }
.tags li.is-key { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
@media (max-width: 760px) {
  .services__pair { grid-template-columns: 1fr; }
  .feature { aspect-ratio: 4 / 3; }
}

/* ---------- Precision ---------- */
.precision { background: var(--grey-50); }
.mitre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.mitre__deg { color: var(--green); }
.mitre .section__head { margin-bottom: 36px; }
.mitre__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mitre__thumb {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-200);
  opacity: .55;
  transition: opacity .4s, transform .5s var(--ease);
}
.mitre__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mitre__thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: inherit; transition: border-color .3s; }
.mitre__thumb:hover { opacity: .9; transform: translateY(-3px); }
.mitre__thumb.is-active { opacity: 1; }
.mitre__thumb.is-active::after { border-color: var(--green); }
.precision__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--grey-200);
}
.precision__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.12);
  transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease);
}
.precision__frame img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
/* Magnifying glass over the detail photo */
.precision__frame { cursor: none; }
.loupe {
  --size: 44%;
  position: absolute;
  z-index: 3;
  left: 0; top: 0;
  width: var(--size);
  aspect-ratio: 1;
  pointer-events: none;
  will-change: transform;
}
.loupe__glass {
  position: absolute; inset: 0;
  border-radius: 50%;
  background-color: var(--grey-100);
  background-repeat: no-repeat;
  border: 6px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--graphite), 0 24px 50px -10px rgba(0, 0, 0, .55), inset 0 0 30px rgba(0, 0, 0, .25);
}
.loupe__glass::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 40%);
}
.loupe__handle {
  position: absolute;
  left: 86%; top: 86%;
  width: 16%; height: 52%;
  background: linear-gradient(90deg, #2a2a2a, #4a4a4a 50%, #2a2a2a);
  border-radius: 8px;
  transform-origin: top center;
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .5);
}
.loupe__handle::before {
  content: "";
  position: absolute;
  left: -12%; right: -12%; top: 0;
  height: 18%;
  background: var(--green);
  border-radius: 4px;
}
.precision__hint {
  position: absolute;
  z-index: 4;
  left: 16px; bottom: 16px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font: 500 .75rem var(--font-head);
  color: var(--graphite);
  transition: opacity .4s;
}
.precision__frame.is-hovered .precision__hint { opacity: 0; }

@media (max-width: 900px) {
  .mitre__grid { grid-template-columns: 1fr; }
  .mitre__copy { order: -1; }
  .precision__frame { cursor: auto; }
  .precision__hint { display: none; }
}

/* ---------- Projects / stage slider ---------- */
.projects__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.projects__tabs button {
  padding: .8em 1.3em;
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  background: var(--white);
  font: 500 .9rem var(--font-head);
  color: var(--grey-700);
  transition: all .35s var(--ease);
}
.projects__tabs button:hover { border-color: var(--graphite); color: var(--graphite); }
.projects__tabs button[aria-selected="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }

.project {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  justify-content: center;
}
.project[hidden] { display: none; }
.project.is-entering { animation: projIn .8s var(--ease); }
@keyframes projIn { from { opacity: 0; transform: translateY(24px); } }
.project:has(.stager--landscape) { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); }

.project__meta { display: flex; gap: 10px; margin-bottom: 16px; }
.project__meta span {
  font: 500 .74rem var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; background: var(--green-soft); color: var(--green); border-radius: 2px;
}
.project__info h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.project__info > p { color: var(--grey-700); }
.project__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--grey-200); }
.project__facts dt { font-size: .78rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: .1em; }
.project__facts dd { margin: 4px 0 0; font: 600 1.05rem var(--font-head); color: var(--graphite); }

.stager {
  position: relative;
  aspect-ratio: 618 / 820;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--grey-100);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.stager--landscape { aspect-ratio: 820 / 617; }
.stager__layer { position: absolute; inset: 0; }
.stager__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.stager__layer.is-hidden { visibility: hidden; }

.stager__label {
  position: absolute;
  top: 18px;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  font: 600 .78rem var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--graphite);
  backdrop-filter: blur(6px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.stager__label::before { content: ""; width: 7px; height: 7px; background: var(--grey-500); transform: rotate(45deg); }
.stager__label--current { right: 18px; }
.stager__label--next { left: 18px; opacity: 0; transform: translateY(-8px); }
.stager__label--next::before { background: var(--green); }
.stager.is-dragging .stager__label--next,
.stager.has-progress .stager__label--next { opacity: 1; transform: none; }
.stager__label.is-final::before { background: var(--green); }

.stager__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  z-index: 5;
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, .25);
  cursor: ew-resize;
  outline: none;
}
.stager__knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 54px; height: 54px;
  transform: translate(calc(-50% + var(--kx, 0px)), -50%) rotate(45deg);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .35);
  display: grid; place-items: center;
  transition: background .3s, transform .3s var(--ease);
}
.stager__knob::after {
  content: "";
  width: 14px; height: 14px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(0deg);
  margin: 0 0 0 0;
}
.stager__handle:focus-visible .stager__knob,
.stager__handle:hover .stager__knob { background: var(--green); }
.stager__handle:focus-visible .stager__knob::after,
.stager__handle:hover .stager__knob::after { border-color: var(--white); }
.stager.is-dragging .stager__knob { transform: translate(calc(-50% + var(--kx, 0px)), -50%) rotate(45deg) scale(1.1); }
.stager__handle.is-hint { animation: hint 1.8s var(--ease) 2; }
@keyframes hint { 0%, 100% { left: 0; } 40% { left: 14%; } }
.stager.is-complete .stager__handle { opacity: 0; pointer-events: none; }

.stager__steps {
  position: absolute;
  left: 50%; bottom: 18px;
  z-index: 6;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}
.stager__steps button {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 500 .74rem var(--font-head);
  letter-spacing: .06em;
  color: var(--grey-700);
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.stager__steps button[aria-current="step"] { background: var(--graphite); color: var(--white); }
.stager__steps button.is-done { color: var(--green); }

@media (max-width: 900px) {
  .project, .project:has(.stager--landscape) { grid-template-columns: 1fr; }
  .stager__knob { width: 46px; height: 46px; }
  .stager__steps button { padding: 6px 9px; font-size: .68rem; }
}

/* ---------- Gallery slider (all photos the same height) ---------- */
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.gslider { --pad: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.gslider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 4px var(--pad) 30px;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.gslider__track::-webkit-scrollbar { display: none; }
.gslider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gslider__track.is-dragging .gslider__item { pointer-events: none; }
.gslider__item {
  position: relative;
  flex: none;
  height: clamp(300px, 56vh, 560px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--grey-100);
  scroll-snap-align: start;
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .45);
}
.gslider__item img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--ease); user-select: none; -webkit-user-drag: none; }
.gslider__item::after {
  content: "";
  position: absolute;
  right: 14px; bottom: 14px;
  width: 38px; height: 38px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c7207' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-radius: 3px;
  transform: rotate(45deg) scale(.4);
  opacity: 0;
  transition: opacity .4s, transform .5s var(--ease);
}
.gslider__item:hover img { transform: scale(1.04); }
.gslider__item:hover::after { opacity: 1; transform: rotate(45deg) scale(1); }
.gslider__controls { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.gslider__progress { position: relative; flex: 1; height: 2px; background: var(--grey-200); margin-right: 16px; }
.gslider__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--green); transition: width .2s linear; }
.gslider__progress span::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; background: var(--green); transform: rotate(45deg); }
.gslider__arrow {
  width: 50px; height: 50px;
  flex: none;
  border: 1px solid var(--grey-300);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.1rem;
  color: var(--graphite);
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.gslider__arrow:hover { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.gslider__arrow:disabled { opacity: .35; pointer-events: none; }
@media (max-width: 760px) {
  .gslider__item { height: 62vw; max-height: 420px; min-height: 240px; }
  .gslider__arrow { width: 44px; height: 44px; }
  .gallery__head { flex-direction: column; align-items: start; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  animation: fadeIn .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1300px); max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox button {
  position: absolute;
  width: 52px; height: 52px;
  border: 1px solid var(--grey-300);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--graphite);
  transition: background .3s, color .3s;
}
.lightbox button:hover { background: var(--graphite); color: var(--white); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__nav { top: auto !important; bottom: 20px; transform: none !important; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Process ---------- */
.process { background: var(--graphite); color: var(--white); overflow: hidden; }
.process h2, .process h3 { color: var(--white); }
.process .eyebrow { color: #bfc1bb; }
.process::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, transparent calc(50% - .5px), rgba(255,255,255,.06) calc(50% - .5px), rgba(255,255,255,.06) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(-45deg, transparent calc(50% - .5px), rgba(255,255,255,.06) calc(50% - .5px), rgba(255,255,255,.06) calc(50% + .5px), transparent calc(50% + .5px));
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: s;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), rgba(255, 255, 255, .15));
}
.step { position: relative; padding-right: 12px; }
.step__num {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 30px;
  font: 600 1.1rem var(--font-head);
  color: var(--white);
}
.step__num::before {
  content: "";
  position: absolute; inset: 6px;
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, .3);
  transform: rotate(45deg);
  z-index: -1;
  transition: background .4s, border-color .4s;
}
.step__num { z-index: 0; }
.step:hover .step__num::before, .step:first-child .step__num::before { background: var(--green); border-color: var(--green); }
.step h3 { margin-bottom: 12px; font-size: 1.2rem; }
.step p { color: #bfc1bb; font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Area ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.area .btn { margin-top: 2rem; }
.area__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area__list li {
  padding: 12px 18px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font: 500 .95rem var(--font-head);
  color: var(--graphite);
  transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease);
}
.area__list li:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }
.area__list li.is-main { background: var(--green); border-color: var(--green); color: var(--white); }
.area__label { font: 500 .76rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500); margin: 0 0 12px; }
.area__list + .area__label { margin-top: 30px; }
@media (max-width: 900px) { .area__grid { grid-template-columns: 1fr; } }

/* ---------- Reviews (one at a time) ---------- */
.reviews { background: var(--grey-50); overflow: hidden; }
.testi {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.testi__mark {
  position: absolute;
  left: 50%; top: -0.32em;
  transform: translateX(-50%);
  font: 700 clamp(9rem, 18vw, 15rem)/1 var(--font-head);
  color: var(--green);
  opacity: .1;
  pointer-events: none;
  user-select: none;
}
.testi__viewport { position: relative; display: grid; touch-action: pan-y; }
.testi__slide {
  grid-area: 1 / 1;
  margin: 0;
  padding-top: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease), visibility 0s .9s;
}
.testi__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity .9s var(--ease) .15s, transform 1s var(--ease) .15s, filter .9s var(--ease) .15s, visibility 0s;
}
.testi__slide blockquote {
  margin: 0 0 36px;
  font: 400 clamp(1.25rem, 2.4vw, 1.85rem)/1.5 var(--font-head);
  letter-spacing: -.01em;
  color: var(--graphite);
}
.testi__slide figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testi__avatar {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  flex: none;
  background: var(--green);
  color: var(--white);
  font: 600 1.1rem var(--font-head);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.testi__slide strong { display: block; font: 600 1.05rem var(--font-head); color: var(--graphite); }
.testi__slide small { font-size: .85rem; color: var(--grey-500); }

.testi__controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 48px; }
.testi__arrow {
  width: 50px; height: 50px;
  border: 1px solid var(--grey-300);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.1rem;
  color: var(--graphite);
  transition: background .3s, color .3s, border-color .3s;
}
.testi__arrow:hover { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.testi__dots { display: flex; gap: 12px; }
.testi__dot {
  width: 11px; height: 11px;
  padding: 0;
  border: 1.5px solid var(--grey-500);
  background: transparent;
  transform: rotate(45deg);
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.testi__dot.is-active { background: var(--green); border-color: var(--green); transform: rotate(45deg) scale(1.25); }
.testi__timer { width: 140px; height: 2px; margin: 22px auto 0; background: var(--grey-200); overflow: hidden; }
.testi__timer span { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.testi.is-playing .testi__timer span { animation: testiTimer var(--testi-time, 7s) linear forwards; }
.testi.is-paused .testi__timer span { animation-play-state: paused; }
@keyframes testiTimer { to { transform: scaleX(1); } }
.reviews__more { text-align: center; margin-top: 18px; }
@media (max-width: 600px) {
  .testi__slide { padding-top: 24px; }
  .testi__controls { gap: 14px; margin-top: 36px; }
  .testi__arrow { width: 44px; height: 44px; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--grey-200); }
.faq__item { border-bottom: 1px solid var(--grey-200); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.08rem; font-weight: 500; letter-spacing: -.005em; transition: color .3s; }
.faq__item summary:hover h3 { color: var(--green); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; transform: rotate(45deg); border: 1.5px solid var(--green); transition: background .3s, transform .4s var(--ease); }
.faq__item[open] .faq__icon { background: var(--green); transform: rotate(225deg); }
.faq__item p { padding: 0 40px 24px 0; color: var(--grey-700); max-width: 44rem; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; font-size: .75rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: .12em; }
.contact__list a, .contact__list li > div > span { font: 500 1.08rem var(--font-head); color: var(--graphite); text-decoration: none; }
.contact__list a:hover { color: var(--green); }
.contact__ic {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border: 1px solid var(--grey-200);
  border-radius: 50%;
}
.contact__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form {
  padding: clamp(28px, 4vw, 52px);
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  display: grid;
  gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font: 500 .82rem var(--font-head); color: var(--graphite); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  background: var(--white);
  font: 400 1rem var(--font-body);
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(44, 114, 7, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.form__submit { justify-self: start; }
@media (max-width: 760px) { .form__submit { justify-self: center; } }
.form__status { font-size: .92rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #b3261e; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.form__note { font-size: .82rem; color: var(--grey-500); margin-top: -8px; }
.form__note a { color: var(--graphite); }
@media (max-width: 760px) { .form__note { text-align: center; } }

/* ---------- Privacy page ---------- */
.legal { padding: 140px 0 80px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.legal__updated { color: var(--grey-500); font-size: .9rem; margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--grey-700); }
.legal p + p { margin-top: .8rem; }
.legal ul { margin: .4rem 0 .8rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal li::marker { color: var(--green); }
.legal a { color: var(--green); }
.legal__back { margin-left: auto; font: 500 .92rem var(--font-head); color: var(--graphite); text-decoration: none; }
.legal__back:hover { color: var(--green); }
.legal-page .footer { padding-top: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--grey-200); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: start; }
.footer__logo { width: 180px; margin-bottom: 16px; }
.footer p { color: var(--grey-500); font-size: .92rem; max-width: 22rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer__nav a { text-decoration: none; font: 500 .95rem var(--font-head); color: var(--graphite); }
.footer__nav a:hover { color: var(--green); }
.footer__social {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--grey-300); border-radius: 50%;
  transition: background .3s, border-color .3s;
}
.footer__social svg { width: 20px; fill: none; stroke: var(--graphite); stroke-width: 1.8; stroke-linejoin: round; }
.footer__social:hover { background: var(--green); border-color: var(--green); }
.footer__social:hover svg { stroke: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--grey-100); font-size: .85rem; color: var(--grey-500); }
.footer__bottom a { color: var(--graphite); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__anim { opacity: 1; transform: none; }
}
