:root {
  --ink: #10110f;
  --ink-soft: #171913;
  --paper: #f3f1e8;
  --muted: #a7aaa0;
  --line: rgba(243, 241, 232, 0.16);
  --line-strong: rgba(243, 241, 232, 0.34);
  --cyan: #42d9ff;
  --lime: #d8ff41;
  --red: #ff4e3a;
  --amber: #ffb21f;
  --violet: #8e7dff;
  --radius: 6px;
  --max: 1180px;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    linear-gradient(rgba(216, 255, 65, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 217, 255, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: 44px 44px;
  color: var(--paper);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::selection {
  background: var(--lime);
  color: var(--ink);
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 28px), var(--max));
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(243, 241, 232, 0.2);
  background: rgba(16, 17, 15, 0.72);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand-lockup,
.header-action,
.site-nav,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  min-width: 0;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.brand-lockup small {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 800;
}

.site-nav {
  gap: 2px;
  border: 1px solid rgba(243, 241, 232, 0.14);
  padding: 3px;
}

.language-switcher {
  gap: 2px;
  border: 1px solid rgba(243, 241, 232, 0.14);
  padding: 3px;
}

.site-nav a,
.header-action,
.language-switcher button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: rgba(243, 241, 232, 0.8);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-switcher button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a.is-active,
.header-action:hover,
.language-switcher button:hover,
.language-switcher button.is-active {
  background: var(--paper);
  color: var(--ink);
}

.header-action {
  gap: 8px;
  border: 1px solid rgba(243, 241, 232, 0.22);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - var(--max)) / 2)) 62px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 15, 0.62);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
#signal-canvas {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
  opacity: 1;
  transform: scale(1);
  transition: opacity 900ms ease, transform 1200ms ease, filter 900ms ease;
}

.hero-media img.is-switching {
  opacity: 0;
  transform: scale(1.025);
}

#signal-canvas {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.78;
}

.hero-copy,
.hero-status {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 890px;
}

.section-kicker {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  margin-top: 18px;
  font-size: clamp(2.9rem, 8.2vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.accent-word {
  color: var(--lime);
  font-style: inherit;
}

h1 .translation-sub {
  max-width: 30ch;
  margin-top: 0.28em;
  font-size: 0.26em;
  line-height: 1.3;
  color: rgba(243, 241, 232, 0.62);
}

.hero-lede {
  max-width: 680px;
  margin-top: 28px;
  color: rgba(243, 241, 232, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  line-height: 1.65;
}

.translation-sub {
  display: block;
  margin-top: 0.38em;
  color: rgba(243, 241, 232, 0.68);
  font-size: 0.82em;
  line-height: 1.5;
}

h2 .translation-sub {
  max-width: 820px;
  margin-top: 0.22em;
  font-size: 0.42em;
  line-height: 1.25;
}

.company-overview .translation-sub {
  color: rgba(16, 17, 15, 0.62);
}

.hero-actions,
.client-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(243, 241, 232, 0.26);
  background: rgba(243, 241, 232, 0.08);
  color: var(--paper);
}

.hero-status {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-status span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px;
  background: rgba(16, 17, 15, 0.62);
  color: rgba(243, 241, 232, 0.8);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.signal-strip,
.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  transform: translateY(-1px);
}

.signal-strip div {
  min-height: 126px;
  padding: 18px;
  background: var(--ink-soft);
}

.signal-strip strong {
  display: block;
  color: var(--amber);
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 0.92;
}

.signal-strip span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px 44px;
}

.split-section .section-heading {
  grid-column: 1 / -1;
}

.about-copy {
  display: grid;
  gap: 20px;
  align-content: start;
  color: rgba(243, 241, 232, 0.8);
  font-size: 1rem;
  line-height: 1.82;
}

.feature-image {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-image figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.community-section {
  display: grid;
  gap: 36px;
}

.community-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.community-text {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(243, 241, 232, 0.05);
}

.community-text p {
  color: rgba(243, 241, 232, 0.82);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.88rem;
}

.logo-field {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.logo-field img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: contain;
  padding: 22px;
  background: rgba(243, 241, 232, 0.92);
  opacity: 1;
  transform: scale(1);
  filter: grayscale(1) contrast(0.96) opacity(0.62);
  transition: opacity 520ms ease, transform 620ms ease, filter 420ms ease;
}

.logo-field img:hover {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: scale(1.02);
}

.logo-field img.is-changing {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(2px);
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.project-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: clamp(260px, 29vw, 380px) auto;
  overflow: hidden;
  background: var(--ink-soft);
}

.project-visual:first-child {
  min-height: 0;
}

.project-visual img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  opacity: 1;
  transition: opacity 420ms ease, transform 720ms ease, filter 720ms ease;
}

.project-visual::before {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 0%, rgba(66, 217, 255, 0.22) 46%, rgba(216, 255, 65, 0.2) 50%, transparent 58%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition: opacity 360ms ease, transform 820ms ease;
}

.project-visual::after {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(16, 17, 15, 0.38);
}

.project-visual:hover img {
  transform: scale(1.025);
  filter: saturate(1.18) contrast(1.08);
}

.project-visual:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.project-visual div {
  min-width: 0;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(243, 241, 232, 0.06), rgba(243, 241, 232, 0.025)),
    var(--ink-soft);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.project-visual.is-updating img {
  opacity: 0.24;
  transform: scale(1.01);
}

.project-visual.is-updating div {
  opacity: 0;
  transform: translateY(8px);
}

.project-visual span,
.service-grid span,
.client-band p,
.company-overview dt {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.project-visual h3 {
  max-width: 100%;
  min-height: 2.18em;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.project-visual p {
  color: rgba(243, 241, 232, 0.8);
  font-size: 0.94rem;
  line-height: 1.58;
}

.project-visual .translation-sub {
  margin-top: 0.28em;
  color: rgba(243, 241, 232, 0.58);
  font-size: 0.9em;
  line-height: 1.45;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline article,
.service-grid article,
.team-grid article {
  background: var(--ink-soft);
}

.timeline article {
  min-height: 220px;
  padding: 22px;
}

.timeline time {
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.timeline h3 {
  margin-top: 18px;
  color: var(--paper);
  font-size: 1.28rem;
  line-height: 1.25;
}

.timeline p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.archive-section {
  display: grid;
  gap: 42px;
}

.case-reel {
  display: grid;
  gap: 12px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(243, 241, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(243, 241, 232, 0.04);
  color: rgba(243, 241, 232, 0.8);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.case-filter:hover,
.case-filter:focus-visible {
  border-color: var(--lime);
  color: var(--paper);
  transform: translateY(-1px);
}

.case-filter.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.case-filter-count {
  font-size: 0.66rem;
  opacity: 0.65;
}

.case-filter.is-active .case-filter-count {
  opacity: 0.85;
}

.case-slide[hidden],
.case-thumb[hidden] {
  display: none !important;
}

.case-reel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.case-counter {
  min-width: 84px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.case-controls {
  display: flex;
  gap: 8px;
}

.reel-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 241, 232, 0.28);
  border-radius: var(--radius);
  background: rgba(243, 241, 232, 0.05);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 1.05rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.reel-button:hover,
.reel-button:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-2px);
}

.case-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  outline: none;
  perspective: 1200px;
}

.case-viewport:focus-visible {
  border-color: rgba(66, 217, 255, 0.72);
}

.case-track {
  display: flex;
  transform: translateX(0);
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.case-slide {
  min-width: 100%;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  opacity: 0.52;
  transform: rotateY(2deg) scale(0.99);
  transition: opacity 500ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-slide.is-active {
  opacity: 1;
  transform: rotateY(0) scale(1);
}

.case-slide figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  margin: 0;
}

.case-slide figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 17, 15, 0) 0%, rgba(16, 17, 15, 0.12) 26%, rgba(16, 17, 15, 0.55) 54%, rgba(16, 17, 15, 0.84) 78%, rgba(16, 17, 15, 0.95) 100%),
    linear-gradient(90deg, rgba(16, 17, 15, 0.62) 0%, rgba(16, 17, 15, 0.16) 42%, transparent 66%),
    repeating-linear-gradient(0deg, rgba(243, 241, 232, 0.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: normal;
  pointer-events: none;
}

.case-slide img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1000ms ease;
}

/* Pachi Pachi Clappy is a square promo banner with a logo at the top —
   shift the crop down so the cut-off logo is fully out of frame, leaving the product row. */
.case-slide img[src*="asset-14-"],
.project-visual img[src*="asset-14-"] {
  object-position: center 74%;
}

.case-slide.is-active img {
  transform: scale(1.07);
}

.case-panel {
  width: min(860px, calc(100% - 44px));
  min-width: 0;
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 241, 232, 0.46);
}

.case-meta {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-panel h3 {
  max-width: min(780px, 100%);
  color: var(--paper);
  font-size: clamp(2.15rem, 6vw, 5.4rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.case-panel p {
  max-width: 760px;
  color: rgba(243, 241, 232, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.case-thumb-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 6px;
}

.case-thumb {
  min-width: 0;
  height: 34px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(243, 241, 232, 0.04);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.case-thumb span {
  display: block;
  color: rgba(243, 241, 232, 0.74);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 32px;
}

.case-thumb:hover,
.case-thumb:focus-visible,
.case-thumb.is-active {
  border-color: var(--lime);
  background: rgba(216, 255, 65, 0.12);
  opacity: 1;
  transform: translateY(-1px);
}

.case-thumb.is-active span {
  color: var(--lime);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-grid article {
  min-height: 246px;
  padding: 22px;
}

.service-grid h3 {
  margin-top: 56px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.service-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.client-band {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.client-band p,
.client-band div {
  min-height: 86px;
  align-items: center;
  background: rgba(243, 241, 232, 0.05);
  padding: 18px;
}

.client-band div span {
  border: 1px solid rgba(243, 241, 232, 0.24);
  padding: 9px 12px;
  color: rgba(243, 241, 232, 0.82);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-grid article {
  min-height: 132px;
  padding: 14px;
}

.team-grid strong,
.team-grid span {
  display: block;
}

.team-grid strong {
  color: var(--paper);
  font-size: 0.98rem;
  line-height: 1.15;
}

.team-grid span {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.join-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
}

.smart-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: start;
}

.smart-form.compact {
  grid-template-columns: repeat(2, 1fr);
}

.smart-form label {
  display: grid;
  gap: 8px;
}

.smart-form label.full {
  grid-column: 1 / -1;
}

.smart-form span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.smart-form input,
.smart-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: rgba(243, 241, 232, 0.06);
  color: var(--paper);
  padding: 12px 13px;
}

.smart-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.smart-form input:focus,
.smart-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 255, 65, 0.13);
}

.smart-form button {
  width: max-content;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.company-overview {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 22px;
}

.company-overview h3 {
  font-size: 1.34rem;
  line-height: 1.18;
}

.company-overview dl {
  margin: 22px 0 0;
}

.company-overview div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(16, 17, 15, 0.15);
}

.company-overview dt {
  color: var(--red);
}

.company-overview dd {
  margin: 0;
  color: rgba(16, 17, 15, 0.78);
  line-height: 1.55;
}

.company-overview a {
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 17, 15, 0.35);
}

.site-footer {
  width: min(calc(100% - 36px), var(--max));
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    display: none;
  }

  .signal-strip,
  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .community-grid,
  .join-section,
  .contact-section,
  .contact-layout,
  .client-band {
    grid-template-columns: 1fr;
  }

  .featured-projects {
    grid-template-columns: 1fr;
  }

  .project-visual,
  .project-visual:first-child {
    min-height: 0;
    grid-template-rows: clamp(260px, 46vw, 420px) auto;
  }

  .project-visual div {
    min-height: 0;
  }

  .project-visual h3 {
    min-height: 0;
  }

  .case-slide {
    min-height: 560px;
  }

  .case-panel {
    width: min(760px, calc(100% - 36px));
    left: 18px;
    bottom: 18px;
  }

  .case-panel h3 {
    max-width: 100%;
  }

  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 32px 32px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    gap: 8px;
    grid-template-columns: 1fr auto;
  }

  .header-action {
    display: none;
  }

  .language-switcher {
    max-width: 206px;
    overflow-x: auto;
  }

  .language-switcher button {
    height: 34px;
    padding: 0 9px;
    white-space: nowrap;
  }

  .brand-lockup small {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 104px 18px 34px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-status,
  .signal-strip,
  .service-grid,
  .team-grid,
  .smart-form,
  .smart-form.compact {
    grid-template-columns: 1fr;
  }

  .community-grid {
    gap: 16px;
  }

  .community-text {
    padding: 18px;
  }

  .community-text p {
    line-height: 1.65;
  }

  .logo-field {
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-field img {
    height: auto;
    min-height: 86px;
    aspect-ratio: 1.42 / 1;
    padding: 14px;
  }

  .hero-status {
    margin-top: 38px;
  }

  .signal-strip,
  .section {
    width: calc(100% - 24px);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2 {
    font-size: clamp(2.05rem, 11vw, 3.4rem);
  }

  .project-visual,
  .project-visual:first-child {
    min-height: 0;
    grid-template-rows: clamp(220px, 60vw, 320px) auto;
  }

  .project-visual div {
    padding: 16px;
  }

  .case-reel-top {
    align-items: stretch;
  }

  .case-slide {
    min-height: 500px;
  }

  .case-panel {
    padding: 18px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-top-color: rgba(243, 241, 232, 0.34);
  }

  .case-panel h3 {
    max-width: 100%;
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .case-panel p {
    font-size: 0.94rem;
  }

  .case-thumb-strip {
    grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
  }

  .case-thumb {
    height: 32px;
  }

  .community-text,
  .timeline article,
  .service-grid article,
  .company-overview {
    padding: 18px;
  }

  .company-overview div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .logo-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-field img {
    min-height: 80px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  #signal-canvas {
    display: none;
  }
}
