/* Long & Long homepage concept, 2026 (v2: billboard).
   Yinmin blue (#306AC0, the client's pick) owns the page in big flat fields. Night and harbor navy
   give it weight, a signal gold (stars, the GO LONG dot, CTAs) is the one hot accent, and paper/white
   keep the reading sections calm. Headlines: Archivo black, extended to 125%, italic caps: wide,
   forward-leaning and loud, built to read like their TV spots. */

:root {
  --blue: #306AC0;
  --blue-700: #24559F;
  --navy: #0B1D40;
  --night: #071330;
  --ink: #0B1730;
  --slate: #3E506A;
  --muted: #66758A;
  --paper: #F3F0E9;
  --line: #E2DDD2;
  --line-cool: #DFE6F0;
  --sky: #E6EEF9;
  --gold: #FFC83D;
  --white: #fff;

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 168px);
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.6 var(--body); color: var(--slate); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
mark { background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.flip { transform: scaleX(-1); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .i { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.stars--lg .i { width: 34px; height: 34px; }
.g-logo { width: 22px; height: 22px; flex: none; }

/* Display type */
.display {
  text-wrap: balance;
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -.015em; line-height: .9; color: var(--ink);
}
.h-big { font-size: clamp(44px, 7vw, 124px); }
.h-mid { font-size: clamp(32px, 4.2vw, 72px); line-height: .94; }
.gold { color: var(--gold); }
.blue { color: var(--blue); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 800 13px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 800 16px/1 var(--body); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 18px; height: 18px; stroke-width: 2.4; }
.btn-lg { height: 62px; padding: 0 32px; font-size: 17px; }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(255, 200, 61, .9); }
.btn-gold:hover { background: #FFD465; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--gold); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255, 255, 255, .08); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn-line-light:hover { background: #fff; color: var(--ink); }

.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: transparent; color: inherit; transition: background-color .2s, box-shadow .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn--light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }

/* Logo: the firm's PNG wordmark, recoloured with a mask */
.brand { display: block; flex: none; }
.brand-mark {
  display: block; width: 196px; aspect-ratio: 500 / 94; background: #fff;
  -webkit-mask: url("img/logo.png") center / contain no-repeat; mask: url("img/logo.png") center / contain no-repeat;
}

/* Header: floats over the blue billboard, turns solid navy once you're past it */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s; }
.site-header.is-solid { background: var(--navy); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .6); }
.header-row { display: flex; align-items: center; gap: 28px; height: 88px; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent;
  font: 700 15px/1 var(--body); color: #fff; white-space: nowrap; transition: background-color .2s;
}
.nav-link .i { opacity: .7; transition: transform .2s; }
.nav-link:hover, .has-menu:not(.is-dismissed):hover > .nav-link, .has-menu.is-open > .nav-link { background: rgba(255, 255, 255, .14); }
/* invisible bridge under each nav button so the pointer never crosses dead space on its way into a menu */
.nav-link { position: relative; }
.has-menu > .nav-link::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 26px; }
.menu {
  position: absolute; top: calc(100% + 12px); left: -8px; z-index: 5;
  display: grid; min-width: 240px; padding: 14px; background: #fff; color: var(--slate);
  border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(7, 19, 48, .5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
}
.has-menu:not(.is-dismissed):hover > .menu, .has-menu.is-open > .menu, .has-menu:not(.is-dismissed):focus-within > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-menu:not(.is-dismissed):hover > .nav-link .i, .has-menu.is-open > .nav-link .i { transform: rotate(180deg); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font: 600 15px/1.25 var(--body); color: var(--ink); transition: background-color .15s, color .15s; }
.menu a:hover { background: var(--sky); color: var(--blue-700); }
.m-kicker { margin: 0 0 10px; padding: 0 10px; font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.m-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--sky); color: var(--blue); transition: background-color .15s, color .15s; }
.m-ic .i { width: 19px; height: 19px; stroke-width: 1.9; }
.menu a:hover .m-ic { background: var(--blue); color: #fff; }
.m-all { font-weight: 800 !important; color: var(--blue-700) !important; }
.m-all .i { transition: transform .25s var(--ease); }
.m-all:hover .i { transform: translateX(4px); }
/* rich dropdowns: icon, bold label, one-line description */
.menu--rich { width: 340px; gap: 2px; padding: 10px; }
.m-rich { align-items: center !important; }
.m-rich > span:not(.m-ic) { display: flex; flex-direction: column; gap: 2px; }
.m-rich b { font-weight: 800; }
.m-rich small { font-size: 13.5px; font-weight: 500; color: var(--muted); }
#menu-contact { left: auto; right: -8px; }
/* mega menus span the header row, anchored right under the nav */
.header-row { position: relative; }
.has-mega { position: static; }
.has-mega > .menu { left: auto; right: 0; top: calc(100% - 6px); }
.menu--mega { grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; width: min(1100px, 100%); padding: 22px 14px 14px 18px; }
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; }
.m-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; margin-top: 12px; padding: 14px 10px 4px; border-top: 1px solid var(--line-cool); font-size: 14px; color: var(--muted); }
.m-foot .m-all, .m-foot span a { display: inline-flex; padding: 0; background: none !important; font-size: 14px; }
.m-foot span a { font-weight: 700; color: var(--ink); }
.m-foot span a:hover { color: var(--blue-700); text-decoration: underline; }
.m-feature { margin: 0; overflow: hidden; border-radius: 16px; background: var(--sky); }
.m-feature img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
/* attorneys: faces with names */
.menu--team { width: min(900px, 100%); padding: 20px 14px 14px; }
.m-team-head { display: flex; align-items: center; justify-content: space-between; padding-right: 10px; }
.m-team-head .m-kicker { margin: 0; }
.m-team-head .m-all { padding: 6px 10px; }
.m-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; margin-top: 10px; }
.m-team img { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; background: var(--sky); }
.m-team a > span { display: flex; flex-direction: column; gap: 1px; }
.m-team b { font-weight: 700; }
.m-team small { font-size: 12.5px; font-weight: 600; color: var(--blue-700); }
/* locations */
.menu--places { width: 580px; padding: 20px 14px 14px; }
.m-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.m-office { align-items: flex-start !important; padding: 14px !important; border: 1px solid var(--line-cool); }
.m-office > span:not(.m-ic) { display: flex; flex-direction: column; gap: 4px; }
.m-office b { font-weight: 800; }
.m-office small { font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.m-office em { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 13.5px; font-style: normal; font-weight: 800; color: var(--blue-700); }
.m-towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-towns a { padding: 7px 10px; font-weight: 500; }
/* utility bar above the header; folds away once the header turns solid */
.topbar { overflow: hidden; max-height: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(255, 255, 255, .85); transition: max-height .3s var(--ease), opacity .2s, border-color .3s; }
.site-header.is-solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 40px; }
.topbar p { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar .i { color: var(--gold); }
.topbar-rating { display: inline-flex; align-items: center; gap: 8px; }
.topbar-rating .g { width: 16px; height: 16px; }
.topbar-stars { letter-spacing: 1px; color: var(--gold); }
.topbar-rating b { color: #fff; }
.topbar-places a:hover, .topbar-rating:hover span { color: #fff; text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; white-space: nowrap; }
.header-phone-label { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.header-phone-number { font: 900 19px/1.2 var(--display); font-stretch: 110%; letter-spacing: -.01em; }
.header-call, .menu-toggle { display: none; }

.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(7, 19, 48, .6); }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--navy); color: #fff; overflow-y: auto; animation: drawer-in .28s var(--ease); }
@keyframes drawer-in { from { transform: translateX(30px); opacity: 0; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer-top .brand-mark { width: 160px; }
.drawer-nav { display: flex; flex-direction: column; padding: 8px 22px; }
.drawer-nav > a, .drawer-nav summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  font: italic 900 22px/1.1 var(--display); font-stretch: 118%; text-transform: uppercase; cursor: pointer; list-style: none;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .i { transform: rotate(180deg); }
.drawer-sub { display: flex; flex-direction: column; padding: 6px 0 12px; }
.drawer-sub a { padding: 9px 0; color: rgba(255, 255, 255, .8); font-weight: 500; }
.drawer-sub--icons a, .drawer-sub--team a { display: flex; align-items: center; gap: 12px; }
.drawer-sub .m-ic { width: 32px; height: 32px; background: rgba(255, 255, 255, .1); color: var(--gold); }
.drawer-sub--team img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; }
.drawer-all { margin-top: 6px; font-weight: 800 !important; color: var(--gold) !important; }
.drawer-sub b { color: #fff; }
.drawer-foot { display: grid; gap: 10px; margin-top: auto; padding: 22px; }
.drawer-foot .btn-line { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 250vh; height: 250svh; background: var(--blue); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(7, 19, 48, .45) 0%, rgba(7, 19, 48, .1) 38%, rgba(7, 19, 48, .88) 100%); }
.hero-knock { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; transform-origin: 0 0; }
.knock-fill { fill: var(--blue); }
.knock-dot { fill: var(--gold); }
.knock-text { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; letter-spacing: -.01em; }
.knock-measure { visibility: hidden; }
.hero-fallback { display: none; }

.hero-intro { position: absolute; inset: auto 0 0; padding-bottom: clamp(28px, 5vh, 56px); color: #fff; }
.hero-intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-tag { max-width: 460px; font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.hero-tag strong { display: block; margin-bottom: 6px; font: italic 900 clamp(24px, 2.4vw, 34px)/1 var(--display); font-stretch: 120%; text-transform: uppercase; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 800 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 8px rgba(7, 19, 48, .5);
}
/* a mouse outline with a gold dot rolling down it */
.scroll-cue span { position: relative; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .9); border-radius: 999px; box-shadow: 0 4px 18px -6px rgba(7, 19, 48, .6); }
.scroll-cue span::before { content: ""; position: absolute; left: 50%; top: 8px; width: 6px; height: 10px; margin-left: -3px; border-radius: 999px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(16px); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

.hero-statement { position: absolute; inset: auto 0 0; padding-bottom: clamp(36px, 8vh, 96px); color: #fff; opacity: 0; visibility: hidden; }
.hero-statement.is-on { visibility: visible; }
.statement-big {
  font: italic 900 clamp(46px, 8.4vw, 156px)/.92 var(--display); font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; color: #fff;
}
.statement-big span { display: block; color: var(--gold); }
.statement-fit { max-width: min(100%, 58vw, 920px); }
.statement-fit .statement-big { white-space: nowrap; }
.statement-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(24px, 4vh, 40px); }

/* No JS: plain video with the line on top */
html:not(.js) .hero { height: 100vh; }
html:not(.js) .hero-knock, html:not(.js) .hero-intro { display: none; }
html:not(.js) .hero-shade { opacity: 1; }
html:not(.js) .hero-statement { opacity: 1; visibility: visible; }

/* ---------- The number ---------- */
.bignum { padding-top: clamp(64px, 8vw, 128px); background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%), var(--blue); color: #fff; overflow: hidden; }
.bignum-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.bignum-label { font: italic 900 clamp(22px, 2.6vw, 40px)/1 var(--display); font-stretch: 122%; text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.bignum-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font: italic 900 clamp(13px, 1.1vw, 16px)/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .02em;
}
.bignum-tag .i { width: 20px; height: 20px; stroke-width: 2.6; }
/* Scoreboard: tiles are sized in container units so $ + nine digits + two commas always span the row */
.board { container-type: inline-size; display: flex; align-items: stretch; gap: .7cqw; margin-top: clamp(28px, 3vw, 44px); }
.board-digits { display: contents; }
.board-cur, .board .d { position: relative; flex: 0 0 8.5cqw; display: grid; place-items: center; height: 12.4cqw; overflow: hidden; border-radius: 1.1cqw; font: 900 9.6cqw/1 var(--display); font-stretch: 108%; font-variant-numeric: tabular-nums; }
.board-cur { background: var(--gold); color: var(--ink); }
.board .d { background: linear-gradient(180deg, #102650 0 50%, var(--navy) 50% 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 2cqw 3cqw -2cqw rgba(7, 19, 48, .9); }
.board .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(2px, .25cqw); transform: translateY(-50%); background: var(--blue); }
.board .d b { position: relative; z-index: 1; display: block; font: inherit; }
.board .d.is-new b { animation: digit-in .7s var(--ease); }
/* a changed digit pops in gold and settles to white; the glyph stays whole and upright the entire time */
@keyframes digit-in { from { transform: scale(.7); opacity: 0; color: var(--gold); } 45% { transform: scale(1.06); opacity: 1; color: var(--gold); } to { transform: none; color: #fff; } }
.board .sep { flex: 0 0 2.2cqw; align-self: flex-end; font: 900 9.6cqw/.8 var(--display); text-align: center; color: var(--gold); }
.bignum-strip { margin-top: clamp(56px, 7vw, 104px); background: var(--blue-700); border-top: 1px solid rgba(255, 255, 255, .18); }
.bignum-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bignum-stats > div {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 18px;
  padding: clamp(28px, 3vw, 40px) clamp(16px, 2.4vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.bignum-stats > div:first-child { padding-left: 0; border-left: 0; }
.bignum-stats .i { grid-row: 1 / 3; align-self: center; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--gold); stroke-width: 2.2; }
.bignum-stats dt { font: 900 clamp(30px, 3vw, 50px)/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: #fff; }
.bignum-stats dd { margin: 6px 0 0; font-size: 15px; font-weight: 600; line-height: 1.25; color: rgba(255, 255, 255, .82); text-wrap: balance; }

/* ---------- Results tickers ---------- */
.results { padding-top: var(--section); padding-bottom: clamp(64px, 7vw, 112px); background: var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.results .display { color: #fff; }
.results-head { display: grid; grid-template-columns: max-content minmax(0, 500px); justify-content: space-between; align-items: end; gap: 28px clamp(40px, 6vw, 96px); margin-bottom: clamp(48px, 5vw, 72px); }
@media (max-width: 1180px) { .results-head { grid-template-columns: 1fr; } .results-head > div:first-child { max-width: 720px; } }
.results-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.results-aside p { margin: 0; font-size: 18px; }

.marquee { position: relative; display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: 22px; }
.marquee-track { display: flex; flex: none; animation: marquee 60s linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee--slow .marquee-track { animation-duration: 90s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-group { display: flex; flex: none; align-items: center; }
@keyframes marquee { to { transform: translateX(calc(var(--shift, 50%) * -1)); } }
.results-row { padding-block: 4px; }
.results-row .m-group { align-items: stretch; }
/* each result is a card like the rest of the page; the margin is part of the loop's measured width, so it stays seamless */
.m-item { display: flex; flex-direction: column; flex: none; width: clamp(280px, 24vw, 360px); margin: 0 16px 0 0; padding: clamp(24px, 2.2vw, 32px) clamp(22px, 2vw, 30px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); transition: border-color .25s, transform .3s var(--ease); }
.m-item:hover { border-color: rgba(255, 200, 61, .45); transform: translateY(-3px); }
.m-cat { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 800 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
.ri { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.m-amt { font: 900 clamp(28px, 2.3vw, 36px)/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.m-what { margin-top: 12px; font: 600 17px/1.35 var(--body); color: #fff; }
.m-where { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.m-where .i { width: 15px; height: 15px; color: rgba(255, 255, 255, .5); }

/* ---------- Steps ---------- */
.steps { padding-block: var(--section); background: var(--blue); color: rgba(255, 255, 255, .88); }
.steps .display { color: #fff; }
.steps-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.video-card { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--night); text-align: left; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 19, 48, 0) 40%, rgba(7, 19, 48, .82)); }
.video-card:hover img { transform: scale(1.04); }
.play { position: absolute; z-index: 1; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.play .i { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.video-card:hover .play, .story:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-card-label { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 22px; font: italic 900 clamp(20px, 1.8vw, 26px)/1.05 var(--display); font-stretch: 115%; text-transform: uppercase; color: #fff; text-wrap: balance; }
.video-card-label span { display: block; margin-top: 8px; font: 600 14px/1.2 var(--body); font-style: normal; text-transform: none; color: rgba(255, 255, 255, .8); }

.steps-list { border-top: 2px solid rgba(255, 255, 255, .35); }
.step { display: grid; grid-template-columns: minmax(120px, .5fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 2px solid rgba(255, 255, 255, .35); }
.step-n { font: italic 900 clamp(88px, 11vw, 200px)/.8 var(--display); font-stretch: 125%; color: var(--gold); letter-spacing: -.04em; }
.step h3 { font: italic 900 clamp(28px, 3.6vw, 62px)/.94 var(--display); font-stretch: 120%; text-transform: uppercase; letter-spacing: -.02em; color: #fff; }
.step p { max-width: 440px; font-size: 18px; }
.gets { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: clamp(40px, 5vw, 64px); }
.gets li { display: flex; align-items: center; gap: 10px; font: 800 17px/1.2 var(--body); color: #fff; }
.gets .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold); color: var(--ink); stroke-width: 3; }

/* ---------- Earle ---------- */
.earle {
  position: relative; padding-top: clamp(72px, 8vw, 128px); overflow: hidden; color: rgba(255, 255, 255, .85);
  background: radial-gradient(ellipse 46% 62% at 76% 58%, rgba(48, 106, 192, .85), rgba(48, 106, 192, 0) 70%), var(--navy);
}
.earle-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(32px, 5vw, 88px); }
.earle-copy { margin: 0; padding-bottom: clamp(72px, 8vw, 128px); }
.earle-copy blockquote { margin: 0; }
.earle .display { margin-top: 18px; color: #fff; }
.earle-lede { max-width: 52ch; margin-top: 26px; font-size: 20px; line-height: 1.6; }
.earle-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; max-width: 620px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.earle-sign span { display: flex; flex-direction: column; font-size: 15px; color: rgba(255, 255, 255, .65); }
.earle-sign strong { font: 900 22px/1.1 var(--display); font-stretch: 108%; text-transform: uppercase; color: #fff; }
.earle-photo { align-self: end; display: flex; justify-content: flex-end; }
.earle-photo img { display: block; flex: none; width: min(100%, 560px); max-width: none; height: auto; }
@media (min-width: 1200px) { .earle-photo img { width: min(100% + 7vw, 680px); } }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--section); background: var(--night); color: rgba(255, 255, 255, .8); overflow: hidden; }
.reviews .display { color: #fff; }
.results-title { white-space: nowrap; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); }
.g-badge { display: flex; align-items: center; gap: 18px; padding: 18px 26px 18px 20px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.g-badge .g-logo { width: 44px; height: 44px; }
.g-badge p { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.g-badge .stars { gap: 3px; color: #FBBC04; }
.g-badge .stars .i { width: 22px; height: 22px; }
.g-badge-sub { font-size: 16px; font-weight: 600; color: var(--muted); }
.g-badge-sub strong { color: var(--ink); font-weight: 800; }
.review { display: flex; flex-direction: column; gap: 22px; width: 400px; margin-right: 20px; padding: 32px; border-radius: var(--r); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); flex: none; }
.review blockquote { font-size: 19px; line-height: 1.5; color: #fff; }
.review figcaption { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; margin-top: auto; font-weight: 800; color: #fff; }
.review figcaption .g-logo { grid-column: 3; grid-row: 1 / 3; width: 26px; height: 26px; }
.review figcaption small { grid-column: 2; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.avatar { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); font: italic 900 18px/1 var(--display); }
.reviews .marquee .m-group { align-items: stretch; }
.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: clamp(56px, 7vw, 96px); }
.story { position: relative; padding: 0; border: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); text-align: left; }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 19, 48, 0) 50%, rgba(7, 19, 48, .85)); }
.story:hover img { transform: scale(1.05); }
.story .play { width: 68px; height: 68px; }
.story .play .i { width: 22px; height: 22px; }
.story-name { position: absolute; z-index: 1; left: 24px; bottom: 22px; font: italic 900 clamp(28px, 2.6vw, 44px)/1 var(--display); font-stretch: 122%; text-transform: uppercase; color: #fff; }
.story-name small { display: block; margin-top: 8px; font: 600 14px/1 var(--body); font-style: normal; text-transform: none; color: var(--gold); }

/* ---------- Cases ---------- */
.cases { padding-block: var(--section); background: #fff; }
.cases-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(48px, 6vw, 80px); }
.cases-intro p { max-width: 60ch; margin: 18px 0 0; font-size: 18px; }
.cases-head > .btn { flex: none; }
.case-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); border-top: 1px solid var(--line-cool); }
.case-index a {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 0;
  border-bottom: 1px solid var(--line-cool);
  font: 600 18px/1.25 var(--body); color: var(--ink);
  transition: color .25s, padding .35s var(--ease);
}
/* hover: a blue fill sweeps in from the left behind the row */
.case-index a::before { content: ""; position: absolute; inset: 6px -4px; z-index: -1; border-radius: 16px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.case-index a .i { flex: none; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--blue); color: #fff; stroke-width: 1.9; box-shadow: 0 10px 18px -12px rgba(48, 106, 192, .9); transition: background-color .25s, color .25s, transform .35s var(--ease); }
.case-index a::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .3s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.case-index a:hover { padding-left: 14px; padding-right: 40px; color: #fff; }
.case-index a:hover::before { transform: none; }
.case-index a:hover .i { background: var(--gold); color: var(--ink); box-shadow: none; transform: rotate(-6deg); }
.case-index a:hover::after { opacity: 1; transform: none; }
/* the list cascades in when it scrolls into view */
.js .case-index.reveal { opacity: 1; transform: none; }
.js .case-index li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 35ms); }
.js .case-index.is-in li { opacity: 1; transform: none; }
@media (max-width: 1240px) { .case-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Visit: the office photo as a billboard, copy on a navy fade ---------- */
.visit { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(580px, 50vw, 820px); padding-block: var(--section); overflow: hidden; background: var(--night); color: rgba(255, 255, 255, .85); }
.visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 19, 48, 0) 26%, rgba(7, 19, 48, .8) 50%, var(--night) 72%); }
.visit-photo { position: absolute; inset: 0 25% 0 0; z-index: -2; margin: 0; }
.visit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(520px, 40vw, 680px)); }
.visit-copy { grid-column: 2; }
.visit .display { color: #fff; }
.visit-lede { margin: 26px 0 34px; font-size: 20px; line-height: 1.6; text-wrap: pretty; }
@media (max-width: 1100px) {
  .visit { display: block; min-height: 0; padding-top: 0; }
  .visit::before { display: none; }
  .visit-photo { position: relative; inset: auto; height: clamp(280px, 58vw, 600px); }
  .visit-photo img { object-position: 30% 50%; }
  .visit-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(rgba(7, 19, 48, 0), var(--night)); }
  .visit-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .visit-copy { grid-column: 1; max-width: 640px; }
}
@media (max-width: 480px) {
  .visit-lede { font-size: 18px; }
  .visit-copy .btn { width: 100%; }
}

/* ---------- Team: portrait carousel ---------- */
.team { padding-block: clamp(72px, 8vw, 128px); background: var(--blue); color: rgba(255, 255, 255, .88); overflow: hidden; }
.team .display { color: #fff; }
.br-sm { display: none; }
.br-lg { display: inline; }
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.team-intro p { max-width: 56ch; margin: 18px 0 0; font-size: 18px; }
.team-controls { display: flex; align-items: center; gap: 14px; flex: none; }
.rail-arrows { display: flex; gap: 10px; }
.rail-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.rail-btn:hover:not(:disabled) { background: #fff; color: var(--blue); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-prev .i { transform: scaleX(-1); }
/* the row runs edge to edge but its first card lines up with the page gutter */
.rail { --edge: max(var(--gutter), calc((100vw - 1440px) / 2)); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--edge); scroll-padding-inline: var(--edge); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail li { flex: 0 0 clamp(220px, 21vw, 300px); scroll-snap-align: start; }
.rail a { display: block; color: #fff; -webkit-user-drag: none; }
.c-photo { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 20px; background: var(--blue-700); }
.c-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .6s var(--ease); -webkit-user-drag: none; user-select: none; }
.rail a:hover .c-photo img { transform: scale(1.05); }
.c-name { display: block; margin-top: 16px; font: 900 clamp(17px, 1.4vw, 21px)/1.05 var(--display); font-stretch: 104%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.rail small { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); transition: color .2s; }
.rail li:first-child small, .rail a:hover small { color: var(--gold); }
@media (max-width: 760px) {
  .team-controls { width: 100%; justify-content: space-between; gap: 10px; }
  .team-controls .btn { padding-inline: 22px; }
  .rail-arrows { gap: 8px; }
  .rail-btn { width: 46px; height: 46px; }
  .hide-sm { display: none; }
  .rail li { flex-basis: 64vw; }
}

/* ---------- Awards ---------- */
.awards { padding-block: clamp(80px, 9vw, 140px); background: var(--paper); overflow: hidden; }
.awards-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px clamp(32px, 5vw, 80px); margin-bottom: clamp(40px, 5vw, 72px); }
.awards-head > div { min-width: 0; }
.awards-title { white-space: nowrap; }
.awards-note { max-width: 32ch; margin: 0; font-size: 19px; }
.badge-row + .badge-row { margin-top: 14px; }
.badge-row .m-group { gap: 14px; padding-right: 14px; }
.badge {
  display: grid; place-items: center; flex: none; width: clamp(200px, 17vw, 260px); height: clamp(108px, 8.6vw, 136px);
  padding: 18px 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(11, 23, 48, .06);
}
.badge img { max-width: 100%; max-height: clamp(60px, 4.8vw, 78px); width: auto; height: auto; object-fit: contain; }

/* ---------- Articles ---------- */
.articles { padding-block: var(--section); background: #fff; }
.articles-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.articles-aside p { max-width: 46ch; margin: 0 0 26px; font-size: 19px; text-wrap: pretty; }
.articles-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 0 clamp(32px, 4vw, 64px); }
.post { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 32px; align-items: center; color: var(--ink); }
.post--lead + .post { padding-bottom: 32px; }
.post + .post + .post { padding-top: 32px; border-top: 1px solid var(--line-cool); }
/* Lead story: the photo fills the card and the copy sits on it, so the card is exactly as tall as the two stories beside it */
.post--lead { position: relative; grid-row: 1 / 3; display: flex; align-items: stretch; min-height: 480px; overflow: hidden; border-radius: var(--r); background: var(--night); color: #fff; isolation: isolate; }
.post--lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 19, 48, .95) 0%, rgba(7, 19, 48, .82) 42%, rgba(7, 19, 48, 0) 78%); }
.post-img { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 16px; background: var(--paper); }
.post--lead .post-img { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; border-radius: 0; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; align-items: flex-start; }
.post--lead .post-body { justify-content: flex-end; width: 100%; padding: clamp(28px, 3vw, 44px); }
.post--lead .post-meta { color: rgba(255, 255, 255, .78); }
.post--lead .post-cat { background: var(--gold); color: var(--ink); }
.post--lead .post-excerpt { color: rgba(255, 255, 255, .82); }
.post--lead .post-more { color: var(--gold); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.post-cat { padding: 5px 11px; border-radius: 999px; background: var(--sky); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.post-title { margin-top: 14px; font: 800 clamp(19px, 1.6vw, 25px)/1.2 var(--display); font-stretch: 105%; letter-spacing: -.015em; text-wrap: balance; }
.post--lead .post-title { max-width: 18em; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; }
.post-excerpt { max-width: 56ch; margin-top: 14px; font-size: 18px; line-height: 1.55; color: var(--slate); }
.post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--blue); }
.post-more .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.post:hover .post-more .i { transform: translateX(5px); }
.post:hover .post-title { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--gold); text-underline-offset: 5px; }
@media (max-width: 1180px) {
  .articles-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .post { grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 22px; }
}

/* ---------- Contact ---------- */
.contact { padding-block: var(--section); background: radial-gradient(ellipse 46% 64% at 78% 50%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%), radial-gradient(ellipse 60% 70% at 0% 100%, rgba(11, 29, 64, .35), rgba(11, 29, 64, 0) 70%), var(--blue); color: rgba(255, 255, 255, .9); overflow: hidden; position: relative; isolation: isolate; }
/* downtown Mobile, washed into the blue; a stronger fade on the left keeps the headline legible */
.contact::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("img/mobile-skyline.webp") 72% 30% / cover no-repeat; filter: grayscale(1) contrast(1.1) brightness(1.05); mix-blend-mode: multiply; opacity: .75; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(48, 106, 192, .94) 0%, rgba(48, 106, 192, .78) 42%, rgba(48, 106, 192, .45) 75%, rgba(48, 106, 192, .6) 100%); }
.contact .display { color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.contact-grid > * { min-width: 0; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; } .contact .lead-form { max-width: 680px; } }
.contact-copy { max-width: 600px; }
@media (min-width: 761px) { #contact-title { white-space: nowrap; } }
.contact-lede { margin-top: 28px; font-size: 20px; text-wrap: pretty; }
.contact-phone { display: flex; flex-direction: column; align-items: flex-start; margin-top: 44px; font: italic 900 clamp(34px, 4.2vw, 72px)/.9 var(--display); font-stretch: 122%; letter-spacing: -.03em; color: var(--gold); white-space: nowrap; }
.contact-phone small { margin-bottom: 12px; font: 800 14px/1 var(--body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.contact-phone:hover { color: #fff; }
.contact-points { display: flex; flex-wrap: wrap; gap: 10px clamp(14px, 1.5vw, 22px); margin-top: 26px; }
.contact-points li { display: flex; align-items: center; gap: 8px; font-size: clamp(14px, 1.1vw, 15.5px); white-space: nowrap; font-weight: 700; color: #fff; }
.contact-points .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--ink); stroke-width: 3; }
.contact-team { display: flex; align-items: center; gap: 18px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .2); }
.contact-faces { display: flex; flex: none; }
.contact-faces img { width: 52px; height: 52px; margin-left: -12px; border: 3px solid var(--blue); border-radius: 50%; background: var(--sky); object-fit: cover; object-position: 50% 12%; }
.contact-faces img:first-child { margin-left: 0; }
.contact-team p { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .85); }

.lead-form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: hidden; padding: clamp(26px, 3vw, 42px); border-radius: 28px; background: #fff; color: var(--slate); box-shadow: 0 40px 80px -30px rgba(7, 19, 48, .6); }
.lead-form h3 { font: italic 900 clamp(22px, 1.9vw, 28px)/1 var(--display); font-stretch: 120%; white-space: nowrap; text-transform: uppercase; letter-spacing: -.015em; color: var(--ink); }
.lead-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--gold); }
.form-head { min-width: 0; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 800; color: var(--ink); }
.field b { color: var(--blue); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 2px solid #D7DFEA; border-radius: 14px; background: #F7F9FC; font: 500 16px/1.4 var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.input-wrap { position: relative; display: block; }
.input-wrap .i { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: #8A9AB2; stroke-width: 1.9; pointer-events: none; transition: color .2s; }
.input-wrap--area .i { top: 17px; margin-top: 0; }
.input-wrap input, .input-wrap textarea { padding-left: 46px; }
.input-wrap:focus-within .i { color: var(--blue); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(48, 106, 192, .18); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: #F3F6FB; font-size: 11.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue-700); text-decoration: underline; }
.lead-form .btn { height: auto; min-height: 62px; padding: 16px 22px; white-space: normal; text-align: center; line-height: 1.2; }
.form-status { font-size: 14.5px; font-weight: 700; color: var(--blue-700); }
.form-status:empty { display: none; }

/* ---------- Offices ---------- */
.offices { padding-block: clamp(80px, 9vw, 136px); background: var(--paper); }
.offices-head { display: grid; grid-template-columns: max-content minmax(0, 440px); justify-content: space-between; gap: 20px 48px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.offices-lede { max-width: 46ch; margin: 0; font-size: 19px; line-height: 1.6; }
/* the other towns: a quiet line of links under the map */
.towns { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 28px; }
.towns p { margin: 0; font: 800 12.5px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.towns ul { display: flex; flex-wrap: wrap; gap: 6px 0; }
.towns li + li::before { content: "·"; margin: 0 10px; color: var(--muted); }
.towns a { font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.towns a:hover { color: var(--blue); text-decoration-color: currentColor; }
/* the map fills the stage; the office panel floats over its left side (and covers Google's place card) */
.offices-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 16px; }
/* the iframe runs 180px above its box so Google's place card sits out of view; the map credits at the bottom stay visible */
.office-map { position: relative; min-height: 490px; overflow: hidden; border-radius: var(--r); background: var(--sky); }
.office-map iframe { position: absolute; left: 0; top: -180px; display: block; width: 100%; height: calc(100% + 180px); border: 0; }
.office-panel { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r); background: #fff; }
.office { flex: 1; display: flex; flex-direction: column; justify-content: center; border-radius: 14px; color: var(--slate); transition: background-color .25s; }
.office + .office { margin-top: 6px; }
.office:not(.is-active):hover { background: #F6F8FC; }
.office.is-active { background: var(--sky); }
.office-btn { display: flex; align-items: flex-start; gap: 16px; padding: 18px 18px 10px; border: 0; background: transparent; text-align: left; color: inherit; cursor: pointer; }
.office-pin { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: background-color .25s, color .25s; }
.office-pin .i { width: 20px; height: 20px; }
.office.is-active .office-pin { background: var(--blue); color: #fff; }
.office-text { display: flex; flex-direction: column; }
.office-name { font: 900 clamp(24px, 2vw, 30px)/1 var(--display); font-stretch: 108%; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: var(--ink); }
.office-addr { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.office-phone { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0 18px 0 78px; font-size: 16px; font-weight: 800; color: var(--ink); }
.office-phone .i { color: var(--blue); }
.office-phone:hover { color: var(--blue); }
.office-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 18px 18px 78px; }
.office-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; color: var(--blue-700); }
.office-links a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 7vw, 104px); background: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(48, 106, 192, .32), rgba(48, 106, 192, 0) 70%), var(--night); color: rgba(255, 255, 255, .7); overflow: hidden; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-bottom: clamp(44px, 5vw, 64px); margin-bottom: clamp(44px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta-title { margin: 0; font-size: clamp(32px, 4vw, 64px); line-height: .95; color: #fff; }
.footer-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand .brand-mark { width: 230px; }
.footer-phone { display: flex; flex-direction: column; font: italic 900 clamp(26px, 2.4vw, 36px)/1 var(--display); font-stretch: 118%; color: var(--gold); }
.footer-phone small { margin-bottom: 8px; font: 800 12px/1 var(--body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.footer-phone:hover { color: #fff; }
.footer-blurb { max-width: 32ch; margin: 20px 0 0; font-size: 15px; line-height: 1.55; }
.footer-list-2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-tel { display: block; margin-top: 6px; font-weight: 700; color: #fff !important; }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); color: #fff; transition: background-color .2s; }
.social a:hover { background: var(--blue); box-shadow: none; }
.social .i { width: 18px; height: 18px; stroke-width: 1.8; }
.footer-col h2 { margin-bottom: 18px; font: 800 12.5px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.footer-col a:hover { color: #fff; }
.footer-col address { display: grid; gap: 22px; font-style: normal; }
.footer-col address p { margin: 0; }
.footer-col address a { line-height: 1.5; }
.footer-col address strong { display: block; margin-bottom: 4px; color: #fff; }
.footer-legal { padding: 32px 0 clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.footer-legal > p { max-width: 980px; }
.footer-legal > p + p { margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a:hover { color: #fff; }


/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(7, 19, 48, .92); }
.lightbox[hidden] { display: none; }
.lightbox-inner { position: relative; width: min(1100px, 100%); }
.lightbox-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; right: 0; top: -58px; }

/* Lines sized by fitNumber() in site.js: measure the text, not the box */
[data-fit] { width: max-content; max-width: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .js .case-index li { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav-link { padding: 0 9px; font-size: 14.5px; }
  .header-row { gap: 18px; }
  .header-phone-label { display: none; }
  .brand-mark { width: 176px; }
}
@media (max-width: 1220px) {
  .nav, .header-phone, .topbar { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-call, .menu-toggle { display: inline-grid; }
  /* the bottom of the screen belongs to chat and cookie consent, so the call button lives in the header */
  .header-call { background: var(--gold); color: var(--ink); }
  .header-call:hover { background: #fff; }
  .header-cta { margin-right: 6px; }
  .offices-stage { grid-template-columns: 1fr; }
  .office-map { min-height: 360px; }
  .office-panel { flex-direction: row; gap: 6px; }
  .office { flex: 1 1 0; }
  .office + .office { margin-top: 0; }
}
@media (max-width: 960px) {
  .results-head, .steps-head, .cases-head, .contact-grid, .awards-head, .offices-head, .articles-head { grid-template-columns: 1fr; }
  .hero-intro-row { flex-direction: column; align-items: flex-start; }
  .bignum-stats { grid-template-columns: 1fr 1fr; }
  .bignum-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .bignum-stats > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .step { grid-template-columns: auto 1fr; gap: 6px 24px; }
}
@media (max-width: 760px) {
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 18px; }
  .step-n { font-size: 64px; }
  .step-n { grid-row: span 2; align-self: start; }
  .earle-grid { grid-template-columns: 1fr; }
  .earle-copy { padding-bottom: 0; }
  .earle-photo { justify-content: center; }
  .earle-photo img { width: min(80%, 420px); }
  .earle { background: radial-gradient(ellipse 80% 34% at 50% 86%, rgba(48, 106, 192, .85), rgba(48, 106, 192, 0) 70%), var(--navy); }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .stories { grid-template-columns: 1fr 1fr; }
  .case-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .post--lead { grid-row: auto; margin-bottom: 12px; }
  .post--lead + .post, .post + .post + .post { padding-block: 24px; }
  .post--lead + .post { border-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-row { height: 70px; }
  .brand-mark { width: 188px; }
  .header-cta { display: none; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta .btn-ghost { display: none; }
  .scroll-cue { display: none; }
  .hero-tag { font-size: 19px; }
  .hero-tag strong { margin-bottom: 10px; font-size: clamp(30px, 9vw, 40px); text-wrap: balance; }
  .field-row { grid-template-columns: 1fr; }
  .post { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 22px; }
  .post:not(.post--lead) .post-meta { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }
  .post:not(.post--lead) .post-cat { padding: 4px 9px; font-size: 10.5px; }
  .post-img { border-radius: 12px; aspect-ratio: 1; }
  .post--lead { min-height: 440px; }
  .post:not(.post--lead) .post-more { display: none; }
  .post-title { margin-top: 8px; font-size: 16.5px; line-height: 1.25; }
  .post--lead .post-title { font-size: 24px; }
  .post-excerpt { font-size: 17px; }
  .office-panel { flex-direction: column; }
  .office-btn { padding: 22px 20px 14px; gap: 14px; }
  .office-pin { width: 40px; height: 40px; }
  .office-name { font-size: 24px; white-space: normal; }
  .office-links { padding: 10px 18px 18px 18px; }
  .office-phone { margin-left: 18px; }
    .review { width: 300px; padding: 24px; }
  .review blockquote { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr; }
  .stories { gap: 2px; }
  .story-name { left: 16px; bottom: 16px; }
}
@media (max-width: 760px) {
  .statement-fit .statement-big, .results-title { white-space: normal; }
  .awards-title { font-size: 7.6vw; }
  .statement-fit { max-width: none; }
  [data-fit="wide"] { width: auto; }
  .br-sm { display: inline; }
  .br-lg { display: none; }
  .h-big { font-size: 11vw; }
  .bignum-tag { display: none; }
  .bignum-stats > div { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 12px; padding: 24px 0 26px 20px; }
  .bignum-stats .i { grid-row: auto; width: 40px; height: 40px; padding: 10px; }
  .bignum-stats dd { margin-top: 0; white-space: normal; }
  .bignum-stats dd { font-size: 14.5px; }
  .statement-big { font-size: 10.4vw; }
}
@media (max-width: 480px) {
  .g-badge { gap: 14px; padding: 14px 20px 14px 16px; }
  .g-badge .g-logo { width: 36px; height: 36px; }
  .g-badge .stars .i { width: 18px; height: 18px; }
  .play { width: 64px; height: 64px; }
  .contact-phone { font-size: 8.6vw; font-stretch: 110%; }
  .towns ul { gap: 8px 18px; }
  .towns li + li::before { display: none; }
  .contact-points { flex-direction: column; }
  .contact-points li { font-size: 15.5px; }
  .contact-phone small { font-size: 12px; }
  .story-name { font-size: 24px; }
}
@media (max-width: 380px) { .step h3 { font-size: 24px; } }
/* touch screens: give small text links a full-size tap area without changing how they look */
@media (max-width: 960px), (hover: none) {
  .brand { padding-block: 8px; }
  .office-phone, .office-links a { padding-block: 10px; }
  .office-links { padding-top: 0; padding-bottom: 8px; }
  .towns ul { gap: 0 18px; }
  .towns a { display: inline-block; padding-block: 11px; }
  .footer-col ul { gap: 0; }
  .footer-col li a, .footer-bottom a { display: inline-block; padding-block: 10px; }
  .footer-tel { padding-block: 8px; }
  .lead-form .consent, .lead-form .consent a { font-size: 12.5px; }
}
/* small phones: play button moves up so the caption has room; form title scales to the card */
@media (max-width: 480px) {
  .video-card .play { top: 34%; }
}
@media (max-width: 380px) {
  .video-card .play { top: 30%; }
  .video-card-label { font-size: 17px; }
  .lead-form h3 { font-size: clamp(18px, 6.2vw, 26px); }
}

/* short or very narrow phones: keep the intro clear of GO LONG */
@media (max-width: 760px) and (max-height: 700px) { .hero-tag { font-size: 16px; } .hero-tag strong { font-size: 26px; margin-bottom: 6px; } }
@media (max-width: 360px) { .brand-mark { width: 168px; } .team-controls .btn { padding-inline: 16px; font-size: 14.5px; } .rail-btn { width: 42px; height: 42px; } }
@media (max-width: 760px) { .bignum { padding-top: 44px; } .bignum-strip { margin-top: 40px; } }
.case-more { display: none; }
/* phones: one compact row per case, the eight most common first, the rest behind a button */
@media (max-width: 760px) {
  .case-index { grid-template-columns: minmax(0, 1fr); }
  .case-index a { gap: 14px; padding: 12px 28px 12px 0; font-size: 16.5px; }
  .case-index a::before { display: none; }
  .case-index a:hover { padding-left: 0; padding-right: 28px; color: var(--blue); }
  .case-index a .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; }
  .case-index a::after { right: 2px; opacity: .35; transform: none; }
  .case-index:not(.is-expanded) li:nth-child(n + 9) { display: none; }
  .case-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 18px; border: 0; border-radius: 14px; background: var(--sky); box-shadow: none; font: 700 15.5px/1 var(--body); color: var(--blue-700); }
  .case-more:hover { background: #DCE7F7; color: var(--blue-700); }
  .case-more .i { display: grid; place-items: center; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.6; transition: transform .3s var(--ease); }
  .case-more[aria-expanded="true"] .i { transform: rotate(180deg); }
}
/* phones: tighter vertical rhythm, every section on the same 60px beat */
@media (max-width: 760px) {
  :root { --section: 60px; }
  .team, .awards, .offices { padding-block: 60px; }
  .earle { padding-top: 60px; }
  .site-footer { padding-top: 56px; }
  .results-head, .steps-head, .reviews-head, .cases-head, .team-head, .awards-head, .articles-head, .offices-head, .contact-head { margin-bottom: 32px; }
}
/* phones: a tighter pitch so the form arrives sooner */
@media (max-width: 760px) {
  .contact-grid { gap: 32px; }
  .contact-lede { margin-top: 16px; font-size: 17px; line-height: 1.55; }
  .contact-phone { margin-top: 26px; }
  .contact-phone small { margin-bottom: 8px; }
  .contact-points { gap: 8px; margin-top: 18px; }
  .contact-points li { font-size: 15px; }
  .contact-team { gap: 12px; margin-top: 22px; padding-top: 0; border-top: 0; }
  .contact-faces img { width: 34px; height: 34px; margin-left: -10px; border-width: 2px; }
  .contact-faces img:first-child { margin-left: 0; }
  .contact-team p { font-size: 13.5px; line-height: 1.4; }
}
@media (min-width: 340px) and (max-width: 760px) { .lead-form .field-row:has([name="first"]) { grid-template-columns: 1fr 1fr; gap: 12px; } }
/* the consent text quotes this label word for word, so on phones it shrinks to fit one line rather than being shortened */
@media (max-width: 760px) { .lead-form .btn { gap: 8px; padding-inline: 16px; font-size: clamp(14px, 4.1vw, 16px); white-space: nowrap; } }
@media (max-width: 380px) { .lead-form .btn .i { display: none; } }
