/* The Gibb River Group | website redesign V4
   Editorial and restrained: serif headlines, flat surfaces, hairline rules.
   The trapezoid of the original hero callouts is kept for the hero and page titles only. */
/* Fonts served from this website (assets/fonts). Newsreader and Libre Franklin, SIL Open Font License. */
@font-face { font-family: "Newsreader GRG"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader GRG"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin GRG"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/libre-franklin-latin-wght-normal.woff2") format("woff2"); }
:root {
  --navy: #0B1F3F;
  --navy-2: #1B3563;
  --bronze: #9A6A2C;
  --bronze-dk: #7A5220;
  --bronze-lt: #D9BC8C;
  --sand: #F4EFE7;
  --sand-dk: #E6DFD3;
  --line: #D9D5CC;
  --text: #1C2434;
  --muted: #586174;
  --serif: "Newsreader GRG", "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Libre Franklin GRG", "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --pad: 32px;
  --gutter: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  --header-h: 80px;
  --space: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.4rem; line-height: 1.22; }
h4, .eyebrow { font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-dk); margin: 0 0 18px; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 1040px; }
.center, .after-grid { margin: 48px 0 0; }
.lead-sm { font: 400 1.5rem/1.38 var(--serif); color: var(--navy); margin-bottom: 1em; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 0 26px; border: 1px solid var(--navy); border-radius: 0; background: var(--navy); color: #fff; font: 600 .92rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--bronze-dk); border-color: var(--bronze-dk); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .86rem; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bronze-lt); border-color: var(--bronze-lt); color: var(--navy); }
.arr { width: 20px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s var(--ease); }
a:hover > .arr, .btn:hover .arr, a:hover .more .arr { transform: translateX(5px); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .95rem/1.3 var(--sans); color: var(--navy); text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid currentColor; white-space: nowrap; transition: color .2s; }
.link-arrow:hover { color: var(--bronze-dk); }
.link-arrow.on-dark { color: #fff; }
.link-arrow.on-dark:hover { color: var(--bronze-lt); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { flex: none; font: 500 1.4rem/1 var(--serif); color: var(--bronze-dk); text-decoration: none; }
.logo img { height: 28px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; margin: 0; padding: 0; gap: 6px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 12px; font: 500 .95rem/1 var(--sans); color: var(--navy); text-decoration: none; background: linear-gradient(var(--navy), var(--navy)) 12px calc(100% - 2px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.nav-item:hover > .nav-link, .nav-item.active > .nav-link, .nav-item:focus-within > .nav-link { background-size: calc(100% - 24px) 1px; }
.sub-toggle { display: none; }
.dropdown { list-style: none; margin: 0; padding: 14px 0; position: absolute; top: calc(100% + 19px); left: -12px; min-width: 280px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.dropdown.mega { min-width: 620px; left: -150px; display: grid; grid-template-columns: 1fr 1fr; }
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 24px; font-size: .92rem; line-height: 1.35; color: var(--text); text-decoration: none; }
.dropdown a:hover { color: var(--bronze-dk); text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; gap: 12px; font: 500 .8rem/1 var(--sans); letter-spacing: .08em; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a.on { color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 3px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 1.5px; background: var(--navy); margin: 6px 0; transition: transform .25s, opacity .2s; }

/* Hero slider */
.hero { position: relative; height: clamp(540px, 76vh, 720px); background: var(--navy); overflow: hidden; display: flex; align-items: center; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transform: scale(1.08); transition: transform 9s linear; }
.slide img.pos-mid, .phero-img { object-position: 50% 60%; }
/* Vertical framing of each city photo, so the landmark stays in view in the wide crop */
img.pos-chicago-skyline { object-position: 50% 25%; }
img.pos-london { object-position: 50% 45%; }
img.pos-hong-kong { object-position: 50% 50%; }
img.pos-berlin { object-position: 50% 36%; }
img.pos-zurich { object-position: 50% 45%; }
.slide.is-active img { transform: scale(1); }
.slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 63, .30), rgba(11, 31, 63, .12) 45%, rgba(11, 31, 63, .50)); }
.hero-panel-wrap { position: relative; z-index: 2; width: min(840px, 64vw); filter: drop-shadow(0 20px 40px rgba(6, 15, 38, .45)); }
.hero-panel-wrap::before { content: ""; position: absolute; inset: 0; background: var(--bronze); clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%); transform: translate(14px, 11px); }
.hero-panel { position: relative; background: rgba(11, 31, 63, .94); clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%); }
.hero-panel-in { padding: 42px 128px 40px var(--gutter); }
.hero-texts { display: grid; }
.hero-text { grid-area: 1 / 1; margin: 0; align-self: center; font: 400 clamp(1.3rem, 2.05vw, 1.85rem)/1.3 var(--serif); letter-spacing: -.008em; color: #D3DAE8; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .7s var(--ease); pointer-events: none; text-wrap: pretty; }
.hero-text strong { color: #fff; font-weight: 600; }
.hero-text.is-active { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 28px; }
.hero-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 32px; display: flex; justify-content: flex-end; align-items: center; gap: 28px; pointer-events: none; }
.hero-ctrl > * { pointer-events: auto; }
.dots { display: flex; gap: 6px; }
.dot { width: 40px; height: 24px; padding: 11px 0; border: 0; background: none; cursor: pointer; }
.dot::before { content: ""; display: block; height: 2px; background: rgba(255, 255, 255, .4); }
.dot i { display: block; height: 2px; margin-top: -2px; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-active i { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .dot.is-active i { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-nav { display: flex; gap: 8px; }
.hero-nav button, .rail-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 0; background: rgba(11, 31, 63, .5); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.hero-nav button:hover { background: #fff; border-color: #fff; color: var(--navy); }
.hero-nav svg, .rail-nav svg, .sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Key figures */
.kpis { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.kpi { border-top: 1px solid var(--navy); padding-top: 22px; }
.kpi b { display: block; font: 400 clamp(2.6rem, 4vw, 3.6rem)/1 var(--serif); letter-spacing: -.02em; color: var(--navy); margin-bottom: 16px; white-space: nowrap; }
.kpi h3 { font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-dk); margin-bottom: 6px; }
.kpi p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--muted); }

/* Sections */
.section { padding: var(--space) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #C3CCDD; overflow: hidden; }
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: var(--bronze-lt); }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .13; }
.section-navy .container { position: relative; }
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 0; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.section-head.split > p { margin: 0; font-size: 1.05rem; color: var(--muted); }
.section-navy .section-head.split > p { color: #C3CCDD; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.intro-grid h2 { margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 96px; align-items: start; }
.about-copy h2 { font-size: clamp(1.8rem, 2.9vw, 2.5rem); line-height: 1.18; margin-bottom: 0; }
.about-close { font: 400 1.5rem/1.3 var(--serif); font-style: italic; color: var(--bronze-dk); margin: 36px 0 36px; }
.about-facts { margin: 0; border-bottom: 1px solid var(--line); }
.about-facts > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.about-facts > div:first-child { border-top-color: var(--navy); }
.about-facts dt { font: 600 .75rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-dk); padding-top: 5px; }
.about-facts dd { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--text); }

/* Expertise explorer */
.explorer { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; border-top: 1px solid var(--navy); }
.ex-tabs { display: flex; flex-direction: column; }
.ex-tab { position: relative; min-height: 58px; padding: 14px 28px 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); text-align: left; font: 400 1.02rem/1.3 var(--sans); cursor: pointer; transition: color .2s, padding .25s var(--ease); }
.ex-tab::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); opacity: 0; transition: opacity .2s; }
.ex-tab:hover { color: var(--navy); }
.ex-tab[aria-selected="true"] { color: var(--navy); font-weight: 600; padding-left: 16px; box-shadow: inset 3px 0 0 var(--bronze); }
.ex-tab[aria-selected="true"]::after { opacity: 1; }
.ex-panel { padding: 44px 0 0; }
.ex-panel[hidden] { display: none; }
.ex-panel:not([hidden]) { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.ex-copy h3 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); margin-bottom: 20px; }
.ex-copy p { font-size: 1.1rem; color: var(--text); max-width: 640px; margin-bottom: 28px; }
.ex-result { margin-top: 48px; padding: 30px 36px 32px; background: var(--sand); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 36px; align-items: center; }
.ex-result small { grid-column: 1 / -1; font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-dk); margin-bottom: 14px; }
.ex-result b { grid-row: 2 / span 2; font: 400 3.2rem/1 var(--serif); letter-spacing: -.02em; color: var(--navy); }
.ex-result span { font-weight: 600; color: var(--navy); line-height: 1.35; }
.ex-result em { font-style: normal; font-size: .9rem; color: var(--muted); }

/* Rule-topped item grids */
.commit, .why-grid, .pillars, .svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 56px; }
.pillars { grid-template-columns: repeat(4, 1fr); }
.pillars-3 { grid-template-columns: repeat(3, 1fr); }
.commit li, .why, .pillar, .svc-card { border-top: 1px solid var(--navy); padding-top: 24px; }
.commit h3, .why h3, .pillar h3 { margin-bottom: 10px; }
.commit p, .why p, .pillar p { margin: 0; color: var(--muted); font-size: 1rem; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; }
.svc-card h3 { transition: color .2s; }
.svc-card:hover h3 { color: var(--bronze-dk); }
.svc-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 12px; font: 600 .9rem/1 var(--sans); color: var(--navy); }

/* Industries */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
.industries li { padding: 20px 0 22px; border-top: 1px solid rgba(255, 255, 255, .28); font: 400 1.4rem/1.2 var(--serif); color: #fff; }
.industries-light li { border-top-color: var(--line); color: var(--navy); }

/* Client results */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 28px 28px 26px; }
.case-svc { font: 600 .72rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dk); text-decoration: none; margin-bottom: 22px; }
.case-svc:hover { color: var(--navy); }
.case-metric { font: 400 3rem/1 var(--serif); letter-spacing: -.02em; color: var(--navy); }
.case-label { font-weight: 600; color: var(--navy); margin: 10px 0 16px; line-height: 1.35; }
.case p { font-size: .98rem; color: var(--text); flex: 1; }
.tags { font-size: .84rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.rail-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.rail-nav .link-arrow { margin-right: 20px; }
.rail-nav button { border-color: var(--navy); background: #fff; color: var(--navy); }
.rail-nav button:hover { background: var(--navy); color: #fff; }
.rail { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .case { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }

/* Inner page title */
.phero { position: relative; min-height: 400px; display: flex; align-items: center; background: var(--navy); overflow: hidden; }
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11, 31, 63, .28); }
.phero-panel { position: relative; z-index: 2; width: min(880px, 70vw); margin: 56px 0; background: rgba(11, 31, 63, .95); clip-path: polygon(0 0, 100% 0, calc(100% - 72px) 100%, 0 100%); }
.phero-in { padding: 30px 118px 34px var(--gutter); }
.phero h1 { color: #fff; font-size: clamp(2rem, 3.7vw, 3rem); margin-bottom: 14px; }
.phero p { margin: 0; color: #D3DAE8; font-size: 1.06rem; line-height: 1.55; max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; font: 500 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; color: var(--bronze-lt); }
.crumbs a { color: #C3CCDD; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs a::after { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .4); }

/* Long-form content */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 104px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin: 56px 0 20px; }
.prose > h2:first-child { margin-top: 0; }
.ticks { list-style: none; margin: 0 0 1.6em; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: "\2014"; position: absolute; left: 0; top: 15px; font-weight: 600; color: var(--bronze); }
.deflist { margin: 0 0 1.6em; border-bottom: 1px solid var(--line); }
.deflist > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 20px 0; border-top: 1px solid var(--line); }
.deflist > div:first-child { border-top-color: var(--navy); }
.deflist dt { font: 500 1.22rem/1.3 var(--serif); color: var(--navy); }
.deflist dd { margin: 0; color: var(--text); }
.narrow .deflist > div { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; padding: 36px 0; }
.narrow .deflist dt { font-size: 1.65rem; line-height: 1.2; }
.narrow .deflist dd { font-size: 1.08rem; }
.narrow > .lead-sm { max-width: 760px; margin-bottom: 56px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 40px; }
.side-box { border-top: 1px solid var(--navy); padding-top: 22px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: block; padding: 9px 0; font-size: .95rem; line-height: 1.35; text-decoration: none; color: var(--muted); transition: color .2s; }
.side-list a:hover { color: var(--navy); }
.side-list a.on { color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--bronze); padding-left: 14px; }
.side-cta { background: var(--sand); border-top: 0; padding: 28px; }
.side-cta p { font: 400 1.3rem/1.3 var(--serif); color: var(--navy); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 36px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.section-sand + .pager { border-top: 0; padding-top: 56px; }
.pager a { font: 500 1.45rem/1.25 var(--serif); color: var(--navy); text-decoration: none; }
.pager a:hover { color: var(--bronze-dk); }
.pager small { display: block; font: 600 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pager .next { text-align: right; }

.draft-note { background: #FFF4D6; border-left: 4px solid var(--bronze); padding: 14px 18px; font-size: .95rem; }
.prose a { color: var(--navy); text-underline-offset: 3px; }

/* Terms of use, privacy policy, accessibility: three main parts, clearly set apart from the sub-headings */
.legal-date { font-style: italic; color: var(--muted); margin-bottom: 22px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 40px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-nav a { font: 600 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dk); text-decoration: none; }
.legal-nav a:hover { color: var(--navy); }
.prose .legal-part { font-size: clamp(2.1rem, 3.4vw, 2.7rem); margin: 88px 0 28px; padding-top: 30px; border-top: 3px solid var(--navy); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose .legal-nav + .legal-part { margin-top: 60px; }
.legal-intro { font: 400 1.35rem/1.4 var(--serif); color: var(--navy); margin-bottom: 4px; }
.prose.legal h3 { font-size: 1.3rem; margin: 40px 0 12px; }
.footer-bottom a { color: #AEB8CC; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.form-legal { margin: 14px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.form-legal a { color: var(--navy); text-underline-offset: 3px; }
.resource { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--sand); padding: 32px; }
.resource h3 { margin: 0 0 4px; }
.resource p { margin: 0; color: var(--muted); }
.resource .eyebrow { margin-bottom: 10px; }
.btn-ghost-dark { background: transparent; color: var(--navy); white-space: nowrap; }
.btn-ghost-dark:hover { color: #fff; background: var(--navy); border-color: var(--navy); }

.quote-block { max-width: 1000px; margin: 0 0 72px; }
.quote-block p { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.25 var(--serif); font-style: italic; letter-spacing: -.01em; color: var(--navy); }
.quote-block p::before { content: ""; display: block; width: 56px; height: 2px; background: var(--bronze); margin-bottom: 28px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.stat { border-top: 1px solid var(--navy); padding-top: 24px; }
.stat-num { font: 400 clamp(3rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -.02em; color: var(--navy); margin-bottom: 18px; }
.stat-label { font-weight: 600; color: var(--navy); }
.stat-cat { color: var(--muted); font-size: .95rem; }

.story-filter { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 64px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.story-filter a { font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.story-filter a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.story-group { padding: 0 0 72px; }
.story-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; padding-top: 22px; border-top: 1px solid var(--navy); }
.story-head h2 { font-size: 1.9rem; margin: 0; }

.roles { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--navy); }
.roles li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.roles strong { font: 500 1.3rem/1.25 var(--serif); color: var(--navy); }
.roles span { color: var(--muted); font-size: .95rem; }

/* Contact and forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 88px; align-items: start; }
.form-card { background: #fff; padding: 40px; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-bottom: 32px; }
.field { display: flex; flex-direction: column; gap: 4px; font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 10px 0; font: 400 1.05rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid #9BA3B3; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.field input[type=file] { padding: 10px 0; font-size: .92rem; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin: 0 0 24px; }
.captcha:empty { display: none; }
.form-card.is-sending .btn { opacity: .6; pointer-events: none; }
.form-note.is-error { color: #A12A2A; }
.form-note { margin: 16px 0 0; min-height: 1.4em; font-size: .92rem; color: var(--bronze-dk); }
.cta { background: var(--navy); color: #C3CCDD; padding: var(--space) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 88px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3rem); }
.cta .eyebrow { color: var(--bronze-lt); }
.cta-grid > div > p:last-child { font-size: 1.15rem; max-width: 420px; margin: 0; }
.cta .form-card { border: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #AEB8CC; font-size: .92rem; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr 1.5fr .8fr; gap: 56px; padding-bottom: 64px; }
.wordmark { font: 500 1.6rem/1 var(--serif); letter-spacing: -.01em; color: #fff; text-decoration: none; }
.footer-brand p { margin: 20px 0 0; max-width: 340px; line-height: 1.6; }
.site-footer h4 { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; line-height: 1.4; }
.site-footer li a { color: #AEB8CC; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide img { transform: none; transition: none; }
  .dot.is-active i { animation: none; transform: scaleX(1); }
  .ex-panel:not([hidden]) { animation: none; }
}

/* Raised tiles and panels for the nine areas of expertise */
:root { --shadow: 0 1px 3px rgba(11, 31, 63, .06), 0 12px 30px rgba(11, 31, 63, .09); --shadow-lg: 0 3px 8px rgba(11, 31, 63, .07), 0 24px 56px rgba(11, 31, 63, .15); }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-grid { gap: 24px; }
.svc-card { background: #fff; border-top: 0; border-bottom: 3px solid transparent; padding: 30px 28px 26px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-bottom-color: var(--bronze); }
.svc-ico { display: grid; place-items: center; width: 62px; height: 46px; margin-bottom: 22px; padding-right: 10px; background: var(--navy); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%); }
.section:not(.section-sand) .svc-card { border: 1px solid var(--line); border-bottom: 3px solid var(--line); }
.section:not(.section-sand) .svc-card:hover { border-bottom-color: var(--bronze); }
.explorer { grid-template-columns: 390px minmax(0, 1fr); gap: 0; border-top: 0; background: #fff; box-shadow: var(--shadow-lg); }
.ex-tabs { background: var(--navy); padding: 14px 0; }
.ex-tab { display: flex; align-items: center; gap: 14px; flex: 1; min-height: 56px; padding: 8px 26px 8px 22px; border-bottom: 0; border-left: 4px solid transparent; color: #C3CCDD; }
.ex-tab .ico { color: var(--bronze-lt); }
.ex-tab::after { display: none; }
.ex-tab:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.ex-tab[aria-selected="true"] { background: #fff; color: var(--navy); padding-left: 22px; border-left-color: var(--bronze); box-shadow: none; }
.ex-tab[aria-selected="true"] .ico { color: var(--bronze); }
.ex-panel { height: 100%; padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; }
.ex-panel[hidden] { display: none; }
.ex-result { margin-top: 40px; }
.ex-result.is-project { display: block; }
.ex-result strong { display: block; font: 500 1.5rem/1.25 var(--serif); color: var(--navy); }
.ex-result.is-project em { display: block; margin-top: 10px; }

/* Result and project cards */
.case-kind { font: 600 .72rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-dk); margin-bottom: 20px; }
.case-title { font-size: 1.55rem; line-height: 1.2; margin: 0 0 16px; }
.tags { display: flex; flex-direction: column; gap: 4px; }
.tags a { font-weight: 600; color: var(--navy); text-decoration: none; }
.tags a:hover { color: var(--bronze-dk); text-decoration: underline; text-underline-offset: 4px; }
.case { box-shadow: var(--shadow); border-left: 0; border-right: 0; border-bottom: 0; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 8px; }
  .main-nav { gap: 18px; }
  .logo img { height: 24px; }
  .explorer { grid-template-columns: 330px minmax(0, 1fr); }
  .ex-panel { padding: 40px; }
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; }
  .about-grid, .contact-grid, .cta-grid { gap: 56px; }
  .commit, .why-grid, .svc-grid { gap: 40px; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; --pad: 24px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 40px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 18px 0; font: 500 1.5rem/1.2 var(--serif); background: none; }
  .sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; color: var(--navy); cursor: pointer; }
  .sub-toggle svg { transform: rotate(90deg); transition: transform .2s; }
  .sub-open .sub-toggle svg { transform: rotate(-90deg); }
  .dropdown, .dropdown.mega { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 16px; border: 0; opacity: 1; visibility: visible; transform: none; }
  .sub-open .dropdown, .sub-open .dropdown.mega { display: block; }
  .dropdown a { padding: 9px 0; }
  .lang { margin: 28px 0 20px; }
  /* While the language switch is removed, this keeps the gap above the Contact button in the menu. Delete this line when the switch returns. */
  .main-nav > .btn { margin-top: 28px; }
  .main-nav > .lang + .btn { margin-top: 0; }   /* pages that carry the language switch (German pages) */
  .section-head.split, .intro-grid, .about-grid, .contact-grid, .cta-grid, .with-sidebar { grid-template-columns: 1fr; gap: 36px; }
  .section-head.split { align-items: start; }
  .rail-nav { justify-content: flex-start; }
  .sidebar { position: static; }
  .hero-panel-wrap { width: 78vw; }
  .hero-panel-in { padding-right: 104px; }
  .hero-text { font-size: clamp(1.3rem, 2.9vw, 1.7rem); }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .explorer { grid-template-columns: 1fr; background: none; box-shadow: none; }
  .ex-panels { display: grid; gap: 18px; }
  .ex-tabs { display: none; }
  .ex-panel, .ex-panel[hidden] { display: block; height: auto; animation: none; padding: 30px; background: #fff; box-shadow: var(--shadow); }
  .ex-result { margin-top: 32px; }
  .commit, .why-grid, .svc-grid, .case-grid, .pillars, .pillars-3, .industries { grid-template-columns: 1fr 1fr; }
  .narrow .deflist > div { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phero-panel { width: 82vw; }
  .phero-in { padding-right: 100px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .logo img { height: 21px; }
  .hero { height: auto; min-height: 0; align-items: flex-end; padding: clamp(170px, 52vw, 300px) 0 84px; }
  .hero-panel-wrap { width: 100%; }
  .hero-panel, .hero-panel-wrap::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); }
  .hero-panel-wrap::before { transform: translate(0, 10px); }
  .hero-panel-in { padding: 26px var(--pad) 50px; }
  .hero-text { font-size: clamp(1.18rem, 5.2vw, 1.4rem); }
  .hero-cta { gap: 22px; margin-top: 28px; }
  .hero-ctrl { justify-content: space-between; bottom: 26px; }
  .dot { width: 22px; }
  .kpis { padding: 48px 0 56px; }
  .kpi-row { gap: 32px 24px; }
  .kpi b { font-size: 2.3rem; }
  .commit, .why-grid, .svc-grid, .case-grid, .pillars, .pillars-3, .industries, .stats, .footer-grid, .form-grid, .pager { grid-template-columns: 1fr; }
  .commit, .why-grid, .svc-grid { gap: 32px; }
  .deflist > div, .about-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .ex-result { grid-template-columns: 1fr; padding: 24px; }
  .ex-result b { grid-row: auto; margin-bottom: 10px; }
  .form-card { padding: 26px 20px; }
  .phero { min-height: 0; align-items: flex-end; }
  .phero-panel { width: 100%; margin: clamp(130px, 38vw, 220px) 0 0; clip-path: none; }
  .phero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .phero-in { padding: 26px var(--pad) 34px; }
  .resource, .story-head { flex-direction: column; align-items: flex-start; }
  .pager .next { text-align: left; }
  .industries li { font-size: 1.25rem; padding: 16px 0 18px; }

  /* Phones: each story card in the swipe row is as tall as its own content */
  .rail { align-items: flex-start; }
  /* Phones: the hero picture fills only the strip above the text block, so the landmark stays in view */
  .slides { bottom: auto; height: clamp(170px, 52vw, 300px); }
  .phero-img, .phero::before { bottom: auto; height: clamp(130px, 38vw, 220px); }
  .slide img.pos-mid, .phero-img { object-position: 50% 62%; }
  .slide img.pos-chicago-skyline, .phero-img.pos-chicago-skyline { object-position: 50% 30%; }
  .slide img.pos-london, .phero-img.pos-london { object-position: 50% 40%; }
  .slide img.pos-hong-kong, .phero-img.pos-hong-kong { object-position: 50% 45%; }
  .slide img.pos-chicago-river, .phero-img.pos-chicago-river { object-position: 50% 50%; }
  .slide img.pos-berlin, .phero-img.pos-berlin { object-position: 50% 38%; }
  .slide img.pos-zurich, .phero-img.pos-zurich { object-position: 50% 50%; }
}

/* Small phones */
@media (max-width: 380px) {
  :root { --pad: 16px; }
  .logo img { height: 19px; }
  .kpi b { font-size: 2rem; }
  .kpi-row { gap: 28px 18px; }
  .btn { padding: 0 20px; }
  .hero-cta { gap: 18px; }
  .ex-panel, .ex-panel[hidden] { padding: 24px 20px; }
  .case { padding: 24px 22px; }
}
/* Phones held sideways and other short, wide screens */
@media (max-height: 520px) and (min-width: 641px) {
  .hero { height: auto; min-height: 420px; padding: 36px 0 64px; }
  .hero-ctrl { bottom: 18px; }
  .phero { min-height: 300px; }
  .phero-panel { margin: 32px 0; }
}
/* Large desktop monitors: type, layout width and hero grow together */
@media (min-width: 1600px) {
  html { font-size: 106.25%; }
  :root { --wrap: 1400px; --pad: 40px; }
  .hero { height: clamp(600px, 74vh, 820px); }
  .hero-panel-wrap { width: min(940px, 58vw); }
  .phero { min-height: 460px; }
  .phero-panel { width: min(980px, 62vw); }
  .explorer { grid-template-columns: 430px minmax(0, 1fr); }
  .rail .case { flex-basis: 420px; }
}
@media (min-width: 2100px) {
  html { font-size: 118.75%; }
  :root { --wrap: 1640px; --pad: 48px; }
  .hero { height: clamp(700px, 70vh, 960px); }
  .hero-panel-wrap { width: min(1120px, 52vw); }
  .phero { min-height: 540px; }
  .phero-panel { width: min(1160px, 56vw); }
  .explorer { grid-template-columns: 500px minmax(0, 1fr); }
  .rail .case { flex-basis: 480px; }
}
