/* Project Mastery landing. Visual thesis: a delivery drawing pinned to a drafting
   table. Baseline in ink, forecast in colour, and a title block that changes
   status the moment a dependency slips. Navy field, drafting paper, mono notes. */
:root {
  --field: #13283A;
  --field-line: rgba(201, 214, 226, .07);
  --field-line-major: rgba(201, 214, 226, .12);
  --paper: #F5F4EF;
  --paper-alt: #ECEAE2;
  --sheet: #FCFBF6;
  --grid: rgba(29, 55, 78, .06);
  --ink: #1B1F24;
  --ink-muted: #4F5761;
  --navy: #1D374E;
  --gold: #EB9B23;
  --gold-hover: #D88A14;
  --gold-text: #7A4C0F;
  --rule: #DCD8CC;
  --rule-strong: #BDB7A6;
  --on-field: #FFFDF8;
  --on-field-muted: #C3CED8;
  --ok: #2E7350;
  --risk: #8F5C0D;
  --late: #A8372A;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --label-w: 136px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.kicker { font: 500 .8125rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.kicker-light { color: #F2B65A; }
.demo-tag { font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-ghost { color: var(--on-field); border-color: rgba(255, 253, 248, .45); }
.btn-ghost:hover { border-color: var(--on-field); background: rgba(255, 253, 248, .06); }
.btn-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.text-link { font-weight: 500; text-decoration: none; color: var(--navy); padding: 8px 4px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header (light, so the navy logo keeps its contrast) */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245, 244, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { width: 160px; }
.primary-nav { display: flex; gap: 26px; margin-left: auto; }
.primary-nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink-muted); }
.primary-nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Hero: drafting table */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px);
  background-color: var(--field);
  background-image:
    linear-gradient(var(--field-line-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--field-line-major) 1px, transparent 1px),
    linear-gradient(var(--field-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--field-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--on-field);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.hero-copy { padding-top: clamp(0px, 4vw, 48px); }
.hero h1 { color: var(--on-field); font-size: clamp(2.5rem, 5.2vw, 4.25rem); max-width: 13ch; }
.lede { margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: var(--on-field-muted); max-width: 32rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fineprint { margin-top: 16px; font-size: .875rem; color: #A9B6C2; }

/* The drawing (hero proof) */
.drawing {
  margin: 0; padding: 14px; color: var(--ink);
  background-color: var(--sheet);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--rule-strong), inset 0 0 0 6px var(--sheet), inset 0 0 0 7px var(--navy), 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.drawing > * { margin-left: 8px; margin-right: 8px; }
.title-block { display: grid; grid-template-columns: .8fr 1.6fr .9fr; margin-top: 8px; border: 1.5px solid var(--navy); background: var(--sheet); }
.tb-cell { padding: 8px 10px; font: 500 .6875rem/1.45 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.tb-cell + .tb-cell { border-left: 1.5px solid var(--navy); }
.tb-cell b { font-weight: 500; color: var(--navy); font-size: .75rem; }
.tb-name b { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; font-size: .8125rem; }

.gantt { position: relative; margin-top: 18px; margin-bottom: 26px; }
.gantt-ruler { margin-left: var(--label-w); display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid var(--navy); }
.gantt-ruler span { font: 500 .625rem/1 var(--font-mono); color: var(--ink-muted); padding: 0 0 6px 3px; border-left: 1px solid var(--rule-strong); }
.gantt-rows { list-style: none; margin: 0; padding: 0; }
.g-row { display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); align-items: center; min-height: 36px; border-bottom: 1px dashed var(--rule); }
.g-label { font-size: .8125rem; font-weight: 600; color: var(--navy); padding-right: 10px; line-height: 1.2; }
.g-track { position: relative; height: 22px; }
.g-base, .g-bar { position: absolute; }
.g-base { bottom: 0; height: 6px; border: 1px solid var(--ink-muted); background: repeating-linear-gradient(-45deg, transparent 0 3px, rgba(79, 87, 97, .35) 3px 4px); }
.g-bar { top: 1px; height: 12px; background: var(--navy); border-radius: 2px; transition: left .35s var(--ease), width .35s var(--ease), background-color .35s var(--ease); }
.g-bar.is-moved { background: var(--gold); }
.g-row:nth-child(1) .g-base, .g-row:nth-child(1) .g-bar { left: 0; width: 25%; }
.g-row:nth-child(2) .g-base, .g-row:nth-child(2) .g-bar { left: 13.333%; width: 16.667%; }
.g-row:nth-child(3) .g-base, .g-row:nth-child(3) .g-bar { left: 30%; width: 11.667%; }
.g-row:nth-child(4) .g-base, .g-row:nth-child(4) .g-bar { left: 41.667%; width: 16.667%; }
.g-row:nth-child(5) .g-base, .g-row:nth-child(5) .g-bar { left: 58.333%; width: 20%; }
.gantt-commit { position: absolute; top: 0; bottom: 0; left: calc(var(--label-w) + (100% - var(--label-w)) * .8333); border-left: 1.5px dashed var(--late); pointer-events: none; }
.gantt-commit span { position: absolute; bottom: -19px; right: 4px; font: 500 .625rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--late); background: var(--sheet); padding: 0 3px; white-space: nowrap; }

.control { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 14px; border: 1.5px solid var(--navy); background: #fff; }
.control label { font: 500 .75rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.control output { font: 500 .9375rem/1 var(--font-mono); color: var(--navy); min-width: 5.5ch; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--navy), var(--navy)) 0 / var(--fill, 0%) 100% no-repeat, var(--rule-strong); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 4px; background: var(--rule-strong); border-radius: 2px; }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--navy); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--navy); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 2px solid var(--navy); }
input[type="range"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.readouts { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 12px; border: 1.5px solid var(--navy); background: #fff; }
.readouts > div { display: grid; gap: 4px; padding: 10px 12px; align-content: start; }
.readouts > div + div { border-left: 1.5px solid var(--navy); }
.ro-label { font: 500 .625rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.ro-value { font: 500 1rem/1.2 var(--font-mono); color: var(--navy); }
.stamp {
  justify-self: start; display: inline-block; padding: 3px 8px; border: 2px solid currentColor; border-radius: 3px;
  font: 600 .8125rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; transform: rotate(-3deg);
}
.stamp[data-status="green"] { color: var(--ok); }
.stamp[data-status="amber"] { color: var(--risk); background: rgba(235, 155, 35, .16); }
.stamp[data-status="red"] { color: var(--late); background: rgba(168, 55, 42, .08); }
.stamp.is-stamped { animation: stamp .32s var(--ease) both; }
@keyframes stamp { from { transform: rotate(-3deg) scale(1.35); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }

.expect { margin-top: 12px; margin-bottom: 8px; padding: 12px 14px 4px; background: #fff; border: 1px solid var(--rule-strong); }
.expect-title { font: 500 .6875rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.expect-list { list-style: none; margin: 8px 0 0; padding: 0; }
.expect-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px dashed var(--rule); font-size: .875rem; line-height: 1.45; animation: row-in .3s var(--ease) both; }
.artifact { font: 500 .6875rem/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--gold-text); }
@keyframes row-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Facts */
.facts { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.facts-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row li { display: flex; align-items: baseline; gap: 10px; padding: 22px 0; }
.facts-row li + li { padding-left: clamp(12px, 3vw, 32px); border-left: 1px solid var(--rule); }
.facts-row strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); line-height: 1; }
.facts-row span { font-size: .9375rem; color: var(--ink-muted); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--paper-alt); }
.grid-paper { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.section-intro { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 52px); }
.section-intro > p:not(.kicker) { margin-top: 14px; color: var(--ink-muted); }

/* Register (6 x 8 curriculum) */
.register-wrap { background: var(--sheet); border: 1.5px solid var(--navy); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); }
.register { width: 100%; border-collapse: collapse; table-layout: fixed; }
.register th, .register td { border: 1px solid var(--rule); }
.register thead th { vertical-align: bottom; padding: 12px 6px 10px; text-align: left; background: var(--sheet); border-bottom: 1.5px solid var(--navy); }
.register thead a { display: block; font-size: .8125rem; font-weight: 600; line-height: 1.25; color: var(--navy); text-decoration: none; }
.register thead a:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.reg-num { display: block; font: 500 .6875rem/1.3 var(--font-mono); color: var(--ink-muted); margin-bottom: 4px; }
.reg-corner { width: 34%; font: 500 .6875rem/1.3 var(--font-mono) !important; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.register tbody th { text-align: left; padding: 14px 16px; font-weight: 400; display: table-cell; }
.reg-id { display: inline-block; font: 500 .75rem/1 var(--font-mono); color: var(--gold-text); margin-right: 8px; }
.reg-title { font-weight: 600; color: var(--navy); }
.reg-meta { display: block; margin-top: 3px; font: 500 .6875rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.reg-brief { display: block; margin-top: 4px; font-size: .875rem; color: var(--ink-muted); line-height: 1.45; }
.register td { text-align: center; vertical-align: middle; padding: 6px 2px; }
.mark { display: inline-grid; place-items: center; min-width: 2.6rem; height: 1.9rem; border: 1px solid var(--navy); border-radius: 3px; font: 500 .75rem/1 var(--font-mono); color: var(--navy); background: #fff; transition: background-color .15s var(--ease), color .15s var(--ease); }
.register tbody tr:hover th, .register tbody tr:hover td { background: rgba(235, 155, 35, .07); }
.register td:hover .mark { background: var(--navy); color: #fff; }
.register-note { margin-top: 14px; font-size: .9375rem; color: var(--ink-muted); }

/* Review markup */
.markup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.draft { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: 4px; box-shadow: 0 24px 48px -32px rgba(19, 40, 58, .45); }
.draft-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 14px 20px; border-bottom: 1.5px solid var(--navy); font: 500 .75rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.draft-body { margin: 0; padding: 8px 20px 18px; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); }
.draft-body dt, .draft-body dd { padding: 12px 0; border-bottom: 1px dashed var(--rule); margin: 0; }
.draft-body dt { font: 500 .6875rem/1.9 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.draft-body dd { font-size: 1rem; line-height: 1.55; }
.draft-body dt:last-of-type, .draft-body dd:last-of-type { border-bottom: 0; }
.draft mark { background: linear-gradient(transparent 62%, rgba(235, 155, 35, .42) 0); color: inherit; padding: 0 1px; }
.draft mark::after { content: attr(data-note); font: 600 .625rem/1 var(--font-mono); vertical-align: super; color: var(--gold-text); margin-left: 2px; }
.margin-notes .notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.margin-notes .notes li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.note-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold-text); color: var(--gold-text); font: 600 .75rem/1 var(--font-mono); }
.margin-notes .notes p { font-size: .975rem; line-height: 1.55; }
.margin-notes .notes b { color: var(--navy); }
.rubric { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1.5px solid var(--navy); display: grid; gap: 8px; }
.rubric li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: .9375rem; font-weight: 600; }
.rubric-mark { font-family: var(--font-mono); }
.rubric .miss { color: var(--late); }
.rubric .partial { color: var(--risk); }
.rubric .hit { color: var(--ok); }

/* Delivery phases */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.phases > li { position: relative; padding: 22px 18px 4px 0; }
.phases > li::before { content: ""; position: absolute; top: -8px; left: 0; width: 2px; height: 14px; background: var(--navy); }
.phase-num { display: block; font: 500 .6875rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--gold-text); }
.phases h3 { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.phases ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.phases ul li { font-size: .9375rem; color: var(--ink-muted); padding-left: 14px; position: relative; }
.phases ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 1.5px; background: var(--navy); }
.briefs { margin-top: clamp(32px, 5vw, 48px); padding: 22px 24px; background: var(--sheet); border: 1px solid var(--rule-strong); }
.briefs-title { font: 500 .6875rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.briefs ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.briefs li { display: grid; gap: 2px; padding-top: 10px; border-top: 1px dashed var(--rule-strong); }
.briefs li b { color: var(--navy); font-weight: 600; line-height: 1.3; }
.briefs li span { font-size: .875rem; color: var(--ink-muted); }
.briefs-plans { margin-top: 18px; font-size: .875rem; font-weight: 600; color: var(--gold-text); }

/* Workbench */
.bench { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); }
.bench-col h3 { padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.doc-list { list-style: none; margin: 0; padding: 0; counter-reset: doc; }
.doc-list li { counter-increment: doc; display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--navy); font-weight: 500; }
.doc-list li::before { content: "D-" counter(doc, decimal-leading-zero); font: 500 .75rem/1.9 var(--font-mono); color: var(--ink-muted); }
.control-list { margin: 0; display: grid; grid-template-columns: 11rem minmax(0, 1fr); }
.control-list dt, .control-list dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.control-list dt { font-weight: 600; color: var(--navy); padding-right: 12px; }
.control-list dd { color: var(--ink-muted); }

/* Voice */
.section-field { background-color: var(--field); background-image: linear-gradient(var(--field-line) 1px, transparent 1px), linear-gradient(90deg, var(--field-line) 1px, transparent 1px); background-size: 24px 24px; color: var(--on-field-muted); }
.section-field h2 { color: var(--on-field); }
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.voice-lede { margin-top: 18px; font-size: 1.125rem; max-width: 32rem; }
.callsheet { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.callsheet li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.call-name { font-weight: 600; color: var(--on-field); }
.call-desc { font-size: .9375rem; color: #B9C5D0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 24px 22px; background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.plan-feature { border: 2px solid var(--navy); position: relative; }
.plan-flag { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 3px; background: var(--navy); color: #fff; font: 500 .6875rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 4px; }
.amount { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy); }
.per { color: var(--ink-muted); font-size: .9375rem; }
.price-alt { margin-top: 6px; font-size: .875rem; color: var(--ink-muted); }
.plan-list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 22px; font-size: .9375rem; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { width: 100%; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq details:first-child { border-top: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.5rem/1.2 var(--font-mono); color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-muted); max-width: 40rem; }
.faq a { color: var(--navy); font-weight: 600; }

/* Closing and footer */
.closing { padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--rule); }
.closing-inner { text-align: center; display: grid; justify-items: center; gap: 16px; }
.closing h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 20ch; }
.closing p { color: var(--ink-muted); max-width: 32rem; margin-bottom: 8px; }
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--rule); background: var(--paper); }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand img { width: 124px; }
.footer-brand p { font-size: .875rem; color: var(--ink-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { font-size: .875rem; color: var(--ink-muted); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: var(--navy); text-decoration: underline; }
.copyright { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-muted); max-width: 60rem; }

/* Responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .briefs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .voice-grid, .faq-grid, .markup, .bench { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 820px) {
  /* Recompose the register: header becomes a numbered key, each project a row of marks. */
  .register, .register thead, .register tbody, .register tr, .register th, .register td { display: block; }
  .register thead tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 14px 16px; border-bottom: 1.5px solid var(--navy); }
  .register thead th { border: 0; padding: 6px 0; }
  .register thead .reg-corner { grid-column: 1 / -1; padding-bottom: 8px; }
  .register thead a { display: flex; gap: 8px; align-items: baseline; }
  .reg-num { display: inline; margin: 0; }
  .register tbody tr { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; padding: 14px 16px 16px; border-bottom: 1px solid var(--rule); }
  .register tbody th, .register td { border: 0; padding: 0; }
  .register tbody th { grid-column: 1 / -1; margin-bottom: 8px; }
  .mark { min-width: 0; width: 100%; height: 2rem; font-size: .6875rem; }
  .reg-corner { width: auto; }
}
@media (max-width: 720px) {
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-row li { padding: 16px 0; }
  .facts-row li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .footer-row { grid-template-columns: 1fr; }
  .phases { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--navy); padding-left: 18px; }
  .phases > li { padding: 0 0 18px; }
  .phases > li::before { top: 4px; left: -26px; width: 14px; height: 2px; }
  .control-list { grid-template-columns: minmax(0, 1fr); }
  .control-list dt { border-bottom: 0; padding-bottom: 2px; }
  .control-list dd { padding-top: 0; }
}
@media (max-width: 560px) {
  :root { --label-w: 96px; }
  .brand img { width: 128px; }
  .header-row { gap: 12px; min-height: 60px; }
  .cta-row .btn { flex: 1 1 100%; }
  .drawing { padding: 10px; }
  .drawing > * { margin-left: 4px; margin-right: 4px; }
  .title-block { grid-template-columns: 1fr 1fr; }
  .tb-name { grid-column: 1 / -1; grid-row: 1; border-bottom: 1.5px solid var(--navy); }
  .tb-sheet { border-left: 0 !important; }
  .g-label { font-size: .75rem; }
  .gantt-ruler span:nth-child(even) { color: transparent; }
  .control { grid-template-columns: 1fr auto; }
  .control input { grid-column: 1 / -1; grid-row: 2; }
  .readouts { grid-template-columns: 1fr 1fr; }
  .readouts > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1.5px solid var(--navy); }
  .expect-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .plans, .briefs ul { grid-template-columns: minmax(0, 1fr); }
  .draft-body { grid-template-columns: minmax(0, 1fr); }
  .draft-body dt { border-bottom: 0; padding-bottom: 0; }
  .draft-body dd { padding-top: 2px; }
  .facts-row li { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
