/* ============================================================
   SMART TOPO — page sections
   ============================================================ */

/* ============================================================
   HERO — home
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  background: var(--ink);
  color: var(--paper);
  --fg-muted: var(--slate-2);
  --rule: rgba(244, 242, 236, .15);
  overflow: hidden;
  padding-top: calc(var(--header-h) + 3rem);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -8% 0 -8%;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .9;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(14,23,38,.96) 0%, rgba(14,23,38,.5) 42%, rgba(14,23,38,.72) 100%),
    /* the headline side needs to stay readable whatever the photograph does */
    linear-gradient(to right, rgba(14,23,38,.82) 0%, rgba(14,23,38,.45) 45%, rgba(14,23,38,.2) 100%);
}

.hero__body {
  width: 100%;
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.5rem, 1rem + 4vw, 5rem);
  display: grid;
  gap: var(--s-7) var(--gutter);
}
@media (min-width: 64rem) {
  .hero__body { grid-template-columns: minmax(0, 1fr) 16.5rem; align-items: end; }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  /* width-driven, but capped against viewport height so the hero
     never overflows on a short laptop screen */
  font-size: clamp(2.5rem, min(1.36rem + 6.48vw, 13.5vh), 7.2rem);
  line-height: .98;
  letter-spacing: -.033em;
  margin-top: var(--s-5);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--brass-lite); }
.hero__lede {
  margin-top: var(--s-5);
  max-width: 44ch;
  font-size: var(--t-md);
  color: #C3CBD6;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.hero__acts .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.hero__acts .btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); border-color: rgba(244,242,236,.3); }

/* small plate, lower-right */
.hero__aside { display: none; }
@media (min-width: 64rem) { .hero__aside { display: block; } }
.hero__aside .plate { aspect-ratio: 4 / 3; border: 1px solid rgba(244,242,236,.14); }
.hero__aside figcaption { color: #8D97A6; }

/* bottom instrument bar */
.hero__bar {
  border-top: 1px solid var(--rule);
  background: rgba(7, 11, 9, .5);
  backdrop-filter: blur(8px);
}
.hero__bar-in {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.hero__bar-in b { color: var(--paper); font-weight: 500; }
.hero__bar .spread { margin-left: auto; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--slate-2);
}
.scroll-cue i {
  width: 1px; height: 1.6rem;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ============================================================
   interior page hero
   ============================================================ */

.phero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  --fg-muted: var(--slate-2);
  --rule: rgba(244, 242, 236, .15);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 8rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.phero__bg { position: absolute; inset: -10% 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; will-change: transform; }
.phero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(14,23,38,.95) 30%, rgba(14,23,38,.6) 100%);
}
.phero__grid { display: grid; gap: var(--s-6) var(--gutter); align-items: end; }
@media (min-width: 62rem) { .phero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.phero h1 {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.03em;
  margin-top: var(--s-4);
}
.phero h1 em { font-style: italic; font-weight: 400; color: var(--brass-lite); }
.phero__lede { margin-top: var(--s-5); max-width: 46ch; color: #C3CBD6; font-size: var(--t-md); }

/* breadcrumb */
.crumbs {
  display: flex; flex-wrap: wrap; gap: .55rem;
  font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg-muted);
}
.crumbs a:hover { color: var(--accent-2); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; opacity: .5; }
.crumbs li { display: inline-flex; }

/* ============================================================
   MANIFESTO
   ============================================================ */

.manifesto__grid { display: grid; gap: var(--s-7) var(--gutter); }
@media (min-width: 64rem) {
  .manifesto__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; }
  .manifesto__media { margin-top: 4.5rem; }
}
.manifesto__q {
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 1.05rem + 2.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 20ch;
}
.manifesto__q em { font-style: italic; color: var(--accent); }
.manifesto__sig {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  display: flex; gap: var(--s-4); align-items: baseline;
  font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-muted);
}

/* two overlapping plates */
.duo { position: relative; }
.duo__a { width: 78%; }
.duo__b {
  width: 46%;
  position: absolute;
  right: 0; bottom: -12%;
  border: .5rem solid var(--bg);
}
@media (max-width: 40rem) {
  .duo__a { width: 100%; }
  .duo__b { width: 52%; bottom: -8%; border-width: .35rem; }
}

/* ============================================================
   DOMAINS — sticky index + panels
   ============================================================ */

.domains__grid { display: grid; gap: var(--s-7) var(--gutter); }
@media (min-width: 64rem) {
  .domains__grid { grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); }
}

.dnav { display: none; }
@media (min-width: 64rem) {
  .dnav {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    align-self: start;
  }
}
.dnav__list { border-top: 1px solid var(--rule); }
.dnav__item a {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
  color: var(--fg-muted);
  transition: color .3s, padding-left .4s var(--ease-out);
}
.dnav__item a:hover { color: var(--fg); }
.dnav__item.is-active a { color: var(--fg); padding-left: .7rem; }
.dnav__item.is-active a .num { color: var(--accent-text); }
.dnav__foot { margin-top: var(--s-6); }

.dpanels { display: grid; gap: clamp(3rem, 2rem + 4vw, 6.5rem); }

.dpanel { scroll-margin-top: calc(var(--header-h) + 2rem); }
.dpanel__media { position: relative; }
.dpanel__t {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-top: var(--s-5);
}
.dpanel__d { margin-top: var(--s-4); color: var(--fg-muted); max-width: 54ch; }
.dpanel__tags {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: var(--s-5);
}
.dpanel__tags li {
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .38rem .7rem;
  border: 1px solid var(--rule);
  color: var(--fg-muted);
}
.dpanel__f { margin-top: var(--s-5); }

/* ============================================================
   METHOD — horizontal scroll
   ============================================================ */

/* Without JS this is an ordinary horizontal strip you can swipe.
   `is-pinned` (added by the scroll engine on wide screens) turns it
   into a section that translates the track as the page scrolls. */
.method { position: relative; background: var(--bg); color: var(--fg); }
.method__sticky { padding-block: var(--band-s); }
@media (min-width: 64rem) {
  .method.is-pinned .method__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-block: 0;
  }
}
.method__head {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  margin-bottom: clamp(2rem, 1rem + 3vw, 4rem);
}
.method__head h2 { font-size: var(--t-2xl); margin-top: var(--s-4); font-family: var(--f-display); font-weight: 500; letter-spacing: -.025em; }

.method__viewport {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.method__viewport::-webkit-scrollbar { display: none; }
.method__step { scroll-snap-align: start; }

.method__track {
  display: flex;
  gap: var(--gutter);
  padding-inline: var(--gutter);
  will-change: transform;
}
.method.is-pinned .method__viewport { overflow: hidden; scroll-snap-type: none; }
@media (min-width: 64rem) {
  .method.is-pinned .method__track {
    padding-left: max(var(--gutter), calc((100vw - var(--wrap-wide)) / 2 + var(--gutter)));
  }
}

.method__step {
  flex: none;
  width: min(27rem, 78vw);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.method__step h3 {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  letter-spacing: -.015em;
  margin-top: var(--s-4);
  font-weight: 500;
}
.method__step p { margin-top: var(--s-3); color: var(--fg-muted); font-size: var(--t-sm); }
.method__step .plate { margin-top: var(--s-5); aspect-ratio: 4 / 3; }
.method__step ul { margin-top: var(--s-4); }

.method__rail {
  max-width: var(--wrap-wide);
  margin: clamp(1.5rem, 1rem + 2vw, 3rem) auto 0;
  padding-inline: var(--gutter);
  width: 100%;
  display: none;
}
@media (min-width: 64rem) { .method__rail { display: block; } }
.method__rail i {
  display: block; height: 1px;
  background: var(--rule);
  position: relative;
}
.method__rail i::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ============================================================
   MEANS — human + equipment
   ============================================================ */

.means__grid { display: grid; gap: var(--s-7) var(--gutter); }
@media (min-width: 64rem) { .means__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }

.kit { border-top: 1px solid var(--rule); }
.kit__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .4s var(--ease-out);
}
.kit__row:hover { padding-left: .6rem; }
.kit__row h4 { font-size: var(--t-base); font-weight: 500; }
.kit__row p { font-size: var(--t-sm); color: var(--fg-muted); margin-top: .2rem; }
.kit__row .qty {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* ============================================================
   VALUES — EPIC
   ============================================================ */

.epic { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 58rem) { .epic { grid-template-columns: repeat(4, 1fr); } }

.epic__item {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-7) 0;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
@media (min-width: 58rem) {
  .epic__item { border-bottom: 0; padding-right: var(--s-5); }
  .epic__item + .epic__item { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
}
.epic__l {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 2rem + 5vw, 6rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--epic-outline, rgba(14, 23, 38, .26));
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.epic__item:hover .epic__l { color: var(--accent); -webkit-text-stroke-color: transparent; }
.epic__t { margin-top: var(--s-5); font-size: var(--t-md); font-weight: 500; }
.epic__d { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--fg-muted); }

/* ============================================================
   WORK — projects
   ============================================================ */

.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: var(--s-6);
}
.filter {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border: 1px solid var(--rule);
  color: var(--fg-muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.work { display: grid; gap: var(--s-6) var(--gutter); }
@media (min-width: 46rem) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .work { grid-template-columns: repeat(12, 1fr); } }

.work__item { display: flex; flex-direction: column; }
@media (min-width: 72rem) {
  .work__item { grid-column: span 4; }
  .work__item--wide { grid-column: span 8; }
  .work__item--half { grid-column: span 6; }
}
.work__item.is-out { display: none; }

.work__media { position: relative; overflow: hidden; background: var(--ink-2); }
.work__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s;
}
.work__item--wide .work__media img { aspect-ratio: 16 / 9; }
.work__item:hover .work__media img { transform: scale(1.045); }
.work__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,23,38,.55), transparent 55%);
  opacity: 0; transition: opacity .5s;
}
.work__item:hover .work__media::after { opacity: 1; }

.work__meta {
  display: flex; gap: .7rem; align-items: baseline;
  margin-top: var(--s-4);
  font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg-muted);
}
.work__meta b { color: var(--accent-text); font-weight: 500; }
.work__t { margin-top: .55rem; font-size: var(--t-md); font-weight: 500; letter-spacing: -.01em; }
.work__d { margin-top: .5rem; font-size: var(--t-sm); color: var(--fg-muted); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact__grid { display: grid; gap: var(--s-8) var(--gutter); }
@media (min-width: 64rem) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 5vw, 7rem); } }

.info { border-top: 1px solid var(--rule); }
.info__row {
  display: grid;
  gap: .3rem var(--s-5);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 34rem) { .info__row { grid-template-columns: 7.5rem minmax(0, 1fr); } }
.info__k {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-top: .2rem;
}
.info__v { font-size: var(--t-base); line-height: 1.55; }
.info__v a { border-bottom: 1px solid var(--rule); transition: border-color .3s, color .3s; }
.info__v a:hover { color: var(--accent-text); border-color: var(--accent-text); }

.map {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(.92); }
.map__pin {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}

/* ============================================================
   CTA band
   ============================================================ */

.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: -15% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; will-change: transform; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(23,51,44,.95) 25%, rgba(23,51,44,.7));
}
.cta__grid { display: grid; gap: var(--s-6) var(--gutter); align-items: end; }
@media (min-width: 62rem) { .cta__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.cta h2 {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  letter-spacing: -.028em;
  line-height: 1.04;
  margin-top: var(--s-4);
  max-width: 17ch;
}
.cta h2 em { font-style: italic; font-weight: 400; color: var(--brass-lite); }

/* ============================================================
   misc page bits
   ============================================================ */

/* thin contour divider */
.divider {
  height: clamp(3rem, 2rem + 3vw, 6rem);
  overflow: hidden;
  color: var(--rule);
  display: grid;
  place-items: center;
}
.divider svg { width: 100%; height: 100%; }

/* two-column long-form */
.cols2 { columns: 1; column-gap: var(--s-7); }
@media (min-width: 52rem) { .cols2 { columns: 2; } }
.cols2 p { break-inside: avoid; margin-bottom: 1.1em; }

/* legal / long text page */
.legal h2 { font-size: var(--t-lg); margin-top: var(--s-7); font-weight: 500; }
.legal h3 { font-size: var(--t-md); margin-top: var(--s-5); font-weight: 500; }
.legal p, .legal li { color: var(--fg-muted); font-size: var(--t-sm); }
.legal p { margin-top: var(--s-3); }
.legal ul { margin-top: var(--s-3); }
.legal li { padding-left: 1.2rem; position: relative; margin-top: .35rem; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--accent-text); }

/* 404 */
.nf { min-height: 82svh; display: grid; place-items: center; text-align: center; }
.nf__n {
  font-family: var(--f-display);
  font-size: clamp(5rem, 3rem + 14vw, 13rem);
  line-height: .85;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
}

/* ============================================================
   SERVICES page
   ============================================================ */

.svc { scroll-margin-top: var(--header-h); }

.svc__top { display: grid; gap: var(--s-5) var(--gutter); align-items: start; }
@media (min-width: 64rem) {
  .svc__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 1rem + 4vw, 6rem);
  }
}
.svc__title { font-size: var(--t-2xl); margin-top: var(--s-4); }

.svc__media { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.svc__list  { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

.svc__sub {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--rule);
}

/* index of the six disciplines */
.svc-index { display: grid; border-top: 1px solid var(--rule); }
@media (min-width: 46rem) { .svc-index { grid-template-columns: repeat(2, 1fr); column-gap: var(--gutter); } }
@media (min-width: 72rem) { .svc-index { grid-template-columns: repeat(3, 1fr); } }

.svc-index__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
  transition: padding-left .4s var(--ease-out), color .3s;
}
.svc-index__item:hover { padding-left: .7rem; color: var(--accent-text); }

/* ============================================================
   PRACTICE page — roles
   ============================================================ */

.roles { display: grid; border-top: 1px solid var(--rule); }
@media (min-width: 48rem) { .roles { grid-template-columns: repeat(2, 1fr); column-gap: var(--gutter); } }
@media (min-width: 72rem) { .roles { grid-template-columns: repeat(4, 1fr); } }

.role {
  padding: var(--s-6) var(--s-5) var(--s-6) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 72rem) {
  .role { border-bottom: 0; }
  .role + .role { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
}
.role__t { font-size: var(--t-md); font-weight: 500; margin-top: var(--s-4); letter-spacing: -.005em; }
.role__d { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--fg-muted); }

/* ============================================================
   WORK page — spec line
   ============================================================ */

.work__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .08em;
  color: var(--fg-muted);
}
.work__specs b {
  color: var(--accent-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-right: .5em;
}

/* ============================================================
   CONTACT page — click-to-load map
   ============================================================ */

.map__cover { position: absolute; inset: 0; }
.map__cover img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.map__cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  text-align: center;
  padding: var(--s-5);
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(14,23,38,.45), rgba(14,23,38,.8));
}
.map__cta p { font-size: var(--t-sm); max-width: 32ch; color: #8D97A6; }
.map__cta .btn--ghost { --btn-fg: var(--paper); border-color: rgba(244,242,236,.35); }
.map__cta .alink { border-color: rgba(244,242,236,.25); color: #8D97A6; }
.map__cta .alink:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ============================================================
   photography
   ============================================================ */

/* A brass contour veil over the hero photograph: the topographic
   signature stays, the photograph still reads as a photograph. */
.hero__veil {
  position: absolute;
  inset: -6% -4%;
  z-index: 0;
  opacity: .16;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__veil img { width: 100%; height: 100%; object-fit: cover; }
.hero__body, .hero__bar { position: relative; z-index: 1; }

/* The field photograph carries the panel; the plate it produced sits in
   the corner, so each discipline shows the ground and the document. */
.figpair .plate { position: relative; }
.figpair__doc {
  position: absolute;
  right: clamp(.6rem, .3rem + 1vw, 1.15rem);
  bottom: clamp(.6rem, .3rem + 1vw, 1.15rem);
  width: min(31%, 15rem);
  z-index: 3;
  background: var(--paper);
  outline: 1px solid rgba(244, 242, 236, .22);
  box-shadow: 0 .9rem 2.2rem rgba(4, 9, 17, .5);
}
.figpair__doc img { display: block; width: 100%; height: auto; }
.figpair__tag {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .3rem .55rem;
}
/* The frame has a fixed aspect and clips, so on a phone the inset grows
   inside the photograph rather than trying to flow beneath it. */
@media (max-width: 46rem) {
  .figpair__doc { width: 45%; right: .55rem; bottom: .55rem; }
  .figpair__tag { font-size: .5rem; letter-spacing: .16em; padding: .25rem .45rem; }
}

/* Photographs sit under the same darkening the plates were tuned against. */
.phero__bg img { opacity: .38; }
.hero__bg img { opacity: .62; }


/* a caption that names both halves of the pair */
.figpair figcaption { flex-wrap: wrap; row-gap: .3rem; }
.figpair figcaption b:nth-of-type(2) { margin-left: .6rem; }

/* ============================================================
   nuage de points animé — accueil
   ============================================================ */

.hero__cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  /* le relevé s'efface là où le titre se lit */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 52%, transparent 78%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 52%, transparent 78%);
}
@media (min-width: 64rem) {
  .hero__cloud {
    -webkit-mask-image: linear-gradient(to right, transparent 4%, rgba(0,0,0,.28) 28%, #000 56%);
            mask-image: linear-gradient(to right, transparent 4%, rgba(0,0,0,.28) 28%, #000 56%);
  }
}
/* la photographie reste en fond de scène, le relevé passe devant */
.hero .hero__bg img { opacity: .22; }

/* ============================================================
   zones d'intervention
   ============================================================ */

.hero__kicker { margin-bottom: var(--s-4); }

.zones {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  border-top: 1px solid var(--rule);
  padding-top: var(--s-6);
}
.zones li {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .5rem .85rem;
  border: 1px solid var(--rule);
  color: var(--fg-muted);
  transition: border-color .3s, color .3s;
}
.zones li:hover { border-color: var(--accent); color: var(--fg); }

.zones__faq {
  margin-top: var(--band-s);
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule);
}
