/* DESIGN BRIEF  (riff A3, "Drawing set")
 1 Concept: the page is a professional drawing set. Every section is a sheet (A-01 to A-06) inside a thin border with a title block in its corner. "We do the paperwork right."
 2 Signature: the sheet frame plus title block (sheet no., title, blank revision box), and three red-pencil marks drawn on as if a reviewer checked the set: a ring around the eligibility button, a ring on step 1, an underline under the track record.
 3 Type: unchanged from comp A. Hanken Grotesk (display), Newsreader (body), DM Mono (title blocks, labels). No font change: the set already reads as drafted text, and the title blocks reuse the mono.
 4 Palette: paper-dominant. Sheets #f1f2ee on a darker desk #dde0da, navy ink #0b1a2c, blueprint line #8fa9c4. ONE accent: red pencil #c62d1f (#b3261e where it carries text or a fill under text). Orange is dropped.
 5 Motion: coverage arcs sweep in once on load; pencil marks draw on once (hero on load, others as they scroll into view where supported). Off under prefers-reduced-motion.
 6 Avoiding: template cards, icon circles, gradient blobs, shouting caps, stock imagery, more than three red marks. */

:root{
  --ink:#0b1a2c; --ink2:#12263d; --paper:#f1f2ee; --white:#fbfbf9; --desk:#dde0da;
  --bp:#8fa9c4; --bpd:#4a6585; --rule:#c4ccd0; --red:#c62d1f; --redtxt:#b3261e; --mute:#47576a;
  --display:"Hanken Grotesk",Helvetica,Arial,sans-serif;
  --text:"Newsreader",Georgia,serif;
  --mono:"DM Mono",ui-monospace,Menlo,monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--desk);color:var(--ink);font-family:var(--text);font-size:1.1875rem;line-height:1.6;font-optical-sizing:auto;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--redtxt);outline-offset:3px}
.mast :focus-visible,.contact :focus-visible,.foot :focus-visible,.skip:focus-visible{outline-color:var(--white)}
.wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 20px}
.mono{font-family:var(--mono);font-size:.9rem;letter-spacing:.06em;margin:0}
.skip{position:absolute;left:-999px;top:0;background:var(--white);color:var(--ink);padding:.6rem 1rem;z-index:10;font-family:var(--display);font-weight:700}
.skip:focus{left:0}

/* masthead */
.mast{background:var(--ink);color:var(--white)}
.mast-in{display:flex;justify-content:space-between;align-items:center;height:64px}
.word{font-family:var(--display);font-weight:800;font-size:1.3rem;letter-spacing:.02em;display:flex;align-items:baseline;gap:.6rem}
.word-sub{font-family:var(--mono);font-weight:400;font-size:.72rem;letter-spacing:.14em;color:var(--bp);padding-left:.6rem;border-left:1px solid #34506f}
.signin{font-family:var(--display);font-weight:600;font-size:.95rem;text-decoration:none;color:#d6e0ea;padding:.5rem 0;border-bottom:1px solid #4a6585}
.signin:hover{color:#fff;border-color:#fff}

/* sheets: thin border, inner rule, title block */
.sheet{position:relative;background:var(--paper);margin:10px;border:1.5px solid var(--ink);padding-bottom:132px}
.sheet::before{content:"";position:absolute;inset:5px;border:1px solid var(--bp);pointer-events:none}
.tb{position:absolute;right:-1.5px;bottom:-1.5px;width:100%;display:grid;grid-template-columns:1fr;background:var(--paper);border:1.5px solid var(--ink);font-family:var(--mono);font-size:.78rem;letter-spacing:.1em;color:var(--ink);line-height:1.2}
.tb>span{padding:.7rem .9rem;display:flex;align-items:center}
.tb>span+span{border-top:1px solid var(--ink)}
.tb-no{font-weight:500;font-size:1.05rem;letter-spacing:.06em}
.tb-rev{color:var(--mute);display:flex;align-items:center;gap:.6rem}
.tb-rev i{display:block;width:3.2rem;height:1.1em;border:1px solid var(--ink)}

/* hero */
.hero{overflow:hidden;
  background-image:linear-gradient(#dfe4e4 1px,transparent 1px),linear-gradient(90deg,#dfe4e4 1px,transparent 1px);
  background-size:48px 48px;background-position:-1px -1px}
.hero-in{position:relative;z-index:1;display:grid;gap:32px;padding-top:56px;padding-bottom:40px;align-items:center}
.tag{color:var(--redtxt);margin-bottom:20px}
h1{font-family:var(--display);font-weight:700;font-size:clamp(2.5rem,7.4vw,5.1rem);line-height:.98;letter-spacing:-.035em;margin:0 0 28px;max-width:11ch;text-wrap:balance}
.lede{font-size:1.2rem;line-height:1.55;color:#1f3047;max-width:34em;margin:0 0 40px}
.cta{display:flex;flex-wrap:wrap;gap:32px 32px;align-items:center}
.btn{display:inline-flex;gap:.7rem;align-items:center;background:var(--ink);color:var(--white);font-family:var(--display);font-weight:700;font-size:1.05rem;letter-spacing:-.005em;text-decoration:none;padding:1rem 1.5rem;border-radius:2px;box-shadow:4px 4px 0 rgba(11,26,44,.18);transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 rgba(11,26,44,.28)}
.textlink{font-family:var(--display);font-weight:600;color:var(--ink);text-decoration:none;border-bottom:1.5px solid var(--bpd);padding:.2rem 0}
.textlink:hover{border-color:var(--redtxt)}
.hero-fig{min-width:0}

/* red pencil */
.circled{position:relative;display:inline-block}
.pencil{position:absolute;overflow:visible;pointer-events:none;fill:none;stroke:var(--red);stroke-linecap:round;stroke-linejoin:round}
.pencil path{vector-effect:non-scaling-stroke;stroke-width:2.2;opacity:.9}
.pencil .p2{stroke-width:1.3;opacity:.6}
.ring{left:-14px;top:-12px;width:calc(100% + 28px);height:calc(100% + 24px)}
.num .pencil{left:-7px;top:-7px;width:54px;height:54px}
.under{position:relative;display:inline-block;white-space:nowrap}
.under .pencil{left:-2%;bottom:-9px;width:104%;height:14px}
.btn:focus-visible{outline-offset:5px}

@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:no-preference){
  .axo .cam{animation:fadein 1s ease-out both}
  .axo .c4{animation-delay:.3s}.axo .c2{animation-delay:.55s}.axo .c3{animation-delay:.8s}
  .pencil path{stroke-dasharray:1;animation:draw .9s ease-out both}
  .ring path{animation-delay:1.3s}
  .ring .p2{animation-delay:1.8s}
  .num .pencil path,.under .pencil path{animation-timeline:view();animation-range:entry 30% cover 35%;animation-delay:0s}
}

/* sections */
.sec{padding:72px 0 132px}
h2{font-family:var(--display);font-weight:700;font-size:clamp(1.8rem,4.2vw,3rem);line-height:1.05;letter-spacing:-.028em;margin:0;max-width:18ch;text-wrap:balance}
h3{font-family:var(--display);font-weight:700;font-size:1.3rem;line-height:1.2;letter-spacing:-.015em;margin:0 0 .5rem}
.body{margin:0;max-width:34em;font-size:1.25rem;line-height:1.6}
.grid{display:grid;gap:18px}
.sechead{display:grid;gap:14px;margin-bottom:48px}

/* steps */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:36px;position:relative}
.steps li{position:relative;padding-left:64px}
.steps li::before{content:"";position:absolute;left:19px;top:44px;bottom:-36px;border-left:1px dashed var(--mute)}
.steps li:last-child::before{display:none}
.num{position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--ink);background:var(--paper);font-family:var(--mono);font-size:1rem;display:grid;place-items:center}
.steps p{margin:0;color:#25364a;font-size:1.08rem;line-height:1.55}

/* programs: a schedule on gridded paper */
.prog{background-color:#e9ebe6;
  background-image:linear-gradient(#d6dcdc 1px,transparent 1px),linear-gradient(90deg,#d6dcdc 1px,transparent 1px);
  background-size:48px 48px;background-position:-1px -1px}
.sched{border-top:1.5px solid var(--ink);background:var(--paper)}
.row{display:grid;gap:10px;padding:32px 20px;border-bottom:1px solid var(--ink)}
.row .key{color:var(--redtxt)}
.row p:not(.key){margin:0;color:#25364a;max-width:36em}
.row h3{font-size:1.5rem}

/* why */
.figs{display:grid;gap:0;border-top:1px solid var(--ink)}
figure{margin:0;padding:28px 0;border-bottom:1px solid var(--rule);position:relative}
.big{font-family:var(--display);font-weight:800;font-size:clamp(2.2rem,8.6vw,4.2rem);line-height:1;letter-spacing:-.045em;margin:0 0 .5rem}
figcaption{font-family:var(--mono);font-size:.9rem;letter-spacing:.04em;color:var(--mute)}
.why-body{margin-top:44px}

/* faq */
.qs{border-top:1.5px solid var(--ink)}
details{border-bottom:1px solid var(--rule)}
summary{cursor:pointer;list-style:none;padding:22px 44px 22px 0;font-family:var(--display);font-weight:600;font-size:1.2rem;letter-spacing:-.01em;position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-52%);font-family:var(--mono);font-weight:400;font-size:1.5rem;color:var(--redtxt)}
details[open] summary::after{content:"−"}
details p{margin:0 0 24px;max-width:36em;color:#25364a}

/* contact + footer */
.contact{background:var(--ink2);color:var(--white);padding:56px 0;border-top:3px solid var(--red);margin-top:10px}
.contact-in{display:grid;gap:24px;justify-items:start}
.contact p{margin:0;font-family:var(--display);font-weight:600;font-size:1.4rem;letter-spacing:-.015em;overflow-wrap:anywhere}
.contact p a{text-decoration-color:#fff;text-underline-offset:4px}
.contact .btn{background:var(--paper);color:var(--ink);box-shadow:4px 4px 0 rgba(255,255,255,.2)}
.foot{background:var(--ink);color:#b7c8da;font-size:.95rem;padding:28px 0}
.foot-in{display:flex;flex-wrap:wrap;gap:12px 32px;justify-content:space-between}
.foot p{margin:0}.foot nav{display:flex;gap:24px;flex-wrap:wrap}
.foot a{text-decoration-color:#4a6585;text-underline-offset:3px}.foot a:hover{color:#fff}

/* phones: simpler frames, stacked title blocks */
@media (max-width:759px){
  .sheet{margin:8px 0;border-left:0;border-right:0}
  .sheet::before{display:none}
  .tb{right:0;left:0;bottom:0;width:auto;border-left:0;border-right:0;border-bottom:0}
  .sheet{padding-bottom:140px}
  .ring{left:-10px;width:calc(100% + 20px)}
  .cta{gap:32px}
}

@media (min-width:760px){
  .wrap{padding:0 56px}
  .mast-in{height:72px}
  .sheet{margin:16px;padding-bottom:64px}
  .sheet::before{inset:6px}
  .tb{width:auto;min-width:440px;grid-template-columns:5.2rem 1fr auto}
  .tb>span+span{border-top:0;border-left:1px solid var(--ink)}
  .sec{padding:112px 0 112px}
  .grid{grid-template-columns:1fr 1fr;column-gap:56px;align-items:start}
  .who h2{max-width:14ch}
  .who .body{padding-top:.4rem}
  .faq .grid{grid-template-columns:1fr 1.6fr}
  .steps{grid-template-columns:repeat(4,1fr);gap:28px}
  .steps::before{content:"";position:absolute;top:20px;left:20px;right:20px;border-top:1px dashed var(--mute)}
  .steps li{padding:64px 0 0}
  .steps li::before{display:none}
  .row{grid-template-columns:120px 1fr 1.2fr;gap:32px;align-items:start;padding:40px 32px}
  .row h3{margin:0}
  .figs{grid-template-columns:1fr 1fr;border-top:0;gap:0}
  figure{border-top:1px solid var(--ink);padding-right:32px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}
  figure+figure{padding-left:32px;border-left:1px solid var(--rule)}
  .contact-in{grid-template-columns:1fr auto;align-items:center;gap:40px}
}
@media (min-width:1020px){
  .hero-in{grid-template-columns:minmax(0,4.6fr) minmax(0,6.6fr);gap:24px;padding-top:72px;padding-bottom:56px}
  h1{max-width:10ch;font-size:clamp(3rem,5.2vw,4.6rem)}
}

/* ===== A3 + A4 combo: dark cover sheet =====
 COVER: sheet A-01 is the navy cover of the set, same frame and title block drawn light on navy. A4's axonometric building sits on it.
 Marks on dark use the lighter pencil red --redd #ff6a55 (6.2:1 on navy). Three calm cones, no cone touches the roof.
 TURN: the cover lifts off the desk with a soft shadow that falls across the head of sheet A-02, so scrolling reads as turning a page. */
:root{--redd:#ff6a55;--line:#e6edf4}
.cover{background-color:var(--ink);color:var(--white);border-color:var(--ink);
  background-image:linear-gradient(#142a43 1px,transparent 1px),linear-gradient(90deg,#142a43 1px,transparent 1px);
  background-size:48px 48px;background-position:-1px -1px;
  box-shadow:0 18px 26px -14px rgba(11,26,44,.55)}
.cover::before{border-color:rgba(143,169,196,.5)}
.cover :focus-visible{outline-color:var(--white)}
.cover .tag{color:var(--redd)}
.cover .lede{color:#d3dde8}
.cover .btn{background:var(--paper);color:var(--ink);box-shadow:4px 4px 0 rgba(255,255,255,.16)}
.cover .btn:hover{box-shadow:6px 6px 0 rgba(255,255,255,.26)}
.cover .textlink{color:#e6edf4;border-bottom-color:#7f9bb8}
.cover .textlink:hover{color:#fff;border-color:var(--redd)}
.cover .pencil{stroke:var(--redd)}
.cover .tb{background:var(--ink);color:var(--white);border-color:var(--bp)}
.cover .tb>span+span{border-color:var(--bp)}
.cover .tb-rev{color:#b7c8da}
.cover .tb-rev i{border-color:var(--bp)}
.hero-fig{order:-1}

/* turn of the page: shadow cast by the cover onto the head of A-02 */
.who{overflow:hidden}
.who::after{content:"";position:absolute;left:0;right:0;top:0;height:34px;background:linear-gradient(rgba(11,26,44,.2),rgba(11,26,44,0));pointer-events:none}

/* axonometric drawing, light linework on navy */
.axo{width:100%;height:auto;font-family:var(--mono);overflow:visible}
.axo *{vector-effect:non-scaling-stroke}
.axo .site{fill:none;stroke:var(--bp);stroke-width:1;stroke-dasharray:6 5;opacity:.75}
.axo .gl{stroke:#1d3858;stroke-width:1;fill:none}
.axo .rail,.axo .post,.axo .gpost{stroke:#c9d6e3;stroke-width:1;fill:none}
.axo .gpost{stroke-width:1.75;stroke:var(--line)}
.axo .face{stroke:var(--line);stroke-width:1.75;stroke-linejoin:miter}
.axo .fl{fill:#13304d}
.axo .fr{fill:#0d2339}
.axo .roof{fill:#1c3c5e;stroke:var(--line);stroke-width:1.75;stroke-linejoin:miter}
.axo .thin{stroke:#8fa9c4;stroke-width:1;fill:none}
.axo .win{fill:#071420;stroke:#c9d6e3;stroke-width:1}
.axo .door{fill:#071420;stroke:var(--line);stroke-width:1.75}
.axo .step{fill:#13304d;stroke:#c9d6e3;stroke-width:1}
.axo .cone{fill:rgba(255,106,85,.18);stroke:var(--redd);stroke-width:1.1;stroke-linejoin:round;stroke-opacity:.85}
.axo .coneg{fill:none;stroke:var(--redd);stroke-width:1.5;stroke-dasharray:5 4;stroke-opacity:.8}
.axo .drop{stroke:var(--redd);stroke-width:1;stroke-dasharray:2 3;opacity:.8}
.axo .camdot{fill:var(--ink);stroke:var(--redd);stroke-width:2}
.axo .lead{stroke:var(--line);stroke-width:1;fill:none}
.axo .ldot{fill:var(--line);stroke:none}
.axo .cc{fill:var(--ink);stroke:var(--line);stroke-width:1.5}
.axo .call text{fill:#fff;font-size:22px;font-weight:500}

.axkey{list-style:none;margin:10px 0 0;padding:14px 0 0;border-top:1px solid rgba(143,169,196,.5);display:flex;flex-wrap:wrap;gap:10px 22px;font-family:var(--mono);font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;color:#d3dde8}
.axkey li{display:flex;align-items:center;gap:9px}
.axkey .kn{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line);font-size:.8125rem;line-height:1;letter-spacing:0;color:#fff}
.axkey .note{color:var(--bp);flex-basis:100%}

@media (max-width:759px){
  .cover{box-shadow:0 14px 22px -14px rgba(11,26,44,.55)}
  .hero-in{padding-top:36px}
}
@media (min-width:1020px){
  .hero-in{grid-template-columns:minmax(0,4.3fr) minmax(0,7.1fr);gap:16px}
  .hero-fig{order:0;margin-right:-24px}
  .axkey .note{flex-basis:auto;margin-left:auto}
}

/* 404 page (inline styles are blocked by the CSP in vercel.json) */
.notfound{padding-block:6rem}
