/* ==========================================================================
   Middleton Partners - stylesheet
   Direction: sober, editorial, precise. Brand purple on white, aubergine for depth,
   a thin brass line for detail. Newsreader (headlines) + Public Sans (reading).
   No inline styles anywhere in the HTML, so a strict Content-Security-Policy works.
   ========================================================================== */

:root {
  --purple: #673a8f;          /* brand, sampled from the logo */
  --purple-deep: #4b2a6b;
  --aubergine: #1d1030;       /* dark sections */
  --aubergine-2: #2a1a44;
  --tint: #f3eff8;            /* icon tiles, soft panels */
  --tint-2: #e6def0;
  --line: #e2dbec;
  --brass: #b28f52;           /* hairlines and small details only */
  --brass-light: #d4b57e;
  --paper: #ffffff;
  --wash: #f8f6fb;
  --text: #3a3347;
  --muted: #6a6378;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-head: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.72 var(--font-body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 500; color: var(--aubergine); letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1.05rem; max-width: 66ch; }
a { color: var(--purple); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-deep); }
ul { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 68px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .hero :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--brass-light); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--wash { background: var(--wash); }
.section--tint { background: var(--tint); }
.dark { background: var(--aubergine); color: rgba(255, 255, 255, 0.8); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark a { color: var(--brass-light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 120; background: #fff; color: var(--aubergine); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

h2 { font-size: clamp(2rem, 3.7vw, 3.1rem); line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--text); }
.dark .lead { color: rgba(255, 255, 255, 0.86); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 + p, .section-head h2 + h3 { margin-top: 1rem; }
.section-head p:last-child { margin-bottom: 0; }
.sub { font-family: var(--font-head); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; color: var(--purple); font-weight: 450; }
.dark .sub { color: var(--brass-light); }

/* ---------- Icons: one system, 1.5px line, in a soft tile ---------- */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico { flex: none; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; color: var(--purple); background: var(--tint); transition: background-color 0.3s, color 0.3s; }
.ico .i { width: 28px; height: 28px; }
.dark .ico { background: rgba(255, 255, 255, 0.08); color: var(--brass-light); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.7rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent; font: 600 0.98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.btn .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--solid { background: var(--purple); color: #fff; }
.btn--solid:hover { background: var(--purple-deep); color: #fff; }
.btn--light { background: #fff; color: var(--aubergine); }
.btn--light:hover { background: var(--tint); color: var(--aubergine); }
.btn--line { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--sm { min-height: 42px; padding: 0.5rem 1.2rem; font-size: 0.92rem; }
.dark .btn--solid { background: #fff; color: var(--aubergine); }
.dark .btn--solid:hover { background: var(--tint); color: var(--aubergine); }
.dark .panel .btn--solid { background: var(--purple); color: #fff; }
.dark .panel .btn--solid:hover { background: var(--purple-deep); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff; transition: background-color 0.35s, box-shadow 0.35s; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; transition: min-height 0.35s var(--ease); }
.brand { position: relative; z-index: 2; display: inline-flex; }
.brand img { height: 34px; width: auto; }
.brand__color { display: none; }
.nav__menu { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__list { display: flex; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav__link { position: relative; display: block; padding: 0.5rem 0; color: inherit; text-decoration: none; font-size: 0.96rem; font-weight: 500; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__toggle { position: relative; z-index: 2; display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle .i--close { display: none; }
.nav__toggle[aria-expanded="true"] .i--open { display: none; }
.nav__toggle[aria-expanded="true"] .i--close { display: block; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.94); color: var(--aubergine); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .nav { min-height: 68px; }
.site-header.is-solid .brand__white { display: none; }
.site-header.is-solid .brand__color { display: block; }
.site-header.is-solid .nav__toggle { border-color: var(--line); }
.site-header.is-solid .btn--light { background: var(--purple); color: #fff; }
.site-header.is-solid .btn--light:hover { background: var(--purple-deep); }
html:not(.js) .site-header { position: absolute; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 980px; display: flex; flex-direction: column; background: var(--aubergine); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 16, 48, 0.95) 0%, rgba(29, 16, 48, 0.82) 38%, rgba(29, 16, 48, 0.3) 100%), linear-gradient(0deg, rgba(29, 16, 48, 0.85) 0%, transparent 34%); }
.hero__main { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 120px; padding-bottom: 48px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; font-weight: 450; letter-spacing: -0.028em; max-width: 15.5em; margin-bottom: 1.5rem; }
.hero__text { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, 0.86); max-width: 50ch; margin-bottom: 2.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* The bridge: London and Lagos, live */
.bridge { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.16); background: rgba(29, 16, 48, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bridge__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 20px; flex-wrap: wrap; }
.city { display: flex; flex-direction: column; line-height: 1.2; min-width: 96px; }
.city span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }
.city time { font: 450 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--font-head); font-variant-numeric: tabular-nums; color: #fff; }
.bridge__arc { flex: 1 1 160px; max-width: 360px; height: 40px; overflow: visible; }
.bridge__arc path { fill: none; stroke: var(--brass-light); stroke-width: 1.4; stroke-linecap: round; }
.bridge__arc .ends { fill: var(--brass-light); stroke: none; }
.bridge__arc .trace { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 2.2s var(--ease) 1.1s forwards; }
.bridge__arc .base { opacity: 0.28; }
.bridge__arc .pulse { fill: #fff; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bridge__note { margin: 0 0 0 auto; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); max-width: 34ch; }
html:not(.js) .bridge { display: none; }

/* Hero entrance: one orchestrated moment */
.js .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js .hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 200ms); }
.js.is-ready .hero h1 .w > span { transform: none; }
.js .hero__text, .js .hero__cta, .js .bridge { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 1s var(--ease); }
.js.is-ready .hero__text { opacity: 1; transform: none; transition-delay: 0.85s; }
.js.is-ready .hero__cta { opacity: 1; transform: none; transition-delay: 1s; }
.js.is-ready .bridge { opacity: 1; transform: none; transition-delay: 1.15s; }

/* ---------- Company ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.about h2 { margin-bottom: 1.5rem; }
.about .lead { margin-bottom: 1.4rem; }
.framed { position: relative; }
.about .framed, .split .framed { position: sticky; top: 100px; }
.framed--wide img { aspect-ratio: 3 / 2; }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); border-radius: var(--radius); z-index: 0; }
.framed img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.pillars { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pillars h3 { margin-bottom: 1.2rem; }
.pillars ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--aubergine); text-decoration: none; font-weight: 600; line-height: 1.35; transition: border-color 0.25s, box-shadow 0.25s; }
.pillar .i--go { margin-left: auto; width: 20px; height: 20px; color: var(--purple); transition: transform 0.3s var(--ease); }
.pillar:hover { border-color: var(--purple); box-shadow: 0 10px 30px -18px rgba(75, 42, 107, 0.55); color: var(--aubergine); }
.pillar:hover .ico { background: var(--purple); color: #fff; }
.pillar:hover .i--go { transform: translateX(4px); }

/* ---------- Services ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: start; margin-bottom: clamp(56px, 7vw, 96px); }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split h3.sub-title { margin: 0 0 1.2rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.svc-title { font: 500 1.3rem/1.2 var(--font-head); margin: clamp(48px, 6vw, 72px) 0 1.6rem; color: var(--aubergine); }
.dark .svc-title { color: #fff; }
.svc { display: flex; flex-direction: column; gap: 1rem; padding: 28px 0 32px; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.45; color: var(--aubergine); }
.svc:hover .ico { background: var(--purple); color: #fff; }
.dark .svc-grid, .dark .svc { border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.92); }
.dark .svc:hover .ico { background: var(--brass-light); color: var(--aubergine); }

/* ---------- Projects (tabs) ---------- */
.cases { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cases__rail { position: sticky; top: 96px; }
.tab { display: block; width: 100%; text-align: left; padding: 13px 0 13px 20px; border: 0; border-left: 2px solid var(--line); background: none; font: 500 1.02rem/1.3 var(--font-body); color: var(--muted); cursor: pointer; transition: color 0.25s, border-color 0.25s, background-color 0.25s, padding 0.3s var(--ease); }
.tab:hover { color: var(--aubergine); border-left-color: var(--tint-2); }
.tab[aria-selected="true"] { color: var(--purple); font-weight: 650; border-left-color: var(--purple); padding-left: 26px; }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; min-height: 560px; }
.case[hidden] { display: none; }
.case:not([hidden]) { animation: panel-in 0.5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.case__img { margin: 0; position: relative; }
.case__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.case__logo { height: 64px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; margin-bottom: 1.6rem; }
.case h3 { margin-bottom: 1rem; }
.case h4 { margin: 1.6rem 0 0.5rem; font: 650 0.95rem/1.3 var(--font-body); letter-spacing: 0; color: var(--purple); }
.case p { font-size: 1.02rem; }

/* ---------- Testimonials ---------- */
.voices { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.voices__art img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.quote-main { margin: 0 0 0; }
.quote-main p { font: 400 clamp(1.5rem, 2.5vw, 2.15rem)/1.32 var(--font-head); color: var(--aubergine); max-width: 30ch; margin-bottom: 1.4rem; text-wrap: pretty; }
.quote-main blockquote { margin: 0; }
.partners .sub { margin: 1rem 0 1.4rem; }
.contact .lead { margin-top: 1rem; }
.form .btn { justify-self: start; }
.quote-main .i--quote { width: 44px; height: 44px; color: var(--brass); margin-bottom: 1rem; stroke-width: 1.2; }
cite { display: block; font-style: normal; font-size: 0.95rem; line-height: 1.45; color: var(--muted); }
cite b { display: block; color: var(--aubergine); font-weight: 650; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--tint-2); }
.quote { margin: 0; padding: 30px 0; border-bottom: 1px solid var(--tint-2); }
.quote p { font-size: 1.05rem; color: var(--text); margin-bottom: 1rem; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; place-items: center; padding: 22px; min-height: 108px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.78; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover img { filter: none; opacity: 1; }
.band { margin: clamp(48px, 6vw, 80px) 0 0; }
.band img { width: 100%; height: clamp(220px, 30vw, 380px); object-fit: cover; border-radius: var(--radius); background: var(--tint); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 56px); align-items: start; }
.person { padding-top: 28px; border-top: 1px solid var(--line); }
.person__head { display: flex; gap: 18px; align-items: center; margin-bottom: 1.2rem; }
.person__photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(1) contrast(1.05); background: var(--tint); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--brass); }
.person h3 { font-size: 1.4rem; line-height: 1.15; }
.person__role { margin: 0.25rem 0 0; font-size: 0.93rem; line-height: 1.4; color: var(--purple); font-weight: 600; }
.person p { font-size: 0.99rem; }
.person details { margin-top: 0.4rem; }
.person summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: 0.95rem; color: var(--purple); padding: 6px 0; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 1rem; line-height: 1; transition: transform 0.3s var(--ease); }
.person details[open] summary::after { content: "\2212"; }
.person details p:first-of-type { margin-top: 0.8rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 2rem 0; }
.office h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.office address { font-style: normal; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.reach li { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.reach .i { color: var(--brass-light); width: 22px; height: 22px; }
.reach a { color: #fff; text-decoration: none; }
.reach a:hover { color: var(--brass-light); }
.panel { background: #fff; color: var(--text); border-radius: 10px; padding: clamp(24px, 4vw, 44px); }
.panel h3 { color: var(--aubergine); margin-bottom: 1.2rem; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--aubergine); margin-bottom: 0.3rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--aubergine); background: #fff; border: 1px solid #cfc6dd; border-radius: var(--radius); padding: 0.75rem 0.9rem; min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(103, 58, 143, 0.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: 0.95rem; }
.form__status.is-ok { color: #0b6b3a; font-weight: 600; }
.form__status.is-error { color: #b42318; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #150b24; color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 32px; }
.site-footer img { height: 30px; width: auto; }
.site-footer p { margin: 0; max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .cases__rail { position: static; min-width: 0; }
  .cases__rail [role="tablist"] { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tab { width: auto; flex: none; white-space: nowrap; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; }
  .tab[aria-selected="true"] { padding-left: 18px; background: var(--purple); color: #fff; border-color: var(--purple); }
  .tab:hover { border-left-color: var(--tint-2); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { min-height: 72px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu { position: fixed; inset: 0; z-index: 1; background: var(--aubergine); flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.5rem; padding: 96px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
  html:not(.js) .nav__menu { position: static; opacity: 1; visibility: visible; flex-direction: row; flex-wrap: wrap; padding: 0 0 12px; background: transparent; }
  html:not(.js) .nav { flex-wrap: wrap; }
  .site-header.nav-open .nav__menu { opacity: 1; visibility: visible; transition: opacity 0.35s; }
  .site-header.nav-open, .site-header.is-solid.nav-open { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.nav-open .brand__white, .site-header.is-solid.nav-open .brand__white { display: block; }
  .site-header.nav-open .brand__color, .site-header.is-solid.nav-open .brand__color { display: none; }
  .site-header.nav-open .nav__toggle { border-color: rgba(255, 255, 255, 0.4); }
  .nav__list { flex-direction: column; gap: 0.2rem; }
  .nav__link { font: 450 clamp(1.9rem, 8vw, 2.6rem)/1.2 var(--font-head); padding: 0.25rem 0; }
  .site-header.is-solid .btn--light { background: #fff; color: var(--aubergine); }
  .about, .split, .split--flip, .partners, .contact, .voices { grid-template-columns: minmax(0, 1fr); }
  .split .framed, .about .framed { max-width: 460px; }
  .split--flip .framed { order: 2; }
  .case { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .case__img { max-width: 420px; }
  .bridge__note { margin-left: 0; flex-basis: 100%; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .voices__art { order: -1; max-width: 420px; }
}

@media (max-width: 700px) {
  .hero { max-height: none; }
  .hero__main { padding-top: 104px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars ul, .offices, .form__row, .team { grid-template-columns: minmax(0, 1fr); }
  .framed::before { inset: 12px -10px -12px 10px; }
  .bridge__arc { display: none; }
  .bridge__inner { gap: 28px; }
}

@media (max-width: 460px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .bridge__arc .trace { stroke-dashoffset: 0; }
  .bridge__arc .pulse { display: none; }
}
