/* =========================================================
   Dab Software — neo-brutalist / CMYK theme
   ========================================================= */

:root {
  --y: #ffe500;      /* yellow  */
  --c: #00e1ff;      /* cyan    */
  --m: #ff2bd6;      /* magenta */
  --k: #0b0b0b;      /* black   */
  --paper: #fffdf2;
  --bw: 3px;                         /* border width */
  --shadow: 6px 6px 0 var(--k);
  --shadow-sm: 4px 4px 0 var(--k);
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(1rem, 4vw, 3rem);
  --nav-h: 4.5rem;
}

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 11, 11, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 11, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--k);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: manual; margin: 0; line-height: 1; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 7.5vw, 6.5rem); line-height: .92; }
h2 { font-size: clamp(1.75rem, 4.4vw, 3.6rem); line-height: .95; }
.hero-grid > *, .statement > *, .sec-head > *, .product > *, .split > *, .duo > *, .svc-layout > * { min-width: 0; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.05; }

:focus-visible { outline: 3px solid var(--m); outline-offset: 3px; box-shadow: 0 0 0 6px var(--k); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--y); border: var(--bw) solid var(--k); padding: .6rem 1rem; font-family: var(--mono); }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 84rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.band { border-top: var(--bw) solid var(--k); border-bottom: var(--bw) solid var(--k); }
.bg-k { background: var(--k); color: var(--paper); }
.bg-y { background: var(--y); }
.bg-c { background: var(--c); }
.bg-m { background: var(--m); }
.bg-w { background: #fff; }

.halftone {
  background-image: radial-gradient(rgba(11, 11, 11, .22) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag::before { content: "[ "; }
.tag::after { content: " ]"; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; font-weight: 500; }
.mono { font-family: var(--mono); }
.stack > * + * { margin-top: 1.1rem; }

/* highlighted word blocks inside headings */
.hl { display: inline-block; padding: 0 .12em; border: var(--bw) solid var(--k); box-shadow: var(--shadow-sm); line-height: 1.05; }
.hl-y { background: var(--y); }
.hl-c { background: var(--c); }
.hl-m { background: var(--m); }

/* CMYK misregistration effect */
.misreg { text-shadow: 3px 3px 0 var(--c), -3px -2px 0 var(--m); }
.bg-k .misreg { text-shadow: 4px 4px 0 var(--m), -3px -2px 0 var(--c); }

/* ---------- box primitive ---------- */
.box { background: #fff; border: var(--bw) solid var(--k); box-shadow: var(--shadow); }
.box.bg-y { background: var(--y); }
.box.bg-c { background: var(--c); }
.box.bg-m { background: var(--m); }
.lift { transition: transform .15s ease, box-shadow .15s ease; }
.lift:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--k); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  background: var(--y); color: var(--k);
  border: var(--bw) solid var(--k);
  box-shadow: var(--shadow-sm);
  font-family: var(--mono); font-size: .95rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--k); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--k); }
.btn-c { background: var(--c); }
.btn-m { background: var(--m); }
.btn-w { background: #fff; }
.btn-k { background: var(--k); color: var(--y); }
.bg-k .btn { box-shadow: 4px 4px 0 var(--y); }
.bg-k .btn:hover { box-shadow: 6px 6px 0 var(--y); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-weight: 700; font-size: .9rem; text-transform: uppercase;
  text-decoration: none; border-bottom: var(--bw) solid var(--k);
}
.arrow-link:hover { background: var(--k); color: var(--y); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--bw) solid var(--k);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.logo { display: inline-flex; align-items: stretch; text-decoration: none; border: var(--bw) solid var(--k); box-shadow: var(--shadow-sm); font-family: var(--mono); font-weight: 700; font-size: 1rem; line-height: 1; }
.logo-a { background: var(--k); color: var(--y); padding: .5rem .55rem; }
.logo-b { background: #fff; padding: .5rem .55rem; display: flex; align-items: center; gap: .4rem; }
.logo-dots { display: inline-flex; gap: 3px; }
.logo-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--k); }
.logo-dots i:nth-child(1) { background: var(--c); }
.logo-dots i:nth-child(2) { background: var(--m); }
.logo-dots i:nth-child(3) { background: var(--y); }

.nav-menu { display: flex; align-items: center; gap: .5rem; }
.nav-link {
  padding: .45rem .8rem;
  border: var(--bw) solid transparent;
  font-family: var(--mono); font-size: .9rem; font-weight: 700; text-transform: uppercase; text-decoration: none;
}
.nav-link:hover { border-color: var(--k); background: var(--c); }
.nav-link[aria-current="page"] { border-color: var(--k); background: var(--y); box-shadow: 3px 3px 0 var(--k); }
.nav-menu .btn { margin-left: .5rem; padding: .55rem 1rem; }

.nav-toggle {
  display: none;
  padding: .5rem .8rem;
  background: var(--y); border: var(--bw) solid var(--k); box-shadow: 3px 3px 0 var(--k);
  font-family: var(--mono); font-weight: 700; font-size: .85rem; text-transform: uppercase; cursor: pointer;
}

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--k); color: var(--y); border-top: var(--bw) solid var(--k); border-bottom: var(--bw) solid var(--k); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-group { display: flex; align-items: center; justify-content: space-around; flex-shrink: 0; min-width: 100vw; }
.ticker span { padding: .9rem 1.4rem; font-family: var(--mono); font-weight: 700; font-size: clamp(.9rem, 1.4vw, 1.1rem); text-transform: uppercase; white-space: nowrap; }
.ticker span:nth-child(3n+2) { color: var(--c); }
.ticker span:nth-child(3n) { color: var(--m); }
.ticker-alt { background: var(--c); color: var(--k); }
.ticker-alt span:nth-child(n) { color: var(--k); }
.ticker-alt .ticker-track { animation-direction: reverse; animation-duration: 40s; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-top: 1.25rem; font-size: clamp(2.5rem, 5.4vw, 5rem); }
.hero h1 .hl { margin: .08em 0; }
.hero .lead { margin-top: 1.75rem; max-width: 36rem; }

/* collage of UI windows */
.collage { position: relative; min-height: 30rem; }
.win { position: absolute; border: var(--bw) solid var(--k); box-shadow: var(--shadow); background: #fff; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: .5rem .7rem; border-bottom: var(--bw) solid var(--k); font-family: var(--mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.win-bar i { width: 11px; height: 11px; border: 2px solid var(--k); border-radius: 50%; background: #fff; }
.win-bar i:nth-child(1) { background: var(--m); }
.win-bar i:nth-child(2) { background: var(--y); }
.win-bar i:nth-child(3) { background: var(--c); }
.win-bar b { margin-left: auto; font-weight: 700; }
.win-body { padding: 1rem; }

.win-code { top: 0; left: 0; width: 78%; }
.win-code .win-bar { background: var(--c); }
.code-line { display: flex; gap: .5rem; align-items: center; height: 1.35rem; }
.code-line em { font-style: normal; font-family: var(--mono); font-size: .7rem; width: 1.2rem; opacity: .5; }
.code-line span { height: .7rem; border: 2px solid var(--k); }

.win-term { top: 11.5rem; right: 0; width: 70%; background: var(--k); color: var(--y); z-index: 2; }
.win-term .win-bar { background: var(--y); color: var(--k); }
.win-term .win-body { font-family: var(--mono); font-size: .82rem; line-height: 1.7; }
.win-term .ok { color: var(--c); }
.win-term .cmt { color: var(--m); }
.cursor { display: inline-block; width: .55em; height: 1em; background: var(--y); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.win-chat { bottom: 0; left: 6%; width: 64%; z-index: 3; }
.win-chat .win-bar { background: var(--m); }
.bubble { border: var(--bw) solid var(--k); padding: .55rem .75rem; font-size: .9rem; font-weight: 600; line-height: 1.35; max-width: 92%; }
.bubble + .bubble { margin-top: .6rem; }
.bubble.me { margin-left: auto; background: var(--y); }
.bubble.bot { background: var(--c); }

.sticker {
  position: absolute; z-index: 5;
  display: grid; place-items: center; text-align: center;
  width: 7.5rem; height: 7.5rem; border-radius: 50%;
  border: var(--bw) solid var(--k); box-shadow: var(--shadow-sm);
  font-family: var(--mono); font-weight: 700; font-size: .78rem; line-height: 1.15; text-transform: uppercase;
}
.sticker strong { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.9rem; line-height: 1; }
.sticker-1 { top: -1.5rem; right: -.5rem; background: var(--y); transform: rotate(12deg); }
.sticker-2 { bottom: 5.5rem; right: -1rem; background: var(--m); transform: rotate(-10deg); width: 6.5rem; height: 6.5rem; }

/* registration mark */
.reg { width: 28px; height: 28px; }
.reg circle, .reg line { stroke: var(--k); stroke-width: 2; fill: none; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .tag { margin-bottom: 1rem; }
.sec-head h2 { margin-top: .75rem; }

/* ---------- statement block ---------- */
.statement { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.statement h2 { margin-top: 1rem; }
.statement .box { padding: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-grid .svc-card.svc-feature { background: var(--k); color: var(--paper); box-shadow: 6px 6px 0 var(--m); }
.svc-grid .svc-card.svc-feature:hover { box-shadow: 9px 9px 0 var(--m); }
.svc-feature .svc-num { background: var(--y); color: var(--k); }
.svc-feature .svc-icon * { stroke: var(--y); }
.svc-feature h3 { color: var(--y); }
.svc-badge { align-self: flex-start; margin-bottom: .75rem; padding: .15rem .5rem; background: var(--m); color: var(--k); border: 2px solid var(--paper); font-family: var(--mono); font-weight: 700; font-size: .75rem; text-transform: uppercase; }
.svc-card { display: flex; flex-direction: column; padding: 1.5rem; text-decoration: none; min-height: 19rem; }
.svc-card:nth-child(4n+1) { background: var(--y); }
.svc-card:nth-child(4n+2) { background: var(--c); }
.svc-card:nth-child(4n+3) { background: var(--m); }
.svc-card:nth-child(4n+4) { background: #fff; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.svc-num { font-family: var(--mono); font-weight: 700; font-size: .9rem; border: var(--bw) solid var(--k); background: #fff; padding: .15rem .45rem; }
.svc-icon { width: 2.6rem; height: 2.6rem; }
.svc-icon * { stroke: var(--k); stroke-width: 2.5; fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.svc-card h3 { margin-bottom: .75rem; }
.svc-card p { font-size: .98rem; font-weight: 500; }
.svc-go { margin-top: auto; padding-top: 1.25rem; font-family: var(--mono); font-weight: 700; font-size: .85rem; text-transform: uppercase; }
.svc-card:hover .svc-go { text-decoration: underline; text-decoration-thickness: 3px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--bw) solid var(--k); box-shadow: var(--shadow); }
.stat { padding: 2rem 1.5rem; }
.stat + .stat { border-left: var(--bw) solid var(--k); }
.stat:nth-child(1) { background: var(--y); }
.stat:nth-child(2) { background: #fff; }
.stat:nth-child(3) { background: var(--c); }
.stat:nth-child(4) { background: var(--m); }
.stat-v { display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(2.6rem, 5.5vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.stat-l { display: block; margin-top: .75rem; font-family: var(--mono); font-weight: 700; font-size: .8rem; text-transform: uppercase; }

/* ---------- toolkit (black section) ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tool-col { border: var(--bw) solid var(--paper); padding: 1.5rem; }
.tool-col h3 { color: var(--y); margin-bottom: 1.25rem; }
.tool-col:nth-child(2) h3 { color: var(--c); }
.tool-col:nth-child(3) h3 { color: var(--m); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: .3rem .6rem; border: 2px solid currentColor; font-family: var(--mono); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.chips-k li { border-color: var(--k); background: #fff; }

/* ---------- product (Treesheet) feature ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product h2 { margin: 1rem 0 1.25rem; }
.platforms { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.platforms span { padding: .4rem .75rem; background: #fff; border: var(--bw) solid var(--k); box-shadow: 3px 3px 0 var(--k); font-family: var(--mono); font-weight: 700; font-size: .85rem; text-transform: uppercase; }

/* devices */
.devices { position: relative; min-height: 27rem; }
.device-web { position: absolute; top: 0; left: 0; width: 82%; }
.device-web .win-bar { background: var(--y); }
.phone {
  position: absolute; width: 11.5rem; border: var(--bw) solid var(--k); box-shadow: var(--shadow);
  background: var(--k); padding: .55rem; border-radius: 1.6rem;
}
.phone-screen { background: #fff; border: 2px solid var(--k); border-radius: 1.15rem; overflow: hidden; min-height: 19rem; }
.phone-top { display: flex; justify-content: center; padding: .35rem 0 .25rem; }
.phone-top i { width: 3rem; height: .55rem; border-radius: 1rem; background: var(--k); }
.phone-a { right: 0; top: 4rem; z-index: 3; transform: rotate(4deg); }
.phone-b { left: 18%; bottom: -1rem; z-index: 2; transform: rotate(-5deg); border-radius: 1.2rem; }
.phone-b .phone-screen { border-radius: .8rem; }
.phone-b .phone-top i { width: .55rem; height: .55rem; }
.app-head { padding: .45rem .6rem; border-bottom: 2px solid var(--k); font-family: var(--mono); font-size: .62rem; font-weight: 700; text-transform: uppercase; display: flex; justify-content: space-between; }
.app-head.c { background: var(--c); }
.app-head.m { background: var(--m); }
.slot { display: flex; align-items: center; gap: .4rem; padding: .42rem .6rem; border-bottom: 2px solid var(--k); font-family: var(--mono); font-size: .62rem; font-weight: 700; }
.slot time { width: 2.6rem; }
.slot .dots { display: flex; gap: 3px; }
.slot .dots i { width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--k); background: var(--y); }
.slot .dots i.o { background: #fff; }
.slot .pill { margin-left: auto; padding: 0 .3rem; border: 2px solid var(--k); background: var(--c); font-size: .55rem; }
.slot .pill.busy { background: var(--m); }
.msg { margin: .45rem .55rem; padding: .35rem .5rem; border: 2px solid var(--k); font-size: .66rem; font-weight: 600; line-height: 1.3; max-width: 85%; }
.msg.r { margin-left: auto; background: var(--y); }
.msg.l { background: var(--c); }
.web-grid { display: grid; grid-template-columns: 5.5rem 1fr; min-height: 15rem; }
.web-side { border-right: 2px solid var(--k); background: var(--paper); padding: .5rem; display: grid; gap: .4rem; align-content: start; }
.web-side span { height: .65rem; border: 2px solid var(--k); background: #fff; }
.web-side span:first-child { background: var(--m); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(2.5rem, 6vw, 5rem); border: var(--bw) solid var(--k); box-shadow: 10px 10px 0 var(--k); }
.cta h2 { font-size: clamp(2.2rem, 6vw, 5rem); max-width: 16ch; }
.cta .lead { margin-top: 1.5rem; max-width: 34rem; }
.cta .reg { position: absolute; }
.cta .reg-tl { top: .75rem; left: .75rem; }
.cta .reg-br { bottom: .75rem; right: .75rem; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: var(--bw) solid var(--k); }
.page-head h1 { margin-top: 1.25rem; font-size: clamp(2.1rem, 7vw, 6rem); }
.page-head .lead { margin-top: 1.5rem; max-width: 44rem; }

/* ---------- services page ---------- */
.svc-layout { display: grid; grid-template-columns: 16rem 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.svc-index { position: sticky; top: calc(var(--nav-h) + 1.5rem); padding: 1.25rem; }
.svc-index ol { list-style: none; margin: .75rem 0 0; padding: 0; }
.svc-index a { display: flex; gap: .6rem; padding: .45rem .4rem; text-decoration: none; font-family: var(--mono); font-size: .82rem; font-weight: 700; text-transform: uppercase; line-height: 1.3; border: 2px solid transparent; }
.svc-index a:hover { background: var(--y); border-color: var(--k); }
.svc-index a span { opacity: .55; }
.svc-block { scroll-margin-top: calc(var(--nav-h) + 1.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); }
.svc-block + .svc-block { margin-top: 2.25rem; }
.svc-block-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.svc-block-head .svc-num { font-size: 1rem; }
.svc-block h2 { font-size: clamp(1.3rem, 3.6vw, 3rem); width: 100%; margin-top: .75rem; }
.svc-block-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.svc-block .chips { grid-column: 1 / -1; margin-top: .5rem; }
.svc-block:nth-of-type(4n+1) .svc-num { background: var(--y); }
.svc-block:nth-of-type(4n+2) .svc-num { background: var(--c); }
.svc-block:nth-of-type(4n+3) .svc-num { background: var(--m); }
.svc-block:nth-of-type(4n+4) .svc-num { background: var(--k); color: var(--y); }

/* ---------- treesheet page ---------- */
.ts-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); border-bottom: var(--bw) solid var(--k); }
.ts-hero h1 { font-size: clamp(2rem, 4.4vw, 4.4rem); margin-top: 1rem; }
.ts-hero .lead { margin-top: 1.5rem; max-width: 34rem; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plat { padding: 1.75rem; }
.plat-label { display: inline-block; padding: .2rem .55rem; border: var(--bw) solid var(--k); background: var(--k); color: var(--y); font-family: var(--mono); font-weight: 700; font-size: .85rem; margin-bottom: 1.25rem; }
.plat h3 { margin-bottom: .75rem; }
.plat ul { margin: 1rem 0 0; padding: 0; list-style: none; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 2.3rem; min-height: 1.6rem; font-weight: 500; line-height: 1.45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 2px solid var(--k); background: var(--y); font-family: var(--mono); font-weight: 700; font-size: .85rem; line-height: 1; }
.ticks.c li::before { background: var(--c); }
.ticks.m li::before { background: var(--m); }
.ticks b { font-weight: 800; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.aud { padding: clamp(1.5rem, 3vw, 2.5rem); }
.aud h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: .75rem 0 1.5rem; }

.hood { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--bw) solid var(--paper); }
.hood > div { padding: 1.5rem; border: 1.5px solid rgba(255, 253, 242, .35); }
.hood h3 { color: var(--y); font-size: 1.1rem; margin-bottom: .6rem; }
.hood > div:nth-child(3n+2) h3 { color: var(--c); }
.hood > div:nth-child(3n) h3 { color: var(--m); }
.hood p { font-size: .97rem; color: var(--paper); opacity: .9; }

/* ---------- cards (about / contact) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { padding: 1.75rem; }
.card h3 { margin: 1rem 0 .75rem; }
.card:nth-child(1) .card-n { background: var(--y); }
.card:nth-child(2) .card-n { background: var(--c); }
.card:nth-child(3) .card-n { background: var(--m); }
.card-n { display: inline-block; padding: .15rem .5rem; border: var(--bw) solid var(--k); font-family: var(--mono); font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* ---------- contact ---------- */
.contact-block { padding: clamp(2rem, 5vw, 4rem); border: var(--bw) solid var(--k); box-shadow: 10px 10px 0 var(--m); }
.contact-block h1 { margin-top: 1rem; font-size: clamp(2.4rem, 6vw, 5rem); }
.contact-block .lead { margin-top: 1.5rem; max-width: 40rem; }
.email-big {
  display: inline-block; margin-top: 2rem;
  font-weight: 900; font-stretch: 112%; font-size: clamp(1.25rem, 5vw, 3.75rem); line-height: 1.1;
  color: var(--y); text-decoration: none; overflow-wrap: anywhere;
  border-bottom: 5px solid var(--c);
}
.email-big:hover { color: var(--c); border-color: var(--m); }
.copy-status { font-family: var(--mono); font-weight: 700; color: var(--c); align-self: center; }

/* ---------- footer ---------- */
.footer { background: var(--k); color: var(--paper); border-top: var(--bw) solid var(--k); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-word { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.5rem, 8vw, 8rem); line-height: .85; letter-spacing: -.02em; color: var(--paper); }
.footer-word span { color: var(--y); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: var(--bw) solid var(--paper); }
.footer h4 { font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--c); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: .45rem; }
.footer a.f { text-decoration: none; font-weight: 500; }
.footer a.f:hover { background: var(--y); color: var(--k); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; font-family: var(--mono); font-size: .8rem; opacity: .8; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .nav-toggle { display: inline-block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .5rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--paper); border-bottom: var(--bw) solid var(--k);
    display: none;
  }
  .nav-open .nav-menu { display: flex; }
  .nav-link { font-size: 1.05rem; padding: .8rem 1rem; border-color: var(--k); background: #fff; }
  .nav-menu .btn { margin: .5rem 0 0; }

  .hero-grid, .statement, .sec-head, .product, .split, .duo { grid-template-columns: 1fr; }
  .collage { min-height: 31rem; max-width: 34rem; }
  .devices { max-width: 34rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--bw) solid var(--k); }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-index { position: static; }
  .three, .cards, .hood { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shadow: 5px 5px 0 var(--k); }
  .svc-grid, .tool-grid, .three, .cards, .hood, .svc-block-body { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: var(--bw) solid var(--k); }
  .collage { min-height: 33rem; }
  .win-code { width: 92%; }
  .win-term { width: 88%; top: 12rem; }
  .win-chat { width: 86%; left: 0; }
  .sticker-1 { right: 0; top: -1rem; width: 6.2rem; height: 6.2rem; }
  .sticker-1 strong { font-size: 1.5rem; }
  .sticker-2 { display: none; }
  .devices { min-height: 25rem; }
  .device-web { width: 100%; }
  .phone { width: 9.5rem; }
  .phone-a { top: 6.5rem; right: .25rem; }
  .phone-b { left: .25rem; bottom: -.5rem; }
  .btn { width: 100%; }
  .nav-menu .btn { width: auto; }
  .cta { box-shadow: 6px 6px 0 var(--k); }
  .contact-block { box-shadow: 6px 6px 0 var(--m); }
  .ts-hero h1 { font-size: 9.5vw; }
  .page-head h1 { font-size: 7.6vw; }
  .cta { padding: 2.25rem 1.25rem; }
  .cta h2 { font-size: 7.6vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; width: 100%; }
  .ticker-group { flex-wrap: wrap; justify-content: center; min-width: 0; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .cursor { animation: none; }
  .lift, .btn { transition: none; }
}
