/* Seventh Sector home. Grain gradients in brand red, a pale working ground, white cards. */
:root {
  --bg: #FFFFFF;
  --card: #F4F4F3;
  --ink: #111111;
  --soft: rgba(17, 17, 17, .47);
  --muted: #5C5955;
  --line: #DAD8D4;
  --red: #D70103;
  --red-deep: #8E0002;
  --night: #140000;
  --blush: #F3D3CB;
  --white: #FFFFFF;

  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  --arrow: url("assets/icons/arrow-up-right.svg"); /* the site's one arrow, used as a mask so it takes the text colour */
  --font-ar: 'Geist Digits', 'Tajawal', 'Geist', system-ui, sans-serif; /* Arabic version of the site: numbers stay in Geist */
  --radius: 14px;

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --grain: url("assets/grain.svg");
}

/* Geist's numbers on their own, so the Arabic page writes every number exactly as the English one does */
/* Fonts are served from this site (no Google request on English, French, German or Arabic pages). Geist is variable (300 to 700). */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/tajawal-arabic-300.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/tajawal-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/tajawal-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/tajawal-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Geist Digits'; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0030-0039, U+0025, U+002B, U+002E, U+00A9; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  overflow-x: clip; /* nothing may widen the page past the screen */
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gutter); } /* full width, gutters only */
.skip { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }

/* Shared bits */
.grain { position: absolute; inset: 0; background-image: var(--grain); opacity: .28; mix-blend-mode: overlay; pointer-events: none; }
.label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; }
.label-light { color: rgba(255, 255, 255, .85); }
.paren { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.soft { color: var(--soft); }
:lang(ar), [dir="rtl"] { font-family: var(--font-ar); letter-spacing: 0; }
.statement { font-size: clamp(1.75rem, 3.2vw, 2.875rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.statement-sm { font-size: clamp(1.5rem, 2.4vw, 2.125rem); }
.statement-lead { font-size: clamp(2.625rem, 4.8vw, 4.3125rem); font-weight: 600; line-height: 1.04; }
.giant {
  font-size: clamp(3.5rem, 10.5vw, 9.75rem); font-weight: 600; line-height: .92; letter-spacing: -.055em;
  color: var(--ink); padding-bottom: .06em;
}
.row-text { font-size: .875rem; line-height: 1.55; color: var(--muted); max-width: 46ch; }

/* Buttons: the words, then the square arrow button (the same one as on the cards) */
.pill { display: inline-flex; align-items: center; gap: 16px; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pill-arrow { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; overflow: hidden; transition: background .3s var(--ease), color .3s var(--ease); }
.pill-arrow::before, .pill-arrow::after {
  content: ""; position: absolute; width: 42%; height: 42%; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .45s var(--ease);
}
/* On hover the arrow flies out to the top right and a new one comes in from the bottom left */
.pill-arrow::after { transform: translate(-180%, 180%); }
.pill:hover .pill-arrow::before { transform: translate(180%, -180%); }
.pill:hover .pill-arrow::after { transform: none; }
/* On dark backgrounds the words are white and the button turns white on hover; on light ones the words are dark and it turns black */
.pill-light { color: #fff; }
.pill-light:hover .pill-arrow { background: #fff; color: var(--ink); }
.pill-red { color: var(--ink); }
.pill-red:hover .pill-arrow { background: var(--ink); color: #fff; }
.pill-white .pill-arrow { background: #fff; color: var(--ink); } /* hero: white button, black arrow */
.pill-white:hover .pill-arrow { background: var(--red); color: #fff; }
.pill-xl .pill-arrow { width: 104px; height: 104px; border-radius: 28px; } /* pre-footer: twice the size */

.line-link {
  display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 100% calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.line-link:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }

/* Loader */
.loader { display: none; }
/* Loading screen: white, a light fill rising the full height as the page loads, and the percentage large at the bottom left */
.js .loader { position: fixed; inset: 0; z-index: 300; display: block; background: #fff; }
.loader-fill { position: absolute; inset: 0; background: var(--red); clip-path: inset(100% 0 0 0); }
.loader-fill .loader-pct { color: #fff; } /* the copy of the number inside the red reads white */
.loader-pct { position: absolute; left: var(--gutter); bottom: clamp(12px, 2vw, 28px); font-size: clamp(5rem, 17vw, 17rem); font-weight: 600; line-height: .8; letter-spacing: -.06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.no-motion .loader { display: none; }

/* Menu: plain "Menu" + two lines at the top right (no background), opening into a full-screen glass sheet; open, it becomes an X in the corner */
.glass-bar {
  position: fixed; top: 22px; right: var(--gutter); z-index: 120; /* under the loading screen; already in place the moment it lifts */
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 16px; height: 44px; padding: 0; border: 0; background: none;
  font: 600 .75rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; cursor: pointer;
  transition: gap .55s var(--ease), color .35s var(--ease), opacity .25s var(--ease);
}
.glass-label { display: inline-block; max-width: 5em; overflow: hidden; white-space: nowrap; transition: max-width .55s var(--ease), opacity .3s var(--ease); }
.glass-lines { position: relative; width: 44px; height: 7px; transition: width .55s var(--ease), height .55s var(--ease), transform .6s var(--ease); }
.glass-lines span { position: absolute; left: 0; width: 100%; height: 1px; transition: transform .5s var(--ease), top .5s var(--ease); }
.glass-lines span:first-child { top: 0; }
.glass-lines span:last-child { top: 6px; }
/* Open: a square button holding only an X, which turns a quarter on hover and back */
.menu-open .glass-bar { gap: 0; }
.menu-open .glass-label { max-width: 0; opacity: 0; }
.menu-open .glass-lines { width: 22px; height: 22px; }
.menu-open .glass-lines span { top: 50%; }
.menu-open .glass-lines span:first-child { transform: rotate(45deg); }
.menu-open .glass-lines span:last-child { transform: rotate(-45deg); }
.menu-open .glass-bar:hover .glass-lines { transform: rotate(90deg); }

.menu { position: fixed; inset: 0; z-index: 110; color: #fff; overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
/* --frost runs 0 to 1 as the sheet opens: the page behind blurs and whitens into frosted glass */
.menu-glass {
  --frost: 1;
  position: fixed; inset: 0; background: rgba(255, 255, 255, calc(.2 * var(--frost)));
  -webkit-backdrop-filter: blur(calc(40px * var(--frost))) saturate(calc(100% + 60% * var(--frost)));
  backdrop-filter: blur(calc(40px * var(--frost))) saturate(calc(100% + 60% * var(--frost)));
}
.menu-inner { position: relative; min-height: 100%; display: flex; flex-direction: column; padding-top: 86px; padding-bottom: 44px; }
.menu-nav { position: relative; flex: 1; display: flex; align-items: center; }
.menu-main { width: 55%; }
/* Items only as wide as their words, so a diagonal move across to the pages doesn't pick up the items in between */
.menu-item { width: fit-content; }
.menu-link {
  display: inline-flex; align-items: flex-start; gap: 14px; padding: 0; text-decoration: none;
  /* As large as the width allows (about 40% for the longest item), but never taller than the space for all eight */
  font-size: min(6.4vw, calc((100svh - 190px) / 8.4)); font-weight: 500; line-height: 1; letter-spacing: -.05em;
  color: #fff; transition: color .4s var(--ease);
}
.menu-num { margin-top: .5em; width: 1.6em; font-size: .75rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
/* Once one item is chosen the others fall back, so it leads */
.menu-main.is-focusing .menu-item:not(.is-active) > .menu-link { color: rgba(255, 255, 255, .38); }
.menu-light .menu-main.is-focusing .menu-item:not(.is-active) > .menu-link { color: rgba(17, 17, 17, .3); }
.menu-sub { position: absolute; left: 58%; top: 50%; transform: translateY(-50%); width: min(520px, 40%); max-height: calc(100svh - 150px); visibility: hidden; opacity: 0; }
.menu-item.is-active > .menu-sub { visibility: visible; opacity: 1; }
.menu-all { display: none; } /* "Discover all": tablets and phones only, where the parent item opens its list instead of the page */
.menu-all a { font-weight: 600; }
.menu-all a::after { opacity: 1; transform: none; }
.menu-sub-head { margin-bottom: 16px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.menu-sub a { display: flex; align-items: center; justify-content: space-between; min-height: clamp(36px, calc((100svh - 240px) / 11), 58px); border-bottom: 1px solid rgba(255, 255, 255, .22); font-size: clamp(1.0625rem, min(1.6vw, 2.6vh), 1.625rem); font-weight: 500; letter-spacing: -.03em; text-decoration: none; color: #fff; transition: padding .35s var(--ease), opacity .2s; }
.menu-sub a::after { content: ""; flex: none; width: .6em; height: .6em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.menu-sub a:hover, .menu-sub a:focus-visible { padding-left: 10px; }
.menu-sub a:hover::after, .menu-sub a:focus-visible::after { opacity: 1; transform: none; }
.menu-open { overflow: hidden; }
/* Over light parts of the page the menu and close buttons turn dark */
/* The menu button is only ever pure black or pure white. Each part (the word, cut to its letter shapes from
   assets/icons/menu-word.svg, and each line) shows the page behind it turned to greyscale, pushed to black or white
   and inverted: over anything light it is black, over anything dark (a photo, the film, the hero) it is white, and a
   button half over each splits cleanly between the two. */
.glass-bar { --bw: blur(8px) brightness(.62) grayscale(1) contrast(1000) invert(1); } /* judged on the average brightness nearby, leaning white over photos */
.glass-label { color: transparent; -webkit-backdrop-filter: var(--bw); backdrop-filter: var(--bw);
  -webkit-mask: url("assets/icons/menu-word.svg") left center / 40.61px 8.52px no-repeat; mask: url("assets/icons/menu-word.svg") left center / 40.61px 8.52px no-repeat; }
.glass-lines span { background: transparent; -webkit-backdrop-filter: var(--bw); backdrop-filter: var(--bw); }
.glass-lines span { height: 1.5px; } /* a hair thicker, so a thresholded line reads cleanly */
/* Open over a light part of the page: dark type in the sheet */
.menu-light .menu { color: var(--ink); }
.menu-light .menu-link { color: var(--ink); }
.menu-light .menu-num, .menu-light .menu-sub-head { color: rgba(17, 17, 17, .6); }
.menu-light .menu-sub a { color: var(--ink); border-bottom-color: rgba(17, 17, 17, .14); }


/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 88px; color: #fff; overflow: hidden; isolation: isolate; } /* room for the fixed header */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Flowing gradient bands (flow.js draws them; the CSS gradient is the fallback) */
main { position: relative; z-index: 1; }
.flow { position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flow .grain { opacity: .32; }
.flow-top { top: 0; height: 150svh; background: linear-gradient(to bottom, #070101 0 27%, #8E0002 38%, var(--red) 48%, #FF3B1F 56%, #FF6A52 63%, #FFB199 70%, var(--bg) 100%); }
.flow-top .grain { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.flow-foot { top: -8vh; bottom: 0; background: linear-gradient(to top, #070101 0 38%, #8E0002 46%, var(--red) 55%, #FF3B1F 64%, #FF6A52 72%, #FFB199 80%, var(--bg) 100%); }
.flow-foot .grain { -webkit-mask-image: linear-gradient(to top, #000 60%, transparent); mask-image: linear-gradient(to top, #000 60%, transparent); }
/* Evenly spaced vertical rules across the content width */
.hero-lines { position: absolute; inset: 0; padding: 0 var(--gutter); display: flex; justify-content: space-between; pointer-events: none; }
.hero-lines span { width: 1px; height: 100%; background: rgba(255, 255, 255, .16); transform-origin: top; }

/* Fixed header: hides (blur and fade) while scrolling down, comes back on the way up */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 105; display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; pointer-events: none; transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s var(--ease), visibility 0s linear 0s; }
.site-head > * { pointer-events: auto; }
.head-hidden .site-head { opacity: 0; visibility: hidden; transform: translateY(-14px); filter: blur(10px); transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s var(--ease), visibility 0s linear .45s; }
.site-logo { display: block; }
.site-logo img { width: 134px; height: auto; }
.site-logo .logo-on-light, .bar-light .site-logo .logo-on-dark { display: none; }
.bar-light .site-logo .logo-on-light { display: block; }
/* Language picker: a flag; the list grows out of it */
.wrap-full { max-width: none; }
.lang-picker { position: relative; z-index: 6; }
.site-head .lang-picker { margin-left: auto; margin-right: -24px; } /* 24px from the magnifier (the header's 28px gap less both buttons' own padding) */
.site-search-btn { margin-right: var(--menu-room, 128px); } /* room for the menu button to its right; main.js sets it from the button's width so the magnifier sits 24px from it in every language */
.flag { display: block; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; }
.lang-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .25s var(--ease); }
.lang-btn:hover { opacity: .75; }
.lang-panel { position: absolute; top: 0; right: 0; width: 210px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .22); overflow: hidden; }
.lang-panel[hidden] { display: none; }
.lang-head { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 10px 0 14px; font-size: .6875rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lang-panel .flag { box-shadow: 0 0 0 1px rgba(17, 17, 17, .12); }
.lang-panel ul { padding: 4px 6px 8px; }
.lang-panel a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 8px; border-radius: 6px; font-size: .8125rem; font-weight: 300; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--ink); transition: background .2s; }
.lang-panel a:hover, .lang-panel a:focus-visible { background: var(--card); }
.lang-panel a[aria-current="true"]::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--red); }
.lang-panel a[lang="ar"] span { font-family: var(--font-ar); font-size: .9375rem; text-transform: none; letter-spacing: 0; }
/* In the menu's bottom row the list opens upward, out of the flag */
.lang-up .lang-panel { top: auto; bottom: 0; display: flex; flex-direction: column-reverse; }
.lang-up .lang-panel[hidden] { display: none; }
.lang-up .lang-panel ul { padding: 8px 6px 4px; }

.hero-body { position: relative; z-index: 2; flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: clamp(40px, 9vh, 110px); }
.hero-copy { max-width: 100%; }
.hero-title { margin-top: 18px; font-size: clamp(1.6875rem, 7.8vw, 7.3125rem); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.hero-copy .pill { margin-top: 30px; }
.hero-scroll { align-self: flex-end; margin-left: auto; margin-bottom: 18px; font-size: .75rem; color: rgba(255, 255, 255, .7); }
.hero-word {
  position: relative; z-index: 2; margin: 0 0 -0.16em; padding: 0 calc(var(--gutter) - .04em);
  font-size: 12.6vw; font-weight: 600; line-height: .9; letter-spacing: -.065em; white-space: nowrap; color: #fff;
}
.hero-word.is-two { white-space: normal; text-wrap: balance; line-height: .92; } /* long page names: two lines, not tiny */
.char { display: inline-block; will-change: transform; }
.char-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* Intro */
.intro { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 8vw, 110px); }
.intro-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.intro-top .statement { max-width: 28ch; }
.word { display: inline; transition: color .2s; }

.cards { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--card); padding: 24px; display: flex; flex-direction: column; isolation: isolate; }
.card-grad { color: #fff; background: radial-gradient(120% 90% at 85% 10%, #FF6A52 0%, var(--red) 38%, #5A0001 80%, var(--night) 100%); }
.card-icon { width: 40px; height: 40px; border-radius: 10px; }
.card-foot { margin-top: auto; }
.card-text { margin-top: 10px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; max-width: 26ch; }
/* Intro cards: the main line of each card, about twice the size and semibold */
/* Three ways in (Capabilities, Solutions, Approach): a photo card with a title, a line beneath and an arrow button */
.card-link { justify-content: flex-end; padding: clamp(24px, 2.6vw, 44px); color: #fff; text-decoration: none; background: #1b1b1b; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7)); pointer-events: none; }
.card-link:hover .card-img { transform: scale(1.04); }
.card-body { padding-right: clamp(72px, 6.5vw, 104px); }
.card-title { margin-top: 12px; font-size: clamp(1.35rem, 2.07vw, 2.1375rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.card-sub { margin-top: 12px; font-size: clamp(.9375rem, 1vw, 1.0625rem); line-height: 1.4; color: rgba(255, 255, 255, .82); max-width: 30ch; }
.card-go { position: absolute; right: clamp(24px, 2.6vw, 44px); bottom: clamp(24px, 2.6vw, 44px); width: clamp(56px, 5vw, 76px); aspect-ratio: 1; border-radius: 18px; background: var(--red); color: #fff; overflow: hidden; transition: background .3s var(--ease), color .3s var(--ease); }
.card-go::before, .card-go::after { content: ""; position: absolute; inset: 30%; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .45s var(--ease); }
.card-go::after { transform: translate(-180%, 180%); }
.card-link:hover .card-go { background: #fff; color: var(--ink); } /* hover: white button, black arrow */
.card-link:hover .card-go::before { transform: translate(180%, -180%); }
.card-link:hover .card-go::after { transform: none; }
.card-link { --card-r: var(--radius); border-radius: var(--card-r); clip-path: inset(0 round var(--card-r)); }
@media (min-width: 961px) { .card-link { --card-r: 40px; } }
/* Expanding film cards (About, Approach): a single full-width 16:9 card, its line large over the film */
/* The card is a full screen in the layout; a clip shows only a 16:9 window of it with 40px corners. As it scrolls through,
   main.js takes --p from 0 to 1 (the window opens to the whole screen, corners square) and back to 0 as it leaves. */
.card.card-link.expand-card {
  --p: 0; --ar: .5625; /* height / width of the closed window: 16:9 */
  --x: var(--gutter); --y: max(0px, calc((100svh - (100vw - var(--gutter) * 2) * var(--ar)) / 2));
  --pad: clamp(24px, 2.6vw, 44px); --open: calc(1 - var(--p));
  display: flex; width: calc(100% + var(--gutter) * 2); height: 100svh; margin: clamp(16px, 2vw, 24px) calc(var(--gutter) * -1) 0; aspect-ratio: auto; min-height: 0;
  border-radius: 0; clip-path: inset(calc(var(--y) * var(--open)) calc(var(--x) * var(--open)) round calc(var(--card-r) * var(--open)));
  padding: calc(var(--y) * var(--open) + var(--pad)) calc(var(--x) * var(--open) + var(--pad));
}
.expand-card .card-go { right: calc(var(--x) * var(--open) + var(--pad)); bottom: calc(var(--y) * var(--open) + var(--pad)); width: 104px; border-radius: 28px; } /* same size as the heading buttons */
.expand-card .card-body { padding-right: 140px; }
.expand-text { margin-top: 14px; max-width: 14ch; font-size: clamp(2.75rem, 7.8vw, 8.25rem); font-weight: 600; line-height: .95; letter-spacing: -.05em; } /* three times the old size */
.card-photo { padding: 0; background: #1b1b1b; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: -1; }
.card-photo:hover .card-img { transform: scale(1.03); }
/* Full-colour photos; a soft dark fade at the foot keeps the white caption readable */
.card-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55)); pointer-events: none; }
.intro .card { aspect-ratio: 4 / 5; min-height: 0; }
.card-tag { margin-top: auto; padding: 20px 24px; font-size: .8125rem; font-weight: 500; color: #fff; }
.card-white .paren { color: var(--muted); }
.card-big {
  align-self: flex-start; margin-top: 12px; font-size: clamp(4rem, 7vw, 6rem); font-weight: 500; line-height: 1; letter-spacing: -.06em; color: var(--ink);
}
.card-big-word { font-size: clamp(2.5rem, 4.4vw, 3.75rem); letter-spacing: -.05em; padding-bottom: .06em; }
.tm { font-size: .32em; vertical-align: top; position: relative; top: .35em; margin-left: .06em; letter-spacing: 0; }
.card-small { margin-top: auto; font-size: .875rem; line-height: 1.45; color: var(--muted); max-width: 30ch; }
.card-white .line-link { margin-top: 8px; align-self: flex-start; }

.row-note { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: start; gap: 24px; }
.row-note .row-text { justify-self: end; }
.row-note-2 { grid-template-columns: 1fr auto; align-items: center; }
.row-note-2 .row-text { justify-self: start; }

/* Capabilities */
/* The grey panel opens out to the full width (and loses its rounded corners) as it scrolls in; main.js drives --caps-in from 0 to 1 */
.caps { padding: clamp(80px, 10vw, 140px) 0; background: var(--card); }
.sec-intro { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.caps-grid { margin-top: clamp(48px, 6vw, 80px); }
/* Every capability is open. While the list is pinned, each description folds up under its title in turn (main.js), so the rows stack into a list of numbers and titles */
.acc { --row-h: clamp(64px, calc((100svh - 140px) / 10), 116px); --acc-size: calc(var(--row-h) * .5); }
.acc { --row-pad: clamp(18px, 2.2vw, 34px); }
.acc-item { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 72px); align-items: start; padding: var(--row-pad) 0; overflow: hidden; background: var(--card); border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-item { --s: 1; } /* the fold shrinks each folded title to 75% */
/* A title may wrap on narrower screens, so its row grows rather than clipping it */
.acc-head { display: grid; grid-template-columns: 76px 1fr; align-items: start; gap: 12px; min-height: calc(var(--row-h) * var(--s)); padding-top: calc((var(--row-h) - var(--acc-size)) / 2 * var(--s)); }
.acc-name { padding-bottom: calc((var(--row-h) - var(--acc-size)) / 2 * var(--s)); }
.acc-num { margin-top: calc(var(--acc-size) * var(--s) * .16 - 2px); font-size: .875rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; } /* level with the top of the title's capitals */
.acc-name { font-size: calc(var(--acc-size) * var(--s)); font-weight: 600; letter-spacing: -.045em; line-height: 1; transition: transform .45s var(--ease), color .3s; }
.acc-item:hover .acc-name { transform: translateX(12px); color: var(--red); }
.acc-panel { overflow: hidden; }
.acc-inner { padding-top: calc((var(--row-h) - var(--acc-size)) / 2); }
.acc-inner p { font-size: 1rem; line-height: 1.55; color: #444; max-width: 52ch; }
/* Image that follows the pointer over the list; the reel slides to the hovered row's photo */
.caps-follow { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(280px, 26vw, 460px); aspect-ratio: 3 / 2; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.caps-follow-reel { display: flex; flex-direction: column; }
.caps-follow-reel img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (hover: none) { .caps-follow { display: none; } }

/* Solutions */
.sols { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(64px, 8vw, 110px); }
.giant-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.giant-row .paren { padding-bottom: 1.2em; }
.giant-side { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 32px); padding-bottom: .6em; }
.giant-side .paren { padding-bottom: 0; }
/* Solutions carousel: photo cards in a row that scrolls sideways (swipe, drag or the arrow buttons), snapping to each card */
.sols-carousel { margin-top: clamp(40px, 5vw, 64px); }
.sols-track { display: flex; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; user-select: none; -webkit-user-select: none; }
@media (hover: none) { .sols-track { scroll-snap-type: x mandatory; } .sols-track > * { scroll-snap-align: start; } }
.sols-track::-webkit-scrollbar { display: none; }
.sols-track.is-dragging { cursor: grabbing; }
.sols-track.is-dragging > * { pointer-events: none; }
.sol-card { flex: 0 0 clamp(280px, 31vw, 540px); aspect-ratio: 4 / 5; }
/* Insights: the photo (with its arrow button) on top; date, title and a short description beneath */
.ins { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 120px); }
.ins-card { flex: 0 0 clamp(280px, 28vw, 460px); }
.ins-media { --card-r: var(--radius); position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--card-r); clip-path: inset(0 round var(--card-r)); overflow: hidden; background: #1b1b1b; }
@media (min-width: 961px) { .ins-media { --card-r: 40px; } }
.ins-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ins-media:hover img { transform: scale(1.04); }
.ins-media:hover .card-go { background: #fff; color: var(--ink); }
.ins-media:hover .card-go::before { transform: translate(180%, -180%); }
.ins-media:hover .card-go::after { transform: none; }
.ins-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ins-meta span { color: var(--red); }
.ins-title { margin-top: 10px; font-size: clamp(1.25rem, 1.6vw, 1.625rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.ins-title a { color: var(--ink); text-decoration: none; transition: color .2s; }
.ins-title a:hover { color: var(--red); }
.ins-desc { margin-top: 10px; font-size: .9375rem; line-height: 1.55; color: #444; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.car-controls { margin-top: 16px; display: flex; justify-content: flex-end; gap: 4px; }
.car-btn { position: relative; width: 68px; height: 68px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; transition: opacity .3s var(--ease), color .3s var(--ease); }
.car-btn::before { content: ""; position: absolute; inset: 14%; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.car-prev::before { transform: rotate(-135deg); } /* the up-right arrow turned to point left */
.car-next::before { transform: rotate(45deg); }  /* and right */
.car-controls:hover .car-btn:not(:hover) { opacity: .35; }
.car-btn:disabled { opacity: .2 !important; cursor: default; }
.sols-note { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.sols-note .statement { max-width: 30ch; }
.sols-note .pill { justify-self: end; }
.counts { margin-top: clamp(56px, 7vw, 96px); }
.counts-row { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.counts-row li { padding-top: 18px; border-top: 1px solid var(--line); }
.count-num { font-size: clamp(6rem, 10.8vw, 9.5rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
/* Rolling digits: each reel shows one cell of its 0-9 strip */
.reel { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; font-variant-numeric: tabular-nums; }
.reel-strip { display: flex; flex-direction: column; }
.reel-strip span { display: block; height: 1em; }
.count-lab { margin-top: 12px; font-size: 1.21875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; color: var(--muted); }

/* Approach */
.appr { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); }
.appr-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: end; }
.appr-side .row-text { margin-top: 14px; }
.giant-2 { font-size: clamp(3rem, 8vw, 7.5rem); }
.cards-appr .card-photo .card-img { object-position: 60% 40%; }


/* Footer */
.foot { position: relative; color: #fff; isolation: isolate; }
.foot-inner { padding-top: clamp(220px, 36vh, 420px); padding-bottom: 28px; }
.foot-cta { margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.foot-big {
  font-size: clamp(2.25rem, 5.6vw, 5.25rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; text-decoration: none; max-width: 16ch;
  background: linear-gradient(100deg, #fff, #FFD9CF 55%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em;
}
.foot-cols { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-col-head { display: flex; align-items: center; justify-content: space-between; }
.foot-links-inner { display: flex; flex-direction: column; align-items: flex-start; }
.foot-toggle, .foot-cols .foot-all { display: none; } /* tablet and phone only */
.foot-cols a { display: flex; align-items: center; min-height: 34px; font-size: .875rem; line-height: 1.3; text-decoration: none; color: rgba(255, 255, 255, .78); transition: color .2s; }
.foot-cols a:hover { color: #fff; }
.foot-cols .foot-h { min-height: 0; margin-bottom: 10px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
/* Footer: a full-width animated gradient panel at the very bottom (flow.js, kind "block") */
.foot-flow { position: relative; display: flex; align-items: flex-end; margin-top: clamp(40px, 5vw, 72px); height: clamp(260px, 36vw, 560px); overflow: hidden; isolation: isolate; background: linear-gradient(to bottom, #070101 0%, #3A0001 35%, #8E0002 55%, var(--red) 78%, #FF3B1F); }
.foot-flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.foot-flow canvas, .foot-flow .grain { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%); }
.foot-flow .grain { opacity: .3; }
/* "Brands, Unbound." at the same scale as the hero's wordmark: fitted to the full width */
.foot-word { position: relative; z-index: 1; width: 100%; margin: 0 0 -0.16em; padding: 0 calc(var(--gutter) - .04em); font-size: 12.6vw; font-weight: 600; line-height: .9; letter-spacing: -.055em; white-space: nowrap; color: #fff; }
.foot-char { display: inline-block; white-space: pre; } /* each letter blurs in on its own */
.foot-base { margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.foot-social { display: flex; gap: 6px; margin-top: -10px; }
.foot-legal { max-width: 110ch; }
.foot-policies { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-policies a { color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .25s var(--ease); }
.foot-policies a:hover, .foot-policies a:focus-visible { color: #fff; }
.foot-disclaimer { margin-top: 10px; font-size: .75rem; line-height: 1.6; color: rgba(255, 255, 255, .42); }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; color: rgba(255, 255, 255, .5); transition: color .25s var(--ease); }
.foot-social a:hover { color: #fff; }
.foot-social svg { width: 18px; height: 18px; fill: currentColor; }
.to-top { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }

/* Cursor label over tiles */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; pointer-events: none; transform: scale(0); opacity: 0; }
@media (hover: none) { .cursor { display: none; } }

/* Hidden before the entrance runs (JS on, motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero-in] { opacity: 0; }
}
.no-motion [data-hero-in] { opacity: 1 !important; transform: none !important; }

/* Tablet and down */
@media (max-width: 1100px) {
}
@media (max-width: 960px) {
  /* Menu on tablets and phones: every item stays at full strength; each page's arrow is twice the size, at the far right */
  .menu-item { width: 100%; }
  .menu-main.is-focusing .menu-item:not(.is-active) > .menu-link { color: #fff; }
  .menu-light .menu-main.is-focusing .menu-item:not(.is-active) > .menu-link { color: var(--ink); }
  .menu-sub a::after { width: 1.2em; height: 1.2em; opacity: 1; transform: none; }
  /* Arrow buttons (hero, headings, footer) 35% smaller on tablets */
  .pill-xl .pill-arrow { width: 68px; height: 68px; border-radius: 18px; }
  .expand-card .card-go { width: 68px; border-radius: 18px; }
  .expand-card .card-body { padding-right: 96px; }
  .site-search-btn { margin-right: var(--menu-room, 104px); }
  .menu-main { width: 100%; }
  /* Tablet and phone: tap an item to open its pages beneath it; the sheet scrolls */
  .menu-inner { padding-top: 70px; }
  .menu-nav { align-items: flex-start; padding: 4px 0 24px; }
  .menu-link { font-size: clamp(2.5rem, 11vw, 4.75rem); }
  .menu-item + .menu-item { margin-top: clamp(8px, 1.6vw, 16px); }
  /* Pages sit under the item, lined up with its words, without rules between them */
  .menu-sub { position: static; transform: none; width: auto; max-height: none; display: none; overflow: hidden; padding: 0 0 0 calc(1.2rem + 14px); }
  .menu-sub-head + li { padding-top: 8px; }
  .menu-sub li:last-child { padding-bottom: 14px; }
  .menu-sub-head { display: none; }
  .menu-sub a { min-height: 44px; border-bottom: 0; font-size: 1.25rem; }
  .menu-item.is-active > .menu-sub, .menu-item.is-closing > .menu-sub { display: block; }
  .menu-all { display: block; }

  .cards, .caps-grid, .sec-intro, .appr-head, .sols-note { grid-template-columns: 1fr; }
  /* Footer columns as accordions: tap a section to open its pages */
  .foot-cols { grid-template-columns: 1fr; gap: 0; }
  .foot-col { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .foot-col-head { min-height: 60px; }
  .foot-cols .foot-h { margin: 0; flex: 1; align-self: stretch; font-size: .875rem; }
  .foot-toggle { position: relative; display: block; flex: none; width: 44px; height: 44px; margin-right: -12px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
  .foot-toggle::before, .foot-toggle::after { content: ""; position: absolute; left: 14px; top: 21px; width: 16px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
  .foot-toggle::after { transform: rotate(90deg); }
  .foot-col.is-open .foot-toggle::after { transform: rotate(0); }
  .foot-links { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .foot-col.is-open .foot-links { grid-template-rows: 1fr; }
  .foot-links-inner { overflow: hidden; }
  .foot-links-inner > a:last-child { margin-bottom: 16px; }
  .foot-cols .foot-all { display: flex; font-weight: 600; color: #fff; }
  /* Footer bottom: social icons on their own row above; copyright and disclaimer across the full width beneath */
  .foot-base { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .foot-social { margin: 0 0 0 -10px; }
  .foot-legal { max-width: none; }
  /* Capabilities on tablets and phones: the description under its title, so titles keep to one line where they can */
  .acc-item { grid-template-columns: 1fr; }
  .acc-inner { padding: 0 0 0 88px; }
  /* The three cards under the intro become a swipe carousel: one card and a peek of the next, snapping card by card */
  .cards-nav { display: flex; gap: 12px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cards-nav::-webkit-scrollbar { display: none; }
  .cards-nav .card { flex: 0 0 auto; scroll-snap-align: start; }
  /* All carousel cards share one size on tablets and phones: the cards under the intro, Solutions and Insights */
  .cards-nav .card, .sol-card, .ins-card { flex-basis: 52vw; }
  .sols-note .pill { justify-self: start; }
  .row-note { grid-template-columns: 1fr; }
  .row-note .row-text { justify-self: start; }
  .counts-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  /* Phones: arrow buttons half size, headings and their button share the row only if they fit, headline larger */
  .pill-xl .pill-arrow { width: 52px; height: 52px; border-radius: 14px; }
  .expand-card .card-go { width: 52px; border-radius: 14px; }
  .expand-card .card-body { padding-right: 72px; }
  .giant-row { flex-wrap: wrap; }
  /* The heading's arrow button goes on its own line, at the left */
  .giant-side { width: 100%; justify-content: space-between; align-items: center; padding-bottom: 0; }
  .giant-side .pill { order: -1; }
  .hero-title { font-size: 10.4vw; }
  .card.card-link.expand-card { --ar: 1.25; } /* phones: the closed window is 4:5, so the line has room */
  .cards-nav .card, .sol-card, .ins-card { flex-basis: 74vw; }
  .glass-bar { right: 16px; gap: 0; }
  .glass-label { display: none; } /* phones: just the two lines, level with the flag */
  .glass-lines { width: 32px; }
  .site-search-btn { margin-right: var(--menu-room, 44px); }
  .hero-body { flex-direction: column; padding-top: 48px; }
  .hero-scroll { align-self: flex-start; }
  .hero-word { font-size: 12.4vw; }
  .card { min-height: 260px; }
  .acc-inner { padding: 0 0 0 48px; }
  .acc { --row-h: clamp(52px, calc((100svh - 110px) / 10), 80px); }
  .acc-head { grid-template-columns: 36px 1fr; }
    .pill { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Insights page (insights.html) ---------- */
.page-hero .hero-title { font-size: clamp(1.75rem, 5.4vw, 5.5rem); }
/* a kind with nothing in it yet says so, under its heading */
.ins-empty { margin-top: clamp(32px, 4vw, 56px); padding: clamp(40px, 5vw, 80px) 0 0; border-top: 1px solid var(--line); font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; color: var(--soft); }
.ins-kind + .ins-kind { padding-top: 0; }
/* category pages (news.html and the rest): every card in a grid, 3 across, then 2, then 1 */
.crumbs a { color: inherit; text-decoration: none; transition: opacity .2s; }
.crumbs a:hover { opacity: .6; }
.crumbs span { margin: 0 .35em; opacity: .5; }
.ins-list { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(60px, 8vw, 120px); }
.ins-list .ins-empty { margin-top: 0; }
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) 16px; }
@media (max-width: 960px) { .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ins-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Article pages (articles/*.html) ---------- */
.art-hero { min-height: 78svh; }
.art-title { margin-top: 18px; max-width: 22ch; font-size: clamp(2rem, 4.6vw, 4.75rem); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
/* reading progress: a thin red line along the top of the screen that fills as you read */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 125; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; will-change: transform; }
[dir="rtl"] .read-progress span { transform-origin: right center; }
.art-dot { margin: 0 .6em; opacity: .6; }
.art-date { margin-top: 22px; font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, .72); } /* under the title, on the dark cover */
.art { position: relative; z-index: 1; margin-top: clamp(-160px, -12vw, -60px); }
.art-figure { margin: 0; border-radius: var(--radius); overflow: hidden; clip-path: inset(0 round var(--radius)); background: #1b1b1b; }
.art-figure img { display: block; width: 100%; height: auto; max-height: 82svh; object-fit: cover; }
.art-body { max-width: 70ch; margin: clamp(40px, 5vw, 80px) auto 0; font-size: 1.125rem; line-height: 1.7; color: #2B2B2B; }
.art-body > * + * { margin-top: 1.1em; }
.art-body h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.2vw, 2.125rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.art-body strong { font-weight: 600; color: var(--ink); }
.art-body ul { padding-inline-start: 1.25em; list-style: disc; }
.art-body li + li { margin-top: .55em; }
.art-body li::marker { color: var(--red); }
.art-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
.art-body a:hover { color: var(--red); }
/* the sources: smaller, under a rule */
.art-refs { margin-top: 3em !important; padding-top: 1.6em; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.art-refs h2 { margin-top: 0; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.art-refs ul { margin-top: 1.1em; }
/* sources as slim cards: grey, turning red with white text on hover while the arrow slides out and back in */
.art-body .ref-list { padding: 0; list-style: none; display: grid; gap: 8px; }
.art-body .ref-list li + li { margin-top: 0; }
.art-body a.ref-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 6px; background: var(--card); color: var(--ink); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.art-body a.ref-card:hover, .art-body a.ref-card:focus-visible { background: var(--red); color: #fff; }
.ref-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ref-pub { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); transition: color .3s var(--ease); }
.ref-title { font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.ref-lang { font-size: .75rem; color: var(--muted); white-space: nowrap; transition: color .3s var(--ease); }
.ref-card:hover .ref-pub, .ref-card:hover .ref-lang, .ref-card:focus-visible .ref-pub, .ref-card:focus-visible .ref-lang { color: rgba(255, 255, 255, .78); }
html[lang="en"] .ref-lang { display: none; } /* only the translated pages say the source is in English */
.ref-go { position: relative; flex: none; width: 18px; height: 18px; overflow: hidden; }
.ref-go::before, .ref-go::after { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .45s var(--ease); }
.ref-go::after { transform: translate(-140%, 140%); }
.ref-card:hover .ref-go::before, .ref-card:focus-visible .ref-go::before { transform: translate(140%, -140%); }
.ref-card:hover .ref-go::after, .ref-card:focus-visible .ref-go::after { transform: none; }
[dir="rtl"] .ref-go { transform: scaleX(-1); }
@media (max-width: 600px) { .art-body a.ref-card { flex-wrap: wrap; gap: 6px 12px; padding: 12px 14px; } .ref-text { flex-basis: calc(100% - 30px); } .ref-lang { order: 3; } }
/* share buttons, under the article */
.art-share { max-width: 70ch; margin: clamp(40px, 5vw, 64px) auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.art-share-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.art-share-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: var(--card); color: var(--ink); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.share-btn:hover, .share-btn:focus-visible { background: var(--ink); color: #fff; }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn[hidden] { display: none; }
.art-share-note { font-size: .8125rem; color: var(--muted); }
.art-more { padding-top: clamp(80px, 10vw, 160px); }
@media (max-width: 600px) {
  .art-hero { min-height: 70svh; }
  .art-body { font-size: 1.0625rem; }
}

/* ---------- Capabilities pages (capabilities.html, capabilities/*.html) ---------- */
.cap-intro { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(32px, 4vw, 56px); }
.cap-intro .statement { max-width: 26ch; margin-top: 18px; }
.cap-figure { margin-top: clamp(48px, 6vw, 88px); }
.cap-figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.cap-index { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(60px, 8vw, 120px); }
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card.card-link.cap-card { aspect-ratio: 3 / 2; min-height: 0; }
.cap-grid > .cap-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 3 / 1.1; } /* an odd one out spans the row */
.cap-card .card-title { max-width: 16ch; font-size: clamp(1.75rem, 2.8vw, 3rem); }
.cap-card-line { max-width: 30ch; margin-top: 10px; font-size: clamp(1rem, 1.2vw, 1.1875rem); line-height: 1.35; color: rgba(255, 255, 255, .85); }
.sols-track > .card.card-link.cap-card { flex: 0 0 clamp(280px, 30vw, 460px); aspect-ratio: 4 / 5; }
.cap-topics { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(20px, 3vw, 40px); }
.topic-grid { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 4vw, 64px); }
.topic { padding-top: 22px; border-top: 1px solid var(--line); }
.topic-num { font-size: .875rem; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.topic h3 { margin-top: 12px; font-size: clamp(1.5rem, 2.2vw, 2.125rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.topic p { max-width: 56ch; margin-top: 12px; font-size: 1.0625rem; line-height: 1.65; color: #444; }
.cap-more { padding-top: clamp(60px, 8vw, 120px); }
@media (max-width: 960px) { .topic-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: minmax(0, 1fr); } .card.card-link.cap-card, .cap-grid > .cap-card:last-child:nth-child(odd) { aspect-ratio: 4 / 5; } }

/* ---------- Approach page (approach.html): the six principles as chapters ---------- */
.appr-figure img { aspect-ratio: 16 / 9; }
.principles { padding-top: clamp(56px, 7vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); padding: clamp(36px, 5vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle-num { font-size: .875rem; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.principle-title { margin-top: 14px; max-width: 12ch; font-size: clamp(2.25rem, 4.6vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.principle-lead { font-size: clamp(1.375rem, 2vw, 1.875rem); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.principle-body p + p { margin-top: 18px; }
.principle-body p:not(.principle-lead) { max-width: 54ch; font-size: 1.0625rem; line-height: 1.65; color: #444; }
@media (max-width: 960px) { .principle { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- Technology (technology.html): products without a page yet stay still ---------- */
.mode-soon, .mode-soon:hover { color: var(--ink); cursor: default; }
.mode-soon .mode-text { color: var(--soft); }

/* ---------- Privacy Policy and Terms of Use: the Approach chapters, with smaller titles for longer headings ---------- */
.legal .principle-title { max-width: 16ch; font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 1.05; }
.legal .principle-lead { font-size: clamp(1.25rem, 1.7vw, 1.625rem); }
.legal a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--ease); }
.legal a:hover { color: var(--red); }
.legal strong { font-weight: 600; color: var(--ink); }

/* ---------- About page (about.html) ---------- */
.story { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(32px, 5vw, 64px); }
.story-lead { margin-top: 18px; max-width: 24ch; }
.story-grid { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.story-list li { font-size: clamp(1.75rem, 3.2vw, 2.875rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.story-list li + li { margin-top: .22em; }
.story-turn { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.story-text > p + p, .story-answer > p + p { margin-top: 16px; }
.story-text > p:not(.story-turn), .story-answer > p:not(.story-turn), .about-body p { max-width: 52ch; font-size: 1.0625rem; line-height: 1.65; color: #444; }
.story-quote { margin-top: clamp(72px, 10vw, 160px); max-width: 22ch; }
.story-answer { max-width: 600px; margin-top: clamp(40px, 5vw, 72px); margin-inline-start: auto; }
.about-film { padding-bottom: clamp(40px, 6vw, 80px); }
.about-cols { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.about-lead { max-width: 20ch; font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.about-body p + p { margin-top: 16px; }
/* the five ways to work together, as rows */
.modes { margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.mode { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 24px; align-items: center; gap: 16px; padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
.mode-num { font-size: .875rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.mode-name { font-size: clamp(1.75rem, 3.4vw, 3.25rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.mode-text { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.mode:hover, .mode:focus-visible { color: var(--red); }
.mode:hover .ref-go::before, .mode:focus-visible .ref-go::before { transform: translate(140%, -140%); }
.mode:hover .ref-go::after, .mode:focus-visible .ref-go::after { transform: none; }
/* partners: who they can be, and the three steps */
.partner-label { margin-top: clamp(48px, 6vw, 88px); }
.partner-types { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.partner-types li { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 0 22px; border-radius: var(--radius); background: var(--card); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; }
.partner-types li span { font-size: .75rem; font-weight: 500; letter-spacing: 0; color: var(--soft); font-variant-numeric: tabular-nums; }
.steps { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { padding-top: 22px; border-top: 2px solid var(--ink); }
.step-num { font-size: .875rem; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 14px; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.step p { max-width: 36ch; margin-top: 12px; font-size: 1rem; line-height: 1.6; color: #444; }
.about-careers { padding-top: clamp(40px, 6vw, 80px); }
.about-careers .careers-card { margin-top: clamp(40px, 5vw, 72px); }
.careers-line { max-width: 22ch; margin-top: 14px; font-size: clamp(1.75rem, 4vw, 4rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
@media (max-width: 960px) {
  .story-grid, .about-cols { grid-template-columns: minmax(0, 1fr); }
  .story-answer { margin-inline-start: 0; }
  .partner-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mode { grid-template-columns: 44px minmax(0, 1fr) 24px; row-gap: 8px; }
  .mode-text { grid-column: 2 / 3; grid-row: 2; }
  .mode .ref-go { grid-column: 3; grid-row: 1; }
}
@media (max-width: 600px) { .partner-types { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact page (contact.html) ---------- */
.contact { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(20px, 3vw, 40px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact-intro .statement { margin-top: 18px; max-width: 16ch; }
.contact-direct { margin-top: clamp(32px, 4vw, 56px); }
.contact-phones { margin-top: 14px; display: grid; gap: 12px; }
.contact-phones li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.contact-phones span { min-width: 9em; font-size: .875rem; color: var(--muted); }
.contact-phones a, .office-phone a { color: var(--ink); text-decoration: none; transition: color .2s; unicode-bidi: isolate; }
.contact-phones a { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 500; letter-spacing: -.02em; }
.contact-phones a:hover, .office-phone a:hover { color: var(--red); }
.contact-form { position: relative; display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 22px 16px; } /* a field never stretches to match its neighbour */
.field { display: grid; align-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label { padding: 0; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
/* text fields: plain white, no border (a black ring shows which one is in use); the message box stays frosted */
.field input, .phone-box { width: 100%; padding: 14px 16px; border: 1px solid rgba(17, 17, 17, .08); border-radius: 6px; background: #fff; font: 400 1rem/1.4 var(--font); color: var(--ink); outline: none; transition: border-color .2s; } /* the message box's border */
.field input:focus, .phone-box:focus-within { border-color: var(--ink); }
.field textarea { width: 100%; padding: 14px 16px; border: 1px solid rgba(17, 17, 17, .08); border-radius: 6px; background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); font: 400 1rem/1.4 var(--font); color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.field textarea:focus { border-color: var(--ink); background: rgba(255, 255, 255, .92); }
.field input::placeholder { color: var(--soft); }
.field.is-invalid input, .field.is-invalid .phone-box { border-color: var(--red); }
.field.is-invalid textarea { border-color: var(--red); background: #fff; }
/* phone: the country (flag and code, opening a searchable list) and the number in one box */
.field-phone { position: relative; }
.phone-box { display: flex; align-items: stretch; padding: 0; }
.phone-box input { flex: 1; min-width: 0; padding: 13px 16px; border: 0 !important; background: none; }
.phone-cc { position: relative; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 30px 0 16px; border: 0; border-right: 1px solid rgba(17, 17, 17, .1); background: none; font: 400 1rem/1 var(--font); color: var(--ink); white-space: nowrap; cursor: pointer; border-radius: 6px 0 0 6px; }
.phone-cc::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .25s var(--ease), margin .25s var(--ease); }
.phone-cc[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -1px; }
.phone-cc:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.cc-panel { position: absolute; z-index: 20; left: 0; top: calc(100% - 20px); width: min(360px, 100%); padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.cc-panel[hidden] { display: none; }
.cc-search { width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--card); font: 400 .9375rem/1 var(--font); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.cc-search:focus { box-shadow: 0 0 0 1.5px var(--ink); }
.cc-list { max-height: 260px; margin-top: 6px; overflow-y: auto; overscroll-behavior: contain; }
.cc-list li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 6px; font-size: .9375rem; cursor: pointer; }
.cc-list li .cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-list li .cc-dial { color: var(--muted); font-variant-numeric: tabular-nums; }
.cc-list li[aria-selected="true"] { font-weight: 600; }
.cc-list li.is-active, .cc-list li:hover { background: var(--card); }
.cc-empty { padding: 12px 10px; font-size: .875rem; color: var(--muted); }
.field textarea::placeholder { color: var(--soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: #fff; }
.field-error { font-size: .8125rem; color: var(--red); }
.field-error:empty { display: none; }
.field-chips .field-label { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(17, 17, 17, .08); border-radius: 6px; background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: .9375rem; font-weight: 500; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover span { background: rgba(255, 255, 255, .92); }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* the spam trap */
/* agreeing to the privacy policy */
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .9375rem; line-height: 1.5; color: #333; }
.consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent-box { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1px solid rgba(17, 17, 17, .25); border-radius: 5px; background: rgba(255, 255, 255, .7); transition: background .2s, border-color .2s; }
.consent-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.consent input:checked + .consent-box { border-color: var(--ink); background: var(--ink); }
.consent input:checked + .consent-box::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--red); outline-offset: 2px; }
.field.is-invalid .consent-box { border-color: var(--red); }
.consent-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.form-foot { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
.form-send { padding: 0; border: 0; background: none; cursor: pointer; } /* just the red arrow button, no box around it */
/* sending: the form blurs away and a thin loading bar runs; then the bar blurs away and the thanks appear as plain
   text, with a countdown back to the form, which blurs in again empty */
.contact-form > :not(.form-done) { transition: opacity .5s var(--ease), filter .5s var(--ease); }
.contact-form.is-busy > :not(.form-done) { opacity: 0; filter: blur(14px); pointer-events: none; }
.form-done { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 40px 24px; text-align: center; }
.form-done[hidden] { display: none; }
.form-done-inner { position: relative; display: grid; place-items: center; width: 100%; min-height: 160px; }
.form-bar { position: absolute; width: min(320px, 70%); height: 3px; border-radius: 3px; background: rgba(17, 17, 17, .12); overflow: hidden; opacity: 0; filter: blur(8px); transition: opacity .45s var(--ease), filter .45s var(--ease); }
.form-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 3px; background: var(--red); animation: form-bar 1.2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes form-bar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
.form-done.is-loading .form-bar { opacity: 1; filter: none; }
.form-thanks { opacity: 0; transform: translateY(14px); filter: blur(10px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); }
.form-done.is-thanked .form-thanks { opacity: 1; transform: none; filter: none; }
.form-thanks-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.form-thanks-text { max-width: 30ch; margin: 18px auto 0; font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.45; color: #444; }
.form-thanks-count { margin-top: 28px; font-size: .9375rem; font-weight: 400; line-height: 1.45; color: var(--muted); }
.form-thanks-num { font: inherit; color: inherit; font-variant-numeric: tabular-nums; } /* styled just like the words before it */
.form-status { font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.form-status.is-ok { font-weight: 500; color: var(--ink); }
.form-status.is-bad { color: var(--red); }
.contact-form.is-sending .form-send { opacity: .45; pointer-events: none; }
.office-grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.office { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 40px); border-radius: var(--radius); background: var(--card); }
.office-country { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.office-city { font-size: clamp(1.5rem, 2.2vw, 2.125rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.office-address { margin-top: 6px; font-style: normal; font-size: 1rem; line-height: 1.6; color: #444; }
.office-phone { margin-top: 4px; font-size: 1.0625rem; font-weight: 500; }
.office-map { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 22px; font-size: .875rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s; }
.office-map:hover, .office-map:focus-visible { color: var(--red); }
.office-map:hover .ref-go::before, .office-map:focus-visible .ref-go::before { transform: translate(140%, -140%); }
.office-map:hover .ref-go::after, .office-map:focus-visible .ref-go::after { transform: none; }
.careers { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(60px, 8vw, 120px); }
.card.card-link.careers-card { aspect-ratio: 16 / 9; min-height: 0; }
.careers-card:hover .card-img { transform: none; } /* the film stays still on hover */
.careers-card .card-go { width: 104px; border-radius: 28px; }
.careers-card .card-body { padding-right: 140px; }
[dir="rtl"] .careers-card .card-body { padding-right: 0; padding-left: 140px; }
[dir="rtl"] .cc-panel { left: auto; right: 0; } /* the number box itself stays left to right */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .careers-card .card-go { width: 68px; border-radius: 18px; }
  .careers-card .card-body { padding-right: 96px; }
  [dir="rtl"] .careers-card .card-body { padding-left: 96px; }
}
@media (max-width: 600px) {
  .field-row, .office-grid { grid-template-columns: minmax(0, 1fr); }
  .card.card-link.careers-card { aspect-ratio: 4 / 5; } /* phones: room for the line, as the About card does */
  .careers-card .card-go { width: 52px; border-radius: 14px; }
  .careers-card .card-body { padding-right: 72px; }
  [dir="rtl"] .careers-card .card-body { padding-left: 72px; }
}

/* ---------- Search (the magnifier in the header) ---------- */
/* The button: the magnifier; open, it turns into the X that closes search (on the menu button's spot). The magnifier
   then sits to its left, at the end of the field, and spins while results are found. */
.site-search-btn { position: relative; left: 0; display: grid; place-items: center; width: 40px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transition: opacity .25s var(--ease), left .7s var(--ease); }
.site-search-btn:hover { opacity: .75; }
.site-search-btn.is-quiet:focus, .site-search-btn.is-quiet:focus-visible { outline: none; } /* just closed search: focus is back here, without the box */
.bar-light .site-search-btn { color: var(--ink); }
.ssb-icon, .ssb-spin, .ssb-x { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.ssb-icon { fill: currentColor; }
.ssb-x { opacity: 0; transform: rotate(-90deg) scale(.4); }
.ssb-x::before, .ssb-x::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.6px; margin-top: -.8px; background: currentColor; transform: rotate(45deg); }
.ssb-x::after { transform: rotate(-45deg); }
.search-open .site-search-btn .ssb-icon { opacity: 0; transform: scale(.4); }
.search-open .site-search-btn .ssb-x { opacity: 1; transform: none; }
.search-state { position: relative; flex: none; width: 40px; height: 44px; color: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.search.is-open .search-state { opacity: 1; transition-delay: .3s; }
.ssb-spin { border: 1.6px solid rgba(255, 255, 255, .28); border-top-color: currentColor; border-radius: 50%; opacity: 0; transform: scale(.4); }
.search-state.is-loading .ssb-icon { opacity: 0; transform: scale(.4); }
.search-state.is-loading .ssb-spin { opacity: 1; transform: none; animation: ssb-spin .7s linear infinite; }
@keyframes ssb-spin { to { transform: rotate(360deg); } }

/* Open: the hero's content, the logo, the flag, the menu button and the rest of the page step aside; the hero's moving
   background fills the screen; the magnifier glides to the menu's place (main.js sets how far) */
.search-open { overflow: hidden; }
[data-hero] { transition: min-height .7s var(--ease); } /* eases back to its own height after search */
.search-open [data-hero] { min-height: 100svh; }
[data-hero] > :not(.hero-bg), .site-logo, .site-head .lang-picker, .glass-bar, main > :not(.flow-top):not([data-hero]), .foot { transition: opacity .45s var(--ease), filter .45s var(--ease), visibility 0s linear 0s; }
.search-open [data-hero] > :not(.hero-bg), .search-open .site-logo, .search-open .site-head .lang-picker, .search-open .glass-bar,
.search-open main > :not(.flow-top):not([data-hero]), .search-open .foot, .search-open .caps-follow, .search-open .cursor {
  opacity: 0; filter: blur(12px); visibility: hidden; pointer-events: none; transition: opacity .4s var(--ease), filter .4s var(--ease), visibility 0s linear .4s; }
.hero-lines { transition: opacity .45s var(--ease), filter .45s var(--ease); }
.search-open .hero-lines { opacity: 0; filter: blur(8px); }
.search-open .site-search-btn { left: var(--search-shift, 0px); } /* an offset, not a transform: the header's entrance animation leaves its own transform on the button */
.search-open .site-search-btn:hover { opacity: 1; }
.search-open .site-head { opacity: 1 !important; visibility: visible !important; transform: none !important; filter: none !important; }

.search { position: fixed; inset: 0; z-index: 104; display: flex; flex-direction: column; color: #fff; pointer-events: none; } /* under the header, so the button stays on top */
.search > * { pointer-events: auto; }
.search[hidden] { display: none; } /* closed means gone, not just see-through */
.search-bar { flex: none; display: flex; align-items: center; height: calc(var(--head-mid, 44px) * 2); padding-top: 0; padding-bottom: 0; } /* full header width; centred on the header row (main.js measures it), so the field lines up with the X */
.search-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; padding-inline-end: 56px; border-bottom: 1px solid rgba(255, 255, 255, .28); } /* the end is left for the X */
.search-field:focus-within { border-bottom-color: rgba(255, 255, 255, .7); }
.search-field { opacity: 0; transition: opacity .4s var(--ease), border-color .3s; } /* the underline fades with the field */
.search.is-open .search-field { opacity: 1; transition-delay: .15s, 0s; }
.search-input { flex: 1; min-width: 0; height: 64px; padding: 0; border: 0; border-radius: 0; background: none; font: 300 clamp(1.5rem, 3vw, 2.75rem)/1.1 var(--font); letter-spacing: -.02em; color: #fff; caret-color: #fff; outline: none; -webkit-appearance: none; appearance: none;
  opacity: 0; transform: translateY(10px); filter: blur(10px); transition: opacity .4s var(--ease), transform .5s var(--ease), filter .4s var(--ease); }
.search-input::placeholder { color: rgba(255, 255, 255, .45); font-weight: 300; }
.search-input::-webkit-search-cancel-button { display: none; }
.search.is-open .search-input { opacity: 1; transform: none; filter: none; transition-delay: .15s; } /* in after the hero clears; out first when closing */
.search-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding-top: 28px; padding-bottom: 48px; opacity: 0; transition: opacity .4s var(--ease); }
.search.is-open .search-body { opacity: 1; transition-delay: .25s; }
.search-group + .search-group { margin-top: 34px; }
.search-label { margin-bottom: 14px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .12); color: #fff; font: 500 .9375rem/1.2 var(--font); text-decoration: none; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .25s var(--ease), color .25s var(--ease); }
.search-chip small { font-size: .625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .65); }
.search-chip:hover, .search-chip:focus-visible { background: #fff; color: var(--ink); outline: none; }
.search-chip:hover small, .search-chip:focus-visible small { color: var(--muted); }
/* articles: cards, 4 across on wide screens, then 3, 2 and 1 */
.search-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.2vw, 32px); }
.search-card { display: block; color: #fff; text-decoration: none; border-radius: 10px; outline-offset: 6px; }
.search-card-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; clip-path: inset(0 round var(--radius)); background: rgba(0, 0, 0, .3); }
.search-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.search-card:hover .search-card-media img, .search-card:focus-visible .search-card-media img { transform: scale(1.05); }
.search-card .card-go { width: 44px; border-radius: 12px; right: 12px; bottom: 12px; }
[dir="rtl"] .search-card .card-go { right: auto; left: 12px; }
.search-card:hover .card-go, .search-card:focus-visible .card-go { background: #fff; color: var(--ink); }
.search-card:hover .card-go::before, .search-card:focus-visible .card-go::before { transform: translate(180%, -180%); }
.search-card:hover .card-go::after, .search-card:focus-visible .card-go::after { transform: none; }
.search-card-meta { display: block; margin-top: 14px; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .7); }
.search-card-meta time { margin-inline-start: 10px; color: rgba(255, 255, 255, .5); }
.search-card-title { display: block; margin-top: 8px; font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.search-card-snip { display: -webkit-box; margin-top: 8px; font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .7); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search mark { background: rgba(255, 255, 255, .22); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-empty { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.search-empty + p { margin-top: 8px; color: rgba(255, 255, 255, .65); }
.search-empty + p + .search-group { margin-top: 28px; }
@media (max-width: 1200px) { .search-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .search-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .search-input { height: 52px; font-size: 1.375rem; }
  .search-field { padding-inline-end: 44px; }
  .search-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .search-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; align-items: start; }
  .search-card-media { grid-row: 1 / 4; aspect-ratio: 1; }
  .search-card .card-go { display: none; }
  .search-card-meta { margin-top: 2px; }
  .search-card-snip { display: none; }
}

/* ---------- Other languages (pages built by tools/build_langs.py) ---------- */
/* German: the menu word is drawn as MENÜ (taller for the dots, so it sits a touch higher to keep the letters level) */
html[lang="de"] .glass-label { -webkit-mask-image: url("assets/icons/menu-word-de.svg"); mask-image: url("assets/icons/menu-word-de.svg");
  -webkit-mask-size: 40.61px 10.74px; mask-size: 40.61px 10.74px; -webkit-mask-position: left calc(50% - 1.11px); mask-position: left calc(50% - 1.11px); }
/* Arabic and Chinese: main.js draws the word (القائمة, 菜单) in the page's own font and uses that as the cut-out */
html[lang="ar"] .glass-label, html[lang="zh"] .glass-label { max-width: 120px; font-size: 0; -webkit-mask-position: center; mask-position: center; }
html[lang="ar"].menu-open .glass-label, html[lang="zh"].menu-open .glass-label { max-width: 0; }

/* Chinese: Geist for Latin and numbers, a Chinese face for the rest, and no tracking (it cramps the characters) */
html[lang="zh"] { --font: "Geist", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh"] *:not(.hero-word, .hero-word *, .count-num, .count-num *, .loader-pct) { letter-spacing: 0 !important; }

/* Arabic: Tajawal, no tracking (letters must join), and the layout mirrored to read right to left */
html[dir="rtl"] { --font: var(--font-ar); }
html[dir="rtl"] *:not(.hero-word, .hero-word *, .count-num, .count-num *, .loader-pct) { letter-spacing: 0 !important; } /* the wordmark and numbers keep the English tracking */
html[dir="rtl"] .hero-word, html[dir="rtl"] .count-num, html[dir="rtl"] .loader-pct { font-family: "Geist", "Helvetica Neue", Arial, sans-serif; }
[dir="rtl"] .count-num { direction: ltr; text-align: right; }
/* the rolling digits keep their order (10, not 01) */
[dir="rtl"] .foot-word { margin-bottom: .06em; } /* lifted so the dots under the letters show */
[dir="rtl"] .glass-bar { right: auto; left: var(--gutter); }
[dir="rtl"] .site-head .lang-picker { margin-left: -24px; margin-right: auto; }
[dir="rtl"] .site-search-btn { margin-right: 0; margin-left: var(--menu-room, 128px); }
[dir="rtl"] .lang-panel { right: auto; left: 0; }
[dir="rtl"] .lang-head { padding: 0 14px 0 10px; }
[dir="rtl"] .lang-panel a[aria-current="true"]::after { margin-left: 0; margin-right: auto; }
[dir="rtl"] .loader-pct { left: auto; right: var(--gutter); }
[dir="rtl"] .menu-sub { left: auto; right: 58%; }
[dir="rtl"] .menu-sub a:hover, [dir="rtl"] .menu-sub a:focus-visible { padding-left: 0; padding-right: 10px; }
[dir="rtl"] .hero-scroll { margin-left: 0; margin-right: auto; }
[dir="rtl"] .card-body { padding-right: 0; padding-left: clamp(72px, 6.5vw, 104px); }
[dir="rtl"] .card-go { right: auto; left: clamp(24px, 2.6vw, 44px); }
[dir="rtl"] .expand-card .card-go { right: auto; left: calc(var(--x) * var(--open) + var(--pad)); }
[dir="rtl"] .expand-card .card-body { padding-right: 0; padding-left: 140px; }
[dir="rtl"] .tm { margin-left: 0; margin-right: .06em; }
/* the up-right arrow points up-left */
[dir="rtl"] .pill-arrow, [dir="rtl"] .card-go { transform: scaleX(-1); }
[dir="rtl"] .menu-sub a::after { transform: translate(6px, 6px) scaleX(-1); }
[dir="rtl"] .menu-sub a:hover::after, [dir="rtl"] .menu-sub a:focus-visible::after { transform: scaleX(-1); }
/* the endless carousels keep running left to right (their scrolling is worked out that way); the cards inside read right to left */
[dir="rtl"] .sols-track, [dir="rtl"] .car-controls { direction: ltr; }
[dir="rtl"] .sols-track > * { direction: rtl; }
[dir="rtl"] .car-controls { justify-content: flex-start; }
@media (max-width: 960px) {
  .site-head .lang-picker { margin-right: -34px; } /* 14px from the magnifier on tablets and phones */
  [dir="rtl"] .site-head .lang-picker { margin-right: auto; margin-left: -34px; }
  [dir="rtl"] .expand-card .card-body { padding-left: 96px; }
  [dir="rtl"] .site-search-btn { margin-left: var(--menu-room, 104px); }
  [dir="rtl"] .foot-toggle { margin-right: 0; margin-left: -12px; }
  [dir="rtl"] .acc-inner { padding: 0 88px 0 0; }
  [dir="rtl"] .menu-sub a::after { transform: scaleX(-1); }
}
@media (max-width: 600px) {
  [dir="rtl"] .glass-bar { left: 16px; }
  [dir="rtl"] .expand-card .card-body { padding-left: 72px; }
  [dir="rtl"] .site-search-btn { margin-left: var(--menu-room, 44px); }
  [dir="rtl"] .acc-inner { padding: 0 48px 0 0; }
}
