/* Inter 4 with an optical-size axis: text sizes get open spacing, display sizes tighten on their own */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --page: #f6f6f2;
  --ink: #1a1a1a;
  --black: #000;
  --muted: #5d5d58;
  --line: rgba(26, 26, 26, .1);
  --yellow: #ffff00;
  --pale: #ecece6;
  --cream: #fbf8d4;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5.4vw, 88px);
  --section: clamp(96px, 11vw, 168px);
  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* the page sits on black: hero and footer are black at their outer edges, so overscroll and the
   areas behind Safari's bars and the notch stay black instead of showing a light strip */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(84px + env(safe-area-inset-top)); background: #000; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
/* cv08 gives the capital I a serif, so "KI" and "AI" never read as "Kl" or "Al" */
body { margin: 0; background: #000; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: clip; font-optical-sizing: auto; font-synthesis: none; font-feature-settings: "cv08", "calt"; font-kerning: normal; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
main { display: block; background: var(--page); padding-bottom: clamp(96px, 12vw, 180px); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }
/* hyphenate German body copy only, and only long compounds: no "Deutsch-land", no broken headings */
:lang(de) p { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 14 6 6; }
h1, h2, h3, :lang(de) :is(.tile__quote, .band__quote, .card__title) { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
.hero, .footer, .tile--dark, .lever--d, .nav[data-theme="dark"] { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* emphasis: a quiet italic in the same weight, so the word turns rather than shouts */
em { font-style: italic; font-weight: inherit; letter-spacing: -.01em; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
/* the content column starts a little in from the left edge; the space on the left stays empty */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.9fr); gap: 20px clamp(24px, 3vw, 48px); }
.cols > .col { grid-column: 2; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 12px 18px; background: var(--yellow); color: var(--black); font-weight: 600; border-radius: 8px; }
.skip:focus { top: 12px; }

/* type */
h1 { font-size: clamp(42px, 6vw, 92px); font-weight: 500; letter-spacing: -.032em; line-height: 1; }
h2 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 500; letter-spacing: -.026em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.intro { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding-block: 10px; }
.chev { display: inline-block; font-size: 1.25em; line-height: 1; transform: translateY(-.06em); transition: transform .35s var(--ease-out); }
.link:hover .chev { transform: translate(3px, -.06em); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease-out), background-color .25s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -6px rgba(0, 0, 0, .5); }
.btn--dark:hover { background: #000; }
.btn--nav { height: 36px; padding: 0 14px; font-size: 13px; background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--nav:hover { background: rgba(255, 255, 255, .14); }

/* nav: light text over the dark parts, glass over the page */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top); color: #fff; transition: color .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease); }
.nav__row { position: relative; display: flex; align-items: center; gap: 24px; height: 68px; }
/* once scrolled, the bar becomes a floating glass capsule; it sits behind the row so nothing inside moves */
.nav__row::before { content: ""; position: absolute; inset: 9px -14px; z-index: -1; border-radius: 16px; background: rgba(250, 250, 247, .74); box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .07), inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -14px rgba(0, 0, 0, .22); backdrop-filter: blur(20px) saturate(1.7); -webkit-backdrop-filter: blur(20px) saturate(1.7); opacity: 0; transform: translateY(-6px) scale(.985); transition: opacity .45s var(--ease), transform .6s var(--ease-out), background-color .45s var(--ease), box-shadow .45s var(--ease); pointer-events: none; }
.nav[data-stuck="true"] .nav__row::before { opacity: 1; transform: none; }
.nav[data-stuck="true"][data-theme="dark"] .nav__row::before { background: rgba(22, 22, 22, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 32px -14px rgba(0, 0, 0, .6); }
.mark { font-weight: 700; font-size: 19px; letter-spacing: -.04em; }
.nav__links { flex: 1; display: flex; gap: 28px; padding-left: clamp(0px, 13vw, 260px); font-size: 14px; font-weight: 500; }
.nav__links a { padding: 8px 0; opacity: .86; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; font-size: 13px; font-weight: 500; }
.lang button { background: none; border: 0; min-width: 36px; height: 36px; cursor: pointer; opacity: .7; border-radius: 6px; transition: opacity .2s; }
.lang button:hover, .lang button[aria-pressed="true"] { opacity: 1; }
.nav[data-theme="light"] { color: var(--ink); }
.nav[data-theme="light"] .btn--nav { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--yellow { background: var(--yellow); color: var(--black); }

/* small screens: a menu button and a full-screen sheet instead of the inline links */
.nav__menu { display: none; align-items: center; gap: 10px; height: 40px; margin-right: -8px; padding: 0 8px; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 500; }
.nav__burger { position: relative; width: 18px; height: 10px; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__burger::before { top: 0; }
.nav__burger::after { top: 8.5px; }
.nav__menu[aria-expanded="true"] .nav__burger::before { top: 4.25px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__burger::after { top: 4.25px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: #000; color: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .4s var(--ease); -webkit-font-smoothing: antialiased; }
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; }
.sheet__links { display: grid; justify-items: start; }
.sheet__links a { font-size: clamp(34px, 10vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; padding-block: 6px; opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.sheet.is-open .sheet__links a { opacity: 1; transform: none; }
.sheet.is-open .sheet__links a:nth-child(2) { transition-delay: .04s; }
.sheet.is-open .sheet__links a:nth-child(3) { transition-delay: .08s; }
.sheet.is-open .sheet__links a:nth-child(4) { transition-delay: .12s; }
.sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sheet__foot .lang { margin-left: -10px; font-size: 15px; }
.sheet__foot .btn { height: 48px; padding: 0 22px; font-size: 15px; }
.menu-open .nav { color: #fff; }

/* glow canvases: a static gradient stands in until WebGL is up */
.glow { position: relative; isolation: isolate; }
.glow canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.6s var(--ease); }
.glow.glow-live canvas { opacity: 1; }
.hero { background: linear-gradient(#000 0%, #000 40%, #5c2604 56%, #ffd400 68%, #fbf8d4 82%, var(--page) 96%); }
.footer { background: linear-gradient(var(--page) 8%, #fbf8d4 30%, #ffd400 46%, #5c2604 58%, #000 76%); }

/* pause control for the moving backgrounds (WCAG 2.2.2) */
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 0; background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); transition: color .2s; }
.motion-toggle:hover { color: var(--ink); }
.motion-toggle__icon { position: relative; width: 10px; height: 10px; flex: none; }
.motion-toggle__icon::before, .motion-toggle__icon::after { content: ""; position: absolute; top: 0; width: 3px; height: 10px; background: currentColor; border-radius: 1px; transition: transform .3s var(--ease-out), opacity .2s; }
.motion-toggle__icon::before { left: 1px; }
.motion-toggle__icon::after { right: 1px; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon::before { left: 1px; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; background: none; border-radius: 0; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon::after { opacity: 0; }
.footer .motion-toggle, .motion-toggle--light { color: rgba(255, 255, 255, .7); }
.motion-toggle--light { justify-self: start; }
.motion-toggle--light:hover { color: #fff; }
.footer .motion-toggle:hover { color: #fff; }
.footer__end { display: flex; align-items: center; gap: 24px; justify-self: end; }
.hero__foot .motion-toggle { justify-self: start; align-self: end; }

/* hero */
.hero { min-height: min(100svh, 980px); display: flex; color: #fff; }
.hero__inner { display: grid; grid-template-rows: 1fr auto; min-height: inherit; padding-top: calc(clamp(140px, 22vh, 220px) + env(safe-area-inset-top)); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.hero__copy { display: grid; gap: 24px; align-content: start; will-change: transform; }
h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
h1 .line > span { display: inline-block; }
.hero__claim { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; color: #fff; margin-top: -4px; }
.hero__lede { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; max-width: 44ch; color: rgba(255, 255, 255, .78); }
.hero__foot { color: var(--ink); align-items: end; }
.hero__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hero__row p { font-size: 14px; color: var(--muted); max-width: 52ch; }
/* scroll cue: an arrow in a ring that drifts gently downwards */
.cue { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .28); transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.cue:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.cue svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: cue 2.4s var(--ease) infinite; }
.motion-paused .cue svg { animation: none; }

/* sections */
.section { padding-block: var(--section) 0; }
.head { margin-bottom: clamp(48px, 6vw, 88px); }

/* wide photo */
.wide { margin: 0; }
.wide__frame { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #3d4a24; }
.wide__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; filter: saturate(.92) contrast(1.03); }
.motion .wide.reveal { transform: none; clip-path: inset(6% 4% 6% 4%); transition: opacity 1s var(--ease-out), clip-path 1.6s var(--ease-out); }
.motion .wide.reveal.is-in { clip-path: inset(0 0 0 0); }

/* service tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: clamp(24px, 2.2vw, 32px); overflow: hidden; }
.tile h3 { font-size: clamp(21px, 1.65vw, 25px); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; max-width: 18ch; text-wrap: balance; }
.tile h3 + p { margin-top: auto; }
.tile p { color: var(--muted); font-size: 15px; max-width: 40ch; }
.tile--pale { background: var(--pale); }
.tile--cream { background: var(--cream); }
.tile--line { background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.tile--yellow { background: var(--yellow); }
.tile--dark { background: var(--ink); color: #fff; }
.tile--dark p { color: rgba(255, 255, 255, .68); }
.tile__quote { font-size: clamp(21px, 1.65vw, 25px) !important; font-weight: 500; letter-spacing: -.02em; line-height: 1.18; color: var(--black) !important; max-width: 18ch !important; }
/* the opening quote hangs into the margin so the words line up; done by hand, since Safari's
   hanging-punctuation and a negative indent would otherwise add up */
.tile__quote .hang { margin-left: -.42em; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.tile--dark::after { background: var(--yellow); }
.tile--yellow::after { background: var(--black); }
.tile:hover::after { transform: scaleX(1); }
.tile--photo { padding: 0; background: #d8d6cc; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); transform: scale(1.001); transition: transform 1.6s var(--ease-out); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo::after { display: none; }

/* approach rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.9fr); gap: 12px clamp(24px, 3vw, 48px); align-items: end; padding-block: clamp(24px, 2.6vw, 40px); border-bottom: 1px solid var(--line); }
.row__no { justify-self: start; font-size: clamp(64px, 8.4vw, 128px); font-weight: 500; letter-spacing: -.045em; line-height: .82; font-variant-numeric: tabular-nums lining-nums; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 88% / 0 38%; padding-right: .06em; transition: background-size .9s var(--ease-out), color .5s; color: #c9c9c3; }
.row.is-active .row__no { background-size: 100% 38%; color: var(--ink); }
.row h3 { font-size: 17px; }
.row p { color: var(--muted); font-size: 16px; max-width: 54ch; margin-top: 4px; }

/* yellow band */
.band-wrap { padding-top: var(--section); }
.band { background: var(--yellow); color: var(--black); padding: clamp(28px, 4vw, 56px) clamp(24px, 3.4vw, 48px) clamp(24px, 3vw, 40px); display: grid; gap: clamp(48px, 7vw, 96px); }
.band__quote { font-size: clamp(28px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.band__foot { display: flex; justify-content: flex-end; align-items: end; gap: 20px; flex-wrap: wrap; }

/* responsibility tiles */
.levers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lever { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: 380px; padding: clamp(24px, 2.2vw, 32px); }
.lever--a { background: var(--pale); }
.lever--b { background: var(--cream); }
.lever--c { background: #e4e4dd; }
.lever--d { background: var(--ink); color: #fff; }
.lever__no { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lever h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.022em; line-height: 1.12; }
.lever p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 36ch; }
.lever.lever--d p { color: rgba(255, 255, 255, .68); }

/* sector cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: inset 0 0 0 1px var(--line); }
.card { display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: clamp(22px, 2vw, 28px); transition: background-color .4s var(--ease); }
.card + .card { box-shadow: -1px 0 0 var(--line); }
.card:hover { background: rgba(255, 255, 255, .7); }
.card__top { display: grid; justify-items: start; gap: 6px; margin-bottom: auto; }
.card__name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.card__tag { font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-feature-settings: "cv08", "case"; color: var(--muted); }
.card__title { font-size: clamp(18px, 1.4vw, 20px); letter-spacing: -.012em; line-height: 1.32; max-width: 26ch; padding-top: 72px; }

/* footer */
.footer { padding-top: clamp(80px, 9vw, 140px); color: var(--ink); }
.footer__cta { padding-bottom: clamp(120px, 15vw, 220px); }
.footer__row { margin-top: 18px; display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; }
.footer__row > p { font-size: 17px; max-width: 44ch; }
.footer__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__nav { color: #fff; padding-bottom: clamp(56px, 7vw, 96px); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.footer__grid nav, .footer__grid > div { display: grid; align-content: start; justify-items: start; gap: 2px; }
.footer__h { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer__grid a, .footer__lang button { font-size: 14px; color: rgba(255, 255, 255, .62); padding: 6px 0; transition: color .2s; }
.footer__grid a:hover, .footer__lang button:hover { color: #fff; }
.footer__lang { display: grid; justify-items: start; }
.footer__lang button { background: none; border: 0; cursor: pointer; text-align: left; }
.footer__lang button[aria-pressed="true"] { color: #fff; }
.footer__base { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.9fr) auto; gap: 16px clamp(24px, 3vw, 48px); align-items: center; padding-block: 28px calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .5); font-size: 13px; }
.footer__base .mark { color: #fff; }
.footer__top { padding: 8px 0; transition: color .2s; }
.footer__top:hover { color: #fff; }

/* legal pages: same chrome, a shorter glow header */
.hero--page { min-height: min(64svh, 640px); }
.hero--page .hero__inner { grid-template-rows: auto; align-content: start; padding-top: calc(clamp(150px, 24vh, 240px) + env(safe-area-inset-top)); }
.legal { max-width: 68ch; padding-bottom: clamp(40px, 6vw, 80px); }
.legal h2 { font-size: 22px; letter-spacing: -.012em; line-height: 1.25; margin: 48px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a { text-decoration: underline; text-decoration-color: rgba(26, 26, 26, .3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.legal a:hover { text-decoration-color: currentColor; }
.legal strong { color: var(--ink); font-weight: 600; }
.nobr { white-space: nowrap; -webkit-hyphens: none; hyphens: none; }
.legal__date { margin-top: 48px; font-size: 14px; }
.legal .todo { background: var(--cream); padding: 16px 20px; color: var(--ink); border-left: 3px solid var(--ink); }

/* motion: only once JS has opted in and the visitor has not asked for less */
.motion .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion :is(.tiles, .levers, .cards) > .reveal:nth-child(4n + 2) { transition-delay: .08s; }
.motion :is(.tiles, .levers, .cards) > .reveal:nth-child(4n + 3) { transition-delay: .16s; }
.motion :is(.tiles, .levers, .cards) > .reveal:nth-child(4n + 4) { transition-delay: .24s; }
.motion h1 .line > span { transform: translate3d(0, 105%, 0); transition: transform 1.3s var(--ease-out); }
.motion h1 .line:nth-child(2) > span { transition-delay: .12s; }
.motion .hero__claim, .motion .hero__lede, .motion .hero__foot { opacity: 0; transition: opacity 1.4s var(--ease) .5s; }
.motion.is-loaded h1 .line > span { transform: none; }
.motion.is-loaded .hero__claim, .motion.is-loaded .hero__lede, .motion.is-loaded .hero__foot { opacity: 1; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .tiles, .levers, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card + .card { box-shadow: -1px -1px 0 var(--line); }
  .lever { min-height: 260px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .cols, .row, .footer__base { grid-template-columns: 1fr; }
  .cols > .col { grid-column: auto; }
  .tiles, .levers, .cards { grid-template-columns: 1fr; }
  /* the bar runs edge to edge (and up behind the status bar) instead of floating as a capsule */
  .nav__row { height: 60px; gap: 8px; }
  .nav__row::before { display: none; }
  .nav[data-stuck="true"] { background: rgba(246, 246, 242, .8); box-shadow: 0 1px 0 rgba(26, 26, 26, .08); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7); }
  .nav[data-stuck="true"][data-theme="dark"] { background: rgba(0, 0, 0, .66); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
  .menu-open .nav, .menu-open .nav[data-stuck="true"] { background: #000; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__end > .lang, .nav__end > .btn--nav { display: none; }
  .nav__menu { display: inline-flex; }
  h1 { font-size: min(42px, 10.6vw); }
  /* hero: copy sits in the black, the closing line and both controls share one quiet block at the bottom */
  .hero__inner { padding-top: calc(max(108px, 26svh) + env(safe-area-inset-top)); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  /* the livelier band can rise behind the copy; a soft shadow keeps the white text legible on amber */
  .hero__copy { gap: 18px; text-shadow: 0 1px 14px rgba(40, 14, 0, .45); }
  .hero__claim { font-size: 18px; margin-top: 0; }
  .hero__lede { font-size: 16px; max-width: 34ch; }
  /* one block: the line and the pause control stacked on the left, the scroll arrow beside them */
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: center; padding-top: 18px; border-top: 1px solid rgba(26, 26, 26, .12); }
  .hero__row { display: contents; }
  .hero__row p { grid-column: 1; grid-row: 1; align-self: end; font-size: 13.5px; line-height: 1.4; }
  .hero__foot .motion-toggle { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; min-height: 28px; padding: 2px 0; font-size: 12.5px; }
  .hero__row .cue { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .head { margin-bottom: 40px; }
  /* tiles size to their content; the photo keeps a fixed shape */
  .lever, .card { min-height: 0; }
  /* every service tile, photos included, shares one height */
  .tile { gap: 0; min-height: 264px; }
  .tile--photo { min-height: 264px; }
  .lever { gap: 40px; }
  .card__title { padding-top: 36px; }
  .card { gap: 0; }
  .card + .card { box-shadow: 0 -1px 0 var(--line); }
  .band__foot { justify-content: flex-start; }
  /* footer: the glow ends under the call to action (data-until), the stacked links sit on black */
  .footer { background: linear-gradient(var(--page) 2%, #fbf8d4 14%, #ffd400 26%, #5c2604 36%, #000 46%); }
  .footer__cta { padding-bottom: 200px; }
  .footer__nav { padding-top: 24px; }
  .footer__base { gap: 8px; }
  .footer__end { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@keyframes cue { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 2px; } }
/* touch screens: no hover states that stick after a tap */
@media (hover: none) {
  .tile:hover::after { transform: scaleX(0); }
  .tile--photo:hover img { transform: scale(1.001); }
  .card:hover { background: none; }
  .cue:hover { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(26, 26, 26, .28); }
}
