/* Hallmark · macrostructure: studied-DNA (SANTAL, Awwwards) · tone: austere · anchor hue: none (cream / black)
 * theme: studied-DNA (source: awwwards santal) · paper #EDE6D6 · ink #000000 · Switzer 400/500/600
 * nav: column-tick bar (N9 edge-aligned, sticky) · footer: Ft5 statement (wordmark)
 * enrichment: live SOL price line (hand-built SVG, real 15-min closes)
 * pre-emit critique: P5 H4 E4 S5 R4 V5 */
/* SER: two tones (cream / black), Switzer, an 8-column hairline grid. */
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/Switzer-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --cream: #EDE6D6;
  --black: #000000;
  --ink: #111111;
  --rule: #CFC7B6;
  --soft: #68625A;
  --rule-d: #262626;
  --soft-d: #8F887C;
  --far: #66615A;
  --ghost: #3A3732;
  --scrim: rgba(0, 0, 0, .55);
  --font: 'Switzer', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --bg: var(--cream);
  --fg: var(--ink);
  --ln: var(--rule);
  --mute: var(--soft);
  --col: 12.5vw;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html.inv { --bg: var(--black); --fg: var(--cream); --ln: var(--rule-d); --mute: var(--soft-d); }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 15px/1.45 var(--font); background: var(--bg); color: var(--fg); overflow-x: clip; transition: background-color .5s var(--ease), color .5s var(--ease); }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
button:active:not(:disabled), .buy:active { transform: translateY(1px); }
button:disabled { opacity: .45; cursor: not-allowed; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--fg); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* the column hairlines run through every section */
.cols { position: fixed; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); pointer-events: none; z-index: 0; }
.cols i { border-right: 1px solid var(--ln); opacity: .9; transition: border-color .5s var(--ease); }
.cols i:first-child { grid-column: 1; }
section[data-tone="dark"], .tone-dark { --ln: var(--rule-d); --mute: var(--soft-d); }

/* ---------------- header: the cropped wordmark and the bar on the column ticks ---------------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); transition: background-color .5s var(--ease), color .5s var(--ease); }
body[data-tone="dark"] .top { background: var(--black); color: var(--cream); --fg: var(--cream); --bg: var(--black); --ln: var(--rule-d); }
.mark { position: relative; z-index: 2; overflow-x: clip; margin: 0; display: flex; justify-content: space-between; font-weight: 600; font-size: 31vw; line-height: .62; letter-spacing: -.04em; padding: 0 .5vw; height: 15.6vw; overflow: hidden; }
.mark-l { display: inline-block; transform: translateY(-.13em); will-change: transform; }
.bar { display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; border-bottom: 1px solid var(--ln); height: 52px; position: relative; font-weight: 500; font-size: 13px; }
.bar > * { position: relative; height: 100%; display: flex; align-items: center; padding-left: 0; }
.bar-link, .bar-coin, .bar-end { padding-left: 0; }
.bar-link { text-decoration: none; }
.bar-link::before, .bar-coin::before, .bar-end::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 1px; height: 7px; background: currentColor; }
.bar-link::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: currentColor; transition: width .6s var(--ease); }
.bar-link:hover::after, .bar-link.on::after { width: 70%; }
.bar-logo { padding-left: 14px !important; }
.bar-logo img { display: block; width: 28px; height: 28px; }
.bar-coin { grid-column: span 2; gap: 14px; }
.bar-end { grid-column: span 1; justify-content: flex-end; gap: 6px; padding-right: 14px; }
.ca { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; white-space: nowrap; }
.ca:hover { text-decoration: underline; text-underline-offset: 3px; }
.buy { text-decoration: none; background: var(--fg); color: var(--bg); padding: 7px 12px; white-space: nowrap; }
.buy:hover { opacity: .85; }
.ico { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; }
.ico:hover { background: var(--fg); color: var(--bg); }
.connect:hover, .ans-opt:hover { background: var(--fg); color: var(--bg); }
.connect { background: none; border: 1px solid currentColor; padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.connect:hover, .connect.on { background: var(--fg); color: var(--bg); }

/* ---------------- hero: the price line, the statement, the ask box ---------------- */
main, .foot { position: relative; z-index: 1; }
.hero { position: relative; overflow-x: clip; display: grid; grid-template-columns: repeat(8, 1fr); min-height: calc(100svh - 15.6vw - 52px); padding: 64px 0 96px; }
.line { position: absolute; left: 0; right: 0; top: 34%; bottom: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#linePath { fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }
#trig { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .4s; }
#trig.on { opacity: 1; }
.dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--fg); left: -20px; top: -20px; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px var(--bg); }
.dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--fg); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.cap { grid-column: 2 / span 2; align-self: start; margin-top: 2vh; margin: 0; font-size: 11.5px; line-height: 1.25; font-weight: 500; position: relative; }
.price { position: absolute; margin: 0; font-size: 12px; font-weight: 500; white-space: nowrap; transform: translate(14px, -26px); left: -200px; top: -200px; }
.say { grid-column: 5 / span 4; align-self: start; margin-top: 2vh; position: relative; padding-right: 6vw; }
.lede { margin: 0 0 36px; font-size: clamp(24px, 2vw, 40px); line-height: 1.06; letter-spacing: -.02em; font-weight: 400; }
.lede .ln { display: block; overflow: hidden; }
.askf { display: flex; align-items: stretch; border-bottom: 1px solid var(--fg); background: var(--bg); }
.askf input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 0; font-size: clamp(17px, 1.35vw, 24px); outline: none; }
.askf input::placeholder { color: var(--mute); }
.askf button { border: 0; background: var(--fg); color: var(--bg); padding: 0 18px; cursor: pointer; font-weight: 500; white-space: nowrap; }
.askf button:disabled { opacity: .5; cursor: progress; }
.hint { margin: 10px 0 0; font-size: 12.5px; color: var(--mute); min-height: 18px; }
.down { position: absolute; left: 50%; bottom: 22px; font-size: 12px; text-decoration: none; padding-left: 10px; }
.down::before { content: ''; position: absolute; left: 0; bottom: 2px; width: 1px; height: 70px; background: currentColor; transform-origin: bottom; animation: drip 2.6s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* the answer: a receipt of the exact orders, printed line by line */
.answer { grid-column: 2 / span 7; margin-top: 72px; position: relative; background: var(--bg); padding: 28px 6vw 28px 0; border-top: 1px solid var(--fg); }
.ans-q { font-size: clamp(22px, 2vw, 34px); letter-spacing: -.015em; line-height: 1.12; margin: 0 0 18px; max-width: 30em; }
.ans-opts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ans-opt { border: 1px solid var(--fg); background: none; padding: 9px 14px; cursor: pointer; text-align: left; }
.ans-opt:hover { background: var(--fg); color: var(--bg); }
.tok { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; color: var(--mute); }
.tok img { width: 22px; height: 22px; border-radius: 50%; }
.tok b { color: var(--fg); font-weight: 600; font-size: 15px; }
.ord { display: grid; grid-template-columns: 3fr 2fr; gap: 0 4vw; padding: 22px 0; border-top: 1px solid var(--ln); }
.ord:first-of-type { border-top: 0; }
.ord-s { font-size: clamp(20px, 1.75vw, 30px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 14px; }
.ord dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 13px; }
.ord dt { color: var(--mute); }
.ord dd { margin: 0; }
.ord-side { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; color: var(--mute); }
.ord-side p { margin: 0; }
.ord-side .warn { color: var(--fg); border-left: 2px solid var(--fg); padding-left: 10px; }
.sign { align-self: flex-start; border: 0; background: var(--fg); color: var(--bg); padding: 13px 20px; font-weight: 500; cursor: pointer; margin-top: 6px; }
.sign:disabled { opacity: .45; cursor: not-allowed; }
.sign.done { background: none; color: var(--fg); border: 1px solid var(--fg); }
.st { font-size: 12.5px; min-height: 18px; color: var(--fg); }
.st a { text-underline-offset: 3px; }

/* ---------------- ideas: the field of live sentences (dark) ---------------- */
.ideas { background: var(--black); color: var(--cream); position: relative; min-height: 100vh; overflow: hidden; }
.ideas-pin { position: relative; min-height: 100vh; padding: 96px 0 80px; display: grid; grid-template-columns: repeat(8, 1fr); align-content: start; }
.big { grid-column: 2 / span 6; margin: 0; font-size: clamp(44px, 6.4vw, 124px); line-height: .95; letter-spacing: -.045em; font-weight: 600; }
.sub { grid-column: 2 / span 4; margin: 22px 0 0; color: var(--mute); max-width: 34em; }
.field { grid-column: 1 / -1; position: relative; height: 112vh; min-height: 760px; margin-top: 48px; perspective: 1100px; perspective-origin: 50% 20%; }
.field-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(16deg); }
.idea { position: absolute; transform-style: preserve-3d; background: none; border: 0; color: var(--cream); text-align: left; cursor: pointer; padding: 6px 0; white-space: nowrap; transition: color .3s; }
.idea b { display: block; font-size: clamp(26px, 2.9vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.idea span { display: block; font-size: 14px; margin-top: 8px; }
.idea small { display: block; font-size: 12px; color: var(--soft-d); margin-top: 4px; }
.idea:hover b, .idea:focus-visible b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.idea.far { color: var(--far); }

/* ---------------- orders (light) and log (dark) ---------------- */
.orders, .log { position: relative; padding: 120px 0 120px; display: grid; grid-template-columns: repeat(8, 1fr); align-content: start; }
.log { background: var(--black); color: var(--cream); }
.otable { grid-column: 2 / span 7; margin-top: 56px; padding-right: 6vw; }
.orow { display: grid; grid-template-columns: 1.1fr 2.2fr 1.4fr 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--ln); align-items: start; }
.orow:last-child { border-bottom: 1px solid var(--ln); }
.orow h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.orow p { margin: 0 0 4px; }
.orow .m { color: var(--mute); font-size: 12.5px; }
.fill { height: 2px; background: var(--ln); margin-top: 10px; position: relative; }
.fill i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fg); }
.cancel { border: 1px solid var(--fg); background: none; padding: 7px 12px; cursor: pointer; justify-self: start; }
.cancel:hover { background: var(--fg); color: var(--bg); }
.otabs { display: flex; gap: 24px; margin-bottom: 8px; font-size: 13px; }
.otabs button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--mute); }
.otabs button.on { color: var(--fg); text-decoration: underline; text-underline-offset: 5px; }
.empty { padding: 26px 0; border-top: 1px solid var(--ln); color: var(--mute); }
.stats { grid-column: 2 / span 6; display: flex; flex-wrap: wrap; gap: 8vw; margin-top: 56px; }
.stats div b { display: block; font-size: clamp(40px, 4.6vw, 84px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stats div span { font-size: 13px; color: var(--mute); }
.rows { grid-column: 2 / span 7; list-style: none; margin: 64px 0 0; padding: 0 6vw 0 0; }
.rows li { display: grid; grid-template-columns: 3fr 2fr 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--ln); align-items: baseline; }
.rows q { font-size: clamp(20px, 1.9vw, 34px); letter-spacing: -.02em; line-height: 1.15; quotes: '“' '”'; }
.rows .m { color: var(--mute); font-size: 12.5px; }
.rows .res { font-size: 13.5px; }
.rows a { text-underline-offset: 3px; }

/* ---------------- footer ---------------- */
.foot { padding: 120px 0 0; display: grid; grid-template-columns: repeat(8, 1fr); overflow: hidden; }
.foot-say { grid-column: 5 / span 3; margin: 0; font-size: clamp(20px, 1.7vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
.foot-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 96px; font-size: 13px; border-top: 1px solid var(--ln); }
.foot-row > * { padding: 14px 0 14px 14px; text-decoration: none; white-space: nowrap; }
.foot-row > a:hover { text-decoration: underline; }
.invert { background: none; border: 0; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot-mark { grid-column: 1 / -1; margin: 0; font-weight: 600; font-size: 31vw; line-height: .62; letter-spacing: -.04em; height: 14vw; text-align: center; transform: translateY(1vw); }

/* ---------------- wallet picker, toast, cursor ---------------- */
.picker { position: fixed; inset: 0; z-index: 40; background: var(--scrim); display: grid; place-items: center; }
.picker[hidden] { display: none; }
.picker-in { background: var(--cream); color: var(--ink); width: min(420px, 92vw); padding: 26px; }
.picker-in p { margin: 0 0 16px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.picker-in .w { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-top: 1px solid var(--rule); background: none; padding: 14px 0; cursor: pointer; text-align: left; font-size: 15px; }
.picker-in .w img { width: 26px; height: 26px; }
.picker-in .w:hover { text-decoration: underline; }
.picker-x { margin-top: 14px; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--fg); color: var(--bg); padding: 12px 16px; font-size: 13.5px; z-index: 45; max-width: 92vw; transition: transform .5s var(--ease); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.cursor { position: fixed; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); mix-blend-mode: difference; pointer-events: none; z-index: 60; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease); display: none; }
.cursor.idle { opacity: 0; }
.cursor.big { width: 34px; height: 34px; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------------- smaller screens ---------------- */
@media (max-width: 1100px) {
  .bar { grid-template-columns: auto repeat(4, auto) 1fr; height: auto; padding: 8px 0; row-gap: 6px; }
  .bar > * { height: 40px; padding: 0 12px !important; }
  .bar-coin { grid-column: 1 / 5; grid-row: 2; }
  .bar-end { grid-column: 5 / -1; grid-row: 2; }
  .bar-link::before, .bar-coin::before, .bar-end::before { display: none; }
  .say { grid-column: 4 / span 5; }
  .foot-row { grid-template-columns: repeat(5, auto) 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .cols { grid-template-columns: repeat(4, 1fr); }
  .cols i:nth-child(n+4) { display: none; }
  .mark { font-size: 33vw; height: 16.6vw; }
  .bar { grid-template-columns: repeat(4, auto) 1fr; }
  .bar-logo { display: none !important; }
  .bar > * { padding: 0 10px !important; }
  .bar-coin { grid-column: 1 / 4; gap: 10px; font-size: 12px; }
  .bar-end { grid-column: 4 / -1; }
  .hero { grid-template-columns: 1fr; padding: 40px 18px 110px; min-height: 0; }
  .cap { grid-column: 1; margin-bottom: 28px; }
  .say { grid-column: 1; padding: 0; }
  .lede { font-size: 28px; }
  .askf { flex-direction: column; border: 0; }
  .askf input { border-bottom: 1px solid var(--fg); }
  .askf button { padding: 14px; margin-top: 12px; }
  .answer { grid-column: 1; margin-top: 44px; padding: 22px 0 0; }
  .ord { grid-template-columns: 1fr; gap: 16px; }
  .ideas-pin, .orders, .log, .foot { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
  .big, .sub, .otable, .stats, .rows, .foot-say { grid-column: 1; padding-right: 0; }
  .field { height: auto; min-height: 0; perspective: none; }
  .field-in { position: static; transform: none !important; display: grid; gap: 4px; }
  .idea { position: static; transform: none !important; white-space: normal; border-top: 1px solid var(--rule-d); padding: 16px 0; }
  .idea.far { color: var(--cream); }
  .orow { grid-template-columns: 1fr; gap: 8px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-mark { font-size: 40vw; height: 18vw; }
  .down { left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark-l { transform: none; }
}
.rows li.hit q { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.ghost { position: absolute; font-size: clamp(22px, 2.2vw, 44px); font-weight: 500; letter-spacing: -.02em; color: var(--ghost); white-space: nowrap; pointer-events: none; }
.ghost.mid { color: var(--far); }
@media (max-width: 760px) { .ghost { display: none; } }
@media (max-width: 760px) {
  .hero { padding-bottom: 210px; }
  .line { top: auto; height: 150px; bottom: 50px; }
  .lede .ln { display: inline; }
}
@media (max-width: 760px) { .lede .ln > span { display: inline !important; } }
.lede { font-size: clamp(24px, 2vw, 64px); }
.bar { font-size: clamp(13px, .72vw, 20px); }
.cap, .price, .hint { font-size: clamp(11.5px, .72vw, 18px); }
.askf input { font-size: clamp(17px, 1.35vw, 34px); }
.bar-logo img { width: clamp(28px, 1.6vw, 44px); height: auto; }
