/* ============================================================
   DESIGN PROCESS — "Blueprint / Schematic" treatment
   A technical drawing of a design practice, built entirely
   on the site design system (style.css tokens: blue accent,
   Fraunces + Inter, warm minimal). No new fonts or colors.
   All classes scoped under .dp.
   ============================================================ */

.dp { --dp-line: #D4D4D8; --dp-hair: #E4E4E7; }
.dp *, .dp *::before, .dp *::after { box-sizing: border-box; }

/* Use more horizontal space on wide screens (the site caps .content at 1280px
   and .content .container at 1080px, leaving a large empty gap on the right). */
body[data-page="design-process"] .content { max-width: 1560px !important; }
body[data-page="design-process"] .content .container { max-width: 100% !important; }
body[data-page="design-process"] .content .section { padding-left: clamp(20px, 2.4vw, 44px); padding-right: clamp(20px, 2.4vw, 44px); }

/* ── shared annotation label (replaces V2 mono) ── */
.dp-anno {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: 16px;
}
.dp-anno::before {
  content: ''; width: 14px; height: 1px; background: var(--accent-bright);
}
.dp-anno--muted { color: var(--text-3); }
.dp-anno--muted::before { background: var(--border-strong); }

/* ── block rhythm ── */
.dp-block { padding-top: clamp(56px, 7vw, 96px); }
.dp-block + .dp-block { margin-top: clamp(8px, 2vw, 24px); }
.dp-block--rule { border-top: 1px solid var(--dp-hair); }

/* numbered section head */
.dp-head { display: grid; grid-template-columns: 60px 1fr; gap: 24px; margin-bottom: 44px; }
.dp-head > div { display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 56px; align-items: end; }
.dp-head__eyebrow { grid-column: 1; grid-row: 1; }
.dp-head__h { grid-column: 1; grid-row: 2; }
.dp-head__lead { grid-column: 2; grid-row: 2; }
.dp-head__n {
  font-family: var(--font-serif); font-weight: 300; font-size: 40px;
  line-height: 1; color: var(--text-3);
  border-top: 2px solid var(--text); padding-top: 12px;
}
.dp-head__eyebrow {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 12px;
}
.dp-head__h {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(27px, 3.4vw, 40px); line-height: 1.14;
  letter-spacing: -0.02em; color: var(--text); margin: 0 0 14px;
}
.dp-head__lead { font-size: 16px; color: var(--text-2); max-width: 52ch; margin-bottom: 4px; }

/* ── pull quote ── */
.dp-pull {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(21px, 2.6vw, 31px); line-height: 1.35;
  letter-spacing: -0.01em; color: var(--text); max-width: 27ch;
  margin: 40px 0 0; padding-top: 22px; border-top: 2px solid var(--accent);
}

/* ============================================================
   SECTION TABS (anchor nav) — follows the site nav language:
   text links, accent underline, translucent sticky bar.
   ============================================================ */
.dp-tabs {
  position: sticky; top: 0; z-index: 40;
  display: flex; gap: clamp(18px, 3vw, 40px);
  margin: clamp(36px, 5vw, 56px) 0 clamp(4px, 1.5vw, 12px);
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.dp-tabs::-webkit-scrollbar { display: none; }
.dp-tab {
  position: relative; flex: 0 0 auto;
  padding: 15px 1px;
  font-size: 15px; font-weight: 500; line-height: 1;
  color: var(--text-2); white-space: nowrap;
  transition: color 200ms var(--ease);
}
.dp-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease);
}
.dp-tab:hover { color: var(--text); }
.dp-tab.is-active { color: var(--accent); }
.dp-tab.is-active::after { transform: scaleX(1); }

.dp-block[id], .dp-close { scroll-margin-top: 96px; }

/* ============================================================
   TITLE BLOCK (hero)
   ============================================================ */
.dp-hero__h {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.06;
  letter-spacing: -0.025em; color: var(--text); margin: 0 0 32px; max-width: 17ch;
}
.dp-hero__grid { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 24rem); justify-content: space-between; align-items: start; gap: clamp(40px, 6vw, 96px); }
.dp-hero__lead {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(19px, 2.2vw, 25px); line-height: 1.45; color: var(--text);
}
.dp-hero__intro { max-width: 40rem; }
.dp-hero__body { font-size: 16px; color: var(--text-2); line-height: 1.7; }
.dp-hero__intro .dp-hero__body { margin-top: 18px; }

/* hero "after" process flow — vertical stepper (continuous line) */
.dp-hero__flow { display: flex; flex-direction: column; gap: 16px; }
.dp-flowlabel {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-bright);
}
.dp-herosteps { display: flex; flex-direction: column; }
.dp-herosteps li {
  position: relative; display: flex; align-items: center; gap: 15px; padding: 9px 0;
}
.dp-herosteps li:not(:last-child)::before {
  content: ''; position: absolute; left: 6px; top: 50%; height: 100%; width: 2px;
  background: var(--border-strong); z-index: 0;
}
.dp-herosteps__dot {
  flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-light); border: 2px solid var(--accent-bright);
  position: relative; z-index: 1;
}
.dp-herosteps .is-loop .dp-herosteps__dot { background: var(--accent); border-color: var(--accent); }
.dp-herosteps__t { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.3; }
.dp-herosteps .is-loop .dp-herosteps__t { color: var(--accent); }

/* ============================================================
   01 — CONTAINMENT DIAGRAM
   ============================================================ */
.dp-grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; margin-bottom: 8px; }

.dp-contain { position: relative; height: 444px; }
.dp-layer { position: absolute; border: 1px dashed var(--dp-line); border-radius: var(--radius-m); }
.dp-layer--0 { inset: 0; background: rgba(30,64,175,0.015); }
.dp-layer--1 { inset: 44px; background: rgba(30,64,175,0.025); }
.dp-layer--2 { inset: 88px; background: rgba(30,64,175,0.04); }
.dp-layer--3 { inset: 132px; border-style: solid; border-color: var(--accent); background: var(--surface); box-shadow: var(--shadow-m); }
.dp-layer__tag { position: absolute; top: 9px; left: 13px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-3); }
.dp-layer__name { position: absolute; top: 8px; left: 40px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.dp-layer--3 .dp-layer__name { color: var(--accent); }
.dp-core { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); text-align: center; width: 90%; }
.dp-core span { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); }
.dp-core strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 19px; line-height: 1.2; margin-top: 5px; color: var(--text); }

.dp-side { display: flex; flex-direction: column; gap: 30px; }
.dp-legend ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.dp-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.dp-legend__id { flex-shrink: 0; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; color: #fff; background: var(--text); border-radius: 4px; padding: 2px 6px; }
.dp-callouts { border-top: 1px solid var(--dp-hair); padding-top: 24px; }
.dp-callout { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px dotted var(--dp-line); align-items: baseline; }
.dp-callout:last-child { border-bottom: 0; }
.dp-callout__k { font-family: var(--font-serif); font-size: 18px; color: var(--accent); }
.dp-callout__v { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ============================================================
   02 — FLOW SCHEMATIC (questions + registers)
   ============================================================ */
.dp-flowintro { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-bottom: 28px; }
.dp-flowintro strong { color: var(--text); font-weight: 600; }
/* orienting questions as a plain text list */
.dp-qlist { display: flex; flex-direction: column; }
.dp-qlist li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--dp-hair); }
.dp-qlist li:last-child { border-bottom: 1px solid var(--dp-hair); }
.dp-qlist__id { flex: 0 0 auto; min-width: 30px; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; color: var(--accent-bright); }
.dp-qlist p { font-size: 16px; color: var(--text); line-height: 1.55; }

/* system-mapping intro + compact two-register layout */
.dp-mapintro { margin: 24px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.dp-mapintro p { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.dp-mapintro p:first-child { font-size: 18px; color: var(--text); font-weight: 500; }

.dp-registers2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dp-reg2 { background: var(--surface); border: 1px solid var(--dp-line); border-radius: var(--radius-m); padding: 26px; }
.dp-reg2--accent { background: var(--accent-light); border-color: rgba(37,99,235,0.18); }
.dp-reg2__head { margin-bottom: 18px; }
.dp-reg2__id { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); }
.dp-reg2__sub { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 19px; color: var(--text); margin-top: 5px; }
.dp-reg2__list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--dp-hair); }
.dp-reg2--accent .dp-reg2__list { border-bottom-color: rgba(37,99,235,0.16); }
.dp-reg2__list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text); }
.dp-reg2__list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent-bright); }
.dp-reg2__desc { font-size: 14px; line-height: 1.6; color: var(--text-2); }
/* closing statement for the practice / mapping section */
.dp-mapclose { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.dp-mapclose p { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.dp-mapclose__lead { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 2.3vw, 26px); line-height: 1.4; letter-spacing: -0.01em; color: var(--text); }
/* AI section intro paragraph */
.dp-aiintro { font-size: 16px; line-height: 1.7; color: var(--text-2); margin: 0 0 36px; }
@media (max-width: 760px) { .dp-registers2 { grid-template-columns: 1fr; } }
.dp-decisions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--dp-line); border-radius: var(--radius-m);
  overflow: hidden; background: var(--surface); margin-bottom: 28px;
}
.dp-decision { padding: 22px 20px; border-right: 1px solid var(--dp-line); display: flex; flex-direction: column; gap: 13px; }
.dp-decision:last-child { border-right: 0; }
.dp-decision__id { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent-bright); }
.dp-decision p { font-size: 14px; color: var(--text); line-height: 1.5; }

.dp-registers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dp-register { border: 1px solid var(--dp-line); border-radius: var(--radius-m); padding: 24px; background: var(--surface); }
.dp-register ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dp-register li { font-size: 12.5px; font-weight: 500; color: var(--text-2); padding: 7px 13px; border: 1px solid var(--dp-line); border-radius: 100px; transition: border-color 200ms var(--ease), color 200ms var(--ease); }
.dp-register li:hover { border-color: var(--text-3); color: var(--text); }
.dp-register--accent li { color: var(--accent); border-color: rgba(37,99,235,0.22); background: var(--accent-light); }

/* ============================================================
   03 — AI: TRACK + WIRING + PIPES
   ============================================================ */
.dp-track { margin-bottom: 48px; }
.dp-track__rail { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.dp-track__rail::before {
  content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 7px, transparent 7px 15px);
}
.dp-station { padding-right: 28px; }
.dp-station__tick { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); margin-bottom: 18px; position: relative; z-index: 1; }
.dp-station--now .dp-station__tick { background: var(--accent); }
.dp-station__year { display: block; font-family: var(--font-serif); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.dp-station__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin: 8px 0 18px; }
.dp-station__items { display: flex; flex-direction: column; gap: 8px; }
.dp-station__items li { font-size: 13.5px; color: var(--text-2); padding-left: 17px; position: relative; }
.dp-station__items li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.dp-station--now .dp-station__year { font-size: 52px; font-weight: 400; color: var(--text); }
.dp-station--now .dp-station__items li { color: var(--text); font-weight: 500; }
.dp-station--now .dp-station__items li::before { background: var(--accent); }

.dp-wire { margin-bottom: 48px; }
.dp-wire__board { background: var(--surface); border: 1px solid var(--dp-line); border-radius: var(--radius-l); padding: 30px; }
.dp-wire__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dp-mod { position: relative; text-align: center; font-size: 13px; font-weight: 500; color: var(--text); background: var(--bg); border: 1px solid var(--dp-line); border-radius: var(--radius-s); padding: 13px; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.dp-mod:hover { border-color: var(--accent-bright); transform: translateY(-2px); }
.dp-mod__drop { position: absolute; left: 50%; bottom: -19px; width: 1px; height: 19px; background: var(--accent); }
.dp-mod__drop::after { content: ''; position: absolute; bottom: 0; left: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dp-mod__drop--up { bottom: auto; top: -19px; }
.dp-mod__drop--up::after { bottom: auto; top: 0; }
.dp-bus { margin: 19px 0; background: var(--accent); color: #fff; border-radius: var(--radius-s); text-align: center; padding: 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }

.dp-pipes { display: flex; flex-direction: column; gap: 14px; }
.dp-pipe { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dp-pipe__tag { width: 58px; flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.dp-pipe__tag--on { color: var(--accent); }
.dp-pipe__row { display: flex; align-items: center; flex-wrap: wrap; }
.dp-pipe__n { font-size: 13.5px; font-weight: 500; color: var(--text-2); padding: 9px 16px; border: 1px solid var(--dp-line); background: var(--surface); }
.dp-pipe__row .dp-pipe__n:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.dp-pipe__row .dp-pipe__n:last-child { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.dp-pipe__seg { width: 22px; height: 2px; flex-shrink: 0; background: repeating-linear-gradient(90deg, var(--dp-line) 0 4px, transparent 4px 8px); }
.dp-pipe__n--on { color: var(--accent); border-color: rgba(37,99,235,0.3); background: var(--accent-light); }
.dp-pipe__seg--on { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: dp-dash 1s linear infinite; }

/* ============================================================
   04 — INFLUENCE BUS + MODULES
   ============================================================ */
.dp-influence__bus {
  position: relative; background: var(--text); color: #fff;
  border-radius: var(--radius-m); padding: 17px; text-align: center;
  font-family: var(--font-serif); font-weight: 400; font-size: 21px; margin-bottom: 28px;
}
.dp-influence__bus::after {
  content: ''; position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--text);
}
.dp-modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dp-cblock { position: relative; background: var(--surface); border: 1px solid var(--dp-line); border-radius: var(--radius-m); padding: 24px; transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.dp-cblock:hover { border-color: var(--accent-bright); transform: translateY(-3px); box-shadow: var(--shadow-m); }
.dp-cblock__tap { position: absolute; top: -1px; left: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--text); transform: translateY(-50%); }
.dp-cblock h4 { font-family: var(--font-serif); font-weight: 400; font-size: 19px; margin: 0 0 17px; color: var(--text); }
.dp-cblock dl { display: flex; flex-direction: column; gap: 11px; margin: 0; }
.dp-cblock dl > div { display: grid; grid-template-columns: 18px 1fr; gap: 11px; }
.dp-cblock dt { font-size: 11px; font-weight: 700; color: var(--text-3); }
.dp-cblock .out dt { color: var(--accent); }
.dp-cblock dd { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.dp-cblock .out dd { color: var(--text); }

/* ============================================================
   05 — STATUS REGISTER
   ============================================================ */
.dp-explore-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.dp-stamp { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border: 1px dashed var(--accent); border-radius: 100px; padding: 8px 15px; }
.dp-stamp::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); animation: dp-pulse 2.4s ease-in-out infinite; }

.dp-reg { border: 1px solid var(--dp-line); border-radius: var(--radius-m); overflow: hidden; background: var(--surface); }
.dp-reg__head, .dp-reg__row { display: grid; grid-template-columns: 64px 1.5fr 120px 2fr; gap: 16px; padding: 15px 24px; align-items: center; }
.dp-reg__head { background: var(--text); color: rgba(255,255,255,0.78); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.dp-reg__row { border-top: 1px solid var(--dp-hair); transition: background 180ms var(--ease); }
.dp-reg__row:hover { background: var(--bg); }
.dp-reg__id { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-3); }
.dp-reg__t { font-family: var(--font-serif); font-size: 17px; color: var(--text); }
.dp-reg__s { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.dp-reg__s::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.dp-reg__s--active { color: var(--accent); }
.dp-reg__s--active::before { background: var(--accent); animation: dp-pulse 2.4s ease-in-out infinite; }
.dp-reg__s--ongoing { color: var(--accent-bright); }
.dp-reg__s--ongoing::before { background: var(--surface); border: 2px solid var(--accent-bright); }
.dp-reg__s--exploring { color: var(--text-3); }
.dp-reg__s--exploring::before { background: var(--surface); border: 1px solid var(--border-strong); }
.dp-reg__f { font-size: 13.5px; color: var(--text-2); }

/* ============================================================
   CLOSING BAND
   ============================================================ */
.dp-close { margin-top: clamp(64px, 8vw, 104px); background: var(--text); color: #fff; border-radius: var(--radius-l); padding: clamp(48px, 6vw, 76px); }
.dp-close__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.dp-close__eyebrow::before { content: ''; width: 14px; height: 1px; background: rgba(255,255,255,0.5); }
.dp-close__h { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
.dp-close__lead { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: rgba(255,255,255,0.72); margin-bottom: 32px; }
.dp-close__constants { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.dp-close__c { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-s); padding: 9px 15px; }
.dp-close__constant { font-size: 16px; color: rgba(255,255,255,0.66); max-width: 62ch; line-height: 1.7; margin: 0; }

/* ============================================================
   MOTION
   ============================================================ */
@keyframes dp-pulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes dp-dash { to { background-position: 16px 0; } }
@keyframes dp-rise { from { transform: translateY(18px); } to { transform: translateY(0); } }

/* Entrance: content is ALWAYS visible at rest (we override the site's
   .js-reveal opacity:0), and a load-time animation provides the rise — so
   nothing depends on IntersectionObserver or the .visible class. */
.dp .js-reveal { opacity: 1; animation: dp-rise 720ms var(--ease-out) both; }
.dp .dp-block.js-reveal { animation-delay: 80ms; }
.dp .dp-close.js-reveal { animation-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .dp [class*="dp-"], .dp .js-reveal { animation: none !important; }
  .dp .js-reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  /* tab bar sticks below the mobile top bar */
  .dp-tabs { top: 51px; }
}
@media (max-width: 900px) {
  .dp-head > div { grid-template-columns: 1fr; column-gap: 0; }
  .dp-head__eyebrow, .dp-head__h, .dp-head__lead { grid-column: 1; }
  .dp-head__h, .dp-head__lead { grid-row: auto; }
  .dp-head__h { margin-bottom: 14px; }
  .dp-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .dp-grid2 { grid-template-columns: 1fr; gap: 36px; }
  .dp-decisions { grid-template-columns: 1fr 1fr; }
  .dp-decision:nth-child(2) { border-right: 0; }
  .dp-decision:nth-child(-n+2) { border-bottom: 1px solid var(--dp-line); }
  .dp-registers { grid-template-columns: 1fr; }
  .dp-track__rail { grid-template-columns: 1fr; gap: 28px; }
  .dp-track__rail::before { display: none; }
  .dp-station { padding-right: 0; border-left: 2px solid var(--dp-hair); padding-left: 22px; }
  .dp-station__tick { position: absolute; margin-left: -33px; }
  .dp-modgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .dp-titleblock { grid-template-columns: 1fr 1fr; }
  .dp-tb__field:nth-child(2) { border-right: 0; }
  .dp-tb__field:nth-child(-n+2) { border-bottom: 1px solid var(--dp-line); }
  .dp-head { grid-template-columns: 1fr; gap: 12px; }
  .dp-head > div { grid-template-columns: 1fr; }
  .dp-head__eyebrow, .dp-head__h, .dp-head__lead { grid-column: 1; }
  .dp-head__h { grid-row: auto; }
  .dp-head__lead { grid-row: auto; }
  .dp-head__n { border-top: 0; padding-top: 0; }
  .dp-contain { height: auto; display: flex; flex-direction: column; gap: 10px; }
  .dp-layer { position: static; inset: auto; padding: 18px 16px 16px; }
  .dp-layer--0, .dp-layer--1, .dp-layer--2, .dp-layer--3 { margin: 0; }
  .dp-layer__tag, .dp-layer__name { position: static; }
  .dp-layer__name { margin-bottom: 8px; }
  .dp-core { position: static; transform: none; text-align: left; }
  .dp-wire__row { grid-template-columns: 1fr 1fr; }
  .dp-modgrid { grid-template-columns: 1fr; }
  .dp-reg__head { display: none; }
  .dp-reg__row { grid-template-columns: 1fr; gap: 7px; padding: 18px 20px; }
  .dp-reg__t { font-size: 19px; }
  .dp-legend ul { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .dp-decisions { grid-template-columns: 1fr; }
  .dp-decision { border-right: 0; border-bottom: 1px solid var(--dp-line); }
  .dp-decision:last-child { border-bottom: 0; }
}
