/* Proof of Revenue: one printed issue. Paper, ink, verified green, overdue red. */
:root {
  --paper: #e6e2d6;
  --paper-2: #ded9cb;
  --ink: #131210;
  --ink-2: #4a4740;
  --dim: #7a766c;
  --rule: #1a1916;
  --green: #1d6a3b;
  --green-ink: #175a32;
  --red: #b3301c;
  --band-shadow: #0b2e1e;
  --band-light: #d9dfcf;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --italic: "Playfair Display", "EB Garamond", serif;
  --gutter: clamp(16px, 3vw, 56px);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  background: var(--paper) url("/art/web/grain.png") repeat;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
b, strong { font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.dim { color: var(--dim); }
.mono { font-family: var(--display); font-weight: 500; font-size: 0.86em; letter-spacing: 0.01em; }
.cap { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.green { color: var(--green); }
.red { color: var(--red); }
.issue { max-width: 1920px; margin: 0 auto; padding: 0 0 clamp(48px, 8vw, 120px); }

/* ---- cover ------------------------------------------------------------------------------------------- */
.cover { padding: clamp(14px, 2vw, 36px) var(--gutter) 0; }
.masthead {
  font-family: var(--display); font-weight: 900; letter-spacing: -0.045em; line-height: 1;
  margin: 0; white-space: nowrap; color: var(--ink);
  font-size: 100px; /* fitted by script to the full width */
  visibility: hidden;
}
.masthead.fit { visibility: visible; }
.masthead span { display: inline-block; padding: 0.08em 0.01em 0.14em 0; }
.band {
  position: relative; margin-top: clamp(12px, 1.6vw, 24px);
  background: var(--band-shadow);
  aspect-ratio: 1376 / 768;
  overflow: hidden;
}
.band .photo { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) contrast(1.08); mix-blend-mode: screen; z-index: 1; }
.band .tint { z-index: 2; }
.band .grain { z-index: 3; }
.band .caption { z-index: 4; }
.band .tint { position: absolute; inset: 0; background: var(--band-light); mix-blend-mode: multiply; }
.band .grain { position: absolute; inset: 0; background: url("/art/web/grain.png") repeat; opacity: 0.9; mix-blend-mode: multiply; pointer-events: none; }
.band .caption {
  position: absolute; left: clamp(10px, 1.6vw, 26px); bottom: clamp(8px, 1.4vw, 22px); right: clamp(10px, 1.6vw, 26px);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--display); font-weight: 500; font-size: clamp(11px, 0.9vw, 14px); letter-spacing: 0.08em; text-transform: uppercase; color: #eef1e7;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

/* the label strip: registrant number, barcode, buy, chart, X */
.strip {
  margin-top: clamp(10px, 1.4vw, 22px);
  display: grid; grid-template-columns: auto minmax(220px, 1fr) auto auto auto; align-items: stretch; gap: 0;
  border: 2px solid var(--rule);
}
.strip > * { border-right: 2px solid var(--rule); display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 84px; }
.strip > :last-child { border-right: 0; }
.strip .sealbox { padding: 6px 12px; }
.strip .sealbox img { width: 66px; height: 66px; }
.strip .reg { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 0; }
.strip .reg .cap { margin: 0; }
.strip .reg .ca { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; }
.strip .reg code { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.01em; word-break: break-all; user-select: all; line-height: 1.25; border: 2px solid var(--rule); padding: 10px 12px; min-height: 48px; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.strip .reg code.empty { color: var(--dim); user-select: none; font-style: normal; }
.copy {
  font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--rule); background: transparent; padding: 0 12px; min-height: 48px; min-width: 76px; white-space: nowrap;
  transition: transform 80ms ease;
}
.copy:active { transform: translateY(1px); }
.copy:disabled { color: var(--dim); border-color: var(--dim); cursor: not-allowed; }
.strip .barbox { padding: 8px 14px; }
.strip .barbox img { width: 120px; height: auto; }
.linkbtn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  border: 2px solid var(--rule); background: var(--ink); color: var(--paper); text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  transition: transform 80ms ease, opacity 120ms ease;
}
.linkbtn img { width: 22px; height: 22px; }
.linkbtn:active { transform: translateY(1px); }
.linkbtn[aria-disabled="true"] { background: transparent; color: var(--dim); border-color: var(--dim); cursor: not-allowed; pointer-events: none; }
.linkbtn[aria-disabled="true"] img { opacity: 0.45; }
.linkbtn.ghost { background: transparent; color: var(--ink); }
.strip .buybox { gap: 10px; }
.strip .xbox { flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; }
.xbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--rule); background: var(--ink); text-decoration: none;
  transition: transform 80ms ease;
}
.xbtn img { width: 20px; height: 20px; filter: invert(1) brightness(1.3); }
.xbtn:active { transform: translateY(1px); }
.xbtn[aria-disabled="true"] { background: transparent; border-color: var(--dim); pointer-events: none; }
.xbtn[aria-disabled="true"] img { filter: none; opacity: 0.4; }

/* the issue line: italic serif + the stamp */
.issueline {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(18px, 2.6vw, 44px);
}
.issueline .word {
  font-family: var(--italic); font-style: italic; font-weight: 400; letter-spacing: -0.01em; line-height: 1;
  font-size: clamp(44px, 7.2vw, 132px); margin: 0; padding: 0.1em 0 0.16em; color: var(--ink);
}
.issueline .word .num { font-family: var(--italic); }
.issueline .word small { display: block; font-family: var(--display); font-style: normal; font-weight: 500; font-size: clamp(12px, 0.95vw, 15px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.6em; }
.stampbox { position: relative; display: flex; align-items: flex-end; gap: 4%; width: clamp(240px, 22vw, 380px); height: clamp(120px, 11vw, 190px); }
.stampbox .imp { width: 56%; height: auto; align-self: center; opacity: 0; transform: rotate(-5deg); transition: opacity 120ms; }
.stampbox .imp.on { opacity: 1; }
.stampbox .stamp { width: 40%; height: auto; }
.stampbox .stamp.down { display: none; }
.stampbox.pressed .stamp.up { display: none; }
.stampbox.pressed .stamp.down { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .stampbox.pressing .stamp.up { animation: press 900ms steps(1) 1; }
  @keyframes press { 0%, 45% { transform: translateY(-14%); } 46%, 100% { transform: translateY(0); } }
}

/* ---- contents ------------------------------------------------------------------------------------------ */
.contents { padding: clamp(28px, 4vw, 72px) var(--gutter) 0; max-width: 1100px; }
.contents h2 { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink-2); }
.contents ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule); }
.contents li { border-bottom: 1px solid var(--rule); }
.contents a {
  display: flex; align-items: baseline; gap: 12px; text-decoration: none; padding: 12px 0; min-height: 48px;
  font-size: clamp(20px, 2vw, 30px);
}
.contents a .n { font-family: var(--display); font-weight: 500; font-size: 0.6em; color: var(--ink-2); width: 2em; flex: none; }
.contents a .t { font-family: var(--serif); flex: none; }
.contents a .t .k { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-left: 12px; }
.contents a .leader { flex: 1 1 auto; border-bottom: 2px dotted var(--ink-2); height: 0; margin: 0 6px; min-width: 24px; transform: translateY(-0.25em); }
.contents a .p { font-family: var(--display); font-weight: 500; font-size: 0.6em; color: var(--ink-2); flex: none; }
.contents a:hover .t, .contents a:focus-visible .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---- pages --------------------------------------------------------------------------------------------- */
.page { padding: clamp(40px, 6vw, 110px) var(--gutter) 0; scroll-margin-top: 8px; }
.runhead { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--rule); padding-bottom: 6px; margin-bottom: 18px; }
.runhead .cap { margin: 0; }
.page h2 { font-family: var(--display); font-weight: 900; letter-spacing: -0.035em; line-height: 1; padding: 0.08em 0 0.14em; font-size: clamp(34px, 4.4vw, 72px); margin: 0 0 6px; }
.page .lede { max-width: 72ch; margin: 0 0 22px; font-size: clamp(17px, 1.2vw, 20px); }
.sorts { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; margin: 0 0 14px; }
.sorts .cap { margin-right: 6px; }
.sorts button { background: transparent; border: 2px solid transparent; padding: 6px 12px; min-height: 48px; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.sorts button[aria-pressed="true"] { border-color: var(--rule); }

/* ruled tables */
.ruled { width: 100%; border-collapse: collapse; border-top: 3px double var(--rule); border-bottom: 2px solid var(--rule); }
.ruled th, .ruled td { text-align: left; vertical-align: middle; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); }
.ruled th { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding-top: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--rule); white-space: nowrap; }
.ruled td.n, .ruled th.n { text-align: right; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; white-space: nowrap; }
.ruled tr.sum td { font-weight: 600; border-bottom: 3px double var(--rule); }
.ruled td .sub { display: block; font-size: 14px; color: var(--dim); }
.ruled .st { height: 30px; width: auto; display: inline-block; vertical-align: middle; }
.ruled .st.round { height: 40px; }
.ruled .mark { height: 22px; width: auto; display: inline-block; vertical-align: middle; }
.ruled a.row { text-decoration: none; }
.ruled a.row:hover, .ruled a.row:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ruled .pic { width: 34px; height: 34px; object-fit: contain; border: 1px solid var(--rule); background: #fff; display: inline-block; vertical-align: middle; margin-right: 10px; }
.empty { border: 2px solid var(--rule); padding: 18px 20px; max-width: 70ch; font-size: 18px; margin: 0; }
.tabnote { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); max-width: 80ch; }
.subhead { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 34px 0 10px; color: var(--ink-2); }
.pill { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--rule); padding: 3px 8px; margin-left: 8px; vertical-align: middle; }
.pill.g { color: var(--green); border-color: var(--green); }
.pill.r { color: var(--red); border-color: var(--red); }
.hash { font-family: var(--display); font-weight: 500; font-size: 13px; }

/* ---- Form R-1 ------------------------------------------------------------------------------------------ */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.paper {
  position: relative; border: 2px solid var(--rule); padding: clamp(18px, 2.4vw, 36px) clamp(16px, 2.2vw, 34px) clamp(22px, 2.6vw, 40px);
  background: rgba(255, 255, 255, 0.28);
}
.paper .clip { position: absolute; top: -28px; right: 28px; width: 44px; height: auto; }
.filerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filerow label.act { display: inline-flex; align-items: center; }
.vh { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.vh:focus-visible + *, .filerow:has(+ .vh:focus-visible) label { outline: 3px solid var(--green); }
.paper h3 { font-family: var(--display); font-weight: 900; letter-spacing: -0.02em; font-size: clamp(22px, 2vw, 30px); margin: 0 0 4px; }
.paper .formno { margin: 0 0 18px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field > span { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: rgba(255, 255, 255, 0.55); border: 0; border-bottom: 2px solid var(--rule); padding: 10px 8px; min-height: 48px; width: 100%; border-radius: 0;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); background: rgba(255, 255, 255, 0.8); }
.field .hint { font-size: 14px; color: var(--dim); margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.range input[type="range"] { accent-color: var(--green); min-height: 48px; padding: 0; border: 0; background: transparent; }
.range output { font-family: var(--display); font-weight: 900; font-size: 32px; letter-spacing: -0.02em; min-width: 3.2ch; text-align: right; }
.statements { margin: 22px 0 0; padding: 0 0 0 1.4em; font-size: 16px; color: var(--ink-2); }
.statements li { margin: 0 0 6px; }
.wallet { border-top: 2px solid var(--rule); margin-top: 22px; padding-top: 18px; display: grid; gap: 10px; }
.wallet .wbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.wbtn, .act {
  font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 2px solid var(--rule); background: transparent; padding: 0 16px; min-height: 48px; transition: transform 80ms ease;
}
.act.primary { background: var(--ink); color: var(--paper); }
.act.primary:disabled { background: transparent; color: var(--dim); border-color: var(--dim); cursor: not-allowed; }
.act:disabled { color: var(--dim); border-color: var(--dim); cursor: not-allowed; }
.act:active:not(:disabled), .wbtn:active { transform: translateY(1px); }
.log { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.log li { padding-left: 14px; position: relative; }
.log li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--ink); }
.log li.err { color: var(--red); }
.log li.err::before { background: var(--red); }
.log li.ok { color: var(--green); }
.log li.ok::before { background: var(--green); }
.aside h3 { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink-2); }
.aside .box { border: 2px solid var(--rule); padding: 14px 16px; margin: 0 0 18px; }
.aside .box p { margin: 0 0 8px; font-size: 16px; }
.aside .box p:last-child { margin: 0; }
.aside dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 16px; }
.aside dt { color: var(--dim); }
.aside dd { margin: 0; }
.filings { display: grid; gap: 8px; }
.filings a { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--rule); padding: 10px 12px; text-decoration: none; min-height: 48px; }
.receipt { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.receipt img { width: 56px; height: auto; }

/* ---- report page ---------------------------------------------------------------------------------------- */
.report .head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: start; margin-bottom: 26px; }
.report h1 { font-family: var(--display); font-weight: 900; letter-spacing: -0.04em; line-height: 1; padding: 0.08em 0 0.14em; font-size: clamp(40px, 6.4vw, 110px); margin: 0 0 8px; overflow-wrap: anywhere; }
.report .head .status img { height: clamp(70px, 8vw, 120px); width: auto; transform: rotate(-4deg); }
.report .head .status img.round { height: clamp(90px, 10vw, 150px); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 3px double var(--rule); border-bottom: 2px solid var(--rule); margin: 0 0 30px; }
.facts > div { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.facts .cap { margin: 0 0 3px; }
.facts .v { font-size: 20px; }
.facts .v.big { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -0.02em; }
.due { border: 2px solid var(--rule); padding: 18px 20px; margin: 0 0 30px; display: grid; gap: 8px; }
.due.over { border-color: var(--red); }
.due .amount { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 54px); letter-spacing: -0.03em; line-height: 1; padding: 0.1em 0 0.16em; }
.due .addr { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.due code { font-family: var(--display); font-weight: 500; font-size: 15px; word-break: break-all; user-select: all; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.founder { border: 2px solid var(--rule); padding: 18px 20px; margin: 30px 0; display: grid; gap: 12px; }
.founder h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.pic-big { width: clamp(96px, 10vw, 160px); height: auto; border: 2px solid var(--rule); background: #fff; }
.oracle-note { font-size: 15px; color: var(--ink-2); max-width: 80ch; }

/* ---- issuer page ---------------------------------------------------------------------------------------- */
.issuer { max-width: 820px; margin: 0 auto; padding: 32px var(--gutter) 80px; display: grid; gap: 18px; }
.issuer h1 { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; font-size: clamp(32px, 5vw, 56px); margin: 0; }
.issuer .box { border: 2px solid var(--rule); padding: 14px 16px; display: grid; gap: 8px; }
.issuer .warn { border-color: var(--red); color: var(--red); }
.issuer ul { margin: 0; padding-left: 18px; }

/* ---- phones --------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .strip { grid-template-columns: auto minmax(0, 1fr) auto; }
  .strip .barbox { display: none; }
  .strip .xbox { border-right: 0; }
  .strip .buybox { grid-column: 1 / 3; border-top: 2px solid var(--rule); border-right: 2px solid var(--rule); justify-content: flex-start; }
  .strip .xbox { grid-column: 3; grid-row: 2; border-top: 2px solid var(--rule); }
  .strip .reg { border-right: 0; }
  .strip .sealbox { border-right: 2px solid var(--rule); }
  .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .strip { grid-template-columns: auto minmax(0, 1fr); }
  .strip > * { min-height: 72px; }
  .strip .sealbox img { width: 54px; height: 54px; }
  .strip .reg { padding: 10px 12px; }
  .strip .reg code { font-size: 14px; }
  .strip .buybox { grid-column: 1 / 3; grid-row: 2; border-right: 0; flex-wrap: wrap; }
  .strip .xbox { grid-column: 1 / 3; grid-row: 3; flex-direction: row; justify-content: space-between; border-right: 0; }
  .issueline { grid-template-columns: 1fr; }
  .band .caption > span:first-child { display: none; }
  .stampbox { width: 240px; height: 120px; justify-self: end; margin-top: -10px; }
  .runhead .cap { font-size: 11px; }
  .ruled { display: block; overflow: visible; }
  .ruled .hide-m { display: none; }
  .ruled th, .ruled td { padding: 9px 6px 9px 0; }
  .ruled .st { height: 26px; }
  .contents a { gap: 8px; }
  .contents a .n { width: 1.4em; }
  .contents a .t { flex: 1 1 auto; min-width: 0; }
  .contents a .t .k { display: block; margin: 2px 0 0; }
  .contents a .leader { display: none; }
  .two { grid-template-columns: 1fr; }
  .report .head { grid-template-columns: 1fr; }
  .report .head .status { justify-self: start; }
}
@media (max-width: 380px) {
  .aside dl { grid-template-columns: 1fr; gap: 2px 0; }
  .aside dd { margin: 0 0 10px; }
  .strip .reg code { font-size: 13px; }
  .copy { min-width: 64px; padding: 0 8px; }
}
