/* ==========================================================================
   Ad Hoc Legal — main stylesheet
   1. Design tokens
   2. Base, utilities and components (carried over from the original design)
   3. Additions for the static rebuild (accessibility, no-JS, reduced motion)
   ========================================================================== */

/* 1. Design tokens --------------------------------------------------------- */
:root {
  --yellow: #E9B934;
  --yellow-dark: #BF9F1E;
  --dark: #232323;
  --white: rgba(255, 255, 255, 0.99);
  --font-serif: "PFMarletText-Light", Arial, Helvetica, sans-serif;
  --font-sans: "ProximaNova-Regular", Arial, Helvetica, sans-serif;
}

/* 2. Base, utilities and components ---------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
a:active, a:hover { outline: 0; }
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; }
pre { overflow: auto; }
@font-face {
  font-family: 'PFMarletText-Light';
  src: url("../fonts/PFMarletText-Light.woff2") format("woff2"), url("../fonts/PFMarletText-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  font-feature-settings: "lnum";
}
@font-face {
  font-family: 'ProximaNova-Regular';
  src: url("../fonts/subset-ProximaNova-Regular.woff2") format("woff2"), url("../fonts/subset-ProximaNova-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.arrow-down { width: 14px; }
.icon { transition: all 277ms cubic-bezier(0.16, 0.01, 0.77, 1); }
.icon.icon--bracket-left,
.icon.icon--bracket-right {
  width: 4px;
  height: 22px;
}
.icon.icon--arrow-diagonal {
  width: 12px;
  height: 12px;
}
.icon.icon--arrow-diagonal.med {
  width: 21px;
  height: 21px;
}
.scaledX { transform: scaleX(0); }
.scaledY { transform: scaleY(0); }
.anim-bringup {
  transform: translateY(60px);
  opacity: 0;
}
.anim-line {
  transform: translateY(60px);
  opacity: 0;
}
.anim-img {
  clip-path: inset(24% 0 0 0);
  transform: translateY(60px);
  opacity: 0;
}
.anim-in-view.anim-bringup {
  transform: translateY(0);
  opacity: 1;
}
.anim-in-view.anim-img {
  clip-path: inset(0);
  transform: translateY(0);
  opacity: 1;
}
@keyframes noise {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-3%, -6%); }
  20% { transform: translate(-9%, 3%); }
  30% { transform: translate(12%, -9%); }
  40% { transform: translate(-15%, 12%); }
  50% { transform: translate(-3%, -3%); }
  60% { transform: translate(12%, 0%); }
  70% { transform: translate(0%, 12%); }
  80% { transform: translate(3%, 3%); }
  90% { transform: translate(-15%, 15%); }
  100% { transform: translate(0, 0); }
}

@keyframes noise2 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -20px); }
}

* {
  padding: 0;
  margin: 0;
}
body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}
*, *::before, *::after { box-sizing: border-box; }
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}
.to-tl { transform-origin: top left; }
.to-bl { transform-origin: bottom left; }
.to-tr { transform-origin: top right; }
p {
  margin: 0 0 32px 0;
  padding: 0;
}
ul {
  margin: 0 0 40px 0;
  padding: 0;
  list-style: none;
}
ul li {
  margin: 0 0 14px 21px;
  padding: 0 0 0 12px;
  position: relative;
  list-style: disc;
  list-style-position: outside;
}
ol {
  margin: 0 0 32px 2px;
  list-style-position: inside;
}
ol li {
  margin: 0 0 14px 0;
  position: relative;
}
img { user-select: none; }
a, img { outline: none; }
ins { text-decoration: none; }
.post-content img {
  display: block;
  max-width: 100%;
  margin: 0 auto 72px;
  height: auto;
}
.post-content p { clear: both; }
.post-content p+h1,
.post-content p+h2,
.post-content p+h3,
.post-content p+h4,
.post-content p+h5,
.post-content p+h6 {
  padding-top: 24px;
}
.post-content blockquote { padding: 56px 0; }
.post-content blockquote p {
  border-top: solid 1px currentColor;
  border-bottom: solid 1px currentColor;
  padding: 44px 0;
  margin: 0;
}
.pe-none { pointer-events: none; }
.hidden { display: none; }
.op-0 { opacity: 0; }
.a-right { text-align: right; }
.a-center { text-align: center; }
.dib,
.bracket-link {
  display: inline-block;
  vertical-align: baseline;
}
.db { display: block; }
.box-sizing { box-sizing: border-box; }
.screen-reader-text {
  position: absolute;
  opacity: 0;
  z-index: 0;
  width: 1px;
  height: 1px;
}
.abs-tl,
.fill-dimensions,
.menu-burger__line:before,
.abs-bl,
.abs-tr,
.abs-tc,
.abs-br,
.abs-lc,
.abs-bc,
.abs-rc,
.abs,
.abs-center {
  position: absolute;
  z-index: 5;
}
.abs-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.abs-tl,
.fill-dimensions,
.menu-burger__line:before {
  top: 0;
  left: 0;
}
.abs-bl {
  bottom: 0;
  left: 0;
}
.abs-br {
  bottom: 0;
  right: 0;
}
.abs-tr {
  top: 0;
  right: 0;
}
.abs-tc {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.abs-bc {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.abs-lc {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.abs-rc {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.fixed { position: fixed; }
.fill-dimensions {
  width: 100%;
  height: 100%;
  display: block;
}
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-7 { z-index: 7; }
.z-8 { z-index: 8; }
.z-10 { z-index: 10; }
.z-15 { z-index: 15; }
.z-20 { z-index: 20; }
.clickable { cursor: pointer; }
.br-50 { border-radius: 50%; }
.vertical-writing {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}
.menu-ul { margin: 0; }
.menu-ul .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}
.menu-ul .menu-item:before { display: none; }
.over {
  position: relative;
  z-index: 10;
}
.overflow { overflow: hidden; }
.relative { position: relative; }
a,
a:hover,
.trans,
.trans:hover,
input,
input:focus,
textarea,
textarea:focus,
select,
select:focus,
table td,
button,
button:hover {
  transition: all 300ms cubic-bezier(0.16, 0.01, 0.77, 1);
}
.no-trans, .no-trans:hover { transition-duration: unset; }
.trans-back { transition: all 1.2s cubic-bezier(0.68, -0.8, 0.27, 1.55); }
.trans-slow, .trans-slow:hover { transition: all 600ms cubic-bezier(0.16, 0.01, 0.77, 1); }
.trans-slower, .trans-slower:hover { transition: all 750ms cubic-bezier(0.16, 0.01, 0.77, 1); }
.delay-1, .menu-burger__line.line--bottom:before { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.grid {
  margin-left: clamp(12px, 5vw, 70px);
  margin-right: clamp(12px, 5vw, 70px);
}
.grid-p {
  padding-left: clamp(12px, 5vw, 70px);
  padding-right: clamp(12px, 5vw, 70px);
}
.m-auto,
.post-content p,
.post-content ul,
.post-content ol,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content blockquote,
.style-headings-big p {
  margin-right: auto;
  margin-left: auto;
}
.ml-auto { margin-left: auto; }
.left-g { left: clamp(12px, 5vw, 70px); }
.max-10cols-g { max-width: 1520px; }
.max-8cols-g { max-width: 1216px; }
.max-7cols-g { max-width: 1064px; }
.max-6cols-g,
.post-content p,
.post-content ul,
.post-content ol,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content blockquote {
  max-width: 912px;
}
.max-5cols-g { max-width: 760px; }
.max-4cols-g { max-width: 608px; }
.max-3cols-g, .style-headings-big p { max-width: 456px; }
.max-15 { max-width: 16ch; }
.l-1c { left: clamp(30px, 12vw, 122px); }
.grid-fluidGutter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  column-gap: clamp(30px, 6vw, 124px);
  row-gap: 0;
}
.grid-name {
  display: grid;
  grid-template-columns: 80px minmax(100px, 1fr);
  column-gap: 30px;
  row-gap: 0;
}
.grid-6-4 {
  display: grid;
  grid-template-columns: minmax(240px, 6fr) minmax(280px, 4fr);
  column-gap: 30px;
  row-gap: 0;
}
.grid-4-6 {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(240px, 6fr);
  column-gap: 30px;
  row-gap: 0;
}
.grid-gutter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 30px;
  row-gap: 0;
}
.grid-list {
  display: grid;
  grid-template-columns: 32px minmax(220px, 1fr);
  column-gap: clamp(30px, 7vw, 116px);
  row-gap: 0;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  column-gap: clamp(30px, 7vw, 100px);
  row-gap: 0;
}
.w-50 { width: 50%; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.logo {
  width: 200px;
  top: 52px;
  left: clamp(12px, 5vw, 70px);
  z-index: 700;
}
.languages {
  width: fit-content;
  top: 64px;
}
.sep { margin: 0 12px; }
.burger {
  width: fit-content;
  max-width: 180px;
  top: 62px;
  right: clamp(12px, 5vw, 70px);
  z-index: 700;
  font-size: 20px;
  line-height: 22px;
}
.burger:hover .menu-burger__line:before { transform: translateX(110%); }
.burger.loc .menu-burger__line.line--top { transform: rotate(45deg) translate(-3px, 6px); }
.burger.loc .menu-burger__line.line--bottom { transform: rotate(-45deg) translate(-3px, -5.5px); }
.menu-burger {
  width: 30px;
  height: 30px;
  margin-right: 16px;
}
.menu-burger__line {
  width: 13px;
  height: 1px;
  display: block;
  background-color: #000;
  overflow: hidden;
}
.menu-burger__line:before {
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--white);
  transition-property: transform;
  transition-duration: 520ms;
  transform: translateX(-105%);
  transform-origin: left 50%;
  will-change: transform;
}
.menu-burger__line.line--top { margin-top: -2px; }
.menu-burger__line.line--bottom { margin-top: 2px; }
.menu-holder,
.menu-holder__bg {
  width: 100%;
  height: 100vh;
  max-width: 480px;
  top: 0;
  right: 0;
}
.menu-holder__bg { z-index: 660; }
.menu-holder {
  z-index: 680;
  overscroll-behavior-y: contain;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
}
.menu-holder__main .main-item { margin-bottom: 6px; }
.menu-holder__main .main-item .menu-a:hover,
.menu-holder__main .main-item.current-menu-item .menu-a,
.menu-holder__main .main-item.current-menu-ancestor .menu-a,
.menu-holder__main .main-item.current-page-ancestor .menu-a,
.menu-holder__main .main-item.current-post-ancestor .menu-a,
.menu-holder__main .main-item.current-menu-parent .menu-a {
  color: var(--white);
}
.menu-holder__secondary .main-item { padding-top: 4px; }
.menu-holder__secondary .main-item .menu-a:hover,
.menu-holder__secondary .main-item.current-menu-item .menu-a,
.menu-holder__secondary .main-item.current-menu-ancestor .menu-a,
.menu-holder__secondary .main-item.current-page-ancestor .menu-a,
.menu-holder__secondary .main-item.current-post-ancestor .menu-a,
.menu-holder__secondary .main-item.current-menu-parent .menu-a {
  color: var(--dark);
}
.menu-holder__main .main-item, .menu-holder__secondary .main-item { overflow: hidden; }
.menu-holder__main .menu-link-holder,
.menu-holder__secondary .menu-link-holder {
  opacity: 0;
  transform: translateY(105%);
}
.js-menu-item {
  opacity: 0;
  transform: translateY(40px);
}
.hover-yellow:hover { color: var(--yellow); }
.hover-black:hover { color: var(--dark); }
.hover-white:hover { color: var(--white); }
.bracket-link {
  padding: 0 24px;
  position: relative;
}
.bracket-link:hover .icon--arrow-diagonal { transform: translateX(2px); }
.bracket-link:hover .icon--bracket-left { transform: translateX(-4px); }
.bracket-link:hover .icon--bracket-right { transform: translateX(4px); }
body,
html {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.37em;
  color: var(--white);
  scroll-behavior: smooth;
}
body {
  background-color: var(--dark);
  overflow-x: hidden;
}
a {
  color: currentColor;
  text-decoration: none;
}
.cookies-notification {
  width: 80%;
  max-width: 320px;
  padding: 44px 40px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(40px);
  z-index: 900;
  bottom: clamp(12px, 5vw, 70px);
  right: clamp(12px, 5vw, 70px);
  border: solid 1px rgba(0, 0, 0, 0.2);
}
.bg:after {
  content: '';
  width: 150vw;
  height: 150vh;
  position: absolute;
  opacity: 0.7;
  z-index: 2;
  top: -25vh;
  left: -25vw;
  background-image: url("../img/theme/noise-bg.png");
  animation: noise2 0.4s steps(1) infinite;
}
.screen { min-height: 100vh; }
.cursor {
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  z-index: 900;
  margin-top: -8px;
  margin-left: -8px;
}
.cursor__drag {
  width: 120px;
  height: 120px;
}
.scroll-indicator {
  width: 72px;
  height: 144px;
}
.scroll-indicator__line {
  width: 4px;
  height: 100%;
}
.scroll-indicator__line-scroll { transform: scaleY(0.12); }
.light-grad-bg {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 35%, rgba(255, 255, 255, 0) 80%);
  mix-blend-mode: soft-light;
  background-blend-mode: soft-light;
  filter: blur(400px);
}
.bg-shape-circle {
  width: 47.6vw;
  max-width: 1000px;
}
.half-tc {
  transform: translate(-50%, -50%);
  max-width: calc(min(1000px, 75vh));
}
.half-bc {
  transform: translate(-50%, 50%);
  max-width: calc(min(1000px, 75vh));
}
.turn--90 { transform: rotate(-90deg); }
.turn--180 { transform: rotate(-180deg); }
.turn-90 { transform: rotate(90deg); }
.js-circle {
  transform: scale(0.5);
  opacity: 0;
}
.testimonial-item {
  width: 620px;
  max-width: 88vw;
  flex: 0 0 620px;
  min-width: 280px;
  margin-right: clamp(30px, 6vw, 120px);
  background: var(--dark) url(../img/theme/wave-bg.jpg) no-repeat bottom left;
  background-size: 100% auto;
}
.drag-item__text { padding: clamp(30px, 5vw, 72px) clamp(30px, 4vw, 52px); }
.testimonial-item__inner {
  min-height: 700px;
  max-height: 88vh;
  height: 100%;
}
.drag-item {
  width: 780px;
  max-width: 84vw;
  flex: 0 0 780px;
  min-width: 280px;
  margin-right: clamp(30px, 6vw, 120px);
}
.overlay {
  background-color: var(--dark);
  opacity: 0.3;
}
.align-lines .title-line.line2 { text-align: right !important; }
.bb { border-bottom: solid 1px currentColor; }
.team-thumb {
  width: 270px;
  max-width: 100%;
}
.team-thumb.loc .team-thumb__img { transform: scale(1.05); }
.team-thumb.loc .overlay { opacity: 0.2; }
.invisible {
  visibility: hidden;
  opacity: 0;
}
.popup-info {
  max-height: 100vh;
  overflow-y: auto;
}
.square { padding-bottom: 100%; }
.fit {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.sticky-t {
  position: sticky;
  top: 0;
}
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-columns { flex-direction: column; }
.flex-jcb { justify-content: space-between; }
.flex--vac { align-items: center; }
.flex--vab { align-items: flex-end; }
.flex--center { justify-content: center; }
.flex__auto { flex: 1 1 auto; }
.flex__0 { flex: 0 0 auto; }
.flex__fit {
  flex: 1 1 auto;
  min-width: 120px;
  max-width: fit-content;
}
.flex__fit0 {
  flex: 0 1 auto;
  width: fit-content;
}
.min-300 { min-width: 300px; }
.flex__gap {
  flex: 0 0 clamp(30px, 8vw, 180px);
  width: clamp(30px, 8vw, 180px);
}
.flex--order2 { order: 2; }
.no-wrap { white-space: nowrap; }
.autowrap { white-space: normal; }
.footer__menu .menu-item {
  margin-right: clamp(40px, 6.5vw, 156px);
  margin-bottom: 20px;
}
.footer__menu .menu-item:last-child { margin-right: 0; }
.footer__menu .menu-item .menu-a:hover,
.footer__menu .menu-item.current-menu-item>.menu-a,
.footer__menu .menu-item.current-menu-ancestor>.menu-a,
.footer__menu .menu-item.current-page-ancestor>.menu-a,
.footer__menu .menu-item.current-menu-parent>.menu-a {
  color: var(--white);
}
.terms-menu .menu-item .menu-a:hover,
.terms-menu .menu-item.current-menu-item>.menu-a,
.terms-menu .menu-item.current-menu-ancestor>.menu-a,
.terms-menu .menu-item.current-page-ancestor>.menu-a,
.terms-menu .menu-item.current-menu-parent>.menu-a {
  color: var(--dark);
}
.footer-map { height: 190px; }
.footer-map:hover .footer-map__inner { clip-path: inset(0); }
.footer-map:hover .op-0 { opacity: 1; }
.footer-map__inner { clip-path: inset(44px 0 0 0); }
.font,
.people-info blockquote,
.style-headings h1,
.style-content h1,
.style-headings h2,
.style-content h2,
.style-headings h3,
.style-content h3,
.style-headings h4,
.style-content h4,
.style-headings h5,
.style-content h5,
.style-headings h6,
.style-content h6,
.font-prox,
.bracket-link,
.style-headings-big h1,
.style-headings-big h2,
.style-headings-big h3,
.style-headings-big h4,
.style-headings-big h5,
.style-headings-big h6 {
  font-weight: normal;
  font-style: normal;
}
.font,
.people-info blockquote,
.style-headings h1,
.style-content h1,
.style-headings h2,
.style-content h2,
.style-headings h3,
.style-content h3,
.style-headings h4,
.style-content h4,
.style-headings h5,
.style-content h5,
.style-headings h6,
.style-content h6 {
  font-family: var(--font-serif);
}
.font-prox,
.bracket-link,
.style-headings-big h1,
.style-headings-big h2,
.style-headings-big h3,
.style-headings-big h4,
.style-headings-big h5,
.style-headings-big h6 {
  font-family: var(--font-sans);
}
.type-13 {
  font-size: 13px;
  line-height: 20px;
}
.type-16,
.bracket-link {
  font-size: 16px;
  line-height: 24px;
}
.type-27 {
  font-size: clamp(17px, calc(6vw - 1rem), 25px);
  line-height: 1.26em;
}
.type-30,
.post-content blockquote p {
  font-size: clamp(20px, calc(6vw - 1rem), 30px);
  line-height: 1.26em;
}
.type-40,
.people-info blockquote,
.style-headings h1,
.style-content h1,
.style-headings h2,
.style-content h2,
.style-headings h3,
.style-content h3,
.style-headings h4,
.style-content h4,
.style-headings-big h4,
.style-headings-big h5,
.style-headings-big h6 {
  font-size: clamp(28px, calc(2vw + 0.5rem), 38px);
  line-height: 1.2em;
}
.type-52 {
  font-size: clamp(30px, calc(1.95vw + 1rem), 52px);
  line-height: 1.1em;
}
.type-62,
.style-headings-big h1,
.style-headings-big h2,
.style-headings-big h3 {
  font-size: clamp(32px, calc(2.4vw + 1rem), 56px);
  line-height: 1.04em;
}
.type-70 {
  font-size: clamp(32px, calc(3.2vw + 1rem), 70px);
  line-height: 1.05em;
}
.type-180 {
  font-size: clamp(40px, 10.8vw, 156px);
  line-height: 0.94em;
}
.uppercase, .bracket-link, .people-info blockquote { text-transform: uppercase; }
.style-headings h1,
.style-content h1,
.style-headings h2,
.style-content h2,
.style-headings h3,
.style-content h3,
.style-headings h4,
.style-content h4,
.style-headings h5,
.style-content h5,
.style-headings h6,
.style-content h6 {
  font-weight: normal;
}
.style-headings h1,
.style-content h1,
.style-headings h2,
.style-content h2,
.style-headings h3,
.style-content h3,
.style-headings h4,
.style-content h4 {
  margin-bottom: 52px;
}
.style-headings h5,
.style-content h5,
.style-headings h6,
.style-content h6 {
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 20px;
}
.style-links a,
.style-content a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-offset: 4px;
}
.uppercase-headings h1,
.uppercase-headings h2,
.uppercase-headings h3,
.uppercase-headings h4 {
  text-transform: uppercase;
}
.style-headings-big h1,
.style-headings-big h2,
.style-headings-big h3,
.style-headings-big h4,
.style-headings-big h5,
.style-headings-big h6 {
  font-weight: normal;
}
.style-headings-big h1,
.style-headings-big h2,
.style-headings-big h3 {
  margin-bottom: 52px;
  text-transform: uppercase;
}
.style-headings-big h4,
.style-headings-big h5,
.style-headings-big h6 {
  margin-bottom: 40px;
}
.style-text-lines {
  min-width: 224px;
  line-height: 4.5em;
  background: linear-gradient(0deg, var(--white) 1px, rgba(0, 0, 0, 0) 0%);
  background-size: 100% 4.5em;
  padding-top: 0.5em;
  padding-bottom: 2px;
  width: fit-content;
}
.style-text-lines ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bg-white { background-color: var(--white); }
.bg-yellow { background-color: var(--yellow); }
.bg-yellow-dark { background-color: var(--yellow-dark); }
.bg-bg { background-color: var(--dark); }
.color-yellow { color: var(--yellow); }
.color-black { color: var(--dark); }
.color-white { color: var(--white); }
.pr-g { padding-right: clamp(30px, 5vw, 64px); }
.mr-i { margin-right: 24px; }
.ml-b { margin-left: 16px; }
.pt-40 { padding-top: 40px; }
.pt-240 { padding-top: clamp(88px, 14vw, 240px); }
.pt-page { padding-top: clamp(180px, 16vw, 320px); }
.pb-24 { padding-bottom: 24px; }
.pb-64 { padding-bottom: 64px; }
.pb-80 { padding-bottom: 80px; }
.pb-120 { padding-bottom: clamp(80px, 8vw, 120px); }
.pb-156 { padding-bottom: clamp(80px, 8vw, 156px); }
.pb-240 { padding-bottom: clamp(88px, 14vw, 240px); }
.pb-320 { padding-bottom: clamp(88px, 16vw, 320px); }
.mb-sidegap { margin-bottom: clamp(12px, 5vw, 70px); }
.mb-4 { margin-bottom: 4px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-52 { margin-bottom: 52px; }
.mb-56 { margin-bottom: 56px; }
.mb-80 { margin-bottom: 80px; }
.mb-132 { padding-bottom: clamp(80px, 9vw, 132px); }
@media all and (max-height: 1000px) {
  .horizontal-scroll-section { padding-top: 72px; }
  .resph-25 { font-size: 17px; }
  .testimonial-item__inner { min-height: 400px; }
  .resph-hide { display: none; }
}

@media all and (max-width: 1320px) {
  .languages {
    left: auto;
    right: 200px;
  }
  .resp-db { display: block; }
  .resp-ml0 { margin-left: 0; }
}

@media all and (max-width: 1000px) {
  .tab-hide { display: none; }
  .tab-db { display: block; }
}

@media all and (max-width: 850px) {
  .w-50 { width: 70%; }
  .testimonial-item__inner { min-height: 400px; }
}

@media all and (max-width: 750px) {
  body { font-size: 18px; }
  .tabv-22 { font-size: 22px; }
  .tabv-db { display: block; }
  .tabv-l0 { left: 0; }
}

@media all and (max-width: 640px) {
  .menu-holder__main .main-item { margin-bottom: 10px; }
  .menu-holder__secondary .main-item { padding-top: 8px; }
  .mobw-db { display: block; }
  .mobw-hide { display: none; }
  .mobw-ml0 { margin-left: 0; }
  .mobw-rel {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
  }
}

@media all and (max-width: 540px) {
  .logo {
    width: 140px;
    top: 24px;
  }
  .burger { top: 25px; }
  .align-lines .title-line.line2 {
    text-align: left !important;
    padding-left: 2.4ch;
  }
  .people-info blockquote {
    font-size: 20px;
    line-height: 1.3em;
  }
  .w-50 { width: 100%; }
  .mob-c {
    margin-left: auto;
    margin-right: auto;
  }
  .mob-rel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .languages { top: 120px; }
  .mob-db { display: block; }
  .mob-hide { display: none; }
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--yellow-dark) #000;
}
*::-webkit-scrollbar { width: 8px; }
*::-webkit-scrollbar-track { background: #000; }
*::-webkit-scrollbar-thumb { background-color: var(--yellow-dark); }
::-moz-selection {
  background-color: rgba(255, 255, 255, 0.4);
  color: #000;
}
::selection {
  background-color: rgba(255, 255, 255, 0.4);
  color: #000;
}

/* 3. Additions for the static rebuild --------------------------------------- */

/* Buttons that replace the original clickable <span>s.
   :where() keeps this reset weak, so colour / uppercase / font classes on a button still apply. */
:where(.btn-reset) {
  background: none;
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: inherit;
  padding: 0;
  cursor: pointer;
  appearance: none;
}
.bracket-link.btn-reset { padding: 0 24px; font-family: var(--font-sans); font-size: 16px; line-height: 24px; text-transform: uppercase; }

/* Keyboard focus */
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.bg-yellow :focus-visible,
.menu-holder :focus-visible,
.cookies-notification :focus-visible { outline-color: var(--dark); }
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  opacity: 1;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--yellow);
  color: var(--dark);
}

.logo__svg { display: block; width: 100%; height: auto; }
img { height: auto; }

/* Slide-in menu: a narrow panel (480px) with one column. The page links sit at the top;
   the headline, "Send mail" and the legal links are pushed to the bottom. On narrow
   screens the panel takes the full width, as the logo would otherwise overlap it. */
.menu-holder__inner { padding-top: clamp(140px, 10vw, 190px); }
.menu-holder__main { font-size: clamp(32px, calc(1.6vw + 1rem), 50px); line-height: 1.05em; }
.menu-holder__bottom { margin-top: auto; padding-top: 56px; }
@media all and (max-width: 750px) {
  .menu-holder,
  .menu-holder__bg { max-width: none; }
}

/* MENU / CLOSE label: clip vertically only, so the wider word is never cut off */
.burger__label { overflow: visible; clip-path: inset(0 -2em 0 0); }
.icon { display: inline-block; }

/* Home page circles: positioned by JS around their centre point */
.orb { position: absolute; top: 0; left: 0; z-index: 5; will-change: transform; }
.orb.z-1 { z-index: 1; }

/* Split headings: each line is animated in */
.title-line { will-change: transform; }

/* Horizontal (pinned) card strips */
.horizontal-scroll-section { left: var(--strip-start, 60vw); will-change: transform; }

/* Expertise accordion */
.accordion-content { height: 0; overflow: hidden; }
.js-accordion-title { display: block; width: 100%; }

/* Team: photos scattered over the middle 70% of the screen (15% left and right stay empty).
   main.js works out the positions; without JavaScript they simply wrap in centred rows. */
.team-scatter {
  position: relative;
  width: 70vw;
  margin-left: calc(50% - 35vw);
  padding-bottom: clamp(80px, 8vw, 120px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px;
}
.team-scatter .team-thumb { width: 220px; }
.team-scatter.is-scattered { display: block; padding-bottom: 0; }
.team-scatter.is-scattered .team-thumb { position: absolute; max-width: none; }

/* The label on a team photo reads "view", and "click" while the photo is in the spotlight */
.team-label--click,
.team-thumb.loc .team-label--view { display: none; }
.team-thumb.loc .team-label--click { display: inline; }

/* Founder photo: grows a little on hover, turns over on click */
.founder-card__hint { opacity: 0; transition: opacity 0.3s; }
button.founder-card:hover .founder-card__hint,
button.founder-card:focus-visible .founder-card__hint { opacity: 1; }
.founder-card { display: block; }
button.founder-card:hover .team-thumb__img,
button.founder-card:focus-visible .team-thumb__img { transform: scale(1.05); }

/* Team photos are two-sided cards that flip to a personal photo */
.team-thumb__img { perspective: 1200px; transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1); }
.team-card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.team-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.team-card__back { transform: rotateY(180deg); }
.team-card__back img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text of the hovered / opened team member. It sits beside the photo and is exactly as tall
   as the (5% enlarged) photo: name at the top edge, last line at the bottom edge. main.js
   picks the side, the width and the font size. */
.team-thumb.loc { z-index: 30; }
.team-text {
  position: absolute;
  top: -2.5%;
  height: 105%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 3px rgba(35, 35, 35, 0.9), 0 1px 16px rgba(35, 35, 35, 0.9);
}
.team-text--right { left: calc(102.5% + 22px); text-align: left; align-items: flex-start; }
.team-text--left { right: calc(102.5% + 22px); text-align: right; align-items: flex-end; }
.team-text__content { display: contents; }
.team-text__name { color: var(--yellow); font-size: 1.2em; line-height: 1; }
.team-text__title { font-family: var(--font-sans); font-size: max(0.5em, 11px); line-height: 1.3; margin-top: 0.7em; }
.team-text__body p { margin: 0 0 0.5em; hyphens: none; }
.team-text__body p:last-child { margin-bottom: 0; }
.team-text__close {
  pointer-events: auto;
  font-family: var(--font-sans);
  font-size: max(0.55em, 12px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
}
.team-text__close:hover { color: var(--white); }
/* Phones have no room beside a photo: there the text lies over the darkened photo instead */
.team-text--over {
  top: 0;
  height: auto;
  min-height: 100%;
  justify-content: center;
  gap: 1em;
  text-align: center;
  align-items: center;
}
@media all and (max-width: 640px) {
  .team-thumb.loc .overlay { opacity: 0.6; }
}

/* Team pop-up text */
.people-info p { margin: 0 0 0.6em; }
.people-info p:last-child { margin-bottom: 0; }
.people-info { font-family: var(--font-serif); font-size: clamp(22px, calc(1.4vw + 0.5rem), 34px); line-height: 1.24em; text-transform: uppercase; }

/* Legal pages (Markdown) */
.post-content strong { font-weight: bold; }
.post-content table {
  width: 100%;
  max-width: 912px;
  margin: 0 auto 40px;
  border-collapse: collapse;
  font-size: 0.82em;
  line-height: 1.4em;
}
.post-content th,
.post-content td {
  padding: 12px 14px;
  border: solid 1px rgba(255, 255, 255, 0.3);
  text-align: left;
  vertical-align: top;
  font-weight: normal;
}
.post-content th { font-family: var(--font-sans); font-size: 16px; text-transform: uppercase; }
.post-content ol { padding-left: 0; }

/* Footer map: also reveal for keyboard and touch users */
.footer-map:focus-within .footer-map__inner { clip-path: inset(0); }
.footer-map:focus-within .op-0 { opacity: 1; }
@media (hover: none) {
  .footer-map .footer-map__inner { clip-path: inset(0); }
  .footer-map .op-0 { opacity: 1; }
}

/* Without JavaScript nothing is animated in, so show everything */
html:not(.js) .op-0.js-onload-fade,
html:not(.js) .op-0.js-anim-splitLines,
html:not(.js) .op-0.js-rtl,
html:not(.js) .anim-bringup,
html:not(.js) .anim-line,
html:not(.js) .anim-img,
html:not(.js) .js-circle {
  opacity: 1;
  transform: none;
  clip-path: none;
}
html:not(.js) .accordion-content { height: auto; }
html:not(.js) .scaledX.js-kid-x { transform: none; }
html:not(.js) .cursor,
html:not(.js) .scroll-indicator,
html:not(.js) .burger { display: none; }
html:not(.js) .horizontal-scroll-section { left: 0; padding-left: 5vw; overflow-x: auto; }
html:not(.js) .footer__menu { display: block; }

/* Visitors who ask their device for less motion get a calm, static version */
.reduced-motion .op-0.js-onload-fade,
.reduced-motion .op-0.js-anim-splitLines,
.reduced-motion .op-0.js-rtl,
.reduced-motion .anim-bringup,
.reduced-motion .anim-line,
.reduced-motion .anim-img,
.reduced-motion .js-circle {
  opacity: 1;
  transform: none;
  clip-path: none;
}
.reduced-motion .scaledX.js-kid-x { transform: none; }
.reduced-motion .bg:after { animation: none; }
.reduced-motion .cursor { display: none; }
.reduced-motion .horizontal-scroll-wrap { overflow-x: auto; }
.reduced-motion .horizontal-scroll-section { left: 0; padding-left: 5vw; width: max-content; }
.reduced-motion,
.reduced-motion body { scroll-behavior: auto; }
