/* ============================================================
   Services page — local reconstruction
   Design language: black canvas, fluid rem scale, Saans,
   hairline grid, oversized type, quiet motion.
   ============================================================ */

@font-face {
  font-family: "Saans";
  src: url("../assets/fonts/Saans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saans";
  src: url("../assets/fonts/Saans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --gutter: 1.25rem;
  --margin: 1.625rem;
  --stroke-color: #ffffff3d;
  --stroke: 1px solid var(--stroke-color);
  --red: #eb3621;
  --grey-dark: #1e1e1e;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-recede: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-hover: 0.2s;
  --duration-reveal: 0.6s;
  --vw-rem: min(1.0582vw, 18.6243px);
  --bar-pill-width: max(5.125rem, 72px);
  --recede-scale: 0.976;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  background: #000;
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
}
html::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  html { font-size: min(1.0582vw, 18.6243px); }
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Saans", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }
.booking:focus-visible { outline: none; }
.booking:focus-visible .booking__box { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7); }

h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
::selection { background: #fff; color: #000; }

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

/* ── type scale ─────────────────────────────────────────────── */
.t-title {
  font-size: max(3rem, 33.6px);
  line-height: max(3.0625rem, 34.3px);
  letter-spacing: -0.0208em;
  font-weight: 400;
}
.t-giant {
  font-size: 46.6522rem;
  line-height: 1.0208;
  letter-spacing: -0.0128em;
  font-weight: 400;
}
.t-ui, .t-ui-regular {
  font-size: max(0.8125rem, 13px);
  line-height: max(0.9375rem, 15px);
  letter-spacing: -0.0069em;
}
.t-ui { font-weight: 500; }
.t-ui-regular { font-weight: 400; }
.t-small, .t-small-regular {
  font-size: max(0.75rem, 12px);
  line-height: max(0.7071rem, 11.3px);
  letter-spacing: -0.0075em;
}
.t-small { font-weight: 500; }
.t-small-regular { font-weight: 400; }
.t-body { font-size: max(1rem, 16px); line-height: 1.35; font-weight: 400; }
.t-text { font-size: 1rem; line-height: 1.35; font-weight: 400; }
.t-menu {
  font-size: max(1.0625rem, 17px);
  line-height: max(0.9375rem, 15px);
  letter-spacing: -0.0053em;
  font-weight: 500;
}
.tnum { font-variant-numeric: tabular-nums; }

/* ── shared bits ────────────────────────────────────────────── */
.glass {
  background: rgba(30, 30, 30, 0.3);
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  backdrop-filter: blur(40px) saturate(120%);
}

.logo { position: relative; display: block; width: 2.125rem; height: 2.125rem; }
.logo__mark { display: block; width: 100%; height: 100%; object-fit: contain; }

.hover-underline { position: relative; text-decoration: none; }
.hover-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.1em; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease-out);
}
.hover-underline:hover::after,
.hover-underline:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }

.hover-prefix {
  position: relative;
  display: inline-block;
  transition: transform var(--duration-hover) var(--ease-out);
}
.hover-prefix::before {
  content: "./";
  position: absolute; right: 100%; top: 0;
  width: 0.9em; opacity: 0;
  transition: opacity var(--duration-hover) var(--ease-out);
}
.hover-prefix:not(.is-active):hover,
.hover-prefix:not(.is-active):focus-visible { transform: translateX(0.9em); }
.hover-prefix:not(.is-active):hover::before,
.hover-prefix:not(.is-active):focus-visible::before { opacity: 1; }
.footer__link.is-active { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.footer__link.is-active::before { content: "./_"; position: static; opacity: 1; width: auto; white-space: pre; }

.pressable { transition: transform 0.12s var(--ease-out); }
.pressable:active { transform: scale(0.97); }

/* arrows: two glyphs swap diagonally on hover */
.arrow-swap { position: relative; display: block; width: 20px; height: 20px; overflow: hidden; }
.arrow-swap svg { position: absolute; inset: 0; transition: transform 0.45s var(--ease-soft); }
.arrow-swap__a { transform: translate(0, 0); }
.arrow-swap__b { transform: translate(-110%, 110%); transition-delay: 0s; }
.has-arrow:hover .arrow-swap__a,
.has-arrow:focus-visible .arrow-swap__a { transform: translate(110%, -110%); transition-delay: 0.12s; }
.has-arrow:hover .arrow-swap__b,
.has-arrow:focus-visible .arrow-swap__b { transform: translate(0, 0); transition-delay: 0.12s; }
.arrow-swap--small { width: 14px; height: 14px; }

/* pill */
.pill { position: relative; display: inline-flex; align-items: center; gap: 0.125rem; color: #fff; }
.pill__label {
  display: flex; align-items: center; height: 1.875rem; padding: 0 0.75rem;
  border: 1px solid currentColor; border-radius: 2.1875rem; font-size: max(0.875rem, 14px);
  transition: background-color var(--duration-hover) var(--ease-out), color var(--duration-hover) var(--ease-out);
}
.pill__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 1.875rem; height: 1.875rem; border-radius: 50%;
  background: #fff; color: #000;
  transition: background-color var(--duration-hover) var(--ease-out);
}
.pill:hover .pill__label { background: #fff; color: #000; }

/* eyebrow */
.eyebrow { display: flex; align-items: center; gap: 0.6125rem; color: #fff; }
.eyebrow__home {
  display: flex; align-items: center; height: 1.7005rem; min-width: 1.7005rem;
  border-radius: 0.625rem; background: rgba(255, 255, 255, 0.216);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  font-size: max(0.8122rem, 13px); font-weight: 500; line-height: 1;
}
.eyebrow__mark, .eyebrow__slash {
  display: flex; align-items: center; justify-content: center;
  width: 1.7005rem; height: 1.7005rem; flex: 0 0 1.7005rem; border-radius: 0.625rem;
}
.eyebrow__slash { background: #fff; color: #000; margin-left: calc(0.1554rem - 0.6125rem); }
.eyebrow__mark--muted { background: rgba(255, 255, 255, 0.216); }
.eyebrow__label {
  display: grid; grid-template-columns: 0fr; opacity: 0;
  transition: grid-template-columns 0.4s var(--ease-out), opacity 0.2s ease;
}
.eyebrow__label-inner { overflow: hidden; white-space: nowrap; }
.eyebrow__label-inner .t-ui { padding-right: 0.625rem; }
.eyebrow__home:hover .eyebrow__label,
.eyebrow__home:focus-visible .eyebrow__label { grid-template-columns: 1fr; opacity: 1; }

/* line-split reveals */
.split-lines .line { display: block; overflow: hidden; }
.split-lines .line__inner {
  display: block;
  transform: translateY(112%);
  transition: transform 1s var(--ease-soft);
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: transform;
}
.split-lines.is-revealed .line__inner { transform: translateY(0); }

/* ── boot / pixel intro ─────────────────────────────────────── */
.boot {
  position: fixed; inset: 0; z-index: 9999;
  background: #000; overflow: hidden;
  transition: opacity 0.35s ease;
}
.boot__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.boot__mark {
  position: absolute; left: 50%; top: 50%;
  width: 3.25rem; height: 3.25rem;
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  transition: transform 0.7s var(--ease-soft), opacity 0.4s ease;
}
.boot.is-logo .boot__mark { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.boot.is-logo .boot__mark { transition-delay: 0.05s; }
.boot.is-dissolving { background: transparent; }
.boot.is-dissolving .boot__mark { opacity: 0; transform: translate(-50%, -50%) scale(0.9); transition-duration: 0.35s; }
.boot.is-done { opacity: 0; pointer-events: none; }

/* ── layout / page recede ───────────────────────────────────── */
.layout { position: relative; min-height: 100vh; background: #000; }
.page {
  position: relative;
  background: #000;
  transform-origin: 50% 50%;
  transition: scale 0.52s cubic-bezier(0.65, 0, 0.35, 1);
}
.page.is-receded {
  scale: var(--recede-scale);
  transition: scale 0.8s var(--ease-recede);
}

/* ── header ─────────────────────────────────────────────────── */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  height: 100%;
  pointer-events: none; color: #fff;
}
.header-top { position: absolute; inset: 0 0 auto 0; height: 0; }
.header-socials {
  position: absolute; left: calc(100% - 20.75rem); top: 1.21875rem;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-soft);
}
.header-clock {
  position: absolute; right: 0.9375rem; top: 1.21875rem;
  display: flex; gap: 0.75rem;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-soft);
}
.hs-short { display: none; }
@media (min-width: 768px) and (max-width: 1439px) {
  .hs-full { display: none; }
  .hs-short { display: inline; }
}
.header-socials--many .hs-full { display: none; }
.header-socials--many .hs-short { display: inline; }
.header-top.is-hidden .header-socials,
.header-top.is-hidden .header-clock { opacity: 0; transform: translateY(-120%); }

.booking-column {
  position: absolute; top: 0; bottom: 0; right: 0.9375rem;
  width: 20.5625rem;
}
.booking {
  position: sticky; top: calc(0.9375rem - 0.8969rem);
  display: block; width: 100%; height: 5.4906rem;
  margin-top: 2.353rem;
  text-align: left; pointer-events: auto; color: #fff;
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-soft);
}
.booking.is-on-light .booking__box { background: rgba(30, 30, 30, 0.85); }
.booking__box {
  position: absolute; left: 0.75rem; right: 0; top: 0.8969rem;
  height: 3.75rem; border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}
.booking:hover .booking__box { background: rgba(40, 40, 40, 0.42); }
.booking__loader {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 5.375rem; height: 100%;
}
.logo--booking { width: 2.125rem; height: 2.125rem; }
.booking__label {
  position: absolute; left: 4.75rem; top: 1.905rem;
  white-space: nowrap;
}
.booking__availability {
  position: absolute; left: 4.75rem; top: 3.0925rem;
  white-space: nowrap; opacity: 0.5;
}
.booking__arrow { position: absolute; right: 1.25rem; top: 50%; margin-top: -0.6rem; }

/* ── hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  height: calc(100vh + 5.75rem);
  height: calc(100svh + 5.75rem);
  min-height: 55.75rem;
  overflow-x: clip;
  color: #fff;
}
.hero__backdrop {
  position: absolute; inset: 0 0 auto 0;
  z-index: -1;
  height: 100%;
  background: #000;
  pointer-events: none;
}
.hero__backdrop-sticky {
  position: sticky; top: 0;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  opacity: 1;
  will-change: opacity;
}
.hero__backdrop-drift {
  position: absolute; inset: 0 0 auto 0;
  height: 111%;
  will-change: transform;
}
.hero__backdrop-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0;
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-out);
}
.hero__backdrop-img.is-loaded { opacity: 1; }
.hero__backdrop-dim { position: absolute; inset: 0; background: #000; opacity: 0; }
.hero__backdrop-shade { position: absolute; inset: 0; background: #000; opacity: 0; will-change: opacity; }

.hero__word {
  position: absolute; bottom: 0.0527em; left: -0.0969em;
  font-size: calc(var(--vw-rem) * 29.66);
  line-height: 0.735;
  letter-spacing: -0.005em;
  font-weight: 400;
  white-space: nowrap;
  pointer-events: none;
}
.hero__word span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.35s var(--ease-soft) 0.1s;
  will-change: transform;
}
body.is-ready .hero__word span { transform: translateY(0); }

.hero__count {
  position: absolute;
  bottom: calc(19.75 * var(--vw-rem));
  left: calc(68.75% - 0.03125rem);
  font-size: calc(7.5 * var(--vw-rem));
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease 0.75s, transform 1s var(--ease-soft) 0.75s;
}
body.is-ready .hero__count { opacity: 1; transform: none; }

.hero__eyebrow { position: absolute; left: 1.375rem; top: 2.0625rem; }
.hero__text {
  position: absolute;
  bottom: calc(29.125 * var(--vw-rem));
  left: 1.8125rem;
  width: 36.375rem;
  line-height: 3.25rem;
  text-indent: 4em;
}
body.is-ready .hero__text .line__inner { transform: translateY(0); }

.hero__services {
  position: absolute;
  left: calc(68.75% - 0.03125rem);
  top: 23.775rem;
  line-height: 1.125rem;
}
.hero__services li {
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.6s ease, transform 0.8s var(--ease-soft);
}
body.is-ready .hero__services li { opacity: 1; transform: none; }
body.is-ready .hero__services li:nth-child(1) { transition-delay: 0.7s; }
body.is-ready .hero__services li:nth-child(2) { transition-delay: 0.75s; }
body.is-ready .hero__services li:nth-child(3) { transition-delay: 0.8s; }
body.is-ready .hero__services li:nth-child(4) { transition-delay: 0.85s; }
body.is-ready .hero__services li:nth-child(5) { transition-delay: 0.9s; }
body.is-ready .hero__services li:nth-child(6) { transition-delay: 0.95s; }

/* intro entrances */
.hero__eyebrow,
.header-top,
.booking {
  opacity: 0; transform: translateY(-0.75rem);
}
body.is-ready .hero__eyebrow { opacity: 1; transform: none; transition: opacity 0.7s ease 0.35s, transform 0.9s var(--ease-soft) 0.35s; }
body.is-ready .header-top { opacity: 1; transform: none; transition: opacity 0.8s ease 0.45s, transform 1s var(--ease-soft) 0.45s; }
body.is-ready .booking { opacity: 1; transform: none; transition: opacity 0.8s ease 0.5s, transform 1s var(--ease-soft) 0.5s; }

/* ── services list ──────────────────────────────────────────── */
.service-list {
  position: relative;
  z-index: 2;
  color: #fff;
  height: var(--service-list-height, calc(303rem - 5px));
}
.service-list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--stroke-color); z-index: 1; pointer-events: none;
}
.service-list::after {
  content: ""; position: absolute; inset: 0 auto 0 50%;
  width: 1px; background: var(--stroke-color); z-index: 1;
  pointer-events: none;
}
.service-list__lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.service-list__line {
  position: absolute; width: 1px; background: var(--stroke-color);
  opacity: 0; transition: opacity 0.6s ease;
}
.service-list__line.is-on { opacity: 1; }
.service-list__cross {
  position: absolute; width: 11px; height: 11px;
  margin: -5px 0 0 -5px; z-index: 2; opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.service-list__cross::before,
.service-list__cross::after { content: ""; position: absolute; background: #fff; }
.service-list__cross::before { left: 0; top: 5px; width: 11px; height: 1px; }
.service-list__cross::after { left: 5px; top: 0; width: 1px; height: 11px; }
.service-list__cross.is-on { opacity: 1; }

.service-card {
  position: absolute;
  left: 0;
  width: 50%;
  height: 63rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-top: 1px solid var(--stroke-color);
  border-bottom: 1px solid var(--stroke-color);
  z-index: 1;
}
.service-card[data-side="right"] { left: 50%; }
.service-card:nth-of-type(1) { top: 0; }
.service-card:nth-of-type(2) { top: calc(48rem - 1px); }
.service-card:nth-of-type(3) { top: calc(96rem - 2px); }
.service-card:nth-of-type(4) { top: calc(144rem - 3px); }
.service-card:nth-of-type(5) { top: calc(192rem - 4px); }
.service-card:nth-of-type(6) { top: calc(240rem - 5px); }

.service-card__counter { padding: 1.25rem; }
.service-card__muted { opacity: 0.5; }
.service-card__name { padding: 0 1.25rem; }
.service-card__desc {
  margin-top: 1.25rem;
  max-width: 50%;
  padding: 0 1.25rem;
  opacity: 0.6;
}
.capabilities { margin-top: 2.5rem; }
.capability {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-top: 1px solid var(--stroke-color);
  transition: color 0.12s ease;
}
.capability::before {
  content: ""; position: absolute; inset: -1px 0 0;
  background: #fff; opacity: 0; transition: opacity 0.12s ease;
  z-index: 0;
}
.capability > span { position: relative; z-index: 1; }
.capability > span:last-child { padding-left: 1.25rem; }
.capability__num { opacity: 0.5; }
.capability:hover { color: #000; }
.capability:hover::before { opacity: 1; }
.capability.is-pressed { color: #000; }
.capability.is-pressed::before { opacity: 1; }

/* body reveal on scroll */
.js .service-card__desc,
.js .capabilities {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s ease, transform 0.9s var(--ease-soft);
}
.service-card.is-revealed .service-card__desc,
.service-card.is-revealed .capabilities { opacity: 1; transform: none; }
.service-card.is-revealed .service-card__desc { transition-delay: 0.1s; }
.service-card.is-revealed .capabilities { transition-delay: 0.18s; }
.service-card.is-revealed .service-card__desc { opacity: 0.6; }

/* ── closing ────────────────────────────────────────────────── */
.closing {
  position: relative;
  z-index: 1;
  height: 88.5rem;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.closing__media { position: absolute; inset: 0; overflow: hidden; }
.closing__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.closing__box { position: absolute; background: #000; }
.closing__box--text { width: calc(50% - 0.1875rem); height: 55.3125rem; top: 0; left: 0; }
.closing__box--top { height: 22.125rem; left: calc(75% + 0.0625rem); right: 0; top: 0.125rem; display: none; }
.closing__word {
  position: absolute;
  bottom: -0.1058em; left: -0.0335em;
  font-size: 46.6522rem;
  line-height: 1.0208;
  letter-spacing: -0.0128em;
  white-space: nowrap;
  pointer-events: none;
}
.closing__eyebrow { position: absolute; left: 1.375rem; top: 1.375rem; }
.closing__text {
  position: absolute;
  left: 1.625rem; bottom: 42.625rem;
  width: 36.375rem;
  line-height: 3.25rem;
  text-indent: 4em;
}
.closing__cta { position: absolute; left: 1.625rem; top: 49.125rem; }
.closing__tagline {
  position: absolute;
  left: calc(56.25% + 0.90625rem);
  top: 49.25rem;
  display: flex; flex-direction: column;
  white-space: pre-line;
  line-height: 1.125rem;
}
.closing__signature {
  position: absolute;
  left: calc(62.5% + 4.875rem);
  top: 58.6875rem;
  transform: translateX(-100%);
  text-align: right;
  line-height: 1.125rem;
  white-space: pre-line;
}
.flicker-line { display: inline-block; }
.flicker-line.is-blinking { opacity: 0.15; }

/* closing entrance */
.js .closing__cta { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.8s ease, transform 1s var(--ease-soft); }
.closing.is-revealed .closing__cta { opacity: 1; transform: none; transition-delay: 0.15s; }

/* ── footer ─────────────────────────────────────────────────── */
.footer {
  position: relative;
  height: 46.75rem;
  background: #000;
  color: #fff;
}
.footer__nav {
  position: absolute; top: 1.3125rem;
  display: flex; flex-direction: column;
}
.footer__nav--pages { left: 1.625rem; }
.footer__nav--contact { left: calc(18.75% + 5.84375rem); }
.footer__nav--social { left: 50%; }
.footer__link { line-height: 1.5rem; }

.footer__cells {
  position: absolute; inset: 21.25rem 0 auto 0;
  height: 16.25rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.3125rem;
  padding: 0 1.625rem;
}
.footer-cell { position: relative; display: block; }
.footer-cell__frame { position: absolute; inset: 0; overflow: hidden; display: block; }
.footer-cell__frame img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.45, 0, 0.55, 1);
}
.footer-cell.is-visible .footer-cell__frame img { opacity: 1; }
.footer-cell__title {
  position: absolute; bottom: calc(100% + 0.625rem); left: 0.0625rem;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 1s cubic-bezier(0.45, 0, 0.55, 1);
}
.footer-cell.is-hovered .footer-cell__title { opacity: 1; transition-duration: 0.12s; }
.footer-cell.is-hovered .footer-cell__frame img { transition-duration: 0.12s; }

.footer__logo { position: absolute; left: 1.625rem; top: 39.375rem; }
.footer__copyright {
  position: absolute; left: 1.625rem; top: 42.25rem;
  line-height: 1.0625rem;
}
.footer__pitchdeck { display: none; }

/* ── floating menu ──────────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.menu__veil {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.44s ease 0.06s;
}
.menu.is-open .menu__veil { opacity: 1; pointer-events: auto; transition: opacity 0.64s ease; }

.menu__anchor {
  position: absolute;
  z-index: 250;
  left: calc(50% + 0.28rem);
  bottom: 2.375rem;
  width: 17.4375rem;
  transform: translate(-50%, 0.75rem);
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.4s var(--ease-out), transform 0.8s var(--ease-soft);
}
body.is-ready .menu__anchor { opacity: 1; transform: translate(-50%, 0); }

.menu__bar {
  position: relative;
  display: block;
  width: 100%; height: 3.125rem;
  border-radius: 3.4375rem;
  background: var(--grey-dark);
  color: #fff;
  text-align: left;
  transition: transform 0.12s var(--ease-out);
}
.menu__bar:active { transform: scale(0.98); }
.menu__bar-label {
  position: absolute; left: 1.25rem; top: 50%;
  transform: translateY(-50%);
}
.menu__bar-lines {
  position: absolute;
  top: 50%; right: calc(1.0625rem + var(--bar-pill-width));
  width: 1.25rem; height: calc(0.625rem + 1.2px);
  margin-top: calc(-0.3125rem - 0.6px);
  transition: transform 0.6s var(--ease-soft);
}
.menu__bar-lines i {
  position: absolute; left: 0; width: 100%; height: 1.2px;
  background: #fff;
  transition: transform 0.5s var(--ease-soft), opacity 0.2s;
}
.menu__bar-lines i:nth-child(1) { top: 0; }
.menu__bar-lines i:nth-child(2) { top: 0.3125rem; }
.menu__bar-lines i:nth-child(3) { top: 0.625rem; }
.menu__bar.is-active .menu__bar-lines { transform: rotate(90deg); }
.menu__bar.is-active .menu__bar-lines i:nth-child(1) { transform: translateY(0.3125rem) rotate(45deg) scaleX(0.8); }
.menu__bar.is-active .menu__bar-lines i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu__bar.is-active .menu__bar-lines i:nth-child(3) { transform: translateY(-0.3125rem) rotate(-45deg) scaleX(0.8); }

.menu__bar-pill {
  position: absolute; right: 0.5625rem; top: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  height: 1.875rem; width: var(--bar-pill-width);
  border-radius: 2.1875rem;
  background: #fff; color: #000;
  overflow: hidden;
}
.menu__bar-word {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease-soft);
}
.menu__bar-word--active { transform: translateY(100%); }
.menu__bar.is-active .menu__bar-word--rest { transform: translateY(-100%); }
.menu__bar.is-active .menu__bar-word--active { transform: translateY(0); }

.menu__panel {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: var(--menu-height, 29.6875rem);
  border-radius: 1.25rem 1.25rem 1.8125rem 1.8125rem;
  background: rgba(30, 30, 30, 0.3);
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  backdrop-filter: blur(40px) saturate(120%);
  color: #fff;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(calc(100% - 3.125rem) 0 0 round 1.25rem 1.25rem 1.8125rem 1.8125rem);
  transition: clip-path 0.42s cubic-bezier(0.65, 0, 0.35, 1) 0.06s;
}
.menu.is-open .menu__panel {
  pointer-events: auto;
  clip-path: inset(0 0 0 0 round 1.25rem 1.25rem 1.8125rem 1.8125rem);
  transition: clip-path 0.64s var(--ease-recede);
}
.menu__content { position: absolute; inset: 0; }

.menu__label {
  position: absolute; left: 1.4375rem; top: 1.5625rem; opacity: 0.5;
}
.menu__links {
  position: absolute; left: 1.375rem; top: 3.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.menu__mask { line-height: 0; }
.menu__rise {
  display: block;
  transform: translateY(calc(100% + 0.3em));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
  transition-delay: calc(var(--i, 0) * 18ms);
}
.menu.is-open .menu__rise {
  transform: none; opacity: 1;
  transition: transform 0.8s var(--ease-soft), opacity 0.45s ease;
  transition-delay: calc(0.18s + var(--i, 0) * 45ms);
}
.menu__links .t-menu { line-height: 1.25rem; }

.menu__rule {
  position: absolute; left: 1.375rem; top: calc(13.5rem + var(--menu-shift, 0rem));
  width: 15.0625rem;
  border-top: var(--stroke);
  transform-origin: 0 0;
  transform: scaleX(0);
  transition: transform 0.26s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--i, 0) * 15ms);
}
.menu.is-open .menu__rule {
  transform: scaleX(1);
  transition: transform 1.1s var(--ease-soft);
  transition-delay: calc(0.2s + var(--i, 0) * 50ms);
}
.menu__social-label { position: absolute; left: 1.4375rem; top: calc(15.0625rem + var(--menu-shift, 0rem)); opacity: 0.5; }
.menu__socials {
  position: absolute; left: 1.375rem; top: calc(16.75rem + var(--menu-shift, 0rem));
  display: flex; flex-direction: column; gap: 0.375rem;
}
.menu__pitchdeck {
  position: absolute; left: 1.375rem; top: 22.625rem;
  width: 15.0625rem; height: 2.5rem;
  border-radius: 2.375rem;
  background: #fff; color: #1e1e1e;
  font-size: 13px;
  opacity: 0; transform: translateY(0.75rem);
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--i, 0) * 15ms);
}
.menu.is-open .menu__pitchdeck {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease-soft), transform 0.8s var(--ease-soft);
  transition-delay: calc(0.2s + var(--i, 0) * 50ms);
}
.menu__pitchdeck:hover { background: #e7e7e7; }

/* ── contact form (bottom sheet above the menu bar) ─────────── */
.contact {
  position: fixed; inset: 0; z-index: 45;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 6.5rem;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s 0.46s;
}
.contact.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s 0s; }
.contact:not(.is-open) .contact__panel { pointer-events: none; }
.contact__veil {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0; transition: opacity 0.44s ease 0.06s;
}
.contact.is-open .contact__veil { opacity: 1; transition: opacity 0.64s ease; }

.contact__panel {
  position: relative;
  width: 22rem;
  margin-left: 0.5625rem;
  padding: 1.5625rem 1.375rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(30, 30, 30, 0.3);
  -webkit-backdrop-filter: blur(40px) saturate(120%);
  backdrop-filter: blur(40px) saturate(120%);
  color: #fff;
  pointer-events: auto;
  clip-path: inset(calc(100% - 3.5rem) 0 0 round 1.25rem);
  transition: clip-path 0.42s cubic-bezier(0.65, 0, 0.35, 1) 0.06s;
}
.contact.is-open .contact__panel {
  clip-path: inset(0 0 0 0 round 1.25rem);
  transition: clip-path 0.64s var(--ease-recede);
}

.contact__content { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__label { opacity: 0.5; }
.contact__title {
  margin-top: -0.5rem;
  font-size: max(1.0625rem, 17px);
  line-height: 1.2;
}
.contact__field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__field > span {
  opacity: 0.5;
  font-size: max(0.75rem, 12px);
  line-height: max(0.7071rem, 11.3px);
  letter-spacing: -0.0075em;
}
.contact__field input,
.contact__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--stroke-color);
  border-radius: 0;
  background: transparent;
  padding: 0.375rem 0;
  color: #fff;
  font-size: max(0.8125rem, 13px);
  font-weight: 500;
  line-height: max(0.9375rem, 15px);
  letter-spacing: -0.0069em;
  outline: none;
  transition: border-color var(--duration-hover) ease;
}
.contact__field input:focus,
.contact__field textarea:focus { border-color: #fff; }
.contact__field textarea { resize: none; }
.contact__submit {
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 2.375rem;
  background: #fff;
  color: var(--grey-dark);
  font-size: max(0.8125rem, 13px);
  font-weight: 500;
  line-height: 1;
  transition: background-color var(--duration-hover) ease, opacity var(--duration-hover) ease;
}
.contact__submit:hover { background: #e7e7e7; }
.contact__submit:disabled { opacity: 0.6; }

.contact__line {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--i, 0) * 15ms);
}
.contact.is-open .contact__line {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-soft), transform 0.8s var(--ease-soft);
  transition-delay: calc(0.2s + var(--i, 0) * 50ms);
}

.contact__success {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}
.contact__success[hidden] { display: none; }
.contact__success-label { opacity: 0.5; }
.contact__success-title {
  font-size: max(1.0625rem, 17px);
  font-weight: 500;
  line-height: 1.3;
}
.contact__success .contact__submit { margin-top: 0.75rem; }

/* pointer-events for header reveal */
body:not(.is-ready) .header-top,
body:not(.is-ready) .booking { pointer-events: none; }

/* ── mobile ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root { --bar-pill-width: 6rem; }

  .t-title { font-size: 2.25rem; line-height: 2.5rem; }
  .t-ui, .t-ui-regular { font-size: 0.8125rem; line-height: 0.9375rem; }
  .t-small, .t-small-regular { font-size: 0.75rem; line-height: 0.7071rem; }

  .header-socials, .header-clock { display: none; }

  .booking-column {
    right: var(--gutter);
    width: calc(13.375rem + 0.75rem);
  }
  .booking {
    top: calc(0.75rem - 0.8969rem);
    margin-top: 0;
    height: calc(0.8969rem + 3.5rem);
  }
  .booking__box { left: 0.75rem; top: 0.8969rem; height: 3.5rem; border-radius: 0.5rem; clip-path: inset(0 0 0 0 round 0.5rem); transition: background-color 0.3s ease, clip-path 0.25s var(--ease-out); }
  .booking__loader { left: 0.75rem; top: 0.8969rem; width: 3.5rem; height: 3.5rem; }
  .logo--booking { width: 1.875rem; height: 1.875rem; }
  .booking__label { left: 4.25rem; top: calc(0.8969rem + 0.75rem); }
  .booking__availability { left: 4.25rem; top: calc(0.8969rem + 1.875rem); }
  .booking__arrow { right: 0.75rem; }
  .booking {
    clip-path: inset(0 0 0 0);
  }
  body.is-ready .booking {
    transition: opacity 0.8s ease 0.5s, transform 1s var(--ease-soft) 0.5s, clip-path 0.25s var(--ease-out);
  }
  .booking__loader { transition: opacity 0.2s var(--ease-out), filter 0.2s var(--ease-out); }
  .booking__label,
  .booking__availability,
  .booking__arrow {
    transition: opacity 0.2s var(--ease-out), filter 0.2s var(--ease-out), transform 0.25s var(--ease-out);
  }
  .booking.is-folded {
    clip-path: inset(calc(0.8969rem + 0.375rem) 0 0.375rem calc(100% - 8rem));
  }
  .booking.is-folded .booking__loader { opacity: 0; filter: blur(2px); pointer-events: none; }
  .booking.is-folded .booking__label { transform: translate(2.875rem, 0.5rem); }
  .booking.is-folded .booking__availability { opacity: 0; filter: blur(2px); pointer-events: none; }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    height: auto;
    min-height: 0;
    padding-top: 15rem;
  }
  .hero__backdrop-dim { opacity: 0.25; }
  .hero__word {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 7rem 0 0 -0.3em;
    padding-bottom: 0.0527em;
    font-size: 11rem;
    bottom: auto; left: auto;
  }
  .hero__count {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    margin-top: 2.5rem;
    padding-left: var(--gutter);
    bottom: auto; left: auto;
    font-size: 0.875rem;
    line-height: 1.125rem;
    letter-spacing: normal;
    font-weight: 500;
    color: #fff;
  }
  .hero__eyebrow { left: var(--gutter); top: 1.65625rem; }
  .hero__text {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 var(--gutter);
    width: auto;
    bottom: auto; left: auto;
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: -0.03em;
    text-indent: 6.5rem;
  }
  .hero__services {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    margin-top: 2.5rem;
    margin-left: -0.125rem;
    top: auto; left: auto;
    line-height: 0.9375rem;
  }

  .service-list { height: auto; }
  .service-list::before { display: none; }
  .service-list::after { display: none; }
  .service-list__lines { display: none; }
  .service-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto; height: auto;
    display: flex; flex-direction: column; justify-content: flex-start;
    gap: 0.75rem;
    padding-top: 6rem;
    border-top: 1px solid var(--stroke-color);
    border-bottom: 0;
  }
  .service-card:last-of-type { border-bottom: 1px solid var(--stroke-color); }
  .service-card:last-of-type { border-bottom: 1px solid var(--stroke-color); }
  .service-card__counter { padding: 0 var(--gutter); }
  .service-card__name { padding: 0 var(--gutter); font-size: 2.125rem; line-height: 2.1875rem; }
  .service-card__desc {
    margin-top: 1.5rem;
    max-width: none;
    padding: 0 var(--gutter);
  }
  .capabilities { margin-top: 3rem; }
  .capability {
    height: 3rem;
    grid-template-columns: 3rem 1fr;
    padding: 0 var(--gutter);
  }
  .capability > span:last-child { padding-left: 0; }
  .capability:active { color: #000; }
  .capability:active::before { opacity: 1; }

  .closing {
    display: flex; flex-direction: column; align-items: flex-start;
    height: auto;
    min-height: 0;
    padding: var(--gutter) var(--gutter) calc(25.0625rem + 7.5rem);
  }
  .closing__media { position: absolute; inset: auto 0 0 0; height: 25.0625rem; }
  .closing__box--text { display: none; }
  .closing__box--top {
    display: block;
    top: auto; left: 0; right: auto;
    bottom: calc(25.0625rem - 12.1875rem);
    width: 50%; height: 12.1875rem;
    z-index: 1;
  }
  .closing__word {
    position: absolute;
    bottom: -0.1058em; left: -0.0335em;
    font-size: 18.25rem;
    z-index: 1;
  }
  .closing__eyebrow { position: absolute; left: var(--gutter); top: calc(var(--gutter) + 0.1875rem); }
  .closing__text {
    position: relative; left: auto; bottom: auto; top: auto;
    width: 100%; max-width: 21rem;
    font-size: 2.125rem;
    line-height: 2.1875rem;
    text-indent: 6.125rem;
    z-index: 2;
    margin-top: 0;
  }
  .closing__cta { position: relative; left: auto; top: auto; margin-top: 2.5rem; z-index: 2; }
  .pill__label { height: 2.5rem; padding: 0 1.125rem; font-size: max(0.8125rem, 13px); line-height: 0.9375rem; }
  .pill__arrow { width: 2.5rem; height: 2.5rem; }
  .closing__tagline {
    left: var(--gutter);
    top: calc(100% - 25.0625rem - 0.25rem);
    bottom: auto;
    z-index: 2;
  }
  .closing__signature {
    left: auto; right: calc(50% + 1.25rem);
    top: auto; bottom: calc(25.0625rem - 12.1875rem + 1.1875rem);
    transform: none;
    z-index: 2;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    row-gap: 2.5rem;
    height: auto;
    padding: var(--gutter) var(--gutter) 5.5rem;
  }
  .footer__nav { position: relative; left: auto; top: auto; }
  .footer__nav::before {
    content: attr(data-label);
    display: block; margin-bottom: 0.375rem;
    font-size: 0.75rem; line-height: 1rem; font-weight: 500; opacity: 0.5;
  }
  .footer__nav--pages { grid-column: 1; grid-row: 1; }
  .footer__nav--contact { grid-column: 2; grid-row: 1; }
  .footer__nav--social { grid-column: 1; grid-row: 2; }
  .footer__link { font-size: 0.875rem; line-height: 1.75rem; }
  .footer__cells { display: none; }
  .footer__logo { position: relative; left: auto; top: auto; grid-column: 1 / -1; margin-top: 2.75rem; width: 1.75rem; height: 1.75rem; }
  .footer__copyright {
    position: relative; left: auto; top: auto;
    grid-column: 1 / -1; margin-top: -1.5rem;
    font-size: 0.75rem; line-height: 0.9375rem;
  }
  .footer__pitchdeck {
    position: relative;
    display: block;
    grid-column: 1 / -1;
    margin-top: -0.75rem;
    height: 12rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--grey-dark);
    text-align: left;
  }
  .footer__pitchdeck-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
  .footer__pitchdeck-text {
    position: absolute; left: 0.875rem; bottom: 0.875rem;
    display: flex; flex-direction: column; gap: 0.25rem;
  }
  .footer__pitchdeck-text .t-ui { font-size: 0.8125rem; line-height: 1rem; }
  .footer__pitchdeck-text .t-small-regular { font-size: 0.75rem; line-height: 0.9375rem; opacity: 0.5; }

  .menu__anchor {
    left: 10%; right: 10%; bottom: calc(0.75rem + env(safe-area-inset-bottom));
    width: auto;
    transform: translateY(0.75rem);
  }
  body.is-ready .menu__anchor { transform: none; }
  .menu__bar { height: 3.25rem; border-radius: 1.625rem; }
  .menu__bar-label { left: 1.25rem; font-size: 0.8125rem; line-height: 1rem; }
  .menu__bar-lines { right: calc(1.3125rem + var(--bar-pill-width)); width: 1.375rem; }
  .menu__bar-pill { right: 0.4375rem; top: 0.4375rem; height: 2.375rem; border-radius: 1.1875rem; font-size: 0.8125rem; line-height: 1rem; }
  .menu__panel {
    left: 0; right: 0; bottom: 0;
    width: auto; height: auto;
    padding: 1.375rem 1.375rem calc(3.25rem + 1.625rem);
    border-radius: 1.375rem 1.375rem 1.8125rem 1.8125rem;
    clip-path: inset(calc(100% - 3.25rem) 0 0 round 1.375rem 1.375rem 1.8125rem 1.8125rem);
  }
  .menu.is-open .menu__panel {
    clip-path: inset(0 round 1.375rem 1.375rem 1.8125rem 1.8125rem);
  }
  .menu__content { position: relative; inset: auto; display: flex; flex-direction: column; }
  .menu__label { position: static; font-size: 0.75rem; line-height: 1rem; }
  .menu__links { position: static; margin-top: 0.625rem; gap: 0; }
  .menu__links .t-menu { display: block; font-size: 1.425rem; line-height: 2.5rem; letter-spacing: -0.02em; }
  .menu__rule { position: static; width: 100%; margin: 1.25rem 0 1rem; }
  .menu__social-label { position: static; font-size: 0.75rem; line-height: 1rem; }
  .menu__socials { position: static; margin-top: 0.125rem; flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .menu__socials .t-ui { font-size: 0.875rem; line-height: 2.25rem; }
  .menu__pitchdeck {
    position: static; width: 100%; height: 2.75rem;
    margin-top: 1rem; border-radius: 1.375rem;
    font-size: 0.8125rem;
  }

  .contact {
    padding: 0 calc(10% - 0.1875rem) calc(0.5625rem + env(safe-area-inset-bottom));
  }
  .contact__panel {
    width: 100%;
    margin-left: 0;
    max-height: calc(100vh - 1.5rem - env(safe-area-inset-bottom) - env(safe-area-inset-top));
    max-height: calc(100svh - 1.5rem - env(safe-area-inset-bottom) - env(safe-area-inset-top));
    overflow-y: auto;
    padding: 1.375rem 1.375rem calc(3.25rem + 1.625rem);
    border-radius: 1.375rem 1.375rem 1.8125rem 1.8125rem;
    overscroll-behavior: contain;
  }
  .contact__label { font-size: 0.75rem; line-height: 1rem; }
  .contact__title {
    margin-top: -0.375rem;
    font-size: 1.625rem;
    line-height: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  .contact__field { gap: 0.25rem; }
  .contact__field > span { font-size: 0.75rem; line-height: 1rem; }
  .contact__field input,
  .contact__field textarea {
    min-height: 2.75rem;
    padding: 0.625rem 0;
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 400;
  }
  .contact__submit {
    height: 2.75rem;
    margin-top: 0.375rem;
    border-radius: 1.375rem;
    font-size: 0.8125rem;
  }
  .contact__success-title { font-size: 1.625rem; line-height: 2rem; font-weight: 400; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .boot { display: none; }
  .hero__word span, .split-lines .line__inner { transform: none !important; }
  .hero__count, .hero__services li, .hero__eyebrow, .header-top, .booking, .service-card__desc, .capabilities { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   HOME PAGE
   ============================================================ */

/* ── header pitchdeck ───────────────────────────────────────── */
.header-pitchdeck {
  position: absolute;
  top: 7.375rem;
  right: 0.9375rem;
  width: 19.8125rem;
  height: 11.1875rem;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--grey-dark);
  color: #fff;
  text-align: left;
  pointer-events: auto;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.is-ready .header-pitchdeck { opacity: 1; transition-delay: 0.55s; }
.header-pitchdeck__media { position: absolute; inset: 0; overflow: hidden; }
.header-pitchdeck__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: pitch-drift 26s ease-in-out infinite alternate;
}
.header-pitchdeck__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%);
}
.header-pitchdeck__text {
  position: absolute; left: 0.9375rem; bottom: 0.875rem;
  display: flex; flex-direction: column; gap: 0.3125rem;
  z-index: 1;
}
.header-pitchdeck__text .t-small-regular { opacity: 0.5; }
.header-pitchdeck:hover .header-pitchdeck__media img { animation-play-state: paused; }
@keyframes pitch-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -2%, 0); }
}

/* ── home hero ──────────────────────────────────────────────── */
.home-hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  min-height: 36rem;
  overflow: hidden;
  color: #fff;
}
.home-hero__media { position: absolute; inset: 0; overflow: hidden; }
.home-hero__top { position: absolute; inset: 0; pointer-events: none; }
.home-hero__media img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 114%;
  object-fit: cover;
}
.home-hero__wordmark {
  position: absolute;
  bottom: 0.75rem;
  left: 0.625rem;
  right: auto;
  width: auto;
  height: auto;
  max-height: 16rem;
  max-width: calc(100% - 1.25rem);
  pointer-events: none;
  opacity: 0;
  translate: 0 2.5rem;
  transition: opacity 1s ease 0.1s, translate 1.25s var(--ease-soft) 0.1s;
}
body.is-ready .home-hero__wordmark { opacity: 1; translate: 0 0; }
.home-hero__tagline {
  position: absolute;
  left: calc(37.5% + 3.375rem);
  top: calc(100% - 20.1875rem);
  display: flex; flex-direction: column;
  white-space: pre-line;
  line-height: 1.125rem;
  opacity: 0;
  translate: 0 0.75rem;
  transition: opacity 0.8s ease 0.45s, translate 1s var(--ease-soft) 0.45s;
}
.home-hero__signature {
  position: absolute;
  left: calc(50% + 9rem);
  top: calc(100% - 20.375rem);
  transform: translateX(-100%);
  text-align: right;
  white-space: pre-line;
  line-height: 1.125rem;
  opacity: 0;
  translate: 0 0.75rem;
  transition: opacity 0.8s ease 0.5s, translate 1s var(--ease-soft) 0.5s;
}
body.is-ready .home-hero__tagline,
body.is-ready .home-hero__signature { opacity: 0.92; translate: 0 0; }
.home-hero__shade {
  position: absolute; inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* ── statement ──────────────────────────────────────────────── */
.statement {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #000;
  padding-top: 1.3125rem;
  padding-bottom: 10.3125rem;
}
.statement__inner { margin-left: calc(50% + 0.9375rem); }
.statement__lead {
  margin-top: 6.75rem;
  max-width: 36.5625rem;
  text-indent: 4em;
}
.statement__text {
  margin-top: 2.6875rem;
  max-width: 21.9375rem;
}
.eyebrow--dark { color: #000; }
.eyebrow__mark--dark { background: rgba(0, 0, 0, 0.1); }
.js .statement__text {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.8s ease, transform 1s var(--ease-soft);
}
.statement.is-revealed .statement__text { opacity: 1; transform: none; transition-delay: 0.12s; }

/* ── project list ───────────────────────────────────────────── */
.project-list {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #000;
}
.project-row {
  position: relative;
  display: flex;
  height: 35rem;
}
.project-row--right { flex-direction: row-reverse; }
.project-row__image {
  display: block;
  flex: 0 0 50%;
  height: 100%;
  overflow: hidden;
}
.project-row__media {
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  transition: opacity 0.12s ease;
}
.project-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-row__text {
  display: flex;
  flex: 0 0 50%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  color: #000;
}
.project-row--right .project-row__text { align-items: flex-end; text-align: right; }
.project-row__top { display: flex; align-self: stretch; align-items: stretch; }
.project-row--right .project-row__top { flex-direction: row-reverse; }
.project-row__view {
  display: flex; align-items: center; gap: 0.3125rem;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 0.3s ease, transform 0.5s var(--ease-soft);
}
.project-row__caption {
  display: flex; flex-direction: column;
  width: 16.25rem; max-width: 100%;
}
.project-row__title { font-size: max(0.875rem, 14px); line-height: 1.35; font-weight: 500; }
.project-row__cat { font-size: max(0.875rem, 14px); line-height: 1.35; opacity: 0.5; }
.project-row__year { display: none; font-size: max(0.875rem, 14px); line-height: 1.35; opacity: 0.5; }

.project-list a:focus-visible { outline-color: rgba(0, 0, 0, 0.65); }
.statement a:focus-visible { outline-color: rgba(0, 0, 0, 0.65); }

.project-list__pluses { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.project-list__plus {
  position: absolute; left: 50%;
  width: 11px; height: 11px;
  margin: -5px 0 0 -5px;
}
.project-list__plus::before,
.project-list__plus::after { content: ""; position: absolute; background: #000; }
.project-list__plus::before { left: 0; top: 5px; width: 11px; height: 1px; }
.project-list__plus::after { left: 5px; top: 0; width: 1px; height: 11px; }

.project-list__all { display: none; }

@media (hover: hover) and (pointer: fine) {
  .project-row::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
    background: linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.16)) 50% 0 / 1px 100% no-repeat;
    transition: opacity 0.5s ease;
  }
  .project-row:last-child::after { border-bottom: 1px solid rgba(0, 0, 0, 0.16); }
  .project-list.is-focused .project-row::after { opacity: 1; }
  .project-list.is-focused .project-row:not(.is-hovered) .project-row__media { opacity: 0; }
  .project-row.is-hovered .project-row__view { opacity: 1; transform: none; }
}

/* ── home mobile ────────────────────────────────────────────── */
@media (max-width: 767px) {
  .header-pitchdeck { display: none; }

  .home-hero { height: 100vh; height: 100svh; min-height: 36rem; }
  .home-hero__wordmark {
    bottom: auto; right: auto;
    left: 50%;
    top: calc(50% - 2.25rem);
    width: 85%;
    height: auto;
    max-width: none;
    max-height: none;
    transform: translateX(-50%);
    translate: 0 1.5rem;
  }
  body.is-ready .home-hero__wordmark { translate: 0 0; }
  .home-hero__tagline {
    left: calc(50% - 4.375rem);
    top: calc(50% - 7.0625rem);
  }
  .home-hero__signature {
    left: auto;
    right: calc(50% - 4.3125rem);
    top: calc(50% + 8.25rem);
    transform: none;
  }

  .statement { padding: 5.8125rem 1rem 4rem; }
  .statement__inner { margin-left: 0; position: relative; }
  .statement__eyebrow { position: absolute; left: 0; top: 0.1875rem; }
  .statement__lead {
    margin-top: 0;
    max-width: none;
    font-size: 2.125rem;
    line-height: 2.1875rem;
    text-indent: 6.125rem;
  }
  .statement__text {
    margin-left: calc(50% - 0.5rem);
    margin-top: 3rem;
    max-width: none;
    font-size: 1rem;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.6);
  }

  .project-list { padding-top: 0.5rem; padding-bottom: 3.75rem; }
  .project-row { display: block; height: auto; }
  .project-row__image {
    flex: none;
    width: auto;
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 0 1rem;
  }
  .project-row__media { height: 100%; }
  .project-row__text {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
    align-items: start;
    padding: 0.875rem 1rem 3.75rem;
    text-align: left;
  }
  .project-row--right .project-row__text { align-items: start; text-align: left; }
  .project-row__top { display: none; }
  .project-row__caption { display: contents; }
  .project-row__title { font-size: 0.9375rem; line-height: 1.4; }
  .project-row__cat { grid-column: 1; font-size: 0.875rem; line-height: 1.35; }
  .project-row__year {
    display: block;
    grid-column: 2; grid-row: 1;
    text-align: right;
    font-size: 0.875rem;
    line-height: 1.35;
  }
  .project-list__pluses { display: none; }
  .project-list__all {
    display: flex;
    height: 2.75rem;
    margin: -0.125rem 1rem 0;
    align-items: center; justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 2.5rem;
    font-size: 0.9375rem; line-height: 1.25rem;
    color: #000;
    transition: background-color 0.2s ease, transform 0.16s var(--ease-out);
  }
  .project-list__all:active { transform: scale(0.98); }

  body[data-page="home"] .closing { padding: var(--gutter) 1rem calc(25.0625rem + 6.25rem); }
  body[data-page="home"] .closing__eyebrow { left: 1rem; top: calc(var(--gutter) + 0.1875rem); }
  body[data-page="home"] .closing__text { max-width: 19.25rem; }
  body[data-page="home"] .closing__cta { margin-top: 1.875rem; }
  body[data-page="home"] .closing__tagline { left: 1rem; }
}

/* ============================================================
   WORKS PAGE
   ============================================================ */

/* ── hero filters / view switch ─────────────────────────────── */
.works-hero__filters {
  position: absolute;
  left: 1.8125rem;
  bottom: calc(25.1875 * var(--vw-rem));
  display: flex;
  gap: 0.375rem;
}
.works-hero__filter {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.875rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2.1875rem;
  font-size: max(0.875rem, 14px);
  font-weight: 500;
  line-height: 1.125rem;
  color: #fff;
  transition: background-color var(--duration-hover) ease, color var(--duration-hover) ease, border-color var(--duration-hover) ease;
}
.works-hero__filter-count {
  font-size: max(0.6875rem, 11px);
  opacity: 0.45;
}
.works-hero__filter:hover { background: rgba(255, 255, 255, 0.1); }
.works-hero__filter.is-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.works-hero__switch {
  position: absolute;
  left: calc(68.75% - 0.03125rem);
  top: 23.775rem;
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  align-items: flex-start;
}
.works-hero__switch button {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  font-size: max(0.875rem, 14px);
  font-weight: 500;
  line-height: 1.125rem;
  color: #fff;
  opacity: 0.4;
  transition: opacity var(--duration-hover) ease;
}
.works-hero__switch button.is-on { opacity: 1; }
.works-hero__switch button i {
  display: block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
  transform: scale(0.4);
  opacity: 0;
  transition: opacity var(--duration-hover) ease, transform 0.4s var(--ease-soft);
}
.works-hero__switch button.is-on i { transform: scale(1); opacity: 1; }

/* ── project index ──────────────────────────────────────────── */
.works-index {
  position: relative;
  z-index: 2;
  color: #fff;
}
.works-index__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 31.5rem;
  position: relative;
}
.works-cell { position: relative; display: block; }
.works-cell--image { overflow: hidden; }
.works-cell--image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft), opacity 0.4s ease;
}
.works-cell--image:hover img { transform: scale(1.02); }
.works-cell--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  color: #fff;
}
.works-cell--right { align-items: flex-end; text-align: right; }
.works-cell__top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}
.works-cell--right .works-cell__top { flex-direction: row-reverse; }
.works-cell__rank {
  display: none;
  font-size: 0.8125rem; line-height: 1rem;
  font-weight: 500; opacity: 0.5;
}
.works-cell__view {
  display: flex; align-items: center; gap: 0.3125rem;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 0.3s ease, transform 0.5s var(--ease-soft);
}
.works-cell--text.is-hovered .works-cell__view,
.works-cell--text:focus-visible .works-cell__view { opacity: 1; transform: none; }
.works-cell__caption { display: flex; flex-direction: column; width: 16.25rem; max-width: 100%; }
.works-cell__name { font-size: max(0.875rem, 14px); line-height: 1.35; font-weight: 500; }
.works-cell__excerpt { font-size: max(0.875rem, 14px); line-height: 1.35; opacity: 0.6; }
.works-cell__services { display: none; font-size: 0.875rem; line-height: 1.1875rem; opacity: 0.5; }
.works-cell--black { background: #000; }
.works-cell--awards {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--red);
  color: #fff;
}
.works-cell__awards-label { text-align: right; }
.works-cell__awards-number {
  margin-top: auto;
  margin-left: -0.25rem;
  font-size: 10rem;
  line-height: 9.375rem;
  letter-spacing: -0.04em;
}
.works-cell__awards-text {
  margin-top: 0.625rem;
  font-size: max(0.9375rem, 15px);
  line-height: 1.1875rem;
}

/* ── list view ──────────────────────────────────────────────── */
.works-index__list {
  margin: 0;
  padding: 0 1.625rem;
  list-style: none;
}
.works-row {
  position: relative;
  display: grid;
  grid-template-columns: calc(50% - 1.625rem) 25% 1fr auto;
  align-items: center;
  height: 4.5625rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition: height 0.6s var(--ease-soft);
  color: #fff;
}
.works-index__list li:last-child .works-row { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.works-row__thumb {
  position: absolute;
  left: 0; top: 50%;
  width: 4.625rem; height: 2.875rem;
  translate: 0 -50%;
  overflow: hidden;
  transition: width 0.6s var(--ease-soft), height 0.6s var(--ease-soft);
}
.works-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.works-row__name {
  padding-left: 5.75rem;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  transition: padding-left 0.6s var(--ease-soft);
}
.works-row__services { font-size: max(0.875rem, 14px); line-height: 1.35; opacity: 0.5; }
.works-row__year {
  justify-self: start;
  padding: 0.25rem 0.5rem;
  border-radius: 1.25rem;
  background: var(--grey-dark);
  font-size: max(0.6875rem, 11px);
  font-weight: 500;
  line-height: 1.5;
}
.works-row__dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: #fff;
  transition: background-color var(--duration-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .works-row:hover { height: 10.625rem; }
  .works-row:hover .works-row__thumb { width: 14.75rem; height: 9.125rem; }
  .works-row:hover .works-row__name { padding-left: 15.875rem; }
  .works-row:hover .works-row__dot { background: var(--red); }
}

/* reveal animation for rendered cells */
@keyframes works-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}
.works-in { animation: works-in 0.8s var(--ease-soft) both; animation-delay: calc(var(--i, 0) * 35ms); }

/* closing boxes on works */
.closing[data-boxes="full"] .closing__box--top,
.closing[data-boxes="full"] .closing__box--bottom { display: block; }
.closing__box--bottom {
  height: 22.125rem;
  left: calc(75% + 0.0625rem);
  right: 0;
  bottom: 0;
  display: none;
}

/* works mobile */
@media (max-width: 767px) {
  .works-hero__filters { display: none; }
  .works-hero__switch {
    position: relative;
    left: auto; top: auto;
    grid-column: 2;
    grid-row: 2;
    margin-top: 2.5rem;
    margin-left: -0.125rem;
    flex-direction: column;
    gap: 0.3125rem;
  }
  .works-hero__switch button { flex-direction: row-reverse; gap: 0.6875rem; font-size: 14px; }
  .works-hero__switch button i { width: 0.5625rem; height: 0.5625rem; }

  .works-index__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 18.75rem;
  }
  .works-cell--image { grid-column: span 1 !important; }
  .works-cell--black { display: none; }
  .works-cell--text {
    padding: 1.125rem 1.125rem 1.25rem;
    align-items: flex-start;
    text-align: left;
  }
  .works-cell--right { align-items: flex-start; text-align: left; }
  .works-cell--right .works-cell__top { flex-direction: row; }
  .works-cell__rank { display: block; }
  .works-cell__view { opacity: 1; transform: none; }
  .works-cell__view-label { display: none; }
  .works-cell__caption { width: 100%; }
  .works-cell__name { font-size: 0.9375rem; line-height: 1.3125rem; }
  .works-cell__excerpt { display: none; }
  .works-cell__services { display: block; }
  .works-cell--awards {
    grid-column: 1 / -1;
    padding: 1.125rem var(--gutter) 1.5rem;
  }
  .works-cell__awards-number { font-size: 7rem; line-height: 6.5rem; }
  .works-cell__awards-text { max-width: 18rem; font-size: 1rem; line-height: 1.5rem; }

  .works-index__list { padding: 0 var(--gutter); }
  .works-row {
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 1rem;
    height: 4.75rem;
  }
  .works-row__thumb { width: 3.75rem; height: 2.5rem; }
  .works-row__name {
    grid-column: 1; grid-row: 1;
    padding-left: 4.875rem;
    font-size: 0.9375rem; line-height: 1.3125rem;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  .works-row__services { display: none; }
  .works-row__year {
    grid-column: 2; grid-row: 1 / -1;
    align-self: center;
    justify-self: end;
    padding: 0;
    background: transparent;
    font-size: 0.875rem;
    opacity: 0.5;
  }
  .works-row__dot { grid-column: 3; grid-row: 1 / -1; width: 0.4375rem; height: 0.4375rem; }

  body[data-page="works"] .closing__text {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .closing[data-boxes="full"] .closing__box--bottom { display: none; }
}

/* works tablet — iPad portrait / phone landscape (768–1023) */
@media (min-width: 768px) and (max-width: 1023px) {
  .works-index__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 24rem;
  }
  .works-hero__filters { flex-wrap: nowrap; }
  .works-hero__filter { padding: 0 0.5rem; }
  .works-cell--image { grid-column: span 1 !important; }
  .works-cell--black { display: none; }
  .works-cell--text { padding: 1.25rem; }
  .works-cell__caption { width: auto; }
  .works-cell__excerpt { display: none; }
  .works-cell--awards { grid-column: 1 / -1; }
}

/* ── curated portfolio pages ─────────────────────────────────── */
.portfolio-head {
  position: relative;
  z-index: 2;
  padding: 3.5rem 1.625rem 2.5rem;
  background: #000;
  color: #fff;
}
.portfolio-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke-color);
}
.portfolio-head__body { display: grid; gap: 1rem; }
.portfolio-head__intro {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.65);
}
.portfolio-head__note { color: #ff8a7d; }
.portfolio-empty {
  padding: 3rem 1.625rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 767px) {
  .portfolio-head { padding: 2.5rem 1rem 2rem; }
  .portfolio-head__inner { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-empty { padding: 2rem 1rem; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── about hero ─────────────────────────────────────────────── */
.about-hero__tagline {
  position: absolute;
  left: calc(25% + 0.125rem);
  top: calc(100% + 2.375rem);
  display: flex; flex-direction: column;
  white-space: pre-line;
  line-height: 1.125rem;
}
.about-hero__signature {
  position: absolute;
  left: calc(25% + 5.75rem);
  top: calc(100% + 11.5rem);
  text-align: right;
  line-height: 1.125rem;
}

/* ── key figures ────────────────────────────────────────────── */
.key-figures {
  position: relative;
  z-index: 2;
  height: 65.625rem;
  margin-top: 20.5625rem;
  color: #fff;
}
.key-figures__mark {
  position: absolute;
  left: calc(56.25% + 2.15625rem);
  top: -12.8125rem;
  font-size: 17.4342rem;
  line-height: 19.8703rem;
  letter-spacing: -0.04em;
  color: var(--red);
}
.key-figures__year {
  position: absolute;
  left: calc(56.25% + 2.84375rem);
  top: -11.8125rem;
  font-size: 11.875rem;
  line-height: 14.2466rem;
  letter-spacing: -0.04em;
  white-space: pre;
}
.key-figures__figure {
  position: absolute;
  font-size: 11.875rem;
  line-height: 14.2466rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.key-figures__figure--one { left: 0.625rem; top: 1.125rem; line-height: 11.625rem; }
.key-figures__figure--two { left: calc(43.75% + 1.90625rem); top: 14.25rem; }
.key-figures__figure--three { left: 0.625rem; top: 27.9375rem; }
.key-figures__and {
  position: absolute;
  left: calc(25% + 0.25rem);
  top: 15.5625rem;
  font-size: 11.875rem;
  line-height: 11.625rem;
  letter-spacing: -0.04em;
  color: var(--red);
}
.key-figures__awards {
  position: absolute;
  left: calc(68.75% - 0.03125rem);
  top: 41.5rem;
  width: 17.25rem;
}
.key-figures__awards-label {
  padding-bottom: 1.1875rem;
  border-bottom: 1px solid var(--stroke-color);
  text-align: right;
}
.key-figures__awards-text {
  margin-top: 1.125rem;
  width: 16.5625rem;
  font-size: max(1.0625rem, 17px);
  line-height: 1.25rem;
  letter-spacing: -0.0053em;
}
.key-figures__logos {
  margin-top: 3rem;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 2rem;
}
.key-figures__logos img { display: block; height: 1.5rem; width: auto; }

/* ── team ───────────────────────────────────────────────────── */
.team {
  position: relative;
  z-index: 2;
  padding-top: 2.875rem;
  color: #fff;
}
.team__eyebrow {
  position: absolute;
  left: calc(25% + 0.125rem);
  top: 0;
}
.team__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 31.5rem);
}
.team__grid::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-image:
    linear-gradient(to right, transparent 25%, var(--stroke-color) 25%, var(--stroke-color) calc(25% + 1px), transparent calc(25% + 1px), transparent 50%, var(--stroke-color) 50%, var(--stroke-color) calc(50% + 1px), transparent calc(50% + 1px), transparent 75%, var(--stroke-color) 75%, var(--stroke-color) calc(75% + 1px), transparent calc(75% + 1px)),
    linear-gradient(to bottom, var(--stroke-color) 1px, transparent 1px);
  background-size: 100% 100%, 100% 31.5rem;
}
.team__grid.is-focused::before { opacity: 1; }
.team__grid::after {
  content: "";
  position: absolute; inset-inline: 0; bottom: 0;
  height: 1px; background: var(--stroke-color);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.team__grid.is-focused::after { opacity: 1; }
.team__photo { position: relative; overflow: hidden; }
.team__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.12s ease;
}
.team__grid.is-focused .team__photo:not(.is-hovered) img { opacity: 0; }
.team__name {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 1.25rem 1.25rem 1.3125rem;
  font-size: max(0.875rem, 14px);
  line-height: 1.35;
  overflow: hidden;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.team__identity { display: flex; flex-direction: column; margin-top: auto; }
.team__bio {
  max-width: 18rem;
  margin-bottom: 1.5rem;
  font-size: max(0.8125rem, 13px);
  line-height: 1.4;
  white-space: pre-line;
  opacity: 0.7;
}
.team__member-name { font-weight: 500; }
.team__role { opacity: 0.5; }
.team__name.is-hovered { background: #fff; color: #000; }
.team__cross {
  position: absolute;
  z-index: 3;
  width: 11px; height: 11px;
  margin: -5px 0 0 -5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.team__cross::before,
.team__cross::after { content: ""; position: absolute; background: #fff; }
.team__cross::before { left: 0; top: 5px; width: 11px; height: 1px; }
.team__cross::after { left: 5px; top: 0; width: 1px; height: 11px; }
.team__grid.is-focused .team__cross { opacity: 1; }

/* ── values ─────────────────────────────────────────────────── */
.values {
  position: relative;
  z-index: 2;
  padding-top: 11.0625rem;
  padding-bottom: 10rem;
  color: #fff;
}
.values__list { border-bottom: 1px solid var(--stroke-color); }
.values__item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--stroke-color);
  padding: 3rem 0 5rem;
}
.values__num {
  grid-column: 1; grid-row: 1;
  padding-left: var(--gutter);
  font-size: max(0.875rem, 14px);
  opacity: 0.5;
}
.values__title {
  grid-column: 2 / -1; grid-row: 1;
  margin: 0;
  max-width: 42rem;
  padding-left: 1.25rem;
  font-size: 3rem;
  line-height: 3.25rem;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.values__text {
  grid-column: 3 / 4; grid-row: 2;
  margin-top: 4rem;
  padding-right: 1.25rem;
  font-size: max(1rem, 16px);
  line-height: 1.43rem;
  opacity: 0.6;
}

/* ── about services ─────────────────────────────────────────── */
.about-services {
  position: relative;
  z-index: 2;
  color: #fff;
}
.about-services__word-top {
  position: relative;
  z-index: 0;
  margin-left: -0.0972em;
  margin-bottom: 0.0194em;
  font-size: calc(var(--vw-rem) * 29.66);
  line-height: 0.735;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
}
.about-services__body {
  position: relative;
  height: 82.125rem;
  background: #000;
  color: #fff;
}
.about-services__word-bottom {
  position: relative;
  z-index: 1;
  margin-left: -0.1222em;
  padding-top: 0.0223em;
  font-size: calc(var(--vw-rem) * 29.66);
  line-height: 0.735;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
}
.about-services__list {
  position: absolute;
  left: 6.5rem;
  top: 35.0625rem;
}
.about-services__name {
  display: block;
  color: #fff;
  text-align: left;
  font-size: 3rem;
  line-height: 5.125rem;
  letter-spacing: -0.0208em;
  transition: color var(--duration-hover) ease;
}
.about-services__name:hover,
.about-services__name.is-active { color: var(--red); }
.about-services__aside {
  position: absolute;
  left: calc(50% - 0.125rem);
  top: 41.9375rem;
  width: 12.25rem;
}
.about-services__desc {
  margin-top: 0.875rem;
  font-size: max(0.9375rem, 15px);
  line-height: 1.1875rem;
  opacity: 0.8;
}
.about-services__visual {
  position: absolute;
  left: calc(50% - 0.1875rem);
  right: 0; top: 51.75rem; bottom: 0;
  overflow: hidden;
}
.about-services__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.about-services__project {
  position: absolute;
  right: calc(50% + 0.8125rem);
  bottom: 0.6875rem;
  display: flex; align-items: center; gap: 0.6875rem;
  color: #fff;
}
.about-services__project-text {
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.about-services__project-text .t-ui-regular { opacity: 0.5; }
.about-services__project-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 1.875rem; height: 1.875rem;
  border-radius: 50%;
  background: #fff; color: #000;
}

/* ── light closing ──────────────────────────────────────────── */
.closing--light .closing__box--text { background: #fff; }
.closing--light .closing__box--top { top: 0; }
.closing--light .closing__word { bottom: -0.1232em; left: -0.3215em; color: #fff; }
.closing--light .closing__eyebrow { color: #000; }
.closing--light .closing__eyebrow .eyebrow__mark--muted { background: rgba(0, 0, 0, 0.1); }
.closing--light .closing__text { color: #000; }
.closing--light .closing__cta { color: #000; }
.closing--light .closing__cta .pill__arrow { background: #000; color: #fff; }
.closing--light .closing__cta:hover .pill__label { background: #000; color: #fff; }
.closing--light .closing__tagline,
.closing--light .closing__signature { color: #fff; }

/* ── about mobile ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    height: auto;
    min-height: 0;
    padding-top: 15rem;
  }
  .about-hero .hero__word {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 7rem 0 0 -0.3em;
    padding-bottom: 0.0527em;
    font-size: 11rem;
    bottom: auto; left: auto;
  }
  .about-hero .hero__text {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 var(--gutter);
    width: auto;
    bottom: auto; left: auto;
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: -0.03em;
    text-indent: 6.5rem;
  }
  .about-hero__tagline {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    left: auto; top: auto;
    margin-top: 2.5rem;
    padding-left: 0.5rem;
    font-size: 0.875rem; line-height: 1.125rem;
  }
  .about-hero__signature {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    left: auto; top: auto;
    margin-top: 2.5rem;
    padding-left: var(--gutter);
    text-align: left;
    font-size: 0.875rem; line-height: 1.125rem;
  }

  .key-figures {
    display: flex; flex-direction: column;
    height: auto;
    margin-top: 0;
    padding: 2.5rem 0 7rem;
    background: #000;
  }
  .key-figures__mark,
  .key-figures__year,
  .key-figures__and { display: none; }
  .key-figures__figure {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    border-top: 1px solid var(--stroke-color);
    padding: 0.75rem var(--gutter) 2rem calc(var(--gutter) - 0.25rem);
    font-size: 8rem;
    line-height: 0.9;
    letter-spacing: -0.04em;
  }
  .key-figures__label {
    padding-left: 0.25rem;
    padding-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    letter-spacing: normal;
  }
  .key-figures__awards {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: auto;
    padding: 2.5rem var(--gutter) 0;
  }
  .key-figures__awards-label { display: none; }
  .key-figures__awards-text {
    grid-column: 2; grid-row: 1;
    margin: 0 0 0 0.25rem;
    width: auto;
    font-size: 1rem; line-height: 1.5rem; letter-spacing: normal;
  }
  .key-figures__logos {
    grid-column: 2; grid-row: 2;
    margin: 3rem 0 0 0.25rem;
    gap: 1.5rem;
  }
  .key-figures__logos img { height: 1.25rem; }

  .team { padding-top: 5rem; background: #000; }
  .team__eyebrow { left: var(--gutter); top: 1.5rem; }
  .team__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 18.75rem;
    background: #000;
  }
  .team__grid::before,
  .team__grid::after,
  .team__cross { display: none; }
  .team__photo,
  .team__name { grid-area: auto !important; }
  .team__photo { grid-column: var(--m-photo) !important; grid-row: var(--m-row) !important; }
  .team__name {
    grid-column: var(--m-name) !important; grid-row: var(--m-row) !important;
    padding: 1rem 1.125rem 1.25rem;
    font-size: 0.875rem; line-height: 1.1875rem;
  }
  .team__bio {
    max-width: none;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    line-height: 1.25rem;
  }
  .team__name::after {
    content: ""; position: absolute; inset: 0;
    border-left: 1px solid #3d3d3d;
    border-top: 1px solid #3d3d3d;
    pointer-events: none;
  }
  .team__photo::after {
    content: ""; position: absolute; inset: 0;
    border-left: 1px solid #3d3d3d;
    border-top: 1px solid #3d3d3d;
    pointer-events: none;
  }
  .team__member-name { font-size: 0.9375rem; line-height: 1.3125rem; }
  .team__name.is-hovered { background: transparent; color: #fff; }

  .values {
    padding-top: 0;
    padding-bottom: 4rem;
    background: #000;
  }
  .values__list { border-bottom: 0; }
  .values__item {
    display: block;
    padding: 1.5rem var(--gutter) 5.5rem;
  }
  .values__num { display: block; padding: 0; }
  .values__title {
    margin-top: 3.5rem;
    padding-left: 0;
    max-width: none;
    font-size: 1.75rem;
    line-height: 2.1875rem;
    letter-spacing: -0.0208em;
  }
  .values__text {
    margin-top: 1.75rem;
    margin-left: 33.333%;
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .about-services { display: none; }

  body[data-page="about"] .closing__text { color: #fff; }
  body[data-page="about"] .closing__eyebrow { color: #fff; }
  body[data-page="about"] .closing__eyebrow .eyebrow__mark--muted { background: rgba(255, 255, 255, 0.216); }
  body[data-page="about"] .closing__cta { color: #fff; }
  body[data-page="about"] .closing__cta .pill__arrow { background: #fff; color: #000; }
  body[data-page="about"] .closing__cta:hover .pill__label { background: #fff; color: #000; }
  body[data-page="about"] .closing__tagline,
  body[data-page="about"] .closing__signature { color: #fff; }
}

/* about tablet — iPad portrait / phone landscape (768–1023) */
@media (min-width: 768px) and (max-width: 1023px) {
  .key-figures {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0 0 7rem;
    background: #000;
  }
  .key-figures__mark,
  .key-figures__year,
  .key-figures__and { display: none; }
  .key-figures__figure {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    border-top: 1px solid var(--stroke-color);
    padding: 0.75rem var(--gutter) 2rem calc(var(--gutter) - 0.25rem);
    font-size: 8rem;
    line-height: 0.9;
    letter-spacing: -0.04em;
  }
  .key-figures__label {
    padding-left: 0.25rem;
    padding-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    letter-spacing: normal;
  }
  .key-figures__awards {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: auto;
    padding: 2.5rem var(--gutter) 0;
  }
  .key-figures__awards-label { display: none; }
  .key-figures__awards-text {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 0 0.25rem;
    width: auto;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: normal;
  }
  .key-figures__logos {
    grid-column: 2;
    grid-row: 2;
    margin: 3rem 0 0 0.25rem;
    gap: 1.5rem;
  }
  .key-figures__logos img { height: 1.25rem; }
}

/* ── case study / project detail ─────────────────────────────── */
.case {
  position: relative;
  z-index: 2;
  background: #000;
  padding: 1.5rem;
}
.case__sheet {
  position: relative;
  background: #fff;
  color: #111;
}
.case__bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: max(0.8125rem, 13px);
  line-height: 1.2;
}
.case__bar-name { display: flex; align-items: center; gap: 0.35rem; min-width: 0; }
.case__bar-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case__slash { color: rgba(0, 0, 0, 0.5); }
.case__count { justify-self: center; font-variant-numeric: tabular-nums; }
.case__close { justify-self: end; }
.case__intro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.25rem;
  padding: 4.5rem 1.5rem 6rem;
}
.case__lead { grid-column: 1 / -1; }
.case__headline { display: flex; align-items: flex-start; gap: 0.85rem; }
.case__year {
  display: inline-block;
  flex: none;
  margin-top: 0.45rem;
  padding: 0.3em 0.62em 0.34em;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: max(0.72rem, 12px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}
.case__sentence {
  max-width: 52rem;
  font-size: clamp(2rem, 3.35vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: #111;
}
.case__text {
  max-width: 52rem;
  margin-top: 2.25rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: max(1rem, 16px);
  line-height: 1.42;
}
.case__text p + p { margin-top: 0.85rem; }
.case__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1.25rem;
  margin-top: 3.5rem;
}
.case__fact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  padding-top: 0.7rem;
}
.case__fact dt { color: rgba(0, 0, 0, 0.5); font-size: max(0.75rem, 12px); }
.case__fact dd { margin: 0; font-size: max(0.875rem, 14px); }
.case__guideline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.case__guideline-copy { display: flex; flex-direction: column; gap: 0.35rem; }
.case__guideline-file { color: rgba(0, 0, 0, 0.5); font-size: max(0.75rem, 12px); word-break: break-all; }
.case__guideline-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.case__guideline-download { color: rgba(0, 0, 0, 0.6); font-size: max(0.8125rem, 13px); }
.case__guideline-view { color: #111; }
.case__guideline-view .pill__arrow { background: #111; color: #fff; }
.case__guideline-view:hover .pill__label { background: #111; color: #fff; }

.case__visuals {
  columns: 2;
  column-gap: 1rem;
  padding: 0 1rem 1rem;
}
.case__visuals--single { columns: 1; }
.case__visual {
  position: relative;
  overflow: hidden;
  background: #ececec;
  break-inside: avoid;
  margin: 0 0 1rem;
}
.case__visual img,
.case__visual video {
  display: block;
  width: 100%;
  height: auto;
}
.case__visual video { aspect-ratio: 16 / 9; object-fit: cover; }
.case__visual figcaption {
  padding: 0.65rem 0.2rem 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: max(0.75rem, 12px);
}
.case__next {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 1.5rem;
  margin: 0 1rem;
  padding: 4rem 0.5rem 4.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.case__next-text { display: flex; flex-direction: column; gap: 0.5rem; }
.case__next-label { color: rgba(0, 0, 0, 0.5); font-size: max(0.75rem, 12px); }
.case__next-name {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.case__next-thumb {
  width: 9rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececec;
}
.case__next-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-soft); }
.case__next:hover .case__next-thumb img { transform: scale(1.04); }
.case__next-arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.case__next:hover .case__next-arrow { background: #111; color: #fff; transform: rotate(45deg); }

@media (max-width: 767px) {
  .case { padding: 0 0 1rem; }
  .case__bar { padding: 0.95rem 1rem; font-size: max(0.75rem, 12px); }
  .case__intro { grid-template-columns: 1fr; padding: 3rem 1rem 3.5rem; }
  .case__headline { gap: 0.6rem; }
  .case__year { margin-top: 0.3rem; font-size: max(0.68rem, 11px); }
  .case__sentence { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .case__text { margin-top: 1.75rem; }
  .case__facts { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }
  .case__guideline { margin: 0 0.625rem; padding: 1.1rem 0; }
  .case__visuals { columns: 1; padding: 0 0.625rem 0.625rem; }
  .case__visual { margin-bottom: 0.625rem; }
  .case__next { margin: 0 0.625rem; padding: 3rem 0.375rem 3.5rem; gap: 1rem; }
  .case__next-thumb { width: 5.5rem; }
  .case__next-arrow { width: 2.25rem; height: 2.25rem; }
}

/* ── careers / vacancies ─────────────────────────────────────── */
.careers {
  position: relative;
  z-index: 2;
  background: #000;
  color: #fff;
  padding: 7.5rem 1.625rem 7.5rem;
}
.careers__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke-color);
}
.careers__count { opacity: 0.5; }
.careers__list { margin-top: 3rem; }
.career {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.25rem 4rem;
  padding: 2.75rem 0 3.25rem;
  border-top: 1px solid var(--stroke-color);
}
.career:last-child { border-bottom: 1px solid var(--stroke-color); }
.career__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 0;
}
.career__num { flex: none; padding-top: 0.4rem; opacity: 0.5; }
.career__title {
  flex: 1;
  min-width: 0;
  font-size: clamp(1.9rem, 3.1vw, 3.1rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.career__apply { flex: none; align-self: flex-start; }
.career__meta {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-left: 2.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: max(0.75rem, 12px);
}
.career__body { grid-column: 2; grid-row: 2; min-width: 0; }
.career__desc { max-width: 42rem; color: rgba(255, 255, 255, 0.7); }
.career__req {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: max(0.875rem, 14px);
}
.career__req li { position: relative; padding-left: 1.15rem; }
.career__req li::before { content: "—"; position: absolute; left: 0; opacity: 0.5; }
.careers__empty { margin-top: 3rem; padding: 3rem 0 1rem; border-top: 1px solid var(--stroke-color); }
.careers__empty-title {
  max-width: 44rem;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.careers__empty-text { max-width: 40rem; margin-top: 1.25rem; color: rgba(255, 255, 255, 0.6); }

/* ── application page ────────────────────────────────────────── */
.apply-intro { padding-bottom: 3rem; }
.apply-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  padding: 0 1.5rem 5rem;
}
.apply-field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.apply-field > span { color: rgba(0, 0, 0, 0.5); font-size: max(0.75rem, 12px); }
.apply-field em { font-style: normal; opacity: 0.7; }
.apply-field input,
.apply-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: transparent;
  padding: 0.6rem 0;
  color: #111;
  font: inherit;
  font-size: max(1rem, 16px);
  outline: none;
  transition: border-color 0.2s ease;
}
.apply-field input:focus,
.apply-field textarea:focus { border-color: #111; }
.apply-field textarea { min-height: 8rem; resize: vertical; }
.apply-field--full { grid-column: 1 / -1; }
.apply-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.4rem;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: max(0.875rem, 14px);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.apply-button:hover { background: #fff; color: #111; }
.apply-note { color: rgba(0, 0, 0, 0.5); font-size: max(0.75rem, 12px); }
.apply-alert {
  grid-column: 1 / -1;
  padding: 1rem 1.2rem;
  border: 1px solid #f0c4bd;
  border-radius: 0.75rem;
  background: #fff2ef;
  color: #8a1f12;
  font-size: max(0.875rem, 14px);
}
.apply-alert ul { display: grid; gap: 0.25rem; }
.apply-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.apply-success { padding-bottom: 5rem; }
.apply-success__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}
.apply-link { color: rgba(0, 0, 0, 0.6); }

@media (max-width: 767px) {
  .careers { padding: 5.5rem 1rem 5.5rem; }
  .careers__list { margin-top: 2rem; }
  .career { grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem 0 2.5rem; }
  .career__top { flex-wrap: wrap; gap: 0.75rem 1rem; }
  .career__num { padding-top: 0; }
  .career__title { flex-basis: calc(100% - 4rem); font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .career__apply { order: 3; }
  .career__meta { grid-column: 1; grid-row: auto; padding-left: 0; }
  .career__body { grid-column: 1; grid-row: auto; }
  .apply-form { grid-template-columns: 1fr; padding: 0 1rem 6rem; }
  .apply-field__full, .apply-field--full { grid-column: 1; }
  .apply-form__actions { margin-top: 0.5rem; }
}


/* ── articles listing ───────────────────────────────────────── */
.articles {
  position: relative;
  z-index: 2;
  background: #000;
  color: #fff;
  padding: 7.5rem 1.625rem 7.5rem;
}
.articles__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke-color);
}
.articles__count { opacity: 0.5; }
.articles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 1.25rem;
  margin-top: 3rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke-color);
  color: #fff;
}
.article-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.article-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-soft);
}
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
}
.article-card__title {
  margin-top: 0.6rem;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.article-card__excerpt {
  max-width: 34rem;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: max(0.9375rem, 15px);
  line-height: 1.4;
}
.article-card__more { margin-top: 1.25rem; opacity: 0.6; }
.articles__empty {
  margin-top: 3rem;
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--stroke-color);
}
.articles__empty h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.articles__empty p { margin-top: 1rem; color: rgba(255, 255, 255, 0.6); }

/* ── article page ───────────────────────────────────────────── */
.article-intro { padding-bottom: 2.5rem; }
.article-byline { margin-top: 1.5rem; color: rgba(0, 0, 0, 0.5); }
.article__cover {
  margin: 0 1rem;
  background: #eee;
}
.article__cover img { display: block; width: 100%; height: auto; }
.article__body {
  max-width: 50rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: #111;
}
.article__body p,
.article__body li {
  font-size: max(1.05rem, 17px);
  line-height: 1.65;
}
.article__body p { margin: 0 0 1.25em; }
.article__body h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.article__body h3 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.article__body h4 { margin: 1.5rem 0 0.6rem; font-size: 1.15rem; font-weight: 500; }
.article__body ul,
.article__body ol {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.5em 1.25em;
}
.article__body blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid #111;
  font-size: max(1.15rem, 19px);
  line-height: 1.5;
}
.article__body a { text-decoration: underline; text-underline-offset: 3px; }
.article__body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0;
}
.article__body figure { margin: 2rem 0; }
.article__body figure img { margin: 0; }
.article__body figcaption {
  margin-top: 0.6rem;
  color: rgba(0, 0, 0, 0.5);
  font-size: max(0.75rem, 12px);
}
.article__body code {
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: #f0f0f0;
  font-size: 0.9em;
}
.article__body pre {
  margin: 2rem 0;
  padding: 1.25rem;
  overflow: auto;
  border-radius: 0.5rem;
  background: #111;
  color: #fff;
}
.article__footer {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

@media (max-width: 767px) {
  .articles { padding: 5.5rem 1rem 5.5rem; }
  .articles__grid { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2rem; }
  .article__cover { margin: 0 0.625rem; }
  .article__body { padding: 2.25rem 1rem 3rem; }
  .article__body p, .article__body li { font-size: max(1rem, 16px); }
  .article__footer { padding: 0 1rem 4rem; }
}

/* ── 404 ────────────────────────────────────────────────────── */
.notfound {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.notfound__media { position: absolute; inset: 0; overflow: hidden; }
.notfound__media img { width: 100%; height: 100%; object-fit: cover; }
.notfound__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.45) 52%, rgba(0, 0, 0, 0.12) 100%);
}
.notfound__inner {
  position: relative;
  z-index: 2;
  width: min(38rem, 100%);
  padding: 9rem 1.625rem 5.5rem;
}
.notfound__title {
  margin-top: 2.25rem;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.notfound__text {
  max-width: 26rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: max(1rem, 16px);
  line-height: 1.4;
}
.notfound__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.notfound__link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: max(0.875rem, 14px);
  cursor: pointer;
}
.notfound__link:hover { color: #fff; }
.notfound__word {
  position: absolute;
  right: -0.06em;
  bottom: -0.14em;
  z-index: 1;
  color: #fff;
  font-size: clamp(11rem, 32vw, 40rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.95;
}

@media (max-width: 767px) {
  .notfound__inner { width: 100%; padding: 7rem 1rem 9rem; }
  .notfound__title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .notfound__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.88)); }
  .notfound__word { right: -0.12em; bottom: 1.25rem; font-size: 38vw; opacity: 0.88; }
}
