/* tokens
   paper: #e6d3a8 (sampled from the engraved note itself)
   ink: #2b2115
   type: Cormorant Garamond (engraved copperplate serif), bundled locally
   corner radius: 0 everywhere, no rounding on a printed note
   motion: none
*/

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #e6d3a8;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-card {
  display: flex;
  flex-direction: column;
  width: min(90vw, 254vh);
}

.note {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(30, 20, 5, 0.28));
}

.chrome-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.4vh;
  padding: 0 0.4vw;
}

.serial,
.signature {
  font-family: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: #3a2c18;
  letter-spacing: 0.06em;
}

.serial {
  font-weight: 600;
  font-size: clamp(11px, 1.3vw, 16px);
}

/* The address itself must stay legible letter for letter: base58 is case sensitive and the
   engraved small-caps face turned every lowercase character into a capital, so a reader
   copying it by eye would get it wrong (2026-08-31). Label keeps the engraving, value is
   monospace with the case intact. */
.serial .serial-label { font-variant: small-caps; letter-spacing: 0.1em; }
.serial .serial-ca {
  font-family: ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
  font-variant: normal; text-transform: none; letter-spacing: 0.01em;
  font-size: clamp(10px, 1.05vw, 13px); cursor: pointer; border-bottom: 1px dotted #6b5836;
}
.serial .serial-ca.copied { background: #3a2c18; color: #f3ead6; border-bottom-color: transparent; }

.signature {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 2.1vw, 26px);
  color: #2b2115;
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 33, 21, 0.55);
  padding-bottom: 2px;
}

.signature:hover {
  color: #6b1414;
  border-bottom-color: #6b1414;
}
