@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --paper: #f3efe6;
  --paper-light: #fffdf8;
  --ink: #171714;
  --muted: #67645d;
  --line: #cfc8bb;
  --orange: #ff5b35;
  --orange-light: #ffbea9;
  --blue: #5267f7;
  --blue-light: #c8d0ff;
  --acid: #d6f551;
  --pink: #efc7dd;
  --aqua: #b8e4de;
  --yellow: #f6db69;
  --display: "Bricolage Grotesque", sans-serif;
  --sans: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --content: 1360px;
  --gutter: clamp(18px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
html body div[data-b24-crm-button-cont].b24-widget-button-wrapper { visibility: visible !important; }
html body div[data-b24-crm-button-cont] .b24-widget-button-inner-item:first-of-type { opacity: 1 !important; }
.cursor-aura, .cursor-dot {
  position: fixed;
  z-index: 180;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
.cursor-aura { width: 74px; height: 74px; border: 1px solid var(--orange); mix-blend-mode: multiply; transition: width .2s ease, height .2s ease, border-color .2s ease, opacity .2s ease; }
.cursor-dot { width: 7px; height: 7px; background: var(--orange); transition: opacity .2s ease; }
body.cursor-active .cursor-aura, body.cursor-active .cursor-dot { opacity: 1; }
body.cursor-over .cursor-aura { width: 108px; height: 108px; border-color: var(--blue); }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -60px; padding: 10px 14px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 78px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.identity { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-family: var(--display); font-size: 13px; font-weight: 700; line-height: 1.05; text-decoration: none; }
.identity:hover { color: var(--ink); }
.identity small { color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.identity-mark { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; border-radius: 50%; background: var(--orange); font-size: 13px; transform: rotate(-8deg); transition: transform .3s ease; }
.identity:hover .identity-mark { transform: rotate(8deg); }
.site-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.site-nav a { font-size: 12px; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--orange); }
.header-cta { min-height: 46px; display: inline-flex; align-items: center; justify-self: end; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--orange); font-size: 13px; font-weight: 700; text-decoration: none; }
.header-cta:hover { color: var(--ink); background: var(--acid); }
.menu-toggle { display: none; border: 0; background: transparent; font: 700 12px/1 var(--sans); }

main { overflow: hidden; }
.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: clamp(70px, 9vw, 132px) var(--gutter) 150px;
  border-bottom: 1px solid var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 45%;
  top: 9%;
  width: 28vw;
  height: 28vw;
  min-width: 260px;
  min-height: 260px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  opacity: .45;
  transform: translate3d(var(--hero-parallax-x, 0), var(--hero-parallax-y, 0), 0);
  transition: transform .12s linear;
}
.overline, .section-index {
  margin: 0 0 22px;
  color: var(--muted);
  font: 600 10px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1060px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 9.7vw, 156px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .78;
}
.hero h1 em { position: relative; display: inline-block; color: var(--orange); font-style: normal; transform: translateX(clamp(10px, 8vw, 130px)); }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: -8px; bottom: -13px; height: 13px; border-top: 3px solid currentColor; border-radius: 50%; transform: rotate(-1deg); }
.hero-lead { max-width: 700px; margin: 56px 0 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 24px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 27px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.is-magnetic { --magnet-x: 0px; --magnet-y: 0px; transform: translate3d(var(--magnet-x), var(--magnet-y), 0); }
.is-magnetic:hover { transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 2px), 0); }
.button-primary { color: var(--ink); border-color: var(--ink); background: var(--orange); box-shadow: 4px 4px 0 var(--ink); }
.button-primary:hover { color: var(--ink); background: var(--acid); box-shadow: 2px 2px 0 var(--ink); }
.button-dark { color: var(--ink); background: var(--acid); box-shadow: 4px 4px 0 var(--ink); }
.text-link { font-size: 13px; font-weight: 700; }
.text-link:hover { color: var(--orange); }
.hero-board { position: relative; align-self: stretch; min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border: 1px solid var(--ink); border-radius: 50% 50% 10px 10px; background: var(--acid); transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) rotateZ(2deg) translate3d(var(--shift-x, 0), var(--shift-y, 0), 0); transform-style: preserve-3d; transition: transform .16s ease-out; }
.board-label { align-self: center; padding: 8px 12px; border: 1px solid currentColor; border-radius: 999px; font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-board p { max-width: 320px; margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.25; transform: rotate(-2deg); }
.board-orbit { position: relative; width: min(92%, 310px); aspect-ratio: 1; margin: auto; border: 1px solid var(--ink); border-radius: 50%; animation: orbit-spin 40s linear infinite; }
.board-orbit::before, .board-orbit::after { content: ""; position: absolute; inset: 19%; border: 1px solid var(--ink); border-radius: 50%; }
.board-orbit::after { inset: 39%; background: var(--orange); }
.board-orbit span { position: absolute; padding: 4px 7px; background: var(--acid); font: 600 9px/1 var(--mono); }
.board-orbit span:nth-child(1) { left: 39%; top: -5px; }
.board-orbit span:nth-child(2) { right: -18px; top: 48%; }
.board-orbit span:nth-child(3) { left: 38%; bottom: -5px; }
.board-orbit span:nth-child(4) { left: -22px; top: 48%; }
.board-orbit i { position: absolute; left: 50%; top: 19%; width: 1px; height: 62%; background: var(--ink); transform: rotate(45deg); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; display: flex; overflow: hidden; padding: 13px 0; color: #fff; border-top: 1px solid var(--ink); background: var(--blue); font: 600 12px/1 var(--mono); white-space: nowrap; transform: rotate(-1.5deg) scale(1.02); }
.hero-ticker div { min-width: max-content; animation: ticker 18s linear infinite; }
.hero-ticker .marquee-unit { flex: none; padding-right: 18px; }
@keyframes ticker { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.motion-strip {
  position: relative;
  z-index: 4;
  width: 103%;
  margin: -26px -1.5%;
  overflow: hidden;
  color: #fff;
  border-block: 1px solid var(--ink);
  background: var(--orange);
  transform: rotate(1.4deg);
}
.motion-strip > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  padding: 13px 0;
  font: 600 12px/1 var(--mono);
  white-space: nowrap;
  animation: strip-run var(--strip-speed, 14s) linear infinite;
}
.motion-strip .marquee-unit { display: inline-flex; flex: none; align-items: center; gap: 22px; padding-right: 22px; }
.motion-strip i { color: var(--acid); font-style: normal; animation: strip-star 2.4s ease-in-out infinite; }
.motion-strip:hover > div { animation-direction: reverse; }
@keyframes strip-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes strip-star { 50% { transform: rotate(180deg) scale(1.5); } }

.section { padding: clamp(82px, 11vw, 160px) var(--gutter); border-bottom: 1px solid var(--ink); }
.section-heading { margin-bottom: clamp(52px, 7vw, 100px); }
.section-heading h2, .library-heading h2, .process-intro h2, .contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 6.7vw, 100px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .92;
}
.split-heading { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .5fr); gap: 60px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); font-size: 15px; }

.problems { background: var(--paper-light); }
.problem-list { border-top: 2px solid var(--ink); }
.problem-list article { display: grid; grid-template-columns: 70px minmax(260px, .85fr) minmax(260px, 1fr); gap: 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.problem-list article:hover { padding-inline: 18px; background: var(--acid); }
.problem-list span { font: 600 11px/1 var(--mono); }
.problem-list h3 { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; }
.problem-list p { margin: 0; color: var(--muted); font-size: 14px; }

.featured-work { background: var(--paper); }
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.featured-card { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; grid-column: span 6; overflow: hidden; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--ink); border-radius: 4px; text-align: left; cursor: pointer; transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translate3d(0, var(--card-lift, 0), 0); transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .25s ease; }
.featured-card:nth-child(1), .featured-card:nth-child(4) { grid-column: span 7; }
.featured-card:nth-child(2), .featured-card:nth-child(3) { grid-column: span 5; }
.featured-card:hover { z-index: 2; --card-lift: -5px; box-shadow: 9px 9px 0 var(--ink); }
.featured-card > * { position: relative; z-index: 2; transform: translateZ(22px); }
.tone-1 { background: var(--orange-light); }
.tone-2 { background: var(--acid); }
.tone-3 { background: var(--blue-light); }
.tone-4 { background: var(--aqua); }
.tone-5 { background: var(--yellow); }
.tone-6 { background: var(--pink); }
.case-topline { display: flex; justify-content: space-between; gap: 20px; font: 600 14px/1.35 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.featured-card h3 { max-width: 800px; margin: 72px 0 20px; font-family: var(--display); font-size: clamp(28px, 3.5vw, 54px); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.featured-card p { max-width: 620px; margin: 0; font-size: 14px; }
.case-arrow { position: absolute; right: 24px; bottom: 18px; font-family: var(--display); font-size: 34px; transition: transform .2s ease; }
.featured-card:hover .case-arrow { transform: translate(4px, -4px); }

.case-library { background: var(--paper-light); }
.library-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.library-heading h2 { font-size: clamp(42px, 5.5vw, 76px); }
.view-switch { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.view-switch button, .filters button { min-height: 36px; padding: 0 13px; color: var(--muted); border: 0; border-radius: 999px; background: transparent; font: 600 11px/1 var(--sans); cursor: pointer; }
.view-switch button.active, .filters button.active { color: #fff; background: var(--ink); }
.filter-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 1px solid var(--line); background: var(--paper-light); }
.filters button:hover { border-color: var(--ink); }
.result-count { flex: none; margin: 10px 0 0; color: var(--muted); font: 500 10px/1 var(--mono); }
.case-results.list-view { border-top: 2px solid var(--ink); }
.case-row { width: 100%; display: grid; grid-template-columns: 76px minmax(300px, 1fr) minmax(180px, .45fr) 70px; gap: 24px; align-items: center; padding: 24px 0; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.case-row:hover { background: var(--acid); }
.case-row .row-index { padding-left: 8px; font: 500 10px/1 var(--mono); }
.case-row h3 { margin: 0; font-family: var(--display); font-size: clamp(20px, 2vw, 29px); letter-spacing: -.035em; line-height: 1.1; }
.case-row .row-meta { color: var(--muted); font: 500 10px/1.5 var(--mono); text-transform: uppercase; }
.case-row .row-arrow { font-size: 24px; text-align: center; transition: transform .2s; }
.case-row:hover .row-arrow { transform: translateX(5px); }
.case-results.grid-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid-view .case-row { min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 24px; border: 1px solid var(--ink); background: var(--paper); }
.grid-view .case-row:hover { background: var(--acid); }
.grid-view .row-index { padding: 0; }
.grid-view .row-meta { margin-top: auto; }
.grid-view .row-arrow { align-self: flex-end; }
.empty-state { grid-column: 1 / -1; padding: 80px 20px; border-top: 2px solid var(--ink); text-align: center; }

.process-preview { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: clamp(60px, 10vw, 150px); align-items: center; color: #fff; background: var(--blue); }
.process-intro h2 { font-size: clamp(44px, 6vw, 90px); }
.process-intro > p:not(.section-index) { max-width: 600px; margin: 30px 0; color: #e4e7ff; font-size: 17px; }
.process-preview .section-index { color: #d9ddff; }
.process-map { position: relative; aspect-ratio: 1; display: block; color: var(--ink); border: 1px solid #fff; border-radius: 50%; background: var(--paper); text-decoration: none; transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) rotateZ(var(--map-rotate, 0deg)); transform-style: preserve-3d; transition: transform .18s ease-out; }
.process-map:hover { --map-rotate: 2deg; color: var(--ink); }
.process-map::before, .process-map::after { content: ""; position: absolute; inset: 17%; border: 1px solid var(--ink); border-radius: 50%; }
.process-map::after { inset: 36%; }
.phase { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--acid); font: 600 11px/1 var(--mono); }
.phase b { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; border-radius: 50%; background: var(--ink); font-size: 8px; }
.phase-1 { left: 37%; top: -17px; }
.phase-2 { right: -28px; top: 46%; background: var(--orange-light); }
.phase-3 { left: 37%; bottom: -17px; background: var(--pink); }
.phase-4 { left: -34px; top: 46%; background: var(--aqua); }
.phase-1, .phase-3 { animation: phase-float-y 3.8s ease-in-out infinite; }
.phase-2, .phase-4 { animation: phase-float-x 4.2s ease-in-out infinite; }
.phase-3, .phase-4 { animation-delay: -2s; }
@keyframes phase-float-y { 50% { transform: translateY(-8px); } }
@keyframes phase-float-x { 50% { transform: translateX(8px); } }
.process-core { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; width: 27%; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font: 600 10px/1.3 var(--mono); text-align: center; transform: translate(-50%, -50%); animation: core-pulse 3s ease-in-out infinite; }
@keyframes core-pulse { 50% { box-shadow: 0 0 0 14px rgba(255, 91, 53, .18); } }

.experience { background: var(--paper); }
.experience-list { border-top: 2px solid var(--ink); }
.experience-list article { display: grid; grid-template-columns: minmax(150px, .3fr) 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.experience-list time { color: var(--orange); font: 600 11px/1.5 var(--mono); }
.experience-list h3 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(24px, 3vw, 40px); letter-spacing: -.04em; }
.experience-list h3 a { text-decoration: none; }
.experience-list p { max-width: 760px; margin: 0; color: var(--muted); }

.stack { background: var(--paper-light); }
.stack-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack-group { min-height: 360px; display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 30px; border: 1px solid var(--ink); background: var(--paper); transition: transform .25s ease, background .25s ease; }
.stack-group:hover { background: color-mix(in srgb, var(--acid) 38%, var(--paper)); transform: translateY(-5px) rotate(var(--stack-rotate, -.25deg)); }
.stack-group:nth-child(even) { --stack-rotate: .25deg; }
.stack-group-wide { grid-column: 1 / -1; min-height: 280px; }
.stack-number { font: 600 12px/1 var(--mono); }
.stack-group h3 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -.05em; }
.stack-group p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }
.technology-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.technology { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 7px 12px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-light); font-size: 11px; font-weight: 700; }
.technology svg { width: 25px; height: 25px; padding: 4px; border-radius: 50%; background: var(--paper); fill: currentColor; }
.technology-fallback { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 600 7px/1 var(--mono); }

.contact { padding: clamp(90px, 13vw, 190px) var(--gutter) 70px; color: #fff; background: var(--orange); }
.contact .section-index { color: #ffe1d7; }
.contact h2 { max-width: 1180px; font-size: clamp(55px, 9vw, 140px); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 70px; }
.contact-row a { min-height: 56px; display: inline-flex; align-items: center; padding: 0 22px; border: 2px solid #fff; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 700; text-decoration: none; }
.contact-row a:hover { color: var(--ink); background: var(--acid); }
.contact-note { margin: 30px 0 0; font: 500 10px/1 var(--mono); text-transform: uppercase; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px var(--gutter); color: var(--muted); background: var(--paper); font: 500 9px/1.4 var(--mono); text-transform: uppercase; }
.cookie-notice { position: fixed; z-index: 10000; left: 18px; bottom: 18px; display: flex; width: min(520px, calc(100% - 36px)); align-items: center; gap: 20px; padding: 18px; color: #fff; border: 1px solid #fff; background: var(--ink); box-shadow: 6px 6px 0 var(--orange); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: 12px; line-height: 1.5; }
.cookie-notice button { flex: 0 0 auto; min-height: 42px; padding: 0 17px; color: var(--ink); border: 0; border-radius: 999px; background: var(--acid); font: 700 11px/1 var(--sans); cursor: pointer; }
.cookie-notice button:hover { background: #fff; }

.case-dialog { width: min(920px, calc(100% - 30px)); max-height: calc(100svh - 30px); padding: 0; overflow: auto; color: var(--ink); border: 1px solid var(--ink); border-radius: 4px; background: var(--paper-light); box-shadow: 16px 16px 0 var(--ink); }
.case-dialog::backdrop { background: rgba(23, 23, 20, .72); backdrop-filter: blur(4px); }
.dialog-close { position: sticky; z-index: 5; left: 100%; top: 0; min-height: 44px; padding: 0 16px; color: #fff; border: 0; background: var(--ink); font: 600 11px/1 var(--sans); cursor: pointer; }
.dialog-inner { padding: clamp(28px, 6vw, 70px); }
.dialog-kicker { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 50px; font: 600 10px/1.4 var(--mono); text-transform: uppercase; }
.dialog-inner h2 { max-width: 780px; margin: 0 0 24px; font-family: var(--display); font-size: clamp(38px, 6vw, 70px); letter-spacing: -.055em; line-height: .98; }
.dialog-summary { max-width: 700px; margin: 0 0 45px; color: var(--muted); font-size: 17px; }
.dialog-details { border-top: 2px solid var(--ink); }
.dialog-details p { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dialog-details strong { font-family: var(--display); }
.dialog-flow { margin-top: 30px; padding: 20px; background: var(--acid); font: 500 11px/1.6 var(--mono); }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.dialog-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 700; }

.motion-ready .reveal-item { opacity: 0; transform: translateY(42px) rotate(.4deg); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .2, 1); }
.motion-ready .reveal-item.revealed { opacity: 1; transform: translateY(0) rotate(0); }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; padding: 24px var(--gutter); border-bottom: 1px solid var(--ink); background: var(--paper-light); }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; justify-self: end; }
  .header-cta { display: none; }
  .process-page .header-cta { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 960px; }
  .hero-board { width: min(520px, 100%); min-height: 560px; justify-self: end; }
  .process-preview { grid-template-columns: 1fr; }
  .process-map { width: min(650px, 90vw); justify-self: center; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; }
  .site-nav { top: 66px; }
  .identity-mark { width: 36px; height: 36px; }
  .hero { min-height: auto; padding-top: 76px; }
  .hero h1 { font-size: clamp(54px, 17vw, 90px); }
  .hero h1 em { transform: none; }
  .hero-lead { margin-top: 42px; }
  .hero-board { min-height: 470px; border-radius: 46% 46% 8px 8px; }
  .section-heading h2, .library-heading h2, .process-intro h2, .contact h2 { font-size: clamp(42px, 13vw, 70px); }
  .split-heading { grid-template-columns: 1fr; gap: 28px; }
  .problem-list article { grid-template-columns: 44px 1fr; gap: 14px; }
  .problem-list p { grid-column: 2; }
  .featured-grid { display: block; }
  .featured-card { width: 100%; min-height: 390px; margin-bottom: 10px; }
  .library-heading, .filter-bar { align-items: flex-start; flex-direction: column; }
  .case-row { grid-template-columns: 42px 1fr 34px; gap: 12px; }
  .case-row .row-meta { grid-column: 2; }
  .case-row .row-arrow { grid-column: 3; grid-row: 1 / 3; }
  .case-results.grid-view { grid-template-columns: 1fr; }
  .process-preview { padding-inline: var(--gutter); }
  .phase { font-size: 8px; padding: 8px; }
  .phase b { width: 19px; height: 19px; }
  .phase-2 { right: -15px; }
  .phase-4 { left: -15px; }
  .experience-list article { grid-template-columns: 1fr; gap: 12px; }
  .stack-groups { grid-template-columns: 1fr; }
  .stack-group-wide { grid-column: auto; }
  .stack-group { min-height: 0; padding: 24px 18px; }
  .stack-group h3 { font-size: 31px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .identity > span:last-child { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-board { min-height: 410px; padding: 18px; }
  .board-orbit { width: 220px; }
  .hero-board p { font-size: 17px; }
  .view-switch { width: 100%; }
  .view-switch button { flex: 1; }
  .technology { font-size: 10px; }
  .process-map { width: 95vw; transform: translateX(-2vw); }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .cookie-notice { align-items: stretch; flex-direction: column; gap: 12px; }
  .cookie-notice button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-ticker div { animation-duration: 18s !important; animation-iteration-count: infinite !important; animation-play-state: running !important; }
  .motion-strip > div { animation-duration: 14s !important; animation-iteration-count: infinite !important; animation-play-state: running !important; }
  .cursor-aura, .cursor-dot { display: none !important; }
}

@page { size: A4; margin: 12mm; }
@media print {
  body { background: #fff; }
  .site-header, .hero-ticker, .view-switch, .filters, .contact, .site-footer { display: none !important; }
  .hero, .section { min-height: 0; padding: 30px 0; }
  .hero { display: block; }
  .hero h1 { font-size: 54pt; }
  .hero-board { display: none; }
  .featured-grid { display: grid; }
  .featured-card { min-height: 0; break-inside: avoid; }
  .case-results { display: block !important; }
  .case-row { break-inside: avoid; }
}

/* Production cycle page */
.process-nav { display: flex; gap: 26px; }
.process-nav a { font-size: 12px; font-weight: 700; text-decoration: none; }
.process-nav a:hover { color: var(--orange); }
.process-hero {
  padding: clamp(90px, 11vw, 170px) var(--gutter) clamp(80px, 10vw, 145px);
  border-bottom: 1px solid var(--ink);
}
.process-hero h1 {
  max-width: 1320px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 9vw, 138px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: .84;
}
.process-hero h1 em { color: var(--orange); font-style: normal; }
.process-hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: min(820px, 70%); margin: 70px 0 0 auto; }
.process-hero-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.cycle-figure { padding: clamp(70px, 9vw, 130px) var(--gutter); color: #fff; border-bottom: 1px solid var(--ink); background: var(--blue); }
.cycle-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.cycle-toolbar .section-index { color: #dce0ff; }
.cycle-toolbar h2 { margin: 0; font-family: var(--display); font-size: clamp(36px, 5vw, 70px); letter-spacing: -.05em; }
.cycle-figure > a { display: block; overflow: hidden; border: 1px solid var(--ink); background: var(--paper); }
.cycle-figure img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.cycle-figure > a:hover img { transform: scale(1.01); }
.cycle-phases { padding: clamp(80px, 11vw, 160px) var(--gutter); background: var(--paper-light); }
.cycle-phases > .section-heading h2 { font-size: clamp(40px, 5.8vw, 82px); }
.cycle-phase { display: grid; grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); gap: clamp(30px, 7vw, 100px); margin-top: 18px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--ink); border-radius: 5px; }
.cycle-phase > header > span { font: 600 10px/1 var(--mono); text-transform: uppercase; }
.cycle-phase > header h3 { margin: 35px 0 18px; font-family: var(--display); font-size: clamp(38px, 5vw, 72px); letter-spacing: -.06em; line-height: .9; }
.cycle-phase > header p { max-width: 350px; margin: 0; color: #494740; font-size: 14px; }
.cycle-green { background: var(--acid); }
.cycle-orange { background: var(--orange-light); }
.cycle-pink { background: var(--pink); }
.cycle-aqua { background: var(--aqua); }
.cycle-steps { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.cycle-steps section { padding: 25px 24px 0 0; }
.cycle-steps section + section { padding-left: 24px; border-left: 1px solid rgba(23, 23, 20, .35); }
.cycle-steps section > span { font: 600 11px/1 var(--mono); }
.cycle-steps h4 { min-height: 75px; margin: 20px 0 18px; font-family: var(--display); font-size: clamp(23px, 2.6vw, 37px); letter-spacing: -.04em; line-height: 1.05; }
.cycle-steps ul { margin: 0; padding: 0; list-style: none; }
.cycle-steps li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid rgba(23, 23, 20, .25); font-size: 13px; }
.cycle-steps li::before { content: "→"; position: absolute; left: 0; }
.step-result { margin: 24px 0 0; padding: 16px; border: 1px solid var(--ink); background: rgba(255, 255, 255, .35); font-size: 12px; font-weight: 700; }
.cycle-result { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: clamp(90px, 12vw, 180px) var(--gutter); color: #fff; border-bottom: 1px solid var(--ink); background: var(--ink); }
.cycle-result h2 { max-width: 900px; margin: 0; font-family: var(--display); font-size: clamp(50px, 7vw, 102px); letter-spacing: -.06em; line-height: .9; }
.cycle-result .section-index { color: #aaa69e; }
.cycle-result ul { align-self: end; margin: 0; padding: 0; border-top: 1px solid #55534e; list-style: none; }
.cycle-result li { padding: 17px 0; border-bottom: 1px solid #55534e; font-size: 14px; }
.cycle-result li::before { content: "✓"; margin-right: 12px; color: var(--acid); }
.cycle-recheck { position: relative; padding: clamp(100px, 13vw, 190px) var(--gutter); overflow: hidden; background: var(--acid); }
.cycle-recheck::after { content: "↻"; position: absolute; right: -30px; bottom: -170px; color: var(--orange); font-family: var(--display); font-size: 470px; line-height: 1; opacity: .8; }
.cycle-recheck > * { position: relative; z-index: 1; }
.cycle-recheck > span { font: 600 11px/1 var(--mono); text-transform: uppercase; }
.cycle-recheck h2 { max-width: 1000px; margin: 36px 0 24px; font-family: var(--display); font-size: clamp(48px, 7vw, 105px); letter-spacing: -.06em; line-height: .9; }
.cycle-recheck p { max-width: 650px; margin: 0 0 35px; color: #494740; }

@media (max-width: 1100px) {
  .process-nav { display: none; }
  .process-page .site-header { grid-template-columns: 1fr auto; }
  .process-hero-copy, .cycle-phase, .cycle-result { grid-template-columns: 1fr; }
  .process-hero-copy { width: 100%; }
  .cycle-steps { margin-top: 20px; }
}

@media (max-width: 640px) {
  .process-hero h1 { font-size: clamp(52px, 16vw, 82px); }
  .process-hero-copy, .cycle-steps { grid-template-columns: 1fr; }
  .cycle-toolbar { align-items: flex-start; flex-direction: column; }
  .cycle-figure { padding-inline: 0; }
  .cycle-toolbar { padding-inline: var(--gutter); }
  .cycle-figure > a { overflow-x: auto; border-inline: 0; }
  .cycle-figure img { width: 900px; max-width: none; }
  .cycle-steps section + section { margin-top: 30px; padding-left: 0; border-left: 0; border-top: 1px solid rgba(23, 23, 20, .35); }
  .cycle-steps h4 { min-height: 0; }
}
