/* Bergence Group home (/next): the floodlight film hero on top of the /engine sections.
   Loads after engine.css and matrix.css and only overrides or adds. Palette: the night of the film
   (blue-black, cool grey, floodlight white) with the Group's gold and a stone-beige daylight section;
   Instrument Serif italic carries one accent phrase per heading. */

:root {
  --ground: #0B0E13;
  --raised: #131820;
  --sunken: #080A0E;
  --ink: #F2EDE4;
  --soft: rgba(242, 237, 228, 0.72);
  --muted: #8E939B;
  --faint: rgba(242, 237, 228, 0.2);
  --line: rgba(242, 237, 228, 0.11);
  --line-strong: rgba(242, 237, 228, 0.28);
  --sand: #C9A876;
  --gold-hi: #E8D3A8;
  --gold-lo: #9C7A4C;
  --on-light: #0B0E13;
  --stone: #ECE6DB;
  --stone-ink: #15171B;
  --stone-soft: rgba(21, 23, 27, 0.68);
  --stone-line: rgba(21, 23, 27, 0.16);
  --bronze: #8C6A3F;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --gold: linear-gradient(100deg, var(--gold-hi) 0%, var(--sand) 45%, var(--gold-lo) 100%);
}

/* one accent phrase per heading, in gold serif italic */
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
/* the nav floats as a glass bar, in view the whole way down */
.nav, .nav.solid { top: 14px; left: var(--edge); right: var(--edge); height: 64px; padding: 0 9px 0 28px; border: 1px solid rgba(242, 237, 228, 0.14); border-radius: 999px; background: rgba(18, 22, 30, 0.38); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.nav.solid { background: rgba(18, 22, 30, 0.62); border-color: rgba(242, 237, 228, 0.16); }
.nav .nav-cta { height: 46px; background: rgba(242, 237, 228, 0.06); }
.nav { transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.nav.on-light { background: rgba(255, 253, 249, 0.6); border-color: rgba(21, 23, 27, 0.1); color: var(--stone-ink); box-shadow: 0 12px 40px rgba(60, 45, 20, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.nav.on-light .nav-links { color: var(--stone-soft); }
.nav.on-light .nav-links a:hover { color: var(--stone-ink); }
.nav.on-light .nav-cta { border-color: rgba(21, 23, 27, 0.22); background: transparent; }
.nav.on-light .nav-cta:hover { background: var(--stone-ink); border-color: var(--stone-ink); color: var(--stone); }
/* one "Start a conversation" at a time: the nav's waits until the hero's has lifted away (film.js) */
.nav .nav-cta { max-width: 260px; overflow: hidden; transition: max-width 0.5s var(--ease), padding 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.nav:not(.cta-on) .nav-cta { max-width: 0; padding: 0; margin-left: -32px; opacity: 0; border-width: 0; pointer-events: none; }
.btn.solid:hover { background: var(--gold-hi); }

/* ---------------- 1 · film hero ---------------- */
.hero.film-hero { display: block; height: 260svh; min-height: 0; padding: 0; overflow: visible; }
.film-pin { position: sticky; top: 0; height: 100svh; min-height: 600px; display: grid; padding: 0 var(--edge); overflow: hidden; isolation: isolate; }
.film-stage { position: absolute; inset: 0; z-index: -1; background: #05070B; }
.film-stage canvas { display: block; width: 100%; height: 100%; opacity: calc(0.5 + var(--lit, 0) * 0.5); filter: blur(0.8px); transform: scale(1.01); }
.film-beam { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity 1.2s var(--ease); background:
  radial-gradient(28vw 28vw at var(--bx, 62%) var(--by, 28%), rgba(232, 211, 168, 0.13), transparent 70%); opacity: var(--lit, 0); }
.film-grain { position: absolute; inset: -50%; opacity: 0.07; mix-blend-mode: overlay; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.film-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11, 14, 19, 0.88) 0%, rgba(11, 14, 19, 0.55) 38%, rgba(11, 14, 19, 0.05) 72%),
  linear-gradient(180deg, rgba(11, 14, 19, 0.35) 0%, transparent 22%, transparent 55%, rgba(11, 14, 19, 0.94) 100%); }
/* the copy holds while the lights come up, then lifts away over the last stretch */
.film-hero .hero-copy { align-self: center; max-width: 760px; padding-top: 84px; transform: translateY(calc(var(--out, 0) * -80px)); opacity: calc(1 - var(--out, 0)); }
.premise { font-size: clamp(48px, min(6.2vw, 10.5vh), 118px); letter-spacing: -0.045em; line-height: 0.96; }
.premise span { display: block; }
.premise em { font-size: 1.08em; line-height: 0.9; }
.film-hero .lead { margin-top: clamp(20px, 3.5vh, 32px); }
.film-hero .actions { margin-top: clamp(24px, 4vh, 40px); }
.motion .film-hero .hero-copy > * { animation: rise 1.2s var(--ease) both; }
.motion .film-hero .lead { animation-delay: 0.75s; }
.motion .film-hero .actions { animation-delay: 0.9s; }
.motion .film-hero .premise { animation-delay: 0.3s; }

/* ---------------- 2 · how we make things work (daylight) ---------------- */
/* the light from the hero carries on into this section: night, through floodlit haze, to stone */
.approach { --fade: clamp(150px, 26vh, 260px); padding: calc(var(--sec-y) + var(--fade)) var(--edge) var(--sec-y); color: var(--stone-ink); background:
  radial-gradient(70% calc(var(--fade) * 0.9) at 62% calc(var(--fade) * 0.62), rgba(232, 211, 168, 0.28), transparent 70%),
  linear-gradient(180deg, var(--ground) 0, #111925 calc(var(--fade) * 0.22), #3E4B5A calc(var(--fade) * 0.5), #8C949A calc(var(--fade) * 0.68), #CFCAC0 calc(var(--fade) * 0.86), var(--stone) var(--fade)); }
.approach { position: relative; }
.nav-zone { position: absolute; left: 0; top: calc(var(--fade) * 0.62); bottom: 0; width: 1px; pointer-events: none; }
main > section.approach:not(.hero):not(.contact) { padding-top: calc(var(--fade) + clamp(24px, 4vh, 48px)); }
.approach ::selection { background: var(--stone-ink); color: var(--stone); }
.approach h2 em { background: linear-gradient(100deg, #B8925E 0%, var(--bronze) 60%, #6E522E 100%); -webkit-background-clip: text; background-clip: text; }
.approach-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; max-width: none; }
.approach-intro .big { font-size: clamp(19px, 1.6vw, 25px); line-height: 1.4; letter-spacing: -0.01em; }
.approach-intro p + p { margin-top: 16px; color: var(--stone-soft); }
.approach-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 8vh, 96px); }
.approach-ways li { position: relative; display: flex; flex-direction: column; padding: 30px 28px 8px; border-top: 1px solid var(--stone-line); }
.approach-ways li:first-child { padding-left: 0; }
.approach-ways li + li { border-left: 1px solid var(--stone-line); }
.approach-ways li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--bronze); transform: scaleX(0.16); transform-origin: left; transition: transform 0.7s var(--ease); }
.approach-ways li:hover::before { transform: none; }
.approach-ways .ico { width: 30px; height: 30px; color: var(--bronze); }
.approach-ways .no { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 22px; color: var(--bronze); opacity: 0.7; }
.approach-ways h3 { margin-top: clamp(24px, 5vh, 56px); font-size: clamp(26px, 2.3vw, 36px); letter-spacing: -0.035em; }
.approach-ways .tag { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; color: var(--bronze); }
.approach-ways p:last-child { margin-top: 16px; font-size: 15.5px; line-height: 1.55; color: var(--stone-soft); }

/* ---------------- 4 · sectors: the wide view, then the four most active ---------------- */
.sectors-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.sector-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; font-size: clamp(19px, 1.65vw, 27px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; }
.sector-cloud li { color: var(--soft); transition: color 0.3s var(--ease); }
.sector-cloud li:hover { color: var(--ink); }
.sector-cloud li:not(:last-child)::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0.55em; border-radius: 50%; background: var(--sand); vertical-align: 0.22em; opacity: 0.75; }
.active-h { margin-top: clamp(36px, 6vh, 72px); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.active-h::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 14px; background: var(--sand); vertical-align: 0.32em; }
.fields-sec .realms { margin-top: 20px; }

/* ---------------- 6 · boutique, on purpose ---------------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 6vh, 72px); border-top: 1px solid var(--line-strong); }
.proof li { padding: clamp(20px, 3.5vh, 36px) 28px 0; }
.proof li:first-child { padding-left: 0; }
.proof li + li { border-left: 1px solid var(--line); }
.proof b { display: block; font-size: clamp(48px, min(5.4vw, 10vh), 100px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 10px; color: var(--soft); }

/* ---------------- menu (phones and tablets) ---------------- */
.nav-menu { display: none; position: relative; flex: none; width: 46px; height: 46px; margin-left: 8px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(242, 237, 228, 0.06); color: inherit; cursor: pointer; }
.nav-menu i { position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav-menu i:first-child { top: 18px; }
.nav-menu i:last-child { top: 25px; }
.nav.menu-open .nav-menu i:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.menu-open .nav-menu i:last-child { top: 21.5px; transform: rotate(-45deg); }
.nav.on-light .nav-menu { border-color: rgba(21, 23, 27, 0.22); background: transparent; }
.menu { position: fixed; z-index: 29; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 112px var(--edge) calc(32px + env(safe-area-inset-bottom)); background: rgba(11, 14, 19, 0.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transition: opacity 0.35s var(--ease); }
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; } /* closed, it must not sit over the page and catch taps */
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 7.4vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.16s; }
.menu .btn { justify-content: center; }
.menu-lock, .menu-lock body { overflow: hidden; }
/* the open menu sits on the dark, so the nav stays dark glass and keeps one CTA (the menu's) */
.nav.menu-open, .nav.menu-open.on-light { background: rgba(18, 22, 30, 0.62); border-color: rgba(242, 237, 228, 0.16); color: var(--ink); }
.nav.menu-open .nav-cta { max-width: 0; padding: 0; margin-left: -32px; opacity: 0; border-width: 0; pointer-events: none; }
.nav.menu-open .nav-menu { margin-left: auto; border-color: var(--line-strong); }

/* ---------------- nav · Companies dropdown ---------------- */
.nav-co { position: relative; margin-left: -8px; }
.nav-co-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; transition: color 0.3s var(--ease); }
.nav-co-btn:hover, .nav-co.open .nav-co-btn { color: var(--ink); }
.nav.on-light .nav-co-btn { color: var(--stone-soft); }
.nav.on-light .nav-co-btn:hover, .nav.on-light .nav-co.open .nav-co-btn { color: var(--stone-ink); }
.nav-co-btn i { width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease), margin 0.3s var(--ease); }
.nav-co.open .nav-co-btn i { margin-top: 3px; transform: rotate(-135deg); }
.nav-co-list { position: absolute; top: calc(100% + 20px); right: -16px; min-width: 230px; padding: 8px; border: 1px solid rgba(242, 237, 228, 0.14); border-radius: 18px; background: rgba(14, 18, 25, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.nav-co-list[hidden] { display: none; }
.nav-co-list a { display: block; padding: 11px 14px; border-radius: 11px; font-size: 15px; color: var(--soft); transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.nav-co-list a:hover, .nav-co-list a:focus-visible { background: rgba(242, 237, 228, 0.08); color: var(--ink); }
.menu-co p { font-size: 14px; color: var(--muted); }
.menu-co div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.menu-co a { padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; color: var(--ink); }

/* ---------------- hero · figures under the buttons ---------------- */
.film-hero .hero-copy { max-width: 980px; }
.premise { font-size: clamp(44px, min(5.2vw, 9.4vh), 100px); }
.hero-proof { max-width: 700px; margin-top: clamp(28px, 4.5vh, 48px); padding-top: 18px; border-top: 1px solid var(--line); }
.hero-proof p:first-child { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15px; color: var(--soft); }
.hero-proof span:not(:last-child)::after { content: "·"; margin: 0 0.75em; color: var(--sand); }
.hero-proof b { font-weight: 600; color: var(--ink); }
.fig-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.motion .film-hero .hero-proof { animation-delay: 1.05s; }

/* ---------------- photography: placeholder stills in one warm, dark grade ---------------- */
.photo-wide { margin: 0; overflow: hidden; background: var(--ground); }
.photo-wide img, .realms .ph { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.35) saturate(0.78) brightness(0.62) contrast(1.08); }
/* the reel: a thin, slow strip of venues and moments, two identical sets so the loop is seamless */
.reel { --rh: clamp(96px, 15vh, 160px); --rp: 10px; position: relative; height: var(--rh); padding: var(--rp) 0; overflow: hidden; background: var(--ground); box-shadow: inset 0 1px 0 rgba(201, 168, 118, 0.3), inset 0 -1px 0 rgba(201, 168, 118, 0.3); }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--ground) 0%, rgba(11, 14, 19, 0) 9%, rgba(11, 14, 19, 0) 91%, var(--ground) 100%); }
.reel-track { display: flex; width: max-content; height: 100%; }
.reel-set { display: flex; gap: 10px; height: 100%; padding-right: 10px; }
/* tiles get a real width: Safari otherwise sizes them from the video's 520px and the loop overshoots into empty space */
.reel i { flex: none; height: calc(var(--rh) - 2 * var(--rp)); width: calc((var(--rh) - 2 * var(--rp)) * 26 / 17); overflow: hidden; border-radius: 8px; }
.reel i { position: relative; }
/* the still shows at once; its video fades in over it once it is actually playing */
.reel img, .reel video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.3) saturate(0.8) brightness(0.82) contrast(1.06); }
.reel video { opacity: 0; transition: opacity 1.2s var(--ease); }
.reel video.on { opacity: 1; }
.motion .reel-track { animation: reel 160s linear infinite; }
@keyframes reel { to { transform: translateX(-50%); } }
.reel + .approach { --fade: clamp(90px, 14vh, 150px); }
.realms .ph { height: clamp(96px, 13vh, 150px); margin-bottom: 18px; border-radius: 12px; transition: filter 0.5s var(--ease); }
.realms a:hover .ph { filter: sepia(0.25) saturate(0.9) brightness(0.8) contrast(1.05); }
.realms .go { top: 38px; right: 38px; background: rgba(11, 14, 19, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.realms span { min-height: 3.2em; margin-top: 12px; }
/* with a photo on every card the section still has to fit one screen */
@media (min-width: 1101px) {
  .fields-sec .active-h { margin-top: clamp(28px, 4vh, 48px); }
  .fields-sec .realms .pts { margin-top: clamp(14px, 2vh, 24px); }
  .fields-sec .realms .pts li { padding: clamp(7px, 1.1vh, 12px) 0; }
  .fields-sec .realms em { padding-top: 16px; }
  .fields-sec .sector-cloud { font-size: clamp(18px, 1.5vw, 24px); }
  .fields-sec h2 { font-size: clamp(32px, min(3.3vw, 6vh), 56px); }
  .fields-sec .realms .ph { height: clamp(90px, 12vh, 140px); }
}
.photo-wide { margin-top: clamp(24px, 4vh, 40px); aspect-ratio: 21 / 8; border-radius: 20px; }

/* ---------------- 5 · services: one column per discipline ---------------- */
.svc-sec { padding: var(--sec-y) var(--edge); border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(24px, 3.5vh, 40px); border-top: 1px solid var(--line-strong); }
.svc-col { padding: 18px 24px 0; }
.svc-col:first-child { padding-left: 0; }
.svc-col + .svc-col { border-left: 1px solid var(--line); }
.svc-h { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: default; }
.svc-h .ico { width: 26px; height: 26px; color: var(--sand); }
.svc-h b { font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; letter-spacing: -0.035em; }
.svc-h span { grid-column: 1 / -1; margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--sand); }
.svc-h .no { position: absolute; top: 0; right: 0; font-family: var(--serif); font-size: 20px; color: var(--sand); opacity: 0.75; }
.svc-h .chev { display: none; }
.svc-list { margin-top: 12px; }
.svc-list > li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
@media (min-width: 1101px) and (min-height: 620px) {
  main > .svc-sec { padding-top: clamp(80px, 10.5vh, 104px); padding-bottom: clamp(24px, 4vh, 48px); }
  /* heading and intro share one row, so the four columns get the height */
  .svc-sec .head { display: grid; grid-template-columns: auto minmax(0, 420px); justify-content: space-between; align-items: end; gap: 48px; max-width: none; }
  .svc-sec h2 { font-size: clamp(32px, min(3.8vw, 6.5vh), 60px); }
  .svc-sec .head > p { max-width: none; margin-top: 0; font-size: 16px; line-height: 1.45; }
  /* titles only now, so the columns get room to breathe */
  .svc { margin-top: clamp(36px, 7vh, 88px); }
  .svc-col { padding-top: clamp(22px, 3.6vh, 40px); }
  .svc-h span { margin-top: clamp(4px, 0.8vh, 10px); }
  .svc-list { margin-top: clamp(20px, 3.6vh, 40px); }
  .svc-list > li { padding: clamp(14px, 2.7vh, 28px) 0; font-size: clamp(16px, min(1.25vw, 2.3vh), 20px); }
}

/* ---------------- 6 · boutique: story and culture on the left, figures and three principles on the right ---------------- */
.bq { display: grid; gap: 48px; }
.bq-side { display: flex; flex-direction: column; gap: 28px; }
.boutique .photo-wide { margin: 0; aspect-ratio: 16 / 9; border-radius: 16px; }
.culture { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.01em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.culture-sub { margin-top: 8px; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--soft); }
.boutique .proof { margin-top: 0; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 0.95fr); }
.boutique .proof b { white-space: nowrap; }
.boutique .fig-note { margin-top: 12px; }
.bq-points { margin-top: 36px; border-bottom: 1px solid var(--line); }
.bq-points li { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.bq-points h3 { font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.bq-points p { max-width: 48ch; font-size: 15px; line-height: 1.55; color: var(--soft); }
.bq-points .bq-motto { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--sand); }
@media (min-width: 1101px) {
  .bq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 6vw, 112px); align-items: stretch; }
  .bq-side { justify-content: space-between; }
  .boutique .photo-wide { flex: 1 1 auto; aspect-ratio: auto; min-height: clamp(140px, 22vh, 280px); }
  .bq-points li { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: 32px; align-items: baseline; }
}
@media (min-width: 1101px) and (min-height: 620px) {
  main > .boutique { padding-top: clamp(84px, 11vh, 112px); padding-bottom: clamp(28px, 5vh, 56px); }
  .boutique h2 { font-size: clamp(34px, min(3.6vw, 6.6vh), 64px); }
  .boutique .head > p { margin-top: clamp(10px, 1.8vh, 18px); font-size: clamp(15px, min(1.15vw, 2.1vh), 18px); line-height: 1.5; }
  .bq-side { gap: clamp(18px, 3.2vh, 36px); }
  .boutique .proof li { padding-top: clamp(12px, 2.2vh, 24px); }
  .boutique .proof b { font-size: clamp(28px, min(2.9vw, 6vh), 54px); }
  .boutique .proof span { margin-top: 8px; font-size: clamp(13px, min(1vw, 1.8vh), 15px); line-height: 1.35; }
  .boutique .fig-note { font-size: 12.5px; }
  .bq-points { margin-top: clamp(22px, 4.4vh, 48px); }
  .bq-points li { padding: clamp(14px, 2.6vh, 26px) 0; }
  .bq-points h3 { font-size: clamp(17px, min(1.4vw, 2.6vh), 22px); }
  .bq-points p { font-size: clamp(14px, min(1.05vw, 1.9vh), 16px); }
  .bq-points .bq-motto { font-size: clamp(16px, 2.2vh, 19px); }
  .culture { font-size: clamp(22px, min(2.1vw, 4vh), 34px); }
  .culture-sub { font-size: clamp(13.5px, min(1vw, 1.8vh), 15px); }
}
.ways .cta { margin-top: 12px; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--sand); }
.realms span { font-style: italic; }

/* ---------------- 7 · contact body ---------------- */
.contact .contact-body { max-width: 640px; margin: 28px auto 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--soft); }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .approach-head { grid-template-columns: 1fr; align-items: start; }
  .approach-ways { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .approach-ways li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sectors-top { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .nav-menu { display: block; }
  .nav:not(.cta-on) .nav-menu { margin-left: auto; }
  .nav-co { display: none; }
  .svc { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .svc-col:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .hero.film-hero { height: 150svh; }
  .film-veil { background: linear-gradient(180deg, rgba(11, 14, 19, 0.35) 0%, rgba(11, 14, 19, 0.12) 22%, rgba(11, 14, 19, 0.55) 46%, rgba(11, 14, 19, 0.94) 80%); }
  .film-hero .hero-copy { align-self: end; padding-top: 96px; padding-bottom: 48px; }
  .nav, .nav.solid { top: 10px; left: 12px; right: 12px; height: 58px; padding: 0 7px 0 20px; }
  .nav .nav-cta { height: 44px; }
  .premise { font-size: 11.4vw; }
  .fields-sec { padding-top: 88px; padding-bottom: 72px; }
  .approach { --fade: 150px; padding-top: calc(88px + var(--fade)); padding-bottom: 72px; }
  .approach-ways { grid-template-columns: 1fr; row-gap: 0; }
  .approach-ways li, .approach-ways li + li, .approach-ways li:nth-child(3) { padding: 24px 0 28px; border-left: 0; }
  .approach-ways h3 { margin-top: 18px; }
  /* the sectors as a tidy two-column list rather than a ragged run of words */
  .sector-cloud { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; font-size: 16px; letter-spacing: -0.01em; line-height: 1.3; }
  .sector-cloud li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .sector-cloud li:not(:last-child)::after { display: none; }
  .active-h { margin-top: 44px; }
  /* the three figures as compact rows: number, then what it counts */
  .proof { grid-template-columns: 1fr; margin-top: 28px; }
  .boutique .proof { grid-template-columns: 1fr; }
  .proof li, .proof li + li { display: grid; grid-template-columns: 176px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .proof b { font-size: 38px; white-space: nowrap; }
  .proof span { margin-top: 0; font-size: 14px; line-height: 1.4; }
  /* tighter rhythm between sections */
  .ways-sec, .matrix-sec, .fields-sec, .about { padding-top: 72px; padding-bottom: 56px; }
  .approach { padding-bottom: 56px; }
  .nav-menu { width: 44px; height: 44px; }
  .nav-menu i:first-child { top: 17px; }
  .nav-menu i:last-child { top: 24px; }
  .nav.menu-open .nav-menu i { top: 20.5px; }
  .nav .nav-cta { padding: 0 14px; font-size: 13.5px; }
  .premise { font-size: 10.2vw; }
  .hero-proof p:first-child { display: block; font-size: 14.5px; }
  .hero-proof span { display: block; padding: 2px 0; }
  .hero-proof span:not(:last-child)::after { content: none; }
  .reel { --rh: 84px; --rp: 6px; }
  .reel-set { gap: 6px; padding-right: 6px; }
  .realms .ph { height: 180px; }
  .realms .go { top: 34px; right: 10px; }
  .realms span { min-height: 0; }
  /* services: the columns stack and each list opens on tap */
  .svc-sec { padding-top: 72px; padding-bottom: 56px; }
  .svc { grid-template-columns: 1fr; row-gap: 0; margin-top: 28px; }
  .svc-col, .svc-col + .svc-col, .svc-col:nth-child(3) { padding: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc-h { padding: 20px 44px 20px 0; cursor: pointer; }
  .svc-h .no { top: 22px; right: 44px; }
  .svc-h .chev { display: block; position: absolute; top: 50%; right: 6px; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid var(--soft); border-bottom: 1.5px solid var(--soft); transform: rotate(45deg); transition: transform 0.3s var(--ease), margin 0.3s var(--ease); }
  .svc-col.open .svc-h .chev { margin-top: -2px; transform: rotate(-135deg); }
  .svc-col:not(.open) .svc-list { display: none; }
  .svc-list { margin-top: 0; padding-bottom: 12px; }
}
/* ---------------- phones: sections reshaped for the hand, not just stacked ---------------- */
@media (max-width: 760px) {
  /* nav: brand and menu only; the menu carries the button */
  .nav .nav-cta { display: none; }
  .nav .nav-menu { margin-left: auto; }
  /* hero: the three figures side by side, number over label */
  .hero-proof { margin-top: 28px; padding-top: 16px; }
  .hero-proof p:first-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 12.5px; line-height: 1.3; }
  .hero-proof span { display: block; padding: 0; }
  .hero-proof b { display: block; margin-bottom: 4px; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
  .hero-proof .fig-note { margin-top: 12px; font-size: 12px; }
  /* how we work: icon, name and number on one line, the words under it */
  .approach-ways li, .approach-ways li + li, .approach-ways li:nth-child(3) { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 22px 0 24px; }
  .approach-ways .ico { grid-column: 1; grid-row: 1; width: 24px; height: 24px; }
  .approach-ways h3 { grid-column: 2; grid-row: 1; margin-top: 0; }
  .approach-ways .no { grid-column: 3; grid-row: 1; }
  .approach-ways .tag { grid-column: 2 / 4; grid-row: 2; margin-top: 4px; }
  .approach-ways .tag + p { grid-column: 2 / 4; grid-row: 3; margin-top: 10px; }
  /* sectors: the four cards swipe sideways like the clients; every card alike (the tablet rules single out the third) */
  .active-h { margin-top: 36px; font-size: 17px; }
  .fields-sec .realms { display: flex; gap: 12px; margin: 18px calc(var(--edge) * -1) 0; padding: 0 var(--edge) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); scrollbar-width: none; }
  .fields-sec .realms::-webkit-scrollbar { display: none; }
  .fields-sec .realms > li { flex: 0 0 min(84%, 340px); scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); }
  .realms > li::before { top: 0; z-index: 1; }
  .fields-sec .realms > li > a { padding: 0 18px 18px; }
  .realms .ph { width: calc(100% + 36px); height: 168px; margin: 0 -18px 18px; border-radius: 0; }
  .realms .go { top: 12px; right: 12px; background: rgba(11, 14, 19, 0.55); }
  .realms b { font-size: 26px; }
  .realms .pts li { padding: 9px 0; font-size: 14.5px; }
}
/* short laptop screens (720 to 800 high): sectors gives back a little height so it still ends on the screen */
@media (min-width: 1101px) and (min-height: 620px) and (max-height: 800px) {
  .fields-sec .active-h { margin-top: 20px; }
  .fields-sec .realms .ph { height: 72px; margin-bottom: 12px; }
  .fields-sec .realms span { margin-top: 8px; }
  .fields-sec .realms em { padding-top: 10px; }
}
/* copies that let the phone rows loop without an end; desktop never shows them */
.ways > .clone, .realms > .clone { display: none; }
@media (max-width: 760px) {
  .ways > .clone, .realms > .clone { display: block; }
  /* a flick moves one card, not several */
  .ways > li, .fields-sec .realms > li { scroll-snap-stop: always; }
  /* the reel can be dragged; loop.js keeps it drifting */
  .reel.drag { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .reel.drag::-webkit-scrollbar { display: none; }
  /* the edge fades must stay put while the strip scrolls under them: a mask, not an overlay */
  .reel.drag::after { display: none; }
  .reel.drag { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%); }
  .motion .reel.drag .reel-track { animation: none; }
  /* how we work: the whole section in one screen */
  .reel + .approach { --fade: 32px; }
  main > section.approach:not(.hero):not(.contact) { padding-top: calc(var(--fade) + 44px); padding-bottom: 20px; }
  .approach h2 { font-size: 30px; }
  .approach-head { gap: 12px; }
  .approach-intro .big { font-size: 16px; line-height: 1.4; }
  .approach-intro p + p { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  /* the four as a two by two grid: icon and number, name, tag, line */
  .approach-ways { grid-template-columns: 1fr 1fr; column-gap: 18px; margin-top: 16px; }
  .approach-ways li, .approach-ways li + li, .approach-ways li:nth-child(3) { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0 14px; border-left: 0; }
  .approach-ways li::before { transform: scaleX(0.24); }
  .approach-ways .ico { grid-column: 1; grid-row: 1; width: 22px; height: 22px; }
  .approach-ways .no { grid-column: 2; grid-row: 1; position: static; font-size: 16px; }
  .approach-ways h3 { grid-column: 1 / 3; grid-row: 2; margin-top: 8px; font-size: 20px; }
  .approach-ways .tag { grid-column: 1 / 3; grid-row: 3; margin-top: 2px; font-size: 15px; }
  .approach-ways .tag + p { grid-column: 1 / 3; grid-row: 4; margin-top: 6px; font-size: 13px; line-height: 1.42; }
  /* sectors: no tag cloud on phones, straight to the cards */
  .sector-cloud { display: none; }
  /* the intro lines under Sectors and About go on phones, so each fits one screen */
  #sectors .head p, #about .head p { display: none; }
  #sectors.fields-sec, #about.boutique { padding-bottom: 24px; }
  #sectors .active-h { margin-top: 20px; }
  #sectors .realms .ph { height: 108px; margin-bottom: 14px; }
  #sectors .realms .pts li { padding: 7px 0; }
  #sectors .realms em { padding-top: 10px; }
  #about .photo-wide { aspect-ratio: auto; height: 150px; min-height: 0; flex: none; }
  /* boutique: headline, photo, creed and the three principles; the figures are already in the hero */
  .boutique .culture-sub, .boutique-figs, .bq-points li div > p:not(.bq-motto) { display: none; }
  .bq-side { gap: 22px; }
  .bq-points { margin-top: 0; }
  .bq-points li { padding: 16px 0; row-gap: 4px; }
  .bq-points h3 { font-size: 18px; }
}
@media (max-width: 370px) {
  .nav .nav-cta { display: none; }
  .nav .nav-menu { margin-left: auto; }
  .proof li, .proof li + li { grid-template-columns: 140px 1fr; }
  .proof b { font-size: 31px; }
}
