/* Greyrock v4.5 (from v4.4): loads after v1's site.css. Header scrim, rebuilt Home, Team tags + bio, map Contact. */

/* 1. Header: a gradient scrim keeps the menu legible over any photo or film -------------- */
.hdr::before { content: ""; position: absolute; inset: 0 0 auto; height: 170px; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 24, 34, .78) 0%, rgba(8, 24, 34, .48) 45%, rgba(8, 24, 34, 0) 100%);
  transition: opacity .25s; }
.hdr.solid::before, .hdr.open::before { opacity: 0; }
.hdr__nav a { text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.hdr.solid .hdr__nav a, .hdr.open .hdr__nav a { text-shadow: none; }
@media (min-width: 821px) { .hdr__nav a { font-size: 15.5px; } }

/* 2. Home hero: big film that opens from a framed inset on load ------------------------------ */
.h4 { position: relative; height: 100vh; min-height: 640px; max-height: 1000px; background: #0d1d27; color: var(--white); display: flex; overflow: hidden; }
.h4__frame { position: absolute; inset: 0; overflow: hidden; }
.h4__media, .h4__shade { position: absolute; inset: 0; }
.h4__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.h4__vid.is-on { opacity: 1; }
.h4__shade { background:
  linear-gradient(90deg, rgba(8, 24, 34, .62) 0%, rgba(8, 24, 34, .28) 45%, rgba(8, 24, 34, 0) 75%),
  linear-gradient(180deg, rgba(8, 24, 34, 0) 50%, rgba(8, 24, 34, .55) 100%); }
.h4__in { position: relative; z-index: 1; width: 100%; margin-top: auto; padding-bottom: 196px; }
.h4__h { color: var(--white); font-size: 58px; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; max-width: 12em; }
.h4__ln { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.h4__ln > span { display: inline-block; }
.h4__sub { font-size: 21px; margin-top: 22px; color: rgba(255, 255, 255, .92); display: flex; align-items: center; gap: 16px; }
.h4__sub::before { content: ""; width: 44px; height: 2px; background: var(--cyan); flex: none; }
.h4__bars { position: absolute; z-index: 1; left: 0; right: 0; bottom: 140px; display: flex; justify-content: flex-end; gap: 8px; }
.h4__bar { width: 54px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.h4__bar i { display: block; height: 100%; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.h4__bar.is-on i { animation: bar var(--d, 7s) linear forwards; }
.h4__bar.is-done i { transform: scaleX(1); }
@keyframes bar { to { transform: scaleX(1); } }

/* load sequence (JS-gated; html.js only, and skipped for reduced motion) */
html.js .h4__frame { clip-path: inset(7% 6% 7% 6%); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1) .1s; }
html.js .h4__ln > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js .h4__sub, html.js .h4__bars { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .8s ease; }
html.js .h4.ready .h4__frame { clip-path: inset(0 0 0 0); }
html.js .h4.ready .h4__ln > span { transform: none; }
html.js .h4.ready .h4__ln:nth-child(1) > span { transition-delay: .55s; }
html.js .h4.ready .h4__ln:nth-child(2) > span { transition-delay: .67s; }
html.js .h4.ready .h4__ln:nth-child(3) > span { transition-delay: .79s; }
html.js .h4.ready .h4__sub { opacity: 1; transform: none; transition-delay: 1.05s; }
html.js .h4.ready .h4__bars { opacity: 1; transform: none; transition-delay: 1.3s; }

/* 3. At a glance: a white panel that rides over the bottom of the film ------------------------- */
.g4 { position: relative; z-index: 3; margin-top: -104px; }
.g4__panel { background: var(--white); box-shadow: 0 24px 60px rgba(16, 40, 56, .14), 0 2px 6px rgba(16, 40, 56, .06); display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; padding: 40px 48px; border-top: 3px solid var(--cyan); }
.g4__h { font-size: 22px; line-height: 1.25; color: var(--teal); }
.g4__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g4__stat { min-width: 0; padding: 4px 0 4px 32px; border-left: 1px solid var(--line); }
.g4__n { font-size: 46px; font-weight: 600; color: var(--navy); line-height: 1.05; letter-spacing: -.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g4__pre, .g4__suf { color: var(--cyan); }
.g4__l { font-size: 14.5px; margin-top: 8px; color: var(--text); }
html.js .g4__panel { opacity: 0; transform: translateY(28px); transition: opacity .9s ease 1.2s, transform .9s cubic-bezier(.2, .8, .2, 1) 1.2s; }
html.js body.h4-ready .g4__panel { opacity: 1; transform: none; }

/* 4. We provide: both offers side by side, nothing hidden behind a click ------------------------ */
.o4s { padding-top: 104px; }
.o4s__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.o4 { min-width: 0; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.o4:hover { border-color: #cfe3e8; box-shadow: 0 14px 34px rgba(16, 40, 56, .08); }
.o4__img { aspect-ratio: 16 / 7; background-size: cover; background-color: var(--light); position: relative; }
.o4__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--teal-2); }
.o4--b .o4__img::after { background: var(--cyan); }
.o4__body { padding: 36px 40px 40px; display: flex; flex-direction: column; flex: 1; }
.o4 h3 { font-size: 27px; }
.o4__line { font-size: 17px; color: var(--teal-2); margin-top: 8px; }
.o4__sub { font-size: 14px; font-weight: 500; color: var(--grey); margin: 26px 0 4px; }
.o4__pts { list-style: none; margin: 0 0 28px; padding: 0; }
.o4__pts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.o4__pts h4 { font-size: 16.5px; color: var(--navy); margin-bottom: 4px; }
.o4__pts p { font-size: 15px; }
.o4__more { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--teal-2); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.o4__more::after { content: ""; width: 20px; height: 1.5px; background: currentColor; transition: width .25s var(--ease); }
.o4__more:hover::after { width: 34px; }

/* 5. The Greyrock difference -------------------------------------------------------------------- */
.d4__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.d4__item { display: flex; gap: 24px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
.d4__item:last-child { border-bottom: 1px solid var(--line); }
.d4__item h3 { font-size: 19px; margin-bottom: 6px; }
.d4__item p { font-size: 15.5px; }
.d4__fig { margin: 0; text-align: center; }
.d4__cycle { width: min(360px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--navy); padding: 6%; }
.d4__cycle img { width: 100%; height: 100%; object-fit: contain; }
html.js .d4__fig.reveal .d4__cycle img { transform: rotate(-60deg); opacity: 0; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .15s, opacity .8s ease .15s; }
html.js .d4__fig.reveal.in .d4__cycle img { transform: none; opacity: 1; }
.d4__fig figcaption { margin: 28px auto 0; max-width: 24em; font-size: 18px; font-weight: 500; color: var(--navy); line-height: 1.5; }

/* 6. Portfolio: two rows drifting in opposite directions ------------------------------------------ */
.p4__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.p4__head .h2 { margin: 0; }
.p4__rows { display: grid; gap: 16px; }
.p4__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.p4__track { display: flex; width: max-content; animation: tick var(--dur, 80s) linear infinite; }
.p4__row--rev .p4__track { animation-direction: reverse; }
.p4__rows:hover .p4__track { animation-play-state: paused; }
.p4__item { flex: none; width: 200px; height: 108px; margin-right: 16px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; padding: 18px 26px; transition: border-color .2s; }
.p4__item:hover { border-color: var(--cyan); }
.p4__item img { width: 100%; height: 100%; object-fit: contain; }

/* 7. Team: office tag on every card, v2-style bio dialog ------------------------------------------- */
.people--v4 .person__office-unused { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 500; color: var(--teal-2); background: #EEF6F8; padding: 4px 10px 4px 8px; border-radius: 999px; }
.people--v4 .person__office svg { flex: none; }
.chip .n { font-variant-numeric: tabular-nums; }

.dlg--bio .dlg__box { width: min(1060px, 100%); }
.dlg--bio .dlg__body { padding: 0; overflow: auto; }
.dlg--bio .dlg__x { background: rgba(255, 255, 255, .9); }
.b4 { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); min-height: 100%; }
.b4__photo { background: #d9dde1; position: relative; min-height: 460px; }
.b4__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.b4__main { padding: 48px 56px 36px 52px; min-width: 0; }
.b4__title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.b4 h2 { font-size: 32px; margin: 6px 0 14px; }
.b4__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.b4__row .person__office { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--teal-2); background: #EEF6F8; padding: 5px 11px 5px 9px; border-radius: 999px; }
.b4__row a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--navy); text-decoration: none; }
.b4__row a svg { color: var(--cyan); flex: none; }
.b4__row a:hover { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.b4__text p { font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.b4__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.b4__facts span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.b4__facts p { font-size: 14.5px; color: var(--navy); line-height: 1.55; }
.dlg--bio .dlg__nav span { max-width: 18em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 8. Contact: full-width photo, map beside compact office cards ------------------------------------- */
.c4hero { position: relative; height: min(76vh, 720px); min-height: 460px; display: flex; overflow: hidden; background: var(--navy); color: var(--white); }
.c4hero__img { position: absolute; inset: 0; background: url("../../../images/live/pageHeader/contact-banner.jpg") center 42% / cover no-repeat; }
.c4hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 35, 0) 55%, rgba(10, 25, 35, .6) 100%); }
.c4hero__in { position: relative; z-index: 1; width: 100%; margin-top: auto; padding-bottom: 52px; }
.c4hero h1 { color: var(--white); font-size: 48px; letter-spacing: -.02em; }
.c4hero h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--cyan); margin-top: 18px; }

.c4 { padding-top: 80px; }
.c4__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.c4__map { min-width: 0; background: var(--light); border: 1px solid var(--line); padding: 24px 24px 18px; display: flex; flex-direction: column; }
.c4__map svg { width: 100%; height: auto; display: block; overflow: visible; }
.c4__state { fill: #DFE7EC; stroke: #fff; stroke-width: 1; }
.c4__hq { fill: var(--navy); opacity: .5; transition: opacity .2s, r .2s; cursor: pointer; }
.c4__hq:hover, .c4__hq:focus { opacity: 1; outline: none; }
.c4__arc { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .9; }
.c4__off circle.dot { fill: var(--cyan); stroke: #fff; stroke-width: 2.5; transition: r .2s; }
.c4__off circle.ring { fill: none; stroke: var(--cyan); stroke-width: 1.5; opacity: 0; }
.c4__off rect { fill: var(--navy); rx: 3; transition: fill .2s; }
.c4__off text { fill: #fff; font: 600 13px Inter, sans-serif; }
.c4__off.is-hot circle.dot { r: 10; }
.c4__off.is-hot rect { fill: var(--teal-2); }
.c4__off { cursor: pointer; }
html.js .c4__map:not(.drawn) .c4__arc { stroke-dashoffset: 0; }
.c4__map.drawn .c4__off circle.ring { animation: ring 2.4s ease-out 3; }
@keyframes ring { 0% { r: 8; opacity: .8; } 100% { r: 26; opacity: 0; } }
.c4__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 13px; color: var(--text); }
.c4__legend span { display: inline-flex; align-items: center; gap: 8px; }
.c4__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.c4__legend i.hq { width: 7px; height: 7px; background: var(--navy); opacity: .5; }
.c4__tip { position: absolute; pointer-events: none; z-index: 5; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(16, 40, 56, .14); padding: 10px 14px; min-width: 180px; max-width: 260px; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; }
.c4__tip.on { opacity: 1; }
.c4__tip strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: 4px; }
.c4__tip span { display: block; font-size: 14px; color: var(--navy); font-weight: 500; line-height: 1.4; }
.c4__mapbox { position: relative; }

.c4__offices { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.o4c { flex: 1; border: 1px solid var(--line); background: var(--white); padding: 22px 26px; border-left: 3px solid var(--line); transition: border-color .2s, box-shadow .2s; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4px 20px; align-content: center; }
.o4c.is-hot { border-left-color: var(--cyan); box-shadow: 0 10px 26px rgba(16, 40, 56, .08); }
.o4c h3 { grid-column: 1 / -1; font-size: 19px; color: var(--teal); margin-bottom: 6px; }
.o4c address { font-style: normal; font-size: 14.5px; line-height: 1.6; }
.o4c ul { list-style: none; margin: 0; padding: 0; }
.o4c li { display: flex; flex-direction: column; padding: 2px 0 6px; font-size: 14.5px; line-height: 1.45; }
.o4c li strong { font-weight: 500; color: var(--navy); }
.o4c li a { color: var(--teal-2); text-decoration: none; }
.o4c li a:hover { text-decoration: underline; }

/* 9. Responsive ------------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .g4__panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .g4__stat:first-child { border-left: 0; padding-left: 0; }
  .c4__grid { grid-template-columns: minmax(0, 1fr); }
  .c4__offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o4c { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .hdr::before { height: 120px; }
  .h4 { height: 92vh; min-height: 560px; }
  .h4__h { font-size: 38px; }
  .h4__sub { font-size: 17px; }
  .h4__in { padding-bottom: 170px; }
  .h4__bars { bottom: 128px; justify-content: flex-start; padding: 0 var(--gut); }
  .h4__bar { width: 40px; }
  .g4 { margin-top: -88px; }
  .g4__panel { padding: 28px 24px; }
  .g4__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .g4__stat { padding-left: 16px; }
  .g4__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .g4__n { font-size: 32px; }
  .g4__l { font-size: 13.5px; }
  .o4s { padding-top: 72px; }
  .o4s__grid, .d4__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .o4__body { padding: 28px 24px 30px; }
  .o4 h3 { font-size: 23px; }
  .p4__head { flex-direction: column; align-items: flex-start; }
  .p4__item { width: 150px; height: 86px; padding: 14px 18px; }
  .people--v4 .person__office { font-size: 11.5px; }
  .b4 { grid-template-columns: minmax(0, 1fr); }
  .b4__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .b4__main { padding: 28px 22px 24px; }
  .b4 h2 { font-size: 26px; }
  .b4__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dlg--bio .dlg__nav span { max-width: 9em; }
  .c4hero { height: 62vh; min-height: 380px; }
  .c4hero h1 { font-size: 36px; }
  .c4 { padding-top: 56px; }
  .c4__map { padding: 14px 12px 12px; }
  .c4__offices { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html.js .h4__frame { clip-path: none; transition: none; }
  html.js .h4__ln > span, html.js .h4__sub, html.js .h4__bars, html.js .g4__panel { transform: none; opacity: 1; transition: none; }
  html.js .d4__fig.reveal .d4__cycle img { transform: none; opacity: 1; transition: none; }
  .p4__track { animation: none; flex-wrap: wrap; width: auto; }
  .p4__item[aria-hidden] { display: none; }
  .h4__bar.is-on i { animation: none; transform: scaleX(1); }
}

/* 10. v4.1 ----------------------------------------------------------------------------------------- */
.people--v4 .person__img { position: relative; }
.person__loc { position: absolute; left: 0; bottom: 0; z-index: 1; background: rgba(32, 58, 83, .94); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; padding: 9px 12px 9px 11px; border-left: 3px solid var(--cyan); }
.b4__photo .person__loc { font-size: 11.5px; padding: 10px 14px 10px 12px; }
.c4__reveal { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; }
.o4c__person { border: 0; background: none; padding: 0; font: inherit; font-weight: 500; color: var(--navy); text-align: left; text-decoration: underline; text-decoration-color: rgba(0, 168, 203, .45); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .15s, text-decoration-color .15s; align-self: flex-start; }
.o4c__person:hover, .o4c__person:focus-visible { color: var(--teal-2); text-decoration-color: var(--cyan); outline: none; }
@media (max-width: 820px) { .person__loc { font-size: 10px; letter-spacing: .1em; padding: 7px 9px 7px 8px; } }
.b4 h2 { margin-bottom: 22px; }
.b4__facts--3 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1.1fr); }
.b4__facts a { color: var(--teal-2); text-decoration: none; overflow-wrap: anywhere; }
.b4__facts a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .b4__facts--3 { grid-template-columns: minmax(0, 1fr); } }

/* 11. Home v4.1 -------------------------------------------------------------------------------------- */
/* hero: one word per film */
.hx { position: relative; height: 100vh; min-height: 640px; max-height: 1000px; background: #0d1d27; color: var(--white); display: flex; overflow: hidden; }
.hx__frame, .hx__media, .hx__shade { position: absolute; inset: 0; }
.hx__frame { overflow: hidden; }
.hx__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.hx__vid.is-on { opacity: 1; }
.hx__shade { background: linear-gradient(90deg, rgba(8, 24, 34, .66) 0%, rgba(8, 24, 34, .3) 42%, rgba(8, 24, 34, 0) 70%), linear-gradient(180deg, rgba(8, 24, 34, 0) 45%, rgba(8, 24, 34, .62) 100%); }
.hx__in { position: relative; z-index: 1; width: 100%; margin-top: auto; padding-bottom: 150px; }
.hx__h { color: var(--white); font-weight: 600; margin: 0; }
.hx__words { display: block; position: relative; height: 1.15em; font-size: 68px; letter-spacing: -.03em; line-height: 1.1; overflow: hidden; }
.hx__w { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(70%); transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
.hx__w.is-on { opacity: 1; transform: none; }
.hx__w.is-out { opacity: 0; transform: translateY(-70%); }
.hx__sub { display: flex; align-items: center; gap: 16px; font-size: 24px; font-weight: 400; letter-spacing: -.005em; margin-top: 16px; color: rgba(255, 255, 255, .94); }
.hx__sub::before { content: ""; width: 44px; height: 2px; background: var(--cyan); flex: none; }
.hx__tabs { position: absolute; z-index: 1; left: 0; right: 0; bottom: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; }
.hx__tab { min-width: 0; border: 0; background: none; padding: 8px 0 0; text-align: left; color: rgba(255, 255, 255, .62); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.hx__tab:hover, .hx__tab.is-on { color: var(--white); }
.hx__tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.hx__tab i { display: block; height: 2px; margin-top: 12px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hx__tab b { display: block; height: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
@keyframes hxbar { to { transform: scaleX(1); } }
html.js .hx__frame { clip-path: inset(7% 6% 7% 6%); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1) .05s; }
html.js .hx__words, html.js .hx__sub, html.js .hx__tabs { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
html.js .hx.ready .hx__frame { clip-path: inset(0 0 0 0); }
html.js .hx.ready .hx__words { opacity: 1; transform: none; transition-delay: .6s; }
html.js .hx.ready .hx__sub { opacity: 1; transform: none; transition-delay: .85s; }
html.js .hx.ready .hx__tabs { opacity: 1; transform: none; transition-delay: 1.1s; }

/* stats */
.sx { padding: 76px 0 70px; border-bottom: 1px solid var(--line); }
.sx__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx__stat { min-width: 0; padding: 4px 0 4px 32px; border-left: 1px solid var(--line); }
.sx__stat:first-child { border-left: 0; padding-left: 0; }
.sx__n { font-size: 54px; font-weight: 600; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx__a { color: var(--cyan); }
.sx__l { font-size: 15.5px; margin-top: 10px; color: var(--text); }

/* what we provide: two halves, both visible */
.wx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wx__half { min-width: 0; position: relative; height: 440px; display: flex; overflow: hidden; color: var(--white); text-decoration: none; }
.wx__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.wx__half::before { content: ""; position: absolute; inset: 0; z-index: 1; transition: opacity .3s; }
.wx__half--a::before { background: linear-gradient(180deg, rgba(1, 104, 127, .55) 0%, rgba(24, 84, 96, .92) 100%); }
.wx__half--b::before { background: linear-gradient(180deg, rgba(32, 58, 83, .5) 0%, rgba(32, 58, 83, .93) 100%); }
.wx__half:hover::before { opacity: .88; }
.wx__body { position: relative; z-index: 2; margin-top: auto; padding: 0 56px 52px; display: flex; flex-direction: column; max-width: 560px; }
.wx__half--a .wx__body { margin-left: auto; }
.wx__h { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.wx__p { font-size: 18px; margin-top: 12px; color: rgba(255, 255, 255, .9); }
.wx__more { margin-top: 26px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.wx__more::after { content: ""; width: 20px; height: 1.5px; background: var(--cyan); transition: width .25s var(--ease); }
.wx__half:hover .wx__more::after { width: 36px; }

/* the Greyrock difference */
.dx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.dx__h { margin: 0; position: sticky; top: 110px; }
.dx__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.dx__item { min-width: 0; position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.dx__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 56px; background: var(--cyan); transform-origin: left; }
html.js .dx__item.reveal::before { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .8, .2, 1) .25s; }
html.js .dx__item.reveal.in::before { transform: none; }
.dx__item h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.dx__item p { font-size: 15.5px; }

/* portfolio map */
.mx__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 28px; }
.mx__head .h2 { margin: 0; margin-right: auto; }
.mx__keys { display: flex; gap: 8px; flex-wrap: wrap; }
.mx__map { background: var(--white); border: 1px solid var(--line); padding: 28px 32px 20px; }
.mx__box { position: relative; }
.mx__box svg { display: block; width: 100%; height: auto; overflow: visible; }
.mx__state { fill: #E3EAEE; stroke: #fff; stroke-width: 1; }
.mx__dot { cursor: pointer; transition: opacity .25s; outline: none; }
.mx__pt { fill: #7E93A2; stroke: #fff; stroke-width: 2; transition: fill .2s; }
.mx__dot.is-cur .mx__pt { fill: var(--cyan); }
.mx__halo { fill: var(--cyan); opacity: 0; transition: opacity .2s; }
.mx__dot:hover .mx__halo, .mx__dot:focus .mx__halo, .mx__dot.is-hot .mx__halo { opacity: .22; }
.mx__dot:hover .mx__pt, .mx__dot:focus .mx__pt, .mx__dot.is-hot .mx__pt { fill: var(--navy); }
.mx__dot text { fill: #fff; font: 700 9.5px Inter, sans-serif; pointer-events: none; }
.mx__dot.is-off { opacity: .14; pointer-events: none; }
.mx__card { position: absolute; z-index: 5; width: 310px; max-height: 330px; overflow: auto; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(16, 40, 56, .16); padding: 14px 16px 8px; opacity: 0; pointer-events: none; transform: translate(18px, -50%); transition: opacity .15s; }
.mx__card.flip { transform: translate(calc(-100% - 18px), -50%); }
.mx__card.low { transform: translate(18px, -14%); }
.mx__card.flip.low { transform: translate(calc(-100% - 18px), -14%); }
.mx__card.on { opacity: 1; pointer-events: auto; }
.mx__city { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-weight: 600; margin-bottom: 6px; }
.mx__co { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.mx__co:first-of-type { border-top: 0; }
.mx__logo { height: 44px; display: grid; place-items: center; }
.mx__logo img { width: 100%; height: 100%; object-fit: contain; }
.mx__co strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.mx__co em { display: block; font-style: normal; font-size: 12.5px; color: var(--grey); margin-top: 2px; }
.mx__co:hover strong, .mx__co:focus-visible strong { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.mx__note { font-size: 13px; color: var(--grey); margin-top: 10px; }

@media (max-width: 1080px) {
  .dx__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dx__h { position: static; }
}
@media (max-width: 820px) {
  .hx { height: 92vh; min-height: 560px; }
  .hx__words { font-size: 44px; }
  .hx__sub { font-size: 18px; }
  .hx__in { padding-bottom: 130px; }
  .hx__tabs { bottom: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 var(--gut); }
  .hx__tab { font-size: 10.5px; letter-spacing: .1em; }
  .sx { padding: 48px 0; }
  .sx__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .sx__stat { padding-left: 18px; }
  .sx__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .sx__n { font-size: 36px; }
  .sx__l { font-size: 14px; }
  .wx { grid-template-columns: minmax(0, 1fr); }
  .wx__half { height: 320px; }
  .wx__body { padding: 0 var(--gut) 36px; margin-left: 0 !important; }
  .wx__h { font-size: 27px; }
  .wx__p { font-size: 16px; }
  .dx__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mx__head .h2 { width: 100%; }
  .mx__map { padding: 12px 10px 10px; }
  .mx__card { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; transform: none !important; max-height: 50vh; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .hx__frame { clip-path: none; transition: none; }
  html.js .hx__words, html.js .hx__sub, html.js .hx__tabs { opacity: 1; transform: none; transition: none; }
  .hx__w { transition: none; }
  html.js .dx__item.reveal::before { transform: none; transition: none; }
}

/* 12. Team variants (review device: Team V1 / V2 / V3 behind the nav dropdown) ----------------------- */
.nowrap, .b4__facts a, .bC__dl a, .bB__btn span { white-space: nowrap; }
.b4__facts--3 { grid-template-columns: auto auto minmax(0, 1fr); gap: 20px 36px; }
.b4__facts a { overflow-wrap: normal; }
.people--a .person__img, .people--c .person__img { position: relative; }

/* V2 card: quiet city line under name and title */
.people--b .person__body { padding-top: 18px; }
.people--b .person__name { margin-top: 0; }
.person__title.tB { margin-top: 4px; font-size: 12.5px; }
.tagB { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--text); }
.tagB::before { content: ""; width: 18px; height: 2px; background: var(--cyan); flex: none; }

/* V3 card: white chip, photo top right */
.tagC { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; padding: 6px 10px; border-radius: 2px; box-shadow: 0 2px 8px rgba(16, 40, 56, .12); }

/* V2 dialog: header band + full-width bio */
.dlg--b .dlg__box { width: min(900px, 100%); }
.dlg--b .dlg__body { padding: 0; }
.bB__head { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 32px; align-items: end; padding: 40px 48px 32px; background: var(--light); border-bottom: 1px solid var(--line); }
.bB__photo { aspect-ratio: 4 / 5; background: #d9dde1; overflow: hidden; }
.bB__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.bB h2 { font-size: 32px; margin: 6px 0 8px; }
.bB .tagB { margin-top: 0; }
.bB__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.bB__btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--white); padding: 9px 14px; font-size: 14px; color: var(--navy); text-decoration: none; transition: border-color .15s, color .15s; }
.bB__btn svg { color: var(--cyan); flex: none; }
.bB__btn:hover { border-color: var(--teal-2); color: var(--teal-2); }
.bB__body { padding: 32px 48px 28px; }
.bB__edu { font-size: 14.5px; color: var(--navy); margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.bB__edu span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-right: 14px; }

/* V3 dialog: text left, photo + details right */
.dlg--c .dlg__box { width: min(1020px, 100%); }
.dlg--c .dlg__body { padding: 0; }
.bC { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.bC__main { padding: 52px 48px 36px 52px; min-width: 0; }
.bC h2 { font-size: 34px; margin: 6px 0 22px; padding-bottom: 20px; border-bottom: 3px solid var(--cyan); display: inline-block; }
.bC__side { background: var(--light); border-left: 1px solid var(--line); min-width: 0; }
.bC__photo { aspect-ratio: 1 / 1; overflow: hidden; background: #d9dde1; }
.bC__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.bC__dl { margin: 0; padding: 10px 28px 22px; }
.bC__dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bC__dl div:last-child { border-bottom: 0; }
.bC__dl dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 3px; }
.bC__dl dd { margin: 0; font-size: 14.5px; color: var(--navy); }
.bC__dl a { color: var(--teal-2); text-decoration: none; }
.bC__dl a:hover { text-decoration: underline; }

/* nav dropdown for Team V1 / V2 / V3 */
.hdr__nav li { position: relative; }
.navdd { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 150px; list-style: none; margin: 0; padding: 8px 0; background: var(--white); box-shadow: 0 14px 34px rgba(16, 40, 56, .16); border-top: 2px solid var(--cyan); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; display: block !important; }
.hdr__nav li:hover > .navdd, .hdr__nav li:focus-within > .navdd { opacity: 1; visibility: visible; transform: translate(-50%, 10px); }
.hdr__nav .navdd a { display: block; color: var(--navy) !important; text-shadow: none; padding: 9px 18px; font-size: 14px; white-space: nowrap; }
.hdr__nav .navdd a::after { display: none; }
.hdr__nav .navdd a:hover, .hdr__nav .navdd a[aria-current] { background: var(--light); color: var(--teal-2) !important; }

@media (max-width: 820px) {
  .bB__head { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 52px 20px 22px; align-items: start; }
  .bB h2 { font-size: 24px; }
  .bB__btns { grid-column: 1 / -1; }
  .bB__body { padding: 22px 20px; }
  .bB__btn span { white-space: normal; overflow-wrap: anywhere; }
  .bC { grid-template-columns: minmax(0, 1fr); }
  .bC__side { order: -1; border-left: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); }
  .bC__photo { aspect-ratio: 4 / 5; }
  .bC__dl { padding: 4px 16px 10px; }
  .bC__main { padding: 24px 20px; }
  .bC h2 { font-size: 26px; }
  .b4__facts--3 { grid-template-columns: minmax(0, 1fr); }
  .navdd { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 16px; }
  .hdr__nav .navdd a { padding: 10px 0; font-size: 15px; border-bottom: 0; }
}

/* 13. Header that starts solid (homes whose hero sits on white) ----------------------------------- */
.solidhdr .hdr { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.solidhdr .hdr::before { opacity: 0; }
.solidhdr .hdr .logo-light { opacity: 0; }
.solidhdr .hdr .logo-dark { opacity: 1; }
.solidhdr .hdr .hdr__nav a { color: var(--navy); text-shadow: none; }
.solidhdr .hdr__toggle span { background: var(--navy) !important; }
.navdd__sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.acc { color: var(--cyan); }

/* 14. Home V1: split hero ------------------------------------------------------------------------- */
.hA { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 100vh; min-height: 680px; max-height: 940px; padding-top: 72px; background: var(--white); }
.hA__text { display: flex; align-items: center; justify-content: flex-end; padding: 48px 64px 48px var(--gut); min-width: 0; }
.hA__in { width: 100%; max-width: 500px; }
.hA__h { font-size: 56px; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; color: var(--navy); }
.hA__h span { display: block; }
.hA__h span:nth-child(2) { color: var(--teal-2); }
.hA__h span:nth-child(3) { color: var(--cyan); }
.hA__sub { font-size: 20px; color: var(--text); margin-top: 22px; }
.hA__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.hA__stat { min-width: 0; }
.hA__n { font-size: 38px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hA__l { font-size: 14px; margin-top: 8px; }
.hA__film { position: relative; overflow: hidden; background: #0d1d27; min-width: 0; }
.fv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.fv.is-on { opacity: 1; }
.hA__ticks { position: absolute; right: 32px; bottom: 32px; display: flex; gap: 6px; }
.hA__ticks i { width: 28px; height: 3px; background: rgba(255, 255, 255, .45); transition: background .3s, width .3s; }
.hA__ticks i.on { background: var(--white); width: 44px; }
html.js .hA__film { clip-path: inset(0 0 0 100%); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) .1s; }
html.js .hA__h span, html.js .hA__sub, html.js .hA__stats { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
html.js .hA.ready .hA__film { clip-path: inset(0); }
html.js .hA.ready .hA__h span, html.js .hA.ready .hA__sub, html.js .hA.ready .hA__stats { opacity: 1; transform: none; }
html.js .hA.ready .hA__h span:nth-child(2) { transition-delay: .12s; }
html.js .hA.ready .hA__h span:nth-child(3) { transition-delay: .24s; }
html.js .hA.ready .hA__sub { transition-delay: .45s; }
html.js .hA.ready .hA__stats { transition-delay: .65s; }

.oA { background: var(--navy); }
.oA__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oA__item { min-width: 0; padding: 64px 56px 60px 0; color: var(--white); text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.oA__item + .oA__item { padding: 64px 0 60px 56px; border-left: 1px solid rgba(255, 255, 255, .16); }
.oA__item h2 { color: var(--white); font-size: 32px; letter-spacing: -.02em; }
.oA__item p { font-size: 18px; color: rgba(255, 255, 255, .85); }
.oA__more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--cyan-2); display: inline-flex; align-items: center; gap: 10px; }
.oA__more::after { content: ""; width: 20px; height: 1.5px; background: currentColor; transition: width .25s var(--ease); }
.oA__item:hover .oA__more::after { width: 36px; }

.dA__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.dA__grid .h2 { margin: 0; }
.dA__item { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
.dA__item:last-child { border-bottom: 1px solid var(--line); }
.dA__item h3 { font-size: 19px; line-height: 1.35; }
.dA__item p { font-size: 15.5px; }

.rA__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.rA__head .h2 { margin: 0; }
.rA__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rA__card { min-width: 0; background: var(--white); border: 1px solid var(--line); padding: 24px 24px 26px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.rA__card:hover { border-color: var(--cyan); box-shadow: 0 12px 28px rgba(16, 40, 56, .08); }
.rA__logo { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.rA__logo img { max-height: 64px; max-width: 70%; width: auto; height: auto; object-fit: contain; }
.rA__date { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 600; padding-top: 16px; border-top: 1px solid var(--line); }
.rA__t { font-size: 15px; line-height: 1.55; color: var(--navy); margin-top: 8px; }

/* 15. Home V2: full-bleed film, stats bar --------------------------------------------------------- */
.hB { position: relative; height: 100vh; min-height: 660px; max-height: 1000px; color: var(--white); display: flex; flex-direction: column; overflow: hidden; background: #0d1d27; }
.hB__frame, .hB__media, .hB__shade { position: absolute; inset: 0; }
.hB__shade { background: radial-gradient(ellipse at 50% 55%, rgba(8, 24, 34, .45) 0%, rgba(8, 24, 34, .2) 60%), linear-gradient(180deg, rgba(8, 24, 34, 0) 55%, rgba(8, 24, 34, .5) 100%); }
.hB__in { position: relative; z-index: 1; margin-top: auto; margin-bottom: auto; text-align: center; padding-top: 60px; }
.hB__words { display: flex; justify-content: center; gap: 22px; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.hB__words span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); vertical-align: middle; margin: -3px 22px 0 0; }
.hB__h { color: var(--white); font-size: 60px; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 22px auto 0; max-width: 13em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hB__bar { position: relative; z-index: 1; background: rgba(13, 32, 45, .55); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); border-top: 1px solid rgba(255, 255, 255, .14); }
.hB__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hB__stat { min-width: 0; padding: 26px 0 26px 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hB__stat:first-child { border-left: 0; padding-left: 0; }
.hB__n { font-size: 38px; font-weight: 600; letter-spacing: -.02em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hB__n .acc { color: var(--cyan-2); }
.hB__l { font-size: 14px; margin-top: 8px; color: rgba(255, 255, 255, .82); }
html.js .hB__frame { clip-path: inset(6% 5% 6% 5%); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1) .05s; }
html.js .hB__words, html.js .hB__h, html.js .hB__bar { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js .hB.ready .hB__frame { clip-path: inset(0); }
html.js .hB.ready .hB__words { opacity: 1; transform: none; transition-delay: .55s; }
html.js .hB.ready .hB__h { opacity: 1; transform: none; transition-delay: .75s; }
html.js .hB.ready .hB__bar { opacity: 1; transform: none; transition-delay: 1.05s; }

.sB__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sB__head .h2 { margin: 0; }
.sB__key { font-size: 13.5px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.sB__key i, .sB__list li.rep::after { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.sB__list { list-style: none; margin: 0; padding: 0; columns: 4; column-gap: 40px; }
.sB__list li { break-inside: avoid; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 500; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sB__list li.rep::after { content: ""; flex: none; }

/* 16. Home V3: masthead + cinematic film --------------------------------------------------------- */
.hC { padding-top: 72px; background: var(--white); }
.hC__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 64px; padding-bottom: 40px; }
.hC__h { font-size: 58px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--navy); max-width: 11em; }
.hC__sub { font-size: 21px; color: var(--teal-2); padding-bottom: 8px; border-left: 3px solid var(--cyan); padding-left: 20px; }
.hC__film { position: relative; height: 58vh; min-height: 380px; max-height: 620px; overflow: hidden; background: #0d1d27; }
.hC__stats { position: relative; z-index: 2; margin-top: -64px; background: var(--white); box-shadow: 0 20px 50px rgba(16, 40, 56, .12); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 30px 40px; }
.hC__stat { min-width: 0; padding-left: 28px; border-left: 1px solid var(--line); }
.hC__stat:first-child { border-left: 0; padding-left: 0; }
.hC__n { font-size: 42px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hC__l { font-size: 14px; margin-top: 8px; }
html.js .hC__film { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) .25s; }
html.js .hC__h, html.js .hC__sub, html.js .hC__stats { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js .hC.ready .hC__film { clip-path: inset(0); }
html.js .hC.ready .hC__h { opacity: 1; transform: none; }
html.js .hC.ready .hC__sub { opacity: 1; transform: none; transition-delay: .2s; }
html.js .hC.ready .hC__stats { opacity: 1; transform: none; transition-delay: 1.05s; }

.oC { padding: 72px 0 24px; }
.oC__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 48px; gap: 32px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; transition: padding .25s var(--ease); }
.oC__row:last-child { border-bottom: 1px solid var(--line); }
.oC__row h2 { font-size: 30px; letter-spacing: -.02em; }
.oC__row p { font-size: 18px; color: var(--text); }
.oC__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--teal-2); transition: background .2s, color .2s, border-color .2s; }
.oC__row:hover .oC__arrow { background: var(--teal-2); border-color: var(--teal-2); color: var(--white); }
.oC__row:hover h2 { color: var(--teal-2); }

.dC { background: var(--navy); }
.dC .h2 { color: var(--white); }
.dC__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.dC__item { min-width: 0; padding: 32px 36px 8px 0; }
.dC__item + .dC__item { padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, .18); }
.dC__item h3 { color: var(--white); font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.dC__item p { color: rgba(255, 255, 255, .8); font-size: 15.5px; }

.fC__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.fC__head .h2 { margin: 0; }
.fC__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fC__grid li { min-width: 0; }
.fC__card { position: relative; display: grid; place-items: center; height: 150px; padding: 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.fC__card img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.fC__meta { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; background: var(--teal); color: var(--white); opacity: 0; transition: opacity .2s; }
.fC__meta strong { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.fC__meta span { font-size: 12.5px; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.fC__card:hover .fC__meta, .fC__card:focus-visible .fC__meta { opacity: 1; }

/* 17. Footers ------------------------------------------------------------------------------------- */
.ft { display: none; }
.fx { font-size: 14.5px; }
.fx a { text-decoration: none; color: inherit; transition: color .15s; }
.fx__logo img { height: 38px; width: auto; }
.fx__nav, .fx__legal, .fx__cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.fx__bot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; font-size: 13.5px; }
.fx__copy { margin-right: auto; }
.fx__legal { gap: 24px; }
.fx--a { background: var(--light); border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--text); }
.fx--a .fx__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.fx--a .fx__nav { gap: 30px; font-weight: 500; color: var(--navy); }
.fx--a a:hover { color: var(--teal-2); }
.fx--a .fx__mid { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fx__lbl { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.fx--a .fx__cities { gap: 10px 30px; color: var(--navy); }
.fx--a .fx__cities li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); vertical-align: middle; margin: -2px 30px 0 -16px; }
.fx--a .fx__bot { color: var(--grey); }

.fx--b { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; }
.fx--b .fx__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fx--b .fx__offs { display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; gap: 32px; }
.fx--b h4 { color: var(--white); font-size: 15px; margin-bottom: 10px; }
.fx--b .fx__off p span { display: block; white-space: nowrap; line-height: 1.65; }
.fx--b .fx__nav--sm { gap: 22px; }
.fx--b a:hover { color: var(--white); }
.fx--b .fx__bot { color: rgba(255, 255, 255, .6); }

.fx--c { background: var(--white); border-top: 3px solid var(--cyan); padding: 64px 0 28px; color: var(--text); }
.fx--c .fx__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.fx__brand p { margin-top: 16px; font-size: 15px; color: var(--teal-2); }
.fx--c h4 { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; font-weight: 600; }
.fx--c .fx__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fx--c .fx__col a { color: var(--navy); font-weight: 500; }
.fx--c a:hover { color: var(--teal-2); }
.fx__note { font-size: 12.5px; line-height: 1.6; color: var(--grey); padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.fx--c .fx__bot { color: var(--grey); }

.fo { padding-top: 64px; }
.fo + .fo { border-top: 8px solid var(--light); }
.fo__lbl { margin-bottom: 24px; }
.fo__lbl h2 { font-size: 22px; }
.fo__lbl p { font-size: 15px; margin-top: 4px; }

/* 18. Terms ---------------------------------------------------------------------------------------- */
.tx__wrap { max-width: 860px; }
.tx__upd { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 32px; }
.tx__sec { padding: 28px 0; border-top: 1px solid var(--line); }
.tx__sec h2 { font-size: 21px; color: var(--teal); margin-bottom: 12px; }
.tx__sec p { font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }

/* 19. Contact legibility + no wrapping addresses --------------------------------------------------- */
.c4hero__shade { background: linear-gradient(0deg, rgba(8, 24, 34, .82) 0%, rgba(8, 24, 34, .45) 32%, rgba(8, 24, 34, 0) 60%), linear-gradient(90deg, rgba(8, 24, 34, .55) 0%, rgba(8, 24, 34, 0) 50%); }
.c4hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.o4c address { white-space: nowrap; }

@media (max-width: 1080px) {
  .hA { grid-template-columns: minmax(0, 1fr); height: auto; max-height: none; }
  .hA__text { justify-content: flex-start; padding: 48px var(--gut); }
  .hA__in { max-width: none; }
  .hA__film { height: 56vh; min-height: 340px; }
  .rA__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sB__list { columns: 3; }
  .fx--b .fx__top, .fx--c .fx__top { grid-template-columns: minmax(0, 1fr); }
  .fx--c .fx__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx--c .fx__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .hA { padding-top: var(--hdr); }
  .hA__h { font-size: 40px; }
  .hA__n { font-size: 30px; }
  .oA__grid { grid-template-columns: minmax(0, 1fr); }
  .oA__item, .oA__item + .oA__item { padding: 40px 0; border-left: 0; }
  .oA__item + .oA__item { border-top: 1px solid rgba(255, 255, 255, .16); }
  .oA__item h2 { font-size: 26px; }
  .dA__grid, .dA__item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dA__grid { gap: 28px; }
  .rA__grid { grid-template-columns: minmax(0, 1fr); }
  .rA__head, .sB__head, .fC__head { flex-direction: column; align-items: flex-start; }
  .hB__h { font-size: 36px; }
  .hB__words { font-size: 11px; gap: 10px; letter-spacing: .14em; }
  .hB__words span + span::before { margin-right: 10px; }
  .hB__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hB__stat { padding: 16px 0 16px 16px; }
  .hB__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hB__n { font-size: 28px; }
  .hB__l { font-size: 12.5px; }
  .sB__list { columns: 1; }
  .hC { padding-top: var(--hdr); }
  .hC__top { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 36px; padding-bottom: 28px; }
  .hC__h { font-size: 38px; }
  .hC__sub { font-size: 17px; }
  .hC__film { height: 42vh; min-height: 260px; }
  .hC__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; padding: 22px 20px; margin-top: -40px; }
  .hC__stat { padding-left: 14px; }
  .hC__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hC__n { font-size: 30px; }
  .oC__row { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px 16px; padding: 26px 0; }
  .oC__row h2 { font-size: 24px; }
  .oC__row p { grid-column: 1; font-size: 16px; }
  .oC__arrow { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; }
  .dC__grid { grid-template-columns: minmax(0, 1fr); }
  .dC__item, .dC__item + .dC__item { padding: 24px 0; border-left: 0; }
  .dC__item + .dC__item { border-top: 1px solid rgba(255, 255, 255, .18); }
  .fC__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fC__card { height: 110px; padding: 18px 20px; }
  .fx--a .fx__top { flex-direction: column; align-items: flex-start; }
  .fx--a .fx__nav { gap: 12px 20px; }
  .fx--a .fx__mid { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fx--b .fx__offs { grid-template-columns: minmax(0, 1fr); }
  .fx--c .fx__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx__copy { margin-right: 0; width: 100%; }
  .o4c address { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .hA__film, html.js .hB__frame, html.js .hC__film { clip-path: none; transition: none; }
  html.js .hA__h span, html.js .hA__sub, html.js .hA__stats, html.js .hB__words, html.js .hB__h, html.js .hB__bar, html.js .hC__h, html.js .hC__sub, html.js .hC__stats { opacity: 1; transform: none; transition: none; }
}
/* align V1's text panel to the site grid; films start below the solid header */
.hA, .hC { padding-top: var(--hdr); }
.hA__text { padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); justify-content: flex-start; }
.hA__in { max-width: 480px; }
.hC__sub { justify-self: end; max-width: 22em; }
@media (max-width: 1080px) { .hA__text { padding-left: var(--gut); } }

/* 20. v4.2: office cards give the address and the contacts their own room ------------------------ */
.c4__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.o4c { grid-template-columns: max-content minmax(0, 1fr); column-gap: 0; padding: 24px 28px; }
.o4c address { padding-right: 28px; }
.o4c ul { padding-left: 28px; border-left: 1px solid var(--line); }
.o4c li + li { margin-top: 6px; }
@media (max-width: 1080px) {
  .o4c { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .o4c address { padding-right: 0; }
  .o4c ul { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid var(--line); }
}
.c4__map { justify-content: center; }
@media (min-width: 1081px) { .o4c { grid-template-columns: 200px minmax(0, 1fr); } }

/* 21. v4.3 homes (V4 / V5 / V6) ------------------------------------------------------------------- */
/* hero, after Home V2 */
.hz { position: relative; height: 100vh; min-height: 680px; max-height: 1000px; color: var(--white); display: flex; flex-direction: column; overflow: hidden; background: #0d1d27; }
.hz__frame, .hz__media, .hz__shade { position: absolute; inset: 0; }
.hz__shade { background: radial-gradient(ellipse at 50% 50%, rgba(8, 24, 34, .5) 0%, rgba(8, 24, 34, .22) 65%), linear-gradient(180deg, rgba(8, 24, 34, 0) 55%, rgba(8, 24, 34, .55) 100%); }
.hz__in { position: relative; z-index: 1; margin-top: auto; margin-bottom: auto; text-align: center; padding-top: 64px; }
.hz__words { display: flex; justify-content: center; gap: 22px; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.hz__words span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); vertical-align: middle; margin: -3px 22px 0 0; }
.hz__words--cycle { position: relative; height: 1.4em; font-size: 17px; overflow: hidden; }
.hz__words--cycle .hz__w { position: absolute; left: 0; right: 0; opacity: 0; transform: translateY(100%); transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.hz__words--cycle .hz__w::before { display: none; }
.hz__words--cycle .hz__w.is-on { opacity: 1; transform: none; }
.hz__words--cycle .hz__w.is-out { opacity: 0; transform: translateY(-100%); }
.hz__h { color: var(--white); font-size: 58px; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 22px auto 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
@media (min-width: 1081px) { .hz__h { white-space: nowrap; } }
.hz--v5 .hz__in { text-align: left; margin-top: auto; margin-bottom: 0; padding-bottom: 64px; }
.hz--v5 .hz__words { justify-content: flex-start; }
.hz--v5 .hz__h { margin-left: 0; }
.hz--v5 .hz__shade { background: linear-gradient(90deg, rgba(8, 24, 34, .62) 0%, rgba(8, 24, 34, .22) 55%, rgba(8, 24, 34, .05) 80%), linear-gradient(180deg, rgba(8, 24, 34, 0) 50%, rgba(8, 24, 34, .5) 100%); }
.hz__bar { position: relative; z-index: 1; background: rgba(13, 32, 45, .55); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); border-top: 1px solid rgba(255, 255, 255, .14); }
.hz--v5 .hz__bar { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 0; color: var(--text); }
.hz__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hz__stat { min-width: 0; padding: 28px 0 26px 28px; border-left: 1px solid rgba(255, 255, 255, .16); position: relative; }
.hz__stat:first-child { border-left: 0; padding-left: 0; }
.hz--v5 .hz__stat { border-left-color: var(--line); }
html.js .hz__frame { clip-path: inset(6% 5% 6% 5%); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1) .05s; }
html.js .hz__words, html.js .hz__h, html.js .hz__bar { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js .hz.ready .hz__frame { clip-path: inset(0); }
html.js .hz.ready .hz__words { opacity: 1; transform: none; transition-delay: .55s; }
html.js .hz.ready .hz__h { opacity: 1; transform: none; transition-delay: .75s; }
html.js .hz.ready .hz__bar { opacity: 1; transform: none; transition-delay: 1.05s; }

/* odometer stats */
.st__n { font-size: 42px; font-weight: 600; letter-spacing: -.02em; line-height: 1; white-space: nowrap; display: flex; align-items: flex-end; font-variant-numeric: tabular-nums; }
.hz--v5 .st__n { color: var(--navy); }
.st__n .acc { color: var(--cyan-2); }
.hz--v5 .st__n .acc { color: var(--cyan); }
.odo { display: inline-flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo__col { display: flex; flex-direction: column; transition: transform 1.5s cubic-bezier(.2, .9, .15, 1); }
.odo__col span { height: 1em; display: block; }
.st__rule { display: block; height: 2px; width: 40px; background: var(--cyan); margin: 14px 0 10px; transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2, .8, .2, 1) .9s; }
.st.go .st__rule { transform: scaleX(1); }
.st__l { font-size: 14px; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(6px); transition: opacity .6s ease 1s, transform .6s ease 1s; }
.hz--v5 .st__l { color: var(--text); }
.st.go .st__l { opacity: 1; transform: none; }

/* difference + diagrams */
.dz__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; align-items: start; }
.dz__top .h2 { margin: 0; }
.dz__items, .dz__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.dz__item { min-width: 0; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.dz__item::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--cyan); }
.dz__item h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.dz__item p { font-size: 15.5px; }
.dz__list .dz__item { padding: 22px 0; border-top: 1px solid var(--line); }
.dz__list .dz__item::before { display: none; }
.dz__list .dz__item:last-child { border-bottom: 1px solid var(--line); }
.dz__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }

.trk { margin: 72px 0 0; padding: 48px 48px 40px; background: var(--light); border: 1px solid var(--line); }
.trk__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.trk__row::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; background: var(--line); }
.trk__row::after { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; background: var(--teal-2); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.45, 0, .2, 1) .2s; }
.trk.go .trk__row::after { transform: scaleX(1); }
.trk__st { text-align: center; position: relative; z-index: 1; min-width: 0; }
.trk__dot { display: block; width: 20px; height: 20px; border-radius: 50%; margin: 0 auto 14px; background: var(--white); border: 2px solid var(--line); transition: background .3s, border-color .3s; transition-delay: calc(.3s + var(--i) * .45s); }
.trk.go .trk__dot { background: var(--teal-2); border-color: var(--teal-2); }
.trk__lbl { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.trk__lead { position: relative; margin: 26px 10% 0; height: 36px; }
.trk__bar { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.45, 0, .2, 1) 2.4s; }
.trk.go .trk__bar { transform: scaleX(1); }
.trk__tag { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity .5s ease 3.4s; }
.trk.go .trk__tag { opacity: 1; }
.trk figcaption { text-align: center; margin: 28px auto 0; max-width: 40em; font-size: 19px; font-weight: 500; color: var(--navy); line-height: 1.5; }

.stp { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 40px 44px; }
.stp__q { font-size: 21px; font-weight: 500; line-height: 1.45; color: var(--navy); padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.stp__body { position: relative; padding-left: 4px; }
.stp__line { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 3px; background: var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform 2.2s cubic-bezier(.45, 0, .2, 1) .2s; }
.stp.go .stp__line { transform: scaleY(1); }
.stp ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.stp li { display: flex; align-items: center; gap: 22px; position: relative; }
.stp__dot { width: 17px; height: 17px; border-radius: 50%; background: var(--white); border: 3px solid var(--line); flex: none; position: relative; z-index: 1; transition: border-color .3s, background .3s; transition-delay: calc(.3s + var(--i) * .42s); }
.stp.go .stp__dot { border-color: var(--cyan); background: var(--white); }
.stp__lbl { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); transition: color .3s; transition-delay: calc(.3s + var(--i) * .42s); }
.stp.go .stp__lbl { color: var(--navy); }

.seq { margin: 72px 0 0; background: var(--navy); color: var(--white); padding: 56px 56px 48px; text-align: center; }
.seq__q { margin: 0 auto; max-width: 30em; font-size: 26px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.seq__row { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; }
.seq__w { font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); transition: color .35s, border-color .35s, background .35s; transition-delay: calc(.2s + var(--i) * .4s); }
.seq.go .seq__w { color: var(--white); border-color: var(--cyan); background: rgba(0, 168, 203, .16); }
.seq__arrow { width: 18px; height: 1.5px; background: rgba(255, 255, 255, .35); position: relative; }
.seq__arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: rgba(255, 255, 255, .35); border-right: 0; }

/* recent transactions: rows (V5) and feature (V6) */
.rA--rows .rA__grid { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rA--rows .rA__card { display: grid; grid-template-columns: 170px 140px minmax(0, 1fr); align-items: center; gap: 32px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 22px 0; }
.rA--rows .rA__card:hover { box-shadow: none; background: var(--white); }
.rA--rows .rA__logo { margin: 0; height: 52px; }
.rA--rows .rA__date { border: 0; padding: 0; }
.rA--rows .rA__t { margin: 0; font-size: 16px; }
.rA--feature .rA__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.rA--feature .rA__card:first-child { background: var(--navy); border-color: var(--navy); }
.rA--feature .rA__card:first-child .rA__logo { background: var(--white); padding: 10px 14px; align-self: flex-start; height: 76px; }
.rA--feature .rA__card:first-child .rA__date { color: var(--cyan-2); border-color: rgba(255, 255, 255, .16); }
.rA--feature .rA__card:first-child .rA__t { color: var(--white); font-size: 18px; }

@media (max-width: 1080px) {
  .dz__top, .dz__split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rA--feature .rA__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hz__h { font-size: 36px; }
  .hz__words { font-size: 11px; gap: 10px; letter-spacing: .14em; }
  .hz__words span + span::before { margin-right: 10px; }
  .hz__words--cycle { font-size: 13px; }
  .hz__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hz__stat { padding: 18px 0 16px 16px; }
  .hz__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .st__n { font-size: 30px; }
  .st__rule { margin: 10px 0 8px; }
  .st__l { font-size: 12.5px; }
  .dz__items, .dz__three { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .trk { padding: 28px 16px; margin-top: 48px; }
  .trk__lbl { font-size: 9.5px; letter-spacing: .04em; }
  .trk__lead { margin: 20px 0 0; }
  .trk__tag { font-size: 11px; }
  .trk figcaption { font-size: 16px; }
  .stp { padding: 28px 22px; }
  .stp__q { font-size: 18px; }
  .seq { padding: 36px 20px; margin-top: 48px; }
  .seq__q { font-size: 20px; }
  .seq__arrow { display: none; }
  .rA--rows .rA__card { grid-template-columns: 96px minmax(0, 1fr); gap: 6px 16px; }
  .rA--rows .rA__logo { grid-row: 1 / span 2; }
  .rA--feature .rA__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .hz__frame { clip-path: none; transition: none; }
  html.js .hz__words, html.js .hz__h, html.js .hz__bar { opacity: 1; transform: none; transition: none; }
  .odo__col, .st__rule, .st__l, .trk *, .trk__row::after, .stp *, .seq * { transition: none !important; }
}
.hz__in { width: 100%; }
.dz--steps .stp { background: var(--light); }

/* 22. v4.4: LinkedIn ----------------------------------------------------------------------------- */
.b4 h2 { margin-bottom: 10px; }
.b4__in { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 500; color: var(--teal-2); text-decoration: none; }
.b4__in svg { color: #0A66C2; }
.b4__in:hover { text-decoration: underline; text-underline-offset: 3px; }
.fx__right { display: flex; align-items: center; gap: 30px; }
.fx__in { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); background: var(--white); transition: color .15s, border-color .15s, background .15s; }
.fx__in:hover { background: #0A66C2; border-color: #0A66C2; color: var(--white) !important; }
@media (max-width: 820px) { .fx__right { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* 23. v4.4 Home V4A / V4B ------------------------------------------------------------------------ */
.hz--v4a, .hz--v4b { height: 100vh; min-height: 760px; max-height: 1120px; }
.hz--v4a .hz__shade, .hz--v4b .hz__shade { background:
  radial-gradient(ellipse 70% 55% at 50% 50%, rgba(8, 24, 34, .62) 0%, rgba(8, 24, 34, .34) 60%, rgba(8, 24, 34, .2) 100%),
  linear-gradient(180deg, rgba(8, 24, 34, .25) 0%, rgba(8, 24, 34, 0) 30%, rgba(8, 24, 34, .45) 100%); }
.hz--v4a .hz__h, .hz--v4b .hz__h { font-size: 68px; text-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 4px 40px rgba(0, 0, 0, .45); }
.hz--v4a .hz__words, .hz--v4b .hz__words { font-size: 16px; color: var(--white); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
/* V4A: darker bar, bigger numbers */
.hz--v4a .hz__bar { background: rgba(10, 26, 38, .8); }
.hz--v4a .hz__stat { padding: 34px 0 32px 32px; }
.hz--v4a .hz__stat:first-child { padding-left: 0; }
.hz--v4a .st__n { font-size: 56px; }
.hz--v4a .st__l { font-size: 15.5px; color: rgba(255, 255, 255, .92); }
.hz--v4a .st__rule { width: 48px; height: 3px; }
/* V4B: numbers on their own white band below the film */
.nb { background: var(--white); border-bottom: 1px solid var(--line); }
.nb__bar .hz__stats { padding-top: 56px; padding-bottom: 50px; }
.nb .hz__stat { border-left-color: var(--line); padding: 4px 0 4px 36px; }
.nb .hz__stat:first-child { padding-left: 0; }
.nb .st__n { font-size: 66px; color: var(--navy); letter-spacing: -.035em; }
.nb .st__n .acc { color: var(--cyan); }
.nb .st__rule { width: 52px; height: 3px; margin: 18px 0 12px; }
.nb .st__l { font-size: 16px; color: var(--text); }
/* Recent Transactions on white, cards light, so it reads apart from the grey footer */
.rA:not(.sec--light) { border-top: 1px solid var(--line); }
.rA:not(.sec--light) .rA__card { background: var(--light); border-color: transparent; }
.rA:not(.sec--light) .rA__card:hover { background: var(--white); border-color: var(--cyan); }
.rA:not(.sec--light) .rA__logo { mix-blend-mode: multiply; }
@media (max-width: 820px) {
  .hz--v4a, .hz--v4b { height: 94vh; min-height: 600px; }
  .hz--v4a .hz__h, .hz--v4b .hz__h { font-size: 40px; }
  .hz--v4a .st__n { font-size: 34px; }
  .hz--v4a .hz__stat { padding: 18px 0 16px 16px; }
  .hz--v4a .hz__stat:nth-child(3) { padding-left: 0; }
  .nb__bar .hz__stats { padding-top: 32px; padding-bottom: 32px; row-gap: 28px; }
  .nb .hz__stat { padding-left: 18px; }
  .nb .hz__stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .nb .st__n { font-size: 40px; }
  .nb .st__l { font-size: 14px; }
}

/* 24. v4.5 intros (replace the boxed clip-path opening) ------------------------------------------ */
html.js .hz[data-intro] .hz__frame { clip-path: none; transition: none; }
.hdr { transition: background .25s, box-shadow .25s, height .25s, opacity .6s ease; }
html.js .introing .hdr { opacity: 0; }
.iz { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

/* Intro 1: the logo on navy, then the panel lifts away */
.iz--lift { background: #0f2433; display: grid; place-items: center; transition: transform 1s cubic-bezier(.76, 0, .24, 1) 1.15s; }
.iz__logo { width: 260px; height: auto; opacity: 0; transform: translateY(10px); transition: opacity .6s ease .1s, transform .8s cubic-bezier(.2, .8, .2, 1) .1s, filter .4s; }
.hz.ready .iz--lift { transform: translateY(-100%); }
.hz.ready .iz__logo { opacity: 1; transform: none; }
html.js .hz[data-intro="lift"].ready .hz__words { transition-delay: 1.75s; }
html.js .hz[data-intro="lift"].ready .hz__h { transition-delay: 1.9s; }

/* Intro 2: the film comes into focus */
html.js .hz[data-intro="focus"] .hz__media { filter: blur(22px) brightness(.55); transition: filter 1.8s cubic-bezier(.3, 0, .2, 1) .05s; }
html.js .hz[data-intro="focus"].ready .hz__media { filter: none; }
html.js .hz[data-intro="focus"].ready .hz__words { transition-delay: .7s; }
html.js .hz[data-intro="focus"].ready .hz__h { transition-delay: .9s; }

/* Intro 3: a cyan line draws across the middle, then the navy panels split from it */
.iz--split .iz__top, .iz--split .iz__bot { position: absolute; left: 0; right: 0; height: 50%; background: #0f2433; transition: transform 1s cubic-bezier(.76, 0, .24, 1) .85s; }
.iz--split .iz__top { top: 0; }
.iz--split .iz__bot { bottom: 0; }
.iz__line { position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .75s cubic-bezier(.6, 0, .2, 1) .05s, opacity .4s ease 1.2s; }
.hz.ready .iz__line { transform: scaleX(1); opacity: 0; }
.hz.ready .iz__top { transform: translateY(-100%); }
.hz.ready .iz__bot { transform: translateY(100%); }
html.js .hz[data-intro="split"].ready .hz__words { transition-delay: 1.5s; }
html.js .hz[data-intro="split"].ready .hz__h { transition-delay: 1.65s; }

html:not(.js) .iz { display: none; }
@media (prefers-reduced-motion: reduce) { .iz { display: none; } html.js .hz[data-intro="focus"] .hz__media { filter: none; } }

/* v4.18: Contact stacks the map above the office cards up to 1080px (section 20 overrode it) */
@media (max-width: 1080px) { .c4__grid { grid-template-columns: minmax(0, 1fr); } .o4c { align-content: start; } }
/* v4.18: footer office dots sit in each city's left padding; the list is shifted left and clipped, so a city
   that wraps to a new line starts flush with no stray dot */
.fx--a .fx__cities { gap: 10px 0; margin-left: -48px; clip-path: inset(-4px 0 -4px 48px); }
.fx--a .fx__cities li { position: relative; padding-left: 48px; }
.fx--a .fx__cities li::before, .fx--a .fx__cities li + li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 4px; height: 4px; margin: -2px 0 0; border-radius: 50%; background: var(--cyan); }
