@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Spectral;
  src: url("fonts/spectral-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Spectral;
  src: url("fonts/spectral-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --midnight: #0c1218;
  --night-ink: #131d25;
  --paper: #f5f3ed;
  --ink: #162028;
  --muted: #49545a;
  --gold: #e8c299;
  --bronze: #84542e;
  --rule: #cbc9c0;
  --sans: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --serif: Spectral, Georgia, "Times New Roman", serif;
}

.itbs-header, .itbs-footer, .itbs-skip { font: 500 1rem/1.5 var(--sans); }
.itbs-header, .itbs-footer { background: var(--midnight); color: var(--paper); }
.itbs-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #ffffff24; }
.itbs-bar, .consulting .container { width: min(85rem, 89%); margin-inline: auto; }
.itbs-bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.itbs-header .itbs-bar { min-height: 4.5rem; }
.itbs-brand, #mainsite .itbs-brand { display: inline-flex; align-items: baseline; gap: .13em; color: #faf9f4; font: 650 1.72rem/1 var(--sans); letter-spacing: -.055em; text-decoration: none; }
.itbs-brand::before { content: ""; align-self: center; width: .82em; height: .85em; margin-right: .15em; transform: skewX(-17deg); background: repeating-linear-gradient(90deg, var(--gold) 0 19%, transparent 19% 35%); }
.itbs-brand span { font: 600 .55rem/1 var(--sans); letter-spacing: .08em; color: var(--gold); }
.itbs-links, .itbs-footer nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.15rem); }
.itbs-links a, .itbs-footer a, #mainsite .itbs-footer a { color: #e8e8e4; text-decoration: none; font-size: .88rem; }
.itbs-links a:last-child, .itbs-toggle { background: transparent; color: var(--paper); border: 1px solid #9a958a; border-radius: 2px; padding: .47rem 1.1rem; font: 600 .86rem/1.5 var(--sans); }
.itbs-links a:hover, .itbs-links a[aria-current],
.itbs-footer a:is(:hover, [aria-current]), #mainsite .itbs-footer a:is(:hover, [aria-current]) {
  color: var(--gold); text-decoration: underline; text-underline-offset: .45em;
}
.itbs-links a:last-child::after { content: " →"; color: var(--gold); }
.itbs-toggle { cursor: pointer; }
.itbs-header [hidden], .optics [hidden] { display: none; }
.itbs-footer { padding: 2.4rem 0; border-top: 1px solid #ffffff24; }
.itbs-footer span { color: #d2c7b8; font-size: .9rem; }
.itbs-skip { position: absolute; z-index: 30; left: 1rem; top: -8rem; padding: .6rem; background: white; color: var(--ink); }
.itbs-skip:focus { top: .5rem; }
:where(.consulting, .itbs-header, .itbs-footer, .itbs-local) :focus-visible, .itbs-skip:focus { outline: 3px solid #c88849; outline-offset: 4px; }
html { scroll-padding-top: 5rem; }

.consulting { margin: 0; color: var(--ink); background: var(--paper); font: 1.04rem/1.66 var(--sans); }
.consulting *, .itbs-header * { box-sizing: border-box; }
.consulting h1, .consulting h2, .consulting h3, .consulting p { margin: 0; }
.consulting h1, .consulting h2, .consulting h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.consulting h1 { font-size: clamp(2.9rem, 5.6vw, 5.65rem); }
.consulting h2 { font-size: clamp(2rem, 3.5vw, 3.65rem); }
.consulting h3 { font-size: clamp(1.55rem, 2.15vw, 2.25rem); }
.consulting main a { color: var(--bronze); text-underline-offset: .23em; }
.consulting main a:hover { text-decoration-thickness: 2px; }
.consulting .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.55rem; margin-top: 1.85rem; }
.consulting .button { display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; padding: .8rem 1.3rem; border-radius: 2px; border: 1px solid transparent; background: var(--ink); color: white; cursor: pointer; font: 600 .96rem/1.4 var(--sans); text-decoration: none; }
.consulting .button:hover { background: #32414a; }
.consulting .intro .button, .consulting .home-hero .button, .consulting .contact .button { color: #201d18; background: var(--gold); }
.consulting .intro .button:hover, .consulting .home-hero .button:hover, .consulting .contact .button:hover { background: #f6dbc0; }
.consulting .button span { font-size: 1.2em; }
.consulting .home-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fffaf0;
  background: radial-gradient(ellipse at var(--spotlight, 77% 49%), #314452 0%, #17252f 30%, #101920 55%, #0c1319 80%);
}
.home-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -5px -5px -5px 27%;
  background: url("../images/financial-district.webp") center 42% / cover no-repeat;
  filter: blur(2.5px); opacity: .36;
  mask-image: linear-gradient(90deg, transparent, #000 52%);
}
.consulting .hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; min-height: clamp(34rem, 74svh, 48rem); }
.consulting .hero-copy { position: relative; z-index: 2; padding: 3.4rem 0; }
.consulting .hero-copy .firm-name { display: flex; align-items: center; gap: .8rem; color: #e0c4a5; font: 600 .73rem/1.55 var(--sans); text-transform: uppercase; letter-spacing: .15em; margin: 0 0 1.5rem; }
.firm-name::before { content: ""; flex: 0 0 2rem; height: 1px; background: #c99b68; }
.consulting .hero-copy h1 { font-size: clamp(3.1rem, 6.1vw, 6.5rem); line-height: .99; letter-spacing: -.045em; }
.consulting .hero-copy h1 em { font-weight: 400; color: var(--gold); }
.consulting .hero-copy > p:not(.firm-name) { max-width: 42ch; margin-top: 1.25rem; color: #d4dade; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.55; }
.consulting .home-hero .more { color: #f0e9dd; font-size: .95rem; }

.optics { position: relative; align-self: stretch; min-width: 0; display: flex; align-items: center; justify-content: center; }
.optics-stage { --spread: .57; position: absolute; inset: 3% -2% 7%; }
.optic-orbit { position: absolute; inset: 50% auto auto 50%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid #c5d5d11c; }
.optic-orbit::before, .optic-orbit::after { content: ""; position: absolute; inset: 11%; border: 1px dashed #d4c2a526; border-radius: inherit; }
.optic-orbit::after { inset: -8%; border-style: solid; border-color: transparent #c1ae8d29 transparent #c1ae8d29; transform: rotate(-30deg); }
.optic-model { position: absolute; top: 50%; left: 50%; height: min(83%, 31.5rem); aspect-ratio: 630 / 1254; transform: translate(-50%, -50%) rotate(34deg); }
.optics-stage.adjustable { cursor: ew-resize; touch-action: pan-y pinch-zoom; user-select: none; }
.optic-hint { color: #d2d6d9; font: 500 .74rem/1.5 var(--sans); }
.optic-part { position: absolute; inset: 0; background: url("../images/optical-assembly.webp") center / 100% 100% no-repeat; }
.optic-barrel { clip-path: inset(0 0 65.1%); transform: translateY(calc(23% - var(--spread) * 36%)); }
.optic-iris { clip-path: inset(34.9% 0 44.9%); transform: translateY(calc(7% - var(--spread) * 9%)); }
.optic-glass { clip-path: inset(55.1% 0 25.9%); transform: translateY(calc(-6% + var(--spread) * 12%)); }
.optic-base { clip-path: inset(74.1% 0 0); transform: translateY(calc(-18% + var(--spread) * 34%)); }
.optic-control { position: absolute; right: 4%; bottom: 5%; display: flex; gap: .8rem; align-items: center; }
.optic-control label { color: #d2d6d9; font: 600 .7rem/1.5 var(--sans); letter-spacing: .11em; text-transform: uppercase; }
.optic-control input { width: 5.4rem; height: 1.5rem; margin: 0; appearance: none; background: transparent; cursor: ew-resize; }
.optic-control input::-webkit-slider-runnable-track { height: 2px; background: #a5a59b; }
.optic-control input::-moz-range-track { height: 2px; background: #a5a59b; }
.optic-control input::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--gold); background: #19252d; }
.optic-control input::-moz-range-thumb { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); background: #19252d; }

.consulting .section { padding: clamp(3rem, 6.4vw, 6.8rem) 0; }
.consulting .section + .section { border-top: 1px solid var(--rule); }
.consulting .section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.consulting .section-head > a { font-size: .95rem; }
.consulting .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 4.5rem; }
.consulting .card { position: relative; border-top: 1px solid #a59f91; padding: 1.45rem 2.5rem 0 0; }
.consulting .card h3 a, .consulting .row h2 a { color: inherit; text-decoration: none; }
.consulting .card h3 a::after { content: "→"; position: absolute; top: 1.5rem; right: .15rem; font: 400 1.1rem/1.4 var(--sans); color: var(--bronze); }
.consulting .card h3 a:hover, .consulting .row h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.consulting .card p, .consulting .row p { max-width: 62ch; margin-top: .7rem; color: var(--muted); }
.consulting .home-hero + .ink { border-top: 1px solid #ffffff22; }
.consulting .ink { background: var(--midnight); color: #fff; padding: 1.8rem 0 2rem; }
.consulting .ink .container { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4%; }
.consulting .ink .section-head { margin: 0; }
.consulting .ink h2 { color: #c6c5bc; font: 600 .71rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.consulting .logos { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: center; gap: 3%; }
.consulting .logos a { min-height: 3.25rem; display: grid; place-items: center; }
.consulting .logos img { display: block; max-width: 100%; width: auto; height: auto; max-height: var(--mark-height, 2.5rem); }
.logos .citi { --mark-height: 2.25rem; }
.logos .bloomberg { --mark-height: 1.45rem; }
.logos .ets { --mark-height: 2.15rem; }
.consulting .logos a > span { max-width: 100%; }
.consulting .logos .ms-logo { width: 4.4rem; max-width: 100%; aspect-ratio: 45 / 28; position: relative; overflow: hidden; mix-blend-mode: screen; }
.consulting .logos .ms-logo img { position: absolute; width: 195.56%; max-width: none; max-height: none; top: -70.54%; left: -47.78%; filter: grayscale(1) contrast(200%); }

.home #service-section .container { display: grid; grid-template-columns: .72fr 1.3fr; gap: 6%; }
.home #service-section .section-head { align-self: start; align-items: start; flex-direction: column; }
.home #service-section .cards { grid-template-columns: 1fr; gap: 0; }
.home #service-section .card { padding: 1.3rem 2.4rem 1.5rem 0; }
.home #service-section .card:last-child { border-bottom: 1px solid var(--rule); }
.home #testimonial-section, .consulting .intro { isolation: isolate; position: relative; overflow: hidden; background: #101922; color: #fffaf3; }
.home #testimonial-section::before, .consulting .intro::before { content: ""; position: absolute; inset: -12% 0; z-index: -1; background: linear-gradient(90deg, rgba(9,15,20,.99) 3%, rgba(9,15,20,.89) 37%, rgba(9,15,20,.42) 72%, rgba(9,15,20,.08)), url("../images/financial-district.webp") center 46% / cover; transform: translateY(var(--scene-shift, 0px)); }
.home #testimonial-section .section-head { display: block; max-width: 40rem; }
.home #testimonial-section h2 { max-width: 14ch; }
.home #testimonial-section .section-head a { color: var(--gold); display: inline-block; margin-top: 1rem; }
.home #testimonial-section .cards { max-width: 52rem; gap: 1rem; }
.home #testimonial-section .card { color: #fffaf3; background: #101a20f5; padding: 1.5rem 2.65rem 1.6rem 1.5rem; border-color: #a89c86; }
.home #testimonial-section .card h3 a::after { right: 1rem; color: var(--gold); }
.home #testimonial-section .card p { color: #ced4d6; }
.home #team-section .container { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 6%; }
.home #team-section .section-head { flex-direction: column; align-items: start; }
.home #team-section .container > p { max-width: 40ch; font: 400 clamp(1.4rem, 2.3vw, 2.15rem)/1.38 var(--serif); }

.consulting .intro { padding: clamp(3.5rem, 7vw, 7.5rem) 0; }
.consulting .intro h1 { max-width: 19ch; }
.consulting .intro p { max-width: 56ch; margin-top: 1.4rem; color: #e5e6e3; font-size: clamp(1.08rem, 1.45vw, 1.3rem); }
.consulting .advisory-invitation { margin-top: 1.5rem; color: var(--gold); font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
.consulting .advisory-invitation + p { margin-top: .65rem; }
.consulting .intro a:not(.button) { color: var(--gold); }
.consulting .rows { padding: 1.4rem 0; }
.consulting .row { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); gap: 1rem 8%; padding: clamp(1.8rem,3.9vw,3.8rem) 0; }
.consulting .row + .row { border-top: 1px solid var(--rule); }
.consulting .row h2 { font-size: clamp(1.65rem, 2.6vw, 2.65rem); }
.consulting .row p:first-child { margin-top: 0; }
.consulting .contact { background: #16222b; color: #f6f2ea; }
.consulting .contact p, .consulting .contact address { color: #d1d7d8; }
.consulting .contact a:not(.button) { color: var(--gold); }
.consulting .contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.2rem 10%; }
.consulting .contact p { max-width: 54ch; margin: .8rem 0; }
.consulting .contact address { font-style: normal; font-size: .96rem; }
.consulting .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.consulting .fields label { display: block; margin-bottom: .32rem; font-weight: 600; font-size: .9rem; }
.consulting .wide { grid-column: 1 / -1; }
.consulting .fields input, .consulting .contact-form textarea { width: 100%; padding: .67rem; border: 1px solid #72818d; border-radius: 2px; background: #0e1922; color: white; font: inherit; }
.consulting .contact-form textarea { min-height: 7rem; resize: vertical; }
.consulting .trap { position: absolute; left: -5000px; }
.consulting .response, .consulting .mce_inline_error { margin-top: .5rem; }
.consulting .contact .button { margin-top: 1rem; }
.contact-page { display: flex; flex-direction: column; min-height: 100svh; }
.contact-page main { flex: 1; display: grid; }
.consulting .contact-form .form-note { margin: 1rem 0 .7rem; font: 400 .9rem/1.5 var(--sans); color: #d1d7d8; }
.contact-page .mailing-address { margin-top: 1.4rem; }
.contact-page .mailing-address summary { cursor: pointer; }
.contact-page .contact-hero { display: grid; align-items: center; }
.itbs-local { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.6rem; padding: .72rem 5%; background: #1a262e; }
.itbs-local a, .consulting main .itbs-local a { color: #edd3b5; font: 500 .9rem/1.55 var(--sans); text-decoration: underline; text-underline-offset: .25em; }
#mainsite .itbs-bar { float: none; }
#mainsite .itbs-footer nav a { margin: 0; }
#mainsite .section-title, #mainsite .section-slogan, #mainsite .parallax-title,
#mainsite .parallax-slogan, #mainsite .about-box, #mainsite .about-icon,
#mainsite .box-fade, #mainsite .contact-wrap { opacity: 1 !important; }
#mainsite .section-title, #mainsite .parallax-title { font-family: var(--serif); text-transform: none; letter-spacing: -.035em; line-height: 1.13; background-image: none; }
#mainsite .section-title span { background: transparent; }
#mainsite .content-section { background-color: var(--paper); }
#mainsite .about-box p, #mainsite .section-header p { color: #3e4950; }
#mainsite .about-box h3 { font: 400 1.5rem/1.2 var(--serif); }
#mainsite .about-box a, #mainsite .section-header a { color: #795024; }
#mainsite .section-header p a { text-decoration: underline; }

/* Specialist pages keep their existing sections and in-page navigation. */
.consulting .intro.advisory { overflow: clip; }
.consulting .intro.advisory::before { background: radial-gradient(ellipse at 78% 50%, #313b3e, #101922 70%); }
.advisory-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 6%; }
.advisory-drawing { position: relative; overflow: hidden; box-shadow: 0 1.3rem 3.5rem #070d1355; }
.advisory-drawing img { display: block; width: 100%; height: auto; }
.advisory-drawing svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.advisory-drawing path { fill: none; stroke: #173c53; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; }
.recovery:not(:has(:checked)) .flow-fork > :first-child,
.recovery:has(:checked) .flow-fork > :last-child { border-color: var(--gold); background: #2d3537; }
.recovery .flow-fork > .flow-node::before {
  content: ""; position: absolute; bottom: 100%; height: 1rem; width: calc(50% + .4rem);
  border-top: 2px solid var(--gold); opacity: 0;
}
.recovery .flow-fork > :first-child::before { left: 50%; border-left: 2px solid var(--gold); }
.recovery .flow-fork > :last-child::before { right: 50%; border-right: 2px solid var(--gold); }
.recovery:not(:has(:checked)) .flow-fork > :first-child::before,
.recovery:has(:checked) .flow-fork > :last-child::before { opacity: 1; }
.consulting.schematic .intro::before {
  background: radial-gradient(ellipse at 78% 60%, #293d47, #121e27 45%, #0c141b 85%);
}
.schematic-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: center; gap: 7%; }
.service-diagram {
  margin: 0; padding: clamp(1.2rem, 3vw, 2.7rem); border: 1px solid #75848a65;
  background: radial-gradient(#9daeb533 .8px, transparent 1px) 0 0 / 12px 12px, #11212ad9;
  box-shadow: inset 0 1px #dbe0dc1c; color: #f6f3eb;
}
.technical-plate { margin: 0; padding: clamp(1.25rem,2.8vw,2.35rem); border: 1px solid #718285; background: #14232c; color: #edf0ed; }
.technical-plate figcaption { margin-bottom: 1rem; font: 400 clamp(1.5rem,2.35vw,2.05rem)/1.18 var(--serif); color: var(--paper); }
.plate-switch { display: flex; align-items: center; gap: .65rem; padding-block: .8rem; border-block: 1px solid #617378; font-size: .91rem; cursor: pointer; }
.plate-switch input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--gold); }
.trade-ledger table { margin-top: 1rem; width: 100%; border-collapse: collapse; font-size: .93rem; }
.trade-ledger caption { text-align: left; color: #c5cece; padding-bottom: .55rem; font-size: .8rem; }
.trade-ledger th, .trade-ledger td { padding: .65rem 0; border-bottom: 1px solid #65777d; }
.trade-ledger th { font-weight: 500; text-align: left; }
.trade-ledger td { font-variant-numeric: tabular-nums; text-align: right; }
.trade-ledger .corrected, .trade-ledger:has(:checked) .initial { display: none; }
.trade-ledger:has(:checked) .corrected { display: inline; color: var(--gold); font-weight: 650; }
.service-diagram figcaption { color: var(--gold); margin-bottom: 1.4rem; font: 400 clamp(1.3rem, 2vw, 2rem)/1.15 var(--serif); }
.flow-node { position: relative; border: 1px solid #718089; padding: .65rem .45rem; background: #172630; text-align: center; font: 500 .86rem/1.4 var(--sans); }
.flow-node small { display: block; margin-top: .2rem; color: #b8c4ca; }
.flow-fork { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; position: relative; margin-top: 2rem; }
.flow-fork::before { content: ""; position: absolute; bottom: 100%; height: 1rem; left: calc(25% - .2rem); right: calc(25% - .2rem); border: 1px solid #ad9980; border-bottom: 0; }
.flow-fork::after { content: ""; position: absolute; bottom: calc(100% + 1rem); left: 50%; height: 1rem; border-left: 1px solid #ad9980; }
.recovery:not(:has(:checked)) .flow-node:first-child .normal, .recovery:has(:checked) .flow-node:last-child .failed { color: var(--gold); }
.recovery .failed, .recovery:has(:checked) .normal { display: none; }
.recovery:has(:checked) .failed { display: block; }
.recovery-switch { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; margin-top: 1rem; cursor: pointer; font-size: .85rem; }
.recovery-switch input { accent-color: var(--gold); width: 1.1rem; height: 1.1rem; margin: 0; }
@media (max-width: 54rem) {
  .advisory-grid { grid-template-columns: 1fr; gap: 2rem; }
  .advisory-drawing { max-width: 38rem; }
  .schematic-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-diagram { width: min(100%, 32rem); }
}
.consulting.technical .intro::before {
  background: radial-gradient(ellipse at 80% 48%, #34434a, #17242b 40%, #10181f 78%);
}
.finding-sheet { padding: clamp(1.5rem, 3.5vw, 3rem); border-top: 4px solid #b38755; background: linear-gradient(125deg,#fcf9f1,#e9e3d6); color: #1c2c33; box-shadow: 0 1.4rem 3rem #07101859; }
.finding-sheet header { padding-bottom: .8rem; border-bottom: 1px solid #bfb5a5; color: #67523a; font: 600 .75rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.consulting .finding-sheet h2 { margin: 1.3rem 0 .65rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.consulting .finding-sheet p, .finding-sheet dl { margin: 0; font: 400 1rem/1.6 var(--sans); color: #34434a; }
.finding-sheet details { margin-top: 1.15rem; border-top: 1px solid #bfb5a5; }
.finding-sheet summary { padding: 1rem 0 .35rem; cursor: pointer; font-weight: 600; }
.finding-sheet dt { margin-top: .8rem; font-weight: 650; color: #523e26; }
.finding-sheet dl { display: grid; grid-template-columns: minmax(6rem,.62fr) 1.4fr; column-gap: .9rem; }
.finding-sheet dt, .finding-sheet dd { padding-top: .7rem; margin: .7rem 0 0; border-top: 1px solid #c6bbab; }
@media (max-width: 32rem) {
  .finding-sheet dl { display: block; }
  .finding-sheet dd { padding: 0; margin: .25rem 0 0; border: 0; }
}
.assurance-method { background: #18252e; color: var(--paper); }
.assurance-method .section-head { margin-bottom: .65rem; }
.assurance-method .cards { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 2rem; }
.assurance-method .card { padding-right: 0; }
.assurance-method .card p { color: #d3dcdf; }
@media (max-width: 50rem) {
  .assurance-method .cards { grid-template-columns: 1fr; }
  .consulting.assurance .intro::before { opacity: .55; }
}
#mainsite:has(.itbs-local) #about-section { padding-top: 0; }
#mainsite:has(.itbs-local) #about-section > .grid-container > div:has(> .section-header h1) {
  width: 100%; margin: 0 0 2.6rem; padding: 0;
}
#mainsite:has(.itbs-local) #about-section .section-header {
  padding: clamp(2.5rem, 5vw, 5rem) 6%; text-align: left; color: #fffaf2;
  background: linear-gradient(90deg, #111b23 15%, #101923ee 55%, #1019238a),
    url("../images/financial-district.webp") center / cover;
}
#mainsite:has(.itbs-local) #about-section .section-title { max-width: 24ch; font-size: clamp(2.3rem, 4.1vw, 4.2rem); color: inherit; }
#mainsite:has(.itbs-local) #about-section .section-title span { padding: 0; }
#mainsite:has(.itbs-local) #about-section .section-header p,
#mainsite:has(.itbs-local) #about-section .section-header h3 { max-width: 62ch; color: #ecece7; font-family: var(--sans); }
#mainsite:has(.itbs-local) #about-section .section-header a { color: var(--gold); }

@media (max-width: 62rem) {
  .itbs-header .itbs-bar { flex-wrap: wrap; gap: 0; padding: .75rem 0; min-height: 4rem; }
  .itbs-links { width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding: .55rem 0 .15rem; max-height: 62vh; overflow-y: auto; }
  .itbs-links a, .itbs-links a:last-child { padding: .55rem 0; border: 0; }
  .consulting .hero-grid { min-height: 32rem; }
  .consulting .logos { gap: 1rem; }
  .consulting .ink .container { display: block; }
  .consulting .ink .section-head { margin-bottom: .8rem; }
}
@media (min-width: 44.01rem) and (max-width: 55rem) {
  .optic-model { max-height: 47vw; }
}
@media (max-width: 44rem) {
  .home-hero { --spotlight: 58% 78%; }
  .home-hero::before {
    inset: auto -5px -5px; height: clamp(17rem, 70vw, 22rem);
    background-position: center 36%; mask-image: linear-gradient(transparent, #000 48%);
  }
  .consulting .hero-grid, .consulting .cards, .consulting .row, .consulting .contact-grid, .home #service-section .container, .home #team-section .container { grid-template-columns: 1fr; }
  .consulting .hero-grid { min-height: auto; gap: 0; }
  .consulting .hero-copy { padding: 2.4rem 0 .6rem; isolation: isolate; }
  .consulting .hero-copy::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none; right: -5vw; top: .35rem;
    width: 32%; height: 9rem; opacity: .48;
    background: url("../images/optical-assembly.webp") left 1% / 175% auto no-repeat;
    mask-image: radial-gradient(ellipse at 100% 34%,#000 20%,transparent 75%);
  }
  .consulting .hero-copy .firm-name { font-size: .64rem; letter-spacing: .1em; margin-bottom: .78rem; }
  .consulting .hero-copy h1 { font-size: clamp(2.85rem, 10.5vw, 4.1rem); }
  .consulting .hero-copy h1 em br { display: none; }
  .consulting .hero-copy > p:not(.firm-name) { margin-top: 1rem; }
  .consulting .actions { gap: 1rem; margin-top: 1.25rem; }
  .optics { height: clamp(15rem, 62vw, 19rem); }
  .optics-stage { inset: 4% 0 16%; }
  .optic-model { height: 90%; }
  .optic-orbit { width: min(54%, 14rem); }
  .optic-control { right: 0; bottom: 2%; gap: .45rem; }
  .optic-control input { width: 3.7rem; }
  .optic-control label { font-size: .58rem; }
  .consulting .logos { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem .9rem; }
  .consulting .logos img { max-height: min(2rem, var(--mark-height, 2rem)); }
  .consulting .logos a { min-height: 2.2rem; }
  .home #service-section .container, .home #team-section .container { gap: 0; }
  .home #service-section .section-head, .home #team-section .section-head { flex-direction: row; align-items: baseline; }
  .home #testimonial-section::before, .consulting .intro::before { background-image: linear-gradient(90deg,#0b141bf2,#0b141bbd), url("../images/financial-district.webp"); }
  .consulting .fields { grid-template-columns: 1fr; }
  .itbs-footer .itbs-bar { flex-direction: column; align-items: start; gap: 1rem; }
}

@media (max-width: 23rem) {
  .consulting .intro h1 { font-size: 2.45rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .consulting .button, .itbs-links a { transition: background-color .2s, color .2s; }
  .advisory-drawing.motion-pending path { stroke-dashoffset: 1; }
  .advisory-drawing.motion-play path { animation: mark-dependency 1.35s .28s cubic-bezier(.38,.02,.28,1) backwards; }
  @keyframes mark-dependency { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .recovery .flow-node, .recovery .flow-node::before { transition: opacity .35s, border-color .35s, background-color .35s; }
  .finding-sheet details[open] dl { animation: reveal-evidence .25s ease-out; }
  @keyframes reveal-evidence { from { opacity: .4; transform: translateY(3px); } }
}
@media (prefers-reduced-motion: reduce) {
  #mainsite *, #mainsite *::after, #mainsite *::before { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
