:root {
  color-scheme: light;
  --ink: #151515;
  --ink-2: #2e332d;
  --paper: #f7f8f2;
  --muted: #666f62;
  --line: #d8dece;
  --lime: #b7ff4a;
  --coral: #ff6b4a;
  --blue: #5ab6ff;
  --yellow: #f7c948;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 21, 21, .12);
  --radius: 8px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(90deg, rgba(21,21,21,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21,21,21,.04) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 18%), rgba(183, 255, 74, .20), transparent 260px);
  z-index: -1;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: .75rem;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: .65rem .9rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(21, 21, 21, .1);
  background: rgba(247, 248, 242, .88);
  backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 900;
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  border: 1px solid rgba(21,21,21,.14);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nav-toggle:hover {
  background: var(--lime);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .94rem;
}

.nav-links a {
  text-decoration: none;
  padding: .55rem .7rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .76rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cta:hover,
.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.secondary {
  background: var(--white);
}

.inquiry-float {
  display: none;
  position: fixed;
  right: 0;
  top: 58%;
  z-index: 36;
  transform: translateY(-50%) rotate(-90deg) translateY(50%);
  transform-origin: right center;
  padding: .54rem .78rem;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 0 0 var(--ink);
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--lime);
}

.section {
  padding: clamp(56px, 9vw, 112px) 0;
  scroll-margin-top: 92px;
}

.section.tight {
  padding-top: 46px;
  padding-bottom: 46px;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 7vw, 86px) 0;
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.45rem;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: .86rem;
  font-weight: 800;
}

.eyebrow::before,
.tag::before {
  content: "";
  width: .7rem;
  height: .7rem;
  border-radius: 2px;
  background: var(--coral);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: .98;
  letter-spacing: 0;
}

h1,
.h1 {
  font-family: var(--mono);
  font-size: clamp(2.25rem, 5.9vw, 4.3rem);
  font-weight: 950;
}

h2 {
  font-family: var(--mono);
  font-size: clamp(1.45rem, 2.9vw, 2.35rem);
  font-weight: 950;
}

h3 {
  font-family: var(--mono);
  font-size: clamp(1.08rem, 1.9vw, 1.42rem);
}

.lead {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
}

.hero-copy {
  max-width: 700px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  padding: .5rem .7rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 800;
}

.hero-portrait {
  margin: 0;
  padding: .8rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(.7deg);
}

.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.hero-portrait figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .78rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
}

.trust-row span {
  padding: .55rem .72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: .86rem;
  font-weight: 900;
}

.stack-lab {
  position: relative;
  min-height: 520px;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 18%, rgba(90,182,255,.28), transparent 180px),
    linear-gradient(135deg, var(--ink) 0 58%, #2b3029 58% 100%);
  color: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stack-lab::before {
  content: "";
  position: absolute;
  inset: -60px auto auto -40px;
  width: 190px;
  height: 190px;
  border: 18px solid rgba(183,255,74,.22);
  border-radius: 50%;
  animation: slowSpin 14s linear infinite;
}

.stack-lab::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 220px;
  background: repeating-linear-gradient(45deg, rgba(247,248,242,.16) 0 8px, transparent 8px 18px);
  transform: rotate(8deg);
}

.stack-screen {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 1.2rem;
  border: 1px solid rgba(247,248,242,.16);
  border-radius: var(--radius);
  display: grid;
  align-content: end;
  background: rgba(247,248,242,.08);
  backdrop-filter: blur(10px);
}

.stack-kicker,
.stack-bottom {
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 800;
  color: #d9dfd0;
}

.stack-screen strong {
  display: block;
  min-height: 1.1em;
  margin: .45rem 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: .92;
  transition: opacity .14s ease, transform .14s ease;
}

.stack-screen strong.is-changing {
  opacity: .2;
  transform: translateY(8px);
}

.stack-screen em {
  max-width: 430px;
  color: var(--paper);
  font-style: normal;
}

.stack-cloud {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1rem 0;
}

.stack-cloud button {
  border: 1px solid rgba(247,248,242,.2);
  border-radius: 999px;
  padding: .62rem .78rem;
  background: rgba(247,248,242,.08);
  color: var(--paper);
  font: 900 .86rem/1 var(--mono);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.stack-cloud button:hover,
.stack-cloud button.is-active {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-4px) rotate(-1deg);
}

.stack-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: space-between;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.prompt {
  color: var(--lime);
  flex: 0 0 auto;
}

.ok {
  color: var(--lime);
}

.warn {
  color: var(--yellow);
}

.blue {
  color: var(--blue);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(26px, 5vw, 52px);
}

.section-head p {
  max-width: 600px;
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head .tag {
  margin: 0 0 1.45rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.proof-card,
.case-card,
.contact-panel,
.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 30px rgba(21,21,21,.06);
}

.service-card {
  padding: 1.15rem;
  min-height: 292px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.service-card strong,
.mini-card strong {
  display: block;
  margin-bottom: .7rem;
  font-family: var(--mono);
  font-size: 1.05rem;
}

.service-card p,
.mini-card p,
.case-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul,
.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  margin-top: .48rem;
  padding-left: 1.35rem;
}

.service-card li::before,
.check-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-family: var(--mono);
  font-weight: 900;
}

.meta {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--coral);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 900;
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 30px rgba(21,21,21,.06);
}

.service-panel .meta,
.service-panel h3,
.service-panel .service-short {
  grid-column: 1;
}

.service-panel p,
.service-panel .check-list {
  grid-column: 2;
}

.service-panel h3 {
  align-self: start;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.service-panel p {
  margin: 0;
  color: var(--muted);
}

.service-panel p + p {
  margin-top: .85rem;
}

.service-short {
  align-self: end;
  margin-top: 1rem;
  padding: .8rem;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .95rem;
  line-height: 1.35;
}

.band {
  background: var(--ink);
  color: var(--paper);
}

.band h2,
.band h3 {
  color: var(--paper);
}

.band .lead,
.band p {
  color: #d9dfd0;
}

.band .tag {
  border-color: rgba(247,248,242,.2);
  background: rgba(247,248,242,.08);
  color: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  padding: 1rem;
  background: rgba(247,248,242,.08);
  border-color: rgba(247,248,242,.15);
}

.proof-card .num {
  display: block;
  margin-bottom: .6rem;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 950;
}

.compare-table {
  display: grid;
  border: 1px solid rgba(247,248,242,.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table > div {
  display: grid;
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr) minmax(0, 1fr);
}

.compare-table > div + div {
  border-top: 1px solid rgba(247,248,242,.16);
}

.compare-table strong,
.compare-table span,
.compare-table p {
  margin: 0;
  padding: .85rem 1rem;
}

.compare-table strong,
.compare-table span {
  font-family: var(--mono);
  font-weight: 900;
}

.compare-table strong {
  background: rgba(247,248,242,.1);
  color: var(--lime);
}

.compare-table span {
  color: var(--paper);
}

.compare-table p {
  color: #d9dfd0;
  border-left: 1px solid rgba(247,248,242,.16);
}

.ai-panel {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(21,21,21,.06);
}

.ai-panel p {
  margin: 0;
  color: var(--muted);
}

.ai-panel p + p {
  margin-top: .9rem;
}

.ai-panel strong {
  display: block;
  margin-top: 1rem;
  padding: .75rem .85rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lime);
  font-family: var(--mono);
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card {
  padding: 1.1rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card .num {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 950;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.visual-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(21,21,21,.06);
  transition: transform .24s ease, box-shadow .24s ease;
}

.visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform .32s ease, filter .32s ease;
}

.visual-card:hover {
  transform: translateY(-8px) rotate(.35deg);
  box-shadow: 10px 10px 0 var(--ink);
}

.visual-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.05);
}

.visual-card div {
  padding: 1rem;
}

.visual-card h3 {
  margin-bottom: .7rem;
}

.visual-card p {
  margin: 0;
  color: var(--muted);
}

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

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

.accordion button {
  width: 100%;
  padding: 1.1rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font: 900 1rem/1.3 var(--mono);
  text-align: left;
  cursor: pointer;
}

.accordion button span {
  flex: 1;
}

.accordion button::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lime);
}

.accordion button[aria-expanded="true"]::after {
  content: "-";
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .22s ease;
}

.accordion-panel[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 820px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.case-card div {
  padding: 1rem;
}

.case-card .meta {
  display: inline-block;
  margin-bottom: .8rem;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 900;
  color: var(--coral);
}

.project-slider {
  position: relative;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(21,21,21,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21,21,21,.045) 1px, transparent 1px),
    var(--white);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-case {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(21,21,21,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21,21,21,.045) 1px, transparent 1px),
    var(--white);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.project-case-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.case-facts {
  display: grid;
  gap: .65rem;
  margin: 0;
}

.case-facts div {
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
}

.case-facts dt {
  margin: 0 0 .25rem;
  color: var(--coral);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  color: var(--muted);
}

.project-slider::before {
  content: "";
  position: absolute;
  inset: auto -8% -44% auto;
  width: 360px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  opacity: .18;
  pointer-events: none;
}

.project-slider-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-slider-top strong,
.project-brand h3,
.dialog-head h2 {
  margin: .15rem 0 0;
}

.dialog-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.project-controls {
  display: flex;
  gap: .5rem;
}

.project-controls button,
.project-dots button,
.dialog-close {
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 900;
  cursor: pointer;
}

.project-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}

.project-controls button:hover,
.project-controls button:focus-visible {
  background: var(--lime);
  transform: translateY(-2px);
}

.project-viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.project-track {
  display: flex;
  transition: transform .48s cubic-bezier(.2, .9, .2, 1);
}

.project-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  min-height: 430px;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.project-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.project-brand img,
.ghost-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
}

.project-brand span {
  display: block;
  color: var(--coral);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-brand a {
  display: inline-flex;
  margin-top: .35rem;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.project-kicker {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.55;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.project-tags span {
  padding: .42rem .55rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 900;
}

.project-open {
  width: max-content;
}

.project-preview {
  position: relative;
  min-height: 410px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
  isolation: isolate;
}

.project-preview img {
  position: absolute;
  display: block;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  object-fit: cover;
  box-shadow: 10px 10px 0 rgba(21,21,21,.12);
  transition: transform .42s cubic-bezier(.2, .9, .2, 1), box-shadow .42s ease, filter .42s ease;
}

.preview-desktop {
  inset: 6% 5% auto 7%;
  z-index: 1;
  width: 72%;
  aspect-ratio: 16 / 10;
}

.preview-mobile {
  right: 4%;
  bottom: 4%;
  z-index: 3;
  width: min(32%, 168px);
  aspect-ratio: 9 / 16;
}

.preview-backend {
  left: 0;
  bottom: 9%;
  z-index: 2;
  width: 48%;
  aspect-ratio: 16 / 10;
  filter: saturate(.85);
}

.project-preview span {
  position: absolute;
  right: 5%;
  top: 7%;
  z-index: 4;
  max-width: 210px;
  padding: .45rem .6rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 900;
  text-align: left;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(2deg);
}

.project-preview:hover .preview-desktop,
.project-preview:focus-visible .preview-desktop {
  transform: translate(-14px, -12px) rotate(-2deg);
  box-shadow: 14px 14px 0 rgba(21,21,21,.16);
}

.project-preview:hover .preview-mobile,
.project-preview:focus-visible .preview-mobile {
  transform: translate(8px, -18px) rotate(4deg);
  box-shadow: 12px 12px 0 rgba(21,21,21,.18);
}

.project-preview:hover .preview-backend,
.project-preview:focus-visible .preview-backend {
  transform: translate(8px, 10px) rotate(2deg);
  filter: saturate(1.08);
}

.project-slide-next {
  align-items: center;
}

.ghost-logo {
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font: 900 2.4rem/1 var(--mono);
}

.project-placeholder {
  position: relative;
  min-height: 350px;
}

.project-placeholder span {
  position: absolute;
  width: 68%;
  aspect-ratio: 16 / 10;
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  background: rgba(247,248,242,.82);
  box-shadow: 8px 8px 0 rgba(21,21,21,.1);
}

.project-placeholder span:nth-child(1) {
  top: 10%;
  left: 8%;
  transform: rotate(-4deg);
}

.project-placeholder span:nth-child(2) {
  top: 26%;
  left: 20%;
  background: rgba(183,255,74,.18);
}

.project-placeholder span:nth-child(3) {
  top: 43%;
  left: 32%;
  background: rgba(90,182,255,.16);
  transform: rotate(3deg);
}

.project-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}

.project-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.project-dots button.is-active {
  width: 34px;
  border-radius: 999px;
  background: var(--ink);
}

.project-dialog {
  width: min(1180px, calc(100% - 28px));
  max-height: min(90vh, 920px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: auto;
}

.project-dialog[open] {
  animation: projectDialogIn .28s cubic-bezier(.2, .9, .2, 1);
}

.project-dialog::backdrop {
  background: rgba(21,21,21,.72);
  backdrop-filter: blur(8px);
}

.project-dialog-inner {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem);
}

.dialog-close {
  position: sticky;
  top: .75rem;
  float: right;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 1.45rem;
  line-height: 1;
}

.dialog-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(240px, .62fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
  padding-right: 3rem;
}

.dialog-head p {
  margin: 0;
  color: var(--muted);
}

.project-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr);
  gap: 1rem;
}

.project-gallery figure {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
}

.project-gallery figure img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: var(--ink);
}

.project-gallery figcaption {
  padding: .85rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 900;
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .6rem;
}

.project-thumbs button {
  display: grid;
  gap: .35rem;
  padding: .35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}

.project-thumbs button.is-active,
.project-thumbs button:hover,
.project-thumbs button:focus-visible {
  border-color: var(--ink);
  background: var(--lime);
}

.project-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 3px);
}

.project-story {
  display: grid;
  gap: .75rem;
}

.project-story article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-story article:hover {
  transform: translateX(-5px);
  box-shadow: 5px 5px 0 var(--ink);
}

.project-story span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 900;
}

.project-story h3 {
  margin: .25rem 0 .55rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.project-story p {
  margin: 0;
  color: var(--muted);
}

@keyframes projectDialogIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.about-img {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note {
  padding: 1rem;
  border-left: 6px solid var(--coral);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--ink-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-panel,
.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  border: 1px solid rgba(247,248,242,.16);
  border-radius: var(--radius);
  background: rgba(247,248,242,.08);
}

.field-pair {
  display: grid;
  gap: .35rem;
}

.field-pair.full,
.check-field,
.form-actions {
  grid-column: 1 / -1;
}

.field-pair label,
.check-field {
  color: var(--paper);
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 900;
}

.field-pair input,
.field-pair select,
.field-pair textarea {
  width: 100%;
  min-height: 48px;
  padding: .8rem .9rem;
  border: 1px solid rgba(247,248,242,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font: inherit;
}

.field-pair textarea {
  resize: vertical;
}

.trap {
  position: absolute;
  left: -9999px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  line-height: 1.45;
}

.check-field input {
  margin-top: .25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-success {
  color: #2f6b12;
}

.form-error {
  color: #9d2d19;
}

.contact-panel .mail {
  display: inline-block;
  margin: 1rem 0;
  font-family: var(--mono);
  font-size: clamp(1.25rem, 4vw, 2.1rem);
  font-weight: 950;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.form-hint {
  display: grid;
  gap: .8rem;
}

.mail-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--paper);
  font-family: var(--mono);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 950;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.field-demo {
  min-height: 48px;
  padding: .85rem .9rem;
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.65);
  font-family: var(--mono);
  font-size: .92rem;
}

.page-hero {
  padding: clamp(56px, 10vw, 110px) 0 clamp(36px, 7vw, 74px);
}

.breadcrumb {
  margin-bottom: 1.2rem;
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.content {
  max-width: 940px;
}

.page-hero .content {
  max-width: 1040px;
}

.content h2 {
  margin-top: 2.3rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.content p,
.content li {
  color: var(--ink-2);
  font-size: 1.04rem;
}

.content ul {
  padding-left: 1.2rem;
}

.legal-placeholder {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 2px dashed var(--coral);
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--paper);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .55rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: rgba(247,248,242,.96);
    box-shadow: 8px 8px 0 var(--ink), var(--shadow);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transform-origin: top right;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    display: block;
    min-height: 46px;
    padding: .72rem .8rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    font-family: var(--mono);
    font-weight: 900;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    border-color: var(--ink);
    background: var(--lime);
    color: var(--ink);
    transform: translateX(2px);
  }

  .nav .cta {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .inquiry-float {
    display: inline-flex;
  }

  .hero-grid,
  .two-col,
  .contact-grid,
  .service-panel,
  .project-case {
    grid-template-columns: 1fr;
  }

  .service-panel .meta,
  .service-panel h3,
  .service-panel .service-short,
  .service-panel p,
  .service-panel .check-list {
    grid-column: 1;
  }

  .compare-table > div {
    grid-template-columns: 1fr;
  }

  .compare-table p {
    border-left: 0;
    border-top: 1px solid rgba(247,248,242,.16);
  }

  .grid.three,
  .proof-grid,
  .visual-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }

  .project-slide,
  .dialog-head,
  .project-dialog-grid {
    grid-template-columns: 1fr;
  }

  .project-slide {
    min-height: auto;
  }

  .project-preview,
  .project-placeholder {
    min-height: 360px;
  }

  .project-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container,
  .nav,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: auto;
  }

  .grid.three,
  .grid.two,
  .proof-grid,
  .split-list,
  .visual-grid,
  .process-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .button,
  .cta {
    width: 100%;
  }

  h1,
  .h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .project-slider-top {
    align-items: flex-start;
  }

  .project-slide {
    gap: .5rem;
  }

  .project-brand {
    align-items: flex-start;
  }

  .project-brand img,
  .ghost-logo {
    width: 60px;
    height: 60px;
  }

  .project-preview,
  .project-placeholder {
    min-height: 300px;
  }

  .project-preview span {
    right: 3%;
    top: 4%;
    max-width: 170px;
  }

  .preview-desktop {
    width: 78%;
    left: 2%;
  }

  .preview-mobile {
    width: min(34%, 130px);
  }

  .preview-backend {
    width: 54%;
  }

  .project-open {
    width: 100%;
  }

  .dialog-head {
    padding-right: 0;
  }

  .project-dialog-inner {
    padding: .85rem;
  }

  .project-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
