/*
  Responsive architecture
  - Mobile: up to 639 px
  - Tablet: 640-1279 px
  - Desktop: 1280-1599 px (base styles)
  - Large desktop: 1600 px and wider
  Portrait and landscape variants are isolated; reduced motion is independent.
*/

:root {
  --green: #143f40;
  --green-deep: #103536;
  --paper: #f3f0e7;
  --white: #fff;
  --ink: #111;
  --line: #dedbd1;
  --grid-line: rgba(255,255,255,.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Point", "Manrope", Arial, sans-serif;
  --content-max: 1920px;
  --page-gutter: clamp(24px, 4.5vw, 72px);
  --control-size: 56px;
  --carousel-speed: 240ms;
  --header-height: 128px;
  --header-height-compact: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height-compact); scrollbar-gutter: stable; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

figure, h1, h2, h3, h4, p { margin-top: 0; }

.page-shell { width: 100%; overflow: hidden; }

.section-shell { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--page-gutter); }

.carousel-control {
  flex: 0 0 var(--control-size);
  width: var(--control-size);
  height: var(--control-size);
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--green-deep);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 140ms ease;
  user-select: none;
}

.carousel-control span { margin-top: -3px; font-family: Georgia, serif; font-size: 30px; line-height: 1; }

.carousel-control:hover { background: #1d5152; }

.carousel-control:active { background: #174849; }

.carousel-control:focus-visible { outline: 3px solid rgba(20,63,64,.25); outline-offset: 3px; }

#sluzby, #kdo-jsme, #nase-prace, #kontakt, #brigada { scroll-margin-top: 0; outline: none; }









.site-menu { position: fixed; inset: 0; width: 100vw; max-width: 100vw; z-index: 2000; visibility: hidden; pointer-events: none; }

.site-menu[hidden] { display: none; }

.site-menu__backdrop { position: absolute; inset: 0; background: rgba(4, 9, 10, .72); opacity: 0; transition: opacity 260ms ease; }

.site-menu__panel {
  position: relative;
  z-index: 1;
  width: clamp(340px, 25vw, 480px);
  max-width: 100vw;
  height: 100dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 42px clamp(28px, 3vw, 54px) 42px;
  color: var(--white);
  background: var(--green);
  transform: translate3d(-100%, 0, 0);
  transition: transform 340ms cubic-bezier(.22,.75,.2,1);
  overscroll-behavior: contain;
}

.site-menu.is-open { visibility: visible; pointer-events: auto; }

.site-menu.is-open .site-menu__backdrop { opacity: 1; }

.site-menu.is-open .site-menu__panel { transform: translate3d(0, 0, 0); }

.site-menu__head { display: none; }

.site-menu__close {
  width: 58px;
  height: 58px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-menu__close-icon { position: relative; width: 44px; height: 44px; display: block; }

.site-menu__close-icon::before, .site-menu__close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.site-menu__close-icon::before { transform: translate(-50%, -50%) rotate(45deg); }

.site-menu__close-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

.site-menu__label { font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; }

.site-menu__nav { display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(112px, 14vh, 154px); padding-bottom: 28px; }

.site-menu__link {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(36px, 3.25vw, 56px);
  line-height: .9;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.05em;
  transition: color 160ms ease;
}

.site-menu__link + .site-menu__link { margin-top: 12px; }

.site-menu__link:hover, .site-menu__link:focus-visible { color: #c9bb99; }

.site-menu__contact { margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 10px; }

.site-menu__language {
  width: 52px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-indent: .18em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.site-menu__language:hover, .site-menu__language:focus-visible { color: #c9bb99; border-color: rgba(201,187,153,.72); background: rgba(255,255,255,.04); }

.site-menu__contact-link { width: fit-content; color: var(--white); font-size: 15px; line-height: 1.35; font-weight: 600; text-decoration: none; transition: color 160ms ease; }

.site-menu__contact-link:hover, .site-menu__contact-link:focus-visible { color: #c9bb99; }

.site-menu__socials { display: flex; gap: 10px; margin-top: 8px; }

.site-menu__social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.site-menu__social:hover, .site-menu__social:focus-visible { color: #c9bb99; border-color: rgba(201,187,153,.72); background: rgba(255,255,255,.04); }

.site-menu__social svg { width: 20px; height: 20px; }

.site-menu__link:focus-visible, .site-menu__close:focus-visible, .site-menu__language:focus-visible { outline: 2px solid rgba(255,255,255,.8); outline-offset: 6px; }

html.is-menu-open, body.is-menu-open { overflow: visible; overscroll-behavior: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100vw;
  max-width: 100vw;
  height: var(--header-height);
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  --header-inline-padding: 42px;
  padding: 34px var(--header-inline-padding) 0;
  color: var(--white);
  isolation: isolate;
  background: linear-gradient(180deg, rgba(7,35,36,.42), rgba(7,35,36,0));
  transition: height 480ms cubic-bezier(.22,.61,.36,1), padding 480ms cubic-bezier(.22,.61,.36,1);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(16,53,54,.94);
  box-shadow: 0 8px 32px rgba(4,25,26,.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 520ms cubic-bezier(.22,.61,.36,1);
}

.site-header > * { position: relative; z-index: 1; }

.site-header .brand, .site-header .brand__logo {
  transition: margin 480ms cubic-bezier(.22,.61,.36,1), min-width 480ms cubic-bezier(.22,.61,.36,1), width 480ms cubic-bezier(.22,.61,.36,1), max-height 480ms cubic-bezier(.22,.61,.36,1), transform 480ms cubic-bezier(.22,.61,.36,1);
}

.site-header.is-scrolled .brand { min-width: 138px; margin-top: 0; transform: none; }

.site-header.is-scrolled .brand__logo { width: 138px; max-height: 52px; object-fit: contain; }

.menu-trigger {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  color: var(--white);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  cursor: pointer;
}

.menu-trigger__icon span {
  position: absolute;
  left: 0;
  width: 44px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: top 220ms ease, bottom 220ms ease, transform 220ms ease, opacity 160ms ease;
}

.menu-trigger__icon span:first-child { top: 0; }

.menu-trigger__icon span:last-child { bottom: 0; }

.menu-trigger:hover .menu-trigger__icon span { opacity: .72; }

body.is-menu-open .menu-trigger__icon span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }

body.is-menu-open .menu-trigger__icon span:last-child { top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }

body.is-menu-open .site-header, body.is-menu-closing .site-header { z-index: 2100; pointer-events: none; }

body.is-menu-open .site-header::before, body.is-menu-closing .site-header::before { opacity: 1; }

body.is-menu-open .menu-trigger, body.is-menu-closing .menu-trigger { pointer-events: auto; }

body.is-menu-open .brand, body.is-menu-open .header-actions, body.is-menu-closing .brand, body.is-menu-closing .header-actions { opacity: 1; visibility: visible; }

.menu-trigger__label, .contact-button { font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; }

.brand { display: flex; align-items: center; justify-content: center; justify-self: center; min-width: 204px; margin-top: -18px; }

.brand__logo { width: 204px; height: auto; display: block; }

.header-actions { display: flex; align-items: center; justify-self: end; gap: 25px; }

.contact-button {
  min-width: 138px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px 0 30px;
  color: #183839;
  background: var(--paper);
  border: 1px solid rgba(18,63,63,.18);
  transition: background-color 140ms ease;
}

.contact-button:hover { background: var(--white); }










































.story { background: var(--white); }

.story__intro h2 {
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(45px, 4vw, 68px);
  line-height: 1.02;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.045em;
}

.story__intro h2 span { display: block; }

.story__title-last { white-space: nowrap; }

.story__title-last small { display: inline; font-family: var(--serif); font-size: .35em; color: var(--green); font-style: italic; letter-spacing: -.02em; }

.story__intro > p { max-width: 560px; margin: 0; font-size: 17px; line-height: 1.75; font-weight: 500; }

.story__timeline { position: absolute; top: 52px; left: 50%; bottom: 0; width: 1px; background: #e5e2d9; }

.story__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  transform: translate(-50%,-50%);
}

.story__timeline span { position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; border-radius: 50%; background: #e5e2d9; transform: translate(-50%,50%); }

.story__photo { margin: 0; overflow: hidden; }

.story__photo img { height: 100%; object-fit: cover; }

.story__statement-lead { margin: 0 0 22px; font-size: 32px; line-height: 1; font-weight: 700; }

.story__statement-main {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(60px, 6vw, 94px);
  line-height: .82;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.06em;
}

.story__statement-main span { display: block; }

.story__statement-foot { margin: 20px 0 0; font-size: 28px; line-height: 1.35; font-weight: 700; }

.clients { background: var(--white); }

.clients__inner { padding-block: 52px; }

.clients__row {
  display: grid;
  grid-template-columns: max-content var(--control-size) minmax(0,1fr) var(--control-size);
  align-items: center;
  gap: 28px;
  padding-block: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clients h2 { margin: 0; font-size: clamp(28px, 2.2vw, 38px); line-height: 1; letter-spacing: -.04em; }

.clients__viewport { min-width: 0; overflow: hidden; }

.clients__track { display: flex; gap: 28px; will-change: transform; }

.clients__logo { flex: 0 0 calc((100% - 140px)/6); min-width: 110px; height: 82px; display: grid; place-items: center; border: 1px solid #d7d7d2; background: #fafafa; }

.clients__logo span { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #888; }

.services {
  --services-photo-width: clamp(360px, 25vw, 500px);
  --services-right-padding: clamp(40px, 6vw, 90px);
  --services-left-padding: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2 + var(--page-gutter)));
  background: var(--green);
  color: var(--paper);
}

.services__main { display: grid; grid-template-columns: minmax(0, 1fr) var(--services-photo-width); align-items: stretch; }

.services__left { min-width: 0; display: flex; flex-direction: column; }

.services__content { flex: 1 1 auto; min-height: 720px; padding: 78px var(--services-right-padding) 54px var(--services-left-padding); }

.services__heading { margin-bottom: 26px; }

.services__eyebrow { margin: 0 0 -4px; font-size: 24px; line-height: 1; font-weight: 700; }

.services__heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 5vw, 84px); line-height: .95; font-style: italic; font-weight: 600; letter-spacing: -.055em; }

.services__intro { margin: 0 0 26px; font-size: clamp(19px, 1.65vw, 25px); line-height: 1.35; font-weight: 700; }

.services__list { border-bottom: 1px solid rgba(255,255,255,.15); }

.services__item {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(330px, 1.15fr);
  gap: 50px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}

.services__item h3 { margin: 0; font-size: clamp(28px, 2.5vw, 40px); line-height: 1.1; letter-spacing: -.045em; }

.services__item p { margin: 0; font-size: 16px; line-height: 1.7; font-weight: 500; }

.services__photo { min-width: 0; min-height: 100%; margin: 0; overflow: hidden; }

.services__photo img { width: 100%; height: 100%; object-fit: cover; }

.services__cta { flex: 0 0 auto; color: var(--green); background: var(--paper); }

.services__cta-inner {
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 24px var(--services-right-padding) 24px var(--services-left-padding);
}

.services__cta-inner > p { margin: 0; font-size: 24px; font-weight: 700; }

.services__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.05em;
}

.services__cta-arrow {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-family: var(--sans);
  font-size: 18px;
  font-style: normal;
}

.team { background: var(--white); }

.team__inner { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: clamp(80px, 7vw, 140px); padding-block: 96px 110px; }

.team__intro { padding-top: 12px; }

.team__eyebrow { margin: 0 0 4px; color: var(--green); font-size: 24px; font-weight: 700; }

.team__intro h2 {
  margin: 0 0 42px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 82px);
  line-height: .86;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.06em;
}

.team__intro h2 span { display: block; }

.team__story { margin: 0; font-size: 16px; line-height: 1.75; font-weight: 500; }

.team__showcase { min-width: 0; }

.team__showcase h3 { margin: 0 0 34px; font-size: clamp(24px, 2.25vw, 38px); line-height: 1.1; letter-spacing: -.045em; }

.team__carousel-row { display: grid; grid-template-columns: var(--control-size) minmax(0,1fr) var(--control-size); align-items: center; gap: 22px; }

.team__viewport { min-width: 0; overflow: hidden; }

.team__track { display: flex; gap: 18px; will-change: transform; }

.team-card { flex: 0 0 calc((100% - 36px)/3); min-width: 230px; }

.team-card img { aspect-ratio: 740/1000; object-fit: cover; }

.team-card__caption { padding-top: 11px; }

.team-card h4 { margin: 0; font-size: 21px; line-height: 1.15; }

.team-card p { margin: 7px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }

.history { background: var(--white); }

.history__inner {
  position: relative;
  display: grid;
  grid-template-columns: var(--control-size) minmax(0, 1fr) var(--control-size);
  align-items: center;
  column-gap: 24px;
  padding-block: 24px 48px;
}

.history__viewport { position: relative; min-width: 0; overflow: hidden; -webkit-mask-image: none; mask-image: none; }

.history__viewport::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; z-index: 0; height: 1px; background: var(--line); pointer-events: none; }

.history__viewport::after { content: none; }

.history__track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  height: 330px;
  transition: transform var(--carousel-speed) cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.history-event {
  --history-year-width: 84px;
  --history-dot-size: 12px;
  --history-gap: 14px;
  --history-anchor: calc(var(--history-year-width) + var(--history-gap) + 6px);
  position: relative;
  flex: 0 0 clamp(320px, 18vw, 360px);
  min-width: 0;
  height: 330px;
}

.history-event.is-top .history-event__content { top: 42px; }

.history-event.is-bottom .history-event__content { top: 262px; }

.history-event.is-bottom .history-event__dot { margin-top: 7px; }

.history-event time {
  color: var(--green);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.history-event p { max-width: none; margin: -3px 0 0; font-size: 15px; line-height: 1.6; font-weight: 500; }

.history-event__stem { position: absolute; left: var(--history-anchor); z-index: 1; width: 1px; background: var(--line); transform: translateX(-50%); }

.history-event.is-top .history-event__stem { top: 61px; height: 104px; }

.history-event.is-bottom .history-event__stem { top: 50%; height: 104px; }

.history-event__axis-dot {
  position: absolute;
  top: 50%;
  left: var(--history-anchor);
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transform: translate(-50%,-50%);
}

.history__control { position: static; z-index: 5; align-self: center; }

.history__control[disabled] { opacity: .28; cursor: default; pointer-events: none; }

.site-footer { color: var(--green-deep); background: #f7f6f3; border-top: 1px solid rgba(16,53,54,.08); }

.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; padding-block: 76px 40px; }

.site-footer__brand { display: grid; gap: 32px; justify-items: start; }

.site-footer__logo { width: min(260px, 34vw); height: auto; display: block; }

.site-footer__company { display: grid; gap: 10px; }

.site-footer__address, .site-footer__ids { margin: 0; color: rgba(16,53,54,.92); }

.site-footer__address { font-size: 16px; line-height: 1.55; font-weight: 600; }

.site-footer__ids { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; line-height: 1.5; font-weight: 500; }

.site-footer__contact { display: grid; justify-items: end; align-content: start; gap: 18px; text-align: right; }

.site-footer__contact-link {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .12em;
}

.site-footer__socials { display: flex; gap: 14px; margin-top: 4px; }

.site-footer__social {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(16,53,54,.32);
  transition: background-color 140ms ease;
}

.site-footer__social:hover { background: rgba(16,53,54,.04); }

.site-footer__social svg { width: 24px; height: 24px; }

.site-footer__meta { padding-block: 20px 42px; border-top: 1px solid rgba(16,53,54,.08); }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 14px 28px; }

.site-footer__legal a { color: rgba(16,53,54,.74); font-size: 14px; line-height: 1.4; font-weight: 500; }

.site-footer__legal a:hover { color: var(--green-deep); }

.gallery { background: var(--white); color: var(--green-deep); }

.gallery__inner { padding-block: 84px 112px; }

.gallery__heading { margin-bottom: 42px; }

.gallery__heading p { margin: 0 0 4px; color: var(--green); font-size: 24px; line-height: 1; font-weight: 700; }

.gallery__heading h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 82px);
  line-height: .86;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.06em;
}

.gallery__grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-rows: clamp(190px, 19vw, 330px); gap: clamp(8px, .9vw, 16px); }

.gallery__item:nth-child(8n + 1) { grid-column: span 3; }

.gallery__item:nth-child(8n + 2) { grid-column: span 2; }

.gallery__item:nth-child(8n + 3) { grid-column: span 3; }

.gallery__item:nth-child(8n + 4) { grid-column: span 2; }

.gallery__item:nth-child(8n + 5) { grid-column: span 2; }

.gallery__item:nth-child(8n + 6) { grid-column: span 3; }

.gallery__item:nth-child(8n + 7) { grid-column: span 2; }

.gallery__item:nth-child(8n + 8) { grid-column: span 3; }

.gallery__item:nth-child(n + 9) { display: none; }

.gallery__item:nth-child(29), .gallery__item:nth-child(30) { grid-column: span 5; }

.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: filter 220ms ease; }

.gallery__item:hover img, .gallery__item:focus-visible img { filter: brightness(.96); }

.gallery__item:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.gallery-modal[hidden] { display: none; }

.gallery-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  min-height: 100%;
  margin: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 18px;
  padding: 40px;
  color: var(--white);
  background: rgba(6, 26, 27, .97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 210ms ease, visibility 210ms ease;
  overscroll-behavior: contain;
  touch-action: none;
  transform: translateZ(0);
}

@supports (height: 100dvh) {

  .gallery-modal {
    height: 100dvh;
  }
}

.gallery-modal.is-open { opacity: 1; visibility: visible; }

.gallery-modal__figure { min-width: 0; margin: 0; display: grid; justify-items: center; gap: 18px; }

.gallery-modal__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  transform: scale(.985);
  opacity: .2;
  transition: transform 210ms cubic-bezier(.22,.61,.36,1), opacity 180ms ease;
}

.gallery-modal.is-open .gallery-modal__image { transform: scale(1); opacity: 1; }

.gallery-modal__counter { min-height: 18px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }

.gallery-modal__close, .gallery-modal__arrow {
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.gallery-modal__close:hover, .gallery-modal__arrow:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.52); }

.gallery-modal__arrow { width: 88px; height: 88px; justify-self: center; }

.gallery-modal__arrow span { margin-top: -5px; font-family: Georgia, serif; font-size: 64px; line-height: 1; font-weight: 400; }

.gallery-modal__close { position: absolute; top: 30px; right: 30px; z-index: 2; width: 54px; height: 54px; font-size: 34px; line-height: 1; font-weight: 300; }

.contact-section { padding-block: clamp(38px, 4vw, 72px); color: var(--white); background: var(--white); }

.contact-section__inner {
  width: min(
    calc(100% - (2 * var(--page-gutter))),
    calc(var(--content-max) - (2 * var(--page-gutter)))
  );
  max-width: none;
  margin-inline: auto;
  padding: 82px clamp(32px, 6vw, 96px) 92px;
  background: var(--green);
}

.contact-section__heading { margin-bottom: 42px; text-align: center; }

.contact-section__heading p { margin: 0 0 4px; color: var(--white); font-size: 24px; line-height: 1; font-weight: 700; }

.contact-section__heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 82px);
  line-height: .86;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.06em;
}

.contact-form { width: 100%; max-width: 100%; margin: 0 auto; }

.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-form__field { margin: 0 0 18px; }

.contact-form__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.contact-form__input, .contact-form__textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
  caret-color: var(--white);
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  outline: none;
  box-shadow: none;
  border-radius: 0;
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.contact-form__input { min-height: 72px; padding: 0 18px; }

.contact-form__textarea { min-height: 212px; padding: 16px 18px; resize: vertical; }

.contact-form__input::placeholder, .contact-form__textarea::placeholder { color: rgba(255,255,255,.36); }

.contact-form__input:focus, .contact-form__textarea:focus { border-color: rgba(255,255,255,.54); background: rgba(255,255,255,.02); }

.contact-form__input::-webkit-contacts-auto-fill-button { opacity: 0; visibility: hidden; pointer-events: none; }

.contact-form__consent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 22px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  cursor: pointer;
}

.contact-form__consent a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }

.contact-form__checkbox { width: 26px; height: 26px; margin: 0; flex: 0 0 auto; accent-color: var(--white); }

.contact-form__submit {
  width: 100%;
  cursor: pointer;
  min-height: 72px;
  padding: 16px 20px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.contact-form__submit:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.48); }

.jobs-section { padding-block: 86px 104px; background: var(--white); }

.jobs-section__inner { display: grid; grid-template-columns: minmax(320px, 520px) minmax(0, 1fr); align-items: center; gap: clamp(42px, 6vw, 110px); }

.jobs-section__content { color: var(--green); }

.jobs-section__eyebrow { margin: 0 0 4px; color: var(--green); font-size: 24px; line-height: 1; font-weight: 700; }

.jobs-section__title {
  margin: 0 0 34px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(54px, 5vw, 82px);
  line-height: .86;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.06em;
}

.jobs-section__text { max-width: 560px; margin: 0 0 42px; color: var(--ink); font-size: 16px; line-height: 1.75; font-weight: 500; }

.jobs-section__cta {
  min-width: 238px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: background-color 140ms ease, border-color 140ms ease;
  cursor: pointer;
}

.jobs-section__cta:hover { background: #1a4b4c; border-color: #1a4b4c; }

.jobs-section__visual { min-width: 0; }

.jobs-section__image-wrap { width: min(100%, 1120px); margin-left: auto; aspect-ratio: 1.58 / 1; overflow: hidden; background: #d8d3c8; }

.jobs-section__image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.reveal-on-scroll.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.back-to-top {
  position: fixed;
  right: clamp(18px, 2.2vw, 34px);
  bottom: clamp(18px, 2.2vw, 34px);
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--green-deep);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, background-color 140ms ease;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }

.back-to-top:hover { background: #1d5152; }

.back-to-top:focus-visible { outline: 3px solid rgba(20,63,64,.25); outline-offset: 3px; }

.back-to-top svg { width: 24px; height: 24px; }

.site-footer, .site-footer * { animation: none !important; }





.story__inner {
  --story-overlay-height: 300px;
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: auto auto;
  grid-template-areas: "intro top"
    "collage statement";
  column-gap: clamp(56px, 6vw, 116px);
  row-gap: 68px;
  padding-bottom: 96px;
}

.story__intro { width: min(100%, 570px); padding-top: 0; margin-left: clamp(48px, 5vw, 96px); grid-area: intro; align-self: start; }

.story__photo--top { width: calc(100% - 38px); height: 330px; justify-self: end; grid-area: top; align-self: start; }

.story__collage { grid-area: collage; position: relative; min-height: 540px; }

.story__photo--left { align-self: start; margin-top: 40px; position: absolute; inset: 0 auto auto 0; width: 58%; height: 490px; margin: 0; }

.story__photo--overlay { z-index: 2; position: absolute; right: 4%; bottom: 0; left: auto; width: 62%; max-width: 500px; height: var(--story-overlay-height); }

.story__statement {
  position: relative;
  z-index: 3;
  grid-column: 2;
  justify-self: center;
  width: min(82%, 520px);
  padding-inline: 18px;
  text-align: center;
  grid-area: statement;
  align-self: center;
}

.legal-document { background: var(--white); }

.legal-document .site-header { height: var(--header-height-compact); padding: 8px var(--header-inline-padding); }

.legal-document .site-header::before { opacity: 1; }

.legal-document .site-header .brand { min-width: 138px; margin-top: 0; }

.legal-document .site-header .brand__logo { width: 138px; max-height: 52px; object-fit: contain; }

.legal-page {
  min-height: 72vh;
  padding: calc(var(--header-height-compact) + clamp(52px, 7vw, 104px)) var(--page-gutter) clamp(72px, 8vw, 120px);
  color: var(--ink);
  background: var(--white);
}

.legal-page__inner { width: min(100%, 920px); margin: 0 auto; }

.legal-page__back {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--green);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 36px;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(50px, 6.5vw, 92px);
  line-height: .9;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.055em;
}

.legal-page h2 { margin: 42px 0 14px; color: var(--green); font-size: 24px; line-height: 1.25; }

.legal-page p, .legal-page li { font-size: 17px; line-height: 1.75; }

.legal-page p { margin: 0 0 18px; }

.legal-page ul { padding-left: 22px; }

.legal-page__notice { padding: 22px 24px; border: 1px solid rgba(16,53,54,.18); }

.reveal-on-scroll {
  will-change: opacity, transform;
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition: opacity 560ms cubic-bezier(.22,.61,.36,1),
    transform 560ms cubic-bezier(.22,.61,.36,1);
}



.history-event__content {
  position: absolute;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: var(--history-year-width) var(--history-dot-size) minmax(0,1fr);
  align-items: start;
  column-gap: var(--history-gap);
  z-index: 3;
}

.history-event__dot {
  width: var(--history-dot-size);
  height: var(--history-dot-size);
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  z-index: 4;
  box-shadow: 0 0 0 4px var(--white);
}

.clients__swipe-hint { display: none; }

.touch-swipe-hint, .team__swipe-hint, .history__swipe-hint { display: none; }

.team__showcase-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }

.menu-trigger, .menu-trigger * { cursor: pointer !important; -webkit-user-select: none; user-select: none; }

.menu-trigger__icon, .menu-trigger__label { pointer-events: none; }

.site-header .brand, .site-header .brand:link, .site-header .brand:visited, .site-header .brand:hover, .site-header .brand:active {
  cursor: pointer !important;
  -webkit-user-select: none;
  user-select: none;
}

.site-header .brand__logo { cursor: pointer !important; pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

.site-footer__brand, .site-footer__logo { cursor: default !important; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

.menu-trigger__icon { position: relative; width: 44px; display: block; height: 14px; }

.gallery__item { position: relative; min-width: 0; height: 100%; padding: 0; overflow: hidden; cursor: zoom-in; border: 0; background: #ebe9e2; touch-action: pan-y; }

.site-header.is-scrolled { height: var(--header-height-compact); padding: 8px var(--header-inline-padding); align-items: center; padding-top: 0; padding-bottom: 0; }

.site-header.is-scrolled .menu-trigger { align-self: center; padding-top: 0; padding-bottom: 0; }

.site-header.is-scrolled .brand, .site-header.is-scrolled .header-actions { align-self: center; }

.site-header.is-scrolled::before { opacity: 1; inset: 0 0 -2px; box-shadow: none; }

html.is-menu-open, body.is-menu-open { overflow: visible; overscroll-behavior: none; }

.gallery__item { touch-action: manipulation; }

@supports (height: 100dvh) {
  .gallery-modal { height: 100dvh; }
}

html.is-modal-open {
  overflow: hidden;
  scrollbar-gutter: auto;
  overscroll-behavior: none; }

body.is-modal-open {
  position: fixed;
  top: var(--page-lock-top, 0);
  left: var(--page-lock-left, 0);
  width: var(--page-lock-width, 100%);
  max-width: none;
  overflow: visible;
  overscroll-behavior: none;
}

body.is-modal-open .back-to-top {
  right: calc(clamp(18px, 2.2vw, 34px) + var(--page-lock-gutter, 0px));
}

html.is-modal-open::after { content: ""; display: block; width: 1px; height: var(--page-lock-height, 100vh); pointer-events: none; }

html.is-modal-open .gallery__item.reveal-on-scroll { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 639px) and (orientation: portrait) {
  .story__photo--top, .story__photo--left, .story__photo--overlay { position: static; width: 100%; max-width: none; height: auto; margin: 0; }
  .story__photo img { aspect-ratio: 16/9; }
  .clients__row > .carousel-control:first-of-type { grid-column: 2; }
  .clients__row > .carousel-control:last-child { grid-column: 3; grid-row: 1; }
  .team__intro { max-width: 680px; }
  .team__story { max-width: 680px; }
  :root { --page-gutter: 20px; --control-size: 48px; --header-height-compact: 66px; }
  .site-menu__panel { width: min(88vw, 420px); padding: 34px 24px 56px; }
  .site-menu__head { gap: 20px; margin-bottom: 56px; }
  .site-menu__close { width: 48px; height: 48px; }
  .site-menu__close-icon { width: 34px; height: 34px; }
  .site-menu__close-icon::before, .site-menu__close-icon::after { width: 40px; }
  .site-menu__link { font-size: clamp(38px, 10vw, 58px); }
  .site-menu__link + .site-menu__link { margin-top: 10px; }
  .site-header { --header-inline-padding: 16px; height: 108px; padding: 23px var(--header-inline-padding) 0; }
  .menu-trigger { gap: 11px; }
  .menu-trigger__icon, .menu-trigger__icon span { width: 32px; }
  
  .story__title-last { white-space: normal; }
  .services__item { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .team__intro h2 span { margin-right: .12em; }
  .history-event.is-top .history-event__content { top: 38px; }
  .history-event.is-bottom .history-event__content { top: 248px; }
  .history-event.is-bottom .history-event__stem { height: 100px; }
  .site-footer__contact { justify-items: start; text-align: left; }
  .site-footer__contact-link { font-size: clamp(18px, 5.5vw, 22px); }
  .site-footer__social { width: 52px; height: 52px; }
  .site-footer__meta { padding-block: 18px 34px; }
  .gallery-modal__arrow span { font-size: 48px; }
  .gallery__heading { margin-bottom: 28px; }
  .gallery-modal__arrow--prev { left: 8px; }
  .gallery-modal__arrow--next { right: 8px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .contact-section { padding-block: 24px; }
  .contact-section__inner { width: calc(100% - 40px); padding: 60px 20px 66px; }
  .contact-section__heading { margin-bottom: 30px; }
  .contact-form__input { min-height: 62px; }
  .contact-form__textarea { min-height: 180px; }
  .contact-form__consent { align-items: flex-start; }
  .contact-form__checkbox { width: 22px; height: 22px; }
  .contact-form__submit { min-height: 62px; font-size: 13px; letter-spacing: .28em; }
  .jobs-section__inner { grid-template-columns: 1fr; gap: 38px; }
  .jobs-section__image-wrap { width: 100%; }
  .jobs-section { padding-block: 64px 76px; }
  .jobs-section__title { margin-bottom: 24px; }
  .jobs-section__text { max-width: 680px; margin-bottom: 28px; font-size: 17px; }
  .jobs-section__cta { min-width: 0; width: auto; max-width: 100%; min-height: 56px; padding-inline: 20px; font-size: 12px; letter-spacing: .22em; }
  .story__intro { width: 100%; margin-left: 0; }
  .services { --services-photo-width: 100%; --services-right-padding: var(--page-gutter); }
  .services__main { grid-template-columns: 1fr; }
  .story__timeline { display: none; }
  .story__photo--top { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  
  
  .story__intro h2 { margin-bottom: 22px; font-size: clamp(37px, 10.5vw, 51px); }
  .story__intro > p { font-size: 16px; line-height: 1.65; }
  .story__photo--left { width: 76%; height: 78%; }
  .story__photo--overlay { margin: -120px 0 0 auto; margin-top: -70px; right: 0; width: 70%; height: 56%; }
  .story__statement-lead { margin-bottom: 14px; font-size: 21px; }
  .story__statement-main { font-size: clamp(43px, 13.2vw, 61px); }
  .story__statement-foot { margin-top: 14px; font-size: 18px; }
  .clients__inner { padding-block: 12px 22px; }
  .services__content { padding-bottom: 70px; padding-block: 60px 48px; min-height: 0; padding: 54px 20px 42px; }
  .services__photo { min-height: 0; height: 390px; }
  .services__cta-inner { padding-block: 32px; grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 26px 20px 28px; }
  .services__cta-inner > p { font-size: 20px; line-height: 1.25; }
  .services__cta-link { max-width: 100%; justify-self: stretch; justify-content: space-between; gap: 18px; font-size: clamp(31px, 9.3vw, 43px); line-height: .95; }
  .services__cta-arrow { flex-basis: 44px; width: 44px; height: 44px; }
  .legal-document .site-header { height: 66px; padding: 7px 16px; }
  .legal-document .site-header .brand { min-width: 104px; }
  .legal-document .site-header .brand__logo { width: 104px; max-height: 42px; }
  .legal-page { padding-top: 112px; padding-bottom: 64px; }
  .legal-page__back { margin-bottom: 32px; }
  .legal-page h1 { font-size: clamp(44px, 13vw, 62px); }
  .legal-page h2 { font-size: 21px; }
  .legal-page p, .legal-page li { font-size: 16px; line-height: 1.65; }
  .history-event__content { width: min(86vw, 310px); }
  
  .story__photo--left, .story__photo--overlay { position: static; inset: auto; width: 100%; max-width: none; height: auto; margin: 0; aspect-ratio: 16 / 9; }
  .story__photo--left img, .story__photo--overlay img { width: 100%; height: 100%; object-fit: cover; }
  
  
  
  
  
  
  
  
  .story__inner {
    --story-overlay-height: 260px;
    column-gap: 40px;
    row-gap: 48px;
    grid-template-columns: 1fr;
    grid-template-areas: "intro"
      "top"
      "collage"
      "statement";
    padding-block: 38px 46px;
    gap: 22px;
  }
  .story__collage { min-height: 0; display: grid; gap: 14px; }
  .history-event.is-top .history-event__stem { top: 62px; height: 93px; }
  .history-event__dot { box-shadow: 0 0 0 5px var(--white); }
  .site-footer__inner, .site-footer__brand, .site-footer__company, .site-footer__contact { justify-items: center; text-align: center; }
  .site-footer__inner { grid-template-columns: 1fr; padding-block: 64px 34px; gap: 34px; }
  .site-footer__logo { width: min(220px, 58vw); margin-inline: auto; }
  .site-footer__ids, .site-footer__socials { justify-content: center; }
  .site-footer__address { font-size: 15px; max-width: 330px; }
  .site-footer__legal { gap: 10px 18px; flex-direction: column; align-items: center; text-align: center; }
  .clients__row > .carousel-control { display: none; }
  .clients__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
  }
  .clients__viewport::-webkit-scrollbar { display: none; }
  .clients__viewport:active { cursor: grabbing; }
  .clients__track { width: max-content; min-width: 100%; gap: 14px; transform: none !important; transition: none !important; will-change: auto; }
  .header-actions { gap: 5px; }
  .brand { min-width: 118px; }
  .brand__logo { width: 118px; }
  .site-header.is-scrolled .brand { min-width: 92px; }
  .site-header.is-scrolled .brand__logo { width: 92px; max-height: 38px; }
  .contact-button { min-width: 62px; min-height: 40px; padding-inline: 8px; font-size: 9px; letter-spacing: .13em; }
  
  
  
  
  
  
  .story__statement { grid-column: auto; padding-block: 36px; width: 100%; padding-inline: 0; padding: 12px 0 0; margin-top: 34px; padding-top: 30px; }
  .clients__row { grid-template-columns: 1fr auto; gap: 11px 10px; padding-block: 20px; }
  .clients h2 { grid-column: 1; grid-row: 1; font-size: clamp(27px, 8.2vw, 34px); }
  .clients__swipe-hint span:first-child { display: none; }
  .clients__swipe-hint {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    color: rgba(16,53,54,.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 0;
  }
  .clients__swipe-icon { line-height: 1; letter-spacing: 0; font-size: 22px; }
  .clients__logo { flex: 0 0 clamp(230px, 58vw, 320px); min-width: 0; scroll-snap-align: start; scroll-snap-stop: normal; flex-basis: min(76vw, 285px); height: 78px; }
  .touch-swipe-hint {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    color: rgba(16,53,54,.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .touch-swipe-hint__icon { font-size: 19px; line-height: 1; letter-spacing: 0; }
  .team__carousel-row { gap: 10px; display: block; }
  .team__carousel-row > .carousel-control { display: none; }
  .team__viewport::-webkit-scrollbar { display: none; }
  .team__viewport:active { cursor: grabbing; }
  .history { overflow: hidden; }
  .history__swipe-hint { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: end; }
  .history__control { width: 42px; height: 42px; display: none !important; }
  .history__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
  }
  .history__viewport::-webkit-scrollbar { display: none; }
  .history__viewport:active { cursor: grabbing; }
  .history-event__dot, .history-event__stem { display: none; }
  .team__inner { grid-template-columns: 1fr; gap: 34px; padding-block: 54px 62px; }
  .team__showcase-head { align-items: center; margin-bottom: 18px; }
  .team__showcase h3 { margin: 0; font-size: clamp(25px, 7.8vw, 34px); }
  .team__swipe-hint span:first-child, .history__swipe-hint span:first-child { display: none; }
  .history__inner { gap: 14px 18px; grid-template-columns: 1fr auto; column-gap: 10px; padding-block: 8px 30px; }
  .history-event, .history-event.is-top, .history-event.is-bottom {
    flex: 0 0 clamp(290px, 43vw, 370px);
    width: auto;
    min-width: 0;
    scroll-snap-align: start;
    flex-basis: min(78vw, 300px);
    height: 190px;
  }
  .history-event__content, .history-event.is-top .history-event__content, .history-event.is-bottom .history-event__content {
    left: 0;
    width: 100%;
    display: block;
    padding: 0 10px 0 0;
    top: 10px;
    padding-right: 8px;
  }
  .history-event time { display: block; font-size: 31px; }
  .history-event p { max-width: 320px; margin: 16px 0 0; margin-top: 13px; font-size: 13px; line-height: 1.44; }
  .history__viewport::before { top: auto; bottom: 20px; content: none; }
  .history-event { --history-year-width: 76px; --history-gap: 10px; flex-basis: min(86vw, 310px); flex: 0 0 calc((100% - 12px) / 2); height: 270px; z-index: 1; }
  .history__track::before { position: absolute; left: 0; right: 0; z-index: 0; height: 1px; background: var(--line); pointer-events: none; bottom: 20px; content: none !important; }
  .team__track [data-native-clone="true"] { pointer-events: none; }
  .gallery-modal__figure, .gallery-modal__image, .gallery-modal__close, .gallery-modal__arrow { pointer-events: auto; }
  .gallery-modal {
    gap: 10px;
    grid-template-columns: 1fr;
    isolation: isolate;
    touch-action: pan-x;
    padding: max(66px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }
  .gallery-modal__figure { grid-column: 1; grid-row: 1; width: 100%; min-height: 0; }
  .gallery-modal__image { width: 100%; max-height: calc(100dvh - 116px); }
  .gallery-modal__close { width: 46px; height: 46px; font-size: 30px; top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); z-index: 6; }
  .gallery-modal__arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(6,26,27,.58); z-index: 5; width: 44px; height: 64px; }
  .menu-trigger__label { display: inline-block !important; white-space: nowrap; }
  .history-event::before {
    content: "";
    position: absolute;
    z-index: 0;
    height: 1px;
    background: var(--line);
    pointer-events: none;
    left: var(--mobile-axis-x) !important;
    right: calc(-1 * (var(--mobile-card-gap) + var(--mobile-axis-x))) !important;
    bottom: var(--mobile-axis-bottom) !important;
  }
  .history-event:last-child::before { right: 0 !important; }
  .history-event__axis-dot {
    display: block;
    top: auto;
    left: var(--mobile-dot-left) !important;
    bottom: calc(var(--mobile-axis-bottom) - 3.5px) !important;
    transform: none !important;
  }
  .history__track {
    width: max-content;
    min-width: 100%;
    padding-right: var(--page-gutter);
    transform: none !important;
    transition: none !important;
    will-change: auto;
    height: 190px;
    gap: 14px;
    font-size: 31px;
    --mobile-axis-bottom: 20px;
    --mobile-dot-left: 0px;
    --mobile-axis-x: 3.5px;
    --mobile-card-gap: 14px;
  }
  .site-header.is-scrolled { height: 66px; padding: 7px var(--header-inline-padding); }
  .team__viewport {
    width: 100%;
    padding: 0 0 12px;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    cursor: grab;
    padding-right: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  .team__track {
    gap: 16px;
    will-change: auto;
    padding-right: 0 !important;
    width: max-content;
    min-width: 100%;
    padding-inline: 0 !important;
    transform: none !important;
    transition: none !important;
  }
  .team-card { flex: 0 0 clamp(250px, 46vw, 340px); min-width: 0; flex-basis: min(76vw, 292px); scroll-snap-align: start; scroll-snap-stop: normal; }
  .team__track [data-mobile-loop-clone="true"] { pointer-events: none; }
  .gallery__item { cursor: pointer; touch-action: manipulation; }
  .gallery__item, .gallery__item:nth-child(n), .gallery__item:nth-child(29), .gallery__item:nth-child(30) {
    grid-column: auto !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .gallery__inner { padding-block: 68px 86px; padding-inline: var(--page-gutter); }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; gap: 8px; }
}

@media (max-width: 1279px) and (orientation: landscape) and (max-height: 559px) {
  :root { --page-gutter: clamp(24px, 4vw, 48px); --control-size: 52px; }
  .site-header { --header-inline-padding: 24px; }
  .story__photo--top, .story__photo--left, .story__photo--overlay { position: static; width: 100%; max-width: none; height: auto; margin: 0; }
  .story__photo img { aspect-ratio: 16/9; }
  .clients__row > .carousel-control:first-of-type { grid-column: 2; }
  .clients__row > .carousel-control:last-child { grid-column: 3; grid-row: 1; }
  .services__item { gap: 30px; grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); }
  .team__intro { max-width: 680px; }
  .team__intro h2 span { display: inline; margin-right: .12em; }
  .team__story { max-width: 680px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 34px; }
  .site-footer__contact { justify-items: start; text-align: left; }
  .gallery__inner { padding-block: 68px 86px; }
  .gallery-modal__arrow { width: 60px; height: 60px; }
  .gallery-modal__arrow span { font-size: 48px; }
  .gallery-modal__close { top: 18px; right: 18px; }
  .contact-section__inner { width: calc(100% - (2 * var(--page-gutter))); padding: 72px clamp(24px, 5vw, 72px) 78px; }
  .jobs-section__inner { grid-template-columns: 1fr; gap: 38px; }
  .jobs-section__text { max-width: 680px; }
  .jobs-section__image-wrap { width: 100%; }
  .story__intro { width: 100%; margin-left: 0; }
  .story__statement-lead { font-size: 27px; }
  .story__statement-main { font-size: clamp(52px, 7.4vw, 76px); }
  .story__statement-foot { font-size: 23px; }
  .services { --services-photo-width: 100%; --services-right-padding: var(--page-gutter); }
  .services__main { grid-template-columns: 1fr; }
  .services__content { padding-bottom: 70px; min-height: 0; padding: 68px var(--page-gutter) 58px; }
  .services__photo { min-height: 0; height: clamp(380px, 55vw, 560px); }
  .story__inner {
    --story-overlay-height: 260px;
    column-gap: 40px;
    row-gap: 48px;
    grid-template-columns: 1fr;
    grid-template-areas: "intro"
      "top"
      "collage"
      "statement";
    gap: 34px;
    padding-block: 48px 58px;
  }
  .story__timeline { display: none; }
  .story__photo--top { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .story__photo--left { width: 72%; height: 82%; }
  .story__photo--overlay { margin: -120px 0 0 auto; right: 0; width: 67%; height: 58%; }
  .clients__inner { padding-block: 18px 28px; }
  .services__cta-inner { padding-block: 32px; padding: 28px var(--page-gutter); grid-template-columns: 1fr; gap: 16px; }
  .services__cta-link { max-width: 100%; justify-self: stretch; justify-content: space-between; gap: 18px; }
  
  
  
  
  
  
  .story__collage { min-height: 0; display: grid; gap: 18px; }
  .story__photo--left, .story__photo--overlay { position: static; inset: auto; width: 100%; max-width: none; height: auto; margin: 0; aspect-ratio: 16 / 9; }
  .story__photo--left img, .story__photo--overlay img { width: 100%; height: 100%; object-fit: cover; }
  
  
  
  
  .story__statement { grid-column: auto; padding-block: 36px; width: 100%; padding-inline: 0; padding: 12px 0 0; margin-top: 28px; padding-top: 24px; }
  .clients__row { padding-block: 28px; grid-template-columns: 1fr auto; gap: 12px 18px; }
  .clients h2 { grid-column: 1; grid-row: 1; }
  .clients__swipe-hint {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    color: rgba(16,53,54,.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .clients__swipe-icon { font-size: 19px; line-height: 1; letter-spacing: 0; }
  .clients__row > .carousel-control { display: none; }
  .clients__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
  }
  .clients__viewport::-webkit-scrollbar { display: none; }
  .clients__viewport:active { cursor: grabbing; }
  .clients__track { width: max-content; min-width: 100%; gap: 14px; transform: none !important; transition: none !important; will-change: auto; }
  .clients__logo { flex-basis: calc((100% - 48px)/3); flex: 0 0 clamp(230px, 58vw, 320px); min-width: 0; scroll-snap-align: start; scroll-snap-stop: normal; }
  .touch-swipe-hint {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    color: rgba(16,53,54,.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .touch-swipe-hint__icon { font-size: 19px; line-height: 1; letter-spacing: 0; }
  .team__inner { grid-template-columns: 1fr; gap: 42px; padding-block: 62px 72px; }
  .team__showcase-head { align-items: center; margin-bottom: 24px; }
  .team__showcase h3 { margin: 0; }
  .team__carousel-row { display: block; }
  .team__carousel-row > .carousel-control { display: none; }
  .team__viewport::-webkit-scrollbar { display: none; }
  .team__viewport:active { cursor: grabbing; }
  .history { overflow: hidden; }
  .history__inner { grid-template-columns: 1fr auto; gap: 14px 18px; padding-block: 18px 38px; }
  .history__swipe-hint { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: end; }
  .history__control { display: none !important; }
  .history__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
  }
  .history__viewport::-webkit-scrollbar { display: none; }
  .history__viewport:active { cursor: grabbing; }
  .history-event, .history-event.is-top, .history-event.is-bottom { flex: 0 0 clamp(290px, 43vw, 370px); width: auto; min-width: 0; height: 208px; scroll-snap-align: start; }
  .history-event__content, .history-event.is-top .history-event__content, .history-event.is-bottom .history-event__content {
    top: 14px;
    left: 0;
    width: 100%;
    display: block;
    padding: 0 10px 0 0;
  }
  .history-event time { display: block; font-size: 34px; }
  .history-event p { max-width: 320px; margin: 16px 0 0; font-size: 14px; line-height: 1.48; }
  .history-event__dot, .history-event__stem { display: none; }
  .history__viewport::before { top: auto; bottom: 24px; content: none; }
  .history-event { --history-year-width: 76px; --history-gap: 10px; flex-basis: 286px; z-index: 1; }
  .history__track::before { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 0; height: 1px; background: var(--line); pointer-events: none; content: none !important; }
  .team__track [data-native-clone="true"] { pointer-events: none; }
  .gallery-modal {
    grid-template-columns: 68px minmax(0,1fr) 68px;
    gap: 10px;
    padding: 26px 18px;
    isolation: isolate;
    touch-action: pan-x;
  }
  .gallery-modal__figure, .gallery-modal__image, .gallery-modal__close, .gallery-modal__arrow { pointer-events: auto; }
  .site-menu__nav { padding-top: 76px; padding-bottom: 20px; }
  .site-menu__link { font-size: clamp(32px, 5.5vh, 46px); }
  .site-menu__link + .site-menu__link { margin-top: 8px; }
  .site-menu__contact { padding-top: 18px; }
  .menu-trigger__label { display: inline-block !important; white-space: nowrap; }
  .history__track {
    width: max-content;
    min-width: 100%;
    height: 208px;
    gap: 18px;
    padding-right: var(--page-gutter);
    transform: none !important;
    transition: none !important;
    will-change: auto;
    font-size: 34px;
    --mobile-axis-bottom: 24px;
    --mobile-dot-left: 0px;
    --mobile-axis-x: 3.5px;
    --mobile-card-gap: 18px;
  }
  .history-event::before {
    content: "";
    position: absolute;
    z-index: 0;
    height: 1px;
    background: var(--line);
    pointer-events: none;
    left: var(--mobile-axis-x) !important;
    right: calc(-1 * (var(--mobile-card-gap) + var(--mobile-axis-x))) !important;
    bottom: var(--mobile-axis-bottom) !important;
  }
  .history-event:last-child::before { right: 0 !important; }
  .history-event__axis-dot {
    display: block;
    top: auto;
    left: var(--mobile-dot-left) !important;
    bottom: calc(var(--mobile-axis-bottom) - 3.5px) !important;
    transform: none !important;
  }
  .team__viewport {
    width: 100%;
    padding: 0 0 12px;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    cursor: grab;
    padding-right: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  .team__track {
    gap: 16px;
    will-change: auto;
    padding-right: 0 !important;
    width: max-content;
    min-width: 100%;
    padding-inline: 0 !important;
    transform: none !important;
    transition: none !important;
  }
  .team-card { flex-basis: calc((100% - 18px)/2); flex: 0 0 clamp(250px, 46vw, 340px); min-width: 0; scroll-snap-align: start; scroll-snap-stop: normal; }
  .team__track [data-mobile-loop-clone="true"] { pointer-events: none; }
  .gallery__item { cursor: pointer; touch-action: manipulation; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; gap: clamp(8px, 2.4vw, 12px); }
  .gallery__item, .gallery__item:nth-child(n), .gallery__item:nth-child(29), .gallery__item:nth-child(30) {
    grid-column: auto !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 640px) and (max-width: 1279px) and (orientation: portrait) {
  :root { --page-gutter: clamp(24px, 4vw, 48px); --control-size: 52px; }
  .site-header { --header-inline-padding: 24px; }
  .story__photo--top, .story__photo--left, .story__photo--overlay { position: static; width: 100%; max-width: none; height: auto; margin: 0; }
  .story__photo img { aspect-ratio: 16/9; }
  .clients__row > .carousel-control:first-of-type { grid-column: 2; }
  .clients__row > .carousel-control:last-child { grid-column: 3; grid-row: 1; }
  .services__item { gap: 30px; grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); }
  .team__intro { max-width: 680px; }
  .team__intro h2 span { display: inline; margin-right: .12em; }
  .team__story { max-width: 680px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 34px; }
  .site-footer__contact { justify-items: start; text-align: left; }
  .gallery__inner { padding-block: 68px 86px; }
  .gallery-modal__arrow { width: 60px; height: 60px; }
  .gallery-modal__arrow span { font-size: 48px; }
  .gallery-modal__close { top: 18px; right: 18px; }
  .contact-section__inner { width: calc(100% - (2 * var(--page-gutter))); padding: 72px clamp(24px, 5vw, 72px) 78px; }
  .jobs-section__inner { grid-template-columns: 1fr; gap: 38px; }
  .jobs-section__text { max-width: 680px; }
  .jobs-section__image-wrap { width: 100%; }
  .story__intro { width: 100%; margin-left: 0; }
  .story__statement-lead { font-size: 27px; }
  .story__statement-main { font-size: clamp(52px, 7.4vw, 76px); }
  .story__statement-foot { font-size: 23px; }
  .services { --services-photo-width: 100%; --services-right-padding: var(--page-gutter); }
  .services__main { grid-template-columns: 1fr; }
  .services__content { padding-bottom: 70px; min-height: 0; padding: 68px var(--page-gutter) 58px; }
  .services__photo { min-height: 0; height: clamp(380px, 55vw, 560px); }
  .story__inner {
    --story-overlay-height: 260px;
    column-gap: 40px;
    row-gap: 48px;
    grid-template-columns: 1fr;
    grid-template-areas: "intro"
      "top"
      "collage"
      "statement";
    gap: 34px;
    padding-block: 48px 58px;
  }
  .story__timeline { display: none; }
  .story__photo--top { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .story__photo--left { width: 72%; height: 82%; }
  .story__photo--overlay { margin: -120px 0 0 auto; right: 0; width: 67%; height: 58%; }
  .clients__inner { padding-block: 18px 28px; }
  .services__cta-inner { padding-block: 32px; padding: 28px var(--page-gutter); grid-template-columns: 1fr; gap: 16px; }
  .services__cta-link { max-width: 100%; justify-self: stretch; justify-content: space-between; gap: 18px; }
  
  
  
  
  
  
  .story__collage { min-height: 0; display: grid; gap: 18px; }
  .story__photo--left, .story__photo--overlay { position: static; inset: auto; width: 100%; max-width: none; height: auto; margin: 0; aspect-ratio: 16 / 9; }
  .story__photo--left img, .story__photo--overlay img { width: 100%; height: 100%; object-fit: cover; }
  
  
  
  
  .story__statement { grid-column: auto; padding-block: 36px; width: 100%; padding-inline: 0; padding: 12px 0 0; margin-top: 28px; padding-top: 24px; }
  .clients__row { padding-block: 28px; grid-template-columns: 1fr auto; gap: 12px 18px; }
  .clients h2 { grid-column: 1; grid-row: 1; }
  .clients__swipe-hint {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    color: rgba(16,53,54,.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .clients__swipe-icon { font-size: 19px; line-height: 1; letter-spacing: 0; }
  .clients__row > .carousel-control { display: none; }
  .clients__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
  }
  .clients__viewport::-webkit-scrollbar { display: none; }
  .clients__viewport:active { cursor: grabbing; }
  .clients__track { width: max-content; min-width: 100%; gap: 14px; transform: none !important; transition: none !important; will-change: auto; }
  .clients__logo { flex-basis: calc((100% - 48px)/3); flex: 0 0 clamp(230px, 58vw, 320px); min-width: 0; scroll-snap-align: start; scroll-snap-stop: normal; }
  .touch-swipe-hint {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    color: rgba(16,53,54,.62);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .touch-swipe-hint__icon { font-size: 19px; line-height: 1; letter-spacing: 0; }
  .team__inner { grid-template-columns: 1fr; gap: 42px; padding-block: 62px 72px; }
  .team__showcase-head { align-items: center; margin-bottom: 24px; }
  .team__showcase h3 { margin: 0; }
  .team__carousel-row { display: block; }
  .team__carousel-row > .carousel-control { display: none; }
  .team__viewport::-webkit-scrollbar { display: none; }
  .team__viewport:active { cursor: grabbing; }
  .history { overflow: hidden; }
  .history__inner { grid-template-columns: 1fr auto; gap: 14px 18px; padding-block: 18px 38px; }
  .history__swipe-hint { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: end; }
  .history__control { display: none !important; }
  .history__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    cursor: grab;
  }
  .history__viewport::-webkit-scrollbar { display: none; }
  .history__viewport:active { cursor: grabbing; }
  .history-event, .history-event.is-top, .history-event.is-bottom { flex: 0 0 clamp(290px, 43vw, 370px); width: auto; min-width: 0; height: 208px; scroll-snap-align: start; }
  .history-event__content, .history-event.is-top .history-event__content, .history-event.is-bottom .history-event__content {
    top: 14px;
    left: 0;
    width: 100%;
    display: block;
    padding: 0 10px 0 0;
  }
  .history-event time { display: block; font-size: 34px; }
  .history-event p { max-width: 320px; margin: 16px 0 0; font-size: 14px; line-height: 1.48; }
  .history-event__dot, .history-event__stem { display: none; }
  .history__viewport::before { top: auto; bottom: 24px; content: none; }
  .history-event { --history-year-width: 76px; --history-gap: 10px; flex-basis: 286px; z-index: 1; }
  .history__track::before { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 0; height: 1px; background: var(--line); pointer-events: none; content: none !important; }
  .team__track [data-native-clone="true"] { pointer-events: none; }
  .gallery-modal {
    grid-template-columns: 68px minmax(0,1fr) 68px;
    gap: 10px;
    padding: 26px 18px;
    isolation: isolate;
    touch-action: pan-x;
  }
  .gallery-modal__figure, .gallery-modal__image, .gallery-modal__close, .gallery-modal__arrow { pointer-events: auto; }
  .menu-trigger__label { display: inline-block !important; white-space: nowrap; }
  .history__track {
    width: max-content;
    min-width: 100%;
    height: 208px;
    gap: 18px;
    padding-right: var(--page-gutter);
    transform: none !important;
    transition: none !important;
    will-change: auto;
    font-size: 34px;
    --mobile-axis-bottom: 24px;
    --mobile-dot-left: 0px;
    --mobile-axis-x: 3.5px;
    --mobile-card-gap: 18px;
  }
  .history-event::before {
    content: "";
    position: absolute;
    z-index: 0;
    height: 1px;
    background: var(--line);
    pointer-events: none;
    left: var(--mobile-axis-x) !important;
    right: calc(-1 * (var(--mobile-card-gap) + var(--mobile-axis-x))) !important;
    bottom: var(--mobile-axis-bottom) !important;
  }
  .history-event:last-child::before { right: 0 !important; }
  .history-event__axis-dot {
    display: block;
    top: auto;
    left: var(--mobile-dot-left) !important;
    bottom: calc(var(--mobile-axis-bottom) - 3.5px) !important;
    transform: none !important;
  }
  .team__viewport {
    width: 100%;
    padding: 0 0 12px;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    cursor: grab;
    padding-right: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  .team__track {
    gap: 16px;
    will-change: auto;
    padding-right: 0 !important;
    width: max-content;
    min-width: 100%;
    padding-inline: 0 !important;
    transform: none !important;
    transition: none !important;
  }
  .team-card { flex-basis: calc((100% - 18px)/2); flex: 0 0 clamp(250px, 46vw, 340px); min-width: 0; scroll-snap-align: start; scroll-snap-stop: normal; }
  .team__track [data-mobile-loop-clone="true"] { pointer-events: none; }
  .gallery__item { cursor: pointer; touch-action: manipulation; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; gap: clamp(8px, 2.4vw, 12px); }
  .gallery__item, .gallery__item:nth-child(n), .gallery__item:nth-child(29), .gallery__item:nth-child(30) {
    grid-column: auto !important;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 640px) and (max-width: 1279px) and (orientation: landscape) and (min-height: 560px) {
  :root { --page-gutter: clamp(24px, 4vw, 48px); }
  .clients__row { gap: 20px; }
  .clients__logo { flex-basis: calc((100% - 72px)/4); }
  .services__item { grid-template-columns: minmax(220px,.8fr) minmax(280px,1.2fr); gap: 30px; }
  .team__inner { grid-template-columns: 300px minmax(0,1fr); gap: 68px; }
  .team-card { flex-basis: calc((100% - 18px)/2); }
  .history-event { flex-basis: 310px; }
  .jobs-section__inner { grid-template-columns: 1fr; gap: 38px; }
  .jobs-section__text { max-width: 680px; }
  .jobs-section__image-wrap { width: 100%; }
  
  
  .story__photo--top { width: 100%; height: clamp(250px, 29vw, 320px); }
  .story__collage { min-height: 450px; }
  .story__photo--left { width: 72%; height: 410px; }
  .story__photo--overlay { right: 0; width: 66%; height: 250px; }
  .story__statement { width: 100%; padding-inline: 0; }
  .story__statement-lead { font-size: 27px; }
  .story__statement-main { font-size: clamp(52px, 7.4vw, 76px); }
  .story__statement-foot { font-size: 23px; }
  .services { --services-photo-width: 100%; --services-right-padding: var(--page-gutter); }
  .services__main { grid-template-columns: 1fr; }
  .services__content { min-height: 0; padding: 68px var(--page-gutter) 58px; }
  .services__photo { min-height: 0; height: clamp(380px, 55vw, 560px); }
  .services__cta-inner { grid-template-columns: minmax(190px, .55fr) minmax(0,1fr); gap: 30px; padding: 28px var(--page-gutter); }
  .services__cta-link { justify-self: end; max-width: 100%; }
  .menu-trigger__label { display: inline-block !important; white-space: nowrap; }
  .story__inner { --story-overlay-height: 260px; row-gap: 48px; padding-block: 64px 76px; column-gap: clamp(34px, 4vw, 56px); }
  .story__intro h2 { font-size: clamp(43px, 4.8vw, 62px); }
  .story__intro { box-sizing: border-box; width: 100%; max-width: none; min-width: 0; margin-left: 0; padding-right: clamp(28px, 4vw, 52px); }
  .story__intro > p { font-size: 16px; line-height: 1.68; width: 100%; max-width: 520px; overflow-wrap: anywhere; }
}

@media (min-width: 1280px) and (max-width: 1599px) and (orientation: landscape) and (max-height: 720px) {
  .site-menu__nav { padding-top: 76px; padding-bottom: 20px; }
  .site-menu__link { font-size: clamp(32px, 5.5vh, 46px); }
  .site-menu__link + .site-menu__link { margin-top: 8px; }
  .site-menu__contact { padding-top: 18px; }
  .story__inner { column-gap: clamp(34px, 4vw, 56px); }
  .story__intro h2 { font-size: clamp(43px, 4.8vw, 62px); }
  .story__intro { box-sizing: border-box; width: 100%; max-width: none; min-width: 0; margin-left: 0; padding-right: clamp(28px, 4vw, 52px); }
  .story__intro > p { font-size: 16px; line-height: 1.68; width: 100%; max-width: 520px; overflow-wrap: anywhere; }
}

@media (min-width: 1600px) {
  
  
  
  
  
  
  
  
  
  
}

/* ========================================================================== 
   Full-width hero slider
   ========================================================================== */
.hero.hero--slider {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: clamp(600px, 82vh, 820px);
  height: clamp(600px, 82svh, 820px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--green-deep);
}

.hero-slider,
.hero-slider__viewport,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  z-index: 1;
  touch-action: pan-y pinch-zoom;
  outline: none;
}

.hero-slider:focus-visible::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 20;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,.8);
}

.hero-slider__viewport { overflow: hidden; }

.hero-slide {
  z-index: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms cubic-bezier(.22,.61,.36,1), visibility 0s linear 720ms;
}

.hero-slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
  transition: transform 1400ms cubic-bezier(.22,.61,.36,1);
}

.hero-slide.is-active .hero-slide__image { transform: scale(1); }

.hero-slide__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,30,31,.88) 0%, rgba(5,30,31,.68) 42%, rgba(5,30,31,.18) 76%, rgba(5,30,31,.08) 100%),
    linear-gradient(180deg, rgba(4,24,25,.32) 0%, rgba(4,24,25,.08) 38%, rgba(4,24,25,.62) 100%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 108px;
}

.hero-slide__eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 1040px;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(70px, 6.3vw, 104px);
  line-height: .88;
  font-weight: 600;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-slide__lead {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.018em;
  text-wrap: pretty;
}

.hero-slide__cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  padding: 0 24px;
  color: var(--green-deep);
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-slide__cta:hover { background: var(--white); transform: translateY(-2px); }
.hero-slide__cta:focus-visible { outline: 3px solid rgba(255,255,255,.75); outline-offset: 4px; }
.hero-slide__cta span { font-size: 18px; letter-spacing: 0; }

.hero-slider__navigation {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-slider__dots,
.hero-slider__controls {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.hero-slider__dots { gap: 10px; }

.hero-slider__dot {
  width: 28px;
  height: 18px;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-slider__dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,.38);
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-slider__dot.is-active::before {
  background: var(--white);
  transform: translateY(-50%) scaleY(1.5);
}

.hero-slider__dot:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.hero-slider__controls {
  gap: 14px;
  color: var(--white);
}

.hero-slider__arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(9,44,45,.44);
  border: 1px solid rgba(255,255,255,.36);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.hero-slider__arrow:hover { background: rgba(9,44,45,.78); border-color: rgba(255,255,255,.72); }
.hero-slider__arrow:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
.hero-slider__arrow span { margin-top: -2px; font-size: 23px; line-height: 1; }

.hero-slider__counter {
  min-width: 66px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}

.hero-slider__counter strong { font-size: 16px; font-weight: 700; }
.hero-slider.is-initializing .hero-slide { transition: none !important; }

@media (max-width: 639px) {
  .hero.hero--slider {
    min-height: 600px;
    height: clamp(600px, 88vh, 720px);
    height: clamp(600px, 88svh, 720px);
  }

  .hero-slide__shade {
    background:
      linear-gradient(90deg, rgba(5,30,31,.64), rgba(5,30,31,.24)),
      linear-gradient(180deg, rgba(4,24,25,.28) 0%, rgba(4,24,25,.16) 30%, rgba(4,24,25,.88) 78%, rgba(4,24,25,.96) 100%);
  }

  .hero-slide__content {
    justify-content: flex-end;
    padding-top: 128px;
    padding-bottom: 104px;
  }

  .hero-slide__eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: .22em;
  }

  .hero-slide h1,
  .hero-slide h2 {
    max-width: 100%;
    font-size: clamp(45px, 13.6vw, 62px);
    line-height: .9;
  }

  .hero-slide__lead {
    max-width: 34rem;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.48;
  }

  .hero-slide__cta {
    min-height: 48px;
    gap: 14px;
    margin-top: 24px;
    padding-inline: 18px;
    font-size: 10px;
    letter-spacing: .15em;
  }

  .hero-slider__navigation { bottom: 18px; }
  .hero-slider__dots { gap: 6px; }
  .hero-slider__dot { width: 18px; }
  .hero-slider__controls { gap: 8px; }
  .hero-slider__arrow { width: 44px; height: 44px; }
  .hero-slider__counter { display: none; }
}

@media (min-width: 640px) and (max-width: 1279px) {
  .hero.hero--slider {
    min-height: 640px;
    height: clamp(640px, 80vh, 820px);
    height: clamp(640px, 80svh, 820px);
  }

  .hero-slide__content {
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 108px;
  }

  .hero-slide h1,
  .hero-slide h2 {
    max-width: 820px;
    font-size: clamp(60px, 8vw, 86px);
  }

  .hero-slide__lead { max-width: 650px; font-size: clamp(17px, 2vw, 20px); }
  .hero-slider__navigation { bottom: 24px; }
}

@media (max-width: 1279px) and (orientation: landscape) and (max-height: 559px) {
  .hero.hero--slider {
    min-height: 360px;
    height: 100vh;
    height: 100svh;
  }

  .hero-slide__content {
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-slide__eyebrow { margin-bottom: 8px; font-size: 8px; letter-spacing: .2em; }

  .hero-slide h1,
  .hero-slide h2 {
    max-width: 650px;
    font-size: clamp(36px, 5.8vw, 50px);
    line-height: .88;
  }

  .hero-slide__lead {
    max-width: 620px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.38;
  }

  .hero-slide__cta { min-height: 38px; margin-top: 12px; padding-inline: 16px; font-size: 9px; }
  .hero-slider__navigation { bottom: 9px; }
  .hero-slider__dots { gap: 5px; }
  .hero-slider__dot { width: 16px; }
  .hero-slider__arrow { width: 38px; height: 38px; }
  .hero-slider__counter { font-size: 10px; }
  .hero-slider__counter strong { font-size: 13px; }
}

@media (min-width: 1280px) and (max-width: 1599px) and (orientation: landscape) and (max-height: 720px) {
  .hero.hero--slider { min-height: 560px; height: clamp(560px, 88svh, 640px); }
  .hero-slide__content { padding-top: 128px; padding-bottom: 88px; }
  .hero-slide h1, .hero-slide h2 { font-size: clamp(66px, 6vw, 88px); }
  .hero-slide__lead { margin-top: 20px; font-size: 17px; }
  .hero-slide__cta { margin-top: 24px; }
  .hero-slider__navigation { bottom: 18px; }
}

@media (min-width: 1600px) {
  .hero.hero--slider { min-height: 700px; height: clamp(700px, 78svh, 900px); }
  .hero-slide__content { padding-top: calc(var(--header-height) + 48px); padding-bottom: 120px; }
  .hero-slide h1, .hero-slide h2 { max-width: 1220px; font-size: clamp(98px, 6.2vw, 126px); }
  .hero-slide__lead { max-width: 820px; font-size: clamp(21px, 1.3vw, 27px); }
  .hero-slider__navigation { bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__image,
  .hero-slide__cta,
  .hero-slider__dot::before { transition: none !important; }
}

/* CMS edition: requested spacing and career page */
@media (min-width: 1280px) {
  .home-after-hero .story__inner { padding-top: 132px; }
  .career-after-hero { padding-top: 28px; }
}

@media (max-width: 639px) {
  .site-header,
  .site-header.is-scrolled { padding-right: 24px; }
}

.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-flash { width: min(calc(100% - 40px), 920px); margin: 24px auto 0; padding: 16px 20px; font-weight: 700; text-align: center; }
.form-flash--success { color: #103536; background: #dfece5; }
.form-flash--error { color: #6f1919; background: #f8dfdf; }

.career-hero { position: relative; min-height: min(860px, 86vh); display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--green-deep); }
.career-hero__image, .career-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.career-hero__image { object-fit: cover; }
.career-hero__shade { background: linear-gradient(180deg, rgba(7,25,26,.25), rgba(7,25,26,.82)); }
.career-hero__content { position: relative; z-index: 1; padding-top: 210px; padding-bottom: clamp(60px, 7vw, 112px); }
.career-hero__content > p, .career-kicker, .career-section-heading > p { margin: 0 0 14px; font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.career-hero h1 { max-width: 1280px; margin: 0; font-family: var(--serif); font-size: clamp(58px, 6.6vw, 124px); line-height: .88; font-style: italic; font-weight: 600; letter-spacing: -.055em; }
.career-hero__bottom { max-width: 1180px; margin-top: clamp(34px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: end; }
.career-hero__bottom span { max-width: 790px; font-size: clamp(17px, 1.3vw, 23px); line-height: 1.6; }
.career-hero__bottom a, .career-button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; transition: color .18s ease, background .18s ease; }
.career-hero__bottom a:hover { color: var(--green-deep); background: var(--white); }

.career-intro { padding-block: clamp(86px, 9vw, 156px); background: var(--paper); }
.career-intro__inner, .career-recruiter__inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(54px, 8vw, 150px); align-items: center; }
.career-intro__copy h2, .career-recruiter h2, .career-section-heading h2 { margin: 0; color: var(--green-deep); font-family: var(--serif); font-size: clamp(52px, 5vw, 94px); line-height: .88; font-style: italic; font-weight: 600; letter-spacing: -.055em; }
.career-intro__copy h3 { max-width: 650px; margin: 40px 0 16px; color: var(--green); font-size: clamp(22px, 2vw, 34px); line-height: 1.2; }
.career-intro__copy > p:last-of-type, .career-recruiter__inner > div > p:last-of-type { max-width: 690px; margin: 0 0 34px; font-size: 17px; line-height: 1.75; }
.career-intro figure, .career-recruiter figure { margin: 0; overflow: hidden; background: #d7d3c9; }
.career-intro figure img { aspect-ratio: 1.13 / 1; object-fit: cover; }
.career-button { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.career-button:hover { color: var(--green-deep); background: transparent; }

.career-positions { padding-block: clamp(90px, 9vw, 150px); background: var(--white); }
.career-section-heading { margin-bottom: 56px; }
.career-section-heading > p { color: var(--green); }
.career-positions__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2vw, 34px); }
.career-position { min-width: 0; background: var(--paper); }
.career-position__image { aspect-ratio: .88 / 1; overflow: hidden; }
.career-position__image img { height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.career-position:hover .career-position__image img { transform: scale(1.025); }
.career-position__body { padding: 30px 28px 34px; }
.career-position h3 { margin: 0 0 18px; color: var(--green-deep); font-family: var(--serif); font-size: clamp(34px, 3vw, 54px); line-height: .95; font-style: italic; }
.career-position p { min-height: 132px; margin: 0 0 24px; font-size: 15px; line-height: 1.7; }
.career-position a { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .2em; }

.career-benefits { padding-block: clamp(90px, 8vw, 142px); color: var(--white); background: var(--green-deep); }
.career-section-heading--light h2, .career-section-heading--light > p { color: var(--white); }
.career-benefits__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.career-benefits__grid article { min-height: 320px; padding: clamp(30px, 4vw, 64px); border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.career-benefits__grid span { display: block; margin-bottom: 48px; color: rgba(255,255,255,.54); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.career-benefits__grid h3 { max-width: 520px; margin: 0 0 18px; font-family: var(--serif); font-size: clamp(32px, 3vw, 52px); line-height: .98; font-style: italic; }
.career-benefits__grid p { max-width: 640px; margin: 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }

.career-recruiter { padding-block: clamp(90px, 9vw, 160px); background: var(--white); }
.career-recruiter figure img { aspect-ratio: .92 / 1; object-fit: cover; }
.career-recruiter h2 { margin-bottom: 36px; }

.career-testimonials { padding-block: clamp(86px, 8vw, 138px); background: var(--paper); }
.career-testimonials__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid rgba(16,53,54,.22); }
.career-testimonials blockquote { min-width: 0; margin: 0; padding: 34px clamp(20px, 2.5vw, 42px) 10px; border-right: 1px solid rgba(16,53,54,.22); }
.career-testimonials blockquote:last-child { border-right: 0; }
.career-testimonials blockquote > p { min-height: 260px; margin: 0; color: var(--green-deep); font-family: var(--serif); font-size: clamp(25px, 2.1vw, 37px); line-height: 1.14; font-style: italic; }
.career-testimonials blockquote footer { display: grid; gap: 4px; margin-top: 28px; }
.career-testimonials blockquote strong { font-size: 15px; }
.career-testimonials blockquote span { color: rgba(16,53,54,.62); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

@media (max-width: 1279px) {
  .career-intro__inner, .career-recruiter__inner { grid-template-columns: 1fr; }
  .career-intro figure, .career-recruiter figure { width: 100%; }
  .career-positions__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .career-position:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .career-position:last-child .career-position__image { aspect-ratio: auto; }
}

@media (max-width: 639px) {
  .career-hero { min-height: 760px; }
  .career-hero__content { padding-top: 150px; padding-bottom: 56px; }
  .career-hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .career-hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .career-hero__bottom a { width: 100%; }
  .career-intro, .career-positions, .career-benefits, .career-recruiter, .career-testimonials { padding-block: 68px; }
  .career-intro__inner, .career-recruiter__inner { gap: 36px; }
  .career-intro__copy h2, .career-recruiter h2, .career-section-heading h2 { font-size: clamp(45px, 13.5vw, 66px); }
  .career-intro__copy h3 { margin-top: 28px; font-size: 23px; }
  .career-positions__grid, .career-benefits__grid, .career-testimonials__grid { grid-template-columns: 1fr; }
  .career-position:last-child { grid-column: auto; display: block; }
  .career-position__body { padding: 26px 22px 30px; }
  .career-position p { min-height: 0; }
  .career-benefits__grid article { min-height: 0; padding: 34px 24px 40px; }
  .career-benefits__grid span { margin-bottom: 30px; }
  .career-testimonials blockquote { padding: 28px 0 34px; border-right: 0; border-bottom: 1px solid rgba(16,53,54,.22); }
  .career-testimonials blockquote > p { min-height: 0; }
}
.not-found { min-height: 78vh; display: grid; align-items: center; padding-top: var(--header-height); color: var(--white); background: var(--green-deep); }
.not-found p { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .3em; }
.not-found h1 { max-width: 1100px; margin: 0 0 42px; font-family: var(--serif); font-size: clamp(62px, 8vw, 140px); line-height: .88; font-style: italic; }
.not-found a { display: inline-flex; min-height: 54px; align-items: center; padding-inline: 24px; border: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* CMS v2: klientská SVG, právní stránky a stabilní časová osa */
.clients__logo { padding: 14px 18px; }
.clients__logo > a { width: 100%; height: 100%; display: grid; place-items: center; }
.clients__logo img { width: 100%; height: 100%; max-width: 150px; max-height: 48px; object-fit: contain; }

.page-privacy,
.page-terms { background: var(--white); }
.page-privacy .site-header,
.page-terms .site-header { height: var(--header-height-compact); padding: 8px var(--header-inline-padding); }
.page-privacy .site-header::before,
.page-terms .site-header::before { opacity: 1; }
.page-privacy .site-header .brand,
.page-terms .site-header .brand { min-width: 138px; margin-top: 0; }
.page-privacy .site-header .brand__logo,
.page-terms .site-header .brand__logo { width: 138px; max-height: 52px; object-fit: contain; }

@media (min-width: 1280px) {
  .history__track,
  .history-event { height: 360px; }

  .history-event {
    --history-year-width: 94px;
    --history-dot-size: 10px;
    --history-gap: 12px;
    --history-anchor: calc(var(--history-year-width) + var(--history-gap) + (var(--history-dot-size) / 2));
    flex-basis: clamp(330px, 20vw, 390px);
  }

  .history-event__content {
    width: 100%;
    grid-template-columns: var(--history-year-width) var(--history-dot-size) minmax(0, 1fr);
    column-gap: var(--history-gap);
  }

  .history-event time { white-space: nowrap; }
  .history-event p { min-width: 0; max-width: 230px; overflow-wrap: normal; word-break: normal; }
  .history-event.is-top .history-event__content { top: 48px; }
  .history-event.is-bottom .history-event__content { top: 232px; }
  .history-event__dot { margin-top: 7px; }
  .history-event.is-top .history-event__stem { top: 60px; height: 120px; }
  .history-event.is-bottom .history-event__stem { top: 50%; height: 64px; }
}

@media (max-width: 639px) {
  .page-privacy .site-header,
  .page-terms .site-header { height: 66px; padding: 7px 24px 7px 16px; }
  .page-privacy .site-header .brand,
  .page-terms .site-header .brand { min-width: 104px; }
  .page-privacy .site-header .brand__logo,
  .page-terms .site-header .brand__logo { width: 104px; max-height: 42px; }
  .clients__logo img { max-width: 180px; max-height: 44px; }
}
