/* $TICK — inscribetick.com */
@font-face { font-family: "Anton"; src: url("assets/fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #111111;
  --paper: #F2EFE6;
  --card: #FBF9F3;
  --signal: #FF4F00;
  --muted: #5A564C;
  --soft: #D9D5CA;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to right, transparent 0px, transparent 39px, rgba(17,17,17,.13) 39px, rgba(17,17,17,.13) 40px);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--signal); color: var(--ink); }
a { color: var(--ink); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

/* 3D block buttons */
.b3d {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink); cursor: pointer;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
}
.b3d:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.b3d:active { transform: translate(5px,5px); box-shadow: 0 0 0 var(--ink); }
.b3d:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.b3d:disabled, .b3d[aria-disabled="true"] { cursor: not-allowed; opacity: .55; transform: none; box-shadow: 5px 5px 0 var(--ink); }
.b3d.dark { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--signal); }
.b3d.dark:hover { box-shadow: 7px 7px 0 var(--signal); }
.b3d.dark:active { box-shadow: 0 0 0 var(--signal); }
.b3d.small { min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 500; box-shadow: 3px 3px 0 var(--ink); }
.b3d.small:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.b3d.small:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }
.b3d.onDark { box-shadow: 4px 4px 0 var(--signal); border-color: var(--paper); }
.b3d.onDark:hover { box-shadow: 6px 6px 0 var(--signal); }
.b3d.onDark:active { transform: translate(4px,4px); box-shadow: 0 0 0 var(--signal); }

/* Header */
.site-header { border-bottom: 2px solid var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.logo { display: flex; align-items: center; min-height: 52px; font-family: var(--display); font-size: 26px; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 0 12px; }
.wallet-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
@media (max-width: 480px) { .wallet-btns { gap: 0 12px; } .connect { padding: 0 11px; letter-spacing: .03em; gap: 8px; } }
.connect { min-height: 44px; padding: 0 18px; font-size: 13px; margin: 8px 6px 12px 0; }

/* Ticker tape */
.tape { background: var(--signal); border-bottom: 2px solid var(--ink); overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tape-track { display: flex; width: max-content; animation: tape 38s linear infinite; }
.tape-track span { padding: 12px 0; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* Hero */
.hero { padding-top: 40px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(104px, 24vw, 360px); line-height: .82; letter-spacing: -.01em; }
.hero .tagline { margin: 28px 0 0; font-family: var(--display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; text-transform: uppercase; }
.hero .lede { margin: 20px 0 0; max-width: 560px; font-family: var(--sans); font-size: 18px; line-height: 1.55; }
.hero .ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero .ctas .b3d { min-height: 52px; padding: 0 24px; font-size: 14px; }

.record { flex: 1 1 320px; min-width: 0; max-width: 420px; border: 2px solid var(--ink); background: var(--card); }
.counter { position: relative; aspect-ratio: 784 / 1168; container-type: inline-size; background: #EEE7DB; border-bottom: 2px solid var(--ink); overflow: hidden; }
.counter img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.drum { position: absolute; left: 44.5%; width: 7.9%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.strip { height: 1100%; display: flex; flex-direction: column; font-family: var(--mono); font-weight: 600; font-size: 8.2cqw; line-height: 1; color: #EDE6D8;
  transition: transform 520ms cubic-bezier(.2,1.3,.4,1); }
.strip.snap { transition: none; }
.strip span { height: 9.0909%; display: flex; align-items: center; justify-content: center; }
.drum.last .strip { color: var(--signal); }
.receipt { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; }
.receipt .row span:first-child { color: var(--muted); }
.receipt .head { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.receipt .head span:first-child { color: var(--ink); }
.receipt hr { border: 0; border-top: 1px dashed var(--ink); margin: 6px 0; width: 100%; }

/* Sections */
.section { border-top: 2px solid var(--ink); }
.section > .wrap { padding-top: 56px; padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 32px; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: .9; text-transform: uppercase; }

.alloc { display: flex; height: 28px; border: 2px solid var(--ink); margin-bottom: 8px; }
.alloc div:first-child { flex: 80 1 0; background: var(--ink); }
.alloc div:last-child { flex: 20 1 0; background: var(--signal); border-left: 2px solid var(--ink); }
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger tr { border-bottom: 1px solid var(--ink); }
.ledger tr:last-child { border-bottom: 2px solid var(--ink); }
.ledger th { text-align: left; padding: 18px 12px 18px 0; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.ledger td.num { padding: 18px 0; text-align: right; font-family: var(--display); font-size: clamp(22px, 3vw, 40px); white-space: nowrap; }
.ledger td.pct { padding: 18px 0 18px 16px; width: 56px; text-align: right; }

.dark-section { background: var(--ink); color: var(--paper); }
.seq { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.seq li { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--paper); }
.seq li:last-child { border-bottom: 1px solid var(--paper); }
.seq .when { flex: 0 0 120px; color: var(--signal); font-weight: 600; }
.seq .what { flex: 1 1 260px; text-transform: uppercase; font-weight: 600; }
.seq .how { flex: 2 1 360px; color: var(--soft); }

.struck { list-style: none; margin: 0 0 40px; padding: 0; font-size: clamp(18px, 2.2vw, 28px); }
.struck li { padding: 16px 0; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.struck li:last-child { border-bottom: 1px solid var(--ink); }
.struck s { text-decoration-thickness: 3px; text-decoration-color: var(--signal); }
.struck .note { font-size: 15px; align-self: center; }
.addr-table { width: 100%; border-collapse: collapse; font-size: 14px; border: 2px solid var(--ink); }
.addr-table thead tr { background: var(--ink); color: var(--paper); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.addr-table th { text-align: left; padding: 12px 16px; font-weight: 600; }
.addr-table td { padding: 14px 16px; border-bottom: 1px solid var(--ink); }
.addr-table td:first-child { font-weight: 600; }
.addr-table td:last-child { word-break: break-all; font-size: 13px; }
.addr-table .pending { color: var(--muted); word-break: normal !important; }

/* Mint */
.mint { background: var(--signal); }
.mint > .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.mint-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mint-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(88px, 14vw, 220px); line-height: .82; text-transform: uppercase; }
.mint-count { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mint-count .big { font-family: var(--display); font-size: clamp(44px, 6vw, 88px); line-height: .9; }
.mint-count .label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
.mint-status { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.progress { position: relative; height: 36px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); overflow: hidden; }
.progress .fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0%; background: var(--ink); transition: width 600ms ease; }
.progress .ticks { position: absolute; inset: 0; background-image: repeating-linear-gradient(to right, transparent 0px, transparent 26px, var(--signal) 26px, var(--signal) 28px); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 44px; padding: 0 10px; background: var(--ink); color: var(--paper); font-size: 20px; font-weight: 600; }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.card .rule { width: 48px; height: 3px; background: var(--ink); }
.card p { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.card .actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.step-btn { width: 48px; height: 48px; padding: 0; border-radius: 4px; font-size: 24px; }
.qty { min-width: 40px; text-align: center; font-family: var(--display); font-size: 32px; }
.qty-info { font-size: 13px; line-height: 1.4; }
.card-btn { min-height: 48px; padding: 0 18px; border-radius: 4px; font-size: 14px; letter-spacing: .08em; }
.tx-status { min-height: 1.6em; margin: 0; font-size: 14px; line-height: 1.6; font-weight: 600; word-break: break-word; }
.tx-status a { color: var(--ink); }
.notice { margin: 0; max-width: 820px; font-size: 14px; line-height: 1.6; }

/* FAQ */
.faq { margin: 0; }
.faq > div { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 20px 0; border-top: 1px solid var(--ink); }
.faq > div:last-child { border-bottom: 1px solid var(--ink); }
.faq dt { flex: 1 1 340px; font-weight: 600; text-transform: uppercase; font-size: 15px; }
.faq dd { flex: 2 1 420px; margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); background: var(--ink); color: var(--paper); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.footer-logo { font-family: var(--display); font-size: clamp(64px, 10vw, 140px); line-height: .85; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.footer-links .b3d { min-height: 44px; padding: 0 16px; }
.disclaimer { margin: 0; max-width: 900px; font-size: 12px; line-height: 1.7; color: var(--soft); }

/* Wallet chooser */
dialog.wallets { border: 2px solid var(--ink); background: var(--paper); padding: 24px; max-width: 360px; width: calc(100% - 32px); box-shadow: 8px 8px 0 var(--ink); }
dialog.wallets::backdrop { background: rgba(17,17,17,.45); }
dialog.wallets h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; }
.wallet-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.wallet-list .b3d { min-height: 48px; justify-content: flex-start; padding: 0 14px; font-size: 14px; }
.wallet-list img { width: 24px; height: 24px; }
.wallet-list .b3d { text-transform: none; letter-spacing: .02em; }
.wallet-tag { margin-left: auto; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.wallet-list .install { background: transparent; color: var(--muted); border-style: dashed; box-shadow: none; }
.wallet-list .install:hover { color: var(--ink); transform: none; box-shadow: none; background: var(--card); }
.wallet-hint { margin: 0 0 18px; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
