/* Trailcrew — social timeline with a sticky right rail. linen, espresso, one dusty-teal accent. */
:root {
  --linen: #f6f2ec; --card: #fffdf9; --card2: #fbf8f3; --esp: #2b211c; --esp2: #54473f; --mute: #8a7d73; --faint: #bfb4a9;
  --rule: #e6ded3; --rule2: #d8cdbf; --teal: #4f7f7d; --teal-d: #3b6260; --teal-l: #8fb3b0; --teal-bg: #e4eeec; --clay: #a0634c; --clay-bg: #f3e6df;
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'DM Sans', system-ui, sans-serif; --mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1); --mw: 1220px; --gut: clamp(16px, 3.4vw, 36px); --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--linen); color: var(--esp); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--sans); font-feature-settings: 'tnum'; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--esp); color: var(--linen); padding: 8px 14px; z-index: 300; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 100; background: rgba(246, 242, 236, .88); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.top__row { max-width: var(--mw); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 32px; height: 32px; fill: var(--esp); }
.brand__mark .bt { fill: none; stroke: var(--teal-l); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 7; }
.brand__mark .b1 { fill: var(--linen); } .brand__mark .b2 { fill: var(--teal); }
.brand__word { font: 400 27px/1 var(--serif); letter-spacing: -.01em; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--esp2); transition: background .2s, color .2s; }
.nav__list a:hover { background: var(--card); color: var(--esp); }
.xlink svg { width: 15px; height: 15px; fill: currentColor; }
.nav__toggle { display: none; width: 40px; height: 38px; border-radius: 999px; border: 1px solid var(--rule2); background: var(--card); position: relative; cursor: pointer; }
.bars, .bars::before, .bars::after { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--esp); transition: transform .3s var(--ease); }
.bars { top: 18px; } .bars::before, .bars::after { content: ''; left: 0; right: 0; } .bars::before { top: -5px; } .bars::after { top: 5px; }
.nav__toggle[aria-expanded="true"] .bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
.wallet-slot { flex: none; }

.wb { position: relative; }
.wb-btn { border: 0; background: var(--esp); color: var(--linen); border-radius: 999px; padding: 10px 18px; font: 600 14px/1 var(--sans); cursor: pointer; transition: background .2s, transform .15s var(--ease); white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.wb-btn:hover { background: var(--teal-d); }
.wb-btn:active { transform: scale(.96); }
.wb-btn.is-on { background: var(--card); color: var(--esp); box-shadow: inset 0 0 0 1px var(--rule2); padding-left: 30px; position: relative; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.wb-btn.is-on::before { content: ''; position: absolute; left: 13px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); }
.wb-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 500; width: 290px; max-width: calc(100vw - 24px); background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(43, 33, 28, .4); padding: 8px; animation: mIn .25s var(--ease); }
@keyframes mIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.wb-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-size: 14px; cursor: pointer; text-decoration: none; color: var(--esp); }
.wb-item:hover { background: var(--teal-bg); }
.wb-item img { width: 20px; height: 20px; border-radius: 5px; }
.wb-addr { font: 400 12px/1.5 var(--mono); word-break: break-all; padding: 8px 12px 2px; color: var(--esp2); }
.wb-bal { font: 600 15px/1.4 var(--sans); padding: 2px 12px 10px; border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.wb-note { font-size: 12px; color: var(--mute); padding: 8px 12px 4px; }

/* ---------- atoms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 0; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; transition: background .2s, transform .15s var(--ease), box-shadow .2s, color .2s; }
.btn:active { transform: scale(.96); }
.btn--dark { background: var(--esp); color: var(--linen); }
.btn--dark:hover { background: var(--teal-d); }
.btn--soft { background: var(--card); color: var(--esp); box-shadow: inset 0 0 0 1px var(--rule2); }
.btn--soft:hover { box-shadow: inset 0 0 0 1px var(--esp); }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.tag { display: inline-block; font: 600 10.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--rule2); color: var(--mute); vertical-align: 3px; white-space: nowrap; }
.tag--live { background: var(--teal-bg); color: var(--teal-d); box-shadow: none; }
.tag--light { background: rgba(246, 242, 236, .12); color: rgba(246, 242, 236, .75); box-shadow: none; }
.eyebrow { margin: 0 0 18px; font: 500 13px/1 var(--sans); color: var(--teal-d); letter-spacing: .02em; }
.h2 { font: 400 clamp(32px, 4vw, 48px)/1.04 var(--serif); letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; }
.h2 em { color: var(--teal-d); }
.h2--light { color: var(--linen); }
.h2--light em { color: var(--teal-l); }
.empty { color: var(--mute); margin: 0; font-size: 14.5px; }
.fine { font-size: 12.5px; color: var(--mute); }
.skel { height: 14px; width: var(--w, 80%); margin: 12px 0; border-radius: 999px; background: linear-gradient(90deg, #ece5db 0%, #f7f2ea 45%, #ece5db 90%); background-size: 220% 100%; animation: shim 1.3s linear infinite; }
.skel.card-skel { height: 128px; width: 100%; border-radius: var(--r); margin: 0; }
@keyframes shim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.errbox { border-radius: 14px; background: var(--clay-bg); padding: 14px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.errbox__msg { margin: 0; color: var(--clay); font-size: 14px; flex: 1 1 220px; }
.errbox .btn--ghost { background: var(--card); border: 0; box-shadow: inset 0 0 0 1px var(--rule2); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.flash { animation: fl 1.1s var(--ease); border-radius: 6px; }
@keyframes fl { 0% { background: var(--teal-bg); } 100% { background: transparent; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--esp); color: var(--linen); padding: 11px 18px; border-radius: 999px; font-size: 14px; z-index: 600; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.is-copied { background: var(--teal) !important; color: #fff !important; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.ld { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.is-ready .ld { opacity: 1; transform: none; }
.is-ready .ld--1 { transition-delay: .05s; } .is-ready .ld--2 { transition-delay: .85s; } .is-ready .ld--3 { transition-delay: 1.05s; } .is-ready .ld--4 { transition-delay: .5s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(.12s + var(--i) * 50ms); }
.is-ready .split .wi { transform: none; }
@media (prefers-reduced-motion: reduce) { .rv, .ld, .split .wi { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- hero ---------- */
.hero { max-width: var(--mw); margin: 0 auto; padding: clamp(44px, 6vw, 84px) var(--gut) 0; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.display { font: 400 clamp(44px, 6.4vw, 92px)/.98 var(--serif); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.display em { color: var(--teal-d); }
.hero__sub { min-width: 0; padding-bottom: 10px; }
.lede { margin: 0 0 24px; color: var(--esp2); font-size: clamp(15.5px, 1.25vw, 17.5px); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ca-chip { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule2); padding: 5px 5px 5px 14px; border-radius: 999px; max-width: 100%; min-width: 0; }
.ca-chip__k { font: 700 11px var(--sans); color: var(--teal-d); }
.ca-chip__v { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-chip__b { border: 0; background: var(--esp); color: var(--linen); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; }
.trail { margin-top: clamp(20px, 3vw, 40px); position: relative; }
.trail__svg { width: 100%; height: auto; overflow: visible; }
.trail__path { fill: none; stroke: var(--rule2); stroke-width: 26; stroke-linecap: round; opacity: .55; }
.trail__steps { fill: none; stroke: var(--esp); stroke-width: 2; stroke-dasharray: 2 12; stroke-linecap: round; opacity: .55; }
.trail__cap { margin: 4px 0 0; font-size: 12.5px; color: var(--mute); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tw-av { transition: opacity .6s; }
.tw-ring { fill: var(--card); stroke: var(--esp); stroke-width: 1.5; }
.tw-bub rect { fill: var(--esp); }
.tw-bub text { fill: var(--linen); font: 600 12px var(--sans); }
.tw-bub.up rect { fill: var(--teal-d); }
.tw-bub.dn rect { fill: var(--clay); }
.tw-mark { fill: var(--linen); stroke: var(--teal); stroke-width: 2; }
.tw-follow .tw-ring { stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 3 3; }

/* strip */
.strip { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2); background: var(--card2); }
.strip__row { max-width: var(--mw); margin: 0 auto; padding: 16px var(--gut); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.strip__row div { min-width: 0; }
.strip dt { font-size: 12px; color: var(--mute); }
.strip dd { margin: 2px 0 0; font: 400 26px/1.1 var(--serif); }

/* ---------- layout ---------- */
.layout { max-width: var(--mw); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.col { min-width: 0; border-left: 1px solid var(--rule2); padding-left: clamp(18px, 2.6vw, 36px); }
.block { padding: clamp(56px, 7vw, 88px) 0 0; position: relative; }
.block::before { content: ''; position: absolute; left: calc(-1 * clamp(18px, 2.6vw, 36px) - 6px); top: calc(clamp(56px, 7vw, 88px) + 6px); width: 11px; height: 11px; border-radius: 50%; background: var(--linen); border: 2px solid var(--teal); }
.block__head { margin-bottom: 22px; }
.block__k { margin: 0 0 10px; font: 600 12.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--teal-d); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.block__lede { margin: 0; color: var(--esp2); max-width: 640px; }
.post { background: var(--card); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px var(--rule), 0 22px 44px -36px rgba(43, 33, 28, .45); padding: clamp(16px, 2.2vw, 24px); min-width: 0; position: relative; }

/* discover */
.disc-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 500 13.5px/1 var(--sans); color: var(--esp2); cursor: pointer; white-space: nowrap; transition: color .25s; }
.seg button.is-on { color: var(--linen); }
.seg__ind { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--esp); transition: transform .45s var(--ease), width .45s var(--ease); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pcard { background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--rule), 0 16px 32px -28px rgba(43, 33, 28, .5); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; animation: cIn .55s var(--ease) backwards; transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--rule2), 0 22px 40px -26px rgba(43, 33, 28, .5); }
@keyframes cIn { from { opacity: 0; transform: translateY(12px); } }
.pcard__top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.av { width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--rule2); }
.av--sm { width: 30px; height: 30px; }
.av--lg { width: 72px; height: 72px; }
.pcard__id { min-width: 0; }
.pcard__addr { font: 500 13px var(--mono); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__meta { font-size: 12.5px; color: var(--mute); }
.pcard__last { font-size: 14px; color: var(--esp2); margin: 0; min-height: 44px; }
.pcard__last b { color: var(--esp); }
.pcard__acts { display: flex; gap: 8px; margin-top: auto; }
.pcard .btn { flex: 1; }
.pill { display: inline-block; font: 600 11px/1 var(--sans); padding: 4px 8px; border-radius: 999px; }
.pill--buy { background: var(--teal-bg); color: var(--teal-d); } .pill--sell { background: var(--clay-bg); color: var(--clay); }
.is-following { background: var(--teal) !important; color: #fff !important; box-shadow: none !important; }

/* feed */
.addr { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.addr input, .field input, .field select, .field textarea { border: 0; box-shadow: inset 0 0 0 1px var(--rule2); background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; width: 100%; min-width: 0; transition: box-shadow .2s; color: var(--esp); }
.addr input { flex: 1 1 260px; width: auto; font-family: var(--mono); font-size: 13.5px; }
.addr input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--teal), 0 0 0 4px var(--teal-bg); }
.field textarea { font: 400 12.5px/1.5 var(--mono); resize: vertical; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feed__empty { color: var(--mute); padding: 20px; border-radius: var(--r); border: 1.5px dashed var(--rule2); text-align: center; }
.fitem { background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--rule); padding: 14px 16px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; animation: cIn .5s var(--ease) backwards; }
.fitem__body { min-width: 0; }
.fitem__who { font-size: 13px; color: var(--mute); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fitem__who code { color: var(--esp2); font-size: 12.5px; }
.fitem__what { margin: 4px 0 6px; font-size: 15.5px; overflow-wrap: anywhere; }
.fitem__what b { font-weight: 600; }
.tokchip { display: inline-flex; align-items: center; gap: 5px; vertical-align: -3px; }
.tokchip img { width: 18px; height: 18px; border-radius: 50%; background: var(--linen); }
.fitem__px { font-size: 12.5px; color: var(--mute); display: flex; gap: 14px; flex-wrap: wrap; }
.fitem__acts { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.fitem__acts button, .fitem__acts a { background: none; border: 0; padding: 0; font: 600 12.5px var(--sans); color: var(--teal-d); cursor: pointer; text-decoration: none; }
.fitem__acts button:hover, .fitem__acts a:hover { text-decoration: underline; }
.grade { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 400 24px/1 var(--serif); background: var(--card2); box-shadow: inset 0 0 0 1px var(--rule2); }
.grade small { display: block; font: 600 9.5px/1 var(--sans); color: var(--mute); margin-top: 2px; }
.grade--A { background: var(--teal); color: #fff; box-shadow: none; } .grade--A small { color: rgba(255, 255, 255, .8); }
.grade--B { background: var(--teal-bg); color: var(--teal-d); box-shadow: none; }
.grade--D, .grade--F { background: var(--clay-bg); color: var(--clay); box-shadow: none; }
.grade--na { color: var(--faint); font-size: 16px; }

/* grade tool */
.grade-form, .delay-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 16px 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--esp2); flex: 1 1 280px; min-width: 0; }
.field--sm { flex: 0 1 150px; }
.field--wide { flex: 1 1 100%; }
.gcard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; border-radius: 16px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--rule); animation: cIn .5s var(--ease); }
.gcard__big { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; text-align: center; font: 400 60px/1 var(--serif); background: var(--esp); color: var(--linen); }
.gcard__big.grade--A { background: var(--teal); } .gcard__big.grade--B { background: var(--teal-bg); color: var(--teal-d); } .gcard__big.grade--D, .gcard__big.grade--F { background: var(--clay-bg); color: var(--clay); }
.gcard h3 { font: 400 28px/1.1 var(--serif); margin: 0 0 6px; overflow-wrap: anywhere; }
.gcard dl { margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 16px; }
.gcard dt { font-size: 12px; color: var(--mute); }
.gcard dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }

/* delay */
.delay-chart { position: relative; margin-top: 8px; }
.delay-chart svg { width: 100%; height: 220px; }
.dc-grid { stroke: var(--rule); stroke-width: 1; }
.dc-line { fill: none; stroke: var(--esp); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dc-area { fill: rgba(79, 127, 125, .12); }
.dc-imp { fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 4 4; }
.dc-dot { fill: var(--card); stroke: var(--esp); stroke-width: 2; }
.dc-lbl { font: 500 11px var(--sans); fill: var(--mute); }
.dc-val { font: 600 11.5px var(--sans); fill: var(--esp); }
.draw-ln { stroke-dasharray: var(--l); stroke-dashoffset: var(--l); animation: dl 1.3s var(--ease) forwards; }
@keyframes dl { to { stroke-dashoffset: 0; } }
.kv { margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 18px; }
.kv dt { font-size: 12px; color: var(--mute); }
.kv dd { margin: 2px 0 0; font: 400 24px/1.15 var(--serif); overflow-wrap: anywhere; }

/* profile */
.pfull { background: var(--card); border-radius: 22px; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -44px rgba(43, 33, 28, .5); overflow: hidden; animation: cIn .5s var(--ease); }
.pfull__cover { height: 86px; position: relative; overflow: hidden; }
.pfull__cover svg { width: 100%; height: 100%; }
.pfull__head { display: flex; gap: 16px; align-items: flex-end; padding: 0 20px; margin-top: -36px; position: relative; flex-wrap: wrap; }
.pfull__head .av--lg { box-shadow: 0 0 0 4px var(--card); }
.pfull__name { min-width: 0; flex: 1 1 200px; padding-bottom: 4px; }
.pfull__name h3 { margin: 0; font: 400 30px/1.1 var(--serif); }
.pfull__name code { font-size: 12px; color: var(--mute); word-break: break-all; }
.pfull__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pfull__stats div { padding: 12px 10px 12px 0; min-width: 0; }
.pfull__stats div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.pfull__stats dt { font-size: 12px; color: var(--mute); }
.pfull__stats dd { margin: 2px 0 0; font: 400 24px/1.1 var(--serif); overflow-wrap: anywhere; }
.pfull__sec { padding: 16px 20px; }
.pfull__sec h4 { margin: 0 0 10px; font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.rhythm { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; align-items: end; height: 54px; }
.rhythm i { display: block; background: var(--teal); border-radius: 3px 3px 0 0; min-height: 3px; transform-origin: bottom; animation: rise .6s var(--ease) backwards; }
.rhythm i.z { background: var(--rule); }
@keyframes rise { from { transform: scaleY(0); } }
.rhythm__x { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--mute); margin-top: 4px; }
.holds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.holds li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.holds__bar { grid-column: 1 / -1; height: 5px; background: var(--linen); border-radius: 3px; overflow: hidden; }
.holds__bar i { display: block; height: 100%; background: var(--esp); transform-origin: left; animation: grow .8s var(--ease) backwards; }
@keyframes grow { from { transform: scaleX(0); } }
.calls { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.calls li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.calls .grade { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.calls .grade small { display: none; }
.pfull__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule); }
.pfull__two > div + div { border-left: 1px solid var(--rule); }

/* proof */
.proof__acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.post .field { margin-bottom: 4px; }
.verdict { font-size: 14px; font-weight: 600; }
.verdict.ok { color: var(--teal-d); } .verdict.bad { color: var(--clay); }

/* rail */
.rail { position: sticky; top: 76px; padding-top: clamp(56px, 7vw, 88px); min-width: 0; }
.rail__in { display: flex; flex-direction: column; gap: 12px; }
.rcard { background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--rule); padding: 16px; min-width: 0; }
.rcard__t { margin: 0 0 12px; font: 400 24px/1 var(--serif); display: flex; align-items: center; gap: 8px; }
.rcard__n { font: 600 12px/1 var(--sans); background: var(--teal-bg); color: var(--teal-d); padding: 4px 8px; border-radius: 999px; }
.rcard__empty { margin: 0; font-size: 13.5px; color: var(--mute); list-style: none; }
.rcard--note { background: var(--esp); color: rgba(246, 242, 236, .82); box-shadow: none; }
.rcard--note .rcard__t { color: var(--linen); }
.rcard--note p { margin: 0; font-size: 13.5px; }
.me { display: flex; gap: 12px; align-items: center; min-width: 0; }
.me__addr { font: 500 12px var(--mono); word-break: break-all; color: var(--esp2); }
.me__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.me__stats div { background: var(--card2); border-radius: 12px; padding: 8px 10px; box-shadow: inset 0 0 0 1px var(--rule); min-width: 0; }
.me__stats dt { font-size: 11px; color: var(--mute); }
.me__stats dd { margin: 2px 0 0; font: 400 20px/1.1 var(--serif); }
.wl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wl li { display: flex; gap: 10px; align-items: center; min-width: 0; animation: cIn .4s var(--ease); }
.wl code { font-size: 12.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl button { border: 0; background: none; color: var(--faint); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 4px; }
.wl button:hover { color: var(--clay); }
.wl .wl__go { color: var(--teal-d); font-size: 12px; font-weight: 600; }

/* ---------- wow ---------- */
.wow { height: 300vh; position: relative; margin-top: clamp(64px, 8vw, 110px); background: var(--esp); color: var(--linen); }
.wow__pin { position: sticky; top: 0; height: 100vh; max-width: var(--mw); margin: 0 auto; padding: 96px var(--gut) 40px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.wow .block__k { color: var(--teal-l); }
.wow__copy { min-width: 0; }
.wow__read { margin: 18px 0; font-size: 16px; color: rgba(246, 242, 236, .8); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wow__read b { font: 400 30px/1 var(--serif); color: var(--linen); }
.wow__steps { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.wow__steps li { counter-increment: w; padding: 10px 0 10px 36px; position: relative; border-top: 1px solid rgba(246, 242, 236, .12); color: rgba(246, 242, 236, .4); transition: color .5s; }
.wow__steps li::before { content: counter(w); position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--sans); box-shadow: inset 0 0 0 1px rgba(246, 242, 236, .3); }
.wow__steps li.is-on { color: var(--linen); }
.wow__steps li.is-on::before { background: var(--teal); box-shadow: none; }
.wow__stage { position: relative; height: min(64vh, 520px); border-radius: 22px; background: #352a24; box-shadow: inset 0 0 0 1px rgba(246, 242, 236, .1); overflow: hidden; min-width: 0; }
#wowCv { width: 100%; height: 100%; }

/* how, faq */
.sect { max-width: var(--mw); margin: 0 auto; padding: clamp(64px, 8vw, 110px) var(--gut) 0; }
.how__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.how__list li { background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--rule); padding: 22px; min-width: 0; }
.how__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-bg); color: var(--teal-d); font: 400 20px/1 var(--serif); }
.how__list h3 { font: 400 26px/1.1 var(--serif); margin: 16px 0 8px; }
.how__list p { margin: 0; font-size: 14.5px; color: var(--esp2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.ledger th { text-align: left; font-weight: 600; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule2); vertical-align: top; width: 42%; }
.ledger td { padding: 12px 0; border-bottom: 1px solid var(--rule2); color: var(--esp2); }
.ledger .tag { margin-right: 6px; }
.faq details { border-bottom: 1px solid var(--rule2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font: 400 22px/1.2 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--teal-bg); transition: transform .35s var(--ease), background .3s; }
.faq details[open] summary::after { transform: scale(.6); background: var(--teal); }
.faq details p { margin: 0 0 18px; color: var(--esp2); font-size: 15px; }

.foot { margin-top: clamp(64px, 8vw, 110px); background: var(--esp); color: rgba(246, 242, 236, .8); }
.foot__row { max-width: var(--mw); margin: 0 auto; padding: 44px var(--gut) 20px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__row > div { max-width: 640px; min-width: 0; }
.foot__word { font: 400 52px/1 var(--serif); color: var(--linen); margin: 0 0 12px; }
.foot__fine { margin: 0; font-size: 13.5px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.foot__links a, .foot__links .linkbtn { color: var(--linen); }
.foot__base { max-width: var(--mw); margin: 0 auto; padding: 0 var(--gut) 28px; font-size: 12px; color: rgba(246, 242, 236, .5); }

/* responsive */
@media (max-width: 1060px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail { position: relative; top: 0; order: -1; padding-top: 32px; }
  .rail__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .how__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__copy { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav { order: 3; margin-left: 0; }
  .wallet-slot { order: 2; margin-left: auto; }
  .nav__list { position: fixed; left: 0; right: 0; top: 63px; flex-direction: column; align-items: stretch; background: var(--card); padding: 8px var(--gut) 16px; border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); box-shadow: 0 24px 40px -24px rgba(43, 33, 28, .4); }
  .nav__list.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__list a { border-radius: 0; padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--rule); }
  .strip__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wow { height: auto; }
  .wow__pin { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding: 64px var(--gut); }
  .wow__stage { height: 300px; }
  .wow__steps li { color: rgba(246, 242, 236, .8); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .pfull__two { grid-template-columns: minmax(0, 1fr); }
  .pfull__two > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .col { border-left: 0; padding-left: 0; }
  .block::before { display: none; }
  .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip dd { font-size: 22px; }
  .how__list { grid-template-columns: minmax(0, 1fr); }
  .pfull__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfull__stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .gcard { grid-template-columns: minmax(0, 1fr); }
  .fitem { grid-template-columns: 30px minmax(0, 1fr); }
  .fitem .grade { grid-column: 2; }
  .brand__word { font-size: 24px; }
  .top__row { gap: 10px; }
  .field--sm { flex: 1 1 130px; }
  .ledger th { width: auto; }
}

/* ---------- fixes ---------- */
.hero__copy > .eyebrow { grid-column: 1 / -1; margin-bottom: -8px; }
.hero__copy > .display { grid-column: 1; }
.hero__copy > .hero__sub { grid-column: 2; }
@media (max-width: 860px) { .hero__copy > .display, .hero__copy > .hero__sub { grid-column: 1; } }
.tw-ring { fill: none; }
.grade--na { font: 600 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
