/* The field case: an engineer's aluminium kit case on a steel bench. Materials, not UI chrome. */
@font-face { font-family: "Case Stencil"; font-weight: 700 800; font-display: swap; src: url(/demos/forward-deployed-engineer/stencil.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url(/demos/forward-deployed-engineer/courier-400.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url(/demos/forward-deployed-engineer/courier-700.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-bec94a4d.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400 700; font-display: swap; src: url(/fonts/sourceserif4-8eff34b5.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 400 700; font-display: swap; src: url(/fonts/caveat-81102a44.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlowcondensed-28c6fc47.woff2) format("woff2"); }

:root {
  --bench: #2a2c2e; --trim: #1a1b1d; --alu: #bfc4c9; --alu-d: #8e949a;
  --paper: #f8f9f7; --ink: #191c20; --ink2: #4a5058; --pen: #1f3f9a; --rule: #bfd1e3;
  --red: #c8302b; --green: #0b7a43; --blue: #3f71b8; --focus: #2f6fe0;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --type: "Courier Prime", "Courier New", monospace; --hand: "Caveat", "Bradley Hand", cursive;
  --tex-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0025 0.75' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-bench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0.09'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-keys: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='30'%3E%3Crect x='1.5' y='1.5' width='29' height='27' rx='3.5' fill='%231b1d20'/%3E%3Crect x='3' y='2.5' width='26' height='22' rx='3' fill='%23242629'/%3E%3C/svg%3E");
  --foam-tex: url(/demos/forward-deployed-engineer/foam.webp);
  --foam-top: var(--foam-tex) 0 0 / 256px 256px, #47494c;
  --floor: linear-gradient(rgba(7,8,9,.5), rgba(7,8,9,.5)), var(--foam-tex) 91px 37px / 256px 256px, #47494c;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bench); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--tex-bench), radial-gradient(120% 60% at 50% 0%, #34373a, var(--bench) 70%) fixed, var(--bench); color: #e8eaec; font: 400 16px/1.6 var(--sans); -webkit-text-size-adjust: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
:target { scroll-margin-top: 16px; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* buttons: text only */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1.5px solid currentColor; border-radius: 4px; background: transparent; color: var(--ink); font: 600 15px/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer; }
.btn.fill { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:hover { background: rgba(0,0,0,.06); } .btn.fill:hover { background: #000; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }


/* ========== the opening: closed case, lid, overview tray ========== */
.opening { position: relative; }
.util { position: absolute; z-index: 6; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px; min-height: 48px; font: 500 14px var(--sans); }
.util a { color: #d9dcdf; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; } .util a:hover { color: #fff; text-decoration: underline; }
.util nav { display: flex; gap: 18px; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; padding: 54px 12px 30px; display: flex; align-items: center; justify-content: center; perspective: 1900px; perspective-origin: 50% 40%; overflow: hidden; }
.js-motion .opening { height: 250vh; }
.js-motion .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.cam { position: relative; width: 100%; max-width: 540px; transform-style: preserve-3d; transform: rotateX(3deg) rotateY(-8deg); will-change: transform; }
.shell { position: relative; transform-style: preserve-3d; }
.lid { position: relative; transform-style: preserve-3d; transform-origin: 0 50%; transform: translateZ(1px); will-change: transform; }
.lid-out, .lid-in { border-radius: 16px; border: 7px solid var(--trim); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lid-out { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 96px); padding: 22px 20px 22px 40px; overflow: hidden; color: var(--ink);
  background: var(--tex-brush), linear-gradient(160deg, #d9dde1 0%, #bcc1c6 38%, #c9ced3 55%, #aeb3b9 100%); background-size: 700px 260px, auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 -10px 24px rgba(0,0,0,.12), 0 28px 50px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.4); }
.lid-out::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 9px;
  background: radial-gradient(circle at 12px 12px, #f2f3f4 0, #a3a8ad 6px, #3b3e41 11px, transparent 12px) 0 0 / 24px 24px no-repeat,
              radial-gradient(circle at 12px 12px, #f2f3f4 0, #a3a8ad 6px, #3b3e41 11px, transparent 12px) 100% 0 / 24px 24px no-repeat,
              radial-gradient(circle at 12px 12px, #f2f3f4 0, #a3a8ad 6px, #3b3e41 11px, transparent 12px) 0 100% / 24px 24px no-repeat,
              radial-gradient(circle at 12px 12px, #f2f3f4 0, #a3a8ad 6px, #3b3e41 11px, transparent 12px) 100% 100% / 24px 24px no-repeat; }
.hinge { position: absolute; left: 0; top: 30px; bottom: 30px; width: 14px; background: repeating-linear-gradient(180deg, #8a9096 0 26px, #5e6369 26px 28px), #8a9096; box-shadow: inset -2px 0 2px rgba(0,0,0,.35), inset 2px 0 1px rgba(255,255,255,.4); }
.rcv { position: absolute; right: 0; width: 10px; height: 54px; background: linear-gradient(90deg, #6b7177, #d7dadd 40%, #7e848a); border-radius: 3px 0 0 3px; box-shadow: -1px 0 2px rgba(0,0,0,.4); }
.rcv:first-of-type { top: 22%; } .rcv:last-of-type { bottom: 22%; }
.stencil { margin: 4px 0 0; font: 800 clamp(46px, min(14vw, 8.6svh), 120px)/.9 "Case Stencil", Impact, sans-serif; letter-spacing: .01em; color: #1e2124; opacity: .9; text-shadow: 0 0 1px rgba(30,33,36,.6), 0 1px 0 rgba(255,255,255,.35); }
.owner { margin: 16px 0 0; align-self: flex-start; }
.decal { position: relative; margin-top: auto; padding: 18px 18px 20px; background: var(--tex-grain), #fbfbfa; border-radius: 6px; color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.6), 0 2px 4px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.06); transform: rotate(.4deg); }
.decal::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; border-radius: 0 0 6px 0; background: linear-gradient(315deg, transparent 50%, #e9eaea 50%, #d4d6d8); box-shadow: -2px -2px 3px rgba(0,0,0,.12); }
.deck { margin: 0 0 16px; font: 400 clamp(15px, min(4.1vw, 2.3svh), 19px)/1.5 var(--sans); }
.decal .ctas .btn { flex: 1 1 auto; }
.lid-in { position: absolute; inset: 0; transform: rotateY(180deg); background: radial-gradient(circle at 50% 50%, #55585c 0, #3d3f42 42%, #2a2c2f 72%) 0 0 / 22px 22px, radial-gradient(circle at 50% 50%, #4c4f53 0, #36383b 40%, transparent 66%) 11px 11px / 22px 22px, #2e3033; box-shadow: inset 0 0 0 4px #7d8288; }
.wall { position: absolute; top: 0; left: 100%; width: 46px; height: 100%; transform-origin: 0 50%; transform: rotateY(90deg); display: flex; flex-direction: column; align-items: center; justify-content: space-around; border-radius: 0 10px 10px 0; background: var(--tex-brush), linear-gradient(90deg, #8f959b, #c2c7cc 30%, #9aa0a6); border: 5px solid var(--trim); border-left: 0; }
.wall .latch, .case-end .latch { display: block; width: 26px; height: 46px; border-radius: 4px; background: linear-gradient(90deg, #6e747a, #eef0f1 45%, #9aa0a6 70%, #5f656b); box-shadow: 0 2px 4px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.25); transform-origin: 50% 100%; }
.wall .handle, .case-end .handle { display: block; width: 18px; height: 34%; border-radius: 9px; background: repeating-linear-gradient(180deg, #222427 0 4px, #16171a 4px 6px); box-shadow: 0 3px 6px rgba(0,0,0,.6); }
.tray { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 14px 12px; border-radius: 16px; border: 7px solid var(--trim); background: var(--foam-top);
  box-shadow: inset 0 0 0 5px #9da3a9, inset 0 0 0 6px #555a5f, inset 0 12px 22px rgba(0,0,0,.55), inset 0 -2px 6px rgba(0,0,0,.3); }
.mp { position: relative; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: center; gap: 4px 12px; min-height: 0; color: var(--ink); text-decoration: none; border-radius: 10px; }
.mp > svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.mp .obj { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .mp:hover .obj { transform: translateY(-3px); filter: url(#fl); } .mp:hover .tag b { text-decoration: underline; } }
.mp:focus-visible .obj { transform: translateY(-3px); filter: url(#fl); }
.tag { justify-self: start; display: grid; gap: 1px; padding: 7px 11px 8px; border-radius: 2px; background: var(--tex-grain), #f1f0eb; box-shadow: 0 0 0 3px rgba(6,7,8,.5), 0 0 0 4px rgba(0,0,0,.3), 0 1px 0 4px rgba(255,255,255,.07), 0 1px 2px rgba(0,0,0,.45); }
.tag b { font: 650 15px/1.2 var(--sans); } .tag small { font: 400 12.5px/1.3 var(--sans); color: var(--ink2); }
.hint { position: absolute; bottom: 8px; left: 0; right: 0; margin: 0; text-align: center; font: 500 13px var(--sans); color: #b9bdc1; }
.no-motion .hint, .static-open .hint { display: none; }
.static-open { min-height: 0; padding-top: 30px; padding-bottom: 40px; }
@media (min-aspect-ratio: 1/1) and (min-width: 700px) {
  .cam { max-width: min(1120px, 94vw); transform: rotateX(8deg); }
  .lid { transform-origin: 50% 0; }
  .lid-out { min-height: min(calc(100svh - 110px), 660px); padding: 46px 44px 34px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr; column-gap: 40px; }
  .stencil { grid-column: 1; font-size: clamp(64px, min(8.4vw, 13svh), 132px); }
  .owner { grid-column: 1; align-self: end; margin-bottom: 6px; }
  .decal { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 26px 26px 28px; }
  .hinge { top: 0; left: 40px; right: 40px; bottom: auto; width: auto; height: 14px; background: repeating-linear-gradient(90deg, #8a9096 0 34px, #5e6369 34px 36px), #8a9096; box-shadow: inset 0 -2px 2px rgba(0,0,0,.35), inset 0 2px 1px rgba(255,255,255,.4); }
  .rcv { right: auto; bottom: 0; top: auto !important; width: 60px; height: 10px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #6b7177, #d7dadd 40%, #7e848a); }
  .rcv:first-of-type { left: 20%; } .rcv:last-of-type { right: 20%; left: auto; }
  .lid-in { transform: rotateX(180deg); }
  .wall { top: 100%; left: 0; width: 100%; height: 50px; transform-origin: 50% 0; transform: rotateX(-90deg); flex-direction: row; border-radius: 0 0 10px 10px; border: 5px solid var(--trim); border-top: 0; background: var(--tex-brush), linear-gradient(180deg, #8f959b, #c2c7cc 30%, #9aa0a6); }
  .wall .latch, .case-end .latch { width: 52px; height: 30px; background: linear-gradient(180deg, #6e747a, #eef0f1 45%, #9aa0a6 70%, #5f656b); }
  .wall .handle, .case-end .handle { width: 28%; height: 18px; background: repeating-linear-gradient(90deg, #222427 0 4px, #16171a 4px 6px); }
  .tray { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lap cab key" "lap log let"; }
  .tray { padding: 22px; gap: 12px 20px; }
  .mp { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; text-align: center; gap: 12px; padding: 4px; }
  .mp .tag { justify-self: center; }
  .mp-lap { grid-area: lap; } .mp-lap > svg { max-width: 440px; } .mp-cab { grid-area: cab; } .mp-key { grid-area: key; } .mp-log { grid-area: log; } .mp-let { grid-area: let; }
}

/* ========== the case interior ========== */
main { display: block; }
.case { position: relative; max-width: 1200px; margin: 0 auto; padding: 14px; border-radius: 18px; border: 12px solid transparent;
  background: var(--foam-tex) 0 0 / 256px 256px padding-box, var(--tex-brush) border-box, linear-gradient(90deg, #8f959b, #cfd3d7 20%, #aab0b5 80%, #8a9096) border-box; background-color: #47494c;
  box-shadow: 0 0 0 5px var(--trim), 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.6), inset 0 16px 26px rgba(0,0,0,.5), inset 0 -4px 10px rgba(0,0,0,.3); margin-inline: 12px; }
@media (min-width: 1240px) { .case { margin-inline: auto; } }
.pocket { position: relative; margin: 10px 0 30px; padding: 12px 8px; }
.pocket > .btn { color: #eef0f2; border-color: rgba(238,240,242,.75); background: rgba(20,21,23,.35); } .pocket > .btn:hover { background: rgba(20,21,23,.6); }

/* die-cut pockets: darker foam floor, shaded cut walls, a soft bevel on the rim, a finger notch */
.cut { position: relative; isolation: isolate; padding: var(--pad, 16px); border-radius: var(--r, 14px); }
.cut::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--floor);
  box-shadow: inset 0 16px 16px -9px rgba(0,0,0,.85), inset 13px 0 15px -12px rgba(0,0,0,.65), inset -9px 0 12px -10px rgba(0,0,0,.45), inset 0 -5px 4px -3px rgba(255,255,255,.07), inset 0 0 0 1px rgba(0,0,0,.75),
    0 0 0 1px rgba(0,0,0,.35), 0 1.5px 0 1px rgba(255,255,255,.1), 0 -1px 1px 1px rgba(0,0,0,.4); }
.cut.shallow::after { background: linear-gradient(rgba(7,8,9,.32), rgba(7,8,9,.32)), var(--foam-tex) 91px 37px / 256px 256px, #47494c;
  box-shadow: inset 0 6px 7px -4px rgba(0,0,0,.75), inset 5px 0 7px -5px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.65), 0 1px 0 1px rgba(255,255,255,.08), 0 -1px 1px 1px rgba(0,0,0,.35); }
.cut[class*="n-"]::before { content: ""; position: absolute; z-index: -2; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(rgba(7,8,9,.3), rgba(7,8,9,.3)), var(--foam-tex) 13px 51px / 256px 256px, #47494c;
  box-shadow: inset 0 9px 10px -5px rgba(0,0,0,.75), inset 0 0 0 1px rgba(0,0,0,.7), 0 1.5px 0 1px rgba(255,255,255,.09); }
.cut.n-bottom::before { left: calc(50% - 29px); bottom: -22px; }
.cut.n-side::before { right: -22px; top: calc(50% - 29px); }
.obj { position: relative; transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .4s; }
.cut.lift > .obj { transform: translateY(var(--lift, -5px)); }
.lap-cut, .book-cut, .sheets-cut { --lift: -3px; }
@media (prefers-reduced-motion: reduce) { .obj, .mp .obj { transition: none; } }

/* printed inserts and paper sitting in shallow slots */
.seat { box-shadow: 0 0 0 3px rgba(7,8,9,.5), 0 0 0 4px rgba(0,0,0,.3), 0 1.5px 0 4px rgba(255,255,255,.08), 0 2px 3px rgba(0,0,0,.5); }
.label { display: block; width: fit-content; max-width: min(40em, 100% - 12px); margin: 6px 0 26px 6px; padding: 16px 20px 15px; border-radius: 2px; }
.label h2, .label .lt { margin: 0 0 4px; font: 650 clamp(20px, 2.4vw, 25px)/1.2 var(--sans); letter-spacing: -.01em; }
.label p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); } .label p.lt { color: var(--ink); }
.label-row { display: flex; align-items: center; gap: 12px 18px; margin-bottom: 18px; } .label-row .label { margin-bottom: 6px; flex: 1 1 auto; }
.coil { flex: 0 0 auto; width: clamp(96px, 22vw, 150px); height: auto; overflow: visible; }
.paper { color: var(--ink); background: var(--tex-grain), var(--paper); }
.case-end { position: absolute; left: 0; right: 0; bottom: -27px; height: 30px; display: flex; justify-content: space-around; align-items: center; pointer-events: none; }
.case-end .latch { width: 52px !important; height: 26px !important; background: linear-gradient(180deg, #6e747a, #eef0f1 45%, #9aa0a6 70%, #5f656b) !important; }
.case-end .handle { width: 30% !important; height: 16px !important; background: repeating-linear-gradient(90deg, #222427 0 4px, #16171a 4px 6px) !important; }

/* packing slip + engraved plate */
.slip-row { display: grid; gap: 16px; }
.slip { margin: 6px; padding: 20px 20px 10px; border-radius: 2px; font-family: var(--type); }
.type { margin: 0 0 6px; font: 700 20px/1.3 var(--type); }
.roster { margin: 0; }
.roster > div { padding: 10px 0; border-top: 1px dashed #9aa0a6; }
.roster dt { font: 700 16px/1.4 var(--type); }
.roster dd { margin: 2px 0 0; font: 400 15px/1.5 var(--type); color: #2b2f34; }
.plate { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-content: center; padding: 24px 26px; border-radius: 6px; color: #2a2d31;
  margin: 6px; background: var(--tex-brush), linear-gradient(135deg, #d3d7db, #a9aeb4 60%, #c4c8cd); background-size: 700px 260px, auto; }
.plate.seat { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.25), 0 0 0 3px rgba(7,8,9,.5), 0 0 0 4px rgba(0,0,0,.3), 0 1.5px 0 4px rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.5); }
.plate b { display: block; font: 800 30px/1 "Case Stencil", Impact, sans-serif; color: #24272b; text-shadow: 0 1px 0 rgba(255,255,255,.55), 0 -1px 0 rgba(0,0,0,.3); }
.plate span { display: block; margin-top: 4px; font: 500 13.5px/1.3 var(--sans); color: #3b3f44; }
.rivet { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f4f5f6, #8d9298 60%, #50555a); box-shadow: 0 1px 1px rgba(0,0,0,.5); }
.rivet:nth-of-type(1) { top: 8px; left: 8px; } .rivet:nth-of-type(2) { top: 8px; right: 8px; } .rivet:nth-of-type(3) { bottom: 8px; left: 8px; } .rivet:nth-of-type(4) { bottom: 8px; right: 8px; }
@media (min-width: 760px) { .slip-row { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* ---------- the laptop ---------- */
.lap-cut { --pad: 14px 22px 18px; --r: 22px 22px 26px 26px; max-width: 1110px; margin: 0 auto; }
.laptop { max-width: 1060px; margin: 0 auto; filter: drop-shadow(0 6px 6px rgba(0,0,0,.6)); }
.lap-cut.lift > .laptop { filter: drop-shadow(0 18px 16px rgba(0,0,0,.55)); }
.lap-screen { padding: 12px; border-radius: 16px 16px 4px 4px; background: #0d0e10; box-shadow: 0 0 0 2px #73787e, inset 0 0 0 1px #2c2e32; position: relative; }
.lap-screen::before { content: ""; position: absolute; top: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #23262a; }
.os { overflow: hidden; border-radius: 4px; background: #f4f5f6; color: #15171a; font-family: var(--sans); }
.os-bar { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 32px; padding: 0 12px; background: #e5e7e9; border-bottom: 1px solid #d1d4d7; font: 500 12.5px/1.2 var(--sans); color: #50565c; }
.os-bar span:first-child { color: #15171a; font-weight: 600; }
.os-body { padding: 14px 12px 16px; }
.lap-deck { position: relative; height: 56px; margin: 0 -10px; border-radius: 3px 3px 18px 18px; background: var(--tex-brush), linear-gradient(180deg, #a5aaaf, #8c9197 60%, #6f747a); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.35); }
.lap-deck .keys { position: absolute; left: 7%; right: 7%; top: 10px; height: 30px; background: var(--tex-keys) 0 0 / 32px 30px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.lap-deck .pad { display: none; position: absolute; left: 50%; width: 26%; transform: translateX(-50%); bottom: 12px; height: 54px; border-radius: 8px; background: linear-gradient(180deg, #9ea3a9, #959a9f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3); }
@media (min-width: 760px) { .lap-deck { height: 150px; margin: 0 -18px; } .lap-deck .keys { top: 14px; height: 60px; } .lap-deck .pad { display: block; } .lap-screen { padding: 18px; } .os-body { padding: 18px; } }

/* laptop UI */
.os fieldset { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.os legend { padding: 0; margin-bottom: 6px; font: 600 13px/1.3 var(--sans); color: #50565c; }
.seg { display: grid; gap: 0; }
.os .seg { grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px; border-radius: 9px; background: #e1e3e6; }
.seg label { position: relative; display: block; }
.seg input, .chk input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.os .seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 8px; border-radius: 7px; font: 500 14px/1.2 var(--sans); color: #3a3f45; text-align: center; cursor: pointer; }
.os .seg label:hover span { color: #000; }
.os .seg input:checked + span { background: #fff; color: #000; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.08); }
.seg input:focus-visible + span, .chk input:focus-visible + span, .epl-opt input:focus-visible + span, .epl-seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (min-width: 640px) { .os .seg.four { grid-template-columns: repeat(4, 1fr); } }
.readout { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 10px 0 12px; }
.dn { display: grid; justify-items: center; min-width: 66px; padding: 6px 8px; border-radius: 8px; background: #15171a; color: #fff; }
.dn small { font: 500 12px/1 var(--sans); color: #b8bcc1; }
.dn span { font: 700 34px/1.05 var(--sans); font-variant-numeric: tabular-nums; }
.readout h3 { margin: 0; font: 650 19px/1.25 var(--sans); }
.readout p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: #4b5157; }
.prog { height: 3px; border-radius: 2px; background: #dcdfe2; margin-bottom: 12px; overflow: hidden; }
.prog i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #15171a; }
#phases { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
#phases button { min-height: 50px; padding: 6px 10px; border: 1px solid #d0d3d7; border-radius: 7px; background: #fff; color: #15171a; font: 600 14px/1.2 var(--sans); text-align: left; cursor: pointer; }
#phases button span { display: block; margin-top: 2px; font: 400 12.5px/1.2 var(--sans); color: #5d636a; }
#phases button:hover { border-color: #8a9096; }
#phases button[aria-pressed="true"] { background: #15171a; border-color: #15171a; color: #fff; } #phases button[aria-pressed="true"] span { color: #c3c7cb; }
@media (min-width: 640px) { #phases { grid-template-columns: repeat(4, 1fr); } }
.scrub-row { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; margin-bottom: 14px; }
.scrub-row input[type=range] { width: 100%; min-height: 44px; margin: 0; accent-color: #15171a; }
.os .btn.fill { border-radius: 7px; }
@media (min-width: 480px) { .scrub-row { grid-template-columns: 1fr auto; gap: 14px; } }
.plan { display: grid; gap: 14px; }
#mapbox { border: 1px solid #d6d9dc; border-radius: 6px; background: #fff; padding: 6px; }
#map { display: block; width: 100%; height: auto; }
#map .node { fill: #fff; stroke: #a7adb3; stroke-width: 1.4; stroke-dasharray: 5 4; transition: stroke .3s; }
#map .node.solid { stroke: #2a2e33; stroke-dasharray: none; }
#map .node.live.solid { stroke: var(--green); stroke-width: 2; }
#map .hatch { transition: opacity .4s; pointer-events: none; }
#map .livefill { fill: var(--green); }
#map .wire { fill: none; stroke: #2a2e33; stroke-width: 1.5; }
#map .wire.write { stroke: var(--red); stroke-width: 4; }
#map .tag { font: 600 11px var(--sans); fill: #7b828a; } #map .tag.on { fill: #2a2e33; } #map .tag.inv { fill: #fff; }
#map .lab { font: 600 13.5px var(--sans); fill: #15171a; } #map .lab.inv { fill: #fff; }
#map .packet { fill: var(--blue); stroke: #fff; stroke-width: 1.5; transition: opacity .3s; }
#map .trail { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
#map .pin circle { fill: #15171a; stroke: #fff; stroke-width: 2; transition: fill .4s; } #map .pinlab { font: 700 8.5px var(--sans); fill: #fff; }
#map .pin.away circle { fill: #fff; stroke: #15171a; } #map .pin.away .pinlab { fill: #15171a; }
#map .doc { fill: #fff; stroke: #15171a; stroke-width: 1.5; }
.logh { margin: 0 0 6px; font: 600 14px/1.3 var(--sans); }
#log { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.4; }
#log li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 6px 0 6px 8px; border-left: 2px solid transparent; color: #9aa0a6; transition: color .3s; }
#log li b { font-weight: 600; font-variant-numeric: tabular-nums; }
#log li.on { color: #2a2e33; } #log li.now { border-left-color: #15171a; color: #000; } #log li.now span { font-weight: 600; }
#envnote { margin: 10px 0 0; font-size: 12.5px; line-height: 1.4; color: #5d636a; }
@media (min-width: 900px) { .plan { grid-template-columns: minmax(0, 1fr) 300px; } }

/* ---------- cables + keycard ---------- */
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 1000px) { .row2 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: stretch; } .row2 .pocket { margin-bottom: 16px; } }
.cable-cut { --pad: 14px 12px; --r: 18px; margin: 0 0 30px; }
.cablebox { margin: 0; }
#cablemap { display: block; width: 100%; height: auto; overflow: visible; }
#cablemap .cb-o { fill: none; stroke: #0e0f10; stroke-width: 10; stroke-linecap: round; }
#cablemap .cb-c { fill: none; stroke-width: 7; stroke-linecap: round; }
#cablemap .cb-h { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 1.6; stroke-linecap: round; transform: translate(-1px, -1.5px); }
#cablemap .box { fill: #d9dcdf; stroke: #0e0f10; stroke-width: 1.5; }
#cablemap .eng { fill: #1b1d20; stroke: #000; }
#cablemap .port { fill: #0e0f10; }
#cablemap .plug { fill: #e9ebec; stroke: #0e0f10; stroke-width: 1.2; transition: opacity .2s; }
#cablemap .t1 { font: 600 13px var(--sans); fill: #15171a; } #cablemap .t2 { font: 500 11.5px var(--sans); fill: #5d636a; }
#cablemap .t2.on { fill: #15171a; font-weight: 600; } #cablemap .t2.wr { fill: var(--red); font-weight: 700; }
#cablemap .te { font: 600 13px var(--sans); fill: #eef0f2; } #cablemap .te2 { font: 400 11.5px var(--sans); fill: #b7bbc0; }
.phases-list { margin: 0 6px 6px; padding: 6px 18px; list-style: none; border-radius: 2px; background: var(--tex-grain), #f1f0eb; color: var(--ink); }
.phases-list li { position: relative; padding: 12px 0 12px 30px; font-size: 15px; line-height: 1.5; border-top: 1px solid #c9ccd0; }
.phases-list li:first-child { border-top: 0; }
.phases-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 12px; border-radius: 2px; background: #15171a; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.phases-list li:nth-child(2)::before { background: var(--blue); } .phases-list li:nth-child(3)::before { background: var(--green); } .phases-list li:nth-child(4)::before { background: var(--red); }

.card-cut { --pad: 0 10px 14px; --r: 16px 16px 20px 20px; width: 258px; margin: 0 auto 30px; }
.lanyard-wrap { position: relative; width: 236px; margin: 0 auto; perspective: 1000px; }
.card-f, .card-b { transition: box-shadow .4s; } /* no filter on .card: it would flatten the 3D flip */
.card-cut.lift .card-f, .card-cut.lift .card-b { box-shadow: 0 18px 16px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.08); }
.lanyard { display: block; width: 200px; margin: 0 auto; height: auto; filter: drop-shadow(0 4px 3px rgba(0,0,0,.5)); }
.card { position: relative; width: 228px; aspect-ratio: 54 / 85.6; margin: -10px auto 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.1,.2,1); transform: rotate(-2deg); }
.card.flipped { transform: rotate(-2deg) rotateY(180deg); }
.card-f, .card-b { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: var(--ink); background: linear-gradient(155deg, rgba(255,255,255,.55), transparent 40%), #f3f4f1; box-shadow: 0 4px 5px rgba(0,0,0,.55), inset 0 0 0 1px rgba(0,0,0,.08); }
.card-f::before, .card-b::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 46px; height: 9px; margin-left: -23px; border-radius: 5px; background: #2b2d30; box-shadow: inset 0 2px 2px rgba(0,0,0,.6); }
.card-b { transform: rotateY(180deg); }
.band { padding: 30px 16px 12px; background: var(--red); color: #fff; font: 700 22px/1 var(--sans); }
.c-role { margin: 14px 16px 0; font: 650 17px/1.25 var(--sans); }
.chip { display: block; width: 40px; height: 30px; margin: 14px 16px 0; border-radius: 5px; background: linear-gradient(135deg, #d9c58a, #a88f4f 55%, #cdb878); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.c-meta { margin: 14px 16px 0; font-size: 13px; }
.c-meta div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid #d5d8da; }
.c-meta dt { color: #5d636a; } .c-meta dd { margin: 0; font-weight: 600; }
.stripe { display: block; height: 24px; margin-top: 26px; background: #111214; }
.c-steps { margin: 6px 12px 0; padding: 0; list-style: none; font-size: 11px; line-height: 1.3; }
.c-steps li { padding: 4px 0; border-top: 1px solid #d5d8da; } .c-steps li:first-child { border-top: 0; }
.c-steps b { display: block; font-size: 12px; }
#flip { display: flex; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }

/* ---------- the logbook ---------- */
.book-cut { --pad: 14px; --r: 14px; margin: 0 0 34px; }
.book { position: relative; display: grid; gap: 0; padding: 30px 10px 10px; border-radius: 6px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 4px), #17181b; box-shadow: inset 0 0 0 1px #000, inset 0 1px 0 rgba(255,255,255,.12); filter: drop-shadow(0 6px 6px rgba(0,0,0,.6)); }
.book-cut.lift > .book { filter: drop-shadow(0 18px 16px rgba(0,0,0,.5)); }
.page { box-shadow: 2px 2px 0 -1px #e6e4dc, 3px 3px 0 -1px #b8b5aa, 4px 4px 0 -1px #e3e1d9, 5px 5px 0 -1px #aeab9f; }
.spiral { position: absolute; z-index: 2; left: 18px; right: 18px; top: 6px; height: 34px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='34'%3E%3Ccircle cx='11' cy='26' r='2.6' fill='%23070808'/%3E%3Cpath d='M11 26C7 20 7 8 11 4C14 1 16 6 15 12' fill='none' stroke='%23070808' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M11 26C7 20 7 8 11 4C14 1 16 6 15 12' fill='none' stroke='%23cfd3d7' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 22px 34px repeat-x; }
.page { position: relative; min-width: 0; padding: 28px 18px 28px 58px; color: var(--ink); font: 400 16px/28px var(--serif);
  background: linear-gradient(90deg, transparent 44px, rgba(200,48,43,.5) 44px 45.5px, transparent 45.5px), repeating-linear-gradient(180deg, transparent 0 27px, var(--rule) 27px 28px) 0 27px, var(--tex-grain), #fafbf9; }
.page + .page { border-top: 2px solid #c9ccd0; }
@media (min-width: 900px) {
  .book { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 10px; }
  .spiral { left: calc(40% - 13px); right: auto; top: 14px; bottom: 14px; width: 34px; height: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='22'%3E%3Ccircle cx='8' cy='11' r='2.6' fill='%23070808'/%3E%3Ccircle cx='26' cy='11' r='2.6' fill='%23070808'/%3E%3Cpath d='M8 11C10 6 24 6 26 11' fill='none' stroke='%23070808' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M8 11C10 6 24 6 26 11' fill='none' stroke='%23d3d7db' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 34px 22px repeat-y; }
  .lp { margin-right: 4px; } .rp { margin-left: 4px; }
  .page + .page { border-top: 0; }
  .lp { box-shadow: inset -26px 0 30px -24px rgba(0,0,0,.35); border-radius: 3px 0 0 3px; } .rp { box-shadow: inset 26px 0 30px -24px rgba(0,0,0,.35); border-radius: 0 3px 3px 0; }
}
.hand { font: 600 22px/28px var(--hand); color: var(--pen); }
.lp-in { position: sticky; top: 20px; }
.note-a { position: absolute; right: 18px; top: 0; margin: 0; transform: rotate(-3deg); }
.page fieldset { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.page legend { padding: 0; font: 700 16px/28px var(--serif); }
.page .seg { gap: 0; }
.page .seg span, .page .chk span { position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 6px 8px 34px; font: 400 16px/1.4 var(--serif); cursor: pointer; }
.page .seg span::before { content: ""; position: absolute; left: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--ink); border-radius: 50%; }
.page .seg input:checked + span::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5c2 1.8 3.4 3.5 4.6 5.6C9.6 10.4 13 6 17.5 3' fill='none' stroke='%231f3f9a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 3px -6px / 22px 22px no-repeat; }
.page .seg input:checked + span { font-weight: 600; }
.page .seg input:checked + span::after { content: ""; position: absolute; left: 21px; right: auto; top: 4px; bottom: 4px; width: calc(100% - 16px); max-width: 300px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M12 30C40 37 150 38 186 27C204 20 196 6 160 4C110 1 30 3 10 12C-2 18 8 30 30 33' fill='none' stroke='%231f3f9a' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.chk label { position: relative; display: block; }
.page .chk span::before { content: ""; position: absolute; left: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--ink); border-radius: 1px; }
.page .chk input:checked + span::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5c2 1.8 3.4 3.5 4.6 5.6C9.6 10.4 13 6 17.5 3' fill='none' stroke='%231f3f9a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 3px -6px / 22px 22px no-repeat; }
.phead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-bottom: 28px; }
.ptitle { font: 700 16px/28px var(--serif); }
.sheet-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.page .btn { min-height: 44px; padding: 0 14px; font: 600 14.5px/1.2 var(--sans); }
#copied { font: 600 20px/1 var(--hand); color: var(--pen); }
#copied:empty { display: none; }
#sheet-body h3 { margin: 0; font: 700 21px/28px var(--serif); }
#sheet-body h4 { margin: 28px 0 0; font: 700 16px/28px var(--serif); }
#sheet-body p { margin: 0; } #sheet-body .meta { color: var(--ink2); }
#sheet-body ul { margin: 0; padding-left: 20px; }
#sheet-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 20px; }
#sheet-body th { text-align: left; font: 700 13px/28px var(--serif); padding: 0 6px 0 0; }
#sheet-body td { padding: 4px 6px 3px 0; vertical-align: top; border-top: 1px solid var(--rule); }
#sheet-body td.wt { font: 700 22px/20px var(--hand); color: var(--pen); width: 34px; text-align: center; }
#sheet-body td:last-child { white-space: nowrap; color: var(--ink2); }
@media (max-width: 560px) { #sheet-body table, #sheet-body tbody, #sheet-body tr, #sheet-body td { display: block; } #sheet-body thead { display: none; } #sheet-body tr { padding: 6px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 34px 1fr; } #sheet-body td { border: 0; padding: 0 0 2px; } #sheet-body td.wt { grid-row: span 3; } #sheet-body td:nth-child(2) { font-weight: 600; } }
.clipping { position: relative; max-width: 820px; margin: 0 auto 10px; padding: 26px 22px 18px; font-family: var(--serif); background: var(--tex-grain), #eeefed; }
.clipping h2 { margin: 0 0 12px; font: 700 clamp(22px, 3vw, 28px)/1.15 var(--serif); }

/* paper tables */
table.src { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--serif); }
table.src th { text-align: left; padding: 8px 10px 8px 0; border-bottom: 2px solid var(--ink); font-weight: 700; }
table.src td { padding: 9px 10px 9px 0; border-bottom: 1px solid #c8cbce; vertical-align: top; }
table.src td.v { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.paper a { color: var(--ink); text-decoration-color: rgba(25,28,32,.45); } .paper a:hover { text-decoration-color: currentColor; }
.note { color: var(--ink2); font-size: 15px; }
@media (max-width: 600px) { table.vs, table.vs tbody, table.vs tr, table.vs td { display: block; } table.vs thead { display: none; } table.vs tr { padding: 10px 0; border-bottom: 1px solid #c8cbce; } table.vs td { border: 0; padding: 2px 0; } table.vs td:first-child { font-weight: 700; } }
@media (max-width: 480px) { table.src:not(.vs) th:nth-child(2), table.src:not(.vs) td:nth-child(2) { display: none; } }

/* ---------- the letter ---------- */
.letter-wrap { display: grid; gap: 18px; }
.bcard-cut { --pad: 9px; --r: 8px; justify-self: center; width: min(100%, 348px); }
.bcard-cut::after { background: linear-gradient(rgba(7,8,9,.32), rgba(7,8,9,.32)), var(--foam-tex) 91px 37px / 256px 256px, #47494c; box-shadow: inset 0 6px 7px -4px rgba(0,0,0,.75), inset 5px 0 7px -5px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.65), 0 1px 0 1px rgba(255,255,255,.08); }
.bcard { padding: 22px 22px 20px; border-radius: 3px; color: var(--ink); background: var(--tex-grain), #fff; box-shadow: 0 2px 3px rgba(0,0,0,.45); font-family: var(--sans); }
.bcard-cut.lift > .bcard { box-shadow: 0 14px 16px rgba(0,0,0,.45); }
.sheets-cut { --pad: 10px; --r: 8px; min-width: 0; }
.bc-name { margin: 0; font: 700 21px/1.2 var(--serif); }
.bc-role { margin: 4px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--ink2); }
.bc-line { margin: 14px 0 0; font-size: 14px; }
.bc-mail { margin: 2px 0 16px; font-size: 14px; } .bc-mail a { color: var(--ink); }
.bcard .btn { width: 100%; }
.sheets { min-width: 0; display: grid; gap: 14px; }
.sheet { padding: 30px 20px 30px; font: 400 17px/1.62 var(--serif); box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.4); }
.sheet h2 { margin: 0 0 14px; font: 700 clamp(24px, 3.4vw, 32px)/1.15 var(--serif); letter-spacing: -.01em; }
.sheet h2 + * { margin-top: 0; }
.sheet h2:not(:first-child) { margin-top: 36px; }
.sheet h3 { margin: 26px 0 8px; font: 700 19px/1.3 var(--serif); }
.lh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-bottom: 12px; margin-bottom: 26px; border-bottom: 1.5px solid var(--ink); }
.lh-name { font: 700 18px/1.2 var(--serif); } .lh-addr { font: 400 13.5px/1.2 var(--type); color: var(--ink2); }
.lh + h2 { margin-top: 0; }
.lede { font-size: 19px; }
.five { padding-left: 22px; } .five li { margin: 6px 0; padding-left: 4px; } .five li::marker { font-weight: 700; }
.tl { list-style: none; margin: 16px 0; padding: 0; }
.tl li { display: grid; gap: 2px 18px; padding: 12px 0; border-top: 1px solid #c8cbce; }
.tl li b { font-weight: 700; }
@media (min-width: 640px) { .tl li { grid-template-columns: 150px 1fr; } .sheet { padding: 44px 48px; } }
.quotes { display: grid; gap: 20px; margin: 18px 0 8px; }
.worry blockquote { margin: 0; font: 600 20px/1.4 var(--serif); }
.worry .who { display: block; margin-top: 6px; font-size: 14px; color: var(--ink2); }
.worry p { margin: 8px 0 0; }
.worry { padding-left: 16px; border-left: 3px solid var(--ink); }
.gets, .fit ul { padding-left: 20px; margin: 0; } .gets li, .fit li { margin: 4px 0; }
.fit { display: grid; gap: 4px 28px; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; } }
.mkt { margin: 14px 0; padding: 14px 0 4px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.mkt-k { margin: 0; font: 700 14px/1.3 var(--type); }
.mkt ul { padding-left: 20px; } .mkt li { margin: 8px 0; }
.sheet .ctas { margin-top: 22px; }
@media (min-width: 1000px) { .letter-wrap { grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 28px; } .bcard-cut { position: sticky; top: 24px; margin-top: 30px; } }

/* engagement planner on the letter */
.epl { margin: 22px 0 0; padding: 18px 0 0; border-top: 1.5px solid var(--ink); }
.epl-h { margin: 0 0 12px !important; font: 700 20px/1.3 var(--serif); }
.epl-h span { display: block; font: 400 14px/1.3 var(--serif); color: var(--ink2); }
.epl-body { display: grid; gap: 18px; }
.epl form { display: grid; gap: 14px; }
.epl fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.epl legend { padding: 0; margin-bottom: 6px; font: 700 15px/1.3 var(--serif); }
.epl-opts { display: grid; gap: 0; }
.epl-opt { position: relative; display: block; }
.epl-opt input, .epl-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.epl-opt span { position: relative; display: flex; align-items: center; min-height: 44px; padding: 6px 6px 6px 32px; font: 400 16px/1.3 var(--serif); cursor: pointer; border-bottom: 1px dotted #b9bdc1; }
.epl-opt span::before { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--ink); border-radius: 50%; }
.epl-opt input:checked + span { font-weight: 600; }
.epl-opt input:checked + span::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5c2 1.8 3.4 3.5 4.6 5.6C9.6 10.4 13 6 17.5 3' fill='none' stroke='%231f3f9a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 3px -6px / 22px 22px no-repeat; }
.epl-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.epl-seg label { position: relative; display: block; }
.epl-seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--ink); border-radius: 3px; font: 700 18px/1 var(--serif); cursor: pointer; }
.epl-seg input:checked + span { background: var(--ink); color: #fff; }
.epl-main { min-width: 0; }
.epl-top { display: grid; gap: 14px; }
.epl-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 1fr; border: 1.5px solid var(--ink); }
.epl-dh { padding: 6px 6px 5px; border-bottom: 1px solid var(--ink); font: 700 13px/1 var(--serif); }
.epl-dh + .epl-dh, .epl-col + .epl-col { border-left: 1px solid #b9bdc1; }
.epl-col { position: relative; min-height: 118px; background: repeating-linear-gradient(180deg, transparent 0 21px, #e1e4e7 21px 22px); }
.epl-ev { position: absolute; inset: 6px 4px; padding: 4px 4px; color: var(--pen); transform-origin: top; animation: epl-drop .22s cubic-bezier(.2,0,0,1) both; overflow: hidden; }
.epl-ev b { display: block; font: 700 26px/1 var(--hand); }
.epl-ev small { display: none; margin-top: 2px; font: 600 17px/1.05 var(--hand); }
.epl-ev::after { content: ""; position: absolute; inset: 0; border: 1.6px solid var(--pen); border-radius: 46% 54% 42% 58% / 10% 12% 9% 11%; opacity: .8; }
.epl-pop { padding: 0; }
.epl-role { margin: 0 0 8px; font: 700 19px/1.3 var(--serif); }
.epl-meta { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; margin: 0 0 4px; font-size: 15px; }
.epl-meta span { color: var(--ink2); font: 400 13px/1.6 var(--type); }
.epl-meta p { margin: 0; }
.epl-len { font-weight: 600; }
.epl-note { margin: 10px 0; padding: 0 0 0 12px; border-left: 3px solid var(--red); font-size: 15px; line-height: 1.45; }
.epl-note:empty { display: none; }
.epl-end { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #c8cbce; font-size: 15px; }
.epl-gantt { margin-top: 16px; }
.epl-ghead { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; align-items: end; margin-bottom: 4px; }
.epl-lab { grid-column: 1 / -1; margin: 0 0 4px; font: 700 15px/1.3 var(--serif); }
.epl-scale { grid-column: 2; display: grid; grid-template-columns: repeat(8, 1fr); font: 400 12px/1 var(--type); color: var(--ink2); }
.epl-scale span { padding-left: 3px; border-left: 1px solid #b9bdc1; }
.epl-scale-k { grid-column: 1 / -1; padding: 0 0 6px 0 !important; border: 0 !important; }
.epl ol { list-style: none; margin: 0; padding: 0; }
.epl li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 8px 0; border-top: 1px solid #d8dbde; }
.epl li > b { font: 700 14px/22px var(--serif); }
.epl-track { position: relative; height: 22px; background: repeating-linear-gradient(90deg, #d1d4d7 0 1px, transparent 1px 12.5%); }
.epl-g { position: absolute; top: 7px; bottom: 7px; left: var(--s); width: var(--l); border-radius: 4px 2px 5px 3px; background: var(--pen); opacity: .85; transition: left .3s cubic-bezier(.2,0,0,1), width .3s cubic-bezier(.2,0,0,1); }
.epl li > span:last-child { grid-column: 1 / -1; padding-top: 6px; font-size: 15px; line-height: 1.45; animation: epl-fade .2s ease both; }
.epl-fin { display: flex; justify-content: flex-end; gap: 8px; margin: 0; padding: 6px 0 8px; border-top: 1px solid var(--ink); font: 700 13px/1.3 var(--type); }
.epl-fin i { width: 8px; height: 8px; margin-top: 4px; background: var(--ink); transform: rotate(45deg); flex: none; }
.epl-foot { margin: 10px 0 0; font-size: 14px; color: var(--ink2); }
@keyframes epl-drop { from { opacity: 0; transform: scaleY(.6); } to { opacity: 1; transform: none; } }
@keyframes epl-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .epl-ev, .epl li > span:last-child { animation: none; } .epl-g { transition: none; } }
@media (min-width: 600px) { .epl form { grid-template-columns: 1fr 1fr; } .epl fieldset:last-child { grid-column: 1 / -1; } .epl-col { min-height: 150px; } .epl-ev small { display: block; } .epl-ghead, .epl li { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; } .epl li > b { grid-row: span 2; } .epl li > span:last-child { grid-column: 2; } .epl-top { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); } }

/* ---------- the manual, on the bench ---------- */
.manual { max-width: 860px; margin: 48px 12px 0; padding: 34px 20px 36px; border-radius: 2px; font: 400 17px/1.62 var(--serif); box-shadow: 0 1px 1px rgba(0,0,0,.25), 0 14px 26px rgba(0,0,0,.5); }
@media (min-width: 884px) { .manual { margin-inline: auto; padding: 50px 56px; } }
.manual section + section { margin-top: 40px; padding-top: 30px; border-top: 1.5px solid var(--ink); }
.manual h2 { margin: 0 0 14px; font: 700 clamp(24px, 3.4vw, 32px)/1.15 var(--serif); }
.proof { list-style: none; padding: 0; margin: 0 0 18px; }
.proof li { padding: 12px 0; border-bottom: 1px solid #c8cbce; }
.proof li > a { font-weight: 700; } .proof li > span { display: block; margin-top: 2px; }
.reads { padding-left: 20px; } .list { padding-left: 20px; } .list li, .reads li { margin: 5px 0; }
#faq-list h3 { margin: 22px 0 4px; font: 700 18.5px/1.35 var(--serif); }
#faq-list p { margin: 0; }
.manual .ctas { margin-top: 28px; }
.next { margin: 22px 0 0; padding-left: 22px; } .next li { margin: 4px 0; }
footer { max-width: 1180px; margin: 0 auto; padding: 40px 16px 50px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 15px; color: #c3c7cb; }
footer .open { margin: 0; flex: 1 1 100%; } footer .mail { color: #fff; font-weight: 600; } footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: #d9dcdf; }
@media (min-width: 760px) { .pocket { padding: 18px 18px 8px; margin: 14px 4px 26px; } .case { padding: 18px; } .page { padding: 28px 28px 28px 70px; background-position: 0 0, 0 27px, 0 0, 0 0; } .page { background-image: linear-gradient(90deg, transparent 54px, rgba(200,48,43,.5) 54px 55.5px, transparent 55.5px), repeating-linear-gradient(180deg, transparent 0 27px, var(--rule) 27px 28px), var(--tex-grain); } }

@media print {
  body { background: #fff; } body * { visibility: hidden; } #sheet, #sheet * { visibility: visible; color: #000 !important; }
  #sheet { position: absolute; left: 0; top: 0; width: 100%; padding: 0; background: #fff !important; box-shadow: none; } #sheet header { display: none; }
  .js-motion .opening { height: auto; } .stage { display: none; }
  #sheet-body { font-size: 11.5pt; } #sheet-body td.wt { color: #000 !important; } @page { margin: 14mm; }
}

/* phone: thinner case chrome so paper gets the width */
@media (max-width: 759px) {
  .case { margin-inline: 6px; border-width: 8px; padding: 6px; }
  .pocket { padding: 12px 4px 4px; margin: 6px 0 22px; }
  .book { padding: 30px 4px 4px; } .cut { --pad: 8px; } .lap-cut { --pad: 10px 12px 14px; } .card-cut { --pad: 0 10px 12px; } .sheets-cut { --pad: 6px; }
  .label { margin-inline: 6px; padding: 14px 16px 13px; } .label-row { gap: 10px; } .label-row .label { flex: 1 1 0; min-width: 0; } .coil { width: 80px; } .cut.n-side::before { right: -18px; width: 46px; height: 46px; top: calc(50% - 23px); }
  .page { padding: 24px 12px 24px 36px; background-image: linear-gradient(90deg, transparent 26px, rgba(200,48,43,.5) 26px 27.5px, transparent 27.5px), repeating-linear-gradient(180deg, transparent 0 27px, var(--rule) 27px 28px), var(--tex-grain); background-position: 0 0, 0 27px, 0 0; }
  .sheet { padding: 26px 16px; } .clipping { padding: 24px 14px 14px; } .manual { margin-inline: 6px; padding: 28px 16px; }
  .plate b { font-size: 24px; } .plate { padding: 22px 18px; }
  .lap-screen { padding: 8px; } .os-body { padding: 12px 10px 14px; } .lap-deck { margin: 0 -6px; }
}
