@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ROICHITECT — "Blueprint" design system
   paper + ink + technical grid · lime is a highlighter, never a text colour */

:root {
  --paper: #F3F1EA;
  --paper-2: #EBE8DE;
  --card: #FAF9F5;
  --ink: #141414;
  --ink-2: #45443F;
  --ink-3: #6B6962;
  --line: rgba(20, 20, 20, 0.14);
  --line-soft: rgba(20, 20, 20, 0.07);
  --grid-minor: rgba(20, 20, 20, 0.035);
  --grid-major: rgba(20, 20, 20, 0.06);
  --lime: #C6FF00;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Highlighter: a lime marker stroke behind the words, drawn on load */
.mark {
  background-image: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 90%, transparent 90%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 1.1s var(--ease) 0.35s;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em;
}
.is-ready .mark, .no-js .mark { background-size: 100% 100%; }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 15px 22px; border: 1px solid var(--ink); border-radius: 2px;
  cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.25s var(--ease);
  background: transparent; color: var(--ink); line-height: 1;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { box-shadow: 4px 4px 0 var(--lime); transform: translate(-2px, -2px); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 11px 16px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 241, 234, 0.86);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 30px; height: 28px; }
.brand__word { font-weight: 600; letter-spacing: 0.14em; font-size: 15px; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--ink-2); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; display: flex; gap: 6px; color: var(--ink-3); }
.lang a { text-decoration: none; color: var(--ink-3); padding: 4px 2px; }
.lang a[aria-current="true"] { color: var(--ink); border-bottom: 2px solid var(--lime); }
.lang a:hover { color: var(--ink); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.sec--alt { background: rgba(235, 232, 222, 0.72); }
.sec__head { display: grid; grid-template-columns: 3fr 9fr; gap: 32px; margin-bottom: clamp(44px, 6vw, 72px); align-items: start; }
.sec__label { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }
.sec__label .n { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.sec__label .t { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); max-width: 17ch; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; margin: 22px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); outline: 1px solid var(--ink); }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.5rem); letter-spacing: -0.045em; line-height: 0.98; max-width: 13ch; }
.hero__sub { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 54ch; margin: 30px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__for { margin-top: 40px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); }
.hero__for b { color: var(--ink); font-weight: 500; }

/* Drawing sheet (hero + case studies) */
.sheet { position: relative; background: var(--card); border: 1px solid var(--ink); box-shadow: 8px 8px 0 rgba(20, 20, 20, 0.08); }
.sheet__body { padding: 22px 22px 10px; }
.sheet__tb { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--ink); }
.sheet__tb div { padding: 8px 12px; border-right: 1px solid var(--line); min-width: 0; }
.sheet__tb div:last-child { border-right: 0; }
.sheet__tb small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sheet__tb span { display: block; font-family: var(--mono); font-size: 11.5px; line-height: 1.4; color: var(--ink); }
.sheet::before, .sheet::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--ink); }
.sheet::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.sheet::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

/* SVG flow diagrams */
.flow { width: 100%; height: auto; overflow: visible; }
.flow .node rect { fill: var(--card); stroke: var(--ink); stroke-width: 1.2; }
.flow .node.hl rect { fill: var(--lime); }
.flow .node .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; fill: var(--ink); text-transform: uppercase; }
.flow .node .sub { font-family: var(--font); font-size: 10.5px; fill: var(--ink-3); }
.flow .edge { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.flow .edge.dash { stroke-dasharray: 4 4; }
.flow .dim { stroke: var(--ink-3); stroke-width: 0.8; fill: none; }
.flow .dimtxt { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); letter-spacing: 0.04em; }
.flow .pulse { fill: var(--ink); }
.flow .draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
.is-drawn .flow .draw { animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.18s + 0.2s); }
.flow .node { opacity: 0; transform: translateY(6px); transform-box: fill-box; }
.is-drawn .flow .node { animation: nodein 0.6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.12s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes nodein { to { opacity: 1; transform: none; } }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--card); }
.proof__in { display: grid; grid-template-columns: 2.2fr repeat(4, 3fr); }
.proof__in > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.proof__in > div:last-child { border-right: 0; }
.proof__k { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.proof__v { font-size: 14px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.proof__lbl { display: flex; align-items: center; color: var(--ink-2); }

/* ---------- Work / case studies ---------- */
.cases { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.case { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case:nth-child(even) { grid-template-columns: 7fr 5fr; }
.case:nth-child(even) .case__text { order: 2; }
.case__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; color: var(--ink-3); }
.case__meta .no { color: var(--ink); background: var(--lime); padding: 2px 6px; border: 1px solid var(--ink); }
.case h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.08; }
.case dl { margin: 26px 0 0; display: grid; grid-template-columns: 92px 1fr; gap: 12px 18px; }
.case dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.case dd { margin: 0; color: var(--ink-2); font-size: 16px; }
.case dd strong { color: var(--ink); font-weight: 600; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.stack span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; padding: 4px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-2); background: var(--card); }

/* ---------- Services (spec table) ---------- */
.spec { border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: 70px 4fr 6fr 3.4fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; align-items: baseline; }
.spec__row::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); transition: width 0.5s var(--ease); }
.spec__row:hover::before { width: 100%; }
.spec__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.spec__row h3 { font-size: 1.3rem; }
.spec__row p { margin: 0; color: var(--ink-2); font-size: 16px; }
.spec__tools { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.03em; line-height: 1.7; }
.spec__row:hover h3 .mark { background-size: 100% 100%; }
.spec__row h3 .mark { transition-delay: 0s; transition-duration: 0.5s; }
.spec__note { margin-top: 28px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); counter-reset: s; }
.step { padding: 28px 24px 8px 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); display: block; margin-bottom: 40px; }
.step__n::before { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--ink); }
.step:first-child .step__n::before { left: 0; }
.step + .step .step__n::before { left: -5px; }
.step h3 { margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.retainer { margin-top: 56px; display: grid; grid-template-columns: 3fr 9fr; gap: 32px; padding: 26px 28px; border: 1px solid var(--ink); background: var(--card); }
.retainer p { margin: 0; color: var(--ink-2); max-width: 70ch; }
.retainer p strong { color: var(--ink); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.fig { margin: 0; position: sticky; top: 100px; }
.fig__frame { position: relative; border: 1px solid var(--ink); background: var(--card); padding: 10px; }
.fig__frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 18%; }
.fig figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; color: var(--ink-3); }
.video-btn { margin-top: 18px; width: 100%; justify-content: center; }
.video-box { margin-top: 18px; aspect-ratio: 16 / 9; border: 1px solid var(--ink); background: var(--ink); }
.video-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.about__intro { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; letter-spacing: -0.015em; margin: 0 0 44px; max-width: 34ch; }
.tl { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ink); }
.tl li { position: relative; padding: 0 0 36px 32px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--ink); }
.tl li.now::before { background: var(--lime); }
.tl .yr { font-family: var(--mono); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.tl h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.tl p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 60ch; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.review { margin: 0; padding: 28px; border: 1px solid var(--ink); background: var(--card); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.review:first-child { background: var(--lime); }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; letter-spacing: -0.005em; }
.review:first-child blockquote { font-size: 1.25rem; }
.review figcaption { color: var(--ink-2); }
.review .todo { font-family: var(--mono); font-size: 11px; color: #9B1C1C; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.book__list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.book__list li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.book__list li span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 3px; }
.book__list li strong { color: var(--ink); font-weight: 600; display: block; }
.book__alt { margin-top: 26px; color: var(--ink-2); font-size: 16px; }
.book__alt a { color: var(--ink); font-weight: 500; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.cal { border: 1px solid var(--ink); background: #fff; min-height: 560px; position: relative; }
.cal__facade { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: clamp(28px, 5vw, 56px); min-height: 560px; background: var(--card);
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 48px 48px; }
.cal__facade h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 18ch; }
.cal__facade p { margin: 0; color: var(--ink-2); max-width: 46ch; font-size: 15px; }
.cal__facade .fine { font-size: 13px; color: var(--ink-3); }
.cal__widget { height: 1080px; }
.cal.is-loading::after { content: "Loading…"; position: absolute; top: 24px; left: 24px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---------- Footer: drawing title block ---------- */
.foot { border-top: 1px solid var(--ink); padding: 56px 0 40px; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.foot__claim { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; max-width: 22ch; margin: 0; }
.tb { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: var(--card); }
.tb > div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.tb > div:nth-child(4n) { border-right: 0; }
.tb > div:nth-last-child(-n+4) { border-bottom: 0; }
.tb small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.tb span, .tb a { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.tb a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.tb a:hover { text-decoration-color: var(--ink); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { text-decoration-color: var(--ink); }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 380px; background: var(--card); border: 1px solid var(--ink); box-shadow: 6px 6px 0 rgba(20, 20, 20, 0.1); padding: 18px 18px 16px; display: none; }
.consent.show { display: block; animation: nodein 0.4s var(--ease) both; }
.consent p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent p a { color: var(--ink); }
.consent__row { display: flex; gap: 10px; }

/* ---------- Legal page ---------- */
.legal { padding: clamp(56px, 8vw, 96px) 0 96px; }
.legal__in { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; margin-bottom: 12px; }
.legal h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 44px 0 10px; max-width: none; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; background: var(--card); }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .proof__in { grid-template-columns: repeat(2, 1fr); }
  .proof__lbl { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 14px !important; }
  .proof__in > div:nth-child(3) { border-right: 0; }
  .proof__in > div:nth-child(2), .proof__in > div:nth-child(3) { border-bottom: 1px solid var(--line); }
  .spec__row { grid-template-columns: 50px 1fr 1.4fr; }
  .spec__tools { grid-column: 2 / -1; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__grid, .case, .case:nth-child(even), .about, .book { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__text { order: 0; }
  .sec__head, .retainer { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(3) .step__n::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fig { position: static; max-width: 460px; }
  .tb { grid-template-columns: 1fr 1fr; }
  .tb > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .tb > div:nth-child(2n) { border-right: 0; }
  .tb > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .tb > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__in { height: 60px; }
  .brand__word { font-size: 13px; letter-spacing: 0.1em; }
  .brand svg { width: 26px; height: 24px; }
  .nav__right { gap: 12px; }
  .nav .btn--sm { padding: 10px 12px; font-size: 11px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .proof__in { grid-template-columns: 1fr; }
  .proof__in > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .proof__in > div:last-child { border-bottom: 0; }
  .case dl { grid-template-columns: 1fr; gap: 4px; }
  .case dd { margin-bottom: 12px; }
  .spec__row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .spec__tools { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step .step__n::before, .step + .step .step__n::before { left: 0; }
  .step__n { margin-bottom: 18px; }
  .reviews { grid-template-columns: 1fr; }
  .sheet__body { padding: 14px 10px 6px; }
  .sheet__tb { grid-template-columns: 1fr 1fr; }
  .sheet__tb div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .cal__widget { height: 1180px; }
  .tb { grid-template-columns: 1fr; }
  .tb > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .tb > div:last-child { border-bottom: 0 !important; }
  .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .flow .pulse { display: none; }
}
.flow .edge.dash { opacity: 0; }
.is-drawn .flow .edge.dash { animation: nodein 0.6s var(--ease) 1.1s forwards; }
.flow .arrow { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: miter; opacity: 0; }
.is-drawn .flow .arrow { animation: fadein 0.3s ease forwards; animation-delay: calc(var(--i, 0) * 0.18s + 1.3s); }
.is-drawn .flow .arrow--dash { animation-delay: 1.5s; }
@keyframes fadein { to { opacity: 1; } }
.is-ready .spec__row h3 .mark { background-size: 0% 100%; }
.is-ready .spec__row:hover h3 .mark { background-size: 100% 100%; }
@media (hover: none) { .is-ready .spec__row h3 .mark { background-size: 0% 100%; } }
.sm-show { display: none; }
@media (max-width: 640px) { .sm-hide { display: none; } .sm-show { display: inline; } }
@media (max-width: 640px) { .legal table { display: block; overflow-x: auto; } .legal th, .legal td { min-width: 150px; } }
.spec__tools a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.review .tr { display: block; margin-top: 6px; font-size: 10.5px; color: var(--ink-3); }
.review:first-child .tr { color: var(--ink-2); }
.review .tr a { color: inherit; }
.step p a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- Bracket labels [ LABEL ] — animation ported from Velia (brackets slide in, right bracket opens and reveals the text) ---------- */
[data-br] { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.br-g { display: inline-flex; align-items: baseline; gap: 0.55em; max-width: 100%; }
.br-l, .br-r { color: var(--ink-3); font-weight: 400; }
.br-l, .br-r, .br-t { display: inline-block; }
.br-t { white-space: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.br:not(.in) .br-g { opacity: 0; transform: translateX(-28px); }
.br:not(.in) .br-r { transform: translateX(calc(-1 * var(--d) + 0.55em)); }
.br:not(.in) .br-t { clip-path: inset(0 100% 0 0); }
.br.in .br-g { animation: brIn 0.8s cubic-bezier(.22,1,.36,1) both; }
.br.in .br-r { animation: brOpen 2.6s cubic-bezier(.16,1,.3,1) 0.65s both; }
.br.in .br-t { animation: brText 2.6s cubic-bezier(.16,1,.3,1) 0.65s both; }
.br.done .br-g, .br.done .br-r, .br.done .br-t { animation: none; opacity: 1; transform: none; clip-path: none; }
@keyframes brIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes brOpen { from { transform: translateX(calc(-1 * var(--d) + 0.55em)); } to { transform: none; } }
@keyframes brText { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .br .br-g, .br .br-r, .br .br-t { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; } }
.no-js [data-br]::before { content: "[ "; color: var(--ink-3); }
.no-js [data-br]::after { content: " ]"; color: var(--ink-3); }

/* hero eyebrow: small number + bracket label (replaces the lime square) */
.eyebrow { gap: 14px; align-items: baseline; }
.eyebrow::before { content: none; }
.eyebrow .n, .proof__lbl .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.sec__label .t[data-br] { color: var(--ink); }
.proof__lbl { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 8px; }
.proof__lbl .sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em; color: var(--ink-3); line-height: 1.45; }
/* proof band: label as a full-width row above the four cells */
.proof__in { grid-template-columns: repeat(4, 1fr); }
.proof__in > .proof__lbl { grid-column: 1 / -1; flex-direction: row; align-items: baseline !important; flex-wrap: wrap; gap: 6px 14px; border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 16px 20px !important; }
.proof__in > div:nth-child(5) { border-right: 0; }
.br-t { white-space: nowrap; }
@media (max-width: 1080px) {
  .proof__in { grid-template-columns: repeat(2, 1fr); }
  .proof__in > div:nth-child(3) { border-right: 0; }
  .proof__in > div:nth-child(2), .proof__in > div:nth-child(3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  [data-br] { font-size: 10.5px; letter-spacing: 0.02em; }
  .eyebrow { gap: 10px; }
  .proof__in { grid-template-columns: 1fr; }
}
.proof__in > .proof__lbl { justify-content: flex-start; }
