/* M&D Foundations: home page (two-market split + below-the-fold story) */
/* ---------- home: the two-market split ---------- */
.home { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 520px; display: flex; flex-direction: column; overflow: hidden; }
.split {
  flex: 1; display: flex; min-height: 0; position: relative;
  background: var(--navy);
}
.market {
  position: relative; flex: 1 1 0; overflow: hidden; color: var(--white);
  container-type: inline-size;
  text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 4vw, 56px);

  outline: none;
}
.market + .market { border-left: 2px solid var(--navy); }
.market img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.04 - .04 * var(--act, 0)));
}
.market::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13, 27, 36, .35) 0%, rgba(13, 27, 36, 0) 30%, rgba(13, 27, 36, .25) 55%, rgba(13, 27, 36, .88) 100%);

}
.market > *:not(img) { position: relative; z-index: 2; }
.market .tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px;
  padding: 7px 11px 7px 9px; margin-bottom: 18px;
  background: rgba(13, 27, 36, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.market .tag i { width: 10px; height: 10px; display: block; }
.market.is-red .tag i { background: var(--red); }
.market.is-white .tag i { background: var(--white); }
.market h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  /* shrinks with its half (20cqi) so the word always stays on one line */
  font-size: clamp(36px, min(8vw, 14vh, 20cqi), 132px); line-height: .82; letter-spacing: -.01em;
  white-space: nowrap;
}
/* the brand trick: the "I" becomes a solid coloured bar */
.market h2 .i {
  display: inline-block; width: .17em; height: .7em; margin: 0 .03em; vertical-align: baseline;
  transform: translateY(.005em) scaleY(calc(1 + .28 * var(--act, 0))); transform-origin: bottom;
}
.market.is-red h2 .i { background: var(--red); }
.market.is-white h2 .i { background: var(--white); box-shadow: 0 0 0 0 transparent; }
.market .sub { font-size: clamp(16px, 1.35vw, 20px); margin-top: 16px; max-width: 30ch; opacity: .92; line-height: 1.4; }
.market .go {
  margin-top: 26px; display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px;
}
.market .go .pill {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 22px;
  width: calc(54px + 22px * var(--act, 0));
}
.market.is-red .go .pill { background: var(--red); color: var(--white); }
.market.is-white .go .pill { background: var(--white); color: var(--navy); }
.market .go .line { height: 2px; width: calc(60px + 60px * var(--act, 0)); background: currentColor; opacity: calc(.5 + .5 * var(--act, 0)); }


/* headline panel straddling the top-left of the split */
.statement {
  position: absolute; z-index: 5; top: clamp(20px, 4vh, 48px); left: clamp(24px, 4vw, 56px);
  max-width: min(440px, 40vw);
  padding: 22px 26px 22px 22px;
  background: rgba(13, 27, 36, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  color: var(--white); pointer-events: none;
  display: grid; grid-template-columns: 7px 1fr; gap: 0 20px;
}
.statement::before { content: ""; background: var(--red); grid-row: 1 / span 2; }
.statement h1 { font-size: clamp(30px, min(3.2vw, 5.6vh), 50px); font-weight: 800; }
.statement p { margin-top: 12px; font-size: 14px; opacity: .85; line-height: 1.5; max-width: 34ch; }

.home-foot {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter); background: var(--navy); color: rgba(255, 255, 255, .78);
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
}
.home-foot ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.home-foot li { display: flex; align-items: center; gap: 10px; }
.home-foot li::before { content: ""; width: 3px; height: 14px; background: var(--red); }
.home-foot li:nth-child(even)::before { background: var(--white); }
.home-foot a { text-decoration: none; color: var(--white); }
/* DOMESTIC: hollow outline letters, so the solid white "I" bar stands out the way the red one does in COMMERCIAL */
.market.is-white h2 { color: transparent; -webkit-text-stroke: 2.5px var(--white); }
@media (max-width: 860px) { .market.is-white h2 { -webkit-text-stroke-width: 2px; } }
/* the outline adds ~1.25px around every letter, so the solid "I" grows to match their outer edge */
.market.is-white h2 .i { width: .2em; height: calc(.7em + 2.5px); margin: 0 .035em; transform: translateY(1.25px) scaleY(calc(1 + .28 * var(--act, 0))); }

@media (max-width: 860px) { .market.is-white h2 .i { height: calc(.7em + 2px); transform: translateY(1px); } }

/* M&D Foundations — home page, below the two-market split */

.home-more { background: var(--navy); color: var(--white); }
.home-more section { position: relative; }
.home-more h2 { font-weight: 800; }

/* scroll cue in the strip under the split */
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white);
}
.scroll-cue i { width: 2px; height: 22px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; display: block; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--red);
  animation: cue 1.6s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes cue { to { top: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 16px;
  padding: 8px 0; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%; background: currentColor; opacity: .25; }
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--red); z-index: 1;
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
.link-arrow:hover::before { width: 100%; }
.link-arrow span { transition: transform .3s; }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow.inline { display: inline-flex; margin-left: 6px; font-size: 15px; }

/* ---------- 1. intro ---------- */
.intro { padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 150px); background: var(--navy-deep); }
.reveal-words {
  margin-top: 32px; font-size: clamp(30px, 4.1vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12;
  max-width: 22ch;
}
.reveal-words .w { opacity: .14; transition: opacity .25s linear; }
.reveal-words em { font-style: normal; color: var(--red); }
.reveal-words mark { background: none; color: inherit; position: relative; white-space: nowrap; }
.reveal-words mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .11em;
  transform: scaleX(var(--u, 0)); transform-origin: left; transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.reveal-words mark.c::after { background: var(--red); }
.reveal-words mark.d::after { background: var(--white); }
.intro-links { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 48px; }

/* ---------- 2. depth story ---------- */
/* an ordinary section: the four stages are plain text, and the drawing plays once,
   start to finish, when it comes into view (no pinning, no scroll control) */
.depth-story { background: var(--navy); }
.depth-sticky { padding: clamp(80px, 10vw, 140px) 0; }
.depth-grid { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.depth-copy h2 { font-size: clamp(40px, 5vw, 76px); margin-top: 16px; }
.depth-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 6px; }
.depth-steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0;
}
.depth-steps .n { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--red); line-height: 1.2; }
.depth-steps h3 { font-size: 22px; font-weight: 800; }
.depth-steps p {
  font-size: 15px; opacity: .78; margin-top: 6px; max-width: 46ch;
}
.depth-progress { height: 3px; background: var(--line-dark); margin-top: 26px; max-width: 420px; }
.depth-progress i { display: block; height: 100%; width: 0; background: var(--red); }

.xsec {
  height: min(78vh, 700px); display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-deep);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.xsec-top {
  flex: 0 0 15%; position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 22px 12px; border-bottom: 2px solid var(--white);
  background: linear-gradient(180deg, #1d3a4a, #142733);
}
.xsec-top .gl { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; opacity: .7; }
.readout { font-family: var(--display); font-weight: 800; line-height: .8; display: flex; align-items: baseline; gap: 2px; }
.readout b { font-size: clamp(48px, 5vw, 72px); font-weight: 800; font-variant-numeric: tabular-nums; }
.readout small { font-size: 24px; color: var(--red); }

.layers { flex: 1; position: relative; display: flex; flex-direction: column; }
.layer {
  flex: 0 0 var(--h); position: relative; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px;
  background: #2b4656;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 9px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.layer.clay { background-color: #223c4b; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 8px); }
.layer.gravel { background-color: #2f4b5b; background-image: radial-gradient(rgba(255, 255, 255, .13) 1.6px, transparent 2px), radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 14px 12px, 7px 7px; background-position: 0 0, 3px 4px; }
.layer.firm { background-color: #1b3241; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 12px); }
.layer.rock { background-color: #11222e; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); }
.layer span, .layer em { opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
.layer em { font-style: normal; opacity: 0; color: rgba(255, 255, 255, .6); transform: translateX(8px); }
.layer.seen span, .layer.seen em { opacity: 1; transform: none; }

.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red);
  box-shadow: 0 0 18px 2px rgba(251, 2, 40, .55); opacity: 0;
}
.pile-guide {
  position: absolute; left: 50%; top: -2px; width: 40px; height: 90%; margin-left: -20px;
  border: 2px dashed rgba(255, 255, 255, .55); border-top: 0; opacity: 0; transition: opacity .4s;
}
.pile-guide span {
  position: absolute; left: calc(100% + 14px); top: 50%; white-space: nowrap; transform: translateY(-50%);
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px;
  padding: 5px 8px; background: var(--white); color: var(--navy);
}
.pile {
  position: absolute; left: 50%; top: -2px; width: 40px; margin-left: -20px; height: 0;
  background: linear-gradient(90deg, #cfd5d8, #f4f4f2 45%, #c6ccd0);
}
.pile .toe {
  position: absolute; left: -46px; right: -46px; bottom: -1px; height: 2px; background: var(--red);
}
.loads { position: absolute; left: 50%; top: 0; transform: translate(-50%, -100%); display: flex; gap: 6px; align-items: flex-end; opacity: 0; transition: opacity .4s; }
.loads i { width: 3px; height: 26px; background: var(--red); position: relative; animation: press 1s ease-in-out infinite; }
.loads i:nth-child(2) { height: 34px; animation-delay: .12s; }
.loads i:nth-child(3) { animation-delay: .24s; }
.loads i::after { content: ""; position: absolute; left: -4px; bottom: -6px; border: 5.5px solid transparent; border-top: 7px solid var(--red); border-bottom: 0; }
@keyframes press { 50% { transform: translateY(6px); } }
.loads span {
  position: absolute; left: calc(100% + 12px); bottom: 4px; white-space: nowrap;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  background: var(--red); padding: 5px 8px;
}

/* ---------- 3. numbers ---------- */
.numbers { background: var(--red); padding: clamp(56px, 7vw, 96px) 0; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num { display: grid; grid-template-columns: 5px 1fr; gap: 0 18px; }
.num::before { content: ""; grid-row: 1 / span 2; background: var(--white); }
.num:nth-child(even)::before { background: var(--navy); }
.num strong { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 6.4vw, 104px); line-height: .85; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.num strong small { font-size: .4em; margin-left: 4px; }
.num > span { font-size: 15px; margin-top: 10px; max-width: 22ch; opacity: .92; }

/* ---------- 4. services index (a plain list, no images) ---------- */
.svc-index { background: var(--paper); color: var(--ink); padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.svc-list a {
  display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr) 40px; align-items: center; gap: 20px;
  padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
  transition: padding .45s cubic-bezier(.2, .8, .2, 1), color .3s;
}
.svc-list a::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: var(--navy); z-index: 0;
  transition: width .55s cubic-bezier(.2, .8, .2, 1);
}
.svc-list a > * { position: relative; z-index: 1; }
.svc-list .n { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--red); padding-left: 0; transition: padding .45s cubic-bezier(.2, .8, .2, 1); }
.svc-list .t { font-size: clamp(26px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.svc-list .s { font-size: 14px; color: var(--muted); transition: color .3s; }
.svc-list .a { font-size: 26px; justify-self: end; transform: translateX(-10px); opacity: 0; transition: transform .4s, opacity .4s; padding-right: 0; }
.svc-list a:hover, .svc-list a:focus-visible { color: var(--white); }
.svc-list a:hover::before, .svc-list a:focus-visible::before { width: 100%; }
.svc-list a:hover .n, .svc-list a:focus-visible .n { padding-left: 22px; }
.svc-list a:hover .s, .svc-list a:focus-visible .s { color: rgba(255, 255, 255, .7); }
.svc-list a:hover .a, .svc-list a:focus-visible .a { transform: translateX(-22px); opacity: 1; color: var(--red); }


/* ---------- 5. sectors marquee + projects ---------- */
.work { background: var(--navy); padding: clamp(72px, 9vw, 130px) 0 clamp(80px, 10vw, 150px); overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; padding: 4px 0; }
.track { display: inline-flex; will-change: transform; }
.track span {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 9vw, 150px); line-height: .95;
  padding-right: .5em; display: inline-flex; align-items: center; gap: .5em;
}
.track span::after { content: ""; width: .09em; height: .62em; display: inline-block; }
.track span.c { color: var(--red); }
.track span.c::after { background: var(--white); }
.track span.d { color: transparent; -webkit-text-stroke: 2px var(--white); }
.track span.d::after { background: var(--red); }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.pcard {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none;
  transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
  --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.pcard.rv { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.pcard.rv.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.pcard.tilting { transition: transform .12s linear; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.pcard img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover img { transform: scale(1.05); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(13, 27, 36, .92) 0%, rgba(13, 27, 36, 0) 55%); }
.pcard .mk {
  position: absolute; z-index: 2; top: 18px; left: 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  padding: 6px 10px;
}
.pcard .mk.red { background: var(--red); color: var(--white); }
.pcard .mk.white { background: var(--white); color: var(--navy); }
.pcard .txt { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; transform: translateZ(40px); }
.pcard h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; }
.pcard p { font-size: 15px; opacity: .8; margin-top: 6px; }
.pcard .glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 45%);
}
.pcard.tilting .glare { opacity: 1; }

/* ---------- 6. values ---------- */
.values { background: var(--navy-deep); padding: clamp(80px, 10vw, 150px) 0; }
.values-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.values-media { position: relative; }
.values-media .par { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; }
.values-media .par img { width: 100%; height: 118%; object-fit: cover; object-position: 30% 20%; will-change: transform; }
.values-media .stamp {
  position: absolute; right: -18px; bottom: 34px; background: var(--red); color: var(--white);
  font-weight: 800; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1; padding: 22px 26px;
}
.values-copy h2 { font-size: clamp(38px, 4.6vw, 68px); margin-top: 16px; }
.values-copy .lead { font-size: 18px; opacity: .8; margin-top: 20px; max-width: 50ch; }
.vlist { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line-dark); border: 2px solid var(--line-dark); }
.vlist li { background: var(--navy-deep); padding: 24px 22px; display: grid; gap: 14px; transition: background .3s; }
.vlist li:hover { background: var(--navy-soft); }
.vlist li > span { font-family: var(--display); font-weight: 800; color: var(--red); font-size: 16px; }
.vlist h3 { font-size: 21px; font-weight: 800; }
.vlist p { font-size: 14.5px; opacity: .72; margin-top: 6px; }

/* ---------- 7. reach ---------- */
.reach { background: var(--navy); padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 7vw, 96px); }
.reach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.reach h2 { font-size: clamp(38px, 4.4vw, 64px); margin-top: 16px; }
.reach .lead { font-size: 18px; opacity: .8; margin: 20px 0 22px; max-width: 42ch; }
.offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.offices li {
  display: flex; align-items: baseline; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.02em; cursor: default;
  transition: padding .4s cubic-bezier(.2, .8, .2, 1);
}
.offices li:nth-child(odd) { padding-right: 20px; }
.offices li small { font-size: 13px; font-weight: 600; opacity: .55; letter-spacing: 0; }
.offices li i { width: 10px; height: 10px; flex: none; background: var(--white); position: relative; top: -2px; }
.offices li.hq i { background: var(--red); }
.offices li i::after { content: ""; position: absolute; inset: 0; background: inherit; opacity: 0; }
.offices li:hover { padding-left: 10px; }
.offices li:hover i::after { animation: ping 1.1s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.accred-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: clamp(56px, 7vw, 90px);
  padding-top: 28px; border-top: 1px solid var(--line-dark);
}
.accred-row .lbl { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; opacity: .6; margin-right: 10px; }
.accred-row span:not(.lbl) {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px;
  padding: 9px 14px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; transition: border-color .3s, background .3s;
}
.accred-row span:not(.lbl):hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

/* ---------- 8. closing choice ---------- */
.choose { display: flex; min-height: 78vh; }
.choose-half {
  flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 72px);
  text-decoration: none; position: relative; overflow: hidden;
}
.choose-half.red { background: var(--red); color: var(--white); }
.choose-half.white { background: var(--white); color: var(--navy); }
.choose-half .eyebrow { opacity: .85; }
.choose-half h2 { font-size: clamp(36px, 4.4vw, 68px); margin-top: 18px; max-width: 13ch; }
.choose-half p { font-size: 18px; margin-top: 18px; max-width: 40ch; opacity: .85; }
/* the brand bars, hanging from the top of each half (same width, varied lengths) */
.hang { position: absolute; top: 0; right: clamp(24px, 4vw, 64px); display: flex; gap: 12px; align-items: flex-start; pointer-events: none; }
.hang i { width: 6px; display: block; transform-origin: top; transform: scaleY(calc(.6 + .4 * var(--act, 0))); }
.choose-half.red .hang i { background: var(--white); }
.choose-half.red .hang i:nth-child(3n) { background: var(--navy); }
.choose-half.white .hang i { background: var(--red); }
.choose-half.white .hang i:nth-child(3n) { background: var(--navy); }
@media (max-width: 860px) { .hang { gap: 9px; } .hang i { width: 5px; } .hang i:nth-child(n+12) { display: none; } }
.mag {
  margin-top: 36px; align-self: flex-start; display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 18px;
  will-change: transform; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.mag b {
  width: 64px; height: 64px; display: grid; place-items: center; font-size: 24px;
  width: calc(64px + 26px * var(--act, 0));
}
.choose-half.red .mag b { background: var(--white); color: var(--red); }
.choose-half.white .mag b { background: var(--red); color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .numbers .wrap { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .vlist { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .home-foot { display: none; }
  .depth-grid { grid-template-columns: 1fr; gap: 18px; }
  .depth-copy h2 { font-size: clamp(30px, 8vw, 44px); margin-top: 8px; }
  .depth-copy .eyebrow { display: none; }
  .depth-steps { margin-top: 12px; }
  .depth-steps li { padding: 8px 0; }
  .depth-progress { margin-top: 10px; }
  .xsec { height: 50vh; order: -1; }
  .pile-guide span { font-size: 11px; }
  .svc-list a { grid-template-columns: 44px 1fr 24px; }
  .svc-list .s { display: none; }
  .svc-list .a { opacity: 1; transform: none; }
  .pcards { grid-template-columns: 1fr; }
  .pcard { aspect-ratio: 4 / 3.4; }
  .values-grid, .reach-grid { grid-template-columns: 1fr; }
  .values-media .stamp { right: 12px; }
  .choose { flex-direction: column; min-height: 0; }
  .choose-half { min-height: 56vh; }
}
@media (max-width: 560px) {
  .offices { grid-template-columns: 1fr; }
  .offices li:nth-child(odd) { padding-right: 0; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-words .w { opacity: 1; }
}

/* ---------- live-site additions ---------- */
.trusted { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.trusted .label { opacity: .65; }
.trusted ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 22px clamp(32px, 4.5vw, 64px); }
/* partner logos, all shown in white so the strip reads as one set */
.partner-logos img { width: auto; filter: brightness(0) invert(1); opacity: .82; transition: opacity .25s; }
.partner-logos img:hover { opacity: 1; }
@media (max-width: 560px) { .partner-logos { gap: 20px 32px; } .partner-logos img { transform: scale(.85); transform-origin: left center; } }
.reach-map { position: relative; justify-self: center; width: min(420px, 100%); }
.reach-map > img:first-child { width: 100%; height: auto; border-radius: var(--radius); }
.accred-row img { height: 54px; width: auto; background: var(--white); border-radius: 10px; padding: 8px 12px; object-fit: contain; }
.choose-half .eyebrow { font-size: 17px; }

/* phones: stack the two markets, headline above them */
@media (max-width: 860px) {
  .home { height: auto; min-height: 0; overflow: visible; }
  .split { flex-direction: column; }
  .market { min-height: 42svh; }
  .market + .market { border-left: 0; border-top: 2px solid var(--navy); }
  .market { padding: 22px var(--gutter) 24px; }
  .market h2 { font-size: clamp(40px, min(15vw, 20cqi), 84px); }
  .market .sub { font-size: 15px; margin-top: 10px; }
  .market .go { margin-top: 14px; }
  .market .go .pill { width: 44px; height: 44px; font-size: 18px; }
  .statement { position: relative; top: auto; left: auto; max-width: none; border-radius: 0; background: var(--navy); padding: 4px var(--gutter) 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .statement h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .statement p { display: none; }
}

/* Domestic half: the label sits at the top, over the house, so the piles below stay
   in full view; the image itself has the pile drawing lifted (…-cutaway-lit.webp) */
.market.is-white { justify-content: flex-start; }
.market.is-white::before {
  background: linear-gradient(180deg, rgba(12, 26, 36, .9) 0%, rgba(12, 26, 36, .62) 34%, rgba(12, 26, 36, .18) 52%, rgba(12, 26, 36, 0) 62%),
              linear-gradient(90deg, rgba(12, 26, 36, .35) 0%, rgba(12, 26, 36, 0) 60%);
}

/* nationwide reach emblem beside the map (static, no spin) */
.reach-map .emblem { position: absolute; left: -28px; bottom: 40px; width: clamp(110px, 12vw, 150px); }
@media (max-width: 860px) { .reach-map .emblem { left: auto; right: -8px; bottom: -10px; width: 96px; } }
