/* TerraSyn — field-notebook system: warm night terrain, paper ink, ochre dust, moss */
:root {
  --bg: #15130f;
  --bg-deep: #0f0d0a;
  --bg-raise: #1d1a15;
  --bg-card: #221e18;
  --line: #342e25;
  --line-soft: #29241d;
  --ink: #ece5d6;
  --ink-hi: #faf5ea;
  --ink-2: #b7ad9b;
  --ink-3: #847a69;
  --ochre: #d9a441;
  --ochre-soft: rgba(217, 164, 65, .16);
  --moss: #9dbf6b;
  --moss-soft: rgba(157, 191, 107, .15);
  --rust: #d9774a;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --max: 1320px;
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 6px 14px -6px rgba(0, 0, 0, .45), 0 22px 40px -24px rgba(20, 10, 0, .6);
  --shadow-lift: 0 2px 2px rgba(0, 0, 0, .25), 0 12px 22px -8px rgba(0, 0, 0, .5), 0 34px 60px -28px rgba(30, 14, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.62 var(--sans); -webkit-font-smoothing: antialiased;
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--ochre); color: var(--bg-deep); }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink-hi); font-optical-sizing: auto; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.03em; font-weight: 350; max-width: 15ch; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 22ch; margin-bottom: 14px; }
h3 { font-size: 22px; line-height: 1.2; margin: 6px 0 10px; }
em { font-family: var(--serif); font-style: italic; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ochre); margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 54ch; margin: 22px 0 0; }
.sub { color: var(--ink-2); max-width: 62ch; margin: 0; }
.hand { font: 600 24px/1.1 var(--hand); color: var(--ochre); margin: 0 0 6px; }

/* ---------- links & buttons ---------- */
.ink { position: relative; color: var(--ink-2); transition: color .35s var(--ease); padding-bottom: 2px; }
.ink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4c16-2 30-3 48-2 16 1 32 1 50-2' fill='none' stroke='%23d9a441' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease);
}
.ink:hover { color: var(--ink-hi); }
.ink:hover::after, .ink:focus-visible::after { clip-path: inset(0 0 0 0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14px/1 var(--sans); padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-raise); color: var(--ink);
  cursor: pointer; white-space: nowrap; box-shadow: 0 1px 0 rgba(255, 240, 210, .04) inset;
  transition: transform .45s var(--spring), box-shadow .45s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.btn .arr { display: inline-block; transition: transform .45s var(--spring); }
.btn:hover { transform: translateY(-2px) rotate(-.4deg); box-shadow: var(--shadow); border-color: #4a4133; background: #262119; }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; box-shadow: none; }
.btn:focus-visible { outline: 2px dashed var(--ochre); outline-offset: 3px; }
.btn.primary { background: var(--ochre); color: #1a1409; border-color: var(--ochre); font-weight: 600; }
.btn.primary:hover { background: #e4b252; border-color: #e4b252; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(21, 19, 15, .86); backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid var(--line-soft); }
header.top .wrap { height: 66px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 40px; height: 26px; fill: none; stroke: var(--ochre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--spring); }
.brand-mark .sun { stroke: var(--moss); }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); }
.brand-name { font: 500 22px/1 var(--serif); letter-spacing: -.02em; color: var(--ink-hi); font-style: italic; }
nav.main { display: flex; gap: 28px; font-size: 14px; }
nav.main a { white-space: nowrap; }
header .btn { padding: 10px 16px; font-size: 13px; }
@media (max-width: 980px) { nav.main { display: none; } }

/* ---------- hero ---------- */
section { padding: 96px 0; position: relative; }
.hero { padding-top: 64px; padding-bottom: 72px; overflow: hidden; }
.topo { position: absolute; top: -40px; right: -60px; width: min(900px, 90vw); height: 560px; fill: none; stroke: var(--ochre); stroke-width: 1; opacity: .13; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: end; position: relative; }
.hero-copy { padding-left: clamp(0px, 3vw, 40px); }
.hero-cta { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.scribble { position: relative; white-space: nowrap; font-style: italic; color: var(--ochre); }
.scribble svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; fill: none; stroke: var(--ochre); stroke-width: 2.4; stroke-linecap: round; opacity: .85; }
.scribble svg path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.1s .5s var(--ease) forwards; }
.scribble svg path + path { animation-delay: .9s; opacity: .6; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.note-card {
  position: relative; background: #2a251c; padding: 22px 24px 18px; border-radius: 3px;
  transform: rotate(1.6deg) translateY(-24px); box-shadow: var(--shadow-lift);
  transition: transform .7s var(--spring);
}
.note-card:hover { transform: rotate(.4deg) translateY(-28px); }
.note-card::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 38%; width: 86px; height: 24px;
  background: rgba(236, 229, 214, .16); transform: rotate(-4deg); border-left: 1px dashed rgba(255, 255, 255, .08); border-right: 1px dashed rgba(255, 255, 255, .08);
}
.note-card .hand { font-size: 26px; margin-bottom: 12px; }
.note-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #463d30; }
.note-row:last-child { border-bottom: 0; }
.note-row span { color: var(--ink-2); font-size: 14px; }
.note-row b { font: 500 16px var(--mono); color: var(--ink-hi); text-align: right; }
.note-row b.ok { color: var(--moss); } .note-row b.bad { color: var(--rust); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .note-card { transform: rotate(-1deg); max-width: 460px; margin-left: auto; }
  .note-card:hover { transform: rotate(0); }
}

/* ---------- inspection ---------- */
.inspect { margin: 64px 0 0; margin-right: clamp(0px, 4vw, 64px); }
.inspect-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.inspect-title { font: 500 13px var(--mono); color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.inspect-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 4px var(--moss-soft); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(157, 191, 107, 0); } }
.inspect-title #insp-frame { color: var(--ink-3); }
.tab-row { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--bg-deep); border: 1px solid var(--line-soft); border-radius: 999px; }
.seg button {
  font: 500 13px var(--sans); color: var(--ink-2); background: transparent; border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .4s var(--spring);
}
.seg button:hover { color: var(--ink-hi); background: rgba(236, 229, 214, .06); }
.seg button:active { transform: scale(.95); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg-deep); }
.seg.wrap-tabs { border-radius: 20px; }

.stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; border-radius: 6px;
  box-shadow: var(--shadow-lift); user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.stage .right { clip-path: inset(0 0 0 50%); }
.stage .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(250, 245, 234, .9); }
.stage .knob {
  position: absolute; top: 50%; left: -21px; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  background: var(--ink-hi); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: transform .45s var(--spring);
}
.stage:hover .knob { transform: scale(1.08); }
.stage:active .knob { transform: scale(.94); }
.stage .knob svg { width: 22px; height: 22px; fill: none; stroke: var(--bg-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage .lbl { position: absolute; top: 14px; font: 500 11px var(--mono); letter-spacing: .06em; padding: 8px 12px; background: rgba(15, 13, 10, .78); backdrop-filter: blur(4px); color: var(--ink-2); border-radius: 4px; pointer-events: none; }
.stage .lbl.l { left: 14px; } .stage .lbl.r { right: 14px; text-align: right; }
.stage .lbl b { display: block; font: 500 22px/1.1 var(--serif); letter-spacing: 0; margin-top: 2px; }
.stage .lbl.l b { color: var(--rust); } .stage .lbl.r b { color: var(--moss); }
.hand-note { display: flex; align-items: flex-start; gap: 6px; font: 500 21px/1.1 var(--hand); color: var(--ink-2); }
.hand-note svg { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.drag-note { margin: 4px 0 0 18%; }
.drag-note svg { width: 92px; height: 46px; transform: scaleY(-1); margin-top: -8px; }
.drag-note span { margin-top: 18px; }
.strip { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.strip > div { padding: 14px 18px 4px 0; }
.strip > div + div { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.strip .k { font: 500 11px var(--mono); color: var(--ink-3); }
.strip .v { font: 400 19px/1.25 var(--serif); color: var(--ink-hi); margin-top: 4px; }
.strip .s { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
@media (max-width: 800px) { .strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .strip > div:nth-child(3) { border-left: 0; padding-left: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font: 12px var(--mono); color: var(--ink-3); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 50% 40% 55% 45%; }

/* ---------- editorial sections ---------- */
section.ed { border-top: 1px solid var(--line-soft); }
section.alt { background: linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 70%); }
.ed-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; }
.ed-grid.flip { grid-template-columns: minmax(0, 1fr) 210px; }
.margin { position: relative; padding-top: 8px; }
.margin.right { padding-top: 120px; }
.sec-no { display: block; font: 300 italic 44px/1 var(--serif); color: var(--ochre); letter-spacing: -.02em; }
.margin-note { display: block; font: 500 22px/1.15 var(--hand); color: var(--ink-3); margin-top: 16px; max-width: 170px; transform: rotate(-2deg); }
.margin.right .margin-note { transform: rotate(2deg); }
@media (max-width: 960px) {
  .ed-grid, .ed-grid.flip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .margin, .margin.right { padding-top: 0; display: flex; align-items: baseline; gap: 16px; order: -1; }
  .margin-note { margin-top: 0; max-width: none; }
}

/* sheets & tables */
/* hand-cut corners: irregular radii instead of a live SVG filter (cheap to repaint on large tables) */
.sheet { position: relative; margin-top: 34px; background: var(--bg-raise); border: 1.4px solid #3a3226; border-radius: 9px 4px 11px 5px / 5px 10px 4px 9px; box-shadow: var(--shadow); }
.tbl-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font: 14px var(--mono); font-variant-numeric: tabular-nums; }
th { text-align: left; font: 500 12px/1.35 var(--sans); color: var(--ink-3); padding: 16px 16px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: bottom; }
td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .3s var(--ease); }
tbody tr:hover { background: rgba(236, 229, 214, .025); }
td.name { font: 400 18px var(--serif); color: var(--ink-hi); }
td.name small { display: block; font: 12px var(--mono); color: var(--ink-3); margin-top: 2px; }
td.hi { color: var(--ink-hi); }
td .sd { color: var(--ink-3); font-size: 12px; }
.pos { color: var(--moss); } .neg { color: var(--rust); }
td.delta { font-weight: 500; }
td.delta.pos { background: var(--moss-soft); }
.tbl-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding: 12px 16px 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-3); }
.pending { color: var(--ink-3); font-style: italic; font-family: var(--serif); }

.tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; margin-top: 44px; border-top: 1px solid var(--line); }
.tile { padding: 22px 22px 0 0; }
.tile + .tile { padding-left: 22px; border-left: 1px solid var(--line-soft); }
.tile .k { font: 500 12px var(--mono); color: var(--ink-3); }
.tile .v { font: 350 clamp(28px, 2.6vw, 40px)/1.05 var(--serif); white-space: nowrap; color: var(--ink-hi); margin-top: 10px; letter-spacing: -.02em; }
.tile:first-child .v { color: var(--moss); font-size: 52px; }
.tile .s { font-size: 13px; color: var(--ink-3); margin-top: 8px; max-width: 26ch; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } .tile:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile + .tile { border-left: 0; padding-left: 0; } }

/* heatmap */
.heat td.cell { text-align: center; color: var(--ink-hi); font-weight: 500; }
.heat td.cell small { display: block; font-size: 11px; color: var(--ink-2); font-weight: 400; }
.src-badge { font: 500 11px var(--hand); font-size: 17px; color: var(--ochre); margin-left: 8px; }

/* failure panel */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 72px 0 20px; }
.panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: start; }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr; } }
.panel-text { padding-top: 10px; }
.params { margin-top: 26px; font: 13px var(--mono); border-top: 1px solid var(--line); }
.params .row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.params .row span:first-child { color: var(--ink-3); } .params .row span:last-child { color: var(--ink); text-align: right; }
.params .eyebrow { font: 600 20px var(--hand); color: var(--ink-3); padding: 12px 0 4px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .cmp { grid-template-columns: 1fr; } }
.card { background: var(--bg-raise); padding: 22px; border-radius: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; transition: transform .6s var(--spring), box-shadow .6s var(--ease); }
.card.good { background: var(--bg-card); transform: translateY(26px) rotate(.6deg); box-shadow: var(--shadow-lift); }
.card:hover { transform: translateY(-3px); }
.card.good:hover { transform: translateY(22px) rotate(0); }
.card .k { font: 500 12px var(--mono); color: var(--ink-3); }
.card .big { font: 350 50px/1 var(--serif); color: var(--ink-hi); margin-top: 8px; letter-spacing: -.03em; }
.card.good .big { color: var(--moss); }
.card .d { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.bars { margin-top: 26px; display: grid; gap: 14px; font-size: 12px; }
.bar-row .t { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); font-family: var(--mono); }
.bar { height: 6px; background: rgba(236, 229, 214, .07); margin-top: 6px; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink-3); border-radius: 99px; transition: width .8s var(--spring); }
.card.good .bar i { background: var(--moss); }

/* method */
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 36px; align-items: start; }
@media (max-width: 1100px) { .method-grid { grid-template-columns: minmax(0, 1fr); } }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 22px 58px; color: var(--ink-2); font-size: 15px; }
ol.steps li + li { padding-top: 22px; border-top: 1px solid var(--line-soft); }
ol.steps li::before { content: counter(s); position: absolute; left: 0; font: 300 italic 40px/1 var(--serif); color: var(--ochre); }
ol.steps li + li::before { top: 20px; }
ol.steps b { color: var(--ink-hi); font-weight: 600; display: block; margin-bottom: 2px; }
.method-side { display: grid; gap: 26px; margin-top: 8px; }
.term { background: var(--bg-deep); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); font: 13px/1.75 var(--mono); transform: rotate(-.5deg); }
.term-top { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line-soft); }
.term pre { margin: 0; padding: 16px; overflow-x: auto; color: var(--ink); font: inherit; }
.term .c { color: var(--ink-3); }
.term-out { border-top: 1px solid var(--line-soft); padding: 12px 16px; font-size: 12px; color: var(--moss); white-space: pre-wrap; }
.caveats { position: relative; padding: 22px 24px; background: rgba(217, 164, 65, .05); border-radius: 6px; }
.caveats::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed rgba(217, 164, 65, .45); border-radius: 6px; filter: url(#rough-2); pointer-events: none; }
.caveats ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.caveats li { margin: 6px 0; }
.caveats li::marker { color: var(--ochre); }

/* services */
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-left: clamp(0px, 8vw, 120px); }
.services-head h2 { margin: 0; }
@media (max-width: 900px) { .services-head { grid-template-columns: 1fr; gap: 14px; padding-left: 0; } }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 22px; margin-top: 52px; align-items: start; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--bg-raise); border-radius: 6px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); transition: transform .6s var(--spring), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: var(--shadow-lift); }
.plan.feat { background: var(--bg-card); margin-top: -18px; }
.plan .kicker { margin: 0; }
.plan .price { font: 350 36px/1.1 var(--serif); color: var(--ink-hi); letter-spacing: -.02em; }
.plan .price small { display: block; font: 13px var(--sans); color: var(--ink-3); letter-spacing: 0; margin-top: 4px; }
.plan ul { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath d='M1 4c3-1 6-2 10-1' fill='none' stroke='%23d9a441' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.sticker { position: absolute; top: -14px; right: 22px; font: 600 20px/1 var(--hand); color: var(--bg-deep); background: var(--moss); padding: 6px 12px 4px; border-radius: 3px; transform: rotate(4deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }

.road { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 100px; padding-top: 34px; }
.road-line { position: absolute; top: 0; left: 0; right: 0; height: 30px; }
.road-line svg { width: 100%; height: 100%; fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.road-step h3 { font-size: 24px; margin-top: 14px; }
.road-step p { color: var(--ink-2); margin: 0; font-size: 15px; max-width: 34ch; }
.road-step:nth-child(3) { margin-top: 26px; } .road-step:nth-child(4) { margin-top: 10px; }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; } .road-line { display: none; } .road-step { margin-top: 0 !important; } }
.status { font: 600 19px/1 var(--hand); padding: 4px 10px 3px; border-radius: 3px; display: inline-block; }
.status.done { color: var(--bg-deep); background: var(--moss); transform: rotate(-2deg); }
.status.next { color: var(--bg-deep); background: var(--ochre); transform: rotate(1.5deg); }
.status.later { color: var(--ink-2); background: rgba(236, 229, 214, .08); transform: rotate(-1deg); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
.contact-copy { padding-top: 20px; }
.contact-note { margin-top: 40px; justify-content: flex-end; gap: 4px; }
.contact-note span { transform: rotate(-3deg); }
.contact-note svg { width: 80px; height: 46px; margin-top: 10px; }
.paper { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--bg-raise); padding: 30px; border-radius: 6px; box-shadow: var(--shadow-lift); transform: rotate(-.5deg); }
.paper .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .paper { grid-template-columns: 1fr; padding: 20px; transform: none; } }
label { display: grid; gap: 7px; font: 500 12px var(--mono); color: var(--ink-3); }
input, select, textarea {
  font: 15px var(--sans); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; padding: 8px 2px;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
select { background: var(--bg-raise); }
input:hover, textarea:hover, select:hover { border-color: #52483a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ochre); background: rgba(217, 164, 65, .04); }
textarea { min-height: 96px; resize: vertical; }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; font-size: 13px; color: var(--ink-3); background: var(--bg-deep); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
.foot-brand p { max-width: 44ch; margin: 10px 0 0; }
footer b { color: var(--ink-2); font-weight: 600; display: block; margin-bottom: 8px; }
footer .telemetry { font: 12px/1.7 var(--mono); }
footer .telemetry span { display: block; }
footer .telemetry b { display: inline; color: var(--ink-2); font-weight: 400; margin: 0; }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scribble svg path { stroke-dashoffset: 0; }
}
