/* davearcher.live: "fleet ops HUD" theme. Deep space, alert red, thin cold HUD lines. */
@font-face { font-family: "Saira Condensed"; src: url(/fonts/saira-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url(/fonts/saira-condensed-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/fonts/ibm-plex-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/fonts/ibm-plex-sans-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/ibm-plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/ibm-plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #05070a;
  --bg-2: #0a0e14;
  --panel: rgba(12, 17, 25, .86);
  --panel-solid: #0c1119;
  --line: rgba(148, 178, 210, .14);
  --line-strong: rgba(148, 178, 210, .3);
  --text: #e9eef4;
  --muted: #8b97a7;
  --hud: #9cc7e6;
  --red: #e5281c;
  --red-dark: #b81d13;
  --red-glow: rgba(229, 40, 28, .38);
  --ok: #5fd38d;
  --tile: #eef1f4;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip; /* full-bleed hero uses 100vw */
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(229, 40, 28, .16), transparent 60%),
    radial-gradient(900px 700px at -10% 38%, rgba(60, 110, 170, .12), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
}
/* starfield: two fixed layers of tiny points */
body::before, body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 140px 90px, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 260px 170px, rgba(200,225,255,.5), transparent 60%),
    radial-gradient(1px 1px at 330px 40px, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 90px 230px, rgba(255,255,255,.4), transparent 60%);
  background-size: 380px 280px;
  opacity: .55;
}
body::after { background-size: 610px 470px; background-position: 120px 60px; opacity: .35; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: .1em 0 .3em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0; }
h3 { font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .18em; color: var(--hud); margin: 2.4rem 0 1rem; display: flex; align-items: center; gap: 12px; }
h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 72px; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- shared HUD pieces */
.label, .sec-idx { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--hud); }
.hud { position: relative; background: var(--panel); border: 1px solid var(--line); }
.hud::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; --c: var(--line-strong); --s: 14px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 2px, linear-gradient(var(--c), var(--c)) top left / 2px var(--s),
    linear-gradient(var(--c), var(--c)) top right / var(--s) 2px, linear-gradient(var(--c), var(--c)) top right / 2px var(--s),
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 2px, linear-gradient(var(--c), var(--c)) bottom left / 2px var(--s),
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 2px, linear-gradient(var(--c), var(--c)) bottom right / 2px var(--s);
  background-repeat: no-repeat; transition: --c .2s;
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--red-glow); } 70% { box-shadow: 0 0 0 9px rgba(229,40,28,0); } 100% { box-shadow: 0 0 0 0 rgba(229,40,28,0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .95rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; border: 0; padding: 15px 24px; color: #fff; text-decoration: none; text-align: center;
  background: var(--red);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background .15s, transform .15s, filter .15s;
}
.btn:hover { background: var(--red-dark); filter: drop-shadow(0 0 14px var(--red-glow)); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: rgba(156, 199, 230, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); clip-path: none; }
.btn.ghost:hover { background: rgba(156, 199, 230, .16); filter: none; }
.btn .arrow { font-family: var(--mono); }

/* ---------- header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 20px; background: rgba(5, 7, 10, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font: 800 1.35rem/1 var(--display); letter-spacing: .06em; }
.brand b { color: var(--red); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { right: 0; }
.main-nav .sep { width: 1px; height: 16px; background: var(--line-strong); }
.cart-link { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 14px; border: 1px solid var(--line-strong); white-space: nowrap; transition: border-color .15s; }
.cart-link:hover { border-color: var(--red); }
.cart-count { display: inline-block; min-width: 1.7em; margin-left: 6px; padding: 2px .45em; background: var(--red); color: #fff; text-align: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); font-size: 1.1rem; padding: 6px 11px; margin-left: auto; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 20px 20px; background: rgba(5, 7, 10, .97); border-bottom: 1px solid var(--line); }
  .main-nav a { font-size: .85rem; padding: 10px 0; }
  .menu-open .main-nav { display: flex; }
  .main-nav .sep { width: 100%; height: 1px; margin: 6px 0; }
  .brand span { font-size: 1.15rem; }
}

/* ---------- HUD ticker strip */
.ticker { border-bottom: 1px solid var(--line); background: rgba(10, 14, 20, .7); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: 9px 0; animation: tick 48s linear infinite; }
.ticker-track > span { font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 22px; border-right: 1px solid var(--line); }
.ticker b { color: var(--hud); font-weight: 500; }
.ticker .live { color: var(--text); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- hero */
.hero { position: relative; margin: 0 calc(50% - 50vw); padding: clamp(48px, 8vw, 104px) 20px clamp(56px, 8vw, 96px); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .95;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); }
.reticle { position: absolute; right: -120px; top: 50%; width: 640px; height: 640px; translate: 0 -50%; opacity: .5; pointer-events: none; animation: spin 90s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero-grid { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.hero-title { font-size: clamp(4rem, 12.5vw, 9.6rem); line-height: .8; margin: 0 0 26px; letter-spacing: -.005em; }
.hero-title span { display: block; }
.hero-title span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero-copy p:not(.kicker) { color: #c9d2dd; font-size: 1.08rem; max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pilot { padding: 26px; backdrop-filter: blur(6px); }
.pilot-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.pilot-head img { width: 84px; height: 84px; padding: 4px; border: 1px solid var(--line-strong); background: #000; }
.pilot-head strong { display: block; font: 800 1.9rem/1 var(--display); text-transform: uppercase; margin-top: 6px; }
.pilot dl { margin: 0; }
.pilot dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.pilot dl div:last-child { border-bottom: 0; }
.pilot dt { font: 500 .72rem/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pilot dd { margin: 0; text-align: right; font-weight: 600; }
.pilot dd b { color: var(--red); font-weight: 600; }
.pilot dd img { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }
.pilot dd.ok a { text-decoration: none; border-bottom: 1px dashed currentColor; }
.pilot dd.ok { color: var(--ok); font-family: var(--mono); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.pilot dd.ok::before { content: "▲ "; font-size: .7em; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bg { opacity: .7; object-position: 60% 30%; }
  .reticle { width: 420px; height: 420px; right: -160px; top: 30%; }
}

/* load-in: staggered rise */
.rise { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- sections */
.block { padding-top: clamp(56px, 8vw, 96px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sec-head .sec-idx { display: block; margin-bottom: 10px; }
.sec-head .sec-idx em { color: var(--red); font-style: normal; }
.sec-link { font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--hud); text-decoration: none; white-space: nowrap; }
.sec-link:hover { color: var(--text); }

/* live */
.live-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.stream { position: relative; aspect-ratio: 16 / 9; background: #000; padding: 0; }
.stream iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-side { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.live-side p { margin: 0; color: #c9d2dd; }
.live-side .btn:not(.ghost) { margin-top: auto; }
@media (max-width: 860px) { .live-grid { grid-template-columns: 1fr; } }

/* recruitment */
.recruit { margin-top: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(110deg, rgba(229, 40, 28, .14), transparent 55%), #000; border: 1px solid var(--line); }
.recruit::after { content: "ASCEE"; position: absolute; right: -10px; bottom: -40px; font: 800 clamp(7rem, 18vw, 15rem)/1 var(--display); color: rgba(255, 255, 255, .035); pointer-events: none; }
.emblem { position: relative; width: 280px; aspect-ratio: 1; display: grid; place-items: center; }
.emblem img { width: 74%; position: relative; z-index: 1; mix-blend-mode: screen; }
.emblem svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite reverse; }
.recruit h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: .25em 0 .4em; }
.recruit .ticker-tag { color: var(--red); }
.recruit p { color: #c9d2dd; max-width: 38em; margin: 0; position: relative; z-index: 1; }
.recruit .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font: 500 .74rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.recruit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; position: relative; z-index: 1; }
.block .recruit { margin-top: 0; }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; position: relative; z-index: 1; }
.perks li { font-size: .95rem; color: #dbe2ea; padding-left: 20px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 1px; background: var(--red); box-shadow: 0 -3px 0 var(--red); }
.apply { margin-top: 20px !important; padding: 14px 16px; border: 1px dashed var(--line-strong); font-size: .95rem; }
.apply .label { display: block; margin-bottom: 4px; color: var(--red); }
.stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.stats > div { flex: 1 1 110px; padding: 14px 16px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.stats > div:last-child { border-right: 0; }
.stats strong { font: 800 1.9rem/1 var(--display); }
.stats .label { color: var(--muted); font-size: .66rem; }
.stats .ally { display: flex; align-items: center; gap: 10px; }
.stats .ally img { width: 40px; height: 40px; }
@media (max-width: 760px) {
  .recruit { grid-template-columns: 1fr; text-align: left; justify-items: stretch; }
  .emblem { width: 170px; justify-self: center; }
  .recruit h2 { text-align: center; }
  .recruit .eyebrow { justify-content: center; }
  .recruit-actions { justify-content: center; }
  .perks { grid-template-columns: 1fr; }
  .stats > div { flex-basis: 45%; border-bottom: 1px solid var(--line); }
}

/* collection tiles on the home page */
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coll { display: flex; flex-direction: column; text-decoration: none; padding: 10px; transition: transform .2s; }
.coll .shot { background: var(--tile); aspect-ratio: 1; overflow: hidden; }
.coll .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.coll .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 4px 4px; }
.coll strong { font: 800 1.45rem/1 var(--display); text-transform: uppercase; }
.coll .label { color: var(--muted); }
.coll .coll-sub { padding: 2px 4px 4px; color: var(--hud); font-size: .66rem; }
@media (max-width: 560px) { .coll .meta { flex-direction: column; gap: 6px; } .coll strong { font-size: 1.25rem; } }
.coll:hover { transform: translateY(-3px); }
.coll:hover::before { --c: var(--red); }
.coll:hover .shot img { transform: scale(1.05); }
.center { text-align: center; margin-top: 32px; }

/* channels */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.channel { display: grid; gap: 6px; padding: 20px; text-decoration: none; transition: background .2s; }
.channel .label { color: var(--muted); }
.channel strong { font: 800 1.6rem/1 var(--display); text-transform: uppercase; display: flex; justify-content: space-between; }
.channel strong::after { content: "↗"; font: 400 1rem var(--mono); color: var(--muted); transition: color .2s, transform .2s; }
.channel span:last-child { color: var(--muted); font-size: .92rem; }
.channel:hover { background: rgba(229, 40, 28, .08); }
.channel:hover::before { --c: var(--red); }
.channel:hover strong::after { color: var(--red); transform: translate(2px, -2px); }

/* ---------- page heads, shop + collections */
.page-head { padding: clamp(40px, 6vw, 72px) 0 8px; }
.page-head h1 { font-size: clamp(3rem, 8vw, 5.6rem); margin: .12em 0 .2em; }
.page-head p { color: var(--muted); margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jump a { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 11px 14px; border: 1px solid var(--line-strong); color: var(--muted); transition: color .15s, border-color .15s; }
.jump a:hover { color: var(--text); border-color: var(--red); }
.collection { padding-top: 36px; scroll-margin-top: 90px; }
.collection > h2 { display: flex; align-items: baseline; gap: 14px; }
.collection > h2 a { text-decoration: none; }
.collection > h2 a:hover { color: var(--red); }
.collection > h2 .label { font-size: .7rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); padding: 8px 8px 14px; transition: transform .2s, border-color .2s; }
.card img { aspect-ratio: 1; object-fit: cover; background: var(--tile); margin-bottom: 8px; transition: filter .3s; }
.card-title { font-weight: 600; font-size: .95rem; line-height: 1.3; padding: 0 4px; }
.card-price { font: 500 .82rem/1.4 var(--mono); color: var(--hud); padding: 0 4px; }
.card:hover { transform: translateY(-3px); border-color: rgba(229, 40, 28, .6); }
.card:hover img { filter: brightness(1.04); }

/* ---------- product */
.crumbs { margin: 28px 0 0; font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--hud); }
.crumbs a::before { content: "← "; }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 20px; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }
.gallery #main-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--tile); border: 1px solid var(--line); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: var(--tile); cursor: pointer; width: 66px; transition: border-color .15s; }
.thumbs button.on, .thumbs button:hover { border-color: var(--red); }
.buy h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: 0; }
.price { font: 600 1.6rem/1 var(--mono); color: var(--text); margin: 0 0 1.4rem; }
#buy-form { display: grid; gap: 14px; max-width: 380px; }
label { display: grid; gap: 6px; font: 500 .72rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
input, select { font: 400 1rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 0; padding: 12px 13px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 40, 28, .2); }
.added { margin: 0; color: var(--ok); font-family: var(--mono); font-size: .85rem; }
.added a { color: var(--text); }
.desc { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: #c9d2dd; }
.desc ul { padding-left: 1.2em; }
.desc li::marker { color: var(--red); }

/* ---------- cart */
.cart-page { max-width: 780px; margin: 0 auto; }
.cart-page h1 { margin-top: 40px; }
.cart-page h2 { font-size: 1.9rem; margin: 36px 0 16px; }
.cart-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 76px; height: 76px; object-fit: cover; background: var(--tile); }
.cart-row .opt { color: var(--muted); font-size: .88rem; }
.cart-row .qty { display: flex; gap: 6px; align-items: center; font-family: var(--mono); }
.cart-row .qty button { width: 32px; height: 32px; border: 1px solid var(--line-strong); background: var(--panel-solid); color: var(--text); cursor: pointer; }
.cart-row .qty button:hover { border-color: var(--red); }
.cart-row .remove { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 0; font: inherit; font-size: .82rem; }
.cart-sub { text-align: right; font: 600 1.15rem var(--mono); padding: 16px 0; }
.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.addr .wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .addr { grid-template-columns: 1fr; } }
#shipping { margin-top: 22px; display: grid; gap: 8px; }
#shipping label { display: flex; gap: 12px; align-items: center; font: 400 .95rem/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); background: var(--panel); border: 1px solid var(--line-strong); padding: 14px; cursor: pointer; }
#shipping input { width: auto; accent-color: var(--red); }
#totals { margin: 22px 0; padding: 18px; background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); }
#totals div { display: flex; justify-content: space-between; padding: 3px 0; }
#totals .total { font-weight: 600; font-size: 1.15rem; border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 10px; }
#paypal-buttons { margin-top: 18px; max-width: 480px; }
.msg { color: #fca5a5; min-height: 1.5em; }
.narrow { max-width: 700px; margin: 48px auto; }
.narrow h1 { margin-bottom: .4em; }
.narrow h2 { font-size: 1.7rem; margin: 1.6em 0 .5em; }
.narrow p, .narrow li { color: #c9d2dd; }

/* ---------- footer */
.foot { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(5, 7, 10, .9); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 40px 20px 32px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 28px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 46px; height: 46px; }
.foot-brand strong { display: block; font: 800 1.5rem/1 var(--display); letter-spacing: .05em; }
.foot-brand .label { color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.foot nav a { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 6px 0; }
.foot nav a:hover { color: var(--text); }
.foot-base { max-width: var(--wrap); margin: 0 auto; padding: 16px 20px 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 .7rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-base .o7 { color: var(--red); }
.foot .ccp { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 32px; font-size: .7rem; line-height: 1.6; color: rgba(139, 151, 167, .7); }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } }

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