@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/ibm-plex-sans-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/ibm-plex-sans-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/ibm-plex-sans-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #1ABFD4;
  --accent-hover: #3fcadc;
  --on-accent: #1e2024;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: 40px;
  --label-col: 176px;
  --col-gap: 56px;
}

:root, .fig {
  --bg: #1e2024;
  --surface: #25282d;
  --panel: #1a1c1f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eceded;
  --text-2: #d2d5da;
  --muted: #a3a8b0;
  --accent-text: #1ABFD4;
  --accent-dim: rgba(26, 191, 212, 0.35);
}

.band-light {
  --bg: #F4F4F0;
  --surface: #EBEBE5;
  --line: #DADAD3;
  --line-strong: #C4C5BD;
  --text: #17191C;
  --text-2: #33383F;
  --muted: #555B63;
  --accent-text: #0A6E7C;
  --accent-dim: rgba(10, 110, 124, 0.4);
  background: var(--bg);
  color: var(--text);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.with-dot { display: inline-flex; align-items: center; gap: 9px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-quiet { color: var(--text); border-color: var(--line-strong); background: none; }
.btn-quiet:hover { border-color: var(--muted); }

.wordmark {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}

.wordmark span { color: var(--accent-text); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}

.nav .wordmark { margin-right: auto; }

.nav-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover { color: var(--text); }

.nav-cta { font-size: 14px; padding: 7px 14px; }

/* HERO */
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 84px;
}

.status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

.status .now { color: var(--text-2); }
.status .sep { opacity: 0.45; }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 26px;
}

.hero-sub {
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 33em;
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.glance {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.glance-head {
  display: flex;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.glance-head b { font-weight: 500; color: var(--text); }

.glance dl {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
}

.glance dt, .glance dd {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}

.glance dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 13px;
}

.glance dd {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
  border-left: 1px solid var(--line);
}

.glance dt:last-of-type, .glance dd:last-of-type { border-bottom: 0; }

.glance .accent { color: var(--accent-text); }

.glance-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* SECTIONS */
.section .container { padding-top: 72px; padding-bottom: 72px; }

.row {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 1fr);
  gap: var(--col-gap);
}

.section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 6px;
}

.section-label b {
  display: block;
  font-weight: 400;
  color: var(--accent-text);
  margin-bottom: 4px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.sub-head {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 26px;
}

/* SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.services-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

.service {
  border-top: 1px solid var(--text);
  padding-top: 14px;
}

.service .n { display: block; font-family: var(--mono); font-size: 12px; color: var(--accent-text); margin-bottom: 6px; }
.service h3 { font-size: 16.5px; font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.service p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* CASE CARDS */
.card {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.card-head {
  background: var(--surface);
  padding: 22px 28px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card-title h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card-title h3 a { text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
.card-title h3 a:hover { border-bottom-color: var(--accent); }

.subtitle {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-text);
  margin-top: 8px;
}

.role-badge {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 4px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.stat-value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent-text);
  line-height: 1.3;
}

.stat-label { font-size: 13px; color: var(--muted); }

.card .fig { border-width: 1px 0; }

.card-body { padding: 24px 28px 28px; }

.card-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 38em;
}

.case-one .card { border-radius: 2px 2px 0 0; }

.card-figs { padding: 28px 28px 30px; }

.figs {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
}

.figs > div { padding: 0 28px; border-left: 1px solid var(--line-strong); }
.figs > div:first-child { padding-left: 0; border-left: 0; }

.big {
  font-family: var(--mono);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-text);
  white-space: nowrap;
}

.big-label { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

.case-two { margin-top: 56px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px 26px;
  background: var(--surface);
}

.split-text p { font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.split-text .split-stat { margin-top: auto; }

.split .fig {
  display: flex;
  flex-direction: column;
  border-width: 0 0 0 1px;
  border-color: var(--line-strong);
  padding: 18px 20px 24px;
}

.split .fig svg { margin: auto; }
.split .wide-tofu .t-main { font-size: 16px; }
.split .wide-tofu .t-node { font-size: 15.5px; }
.split .wide-tofu .t-acc { font-size: 13px; }

/* FULL CASE STUDY */
.case-full {
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 2px 2px;
}

.case-full > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.case-full > summary::-webkit-details-marker { display: none; }
.case-full > summary:hover { background: var(--surface); }
.case-full > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.case-full[open] > summary { border-bottom: 1px solid var(--line); }

.toggle-icon {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent-dim);
  border-radius: 2px;
  flex-shrink: 0;
}

.toggle-icon::before, .toggle-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.toggle-icon::before { width: 10px; height: 1.5px; }
.toggle-icon::after { width: 1.5px; height: 10px; }
.case-full[open] .toggle-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.toggle-label { font-size: 15.5px; font-weight: 500; color: var(--accent-text); }
.toggle-label .when-open { display: none; }
.toggle-label .read-time { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.case-full[open] .toggle-label .when-open { display: inline; }
.case-full[open] .toggle-label .when-closed { display: none; }

.toggle-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.case-full-body { padding: 36px 28px 44px; }

.meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}

.meta div { padding: 12px 16px 14px; }
.meta div + div { border-left: 1px solid var(--line); }

.meta dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta dd { font-size: 14.5px; line-height: 1.45; color: var(--text); }

.parts { margin-top: 56px; }

.part { padding-bottom: 64px; scroll-margin-top: 88px; }
.part:last-child { padding-bottom: 0; }

.part-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.part-head .num { font-family: var(--mono); font-size: 12.5px; color: var(--accent-text); }

.part h4 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }

.part p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 38em;
}

.part p + p { margin-top: 16px; }
.part strong { color: var(--text); font-weight: 500; }

.result-figs {
  grid-template-columns: auto auto;
  justify-content: start;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

/* FIGURES */
.fig {
  background-color: var(--panel);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--line);
  padding: 18px 24px 28px;
  color: var(--text);
}

.part .fig { margin-top: 32px; }

.fig-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}

.fig-caption span:first-child { color: var(--text-2); }

.fig svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.fig .wide-simple, .fig .wide-ebay { max-width: 800px; }
.fig .wide-tofu { max-width: 560px; }
.fig .tall { display: none; }

.fig .box { fill: var(--panel); stroke: var(--accent); stroke-width: 1.25; }
.fig .node { fill: var(--panel); stroke: var(--accent); stroke-width: 1; stroke-opacity: 0.7; }
.fig .side { fill: var(--panel); stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 3; }
.fig .tick { fill: var(--panel); stroke: var(--accent); stroke-width: 1; }
.fig .wire { fill: none; stroke: var(--accent); stroke-width: 1.25; }
.fig .wire.dashed { stroke-dasharray: 4 3; }
.fig .thin { fill: none; stroke: var(--accent); stroke-width: 0.9; }
.fig .limit { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 4; stroke-opacity: 0.6; }
.fig .ext { fill: none; stroke: var(--muted); stroke-width: 0.8; }
.fig .axis { fill: none; stroke: var(--muted); stroke-width: 1; }
.fig text { text-anchor: middle; }
.fig .t-main { fill: var(--text); font-family: var(--sans); font-size: 14px; font-weight: 500; }
.fig .t-node { fill: var(--text-2); font-family: var(--sans); font-size: 13.5px; }
.fig .t-note { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.fig .t-acc { fill: var(--accent); font-family: var(--mono); font-size: 11px; }
.fig .t-big { fill: var(--accent); font-family: var(--mono); font-size: 16px; font-weight: 500; }
.fig .t-start { text-anchor: start; }
.fig .t-end { text-anchor: end; }
.fig .bal circle { fill: var(--panel); stroke: var(--accent); stroke-width: 1.2; }
.fig .bal text { fill: var(--accent); font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.fig .tall .t-note, .fig .tall .t-acc { font-size: 12.5px; }
.fig .tall-full .t-note, .fig .tall-full .t-acc { font-size: 13px; }

.detail { max-width: 460px; }
.detail svg { max-width: 360px; }

.detail-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
}

.detail-title b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 3px double var(--accent);
}

.detail-title span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.detail .fig-note {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.balloon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent-text);
  flex-shrink: 0;
}

.notes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 40px;
  margin-top: 28px;
}

.notes li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.notes li > span:last-child { padding-top: 1px; }

.notes .ref {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent-text);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
}

/* WORKING TOGETHER */
.ways {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ways li {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 18px 20px 20px;
}

.ways h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
}

.option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.2px solid var(--accent-text);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-text);
  flex-shrink: 0;
}
.ways p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.steps-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin: 36px 0 16px;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--accent);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.steps li::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--accent);
}

/* START A PROJECT */
.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.start .section-label { margin-bottom: 20px; }

.start h2 {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.start-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 10px;
}

.start-note {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.direct { margin-top: 32px; }
.direct h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; }

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

.channel {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-strong);
}

.channel-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.channel-icon { width: 15px; height: 15px; flex-shrink: 0; }

.channel a, .channel .value {
  font-family: var(--mono);
  font-size: 14.5px;
  overflow-wrap: anywhere;
}

.channel a { color: var(--accent-text); text-decoration: none; }
.channel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.channel .value { color: var(--text-2); }

.copy {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 4px 10px;
  cursor: pointer;
}

.copy:hover { color: var(--text); border-color: var(--muted); }
.copy.done { color: var(--accent-text); border-color: var(--accent-dim); }

.direct .terms { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* BRIEF BUILDER */
.brief {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 24px 26px 22px;
}

.brief fieldset { border: 0; margin-bottom: 18px; min-width: 0; }

.brief legend, .brief .q {
  display: flex;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 9px;
  padding: 0;
}

.brief .num { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--accent-text); padding-top: 2px; }
.brief .hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.chip span {
  display: inline-block;
  font-size: 13.5px;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}

.chip span:hover { border-color: var(--muted); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.brief textarea, .brief input[type="email"], .brief input[type="text"] {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 9px 12px;
}

.brief textarea { height: 78px; resize: vertical; }

.brief textarea::placeholder, .brief input::placeholder { color: #8a9098; }

.brief textarea:focus, .brief input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.contact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
}

.contact-fields label {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 5px;
}

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.brief-submit { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 4px; }
.privacy { font-size: 13px; line-height: 1.5; color: var(--muted); }
.brief-error { flex-basis: 100%; font-size: 14px; line-height: 1.5; color: var(--text); }
.brief-error a { color: var(--accent-text); }

.brief-done h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.brief-done p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.brief-done:focus { outline: none; }

/* FOOTER */
footer { border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 64px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.footer-inner .wordmark { font-size: 12px; font-weight: 400; color: var(--muted); }

/* NARROW DESKTOP */
@media (max-width: 1120px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-side { max-width: 520px; }
}

/* TABLET */
@media (max-width: 1000px) {
  .nav-inner { gap: 24px; }

  .row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .section-label b { display: inline; margin: 0 8px 0 0; }

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

  .start-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .start-intro { max-width: 560px; }
}

@media (max-width: 820px) {
  .nav-link { display: none; }
}

@media (max-width: 760px) {
  .fig .wide-simple { display: none; }
  .fig .tall.simple { display: block; max-width: 320px; }

  .ways { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    border-top: 0;
  }

  .steps li { border-top: 1px solid var(--accent); }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split .fig { border-width: 1px 0 0; }
}

@media (max-width: 720px) {
  .status { flex-direction: column; align-items: flex-start; gap: 6px; }
  .status .sep { display: none; }
  .status .indent { display: inline-flex; align-items: center; gap: 9px; }
  .status .indent::before { content: ''; width: 5px; height: 5px; margin: 0 1px; border-radius: 50%; background: var(--muted); opacity: 0.6; }
}

/* PHONE */
@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .nav-inner { height: 54px; gap: 16px; }

  .hero .container { padding-top: 56px; padding-bottom: 64px; gap: 44px; }
  .status { margin-bottom: 22px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 30px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .glance dl { grid-template-columns: 108px minmax(0, 1fr); }
  .glance dt, .glance dd { padding: 10px 12px; }
  .glance dt { padding-top: 12px; font-size: 10.5px; }
  .glance dd { font-size: 14px; }
  .glance-note { font-size: 13.5px; }

  .section .container { padding-top: 60px; padding-bottom: 60px; }
  .row { gap: 20px; }
  .sub-head { font-size: 18px; margin-bottom: 16px; }

  .services { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .services-intro { font-size: 16px; }

  .card-head { padding: 20px; }
  .card-title h3 { font-size: 21px; }
  .card-body { padding: 20px; }
  .card-body p { font-size: 15.5px; }
  .card-figs { padding: 22px 20px 24px; }

  .figs { grid-template-columns: minmax(0, 1fr); }
  .figs > div { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line-strong); margin-top: 18px; }
  .figs > div:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
  .big { font-size: 34px; }

  .case-full > summary { padding: 16px 20px; }
  .toggle-meta { display: none; }
  .case-full-body { padding: 28px 20px 36px; }

  .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .meta div:nth-child(3) { border-left: 0; }
  .meta div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .parts { margin-top: 44px; }
  .part { padding-bottom: 52px; }
  .part h4 { font-size: 21px; }
  .part p { font-size: 16px; }

  .fig { padding: 14px 14px 20px; }
  .fig-caption { margin-bottom: 16px; }
  .fig .wide-ebay, .fig .wide-tofu { display: none; }
  .fig .tall { display: block; max-width: 340px; }
  .fig .tall.tofu, .fig .tall-full { max-width: 300px; }
  .detail .t-note, .detail .t-acc { font-size: 16.5px; }

  .notes { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .notes li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .notes .balloon { display: none; }

  .case-two { margin-top: 48px; }

  .split-text { padding: 20px; }

  .ways li { padding: 16px 18px 18px; }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-left: 1px solid var(--accent);
    margin-left: 3px;
  }

  .steps li { border-top: 0; padding: 0 0 20px 24px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::after { top: 4px; left: -4px; }

  .start-body, .start-note { font-size: 15.5px; }
  .brief { padding: 18px 16px; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .brief-submit .btn { width: 100%; }
  .channel { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; }
  .channel-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  .footer-inner { height: 56px; }
}
