/* agentictransactions.ai, direction C (hyperreal card, dark) */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono-latin.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #030405;
  --bg-2: #07090b;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --panel-solid: #0a0d10;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f6f7;
  --muted: #9aa1ac;
  --dim: #80878f;
  --mint: #5cf2b4;
  --mint-soft: rgba(92, 242, 180, 0.12);
  --mint-ink: #02110b;
  --amber: #f5c451;
  --red: #ff7a7a;
  --max: 1312px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --radius: 20px;
  --radius-sm: 12px;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--mint-ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--mint); color: var(--mint-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); margin: 0; }
.label { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 76px); }
h2 { font-size: clamp(32px, 3.6vw, 52px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); line-height: 1.55; margin: 0; max-width: 34em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: var(--radius-sm); border: 0;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn-mint { background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 0 rgba(92, 242, 180, 0); }
.btn-mint:hover { background: #7af6c4; box-shadow: 0 8px 32px -8px rgba(92, 242, 180, 0.55); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.pill { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; background: #fff; color: var(--bg); }
.pill:hover { background: #e6e9eb; }
.link-arrow { color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 0.2s; }
.link-arrow:hover { border-color: var(--mint); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s var(--ease), border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(3, 4, 5, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.wordmark { font-family: var(--mono); font-weight: 500; font-size: 15px; text-decoration: none; letter-spacing: 0; display: inline-flex; align-items: center; gap: 10px; }
.wordmark-mark { width: 12px; height: 12px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 18px rgba(92, 242, 180, 0.7); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.pill) { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.nav-links a:not(.pill):hover, .nav-links a[aria-current='page'] { color: var(--text); }

/* hero */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 120px 0 64px; }
.hero-art { position: absolute; z-index: -1; right: -3vw; top: 50%; width: min(86vw, 1240px); aspect-ratio: 1264 / 848; transform: translateY(-50%); pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); mask-composite: intersect; }
.hero-art::before { /* left veil */
  content: ''; position: absolute; inset: 0 auto 0 0; width: 46%; z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(3, 4, 5, 0.85) 30%, rgba(3, 4, 5, 0) 100%);
}
.hero-art::after { /* bottom and top veils */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(3, 4, 5, 0) 14%, rgba(3, 4, 5, 0) 78%, var(--bg) 100%);
}
.hero-glow { position: absolute; z-index: 2; left: 62.7%; top: 46.5%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 255, 210, 0.42) 0%, rgba(92, 242, 180, 0.12) 38%, rgba(92, 242, 180, 0) 70%);
  mix-blend-mode: screen; animation: pulse 4.2s ease-in-out infinite; }
.hero > .wrap, .page-hero > .wrap { min-width: 0; }
.hero-copy { position: relative; max-width: 860px; min-width: 0; display: grid; gap: 26px; }
.hero h1 .dim { color: rgba(255, 255, 255, 0.45); display: block; }
.hero .lead { max-width: 30em; }

@keyframes drift { from { transform: translate3d(0, -6px, 0) rotate(-0.4deg) scale(1.01); } to { transform: translate3d(-10px, 8px, 0) rotate(0.5deg) scale(1.03); } }
@keyframes pulse { 0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.8s var(--ease) both; }
.rise-2 { animation-delay: 0.08s; } .rise-3 { animation-delay: 0.16s; } .rise-4 { animation-delay: 0.24s; }

/* glass panel */
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(30px) saturate(130%); -webkit-backdrop-filter: blur(30px) saturate(130%); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(92, 242, 180, 0.6); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(92, 242, 180, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(92, 242, 180, 0); } }
html[data-auction='paused'] .live, html[data-auction='sold'] .live { color: var(--amber); }
html[data-auction='paused'] .live::before, html[data-auction='sold'] .live::before { background: var(--amber); animation: none; }

.bid-panel { padding: 22px; display: grid; gap: 18px; max-width: 600px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.stat { display: grid; gap: 6px; }
.stat-value { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-value.is-empty { color: var(--dim); }
.quick-bid { display: flex; gap: 10px; }
.amount-field { position: relative; flex: 1; min-width: 0; }
.amount-field::before { content: '£'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--dim); font-size: 17px; pointer-events: none; }
.input {
  width: 100%; height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.45);
  color: var(--text); font: 500 17px/1 var(--sans); padding: 0 16px; transition: border-color 0.2s, background 0.2s;
}
.amount-field .input { padding-left: 34px; font-variant-numeric: tabular-nums; }
.input:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus { outline: none; border-color: var(--mint); background: rgba(0, 0, 0, 0.6); }
textarea.input { height: auto; min-height: 110px; padding: 14px 16px; line-height: 1.5; resize: vertical; font-weight: 400; }
.panel-foot { font-family: var(--mono); font-size: 12px; color: var(--dim); margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.panel-foot a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.panel-foot a:hover { color: var(--text); }
.error-note { font-family: var(--mono); font-size: 12px; color: var(--amber); margin: 0; }
.error-note:empty { display: none; }

/* sections */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split .section-head { margin-bottom: 0; }
.prose p { color: var(--muted); margin: 0 0 1em; max-width: 34em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 500; }

/* example feed */
.feed { position: relative; height: 560px; overflow: hidden; border-radius: var(--radius); background: var(--panel-solid); border: 1px solid var(--line); }
.feed-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--panel-solid); }
.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.feed-row.is-new { animation: slidein 0.7s var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-18px); background: rgba(92, 242, 180, 0.07); } to { opacity: 1; transform: none; background: transparent; } }
.feed-agent, .feed-time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.feed-time { color: var(--dim); text-align: right; }
.feed-what { font-size: 15px; }
.feed-amt { font-size: 15px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.chip { grid-column: 1 / -1; justify-self: start; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); }
.chip.hold { background: rgba(245, 196, 81, 0.12); color: var(--amber); }
.chip.no { background: rgba(255, 122, 122, 0.12); color: var(--red); }
.feed::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(180deg, rgba(10, 13, 16, 0), var(--panel-solid)); pointer-events: none; }

/* cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card .src { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-decoration: none; border-top: 1px solid var(--line); padding-top: 14px; }
.card a.src:hover { color: var(--muted); }
.card-date { font-family: var(--mono); font-size: 12px; color: var(--mint); letter-spacing: 0.04em; }

/* spec sheet */
.spec { border-top: 1px solid var(--line-2); }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-row dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.spec-row dd { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.spec-row dd .muted { font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); display: grid; gap: 12px; align-content: start; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--mint); }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* closing call */
.closing { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
  background: radial-gradient(120% 140% at 100% 0%, rgba(92, 242, 180, 0.16) 0%, rgba(92, 242, 180, 0) 52%), var(--panel-solid); }
.closing .stat-value { font-size: clamp(34px, 4vw, 56px); }

/* articles */
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.post-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease); min-height: 240px; }
.post-card:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-2px); }
.post-card h3 { font-size: 22px; line-height: 1.2; }
.post-card.is-feature { min-height: 420px; background: radial-gradient(90% 120% at 100% 0%, rgba(92, 242, 180, 0.14), rgba(92, 242, 180, 0) 60%), var(--panel-solid); }
.post-card.is-feature h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.08; max-width: 18em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.post-meta .tag { color: var(--mint); }
.post-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.post-list { display: grid; gap: 16px; }
.upcoming { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.upcoming li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.upcoming li span { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 4px; }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 168px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero .hero-art { width: min(64vw, 900px); right: -8vw; top: 46%; opacity: 0.55; }
.page-hero .hero-copy { max-width: 700px; }

/* bid page */
.bid-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.auction-card { padding: 28px; display: grid; gap: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stat-grid .stat { padding: 18px 0; border-bottom: 1px solid var(--line); }
.stat-grid .stat:nth-child(3n + 2), .stat-grid .stat:nth-child(3n + 3) { padding-left: 18px; border-left: 1px solid var(--line); }
.stat-grid .stat-value { font-size: 24px; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.history .h-who { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.history .h-when { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.history .h-amt { font-weight: 500; font-variant-numeric: tabular-nums; }
.history li.is-top .h-amt { color: var(--mint); }
.history li.history-empty { display: block; color: var(--dim); font-size: 15px; }
.form-card { padding: 28px; display: grid; gap: 18px; position: sticky; top: 104px; }
.field { display: grid; gap: 8px; }
.field label, .field .label-text { font-size: 14px; color: var(--muted); }
.field .hint { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mint); }
.form-message { margin: 0; font-size: 15px; line-height: 1.5; }
.form-message.is-ok { color: var(--mint); }
.form-message.is-error { color: var(--amber); }
.hp { position: absolute; left: -9999px; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.table th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.table td:last-child, .table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.terms { margin: 0; padding: 0 0 0 1.2em; color: var(--muted); display: grid; gap: 12px; max-width: 46em; }
.terms li::marker { color: var(--mint); font-family: var(--mono); font-size: 13px; }
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 20px; color: var(--mint); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 44em; }
.placeholder { background: rgba(245, 196, 81, 0.16); color: var(--amber); padding: 0 6px; border-radius: 4px; font-family: var(--mono); font-size: 0.85em; }

/* article */
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.article-head { padding: 160px 0 48px; display: grid; gap: 22px; max-width: 880px; }
.article-head h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article-body { font-size: 18px; line-height: 1.72; color: #d6dade; padding-bottom: 96px; }
.article-body h2 { font-size: clamp(26px, 2.4vw, 32px); margin: 56px 0 18px; color: var(--text); line-height: 1.15; letter-spacing: -0.025em; }
.article-body h3 { margin: 36px 0 12px; color: var(--text); }
.article-body p { margin: 0 0 1.2em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.3em; display: grid; gap: 8px; }
.article-body li::marker { color: var(--mint); }
.article-body a { color: var(--text); text-decoration-color: rgba(92, 242, 180, 0.6); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--mint); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--mint); color: var(--text); }
.callout { margin: 2em 0; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); }
.callout p:last-child { margin-bottom: 0; }
.article-body .table { font-size: 15.5px; margin: 1.6em 0; }
.article-body .table td:last-child, .article-body .table th:last-child { text-align: left; }
.sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.sources h2 { margin-top: 0; font-size: 20px; }
.sources ol { gap: 6px; }
.sources a { word-break: break-word; }
.aside { position: sticky; top: 104px; display: grid; gap: 16px; padding-top: 8px; }
.aside .bid-panel { max-width: none; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--dim); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer .wordmark { color: var(--text); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* tablet */
@media (max-width: 1100px) {
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bid-layout, .article-wrap { grid-template-columns: 1fr; }
  .form-card, .aside { position: static; }
  .aside { max-width: 720px; padding-bottom: 72px; }
}

/* phone: the desktop composition, smaller; words over a veiled card */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .nav-links { gap: 18px; }
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 430px) {
  .nav-links .hide-xs { display: none; }
  .pill { height: 36px; padding: 0 14px; font-size: 14px; }
  .wordmark { font-size: 13px; }
  .hero { min-height: auto; padding: 96px 0 40px; align-items: flex-start; }
  .hero-art { width: 150vw; right: -62vw; top: 96px; transform: none; opacity: 0.6; }
  .hero-art::before { width: 70%; }
  .hero-copy { gap: 20px; padding-top: 4px; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 46px); }
  .bid-panel { padding: 18px; gap: 16px; }
  .stats { gap: 12px 24px; }
  .stat-value { font-size: 22px; }
  .quick-bid .btn { padding: 0 20px; }
  .split, .post-feature, .closing { grid-template-columns: 1fr; }
  .feed { height: 470px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .card p { font-size: 14.5px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step { padding: 18px; }
  .step p { font-size: 14.5px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .page-hero { padding: 120px 0 40px; }
  .page-hero .hero-art { width: 130vw; right: -60vw; top: 40px; }
  .auction-card, .form-card { padding: 20px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid .stat:nth-child(3n + 2), .stat-grid .stat:nth-child(3n + 3) { padding-left: 0; border-left: 0; }
  .stat-grid .stat:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .row-2 { grid-template-columns: 1fr; }
  .article-head { padding: 112px 0 32px; }
  .article-body { font-size: 17px; }
  .post-card, .post-card.is-feature { min-height: 0; padding: 22px; }
  .closing { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* select */
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
select.input option { background: var(--panel-solid); color: var(--text); }

/* footnote markers sit on the line without stretching it */
sup { font-size: 0.68em; line-height: 0; position: relative; top: -0.55em; vertical-align: baseline; margin-left: 1px; }
sup a, .article-body sup a { text-decoration: none; color: var(--mint); font-family: var(--mono); }
.article-body .table td { vertical-align: top; }
