/* Scholar Scribe Consulting. White pages in the logo's navy; documents drawn as documents. */
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #102033;
  --ink-2: #3a495b;
  --ink-3: #566476;
  --navy: #0b3c74;
  --navy-2: #072b55;
  --blue: #1d64b5;
  --teal: #1d9a88;
  --red: #c42b2b;
  --green: #0f7a57;
  --mark: #fff0a3;
  --paper: #ffffff;
  --wash: #f4f6f9;
  --line: #dde3ea;
  --line-2: #c4cdd8;
  --maxw: 1200px;
  --gutter: 32px;
  --f: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --report: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --journal: "Times New Roman", Times, Georgia, serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s ease; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; }
::selection { background: #cfe3fb; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; color: #fff; }

/* type */
.h1 { font-size: clamp(2.2rem, 3.9vw, 3.4rem); line-height: 1.08; letter-spacing: -.027em; }
.h2 { font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1.15; letter-spacing: -.02em; }
.h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.01em; }
.lead { font-size: 1.17rem; line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.fine { font-size: .93rem; line-height: 1.55; color: var(--ink-3); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 6px; border: 1px solid transparent; font: 600 1rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--plain { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--plain:hover { border-color: var(--navy); color: var(--navy); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.textlink { font-weight: 600; }

/* header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); height: 80px; display: flex; align-items: center; gap: 28px; }
.nav__logo { flex: none; display: block; }
.nav__logo img { height: 48px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 0; color: var(--ink-2); font-weight: 500; font-size: .98rem; text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.menu { display: none; }

/* sections */
.section { padding: 100px 0; }
.section--wash { background: var(--wash); }
.section--rule { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split__head .lead { margin-top: 18px; }
.sticky { position: sticky; top: 120px; }
.section__lead { margin-top: 18px; max-width: 40em; }

/* hero */
.hero { padding: 60px 0 100px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 64px; align-items: center; }
.hero__copy h1 { max-width: 16ch; }
.hero__copy .lead { margin-top: 24px; max-width: 31em; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__fine { margin-top: 24px; }
.caption { margin-top: 14px; font-size: .86rem; line-height: 1.5; color: var(--ink-3); }

/* paper */
.sheet { position: relative; background: #fff; border: 1px solid #e2e6eb; border-radius: 2px; box-shadow: 0 1px 2px rgba(16, 32, 51, .05), 0 22px 44px -26px rgba(16, 32, 51, .36); }
.sheet__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 9px; margin-bottom: 18px; border-bottom: 1px solid #e3e6ea; font: 400 11.5px/1.4 var(--report); color: #6b7280; }
.sheet--report { padding: 28px 34px; font-family: var(--report); color: #1e2227; }
.sheet--report h4 { font: 700 15px/1.35 var(--report); color: #111827; margin-bottom: 10px; }
.sheet--report p { font-size: 14px; line-height: 1.62; }
.sheet--report p + p, .sheet__row + .sheet__row { margin-top: 11px; }
.sheet__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 22px; align-items: start; }
.sheet--journal { padding: 26px 32px; font-family: var(--journal); color: #1b1b1b; }
.sheet--journal .sheet__head { font-family: var(--journal); font-size: 12px; color: #555; }
.sheet--journal h4 { font: 700 15px/1.3 var(--journal); margin-bottom: 8px; color: #111; }
.sheet--journal p { font-size: 14.5px; line-height: 1.55; }
.hl { background-image: linear-gradient(var(--mark), var(--mark)); background-repeat: no-repeat; background-position: 0 55%; background-size: var(--hl, 100%) 86%; padding: 0 1px; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.err { position: relative; white-space: nowrap; }
.err::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -2px; height: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--u, 1)); }
.pmark { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1.5px solid var(--red); border-radius: 50%; font: 700 10px/1 var(--f); color: var(--red); vertical-align: 2px; }
.mnote { padding-left: 12px; border-left: 2px solid var(--red); font: 500 13px/1.45 var(--f); color: var(--red); }
.mnote .pmark { margin: 0 6px 0 0; vertical-align: 1px; }

/* issue page from an evidence pack */
.sheet--issue { padding: 24px 28px 20px; font-family: var(--f); color: var(--ink); }
.issue__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 11px; border-bottom: 2px solid var(--navy); }
.issue__brand { display: flex; align-items: center; gap: 9px; font: 600 12.5px/1.2 var(--f); color: var(--navy); }
.issue__brand img { width: 22px; height: auto; }
.issue__no { font: 500 12.5px/1.2 var(--f); color: var(--ink-3); }
.issue__title { margin-top: 14px; font: 600 16.5px/1.3 var(--f); color: var(--ink); }
.issue__kind { margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.issue__pair { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.issue__q { padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: #fbfcfd; }
.issue__q small { display: block; margin-bottom: 4px; font: 600 11.5px/1.3 var(--f); color: var(--ink-3); }
.issue__q p { font-size: 12.8px; line-height: 1.5; color: #1e2227; }
.issue__q--report p { font-family: var(--report); }
.issue__q--source p { font-family: var(--journal); font-size: 13.6px; }
.issue__sec { margin-top: 12px; }
.issue__sec h5 { margin: 0 0 2px; font: 600 12.5px/1.3 var(--f); color: var(--navy); }
.issue__sec p { font-size: 12.8px; line-height: 1.5; color: var(--ink-2); }
.issue__links { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--blue); }
.issue__links span { text-decoration: underline; text-underline-offset: .18em; }
.issue__sign { margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }

/* issue log */
.sheet--log { padding: 24px 28px 14px; font-family: var(--report); color: #1e2227; }
.sheet--log table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.sheet--log th { text-align: left; font-weight: 700; padding: 0 12px 8px 0; border-bottom: 1.5px solid #30363d; }
.sheet--log td { padding: 10px 12px 10px 0; border-bottom: 1px solid #e3e6ea; vertical-align: top; }
.sheet--log tr:last-child td { border-bottom: 0; }
.sheet--log th:first-child, .sheet--log td:first-child { width: 30px; }
.sheet--log td:last-child { color: var(--red); }
.sheet--log td:nth-child(3) { white-space: nowrap; }

/* how one issue is found */
.how { padding: 100px 0; border-top: 1px solid var(--line); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.how__intro .lead { margin-top: 18px; }
.steps { list-style: none; margin-top: 36px; }
.step { position: relative; padding: 20px 0 20px 50px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { position: absolute; left: 0; top: 20px; width: 30px; height: 30px; border: 1.5px solid var(--navy); border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 600 13px/1 var(--f); transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.step h3 { padding-top: 3px; font-size: 1.12rem; line-height: 1.35; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.desk { position: relative; }
.how:not(.is-scrolly) .d-report, .how:not(.is-scrolly) .d-source, .how:not(.is-scrolly) .d-calc { display: none; }
.calc { padding: 14px 18px; border: 1px dashed var(--line-2); border-radius: 4px; background: #fff; font: 500 15px/1.5 var(--f); color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; box-shadow: 0 14px 30px -24px rgba(16, 32, 51, .45); }
.calc__bad { color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.calc__good { color: var(--green); }

/* wide, tall screens with scripts: the steps scroll past and the desk stays in view */
.how.is-scrolly .steps { margin-top: 28px; }
.how.is-scrolly .step { min-height: 44vh; border: 0; opacity: .4; transition: opacity .4s ease; }
.how.is-scrolly .step:last-child { min-height: calc(50vh + 140px); border: 0; }
.how.is-scrolly .step.is-on { opacity: 1; }
.how.is-scrolly .step__n { background: #fff; border-color: var(--line-2); color: var(--ink-3); }
.how.is-scrolly .step.is-on .step__n { background: var(--navy); border-color: var(--navy); color: #fff; }
.how.is-scrolly .desk { position: sticky; top: max(100px, calc(50vh - 250px)); height: 500px; }
.how.is-scrolly .desk__layer { position: absolute; margin: 0; transition: opacity .55s ease, transform .65s var(--ease); }
.how.is-scrolly .d-report { left: 0; top: 0; width: 90%; }
.how.is-scrolly .d-source { right: 0; top: 196px; width: 80%; opacity: 0; transform: translateX(28px); }
.how.is-scrolly .d-calc { left: 4%; top: 386px; width: 72%; opacity: 0; transform: translateY(14px); }
.how.is-scrolly .d-issue { left: 6%; top: 0; width: 90%; opacity: 0; transform: translateY(22px); pointer-events: none; }
.how.is-scrolly .desk[data-at="2"] .d-source, .how.is-scrolly .desk[data-at="3"] .d-source { opacity: 1; transform: none; }
.how.is-scrolly .desk[data-at="3"] .d-calc { opacity: 1; transform: none; }
.how.is-scrolly .desk[data-at="4"] .d-report, .how.is-scrolly .desk[data-at="4"] .d-source, .how.is-scrolly .desk[data-at="4"] .d-calc { opacity: .22; transform: none; }
.how.is-scrolly .desk[data-at="4"] .d-issue { opacity: 1; transform: none; pointer-events: auto; }
.how.is-scrolly .desk .hl { --hl: 0%; transition: background-size .9s ease; }
.how.is-scrolly .desk:not([data-at="0"]) .d-report .hl { --hl: 100%; }
.how.is-scrolly .desk[data-at="2"] .d-source .hl, .how.is-scrolly .desk[data-at="3"] .d-source .hl, .how.is-scrolly .desk[data-at="4"] .d-source .hl { --hl: 100%; transition-delay: .45s; }
.how.is-scrolly .desk .err { --u: 0; }
.how.is-scrolly .desk[data-at="3"] .err, .how.is-scrolly .desk[data-at="4"] .err { --u: 1; }
.how.is-scrolly .desk .err::after { transition: transform .45s ease .35s; }

/* numbered list with headings */
.defs { list-style: none; }
.defs__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--line); }
.defs__item:last-child { border-bottom: 1px solid var(--line); }
.defs__n { font: 600 1rem/1.55 var(--f); color: var(--ink-3); }
.defs__item h3 { font-size: 1.12rem; line-height: 1.4; }
.defs__item p { margin-top: 4px; color: var(--ink-2); }

/* two columns of short texts */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 36px; }
.col { padding: 24px 0 26px; border-top: 1px solid var(--line); }
.col h3 { font-size: 1.15rem; line-height: 1.35; }
.col p { margin-top: 8px; color: var(--ink-2); }

/* plain lists */
.plainlist { list-style: none; counter-reset: pl; display: grid; gap: 10px; margin-top: 24px; }
.plainlist li { position: relative; padding-left: 30px; color: var(--ink-2); counter-increment: pl; }
.plainlist li::before { content: counter(pl) "."; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--navy); }
.bullets { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.bullets li { position: relative; padding-left: 22px; color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* evidence pack */
.pack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.pack__note { margin-top: 26px; }
.papers { position: relative; height: 540px; }
.papers .sheet { position: absolute; width: 80%; transition: transform 1.1s var(--ease); }
.papers .p1 { left: 0; top: 40px; transform: rotate(-3deg); }
.papers .p2 { left: 10%; top: 18px; transform: rotate(1.4deg); }
.papers .p3 { left: 20%; top: 0; transform: rotate(-.5deg); }

/* when to use it */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.use { padding: 26px 30px 6px 0; }
.use + .use { padding-left: 30px; border-left: 1px solid var(--line); }
.use small { display: block; margin-bottom: 6px; font-size: .92rem; color: var(--ink-3); }
.use h3 { font-size: 1.15rem; }
.use p { margin-top: 8px; color: var(--ink-2); }

/* tables */
.terms { width: 100%; border-collapse: collapse; }
.terms th, .terms td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms th { padding-top: 0; font: 600 .9rem/1.3 var(--f); color: var(--ink-3); border-bottom-color: var(--line-2); }
.terms td + td, .terms th + th { padding-left: 24px; }
.terms td:last-child { font-weight: 600; white-space: nowrap; }
.terms__note { margin-top: 14px; }
.numbers { width: 100%; border-collapse: collapse; }
.numbers td { padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.numbers tr:first-child td { border-top: 1px solid var(--line); }
.numbers td:first-child { width: 112px; padding-right: 16px; font: 600 1.5rem/1.2 var(--f); color: var(--navy); white-space: nowrap; }
.numbers td:last-child { color: var(--ink-2); }

/* person */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.person__card { padding: 28px 30px 26px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.person__card img { width: 52px; }
.person__name { margin-top: 18px; font: 600 1.28rem/1.25 var(--f); }
.person__role { margin-top: 4px; color: var(--ink-3); }
.cred { margin-top: 20px; display: grid; gap: 12px; }
.cred div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.cred dt { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.cred dd { font-size: .98rem; color: var(--ink); }
.letter h2 { margin-bottom: 22px; }
.letter p { font-size: 1.14rem; line-height: 1.7; color: var(--ink); max-width: 34em; }
.letter p + p { margin-top: 1em; }
.letter .letter__sign { margin-top: 24px; font-size: 1rem; font-weight: 600; }
.letter .letter__more { margin-top: 18px; font-size: 1rem; }

/* two services */
.svcs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--line); }
.svc { padding: 28px 40px 6px 0; }
.svc + .svc { padding-left: 40px; border-left: 1px solid var(--line); }
.svc h3 { font-size: 1.3rem; }
.svc p { margin-top: 10px; color: var(--ink-2); }
.svc__link { display: inline-block; margin-top: 20px; font-weight: 600; }

/* contact block */
.contact { padding: 92px 0; background: var(--wash); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.contact__grid .lead { margin-top: 16px; }
.contact__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.reach { border-top: 1px solid var(--line-2); }
.reach__row { padding: 13px 0 14px; border-bottom: 1px solid var(--line-2); }
.reach__row small { display: block; margin-bottom: 3px; font-size: .86rem; font-weight: 600; color: var(--ink-3); }
.reach__row a { font-weight: 600; text-decoration: none; }
.reach__row a:hover { text-decoration: underline; }
.reach__row .fine { display: block; }
.reach__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.copy-btn { min-height: 32px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; color: var(--ink-2); font: 500 .85rem/1 var(--f); cursor: pointer; }
.copy-btn:hover { border-color: var(--navy); color: var(--navy); }

/* inner page heads */
.page-head { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-top: 22px; max-width: 36em; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.page-head__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }

/* PRISMA flow */
.figure { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 24px 24px 16px; }
.flow svg { width: 100%; height: auto; display: block; }
.flow .box { fill: #fff; stroke: var(--navy); stroke-width: 1.4; }
.flow .box--end { fill: var(--navy); }
.flow .side { fill: var(--wash); stroke: var(--line-2); stroke-width: 1.2; }
.flow text { font: 500 17px var(--f); fill: var(--ink); }
.flow .t-end { fill: #fff; font-weight: 600; }
.flow .side-t { font-size: 13.5px; fill: var(--ink-2); }
.flow .arrow { fill: none; stroke: #8a97a7; stroke-width: 1.5; }

/* prose pages */
.prose { max-width: 42em; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 10px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 1em; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 44px; width: auto; }
.footer__line { margin-top: 14px; max-width: 30em; color: var(--ink-2); font-size: .97rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding-top: 10px; }
.footer__links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .9rem; color: var(--ink-3); }
.footer__bottom a { color: var(--ink-3); white-space: nowrap; }

/* motion: only with scripts, never for reduced motion, and everything shows if scripts fail */
.rv { transition: opacity .7s ease, transform .7s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js:not(.reveal-all) .pre { opacity: 0; }
  .js:not(.reveal-all) .rv:not(.is-in) { opacity: 0; transform: translateY(14px); }
  .js:not(.reveal-all) .papers:not(.is-in) .p1 { transform: translate(25%, -40px) rotate(-.5deg); }
  .js:not(.reveal-all) .papers:not(.is-in) .p2 { transform: translate(12.5%, -18px) rotate(-.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .papers .sheet, .how *, .how *::after { transition: none !important; }
}

/* wide screens: a wider page, and everything scaled up a little so the sides do not sit empty */
@media (min-width: 1500px) { :root { --maxw: 1280px; } body { zoom: 1.06; } }
@media (min-width: 1680px) { :root { --maxw: 1320px; } body { zoom: 1.12; } }
@media (min-width: 1900px) { body { zoom: 1.18; } }
@media (min-width: 2400px) { body { zoom: 1.32; } }

/* desktop without the scrolling desk: keep the finished issue page in view beside the steps */
@media (min-width: 1024px) {
  .how:not(.is-scrolly) .desk { position: sticky; top: 112px; }
}

/* tablet */
@media (max-width: 1180px) {
  .sheet__row { grid-template-columns: minmax(0, 1fr) 132px; gap: 18px; }
}
@media (max-width: 1080px) {
  :root { --gutter: 28px; }
  .nav__links { gap: 22px; }
  .hero__grid, .split, .how__grid, .pack, .person, .contact__grid, .page-head__grid { gap: 48px; }
}
@media (max-width: 1023px) {
  .hero__grid, .page-head__grid { grid-template-columns: 1fr; }
  .hero__copy h1 { max-width: 18ch; }
  .hero__doc, .page-head__fig { max-width: 640px; }
  .split, .how__grid, .pack, .person, .contact__grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .desk { max-width: 640px; }
  .papers { height: 600px; max-width: 640px; }
  .uses { grid-template-columns: 1fr; }
  .use, .use + .use { padding: 22px 0; border-left: 0; }
  .use + .use { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .menu { position: fixed; top: 80px; left: 0; right: 0; z-index: 55; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(16, 32, 51, .4); padding: 6px var(--gutter) 22px; }
  .menu.is-open { display: block; }
  .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.08rem; text-decoration: none; }
  .menu a[aria-current="page"] { color: var(--navy); }
  .menu .btn { display: flex; margin-top: 18px; border-bottom: 0; color: #fff; }
  .svcs, .cols2 { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 26px 0; border-left: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }
}

/* phone */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  html { scroll-padding-top: 84px; }
  .nav { height: 68px; gap: 16px; }
  .nav__logo img { height: 40px; }
  .menu { top: 68px; max-height: calc(100vh - 68px); }
  .hero { padding: 32px 0 72px; }
  .hero__copy .lead { margin-top: 18px; }
  .hero__actions .btn { width: 100%; }
  .section, .how { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .page-head { padding: 40px 0 48px; }
  .sheet--report, .sheet--journal { padding: 20px 18px; }
  .sheet--issue { padding: 18px 16px 14px; }
  .sheet--log { padding: 18px 14px 10px; }
  .sheet--log table { font-size: 12px; }
  .sheet__row { grid-template-columns: 1fr; gap: 10px; }
  .issue__pair { grid-template-columns: 1fr; }
  .papers { height: auto; }
  .papers .sheet { position: relative; width: 100%; left: 0; top: 0; transform: none !important; }
  .papers .p1, .papers .p2 { display: none; }
  .cred div { grid-template-columns: 1fr; gap: 2px; }
  .numbers td:first-child { width: 92px; font-size: 1.3rem; }
  .terms td:last-child { white-space: normal; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 360px) {
  .reach__row a { overflow-wrap: anywhere; }
}
