:root {
  --bg: #020202;
  --panel: #080808;
  --panel-soft: #101010;
  --ink: #f7f3ef;
  --muted: rgba(247, 243, 239, 0.62);
  --faint: rgba(247, 243, 239, 0.18);
  --line: rgba(247, 243, 239, 0.14);
  --blush: #f4d8df;
  --lilac: #d8d4ff;
  --red: #ec3030;
  --amber: #c8a45d;
  --blue: #9ed7ff;
  --max: 1360px;
  --nav-h: 39px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body > * {
  min-width: 0;
}

body.is-locked {
  overflow: hidden;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, var(--max)) minmax(24px, 1fr);
  align-items: center;
  background: #050505;
  color: var(--ink);
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__brand,
.preloader__count {
  grid-column: 2;
  font-size: clamp(32px, 9vw, 140px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.preloader__brand {
  display: flex;
  width: min(500px, 74vw);
  align-self: start;
  margin-top: 12vh;
}

.preloader__brand img {
  width: 100%;
  height: auto;
}

.preloader__count {
  align-self: end;
  justify-self: end;
  margin-bottom: 12vh;
  color: var(--blush);
}

.preloader__line {
  grid-column: 2;
  height: 1px;
  background: var(--line);
  transform-origin: left;
  animation: loadLine 1.2s ease forwards;
}

@keyframes loadLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  mix-blend-mode: difference;
  transition:
    width 0.18s ease,
    height 0.18s ease,
    opacity 0.18s ease;
}

.cursor.is-active {
  width: 58px;
  height: 58px;
}

.scroll-progress {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  left: 0;
  z-index: 49;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.65;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 1fr) 90px minmax(120px, 1fr) minmax(150px, 1fr);
  align-items: center;
  height: var(--nav-h);
  padding: 0 44px;
  background: linear-gradient(90deg, var(--blush), var(--lilac));
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar__lang {
  display: flex;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
}

.topbar__lang button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.topbar__lang button.is-active {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topbar__link,
.topbar__talk,
.brand-mark {
  align-items: center;
  justify-content: center;
  min-height: 32px;
}

.topbar__link {
  display: inline-flex;
  gap: 7px;
  border: 0;
  background: transparent;
  text-transform: uppercase;
  cursor: pointer;
}

.topbar__link b,
.topbar__talk b {
  font: inherit;
}

.topbar__link span,
.topbar__talk span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #020202;
}

.topbar__link--expertise {
  justify-self: center;
}

.topbar__link--start {
  justify-self: center;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 32px;
  justify-self: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar__talk {
  display: inline-flex;
  justify-self: end;
  gap: 8px;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.menu-panel.is-open {
  display: block;
  visibility: visible;
  pointer-events: auto;
}

.menu-panel:not(.is-open) .menu-panel__inner {
  display: none;
}

.menu-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-panel.is-open .menu-panel__backdrop {
  opacity: 1;
}

.menu-panel__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(560px, 100%);
  padding: 72px 48px 48px;
  background: #f7efe9;
  color: #050505;
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-panel.is-open .menu-panel__inner {
  transform: translateX(0);
}

.menu-panel__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: #050505;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-panel__brand {
  width: min(150px, 42vw);
  align-self: start;
}

.menu-panel__brand img {
  width: 100%;
  height: auto;
}

.menu-panel__nav {
  display: grid;
  gap: 10px;
  align-self: center;
}

.menu-panel__nav a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  padding: 12px 0;
  font-size: clamp(30px, 7vw, 70px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.menu-panel__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.menu-panel__meta p {
  margin: 0;
}

.menu-panel__meta p:last-child {
  text-align: right;
}

.section-grid {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 24vh,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 14.285% 100%,
    #000;
}

.section-grid::before,
.section-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    430px 180px 0 rgba(255, 255, 255, 0.32),
    900px 120px 0 rgba(255, 255, 255, 0.28),
    1120px 430px 0 rgba(255, 255, 255, 0.22),
    160px 640px 0 rgba(158, 215, 255, 0.35);
}

.section-grid::before {
  top: 17%;
  left: 8%;
}

.section-grid::after {
  right: 20%;
  bottom: 18%;
  opacity: 0.6;
}

.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.rail-nav {
  position: absolute;
  top: calc(var(--nav-h) + 20px);
  left: 50%;
  z-index: 5;
  display: flex;
  width: min(780px, calc(100% - 48px));
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  white-space: nowrap;
}

#kinetic-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__copy {
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 2;
  width: min(460px, 74vw);
  transform: translate(-50%, -50%);
  text-align: center;
  text-transform: uppercase;
}

.hero__line {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.08;
}

.hero__line--strong {
  color: #fff;
  font-weight: 800;
}

.hero__bottom {
  position: absolute;
  right: 40px;
  bottom: 34px;
  left: 40px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(300px, 1.5fr) minmax(180px, 1fr);
  align-items: end;
  gap: 22px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  text-transform: uppercase;
}

.hero__badges span {
  display: grid;
  place-items: center;
  min-width: 70px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 10px;
}

.hero__motto {
  margin: 0;
  justify-self: center;
  max-width: 720px;
  font-size: clamp(18px, 2vw, 29px);
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.hero__coords {
  margin: 0;
  justify-self: end;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #000;
  overflow: hidden;
  contain: paint;
}

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 32px 0;
  contain: paint;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.8vw, 24px);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "-";
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section-pad {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(88px, 12vw, 170px) 0;
}

.intro {
  display: grid;
  gap: clamp(70px, 11vw, 140px);
  min-width: 0;
  text-align: center;
}

.eyebrow,
.section-head__kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro__copy {
  width: min(960px, 100%);
  min-width: 0;
  margin: 0 auto;
}

.intro h1 {
  margin: 20px auto 18px;
  max-width: 960px;
  font-size: clamp(32px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.95;
  text-transform: uppercase;
}

.intro p {
  margin: 0 auto;
  max-width: 940px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 26px);
}

.framework {
  display: grid;
  min-width: 0;
  gap: 32px;
}

.framework h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
}

.framework__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.framework__grid button {
  min-height: 54px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.framework__grid button:hover,
.framework__grid button:focus-visible {
  background: var(--ink);
  color: #050505;
  outline: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  width: min(900px, 100%);
  margin: 0;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 600;
  line-height: 0.9;
  text-align: right;
  text-transform: uppercase;
}

.case-strip {
  display: flex;
  height: clamp(320px, 42vw, 520px);
  gap: 12px;
  overflow: hidden;
}

.case-card {
  position: relative;
  flex: 1 1 13%;
  min-width: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 42px;
  background: var(--panel);
  cursor: pointer;
  filter: grayscale(0.45) brightness(0.58);
  transition:
    flex 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    border-color 0.45s ease;
}

.case-card.is-active,
.case-card:hover,
.case-card:focus-visible {
  flex-basis: 43%;
  filter: grayscale(0) brightness(0.95);
  border-color: rgba(255, 255, 255, 0.25);
  outline: 0;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.75s ease;
}

.case-card.is-active img,
.case-card:hover img,
.case-card:focus-visible img {
  transform: scale(1);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78));
}

.case-card__overlay {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.case-card.is-active .case-card__overlay,
.case-card:hover .case-card__overlay,
.case-card:focus-visible .case-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.case-card__overlay span {
  color: var(--red);
  font-weight: 800;
}

.case-card__overlay h3 {
  margin: 6px 0 4px;
  font-size: clamp(30px, 5vw, 74px);
  line-height: 0.85;
  text-transform: uppercase;
}

.case-card__overlay p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.system {
  width: min(100%, 100%);
  padding-right: 24px;
  padding-left: 24px;
}

.system__statement {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 48px;
  font-size: clamp(20px, 2.4vw, 32px);
  text-align: center;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border: 1px solid var(--line);
}

.pillar {
  min-width: 0;
  min-height: 420px;
  border-right: 1px solid var(--line);
  background: #030303;
}

.pillar:last-child {
  border-right: 0;
}

.pillar__trigger {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 170px;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 32px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.pillar__trigger span {
  color: var(--blush);
  font-size: 34px;
  font-weight: 700;
}

.pillar__trigger strong {
  min-width: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.9;
  text-transform: uppercase;
}

.pillar__trigger em {
  color: var(--muted);
  font-style: normal;
  writing-mode: vertical-rl;
}

.pillar__body {
  display: grid;
  min-width: 0;
  gap: 24px;
  max-height: 0;
  overflow: hidden;
  padding: 0 32px;
  opacity: 0;
  transition:
    max-height 0.45s ease,
    padding 0.45s ease,
    opacity 0.35s ease;
}

.pillar.is-open .pillar__body {
  max-height: 320px;
  padding-top: 32px;
  padding-bottom: 32px;
  opacity: 1;
}

.pillar__body p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.pillar__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar__body li {
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  text-transform: uppercase;
}

.proof {
  display: grid;
  gap: 44px;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-cloud span {
  display: grid;
  min-width: 0;
  min-height: 120px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 700;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 14px;
}

.cert {
  min-width: 0;
  min-height: 210px;
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--panel);
}

.cert span {
  color: var(--amber);
  font-weight: 800;
}

.cert p {
  margin: 58px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 14px;
}

.article-card {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.74);
}

.article-card span,
.article-card h3,
.article-card p,
.article-card details {
  margin-right: 24px;
  margin-left: 24px;
}

.article-card span {
  display: block;
  margin-top: 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h3 {
  margin-top: 14px;
  margin-bottom: 12px;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 0.95;
  text-transform: uppercase;
}

.article-card p {
  color: var(--muted);
}

.article-card details {
  margin-top: 22px;
  margin-bottom: 24px;
}

.article-card summary {
  width: max-content;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
}

.article-card details p {
  margin: 18px 0 0;
}

.article-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 20px;
}

.operations {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  min-width: 0;
  gap: clamp(48px, 8vw, 100px);
}

.operations__intro {
  position: sticky;
  top: calc(var(--nav-h) + 34px);
  align-self: start;
}

.operations__intro h2 {
  margin: 18px 0;
  font-size: clamp(36px, 5.6vw, 82px);
  line-height: 0.9;
  text-transform: uppercase;
}

.operations__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  border-bottom: 1px solid var(--line);
}

.service button {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 70px 1fr 34px;
  align-items: center;
  min-height: 106px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.service button span {
  color: rgba(255, 255, 255, 0.54);
}

.service button strong {
  min-width: 0;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.service button em {
  justify-self: end;
  color: rgba(255, 255, 255, 0.46);
  font-size: 34px;
  font-style: normal;
  transition: transform 0.3s ease;
}

.service.is-open button em {
  transform: rotate(45deg);
}

.service__content {
  display: grid;
  min-width: 0;
  gap: 22px;
  max-height: 0;
  overflow: hidden;
  padding-left: 70px;
  opacity: 0;
  transition:
    max-height 0.45s ease,
    padding-bottom 0.45s ease,
    opacity 0.35s ease;
}

.service.is-open .service__content {
  max-height: 280px;
  padding-bottom: 34px;
  opacity: 1;
}

.service__content p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.service__content a {
  width: max-content;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  text-transform: uppercase;
}

.studio {
  min-height: 82svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}

.studio__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: grayscale(0.6) contrast(1.05);
  transform: scale(1.05);
}

.studio::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), transparent 72%);
}

.studio__content {
  width: min(760px, calc(100% - 48px));
  min-width: 0;
  margin: 0 auto clamp(54px, 8vw, 96px);
}

.studio__content a {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 10px 14px;
  text-transform: uppercase;
}

.studio__content h2 {
  margin: 28px 0 18px;
  font-size: clamp(42px, 8vw, 106px);
  line-height: 0.9;
  text-transform: uppercase;
}

.studio__content p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact {
  display: grid;
  min-width: 0;
  gap: 38px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 22px;
}

.contact-form label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  padding: 16px 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.contact-form select option {
  color: #050505;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.contact-form__wide {
  grid-column: 1 / -1;
}

.contact-form button {
  width: max-content;
  min-width: 180px;
  min-height: 54px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #050505;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.faq h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item button {
  width: 100%;
  border: 0;
  padding: 28px 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(20px, 2.6vw, 34px);
  text-align: left;
  cursor: pointer;
}

.faq__item p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 18px;
  transition:
    max-height 0.35s ease,
    padding-bottom 0.35s ease;
}

.faq__item.is-open p {
  max-height: 220px;
  padding-bottom: 28px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  min-width: 0;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 44px;
  background: #000;
}

.footer h2 {
  margin: 0;
}

.footer__logo {
  width: min(220px, 58vw);
  height: auto;
}

.footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer nav,
.footer__contact {
  display: grid;
  align-content: start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.magnetic {
  transition: transform 0.18s ease;
}

@media (max-width: 980px) {
  :root {
    --nav-h: 46px;
  }

  .topbar {
    grid-template-columns: 80px 1fr 56px 1fr 96px;
    padding: 0 14px;
    font-size: 12px;
  }

  .topbar__lang {
    gap: 8px;
  }

  .topbar__link {
    font-size: 0;
  }

  .topbar__link span {
    width: 9px;
    height: 9px;
  }

  .topbar__link::after {
    content: attr(class);
    display: none;
  }

  .topbar__talk {
    font-size: 11px;
  }

  .rail-nav {
    display: none;
  }

  .hero__bottom {
    right: 20px;
    bottom: 26px;
    left: 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__badges,
  .hero__coords {
    justify-self: center;
  }

  .framework__grid,
  .pillar-grid,
  .logo-cloud,
  .cert-grid,
  .article-grid,
  .operations,
  .contact-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pillar:last-child {
    border-bottom: 0;
  }

  .pillar__trigger {
    min-height: 126px;
    padding: 24px;
  }

  .pillar__body {
    padding-right: 24px;
    padding-left: 24px;
  }

  .operations__intro {
    position: static;
  }

  .case-strip {
    height: auto;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .case-card,
  .case-card.is-active,
  .case-card:hover,
  .case-card:focus-visible {
    flex: none;
    height: 330px;
    min-width: 0;
    border-radius: 28px;
    filter: brightness(0.9);
  }

  .case-card__overlay {
    opacity: 1;
    transform: none;
  }

  .section-head {
    display: grid;
  }

  .section-head h2 {
    text-align: left;
  }

  .service button {
    grid-template-columns: 48px 1fr 28px;
    min-height: 92px;
  }

  .service__content {
    padding-left: 48px;
  }

  .studio::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.9));
  }

  .footer {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .cursor {
    display: none;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    column-gap: 10px;
    padding: 0 12px;
  }

  .topbar__link {
    gap: 5px;
  }

  .topbar__link--expertise {
    display: none;
  }

  .brand-mark {
    justify-self: center;
    width: 32px;
  }

  .topbar__link--start::after {
    content: "MENU";
    display: inline;
    font-size: 10px;
  }

  body[data-lang="cn"] .topbar__link--start::after {
    content: "菜单";
  }

  body[data-lang="es"] .topbar__link--start::after {
    content: "MENU";
  }

  .topbar__talk {
    justify-self: end;
    max-width: none;
    gap: 5px;
    white-space: nowrap;
  }

  .topbar__talk b {
    display: none;
  }

  .topbar__talk::before {
    content: "BOOK";
    font-size: 10px;
  }

  body[data-lang="cn"] .topbar__talk::before {
    content: "预约";
  }

  body[data-lang="es"] .topbar__talk::before {
    content: "RES";
  }

  .menu-panel__inner {
    padding: 68px 28px 34px;
  }

  .menu-panel__brand {
    width: min(132px, 38vw);
  }

  .menu-panel__meta {
    display: grid;
  }

  .hero {
    min-height: 94svh;
  }

  .hero__copy {
    top: 50%;
    width: calc(100% - 34px);
  }

  .hero__badges {
    display: none;
  }

  .hero__motto {
    font-size: 16px;
  }

  .section-pad {
    width: min(calc(100% - 32px), var(--max));
    padding: 76px 0;
  }

  .intro__copy,
  .framework,
  .section-head,
  .logo-cloud,
  .cert-grid,
  .article-grid,
  .operations,
  .contact-form {
    width: 100%;
    max-width: 100%;
  }

  .intro h1,
  .section-head h2,
  .studio__content h2,
  .faq h2 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .section-head__kicker,
  .eyebrow {
    overflow-wrap: break-word;
  }

  .pillar-grid {
    overflow: hidden;
  }

  .pillar__trigger {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .pillar__trigger strong {
    font-size: 30px;
    overflow-wrap: break-word;
  }

  .pillar__trigger em {
    grid-column: 2;
    writing-mode: horizontal-tb;
    font-size: 12px;
  }

  .service button {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    min-height: 84px;
  }

  .service button strong {
    font-size: 28px;
    overflow-wrap: break-word;
  }

  .service button em {
    display: grid;
    width: 24px;
    place-items: center;
    font-size: 28px;
    text-align: center;
  }

  .service.is-open button em {
    transform: rotate(45deg) scale(0.72);
  }

  .service__content {
    padding-left: 38px;
  }

  .service__content a,
  .article-card summary {
    width: fit-content;
    max-width: 100%;
  }

  .studio {
    min-height: 74svh;
  }

  .studio__content {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .studio__image {
    transform: none;
  }

  .intro p,
  .operations__intro p,
  .studio__content p,
  .service__content p,
  .faq__item p {
    font-size: 16px;
  }

  .framework__grid button {
    min-height: 48px;
  }

  .logo-cloud span {
    min-height: 84px;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-form {
    gap: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
