/* Megiste Studio · Blender. The studio's dark palette, with a Blender viewport feel. */
@font-face { font-family: "Public Sans"; src: url(../fonts/sans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/serif-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/mono.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #101310;
  --panel: #171a17;
  --raised: #1f241f;
  --line: #2b322a;
  --line-strong: #3d463b;
  --ink: #eeece3;
  --muted: #a3ab9e;
  --faint: #6f786b;
  --sage: #a6c8a5;
  --sage-ink: #142014;
  --sage-hover: #b8d6b7;
  --rust: #d2894f;
  --rust-hover: #dd9a63;
  --prose: #cfd3c8;
  --ok-ink: #d2e7d1;
  --err-ink: #f4c6bc;
  --top: rgb(16 19 16 / 82%);
  --blue: #6fa8dc;
  --danger: #e08b7a;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 35%), 0 24px 60px -24px rgb(0 0 0 / 70%);
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f2ea;
  --panel: #fffcf5;
  --raised: #ece8dc;
  --line: #ddd9cb;
  --line-strong: #c4c0b0;
  --ink: #222920;
  --muted: #545c51;
  --faint: #7a8176;
  --sage: #2f5a42;
  --sage-ink: #fffcf5;
  --sage-hover: #3a6c50;
  --rust: #b0612a;
  --rust-hover: #c06d33;
  --prose: #39413a;
  --ok-ink: #1f4a30;
  --err-ink: #8a2c1c;
  --top: rgb(245 242 234 / 85%);
  --shadow: 0 1px 2px rgb(34 41 32 / 6%), 0 18px 40px -18px rgb(34 41 32 / 22%);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f2ea;
    --panel: #fffcf5;
    --raised: #ece8dc;
    --line: #ddd9cb;
    --line-strong: #c4c0b0;
    --ink: #222920;
    --muted: #545c51;
    --faint: #7a8176;
    --sage: #2f5a42;
    --sage-ink: #fffcf5;
    --sage-hover: #3a6c50;
    --rust: #b0612a;
    --rust-hover: #c06d33;
    --prose: #39413a;
    --ok-ink: #1f4a30;
    --err-ink: #8a2c1c;
    --top: rgb(245 242 234 / 85%);
    --shadow: 0 1px 2px rgb(34 41 32 / 6%), 0 18px 40px -18px rgb(34 41 32 / 22%);
    color-scheme: light;
  }
}
/* renders, the 3D viewer and video stay dark in both themes, like a viewport */
.stage, .compare, .video, .card .shot, .own-shot {
  --bg: #101310; --raised: #1f241f; --ink: #eeece3; --muted: #a3ab9e; --faint: #6f786b; --line: #2b322a; --line-strong: #3d463b; --rust: #d2894f;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; width: 100%; }
body > main.wrap, body > main.narrow { width: min(1180px, 100% - 32px); }
body > main.narrow { width: min(460px, 100% - 32px); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sage); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 16px; top: -60px; padding: 8px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }
.brand b { font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 6px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.icons { display: flex; gap: 8px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--rust); color: #1a0f07; font: 700 11px/19px var(--sans); text-align: center; }
@media (max-width: 720px) { .nav { display: none; } .brand span { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--sage); color: var(--sage-ink); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { color: var(--sage-ink); background: var(--sage-hover); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.rust { background: var(--rust); color: #1a0f07; }
.btn.rust:hover { background: var(--rust-hover); }
.btn.wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--sage); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -.04em; margin: 18px 0 20px; }
.hero h1 .rust { color: var(--rust); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 880px) { .hero-in { grid-template-columns: 1fr; padding: 48px 0 40px; gap: 28px; } }

/* 3D stage */
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; background: radial-gradient(70% 60% at 50% 45%, #232a23 0%, #121512 70%); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.stage model-viewer, .stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.stage .mv { transition: opacity .45s ease, visibility 0s linear .45s; }
.stage[data-state="new"] .mv.old, .stage[data-state="old"] .mv.new { opacity: 0; visibility: hidden; pointer-events: none; }
.stage[data-state="new"] .mv.new, .stage[data-state="old"] .mv.old { transition: opacity .45s ease, visibility 0s; }
.stage .loading { position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0; transition: opacity .3s; }
.stage .loading span { display: block; height: 100%; width: 4%; background: var(--rust); transition: width .25s; }
.stage.busy .loading { opacity: 1; }
.stage.busy .mv { cursor: progress; }
.picks { position: absolute; top: 14px; left: 14px; right: 70px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.picks::-webkit-scrollbar { display: none; }
.picks button { flex: none; border: 1px solid var(--line-strong); background: rgb(16 19 16 / 75%); backdrop-filter: blur(8px); color: var(--muted); padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; }
.picks button:hover { color: var(--ink); }
.picks button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.stage .poster { object-fit: cover; }
.stage-ui { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgb(16 19 16 / 80%); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button[aria-pressed="true"].old { background: var(--rust); color: #1a0f07; }
.hint { font: 500 12px/1.4 var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; background: rgb(16 19 16 / 70%); padding: 6px 10px; border-radius: 8px; }
.axes { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; opacity: .8; }

/* before / after slider */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #000; touch-action: pan-y; user-select: none; cursor: ew-resize; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: #fff; }
.compare .knob { position: absolute; top: 50%; left: var(--x, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / 50%); }
.compare .tag { position: absolute; top: 14px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: rgb(0 0 0 / 60%); }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; color: var(--rust); }

.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; margin: 22px 0 8px; }
div.examples figure { margin: 0; }
div.examples figcaption { margin-top: 10px; font-weight: 700; color: var(--ink); font-size: 15px; }
div.examples figcaption span { color: var(--rust); font-weight: 600; }
div.examples .knob { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 14px; }

/* sections */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; max-width: 720px; }
.section h2 .serif { font-size: 1.1em; }
.section .lead { color: var(--muted); max-width: 620px; margin-top: 14px; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* plain points instead of an icon grid */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 28px; }
.points h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.points p { color: var(--muted); font-size: 16px; }
@media (max-width: 880px) { .points { grid-template-columns: 1fr; gap: 24px; } }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); color: inherit; }
.card .shot { aspect-ratio: 16 / 10; overflow: hidden; background: #000; position: relative; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .shot img { transform: scale(1.04); }
.card .chips { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.chip { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line-strong); }
.chip.new { color: var(--rust); border-color: color-mix(in srgb, var(--rust) 50%, transparent); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 15px; }
.card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.price { font-weight: 800; font-size: 20px; }
.price s { color: var(--faint); font-weight: 500; font-size: 15px; margin-left: 6px; }
.arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.card.soon { border-style: dashed; background: transparent; justify-content: center; align-items: start; padding: 26px; min-height: 260px; }

/* product page */
.buy { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.options { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px; cursor: pointer; }
.opt input { accent-color: var(--sage); width: 18px; height: 18px; }
.opt .t { display: flex; flex-direction: column; flex: 1; line-height: 1.35; }
.opt .t b { font-size: 16px; }
.opt .t span { color: var(--muted); font-size: 14px; }
.opt .p { font-weight: 800; }
.opt:has(input:checked) { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 8%, transparent); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--sage); margin-right: 8px; font-weight: 700; }
.offer { font-size: 14px; border: 1px dashed color-mix(in srgb, var(--rust) 60%, transparent); color: var(--ink); border-radius: 10px; padding: 10px 12px; }
.offer b { color: var(--rust); }
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .pgrid { grid-template-columns: 1fr; } .buy { position: static; } }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 56px 0 14px; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--prose); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.prose strong { color: var(--ink); }
.prose figure { margin: 24px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.prose figcaption { font-size: 14px; color: var(--faint); margin-top: 8px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; }
.specs dt { color: var(--faint); } .specs dd { margin: 0; }

/* forms and panels */
.narrow { width: min(460px, 100% - 32px); margin: 64px auto 96px; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 28px; }
.panel h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); padding: 0 14px; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 25%, transparent); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin: 18px 0 4px; }
.tabs button { border: 0; background: none; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--raised); color: var(--ink); }
.msg { margin-top: 14px; font-size: 15px; padding: 12px 14px; border-radius: 10px; }
.msg.err { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--err-ink); }
.msg.ok { background: color-mix(in srgb, var(--sage) 14%, transparent); color: var(--ok-ink); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* cart and orders */
.lines { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--panel); }
.line img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.line .t > b { display: block; font-size: 17px; }
.line .t { min-width: 0; }
.lic { display: inline-flex; gap: 4px; margin-top: 10px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); max-width: 100%; }
.lic button { display: flex; align-items: baseline; gap: 8px; border: 0; background: transparent; color: var(--muted); padding: 7px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.lic button b { font-weight: 700; }
.lic button span { font: 500 13px/1 var(--mono); color: var(--faint); }
.lic button:hover { color: var(--ink); }
.lic button[aria-checked="true"] { background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lic button[aria-checked="true"] span { color: var(--rust); }
.lic-note { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }
.line .r { text-align: right; display: grid; gap: 6px; justify-items: end; }
@media (max-width: 520px) { .line { grid-template-columns: 64px minmax(0, 1fr); } .line img { width: 64px; } .line .r { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; } }
.summary { display: grid; gap: 10px; }
.summary .tot { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .cart-grid { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--muted); }
.page-title { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 28px; }
.summary { position: sticky; top: 88px; }
.sendto { display: grid; gap: 8px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.sendto label { font-size: 14px; font-weight: 700; }
.sendto input { height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); padding: 0 14px; font-size: 16px; width: 100%; }
.sendto input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 25%, transparent); }
.sendto input[aria-invalid="true"] { border-color: var(--danger); }
.sendto p { font-size: 13px; line-height: 1.5; margin: 0; }
.sendto .link { justify-self: start; font-size: 14px; }
.sendto.signed { gap: 2px; font-size: 14px; }
.sendto.signed b { font-size: 16px; overflow-wrap: anywhere; }
.summary .btn { margin-top: 6px; }
.summary .secure { font-size: 12px; text-align: center; margin: 0; }
.empty-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: -8px 0 22px; }
.empty-head p { margin: 0; font-size: 18px; color: var(--muted); }
.empty-head a { color: var(--sage); }
#picks .card h3 a { color: inherit; text-decoration: none; }
#picks .card .shot { display: block; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (max-width: 860px) { .summary { position: static; } }
.order { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg); }
.order + .order { margin-top: 10px; }
.status { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line-strong); }
.status.paid { color: var(--sage); }

/* footer */
.foot-site { padding: 48px 0 64px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-in a { text-decoration: none; }

/* reveal on scroll */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rise.in { opacity: 1; transform: none; }

/* account: one menu, three pages */
.acct { padding: 56px 0 96px; }
.acct-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.acct-head .page-title { margin-bottom: 18px; }
.acct-who { font-size: 14px; color: var(--muted); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 26px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.acct-nav a { padding: 12px 16px; text-decoration: none; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acct-nav a:hover { color: var(--ink); }
.acct-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rust); }
.acct #verifyNote { margin: -8px 0 24px; }
.acct-empty { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 44px 28px; text-align: center; }
.acct-empty h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.acct-empty p { color: var(--muted); margin: 0 auto 20px; max-width: 420px; }
.acct-foot { font-size: 14px; margin-top: 22px; }

.owned { display: grid; gap: 14px; }
.own { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 14px; }
.own-shot { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.own-shot img { width: 100%; height: 100%; object-fit: cover; }
.own-body h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.own-meta { margin: 4px 0 2px; color: var(--ink); font-size: 15px; }
.own-note { font-size: 14px; margin: 0; }
.own-act { display: grid; gap: 10px; justify-items: center; padding-right: 8px; }
.own-act .btn { min-width: 150px; }
.own-act .link { font-size: 14px; }
.own-msg { grid-column: 2 / -1; margin: -6px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .own { grid-template-columns: 1fr; gap: 14px; }
  .own-act { grid-auto-flow: column; justify-content: space-between; align-items: center; padding: 0; }
  .own-msg { grid-column: 1; }
}

.orders { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.ord { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; }
.ord + .ord { border-top: 1px solid var(--line); }
.ord-id { display: grid; gap: 2px; }
.ord-id span { font-size: 14px; }
.ord-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ord-sum { display: flex; align-items: center; gap: 14px; }
@media (max-width: 620px) { .ord { grid-template-columns: 1fr auto; } .ord-items { grid-column: 1 / -1; grid-row: 2; } }

.settings { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.set-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 26px 28px; }
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-label h2 { font-size: 17px; font-weight: 800; }
.set-label p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.set-body { max-width: 420px; }
.set-value { margin: 0 0 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
@media (max-width: 720px) { .set-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; } }

/* browsers paint autofilled fields light blue; keep them in our colors */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--ink);
  transition: background-color 9999s;
}
@media (max-width: 620px) { .acct-who { display: none; } }

/* on/off switch */
.switch { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; margin-top: 2px; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .2s; }
.switch input:checked + .track { background: var(--sage); }
.switch input:checked + .track::after { transform: translateX(18px); background: var(--sage-ink); }
.switch input:focus-visible + .track { outline: 2px solid var(--sage); outline-offset: 3px; }
.switch input:disabled + .track { opacity: .6; }

.theme-btn svg { width: 18px; height: 18px; }
.ext-hero > .wrap { padding: 76px 0 60px; } .ext-hero .lead { max-width: 620px; }
.shot .chip, .stage .chip { background: rgb(10 12 10 / 75%); }
