/* Clinique Entre-Nous: shared site styles (brand-guideline tokens) */
:root {
  --sky: #BBD3EA;
  --sky-soft: #E3EDF7;
  --ice: #F5F9FD;
  --navy: #003C71;
  --navy-ink: #002B52;
  --blue: #1E73BE;
  --blue-deep: #3B5998;
  --body: #3F4F60;
  --border: #D3E0EE;
  --white: #FFFFFF;
  --on-dark: rgba(245, 249, 253, 0.78);
  --line-dark: rgba(245, 249, 253, 0.18);

  --sans: "BDO Grotesk", "Instrument Sans", Arial, sans-serif;
  --serif: "Libre Caslon Condensed", Georgia, serif;

  --r: 12px;
  --r-lg: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1220px;
  --gut: clamp(16px, 3vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ice); color: var(--body);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: 1460px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--ice); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.lede { font-size: 19px; line-height: 1.55; max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px; border: 0; cursor: pointer;
  background: var(--blue); color: var(--white); font: 500 16px/1 var(--sans);
  padding: 6px 6px 6px 22px; border-radius: 999px; transition: background-color .2s;
}
.btn .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center; transition: transform .3s var(--ease); }
.btn .dot svg { width: 15px; height: 15px; }
.btn:hover { background: var(--blue-deep); }
.btn:hover .dot { transform: translateX(3px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r);
  background: var(--white); color: var(--navy); border: 1px solid var(--border); font: 500 16px/1 var(--sans);
}
.btn-ghost svg { width: 18px; height: 18px; color: var(--blue); }
.btn-ghost:hover { border-color: var(--blue-deep); }
.on-dark .btn-ghost { background: transparent; color: var(--ice); border-color: var(--line-dark); }
.on-dark .btn-ghost svg { color: var(--sky); }
.on-dark .btn-ghost:hover { border-color: var(--sky); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ice); transition: background-color .3s, color .3s, box-shadow .3s; }
.site-header.solid { background: rgba(245, 249, 253, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--navy); box-shadow: 0 1px 0 var(--border); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand img { width: 168px; height: auto; }
.brand { position: relative; display: block; }
.brand .on-light-logo { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.brand .on-dark-logo { transition: opacity .3s; }
.site-header.solid .brand .on-light-logo, body.menu-open .brand .on-light-logo { opacity: 1; }
.site-header.solid .brand .on-dark-logo, body.menu-open .brand .on-dark-logo { opacity: 0; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 15px; border-radius: 999px; }
.menu > li > a:hover { color: var(--sky); }
.site-header.solid .menu > li > a:hover { color: var(--blue); }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; margin: 0; padding: 10px; list-style: none;
  background: var(--white); color: var(--navy); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: 0 24px 48px -20px rgba(0, 43, 82, .28);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub::after { content: ""; position: absolute; inset: 100% 0 auto; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub .grp { padding: 10px 12px 4px; font-size: 13px; color: var(--blue-deep); }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.sub a:hover { background: var(--sky-soft); }
.nav-tel { font-size: 15px; white-space: nowrap; }
.nav-tel b { font-weight: 500; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: var(--white); cursor: pointer; place-items: center; }
.burger svg { width: 18px; height: 18px; }
.burger .x, .burger[aria-expanded="true"] .bars { display: none; }
.burger[aria-expanded="true"] .x { display: block; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ice); background: var(--navy); min-height: min(100svh, 940px); display: flex; align-items: flex-end; padding: 150px 0 clamp(36px, 5vw, 64px); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; filter: saturate(1.1) contrast(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(0, 43, 82, .88) 0%, rgba(0, 60, 113, .68) 34%, rgba(0, 60, 113, .1) 60%, rgba(0, 60, 113, 0) 72%),
  linear-gradient(180deg, rgba(0, 43, 82, .5) 0%, rgba(0, 43, 82, 0) 20%, rgba(0, 43, 82, 0) 70%, rgba(0, 43, 82, .55) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--sky); }
.hero-kicker svg { width: 16px; height: 16px; }
.hero h1 { margin-top: 20px; color: var(--ice); font-size: clamp(44px, 6vw, 80px); line-height: .96; letter-spacing: -0.04em; }
.hero h1 .serif { color: var(--sky); }
.hero .lede { margin-top: 26px; color: var(--on-dark); max-width: 30em; }
.hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ice); }
.hero-points svg { width: 18px; height: 18px; flex: none; color: var(--sky); }
.form-intro { margin-top: -8px; font-size: 15px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.voice {
  margin: 0; justify-self: end; width: 100%; max-width: 400px; color: var(--ice);
  background: rgba(0, 43, 82, .38); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 22px;
}
.faces { display: flex; align-items: center; gap: 14px; }
.faces ul { display: flex; list-style: none; margin: 0; padding: 0; }
.faces li + li { margin-left: -10px; }
.faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy); background: var(--sky); }
.faces p { font-size: 14px; line-height: 1.35; color: var(--on-dark); }
.faces p b { display: block; color: var(--ice); font-weight: 500; font-size: 15px; }
.voice blockquote { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark); font: italic 400 23px/1.25 var(--serif); }
.voice figcaption { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark); }
.stars { display: inline-flex; gap: 2px; color: var(--sky); }
.stars svg { width: 13px; height: 13px; }

/* Institutional proof bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--border); }
.trustbar .wrap-wide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 26px; }
.trustbar p { font-size: 15px; line-height: 1.4; color: var(--navy); }
.trustbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trustbar li img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .25s, opacity .25s; }
.trustbar li img.tall { height: 58px; }
.trustbar li:hover img { filter: none; opacity: 1; }

/* Sections */
.sec { padding-block: clamp(80px, 10vw, 150px); }
.sec-tight { padding-block: clamp(64px, 7vw, 104px); }
.label { display: block; margin-bottom: 18px; font-size: 15px; color: var(--blue-deep); }
.on-dark .label { color: var(--sky); }

/* Mission */
.mission-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.mission h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.asks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.asks li { padding: 20px 0; border-bottom: 1px solid var(--border); color: var(--navy); font-size: 19px; line-height: 1.4; }
.mission-grid .lede { margin-top: 28px; }

/* Services index */
.svc { background: var(--white); }
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.svc-head p { max-width: 30em; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.svc-col h3 { font-size: 15px; color: var(--blue-deep); letter-spacing: 0; padding-bottom: 14px; border-bottom: 1px solid var(--navy); }
.svc-col ul { list-style: none; margin: 0; padding: 0; }
.svc-col li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); color: var(--navy); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.015em; }
.svc-col li a svg { width: 16px; height: 16px; flex: none; color: var(--blue); transition: transform .3s var(--ease); }
.svc-col li a:hover { color: var(--blue); }
.svc-col li a:hover svg { transform: translateX(4px); }
.svc-note { margin-top: 18px; font-size: 15px; }

/* Spotlight (stimulation) */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--sky-soft); border-radius: var(--r-lg); overflow: hidden; }
.spot-media { position: relative; min-height: 420px; }
.spot-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.spot-body { padding: clamp(32px, 5vw, 72px); display: grid; gap: 22px; align-content: center; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 4px 0 0; border-top: 1px solid rgba(0, 60, 113, .18); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-size: 13px; color: var(--blue-deep); }
.facts dd { margin: 4px 0 0; color: var(--navy); font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.goals { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.goals li { break-inside: avoid; display: flex; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.45; color: var(--navy); }
.goals svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue); }
.fine { font-size: 13px; color: var(--body); }

/* Team */
.team-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.team-head p { max-width: 32em; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--sky-soft); }
.person h3 { margin-top: 16px; font-size: 19px; }
.person p { margin-top: 2px; font-size: 15px; }
.person blockquote { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.team-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; padding-top: 24px; border-top: 1px solid var(--border); font-size: 15px; }
.team-more b { color: var(--navy); font-weight: 500; }
.albus { color: var(--navy); }

/* Voices (reviews) */
.voices { background: var(--navy); color: var(--ice); }
.voices h2 { color: var(--ice); }
.voices-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.quotes { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3vw, 48px); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.quote blockquote { margin: 0; font: italic 400 clamp(24px, 2.2vw, 32px)/1.2 var(--serif); color: var(--ice); }
.quote:first-child blockquote { font-size: clamp(30px, 3vw, 44px); }
.quote .tr { font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark); }
.quote figcaption b { color: var(--ice); font-weight: 500; }
.g { width: 18px; height: 18px; flex: none; }
.voices .more { display: flex; flex-wrap: wrap; gap: 12px 20px; }

/* Where */
.where { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.where article { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; }
.where svg { width: 28px; height: 28px; color: var(--blue); }
.where p { font-size: 16px; }

/* Contact */
.contact { background: var(--sky-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.reach { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(0, 60, 113, .16); }
.reach li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0, 60, 113, .16); }
.reach .k { font-size: 14px; color: var(--blue-deep); padding-top: 3px; }
.reach .v { color: var(--navy); font-size: 18px; line-height: 1.45; }
.reach .v a { border-bottom: 1px solid var(--border); }
.reach .v a:hover { border-color: var(--blue); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(0, 60, 113, .2); color: var(--navy); }
.socials a:hover { border-color: var(--blue); color: var(--blue); }
.socials svg { width: 16px; height: 16px; }
.map { margin-top: 24px; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--navy); font-size: 14px; }
.form { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; }
.form h3 { font-size: 26px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--navy); }
.field label span { color: var(--body); }
.field input, .field textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--navy); background: var(--ice); border: 1px solid var(--border); border-radius: 6px; padding: 13px 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue-deep); outline-offset: 0; border-color: transparent; }
.field.err input { border-color: #B3261E; }
.field .msg { font-size: 13px; color: #B3261E; display: none; }
.field.err .msg { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-status { font-size: 14px; color: var(--navy); }

/* Footer */
.foot { background: var(--navy-ink); color: var(--on-dark); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { width: 190px; }
.foot h4 { margin: 0 0 14px; color: var(--ice); font-weight: 500; font-size: 15px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--ice); }
.foot .intro { margin-top: 18px; max-width: 26em; }
.foot .base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.foot .socials a { border-color: var(--line-dark); color: var(--ice); }

/* Sticky mobile call */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; gap: 8px; transform: translateY(140%); transition: transform .4s var(--ease); }
.sticky.show { transform: none; }
.sticky a { flex: 1; justify-content: center; }

/* Coming-soon dialog */
dialog.soon { border: 0; border-radius: var(--r-lg); padding: 32px; max-width: 420px; width: calc(100% - 32px); color: var(--body); }
dialog.soon::backdrop { background: rgba(0, 43, 82, .5); }
dialog.soon h3 { margin-bottom: 10px; }
dialog.soon .acts { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Motion ----------
   Load: a short navy curtain with the logo lifts once per visit, then the hero assembles
   (headline lines rise out of a mask, photo settles). Scroll: content arrives as you reach it,
   each kind in its own way (rules draw, photos wipe open, lists stagger). The hero photo drifts
   slower than the page. Everything is skipped with prefers-reduced-motion. */
.loader { display: none; }
.hero h1 .ln { display: block; overflow: hidden; padding: .04em 0 .2em; margin: -.04em 0 -.2em; }
.hero h1 .ln > span { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* Loader: logo and a progress line while the hero photo loads, then the panel lifts */
  html.motion .loader {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--navy-ink); pointer-events: none;
  }
  html.motion.ready .loader { animation: lift 1s cubic-bezier(.76, 0, .24, 1) .25s forwards; }
  .loader-in { display: grid; justify-items: center; gap: 28px; }
  .loader img { width: min(300px, 64vw); height: auto; animation: logoIn .9s var(--ease) both; }
  html.motion.ready .loader-in { animation: logoOut .8s var(--ease) .2s forwards; }
  .loader .bar { position: relative; width: 160px; height: 2px; border-radius: 2px; background: rgba(187, 211, 234, .2); overflow: hidden; }
  .loader .bar i { position: absolute; inset: 0; background: var(--sky); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s ease-out; }
  @keyframes lift { to { clip-path: inset(0 0 100% 0); } }
  @keyframes logoIn { from { opacity: 0; transform: translateY(12px); } }
  @keyframes logoOut { to { opacity: 0; transform: translateY(-18px); } }
  html.motion.loading { overflow: hidden; }

  /* Hero assembly, started when the loader lifts */
  html.motion { --in: .7s; }
  html.motion.loading .site-header, html.motion.loading .hero-grid, html.motion.loading .hero-photo img { visibility: hidden; }
  html.motion.ready .site-header { animation: dropIn .9s var(--ease) calc(var(--in) + .5s) backwards; }
  html.motion.ready .hero-photo img { animation: settle 2.6s var(--ease) calc(var(--in) - .3s) both; }
  html.motion.ready .hero h1 .ln > span { animation: lineUp 1.1s var(--ease) both; animation-delay: calc(var(--in) + .1s + var(--l, 0) * .11s); }
  html.motion.ready .hero [data-in] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--in) + .35s + var(--d, 0) * .1s); }
  @keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
  @keyframes lineUp { from { transform: translateY(108%); } to { transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes dropIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

  /* Scroll-linked: photo drifts, hero copy eases away (values set in JS) */
  html.motion .hero-photo { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
  html.motion .hero-grid { opacity: var(--ho, 1); transform: translate3d(0, var(--hy, 0px), 0); }

  /* Header steps aside while reading down, returns on the way up */
  html.motion .site-header { transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
  html.motion .site-header.away { transform: translateY(-100%); }

  /* Reveal on scroll */
  html.motion [data-reveal] { --dur: .9s; }
  html.motion [data-reveal="up"]:not(.in) { opacity: 0; transform: translateY(28px); }
  html.motion [data-reveal="up"] { transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }

  html.motion [data-reveal="stagger"] > * { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  html.motion [data-reveal="stagger"]:not(.in) > * { opacity: 0; transform: translateY(22px); }

  html.motion [data-reveal="rules"] li { position: relative; border-bottom-color: transparent; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
  html.motion [data-reveal="rules"] li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--border); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  html.motion [data-reveal="rules"]:not(.in) li { opacity: 0; transform: translateX(-12px); }
  html.motion [data-reveal="rules"]:not(.in) li::after { transform: scaleX(0); }
  html.motion .asks[data-reveal="rules"] { border-top-color: transparent; }
  html.motion .svc-col[data-reveal="rules"] h3 { border-bottom-color: transparent; position: relative; }
  html.motion .svc-col[data-reveal="rules"] h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy); transform-origin: left; transition: transform 1.2s var(--ease); }
  html.motion .svc-col[data-reveal="rules"]:not(.in) h3::after { transform: scaleX(0); }

  html.motion [data-reveal="wipe"] { overflow: hidden; }
  html.motion [data-reveal="wipe"] img { transition: clip-path 1.3s cubic-bezier(.76, 0, .24, 1), transform 1.8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
  html.motion [data-reveal="wipe"]:not(.in) img { clip-path: inset(100% 0 0 0); transform: scale(1.14); }
  html.motion .team[data-reveal="stagger"] .person img { transition: clip-path 1.2s cubic-bezier(.76, 0, .24, 1), transform 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
  html.motion .team[data-reveal="stagger"]:not(.in) .person img { clip-path: inset(100% 0 0 0 round var(--r)); transform: scale(1.1); }
  html.motion .team[data-reveal="stagger"].in .person img { clip-path: inset(0 0 0 0 round var(--r)); }

  html.motion .quote blockquote { transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 160ms + .1s); }
  html.motion .quotes:not(.in) .quote blockquote { opacity: 0; filter: blur(6px); transform: translateY(16px); }

}

/* Locked-page dialog */
dialog.soon[open] { animation: pop .35s var(--ease); }
dialog.soon[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.lock { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--blue-deep); margin-bottom: 16px; }
.lock svg { width: 20px; height: 20px; }
dialog.soon .page-name { display: inline-block; margin: 2px 0 12px; padding: 4px 10px; border-radius: 8px; background: var(--ice); border: 1px solid var(--border); color: var(--navy); font-size: 14px; }

/* Responsive */
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu, .nav-tel, .nav-cta { display: none; }
  .burger { display: grid; }
  .menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: 80px 0 0; margin: 0; padding: 16px var(--gut) 40px; overflow: auto;
    background: var(--ice); color: var(--navy);
  }
  .menu.open > li > a, .menu.open > li > a:hover { display: flex; color: var(--navy); }
  .menu.open > li > a { font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--border); border-radius: 0; justify-content: space-between; }
  .menu.open .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 12px; min-width: 0; display: none; background: none; }
  .menu.open .has-sub.open .sub { display: block; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--ice); color: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open .sticky { display: none; }
  .hero-grid, .mission-grid, .team-head, .contact-grid, .svc-head, .voices-head { grid-template-columns: 1fr; }
  .voice { justify-self: start; }
  .spot { grid-template-columns: 1fr; }
  .spot-media { min-height: 260px; }
  .trustbar .wrap-wide { grid-template-columns: 1fr; gap: 18px; }
  .trustbar ul { justify-content: flex-start; gap: 22px 28px; }
  .trustbar li img { height: 32px; }
  .trustbar li img.tall { height: 46px; }
  .where { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .sticky { display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 140px; }
  .hero { padding-top: 120px; min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(0, 43, 82, .5) 0%, rgba(0, 60, 113, .42) 40%, rgba(0, 43, 82, .92) 100%); }
  .hero-photo img { object-position: 78% 30%; }
  .hide-sm { display: none; }
  .hero h1 { font-size: 46px; }
  .hero .lede { margin-top: 18px; font-size: 17px; }
  .hero-points { margin-top: 16px; }
  .hero-points li.hide-sm { display: none; }
  .hero-points li { font-size: 15px; }
  .hero h1 { font-size: 42px; }
  .hero-cta { margin-top: 24px; gap: 12px 16px; }
  .hero-cta .btn-ghost { padding: 0; border: 0; background: none; }
  .voice { margin-top: 8px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; max-width: none; }
  .voice .faces p span { display: none; }
  .voice .faces img { width: 36px; height: 36px; }
  .voice blockquote { margin-top: 14px; padding-top: 14px; font-size: 19px; }
  .voice figcaption { margin-top: 6px; }
  .svc-grid, .team, .quotes, .row2 { grid-template-columns: 1fr; }
  .goals { columns: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .reach li { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
  .spot { border-radius: 14px; }
  .form { border-radius: 14px; }
}
