:root {
  /* Warme Welt. Signal-Gruen ist gefallen: es ist die eine Farbe, die sich
     mit "warm technology statt cyberpunk" nicht vertraegt. Werte aus der
     Token-Tabelle in CLAUDE.md.

     --acid bleibt bewusst ein HELLER Akzent (Champagner). Die Regeln in
     diesem Blatt setzen dunkle Schrift darauf; ein dunkles Terrakotta an
     dieser Stelle braeche den Kontrast an zwei Dutzend Stellen. Terrakotta
     steht deshalb als eigenes Token daneben und geht nur dorthin, wo die
     Regel die Schriftfarbe mitbestimmt. */
  --ink: #241d16;
  --ink-2: #2b2119;
  --paper: #f4efe6;
  --paper-2: #eae1d2;
  --white: #fff;
  --acid: #e8c4a0;
  --terra: #a8482a;
  --terra-soft: #c0603c;
  --violet: #a8482a;
  --sky: #b9a894;
  --muted: #6e5f4c;
  --line: rgba(36, 29, 22, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 24px 80px rgba(13, 14, 16, 0.14);
  --sans: "Helvetica Neue", "Neue Haas Grotesk Text Pro", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --pad: clamp(20px, 4vw, 64px);
  --header-h: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.drawer-open,
body.workspace-menu-open {
  overflow: hidden;
}

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

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

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

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

button {
  border: 0;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.dark :where(a, button):focus-visible,
.workspace-sidebar :where(a, button):focus-visible,
.config-summary :where(a, button, input):focus-visible {
  outline-color: var(--acid);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: max-content;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.wordmark-logo {
  width: 198px;
  height: auto;
}

.menu-open .site-header .wordmark-logo,
.site-footer .wordmark-logo,
.workspace-sidebar .wordmark-logo {
  filter: invert(1);
}

.wordmark-mark {
  position: relative;
  width: 30px;
  height: 30px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 2px 10px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 2px 10px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 2px 10px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 2px 10px no-repeat;
}

.wordmark-mark::after {
  position: absolute;
  inset: 8px;
  border: 1px solid currentColor;
  content: "";
  opacity: 0.42;
}

.header-context {
  justify-self: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.pill,
.icon-pill,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.pill {
  padding: 0 20px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill::after,
.button.arrow::after {
  content: "↗";
  font-size: 14px;
}

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

.pill.light {
  background: var(--white);
  color: var(--ink);
}

.icon-pill {
  width: 74px;
  padding: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-dots {
  display: flex;
  gap: 3px;
}

.menu-dots i {
  display: block;
  width: 8px;
  height: 8px;
  background: transparent;
}

.menu-dots i:first-child {
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.menu-dots i:last-child {
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.menu-open .site-header {
  color: var(--white);
  border-bottom-color: var(--line-light);
}

.menu-open .header-context {
  color: rgba(255, 255, 255, .58);
}

.menu-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: calc(var(--header-h) + 42px) var(--pad) 38px;
  visibility: hidden;
  background: var(--ink);
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 650ms cubic-bezier(.77, 0, .18, 1), visibility 650ms;
}

.menu-open .menu-overlay {
  visibility: visible;
  clip-path: inset(0);
}

.menu-nav {
  align-self: center;
}

.menu-nav a {
  display: block;
  width: max-content;
  padding: 2px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
  transition: color 180ms ease, transform 180ms ease;
}

.menu-nav a:hover,
.menu-nav a[aria-current="page"] {
  color: var(--white);
  transform: translateX(10px);
}

.menu-meta {
  display: flex;
  align-self: end;
  justify-self: end;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
}

.eyebrow,
.kicker,
.overline,
.meta-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  padding: 12px var(--pad) var(--pad);
}

.hero-topline {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 40px;
  align-items: end;
  margin: 4vh 0 5vh;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(232, 196, 160, 0.18);
  animation: breathe 2.4s ease-in-out infinite;
}

.hero h1,
.page-hero h1,
.cta-title {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(46px, 6vw, 106px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 {
  justify-self: end;
  font-size: clamp(38px, 4.7vw, 76px);
}

.hero-stage {
  position: relative;
  min-height: clamp(430px, 59vh, 720px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero-stage::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: clamp(46px, 6vw, 92px) clamp(46px, 6vw, 92px);
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero-stage::after {
  position: absolute;
  z-index: -2;
  width: 46vw;
  height: 46vw;
  top: -45%;
  right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 72, 42, 0.68), rgba(168, 72, 42, 0) 68%);
  content: none;
  filter: blur(8px);
}

.stage-copy {
  position: absolute;
  z-index: 3;
  top: clamp(28px, 4vw, 60px);
  left: clamp(24px, 4vw, 62px);
  max-width: 430px;
}

.stage-copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(16px, 1.5vw, 21px);
}

.stage-actions {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.stage-actions .button.secondary {
  border-color: rgba(255, 255, 255, .3);
  color: var(--white);
}

.stage-title {
  margin: 12px 0 0;
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.stage-title span {
  display: block;
  color: var(--acid);
  font-style: italic;
  font-weight: 400;
}

.frame-machine {
  --mx: 0px;
  --my: 0px;
  position: absolute;
  right: clamp(-90px, -2vw, -20px);
  bottom: clamp(-80px, -7vw, -35px);
  width: min(58vw, 760px);
  aspect-ratio: 1;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 120ms linear;
}

.frame {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: clamp(18px, 3vw, 40px);
  transform-origin: center;
}

.frame::before,
.frame::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
  box-shadow: 0 0 24px rgba(232, 196, 160, 0.8);
}

.frame::before {
  top: -5px;
  left: -5px;
}

.frame::after {
  right: -5px;
  bottom: -5px;
}

.frame-a {
  inset: 3%;
  background: linear-gradient(135deg, rgba(168, 72, 42, 0.15), transparent 60%);
  animation: drift-a 14s ease-in-out infinite;
}

.frame-b {
  inset: 14%;
  border-color: rgba(232, 196, 160, 0.64);
  transform: rotate(11deg);
  animation: drift-b 11s ease-in-out infinite;
}

.frame-c {
  inset: 27%;
  background: rgba(255, 255, 255, 0.045);
  transform: rotate(-13deg);
  animation: drift-c 9s ease-in-out infinite;
  backdrop-filter: blur(2px);
}

.frame-core {
  position: absolute;
  inset: 40%;
  display: grid;
  place-items: center;
  border-radius: 22%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 90px rgba(232, 196, 160, 0.25);
  font-family: var(--mono);
  font-size: clamp(10px, 1.1vw, 15px);
  font-weight: 800;
  letter-spacing: 0.08em;
  animation: core-pulse 5s ease-in-out infinite;
}

.coordinate {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 3vw, 48px);
  top: clamp(24px, 3vw, 46px);
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.stage-footer {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 4vw, 62px);
  bottom: clamp(22px, 3vw, 44px);
  left: clamp(24px, 4vw, 62px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.stage-index {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 11px;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue::before {
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.grid-ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 4px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.grid-ticks span:nth-child(2),
.grid-ticks span:nth-child(3) {
  text-align: center;
}

.grid-ticks span:last-child {
  text-align: right;
}

.section {
  position: relative;
  padding: clamp(90px, 13vw, 190px) var(--pad);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section.acid {
  background: var(--acid);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.6fr) 1.7fr;
  gap: 48px;
  align-items: start;
  margin-bottom: clamp(52px, 8vw, 110px);
}

.section-number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.dark .section-number {
  color: rgba(255, 255, 255, 0.58);
}

.section-lead {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-lead .muted {
  color: #a2957f;
}

.section-sidecopy {
  max-width: 440px;
  margin: 30px 0 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-sidecopy {
  color: rgba(255, 255, 255, 0.58);
}

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

.capability {
  min-height: 330px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background-color 260ms ease, color 260ms ease;
}

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

.capability:hover {
  background: var(--ink);
  color: var(--white);
}

.capability-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.capability-icon {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 62px 0 32px;
}

.capability-icon::before,
.capability-icon::after {
  position: absolute;
  content: "";
}

.icon-design::before {
  inset: 5px;
  border: 1px solid currentColor;
  transform: rotate(10deg);
}

.icon-design::after {
  inset: 18px;
  background: var(--acid);
}

.icon-code::before {
  inset: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.icon-code::after {
  top: 0;
  bottom: 0;
  left: 36px;
  width: 1px;
  background: currentColor;
  box-shadow: -16px 16px 0 var(--acid), 16px -16px 0 var(--violet);
  transform: rotate(35deg);
}

.icon-systems::before {
  inset: 6px 0 24px 18px;
  border: 1px solid currentColor;
}

.icon-systems::after {
  inset: 24px 18px 6px 0;
  border: 1px solid currentColor;
  background: var(--acid);
  mix-blend-mode: difference;
}

.icon-growth::before {
  inset: 14px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
}

.icon-growth::after {
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 22px;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 14px);
}

.capability h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

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

.capability:hover p,
.capability:hover .capability-index {
  color: rgba(255, 255, 255, 0.6);
}

.work-intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 48px;
}

.work-intro h2 {
  margin: 0;
  font-size: clamp(52px, 9vw, 148px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.83;
}

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

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 170px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.work-row::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--acid);
  content: "";
  transform: translateY(102%);
  transition: transform 480ms cubic-bezier(.2, .8, .2, 1);
}

.work-row:hover::before {
  transform: translateY(0);
}

.work-row > * {
  position: relative;
  z-index: 1;
}

.work-row:hover {
  color: var(--ink);
}

.work-row-index,
.work-row-tags {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.work-row:hover .work-row-index,
.work-row:hover .work-row-tags {
  color: rgba(16, 17, 19, 0.58);
}

.work-row h3 {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.work-row-tags {
  max-width: 180px;
  text-align: right;
}

.ticker {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  min-width: max-content;
  animation: ticker 24s linear infinite;
}

.ticker span {
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ticker i {
  width: 13px;
  height: 13px;
  background: var(--acid);
  transform: rotate(45deg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.process-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
}

.process-card:nth-child(2) {
  transform: translateY(26px);
}

.process-card:nth-child(3) {
  transform: translateY(52px);
}

.process-card:nth-child(4) {
  transform: translateY(78px);
}

.process-card .step {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.process-card h3 {
  margin: auto 0 14px;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.process-card p {
  min-height: 76px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.system-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.system-card.dark-card {
  background: var(--ink);
  color: var(--white);
}

.system-card.acid-card {
  background: var(--acid);
}

.system-card h3 {
  max-width: 10ch;
  margin: 12px 0;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.system-card p {
  max-width: 380px;
  color: var(--muted);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.55);
}

.system-art {
  position: absolute;
  right: -5%;
  bottom: -14%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 28px;
  opacity: 0.75;
  transform: rotate(9deg);
}

.system-art::before,
.system-art::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: inherit;
  content: "";
}

.system-art::before {
  inset: 12%;
  transform: rotate(-18deg);
}

.system-art::after {
  inset: 28%;
  background: var(--acid);
  transform: rotate(23deg);
}

.acid-card .system-art::after {
  background: var(--ink);
}

.cta-block {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 180px) var(--pad) 48px;
  background: var(--ink);
  color: var(--white);
}

.cta-block::after {
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 60vw;
  height: 60vw;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22%;
  content: "";
  box-shadow: 0 0 0 5vw rgba(255,255,255,.04), 0 0 0 10vw rgba(255,255,255,.035);
  transform: rotate(35deg);
}

.cta-title {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  font-size: clamp(58px, 10vw, 158px);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 54px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.55fr);
  gap: 38px;
  padding: 70px var(--pad) 36px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  margin: 4px 0 22px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: max-content;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
  color: var(--acid);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

/* Interior pages */
.page-hero {
  padding: clamp(70px, 10vw, 150px) var(--pad) clamp(70px, 9vw, 130px);
}

.page-hero .overline {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
}

.page-hero p {
  max-width: 620px;
  margin: 36px 0 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
}

.concept-note {
  display: grid;
  grid-template-columns: 140px minmax(0, 560px);
  gap: 20px;
  max-width: 740px;
  margin: 44px 0 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.concept-note strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero.dark-hero {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(70px, 10vw, 150px));
  background: var(--ink);
  color: var(--white);
}

.dark-hero p,
.dark-hero .overline {
  color: rgba(255, 255, 255, 0.55);
}

.button {
  min-height: 52px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

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

.button.small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

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

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--acid);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.cart-count {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 42px var(--pad) clamp(90px, 12vw, 160px);
}

.product-card {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.32);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card[hidden] {
  display: none;
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
}

.product-visual.acid-visual {
  background: var(--acid);
  color: var(--ink);
}

.product-visual.violet-visual {
  background: #2b2119;
}

.package-glyph {
  position: relative;
  width: 130px;
  height: 130px;
  border: 1px solid currentColor;
  border-radius: 24px;
  transform: rotate(8deg);
}

.package-glyph::before,
.package-glyph::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: inherit;
  content: "";
}

.package-glyph::before {
  inset: 18px;
  transform: rotate(-18deg);
}

.package-glyph::after {
  inset: 38px;
  background: currentColor;
  transform: rotate(21deg);
}

.product-type {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 2px 0;
}

.product-info h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

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

.product-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.product-details span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.product-buy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: auto;
}

.price {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.cart-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  display: flex;
  width: min(460px, 100%);
  height: 100dvh;
  flex-direction: column;
  padding: 28px;
  visibility: hidden;
  background: var(--white);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.2);
  transform: translateX(105%);
  transition: transform 500ms cubic-bezier(.77, 0, .18, 1), visibility 0s linear 500ms;
}

.drawer-open .cart-drawer {
  visibility: visible;
  transform: translateX(0);
  transition: transform 500ms cubic-bezier(.77, 0, .18, 1), visibility 0s;
}

.drawer-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  visibility: hidden;
  background: rgba(16, 17, 19, 0.55);
  opacity: 0;
  transition: opacity 300ms ease, visibility 300ms;
}

.drawer-open .drawer-backdrop {
  visibility: visible;
  opacity: 1;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.close-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper-2);
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.cart-empty {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong {
  font-size: 17px;
}

.cart-item small {
  color: var(--muted);
}

.remove-item {
  grid-column: 2;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}

/* Configurator */
.config-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.65fr);
  min-height: calc(100vh - var(--header-h));
  border-top: 1px solid var(--line);
}

.config-main {
  padding: clamp(42px, 6vw, 86px) var(--pad);
}

.config-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: clamp(56px, 8vw, 100px);
}

.progress-segment {
  height: 4px;
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}

.progress-segment::after {
  display: block;
  width: 0;
  height: 100%;
  background: var(--violet);
  content: "";
  transition: width 400ms ease;
}

.progress-segment.is-complete::after,
.progress-segment.is-current::after {
  width: 100%;
}

.config-step {
  display: none;
  animation: step-in 420ms ease both;
}

.config-step.is-active {
  display: block;
}

.config-step h1 {
  max-width: 14ch;
  margin: 10px 0 42px;
  font-size: clamp(40px, 5.3vw, 76px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice {
  position: relative;
  min-height: 150px;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.choice label:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}

.choice input:checked + label {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.choice input:focus-visible + label {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.choice-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.choice-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.choice input:checked + label .choice-meta {
  color: rgba(255, 255, 255, 0.56);
}

.config-nav {
  display: flex;
  gap: 10px;
  margin-top: 42px;
}

.config-summary {
  position: sticky;
  top: var(--header-h);
  display: flex;
  height: calc(100dvh - var(--header-h));
  flex-direction: column;
  padding: clamp(36px, 4vw, 62px);
  background: var(--ink);
  color: var(--white);
}

.config-page .site-header {
  position: sticky;
  z-index: 70;
  top: 0;
  background: var(--paper);
}

.config-summary h2 {
  margin: 8px 0 40px;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.summary-list {
  margin: 0;
}

.summary-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.summary-row dt {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.summary-row dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.estimate {
  margin-top: auto;
  padding-top: 30px;
}

.estimate-label {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.estimate-value {
  margin-top: 8px;
  color: var(--acid);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.estimate small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.estimate .budget-warning {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(224, 135, 106, .5);
  border-radius: 8px;
  color: #e8a184;
}

.config-disclaimer {
  max-width: 680px;
  margin: 42px 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
}

.config-disclaimer strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.range-wrap {
  max-width: 660px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.range-output {
  margin-bottom: 28px;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--violet);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--violet);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

/* Client and admin workspaces */
.workspace-body {
  background: #efe7da;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.workspace-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 28px 22px;
  background: var(--ink);
  color: var(--white);
}

.workspace-sidebar .wordmark {
  font-size: 14px;
}

.workspace-nav {
  display: grid;
  gap: 4px;
  margin-top: 72px;
}

.workspace-nav a,
.workspace-nav button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.workspace-nav a::before,
.workspace-nav button::before {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  content: "";
}

.workspace-nav a:hover,
.workspace-nav a.is-active,
.workspace-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.workspace-nav a.is-active::before {
  border-color: var(--acid);
  background: var(--acid);
}

.workspace-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  font-family: var(--mono);
  font-size: 10px;
}

.workspace-profile strong,
.workspace-profile small {
  display: block;
}

.workspace-profile strong {
  font-size: 12px;
}

.workspace-profile small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.workspace-main {
  min-width: 0;
  padding: 34px clamp(22px, 4vw, 58px) 60px;
}

.workspace-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
}

.workspace-topbar .eyebrow {
  color: var(--muted);
}

.workspace-actions {
  display: flex;
  gap: 8px;
}

.workspace-title {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.workspace-subtitle {
  margin: 0 0 42px;
  color: var(--muted);
}

.workspace-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -20px 0 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.workspace-notice::before {
  width: 7px;
  height: 7px;
  background: var(--acid);
  content: "";
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.panel {
  padding: 24px;
  border: 1px solid rgba(16, 17, 19, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.panel.dark-panel {
  background: var(--ink);
  color: var(--white);
}

.panel.acid-panel {
  background: var(--acid);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.metric-label,
.panel-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dark-panel .metric-label,
.dark-panel .panel-label {
  color: rgba(255, 255, 255, 0.58);
}

.metric-value {
  margin: 28px 0 4px;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.metric-delta {
  color: var(--muted);
  font-size: 11px;
}

.project-panel {
  min-height: 360px;
}

.project-panel-head,
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.project-panel h2,
.panel h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.progress-ring {
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  margin: 25px auto;
  border-radius: 50%;
  background: conic-gradient(var(--acid) 0 68%, rgba(255,255,255,.12) 68% 100%);
}

.progress-ring::before {
  grid-area: 1 / 1;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.progress-ring strong {
  position: relative;
  grid-area: 1 / 1;
  font-size: 34px;
  font-weight: 500;
}

.timeline-list,
.activity-list,
.task-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item,
.activity-item,
.task-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child,
.activity-item:last-child,
.task-item:last-child {
  border-bottom: 0;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.timeline-item.is-done .timeline-dot {
  border-color: var(--violet);
  background: var(--violet);
}

.timeline-item strong,
.task-item strong,
.activity-item strong {
  display: block;
  font-size: 13px;
}

.timeline-item small,
.task-item small,
.activity-item small {
  color: var(--muted);
  font-size: 10px;
}

.status-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.status-badge.green {
  background: #e4e7d2;
  color: #465c22;
}

.status-badge.violet {
  background: #f2ded3;
  color: #8c3a20;
}

.status-badge.orange {
  background: #f6e3cc;
  color: #855012;
}

.bar-chart {
  display: flex;
  height: 190px;
  align-items: flex-end;
  gap: 8px;
  margin-top: 30px;
}

.bar-chart i {
  flex: 1;
  min-height: 8px;
  border-radius: 5px 5px 0 0;
  background: var(--violet);
  opacity: 0.3;
  transition: opacity 180ms ease;
}

.bar-chart i:hover {
  opacity: 1;
}

.donut {
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  margin: 28px auto 10px;
  border-radius: 50%;
  background: conic-gradient(var(--violet) 0 42%, var(--acid) 42% 72%, var(--sky) 72% 90%, var(--paper-2) 90%);
}

.donut::after {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  content: "";
}

.mobile-workspace-toggle {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

@keyframes breathe {
  50% { transform: scale(.72); opacity: .65; }
}

@keyframes drift-a {
  50% { transform: rotate(7deg) translate(-3%, -2%); }
}

@keyframes drift-b {
  0%, 100% { transform: rotate(11deg); }
  50% { transform: rotate(-3deg) scale(.95); }
}

@keyframes drift-c {
  0%, 100% { transform: rotate(-13deg); }
  50% { transform: rotate(8deg) scale(1.05); }
}

@keyframes core-pulse {
  50% { transform: scale(.86) rotate(7deg); border-radius: 50%; }
}

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

@keyframes step-in {
  from { opacity: 0; transform: translateY(16px); }
}

@media (max-width: 1100px) {
  .capability-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability:nth-child(2) {
    border-right: 0;
  }

  .process-card:nth-child(n) {
    transform: none;
  }

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

  .span-3 { grid-column: span 6; }
  .span-4 { grid-column: span 6; }
  .span-5,
  .span-7 { grid-column: span 6; }
  .span-8,
  .span-9 { grid-column: span 12; }
}

@media (max-width: 800px) {
  :root {
    --header-h: 76px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-context,
  .header-actions .pill {
    display: none;
  }

  .menu-overlay {
    grid-template-columns: 1fr;
  }

  .menu-meta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-topline,
  .section-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-intro {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .work-intro .section-sidecopy {
    margin: 0;
    max-width: 34rem;
  }

  .hero h1 {
    justify-self: start;
  }

  .frame-machine {
    width: 80vw;
    opacity: .8;
  }

  .stage-copy p {
    max-width: 290px;
  }

  .section-sidecopy {
    margin-left: 0;
  }

  .systems-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .config-shell {
    grid-template-columns: 1fr;
  }

  .config-summary {
    position: static;
    height: auto;
    min-height: 0;
  }

  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    position: fixed;
    z-index: 80;
    width: 250px;
    visibility: hidden;
    transform: translateX(-102%);
    transition: transform 300ms ease, visibility 0s linear 300ms;
  }

  .workspace-menu-open .workspace-sidebar {
    visibility: visible;
    transform: translateX(0);
    transition: transform 300ms ease, visibility 0s;
  }

  .mobile-workspace-toggle {
    display: inline-flex;
  }

  .workspace-topbar {
    margin-bottom: 42px;
  }

  .span-5,
  .span-7 {
    grid-column: span 12;
  }
}

@media (max-width: 560px) {
  .wordmark {
    gap: 8px;
    font-size: 14px;
  }

  .wordmark-logo {
    width: 160px;
  }

  .wordmark-mark {
    width: 26px;
    height: 26px;
  }

  .hero-topline {
    margin-top: 2vh;
  }

  .hero-stage {
    min-height: 590px;
  }

  .stage-title {
    font-size: 56px;
  }

  .stage-copy p {
    max-width: 230px;
  }

  .frame-machine {
    right: -34%;
    bottom: -6%;
    width: 105vw;
  }

  .coordinate {
    display: none;
  }

  .capability-grid,
  .process-grid,
  .choice-grid,
  .contact-fields {
    grid-template-columns: 1fr;
  }

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

  .work-row {
    grid-template-columns: 42px 1fr;
    min-height: 132px;
  }

  .work-row-tags {
    display: none;
  }

  .product-card {
    min-height: auto;
  }

  .system-card {
    min-height: 400px;
  }

  .process-card {
    min-height: 280px;
  }

  .product-visual {
    min-height: 220px;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cta-actions,
  .config-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .concept-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .summary-row {
    grid-template-columns: 90px 1fr;
  }

  .workspace-actions > :not(.mobile-workspace-toggle):not(:last-child) {
    display: none;
  }

  .project-panel-head,
  .panel-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .panel {
    padding: 18px;
  }

  .stage-index {
    display: none;
  }

  .grid-ticks {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
  }

  .grid-ticks span:nth-child(n) {
    text-align: left;
  }

  .grid-ticks span:nth-child(even) {
    text-align: right;
  }

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

  .span-3,
  .span-4,
  .span-5,
  .span-7,
  .span-8,
  .span-9,
  .span-12 {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
