/* =========================================================
   RÉNOV EXPERT — feuille de styles
   Bleu marine / moutarde / blanc, inspirée des blocs du logo
   ========================================================= */

:root {
  --navy: #1B2D52;
  --navy-900: #0D1830;
  --navy-800: #13223F;
  --navy-700: #24396A;
  --mustard: #D89C34;
  --mustard-600: #B8801F;
  --mustard-200: #F1D6A0;
  --mustard-100: #FAF0DC;
  --cream: #F7F4EE;
  --white: #FFFFFF;
  --ink: #0D1830;
  --muted: #56627E;
  --line: rgba(27, 45, 82, .12);
  --line-light: rgba(255, 255, 255, .14);

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* the tilted band is wider than the viewport: clip it here so the page never scrolls sideways */
main { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
}

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

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

.ic { width: 1.15em; height: 1.15em; flex: none; }

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

.section { padding: clamp(5rem, 11vw, 9rem) 0; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 500;
  background: var(--navy);
  color: #fff;
  padding: .8rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .3s;
}
.skip-link:focus { top: 1rem; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: .7em;
  height: .7em;
  background: var(--mustard);
  flex: none;
}
.eyebrow--light { color: #fff; }

.h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  color: var(--navy-900);
  margin-bottom: 1.4rem;
}

h1 em, .h2 em, .gcta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--mustard);
  font-size: 1.1em;
  line-height: .9;
}

/* split words */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .12em;
  margin: 0 -.06em -.12em;
}
.wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--mustard);
  --btn-fg: var(--navy-900);
  --btn-hover-bg: var(--navy);
  --btn-hover-fg: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: .95em 1.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: color .45s var(--ease), border-color .45s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--btn-hover-bg);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.btn:hover { color: var(--btn-hover-fg); border-color: var(--btn-hover-bg); }
.btn:hover::before { transform: scaleY(1); }
.btn .ic { transition: transform .45s var(--ease); }
.btn:hover .ic[aria-hidden] { transform: translateX(3px); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--navy);
}
.btn--dark {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  --btn-hover-bg: #fff;
  --btn-hover-fg: var(--navy-900);
}
.btn--sm { padding: .75em 1.2em; font-size: .85rem; }
.btn--lg { padding: 1.1em 1.7em; font-size: .98rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: inherit;
  padding-bottom: .35em;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat,
              linear-gradient(var(--mustard), var(--mustard)) left bottom / 100% 2px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px, 100% 2px; }
.link-arrow .ic { transition: transform .45s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  background: var(--navy-900);
}
.js:not(.no-preload) .preloader { display: grid; }
.preloader__inner { text-align: center; }
.preloader__logo { width: min(110px, 26vw); margin: 0 auto; overflow: visible; }
.preloader__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .32em;
  color: #fff;
  margin: 1.4rem 0 0;
  padding-left: .32em;
  white-space: nowrap;
}

/* ---------- Progress + cursor ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 150;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1.5px solid var(--mustard);
  border-radius: 2px;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  background: rgba(216, 156, 52, .14);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: transform .55s var(--ease), background-color .35s, box-shadow .35s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(13, 24, 48, .35);
}
.header.is-hidden { transform: translateY(-105%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--navy);
  flex: none;
}
.brand__mark { width: 36px; height: 40px; flex: none; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: .02em;
  line-height: 1;
}
.brand__tag {
  display: block;
  margin-top: .35em;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--muted);
}
.brand--light { --logo-navy: #fff; color: #fff; }
.brand--light .brand__tag { color: rgba(255, 255, 255, .6); }

.nav ul {
  display: flex;
  gap: clamp(1.2rem, 2.2vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  display: block;
  padding: .4em 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 1.1rem; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone .ic { color: var(--mustard); }

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  padding: 0;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: #fff;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger { background: var(--mustard); }
.menu-open .burger span { background: var(--navy-900); }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .header .brand { --logo-navy: #fff; color: #fff; }
.menu-open .header .brand__tag { color: rgba(255, 255, 255, .6); }
.menu-open .header__phone { color: #fff; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .header__phone span { display: none; }
  .header__phone {
    width: 46px;
    height: 46px;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
  }
  .menu-open .header__phone { border-color: var(--line-light); }
  .brand__tag { display: none; }
  .brand__mark { width: 32px; height: 36px; }
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--navy-900);
  color: #fff;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .75s var(--ease-in-out);
}
.menu.is-open { clip-path: inset(0); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu__nav li { overflow: hidden; }
.menu__nav a {
  display: block;
  padding: .2em 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  transform: translateY(105%);
  transition: transform .8s var(--ease), color .3s;
  transition-delay: calc(.15s + var(--i) * .05s);
}
.menu.is-open .menu__nav a { transform: none; }
.menu__nav a:hover { color: var(--mustard); }
.menu__foot { display: grid; gap: .8rem; opacity: 0; transition: opacity .6s .45s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}
.menu__foot .ic { color: var(--mustard); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(2rem, 5vh, 4rem)) 0 clamp(4.5rem, 10vh, 7rem);
  background: var(--cream);
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 45%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__title { margin: 0; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin-bottom: 1.6rem;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--navy);
}
.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--mustard);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--mustard);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hero__headline {
  display: block;
  font-size: clamp(2.75rem, 6.3vw, 5.9rem);
  font-weight: 800;
  letter-spacing: -.048em;
  line-height: .98;
  color: var(--navy-900);
}
.hero__headline em { font-size: 1.12em; }
.hero__lead {
  max-width: 33em;
  margin: 1.8rem 0 2.2rem;
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  color: var(--muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem clamp(1.8rem, 3.5vw, 3.2rem);
  list-style: none;
  margin: 2.8rem 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--line);
}
.hero__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--navy);
}
.hero__facts li > span { display: block; margin-top: .4rem; font-size: .84rem; color: var(--muted); }

.hero__visual { position: relative; }

/* Mosaic: the logo blocks, recomposed */
.mosaic {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  aspect-ratio: 637 / 715;
}
.tile { position: absolute; will-change: transform; }
.tile__shape {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.tile__shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.tile--house { left: 0; top: 0; width: 47.41%; height: 53.85%; }
.tile--house .tile__shape {
  background: var(--navy);
  clip-path: polygon(0% 100%, 0% 60.52%, 28.81% 43.38%, 28.81% 8.31%, 56.95% 8.31%, 56.95% 25.97%, 100% 0%, 100% 100%, 71.19% 100%, 71.19% 72.73%, 47.02% 72.73%, 47.02% 100%);
}
.tile--house .tile__shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 45, 82, 0) 35%, rgba(27, 45, 82, .55));
}
.tile--a { left: 52.28%; top: 0; width: 20.88%; height: 31.47%; }
.tile--a .tile__shape { background: var(--mustard); clip-path: polygon(0 0, 100% 45.33%, 100% 100%, 0 100%); }
.tile--b { left: 52.28%; top: 35.94%; width: 20.88%; height: 17.90%; }
.tile--b .tile__shape { background: var(--mustard); }
.tile--c { left: 77.71%; top: 17.48%; width: 22.29%; height: 36.36%; }
.tile--c .tile__shape { background: var(--mustard); clip-path: polygon(0 0, 100% 41.54%, 100% 100%, 0 100%); }
.tile--d { left: 0; top: 57.90%; width: 47.41%; height: 42.10%; }
.tile--d .tile__shape { background: var(--mustard); }
.tile--e { left: 52.28%; top: 57.90%; width: 47.72%; height: 18.04%; }
.tile--e .tile__shape { background: var(--navy); display: flex; align-items: center; padding: 0 8%; }
.tile--f { left: 52.28%; top: 80.14%; width: 20.88%; height: 19.86%; }
.tile--f .tile__shape { background: var(--navy); display: grid; place-items: center; }
.tile--g { left: 77.71%; top: 80.14%; width: 22.29%; height: 19.86%; }
.tile--g .tile__shape { background: var(--mustard); }

.tile__label {
  display: flex;
  align-items: center;
  gap: .7em;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.68rem, 1.25vw, .98rem);
  line-height: 1.2;
}
.tile__label .ic { width: 1.6em; height: 1.6em; color: var(--mustard); }
.tile__label small {
  display: block;
  font-size: .72em;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .2em;
}
.badge { width: 82%; height: 82%; animation: spin 16s linear infinite; }
.badge text {
  font-family: var(--font-display);
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: .06em;
  fill: #fff;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__float {
  position: absolute;
  left: max(-4%, -2rem);
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.2rem .9rem .9rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -20px rgba(13, 24, 48, .45);
  font-size: .85rem;
  line-height: 1.3;
  color: var(--muted);
  animation: float 5s ease-in-out infinite;
}
.hero__float strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: .95rem; }
.hero__float-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--mustard);
  color: var(--navy-900);
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 3.4rem;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  opacity: .5;
  transition: opacity .3s;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--mustard);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .hero__float { left: 0; bottom: 4%; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hero__facts strong { font-size: 1.55rem; }
  .hero__facts li > span { font-size: .76rem; line-height: 1.35; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
  .hero__float { position: relative; left: auto; bottom: auto; margin: 1.4rem auto 0; width: max-content; animation: none; }
}

/* ---------- Band ---------- */
.band {
  position: relative;
  z-index: 2;
  margin-top: -2.2rem;
  padding: 1.25rem 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  transform: rotate(-1.6deg) scale(1.03);
  box-shadow: 0 20px 40px -24px rgba(13, 24, 48, .6);
}
.band__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.band__group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.band span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.3vw, 1.9rem);
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band .o { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .75); }
.band i { width: .62rem; height: .62rem; flex: none; background: var(--mustard); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__statement {
  max-width: 23em;
  margin: 0 0 clamp(4rem, 9vw, 7.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.3vw, 2.85rem);
  letter-spacing: -.028em;
  line-height: 1.2;
  color: var(--navy-900);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about__media { position: relative; aspect-ratio: 1 / 1.12; }
.img-reveal { position: absolute; overflow: hidden; background: var(--mustard); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.about__img1 { left: 0; top: 0; width: 72%; height: 80%; }
.about__img2 { right: 0; bottom: 0; width: 52%; height: 50%; outline: 10px solid #fff; }
.about__badge {
  position: absolute;
  left: 7%;
  bottom: 3%;
  padding: 1.1rem 1.4rem 1.2rem;
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  font-size: .8rem;
  line-height: 1.35;
  border-top: 5px solid var(--mustard);
}
.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  margin: .1rem 0 .15rem;
}
.about__text > p { color: var(--muted); max-width: 34em; }
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 2rem;
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 2.4rem 0 0;
  border-top: 1px solid var(--line);
}
.values li { display: flex; gap: 1rem; align-items: flex-start; }
.values__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  background: var(--mustard-100);
  color: var(--navy);
  transition: background-color .4s, color .4s;
}
.values li:hover .values__icon { background: var(--navy); color: var(--mustard); }
.values h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; margin: .15rem 0 .35rem; color: var(--navy-900); }
.values p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .about__img2 { outline-width: 6px; }
}

/* ---------- Services ---------- */
.services { background: var(--cream); }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-head .h2 { margin: 0; }
.section-head__lead { margin: 0; justify-self: end; max-width: 30em; color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.5rem); }
.scard {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem + var(--i) * 14px);
}
.scard__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: min(72vh, 600px);
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -34px rgba(13, 24, 48, .45);
  transform-origin: 50% 0;
}
.scard__content {
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 4vw, 3.6rem);
}
.scard__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 6.5vw, 5.8rem);
  letter-spacing: -.04em;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--mustard);
  margin-bottom: auto;
}
.scard h3 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  letter-spacing: -.032em;
  margin: 2.2rem 0 1rem;
}
.scard p { color: var(--muted); max-width: 33em; margin: 0; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
}
.tags li {
  padding: .45em .85em;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.scard__media { position: relative; overflow: hidden; }
.scard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}
.scard:hover .scard__media img { transform: scale(1); }
.scard__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--navy-900);
  opacity: 0;
  pointer-events: none;
}

.scard--navy .scard__inner { background: var(--navy); color: #fff; }
.scard--navy p { color: rgba(255, 255, 255, .72); }
.scard--navy .tags li { border-color: var(--line-light); }

.scard--mustard .scard__inner { background: var(--mustard); color: var(--navy-900); }
.scard--mustard p { color: rgba(13, 24, 48, .8); }
.scard--mustard .scard__num { -webkit-text-stroke-color: var(--navy-900); }
.scard--mustard .tags li { border-color: rgba(13, 24, 48, .25); }
.scard--mustard .link-arrow {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat,
              linear-gradient(var(--navy-900), var(--navy-900)) left bottom / 100% 2px no-repeat;
}

/* Real job photo badge */
.scard__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: .45em .85em;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy-900);
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 10px 24px -12px rgba(13, 24, 48, .6);
  pointer-events: none;
}

/* Before / after comparison (drag the handle) */
.ba { --pos: 50%; user-select: none; }
.scard .ba img, .scard:hover .ba img { transform: none; }
.ba__before {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__tag {
  position: absolute;
  top: 1rem;
  z-index: 2;
  padding: .4em .8em;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(13, 24, 48, .8);
  border-radius: 3px;
  pointer-events: none;
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; color: var(--navy-900); background: var(--mustard); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(13, 24, 48, .35);
  pointer-events: none;
}
.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: var(--mustard);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px -8px rgba(13, 24, 48, .6);
  transition: transform .3s var(--ease);
}
.ba__handle span::before, .ba__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -6px;
  border: 6px solid transparent;
}
.ba__handle span::before { left: 4px; border-right-color: var(--navy-900); }
.ba__handle span::after { right: 4px; border-left-color: var(--navy-900); }
.ba:hover .ba__handle span { transform: scale(1.08); }
.ba:focus-within .ba__handle span { outline: 3px solid #fff; outline-offset: 3px; }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}

/* Main "after" photo with the "before" shot inset */
.ba-inset__before {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  width: 34%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 4px;
  box-shadow: 0 18px 40px -16px rgba(13, 24, 48, .65);
}
.scard .ba-inset__before img, .scard:hover .ba-inset__before img { transform: none; }
.ba-inset__before .ba__tag { top: .5rem; left: .5rem; font-size: .62rem; }
.ba-inset .scard__badge { left: auto; right: 1rem; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head__lead { justify-self: start; }
  .scard { position: relative; top: auto; }
  .scard__inner { grid-template-columns: 1fr; min-height: 0; }
  .scard__media { order: -1; aspect-ratio: 16 / 10; }
  .scard__num { font-size: 3rem; margin-bottom: 0; }
  .scard h3 { margin-top: 1.2rem; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--navy-900); color: #fff; overflow: hidden; }
.gallery .h2 { color: #fff; margin: 0; }
.gallery__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
}
.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem 4rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.gallery__intro { max-width: 30em; margin: 0; color: rgba(255, 255, 255, .7); }
.gallery__track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter);
}
.gitem { flex: none; height: clamp(300px, 52vh, 540px); }
.gitem figure { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius); }
.gitem--t { aspect-ratio: 3 / 4; }
.gitem--w { aspect-ratio: 4 / 3; }
.gitem--s { aspect-ratio: 1; }
.gitem--cta { aspect-ratio: 3 / 4; }
.gitem--pair { aspect-ratio: 3 / 2; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 100%; }
.pair__img { position: relative; overflow: hidden; }
.pair__img b {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .4em .8em;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(13, 24, 48, .8);
  border-radius: 3px;
}
.pair__img + .pair__img b { color: var(--navy-900); background: var(--mustard); }
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: filter .6s;
}
.gitem figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 1.4rem 1.3rem;
  background: linear-gradient(transparent, rgba(13, 24, 48, .88));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}
.gitem figcaption span {
  display: block;
  margin-bottom: .35rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mustard);
}
.gcta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--mustard);
  color: var(--navy-900);
  border-radius: var(--radius);
}
.gcta__mark { width: 64px; height: 72px; --logo-navy: var(--navy-900); --logo-mustard: #fff; }
.gcta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.gcta .btn { align-self: flex-start; }
.gallery__progress {
  height: 2px;
  margin-top: 2rem;
  background: var(--line-light);
  overflow: hidden;
}
.gallery__progress span {
  display: block;
  height: 100%;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 899px) {
  .gallery__pin { min-height: 0; padding: clamp(5rem, 11vw, 7rem) 0; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .gallery__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gallery__viewport::-webkit-scrollbar { display: none; }
  .gitem { height: 380px; scroll-snap-align: center; }
  .gitem img { transform: none; }
  .gallery__progress { display: none; }
}

/* ---------- Method ---------- */
.method__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}
.method__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
.method__intro > p:not(.eyebrow) { color: var(--muted); max-width: 28em; margin-bottom: 2rem; }
.steps {
  --pad: clamp(4rem, 6vw, 5.5rem);
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--pad);
}
.steps__line {
  position: absolute;
  left: 22px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}
.steps__line span {
  position: absolute;
  inset: 0;
  background: var(--mustard);
  transform-origin: top;
}
.js .steps__line span { transform: scaleY(0); }
.step { position: relative; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: absolute;
  left: calc(-1 * var(--pad));
  top: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 2px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  color: var(--navy);
  transition: background-color .5s, border-color .5s, color .5s;
}
.step.is-active .step__num, html:not(.js) .step__num {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--navy-900);
}
.step h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.025em; margin: .55rem 0 .8rem; color: var(--navy-900); }
.step p { margin: 0; max-width: 34em; color: var(--muted); }

@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__intro { position: static; }
}

/* ---------- Zone ---------- */
.zone { background: var(--cream); }
.zone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.zone__text > p:not(.eyebrow) { color: var(--muted); max-width: 32em; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}
.chips li {
  padding: .45em .85em;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: default;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chips li:hover, .chips li.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips li.is-hq { background: var(--mustard); border-color: var(--mustard); color: var(--navy-900); }
.zone__note { font-size: .95rem; }
.zone__note a { color: var(--navy); font-weight: 600; }

.zone__map { position: relative; max-width: 580px; width: 100%; margin-inline: auto; }
.zone__map svg { width: 100%; height: auto; overflow: visible; }
.map-grid path { stroke: rgba(255, 255, 255, .07); stroke-width: .2; fill: none; }
.ring { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: .22; stroke-dasharray: .8 .8; }
.ring--outer { stroke: var(--mustard); stroke-width: .35; stroke-dasharray: none; }
.ring-label { font-family: var(--font-display); font-size: 1.9px; font-weight: 600; fill: rgba(255, 255, 255, .45); letter-spacing: .08em; }
.sea-label { font-family: var(--font-serif); font-style: italic; font-size: 3.2px; fill: rgba(255, 255, 255, .3); }
.sweep { animation: spin 9s linear infinite; }

.town circle { fill: #fff; transition: fill .3s; }
.town text {
  font-family: var(--font-body);
  font-size: 2.4px;
  font-weight: 500;
  fill: rgba(255, 255, 255, .85);
  transition: opacity .3s, fill .3s;
  pointer-events: none;
}
.town { cursor: default; }
.town--minor circle { fill: rgba(255, 255, 255, .6); }
.town--minor text { opacity: 0; }
.town.is-active circle { fill: var(--mustard); }
.town.is-active text { opacity: 1; fill: var(--mustard); font-weight: 600; }
.town--hq rect { fill: var(--mustard); }
.town--hq text { font-family: var(--font-display); font-size: 3.1px; font-weight: 800; fill: #fff; }
.hq-pulse { fill: none !important; stroke: var(--mustard); stroke-width: .35; transform-box: fill-box; transform-origin: center; animation: hq 2.4s var(--ease) infinite; }
@keyframes hq {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(4.5); opacity: 0; }
}

@media (max-width: 900px) {
  .zone__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .town text { font-size: 3.4px; }
  .town--hq text { font-size: 4px; }
  .town--md text { opacity: 0; }
  .town--md.is-active text { opacity: 1; }
  .ring-label { font-size: 2.6px; }
  .sea-label { font-size: 4px; }
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.faq__intro > p:not(.eyebrow) { color: var(--muted); }
.faq__intro a { color: var(--navy); font-weight: 700; white-space: nowrap; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.55rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--navy-900);
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy-700); }
.faq__icon {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1.5px solid var(--line);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--navy);
  transition: transform .5s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--mustard); border-color: var(--mustard); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0 0 1.6rem; max-width: 44em; color: var(--muted); }

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.contact__deco {
  position: absolute;
  right: -8%;
  top: -12%;
  width: min(60vw, 720px);
  opacity: .06;
  pointer-events: none;
  --logo-navy: #fff;
  --logo-mustard: #fff;
}
.contact__deco svg { width: 100%; aspect-ratio: 637 / 715; height: auto; }
.contact .h2 { color: #fff; }
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact__lead { color: rgba(255, 255, 255, .72); max-width: 30em; }
.contact__list { display: grid; gap: .8rem; list-style: none; margin: 2.4rem 0 0; padding: 0; }
.contact__list a, .contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.1rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color .35s, background-color .35s;
}
.contact__list a:hover { border-color: var(--mustard); background: rgba(255, 255, 255, .04); }
.contact__list small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.contact__list a > span:last-child, .contact__row > span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  word-break: break-word;
}
.ci {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--mustard);
  color: var(--navy-900);
}

.form {
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  background: #fff;
  color: var(--ink);
  border-top: 6px solid var(--mustard);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
.form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.025em;
  color: var(--navy-900);
  margin: 0 0 1.5rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { position: relative; margin-bottom: 1rem; }
.field input, .field textarea {
  display: block;
  width: 100%;
  padding: 1.5rem 1rem .55rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 3px;
  outline: none;
  transition: border-color .25s, background-color .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field label {
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  font-size: .95rem;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-.62rem) scale(.76);
  color: var(--navy);
  font-weight: 600;
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; background: #FFF6F5; }

.field-chips { border: 0; margin: .3rem 0 1.1rem; padding: 0; }
.field-chips legend {
  padding: 0;
  margin-bottom: .7rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.chip-check { position: relative; display: inline-flex; margin: 0 .35rem .45rem 0; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span {
  padding: .5em .95em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip-check span:hover { border-color: var(--navy); }
.chip-check input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: .3rem 0 1.4rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; flex: none; margin: .1rem 0 0; accent-color: var(--navy); }
.consent a { color: var(--navy); }
.consent.is-invalid { color: #B3261E; }
.form__hint { margin: 1rem 0 0; font-size: .88rem; text-align: center; color: var(--muted); }
.form__hint a { color: var(--navy); font-weight: 700; }
.form__status:empty { display: none; }
.form__status { margin-top: 1rem; padding: .9rem 1rem; font-size: .9rem; font-weight: 500; line-height: 1.5; border-radius: 3px; }
.form__status.is-error { color: #8C1D18; background: #FCEDEB; }
.form__status.is-success { color: #14532D; background: #E9F6EE; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom));
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  overflow: hidden;
}
.footer__big {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 10.4vw, 10.5rem);
  letter-spacing: -.04em;
  line-height: .8;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  user-select: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}
.footer__brand p { margin: 1.4rem 0 0; max-width: 24em; }
.footer__h {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .3s; word-break: break-word; }
.footer a:hover { color: var(--mustard); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
}
.footer__bottom p { margin: 0; }
.footer .sep { margin: 0 .7rem; opacity: .5; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  grid-template-columns: auto 1fr;
  gap: .5rem;
  transform: translateY(160%);
  transition: transform .6s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  height: 54px;
  padding: 0 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -12px rgba(13, 24, 48, .55);
}
.mobile-cta__call { background: var(--navy); color: #fff; }
.mobile-cta__call .ic { color: var(--mustard); }
.mobile-cta__quote { background: var(--mustard); color: var(--navy-900); }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

/* ---------- Legal page ---------- */
.legal { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(4rem, 9vw, 7rem); background: var(--cream); }
.legal__inner { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.04em; color: var(--navy-900); margin-bottom: 1rem; }
.legal__intro { color: var(--muted); margin-bottom: 3rem; }
.legal h2 {
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--navy-900);
  margin: 2.8rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: #2F3A55; }
.legal ul { padding-left: 1.2rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.legal dt { font-weight: 600; color: var(--navy-900); }
.legal dd { margin: 0; color: #2F3A55; }
.legal a { color: var(--navy); font-weight: 600; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem; } .legal dd { margin-bottom: .7rem; } }

.notfound {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  background: var(--cream);
  text-align: center;
}
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 14rem);
  letter-spacing: -.06em;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 2px var(--mustard);
  margin: 0;
}
.notfound h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-900); margin: 1.5rem 0 1rem; }
.notfound p { color: var(--muted); margin-bottom: 2rem; }

/* ---------- Animation initial states (only when JS animations are active) ---------- */
.js [data-split] { visibility: hidden; }
.js [data-hero-fade] { opacity: 0; transform: translateY(26px); }
.js .mosaic .tile { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js .img-reveal { clip-path: inset(0 100% 0 0); }
.js .img-reveal img { clip-path: inset(0 100% 0 0); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
