:root {
	--paper: #f6f4ee;
	--paper-2: #edeae1;
	--ink: #2b2b2b;
	--ink-2: #6f6c64;
	--ink-3: #a9a69d;
	--line: rgba(43, 43, 43, .12);
	--accent: #2b2b2b;
	--y1: #fdb515;
	--y2: #ffe11f;
	--grad: linear-gradient(90deg, var(--y1), var(--y2));
	--accent-2: #fdb515;
	--accent-soft: #fff4cc;
	--ok: #2f7d4f;
	--err: #b3261e;
	--serif: "Poppins", system-ui, sans-serif;
	--sans: "DM Sans", system-ui, sans-serif;
	--r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--y1); outline-offset: 2px; }

/* boot + gate */
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; }
.boot .bbmark { width: 46px; height: 68px; }
.boot .line { height: 3px; width: 0; border-radius: 3px; background: var(--grad); animation: line 1.2s ease forwards; }
@keyframes line { to { width: 180px; } }
.gate { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.gate-box { max-width: 460px; text-align: center; padding: 60px 20px; margin: auto; }
.gate-box h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: -.02em; margin: 12px 0; }
.gate-box p { color: var(--ink-2); }
.gate-mark { width: 40px; height: 60px; margin-bottom: 18px; }
.gate-box .eyebrow { justify-content: center; }
.noscript { padding: 40px; text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 44px); background: rgba(246, 244, 238, .92); backdrop-filter: blur(10px); }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand .bbmark { width: 22px; height: 33px; flex: none; }
.bbmark .mark__b { fill: var(--ink); }
.brand .bt { display: grid; }
.brand .word { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.brand .word b { font-weight: 600; }
.brand .by { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; font-family: var(--serif); font-weight: 500; }
.topright { display: flex; align-items: center; gap: 18px; font-size: 12.5px; }
.status { color: var(--ink-3); }
.status.err { color: var(--err); }
.pct { font-family: var(--serif); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; background: #fff; border-radius: 99px; padding: 7px 14px; box-shadow: 0 0 0 1px var(--line); }
.progress { position: sticky; top: 66px; z-index: 9; height: 3px; background: var(--line); }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s ease; }

/* layout */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); max-width: 1180px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 44px) 120px; }
.nav { position: sticky; top: 100px; align-self: start; }
.navselect { display: none; }
.navlist { display: grid; gap: 2px; }
.navlist a { display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; gap: 8px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 14px; transition: background .2s, color .2s; }
.navlist a:hover { background: var(--paper-2); color: var(--ink); }
.navlist a.on { background: var(--ink); color: var(--paper); }
.navlist .nn { font-family: var(--serif); font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.navlist a.on .nn, .navlist a.on .ns { color: var(--y2); }
.navlist .ns { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.navlist a.complete .ns { color: var(--ok); font-weight: 600; }
.navlist .review { margin-top: 10px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; }
.main { outline: none; min-width: 0; }

/* welcome */
.welcome { padding: 4vh 0 0; max-width: 680px; }
.eyebrow { font-family: var(--serif); font-weight: 500; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px rgba(253, 181, 21, .18); flex: none; }
.secn { font-family: var(--serif); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--ink); }
.secn::after { content: "/"; margin-left: 12px; color: var(--ink-3); }
.welcome h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.hl { position: relative; z-index: 0; white-space: nowrap; font-style: normal; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .2em; background: var(--grad); z-index: -1; border-radius: 2px; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); margin: 26px 0 30px; max-width: 560px; }
.how { list-style: none; display: grid; gap: 14px; margin-bottom: 38px; border-left: 3px solid var(--y1); padding-left: 22px; }
.how li { color: var(--ink-2); font-size: 15.5px; }
.how b { color: var(--ink); font-weight: 600; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.time { color: var(--ink-3); font-size: 13.5px; }

/* sections */
.sec h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.03em; }
.intro { color: var(--ink-2); font-size: 16.5px; max-width: 640px; margin: 18px 0 40px; }
.qs { display: grid; gap: 34px; }
.q { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.q.bare { border: 0; }
.qhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.qtext { font-size: 17.5px; font-weight: 500; line-height: 1.4; display: block; max-width: 640px; }
.qn { font-family: var(--serif); color: var(--ink-3); font-size: 13px; margin-right: 10px; font-weight: 600; }
.star { flex: none; font-family: var(--serif); font-weight: 600; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--accent-soft); border-radius: 99px; padding: 4px 10px; font-style: normal; }
.hint { color: var(--ink-3); font-size: 13.5px; margin: -4px 0 12px; max-width: 640px; }
.files .hint { margin: 10px 0 0; }

.field { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 13px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field:hover { border-color: rgba(43, 43, 43, .3); }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(253, 181, 21, .28); }
.field.long { resize: vertical; min-height: 92px; line-height: 1.55; }
.field.other { margin-top: 12px; }

/* choice chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 17px; font-size: 14.5px; cursor: pointer; transition: all .18s; text-align: left; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"]::before { content: "\2713  "; color: var(--y2); }

/* uploads */
.drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 30px 20px; border: 1.5px dashed rgba(43, 43, 43, .25); border-radius: var(--r); background: #fff; cursor: pointer; transition: all .2s; }
.drop:hover, .drop.over { border-color: var(--y1); background: var(--accent-soft); }
.drop-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--ink); font-size: 18px; font-weight: 700; }
.drop-main { font-weight: 500; }
.drop-sub { font-size: 12.5px; color: var(--ink-3); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs:empty { display: none; }
.thumb { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.thumb .media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .ext { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink-2); letter-spacing: .06em; }
.thumb figcaption { padding: 8px 10px; display: grid; font-size: 12px; }
.thumb .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb .sz { color: var(--ink-3); }
.thumb .x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(42, 34, 29, .75); color: #fff; cursor: pointer; font-size: 17px; line-height: 1; }
.thumb .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); transition: width .2s; }
.thumb.bad .sz { color: var(--err); white-space: normal; }

/* features matrix */
.matrix { display: grid; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mrow:last-child { border-bottom: 0; }
.mlabel { font-size: 15.5px; }
.segs { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: #fff; flex: none; }
.seg { border: 0; background: none; padding: 7px 15px; border-radius: 99px; font-size: 13.5px; cursor: pointer; color: var(--ink-2); }
.seg[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* checklist */
.checks { display: grid; gap: 4px; }
.check { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; font-size: 15.5px; position: relative; }
.check input { position: absolute; opacity: 0; }
.check .box { width: 22px; height: 22px; border: 1.5px solid rgba(43, 43, 43, .35); border-radius: 6px; display: grid; place-items: center; background: #fff; transition: all .15s; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box::after { content: "\2713"; color: var(--y2); font-size: 14px; }
.check input:focus-visible + .box { outline: 3px solid var(--y1); outline-offset: 2px; }
.check .star { margin-left: 8px; font-size: 9.5px; padding: 2px 7px; }

/* projects */
.projects { display: grid; gap: 12px; }
.count { color: var(--ink-3); font-size: 14px; margin-bottom: 4px; }
.project { border-top: 1px solid var(--line); }
.project:last-of-type { border-bottom: 1px solid var(--line); }
.project summary { list-style: none; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 20px 4px; cursor: pointer; }
.project summary::-webkit-details-marker { display: none; }
.pnum { font-family: var(--serif); font-weight: 600; color: var(--ink-3); font-size: 16px; }
.phead { display: grid; }
.ptitle { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.pmeta { color: var(--ink-3); font-size: 13px; }
.chev::before { content: "+"; font-size: 22px; color: var(--ink-2); }
.project[open] .chev::before { content: "\2212"; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; padding: 6px 4px 22px 60px; }
.pf.wide { grid-column: 1 / -1; }
.plabel { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.pfoot { padding: 0 4px 22px 60px; }
.add { justify-self: start; margin-top: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; padding: 14px 24px; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: all .2s; text-decoration: none; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary { font-family: var(--serif); font-weight: 500; }
.btn.primary:hover { background: #000; box-shadow: inset 0 -3px 0 var(--y1); }
.btn.primary:disabled { opacity: .5; cursor: wait; }
.btn.ghost { border-color: var(--line); background: #fff; font-family: var(--serif); font-weight: 500; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.text { padding: 6px 0; background: none; border: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; }
.btn.danger:hover { color: var(--err); }
.secnav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; }

/* review */
.review h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin: 6px 0 14px; }
.missing { list-style: none; display: grid; gap: 2px; }
.missing a { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.missing a:hover { background: var(--accent-soft); }
.ms { color: var(--ink-3); font-size: 13px; }
.allgood { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ok); }

/* mobile */
@media (max-width: 880px) {
	.layout { grid-template-columns: 1fr; padding-top: 16px; }
	.nav { position: static; }
	.navlist { display: none; }
	.navselect { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 15px; }
	.status { display: none; }
	.pgrid { grid-template-columns: 1fr; padding-left: 4px; }
	.pfoot { padding-left: 4px; }
	.mrow { flex-direction: column; align-items: flex-start; gap: 8px; }
	.missing a { grid-template-columns: 1fr; gap: 2px; }
	.qhead { flex-direction: column; gap: 6px; }
	.secnav .btn { width: 100%; justify-content: center; }
	.progress { top: 64px; }
	.brand .by { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
