/* Bow and Transom (marinamagazine.org) v1.0: "sign-painter's proof" design system. Own front end; no shared kit CSS. */
@font-face { font-family: "Mulish"; src: url("fonts/mulish-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/oswald-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --paper: #f4efe4; --paper-2: #ebe3d1; --card: #fffdf8; --ink: #161a1d; --ink-2: #444c53; --rule: #cdbf9f;
  --slate: #1b3140; --slate-2: #24465a; --sea: #2c5a70; --gold: #9c7322; --gold-hi: #d8b15c; --gold-soft: #f1e3bf;
  --red: #9e2229; --green: #23603f; --amber: #7d5200;
  --f-disp: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-label: "Oswald", "Arial Narrow", Arial, sans-serif;
  --f-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w: 1220px; --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); }
img, svg { max-width: 100%; }
a { color: var(--slate-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-disp); font-weight: 400; line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 780px; }
.eyebrow { font: 500 .8rem/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 46rem; }
.note, .hint { color: var(--ink-2); font-size: .95rem; }
.hint { font-size: .88rem; margin: .35rem 0 0; }

.art-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* masthead */
.mast { background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 3px 0 -1px var(--paper), 0 4px 0 -1px var(--gold); position: relative; z-index: 2; }
.mast-in { max-width: var(--w); margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: none; stroke: var(--gold-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 400 1.55rem/1 var(--f-disp); }
.brand-desk { font: 500 .68rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav a { display: block; padding: .55rem .8rem; font: 500 .9rem/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-file a { border: 1px solid var(--ink); border-radius: 999px; margin-left: .5rem; padding: .5rem 1rem; }
.nav-file a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .7rem 1.35rem; border-radius: var(--r); border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn-gold { background: var(--gold-hi); color: var(--ink); border-color: var(--gold-hi); }
.btn-gold:hover { background: #e6c578; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--slate-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--ink-2); border-color: var(--rule); min-height: 40px; padding: .55rem 1rem; font-size: .82rem; }
.btn-danger { background: var(--red); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0; }
.pill { display: inline-block; font: 600 .72rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--gold-hi); padding: .35rem .6rem; border-radius: 999px; vertical-align: middle; }

/* hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-bottom: 1px solid var(--rule); }
.hero-in { max-width: var(--w); margin: 0 auto; padding: 4.5rem 1.5rem 4rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; }
.hero-fine { font-size: .98rem; color: var(--ink-2); }
.hero-proof { margin: 0; }

/* the drafting board (proof card) */
.board { background: var(--card); border: 1px solid var(--ink); border-radius: var(--r); box-shadow: 10px 10px 0 -2px var(--gold-soft), 10px 10px 0 -1px var(--rule); overflow: hidden; }
.board-head { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; background: var(--ink); color: var(--paper); font: 500 .78rem/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.board-head span:last-child { color: var(--gold-hi); text-align: right; }
.board .proof-svg { display: block; width: 100%; height: auto; background-image: linear-gradient(var(--paper-2) 1px, transparent 1px), linear-gradient(90deg, var(--paper-2) 1px, transparent 1px); background-size: 24px 24px; }
.board-foot { padding: .65rem 1rem; border-top: 1px solid var(--rule); font: 400 .82rem/1.4 var(--f-label); letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; }
.pf-sky { fill: #eef1ef; }
.pf-water { fill: var(--sea); }
.pf-hull { stroke: var(--ink); }
.pf-rub { fill: none; stroke: #8c8c8c; }
.pf-mid { stroke: var(--gold); }
.pf-label { fill: #fff; font-family: var(--f-label); letter-spacing: .1em; }
.pf-dim line { stroke: var(--red); }
.pf-dim text { fill: var(--red); font-family: var(--f-label); }

/* sections */
.sec-head { max-width: 44rem; margin-bottom: 2rem; }
.rules { padding: 5rem 0 4rem; }
table.spec { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--ink); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 1rem 1.1rem; border-bottom: 1px solid var(--rule); }
.spec thead th { font: 500 .78rem/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.spec tbody th { font: 400 1.2rem/1.2 var(--f-disp); width: 17%; }
.spec td:last-child { font: 500 .85rem/1.4 var(--f-label); letter-spacing: .04em; color: var(--gold); white-space: nowrap; }
.rules .note { margin-top: 1rem; }

.flow { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.flow-item { padding: 0 2rem; border-left: 1px solid var(--rule); }
.flow-item:first-child { border-left: 0; padding-left: 0; }
.flow-art { width: 120px; height: 70px; display: block; margin-bottom: 1rem; }
.fa-hull { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.5; }
.fa-ink { fill: none; stroke: var(--slate-2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fa-dim { stroke: var(--red); stroke-width: 1.5; }
.fa-sheet { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.fa-cut { stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 3 3; }
.fa-blade { fill: var(--gold-hi); stroke: var(--ink); stroke-width: 1.2; }

.plans-band { background: var(--slate); color: #e9e4d8; padding: 5rem 0; }
.on-dark h2 { color: #fff; }
.on-dark .eyebrow { color: var(--gold-hi); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan { background: var(--card); color: var(--ink); border-radius: var(--r); padding: 1.8rem 1.6rem; border-top: 5px solid var(--rule); }
.plan-key { border-top-color: var(--gold-hi); box-shadow: 0 0 0 2px var(--gold-hi) inset; }
.plan h3 { font-family: var(--f-label); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; }
.plan-price { font-size: .95rem; color: var(--ink-2); }
.plan-price .big { font: 400 2.8rem/1 var(--f-disp); color: var(--ink); margin-right: .2rem; }
.plan-price .or { display: block; margin-top: .3rem; }
.plan ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.plan li { padding: .5rem 0 .5rem 1.4rem; border-top: 1px solid var(--paper-2); position: relative; font-size: .97rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .7rem; height: 2px; background: var(--gold); }
.plans-note { margin-top: 1.5rem; max-width: 52rem; font-size: .95rem; }
.plans-band .plans-note { color: #d9d3c4; }

.toc { padding: 5rem 0; }
.toc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: g; }
.toc-list li { border-bottom: 1px solid var(--rule); counter-increment: g; }
.toc-list a { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1.15rem 0; text-decoration: none; color: var(--ink); }
.toc-list a::before { content: "§" counter(g); font: 500 .95rem/1 var(--f-label); color: var(--gold); letter-spacing: .06em; }
.toc-t { font: 400 1.35rem/1.2 var(--f-disp); }
.toc-d { color: var(--ink-2); }
.toc-list a:hover .toc-t { color: var(--gold); }

/* inner pages */
.page-head { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; background: var(--paper-2); }
.page-head.dark { background: var(--slate); color: #f0ebdf; border-bottom: 0; }
.page-head.dark .lede { color: #d6d0c1; }
.page-head.dark .eyebrow { color: var(--gold-hi); }
main > .wrap:last-child, main > div:last-child { padding-bottom: 4.5rem; }
label { display: block; font: 500 .82rem/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; margin: 1rem 0 .4rem; color: var(--ink); }
label.check { display: flex; gap: .6rem; align-items: flex-start; font: 400 .95rem/1.4 var(--f-body); letter-spacing: 0; text-transform: none; }
label.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--slate-2); }
input:not([type]), input[type="number"], input[type="text"], select, textarea { width: 100%; min-height: 46px; padding: .6rem .8rem; font: 500 1.05rem/1.3 var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid #9c9280; border-radius: var(--r); }
textarea { font-family: var(--f-label); letter-spacing: .06em; min-height: 12rem; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid var(--gold-hi); outline-offset: 0; }
input[type="color"] { width: 100%; height: 46px; padding: 3px; border: 1.5px solid #9c9280; border-radius: var(--r); background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inline { display: flex; gap: .6rem; }
.inline input { flex: 1; min-width: 0; }
.stack { max-width: 34rem; }
.stack .btn { margin-top: 1.2rem; }

/* studio */
.studio { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; }
.studio-form fieldset { border: 0; border-top: 2px solid var(--ink); margin: 0 0 1.6rem; padding: .4rem 0 0; }
.studio-form legend { font: 400 1.4rem/1.2 var(--f-disp); padding: .6rem .6rem 0 0; display: flex; align-items: center; gap: .6rem; }
.lg-n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; background: var(--ink); color: var(--gold-hi); font: 600 .9rem/1 var(--f-label); border-radius: 2px; }
.studio-out { position: sticky; top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.chip { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #8c8270; cursor: pointer; padding: 0; }
.chip.is-on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.sw-111111 { background: #111111; } .sw-ffffff { background: #ffffff; } .sw-c9a14a { background: #c9a14a; } .sw-1f3a5f { background: #1f3a5f; } .sw-b3262e { background: #b3262e; }
.sw-2f6f4f { background: #2f6f4f; } .sw-8a9199 { background: #8a9199; } .sw-f2e6c9 { background: #f2e6c9; } .sw-4a90c2 { background: #4a90c2; } .sw-6b3e1f { background: #6b3e1f; }
.sizes { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.sizes div { flex: 1 1 33%; padding: .7rem 1rem; border-left: 1px solid var(--rule); }
.sizes div:first-child { border-left: 0; }
.sizes dt { font: 500 .72rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.sizes dd { margin: .3rem 0 0; font: 400 1.25rem/1.1 var(--f-disp); }
.checks { list-style: none; margin: 1.4rem 0; padding: 0; border-top: 1px solid var(--ink); }
.ck { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: .97rem; }
.ck-s { font: 600 .72rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; padding: .35rem .45rem; border-radius: 2px; text-align: center; color: #fff; }
.ck-pass .ck-s { background: var(--green); }
.ck-fail .ck-s { background: var(--red); }
.ck-warn .ck-s { background: var(--amber); }
.ck-info .ck-s { background: var(--ink-2); }
.ck-c { font: 500 .78rem/1.3 var(--f-label); letter-spacing: .04em; color: var(--gold); white-space: nowrap; }
.outputs { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.2rem; }
.out-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.save-box { margin-top: 1.2rem; padding: 1.2rem; border: 1px dashed var(--ink-2); border-radius: var(--r); }
.save-form label { margin-top: 0; }
.flash { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: .8rem 1rem; }
.warnbox { background: #f7e4e2; border-left: 4px solid var(--red); padding: .8rem 1rem; }

/* price tag (point of use) */
.tag { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: 0; padding: .65rem 1.1rem .65rem 2.4rem; background: var(--gold-soft);
  border: 1px solid var(--gold); border-radius: 3px 999px 999px 3px; font-size: .92rem; }
.tag-hole { position: absolute; left: .85rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.35rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); }
.tag-plan { font: 600 .78rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.tag-price { font-weight: 700; }
.tag-note { color: var(--ink-2); }
.page-head .tag, .wrap > .tag { margin: .5rem 0 1rem; }

/* number check */
.two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
.numform input { font: 500 1.6rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.verdict { margin-top: 1.8rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--ink); border-left-width: 8px; border-radius: var(--r); }
.v-ok { border-left-color: var(--green); }
.v-no { border-left-color: var(--red); }
.v-head { font: 600 .82rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.v-ok .v-head { color: var(--green); }
.v-no .v-head { color: var(--red); }
.v-num { font: 600 clamp(2rem, 6vw, 3.4rem)/1 var(--f-label); letter-spacing: .14em; margin: .4rem 0 1rem; }
.v-note { border-left: 3px solid var(--amber); padding-left: .8rem; color: var(--amber); }
.side { background: var(--card); border: 1px solid var(--rule); padding: 1.4rem; border-radius: var(--r); }
.side-h { font: 500 .82rem/1.3 var(--f-label); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
table.mini { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mini th, .mini td { text-align: left; padding: .45rem .4rem; border-bottom: 1px solid var(--paper-2); }
.mini th { font: 500 .72rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* dealer */
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.desk-card { background: var(--card); border: 1px solid var(--ink); border-radius: var(--r); padding: 1.8rem; }
.tablewrap { overflow-x: auto; }
.batch td:nth-child(2) { font: 600 .8rem/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.batch td:last-child { font: 400 .9rem/1.4 var(--f-body); color: var(--ink-2); white-space: normal; letter-spacing: 0; }
.t-ok { color: var(--green); }
.t-no { color: var(--red); }
.count { font: 500 1rem/1.2 var(--f-label); letter-spacing: .06em; margin-top: 2rem; }

/* sheets */
.sheets { padding: 0 1.5rem 3rem; max-width: var(--w); margin: 0 auto; }
.sheet-page { margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--rule); }
svg.tile { display: block; width: 100%; height: auto; }
.tile-edge { fill: none; stroke: #9a9a9a; stroke-width: 1; stroke-dasharray: 6 6; }
.tile-label { font: 400 16px var(--f-label); fill: #333; letter-spacing: .04em; }
.tile-head { font: 600 26px var(--f-label); fill: #111; }
.test-sq { fill: none; stroke: #000; stroke-width: 1; }
.sheet-sum { padding-left: 1.2rem; }

/* guides + prose */
.guide { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 3rem; align-items: start; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8rem; }
.prose li { margin-bottom: .55rem; }
.sources { margin-top: 2.5rem; padding: 1.3rem 1.4rem; background: var(--card); border-top: 3px solid var(--ink); font-size: .92rem; }
.sources h2 { font: 500 .82rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; }
.guide-nav { position: sticky; top: 1rem; background: var(--card); border: 1px solid var(--rule); padding: 1.3rem; border-radius: var(--r); }
.guide-nav ol { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.guide-nav li { margin-bottom: .5rem; }
.guide-nav a[aria-current="page"] { font-weight: 800; color: var(--ink); text-decoration: none; }
.faq { max-width: 50rem; margin-top: 3rem; }
.faq h3 { font-size: 1.25rem; margin-top: 1.6rem; }

/* file */
.keybox { background: var(--card); border: 1px solid var(--ink); padding: 1.2rem; border-radius: var(--r); margin-bottom: 2rem; }
.keybox label { margin-top: 0; }
.keybox input { font: 400 .9rem/1.3 ui-monospace, Menlo, Consolas, monospace; }
.layouts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.lay { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.lay-t { font: 400 1.3rem/1.2 var(--f-disp); margin: 0; }
.lay-d { margin: .3rem 0 0; color: var(--ink-2); font-size: .92rem; }
.lay-act { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.lay-act form { margin: 0; }
.file-foot { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; }
.file-foot form { margin: 0; }
.two-act { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.act-card { background: var(--card); border: 1px solid var(--ink); border-radius: var(--r); padding: 1.6rem; }
.empty { font-size: 1.1rem; }

/* footer */
.foot { background: var(--ink); color: #cfc8b8; padding: 3.5rem 0 2.5rem; font-size: .93rem; }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 2rem 3rem; }
.foot a { color: #f1ead9; }
.foot a:hover { color: var(--gold-hi); }
.foot-name { font: 400 1.6rem/1 var(--f-disp); color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: .45rem; }
.foot-h { font: 500 .72rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: .8rem !important; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid #3a3f44; padding-top: 1.4rem; font-size: .85rem; color: #aaa394; }
.foot-power { grid-column: 1 / -1; margin: 0; font: 500 .8rem/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }

/* responsive */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 3rem; gap: 2.5rem; }
  .studio { grid-template-columns: 1fr; }
  .studio-out { position: static; }
  .guide { grid-template-columns: 1fr; }
  .guide-nav { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .mast-in { flex-direction: column; align-items: stretch; gap: .6rem; padding: .8rem 1rem .4rem; }
  .nav ul { flex-wrap: wrap; gap: 0 .1rem; padding-bottom: .3rem; }
  .nav a { padding: .55rem .5rem; font-size: .82rem; }
  .nav-file a { margin-left: 0; padding: .45rem .8rem; }
  .wrap, .sheets { padding: 0 1rem; }
  .hero-in { padding: 2.2rem 1rem 2.5rem; }
  .board-head { flex-direction: column; gap: .2rem; }
  .board-head span:last-child { text-align: left; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; }
  .spec thead { display: none; }
  .spec tr { border-bottom: 1px solid var(--ink); padding: .4rem 0; }
  .spec th, .spec td { border: 0; padding: .3rem 1rem; width: auto !important; }
  .spec td:last-child { white-space: normal; }
  .batch tr { display: grid; }
  .flow-grid, .plans, .desk-grid, .two, .two-act { grid-template-columns: 1fr; }
  .flow-item { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--rule); }
  .flow-item:first-child { border-top: 0; }
  .toc-list a { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .toc-d { grid-column: 2; }
  .ck { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .ck-c { grid-column: 2; white-space: normal; }
  .row2 { gap: .7rem; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .inline { flex-wrap: wrap; }
  .tag { border-radius: 3px 24px 24px 3px; }
}

/* print: the sheets only, at true size */
@page { size: letter landscape; margin: 0.5in; }
@media print {
  body { background: #fff; }
  .mast, .foot, .no-print, .skip { display: none !important; }
  .sheets { padding: 0; max-width: none; }
  .sheet-page { border: 0; margin: 0; break-after: page; page-break-after: always; }
  .sheet-page:last-child { break-after: auto; page-break-after: auto; }
  svg.tile { width: 10in; height: 7.5in; }
}
.pf-dark { fill: var(--ink); }
.detail { border-top: 1px solid var(--rule); padding: .9rem 1rem; background: var(--paper); }
.detail-svg { display: block; width: 100%; max-height: 220px; height: auto; border: 1px solid var(--rule); }

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the footer, on the public pages only (the controllers opt in). The label
   and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill, the label, the space
   and its margin go with it; the wrapper keeps only the page gutter. Pages already end with 4.5-5rem of padding, so the slot
   adds space only below itself. 110px = 16px label + 4px gap + 90px banner; 270px on phones (300x250). Label in the Oswald
   caps of the site's other labels, --ink-2 on paper (8:1). display stays in this file and is never !important: tag.js hides
   a slot with style.display='none'. */
.ae-slot { max-width: var(--w); margin: 0 auto; padding: 0 1.5rem; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 0 auto 3.5rem; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 500 11px/16px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; margin-bottom: 2.5rem; } }
@media print { .ae-slot { display: none; } }
