/* South Star Supply Co. — modern brand system (crimson / gold / charcoal) */
:root {
  --brand: #a31621;
  --brand-600: #8a121c;
  --brand-700: #6f0e16;
  --gold: #d9a441;
  --gold-600: #c08e2f;
  --ink: #f2eadf;
  --night: #030202;
  --night-2: #0d0908;
  --paper: #090706;
  --surface: #171311;
  --surface-2: #211916;
  --bone: #f2eadf;
  --line: rgba(224,190,123,.17);
  --line-2: rgba(224,190,123,.09);
  --muted: rgba(242,234,223,.62);
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(0,0,0,.26), 0 8px 24px rgba(0,0,0,.12);
  --sh-2: 0 8px 22px rgba(0,0,0,.30), 0 2px 6px rgba(0,0,0,.20);
  --sh-3: 0 22px 58px rgba(0,0,0,.42), 0 6px 16px rgba(0,0,0,.24);
  --sh-brand: 0 8px 22px rgba(163,22,33,.28);
  --ease: cubic-bezier(.2,.7,.3,1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; background: var(--paper); }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(48rem 34rem at 96% 8%, rgba(163,22,33,.13), transparent 68%),
    radial-gradient(38rem 26rem at 0% 54%, rgba(217,164,65,.045), transparent 72%),
    var(--paper);
  color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: rgba(163,22,33,.16); }
.container { max-width: 74rem; margin: 0 auto; padding: 0 1.15rem; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.gold { color: var(--gold); font-weight: 700; }
code { background: rgba(217,164,65,.1); color: #f0c66f; padding: .08em .38em; border-radius: 6px; font-size: .86em; }


/* Type */
.kicker, .kicker-gold { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kicker { color: #df4854; }
.kicker-gold { color: var(--gold); }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .6rem; }
.page { padding: 3.2rem 0; }
.link-brand { color: #ef5b66; font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link-brand:hover { color: var(--gold); }


/* ---------- Public header ---------- */
.announce { background: linear-gradient(90deg, var(--gold-600), var(--gold)); color: #2a1c00; text-align: center;
  font-weight: 700; font-size: .84rem; letter-spacing: .01em; padding: .4rem 1rem; }
.announce .ico { vertical-align: -.14em; }
.site-header { position: sticky; top: 0; z-index: 40; background: #000;
  border-bottom: 1px solid rgba(217,164,65,.22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .7rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo img { height: 46px; width: auto; }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1.5px solid var(--gold); background: var(--brand, #a31621); color: #fff; font-weight: 900; }
.logo-text { color: #fff; font-weight: 900; letter-spacing: -.01em; }
.main-nav { display: flex; gap: 1.7rem; font-weight: 600; font-size: .92rem; }
.main-nav a { color: rgba(255,255,255,.82); position: relative; padding: .2rem 0; transition: color .15s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold);
  transition: right .22s var(--ease); border-radius: 2px; }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.link-light { color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; }
.link-light:hover { color: var(--gold); }
.link-muted { color: rgba(255,255,255,.55); font-size: .88rem; }
.link-muted:hover { color: #fff; }
.nav-cb { display: none; }
.nav-burger-public { display: none; color: #fff; cursor: pointer; align-items: center; }
.nav-auth { display: none; }
@media (max-width: 760px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--night-2);
    border-bottom: 1px solid rgba(217,164,65,.25); padding: 0 1.15rem; max-height: 0; overflow: hidden;
    transition: max-height .32s var(--ease), padding .32s; }
  .main-nav > a, .nav-auth > a { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
  .nav-auth { display: flex; flex-direction: column; }
  .nav-auth > a:last-child { border-bottom: 0; color: var(--gold); font-weight: 700; }
  .nav-cb:checked ~ .header-inner .main-nav { max-height: 74vh; padding: .3rem 1.15rem .7rem; }
  .nav-burger-public { display: inline-flex; }
  .header-actions > .btn, .header-actions > .link-light, .header-actions > .link-muted { display: none; }
}


/* ---------- Footer ---------- */
.site-footer { margin-top: 4.5rem; background: var(--night); color: #fff; border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--brand, #a31621), var(--gold)) 1; }
.footer-grid { display: grid; gap: 2.4rem; padding: 3.4rem 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo { height: 56px; width: auto; }
.footer-name { font-weight: 900; font-size: 1.15rem; }
.site-footer .muted { color: rgba(255,255,255,.6); max-width: 22rem; margin-top: .6rem; }
.footer-links { list-style: none; padding: 0; margin-top: .9rem; display: grid; gap: .6rem; font-size: .92rem; }
.footer-links a, .footer-links li { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--gold); }
.footer-links .ico { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .78rem; color: rgba(255,255,255,.4); padding: 1.2rem; }


/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer;
  border-radius: 11px; padding: .66rem 1.25rem; font-weight: 700; font-size: .92rem; font-family: inherit; line-height: 1;
  transition: transform .12s var(--ease), box-shadow .2s, filter .2s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-brand { background: linear-gradient(180deg, #b81b28, var(--brand, #a31621)); color: #fff; box-shadow: var(--sh-brand); }
.btn-brand:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(163,22,33,.34); }
.btn-gold { background: linear-gradient(180deg, #e6b653, var(--gold)); color: #3a2600; box-shadow: 0 6px 18px rgba(217,164,65,.32); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.btn-outline:hover { border-color: rgba(217,164,65,.42); background: var(--surface-2); }
.btn-block { width: 100%; padding: .82rem; }
.btn-sm { padding: .4rem .8rem; font-size: .8rem; border-radius: 9px; }
.btn-ghost-gold { background: rgba(217,164,65,.08); color: var(--gold); border: 1px solid rgba(217,164,65,.5); }
.btn-ghost-gold:hover { background: rgba(217,164,65,.16); }


/* ---------- Forms ---------- */
.input, select.input, textarea.input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm);
  padding: .62rem .8rem; font-size: .92rem; font-family: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: rgba(242,234,223,.34); }
.input:focus { outline: none; border-color: var(--brand, #a31621); box-shadow: 0 0 0 3.5px rgba(163,22,33,.14); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a31621' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; padding-right: 2rem; }
.label { display: block; font-size: .82rem; font-weight: 600; color: rgba(242,234,223,.82); margin: 1rem 0 .35rem; }
.check { display: flex; gap: .55rem; align-items: center; font-size: .88rem; margin: 1rem 0; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--brand, #a31621); }


/* ---------- Cards / layout ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.pad { padding: 1.6rem; }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }


/* ---------- Alerts / badges ---------- */
.alert { border-radius: var(--r-sm); padding: .9rem 1.1rem; font-size: .9rem; margin-bottom: 1rem; border: 1px solid transparent; display: flex; gap: .5rem; align-items: flex-start; }
.alert strong { font-weight: 700; }
.alert-green { background: rgba(35,160,103,.13); color: #7ce1ae; border-color: rgba(74,205,139,.32); }
.alert-red { background: rgba(199,50,59,.15); color: #ff858d; border-color: rgba(239,91,102,.34); }
.alert-amber { background: rgba(217,164,65,.13); color: #efc66d; border-color: rgba(217,164,65,.32); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .16rem .62rem; font-size: .72rem; font-weight: 700; letter-spacing: .01em; background: rgba(242,234,223,.09); color: rgba(242,234,223,.72); }
.badge-blue { background: rgba(70,125,220,.16); color: #8ab6ff; }
.badge-indigo { background: rgba(99,102,241,.16); color: #a9a8ff; }
.badge-amber { background: rgba(217,164,65,.15); color: #efc66d; }
.badge-violet { background: rgba(148,83,220,.16); color: #c8a2ff; }
.badge-green { background: rgba(35,160,103,.16); color: #7ce1ae; }
.badge-red { background: rgba(199,50,59,.17); color: #ff858d; }


/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; color: rgba(242,234,223,.5); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: rgba(163,22,33,.1); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); }


/* ---------- Hero + dark sections ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% -20%, #241a17 0%, var(--night) 60%);
  color: #fff; text-align: center; padding: 4.8rem 1.15rem 5.8rem; }
.hero::before { content: ""; position: absolute; left: 50%; top: -12rem; transform: translateX(-50%);
  width: 64rem; height: 34rem; border-radius: 999px; background: rgba(163,22,33,.34); filter: blur(96px); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; letter-spacing: -.02em; margin: 1.2rem auto 0; max-width: 48rem; }
.hero .line-red { color: var(--brand, #a31621); }
.hero .line-gold { color: var(--gold); }
.hero p.sub { margin: 1.4rem auto 0; max-width: 40rem; color: rgba(255,255,255,.72); font-size: 1.06rem; }
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.hero-badges span { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217,164,65,.4); border-radius: 999px; padding: .34rem .85rem;
  background: rgba(217,164,65,.06); }
.stats { display: grid; gap: .9rem; grid-template-columns: repeat(2,1fr); max-width: 56rem; margin: 3.2rem auto 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 1.15rem; }
.stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); letter-spacing: -.01em; }
.stat span { font-size: .76rem; color: rgba(255,255,255,.6); }
.dark-section { background: radial-gradient(120% 120% at 80% 0%, var(--night-2), var(--night)); color: #fff; padding: 3.8rem 0; }
.dark-section .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.dark-section .muted { color: rgba(255,255,255,.6); }
.section { padding: 3.8rem 0; }
.section-head { text-align: center; margin-bottom: 2.4rem; }
.section-head h2 { font-size: 1.9rem; text-transform: uppercase; letter-spacing: -.01em; }
.star-divider { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.star-divider::before, .star-divider::after { content: ""; width: 2.6rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,164,65,.7)); }
.star-divider::after { background: linear-gradient(90deg, rgba(217,164,65,.7), transparent); }
.pillars { display: grid; gap: 1.5rem; padding: 2.8rem 1.15rem; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(4,1fr); } }
.pillar { display: flex; gap: .9rem; align-items: flex-start; }
.pillar .dot { flex: none; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(180deg, #b81b28, var(--brand, #a31621));
  color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-brand); }
.cta-band { border-radius: var(--r-lg); border: 1px solid rgba(217,164,65,.3); background: linear-gradient(100deg, var(--brand, #a31621), #5d0d13);
  padding: 2.3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; color: #fff; box-shadow: var(--sh-3); }


/* ---------- Product cards ---------- */
.pcard { overflow: hidden; display: block; transition: transform .18s var(--ease), box-shadow .18s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pcard-img { position: relative; height: 10.5rem; background: radial-gradient(120% 120% at 50% 0%, #241a17, var(--night)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pcard-img::before { content: ""; position: absolute; bottom: -2.5rem; left: 50%; transform: translateX(-50%); width: 14rem; height: 8rem; border-radius: 999px; background: rgba(163,22,33,.45); filter: blur(36px); }
.pcard-img img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.pcard-img .letter { position: relative; font-size: 3rem; font-weight: 900; color: rgba(217,164,65,.85); }
.pcard-body { padding: 1.05rem 1.1rem 1.2rem; }
.pcard-body .name { font-weight: 800; margin-top: .25rem; letter-spacing: -.01em; }
.pcard-body .meta { font-size: .76rem; color: rgba(242,234,223,.55); margin-top: .2rem; }
.pcard-body .price { margin-top: .7rem; font-weight: 900; font-size: 1rem; }
.pcard-body .price .per { font-weight: 500; color: rgba(242,234,223,.5); font-size: .82rem; }
.pcard-body .gate { color: var(--brand, #a31621); font-weight: 700; font-size: .84rem; margin-top: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0; }
.chip { border-radius: 999px; padding: .34rem 1rem; font-size: .85rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: all .15s; }
.chip:hover { border-color: rgba(217,164,65,.38); }
.chip.active { background: var(--night); color: var(--gold); border-color: var(--night); }


/* ---------- App shell (admin / portal) ---------- */
.app-body { background: var(--paper); }
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column;
  background: #000; border-right: 1px solid rgba(217,164,65,.15); padding: 1rem .8rem; }
.sidebar-brand { display: flex; align-items: center; gap: .6rem; padding: .4rem .5rem .9rem; }
.sidebar-brand img { height: 40px; width: auto; }
.sidebar-brand .logo-mark { width: 34px; height: 34px; }
.sidebar-brand .logo-text { font-size: .95rem; }
.sidebar-label { font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(217,164,65,.7); padding: .2rem .7rem .6rem; }
.sidebar-nav { display: grid; gap: .18rem; overflow-y: auto; }
.sidebar-link { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 10px; color: rgba(255,255,255,.72);
  font-weight: 600; font-size: .9rem; transition: background .14s, color .14s; }
.sidebar-link .ico { color: rgba(255,255,255,.5); transition: color .14s; }
.sidebar-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar-link:hover .ico { color: var(--gold); }
.sidebar-link.active { background: linear-gradient(180deg, #b81b28, var(--brand, #a31621)); color: #fff; box-shadow: var(--sh-brand); }
.sidebar-link.active .ico { color: #fff; }
.sidebar-foot { margin-top: auto; padding-top: .8rem; display: grid; gap: .5rem; }
.sidebar-view { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; color: rgba(255,255,255,.6); font-size: .84rem; font-weight: 600; }
.sidebar-view .ico { color: rgba(217,164,65,.8); }
.sidebar-view:hover { background: rgba(255,255,255,.06); color: #fff; }
.user-chip { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #3a2600; background: linear-gradient(180deg, #e6b653, var(--gold)); }
.user-meta { min-width: 0; line-height: 1.2; flex: 1; }
.user-meta b { display: block; color: #fff; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta small { color: rgba(255,255,255,.5); font-size: .72rem; }
.user-logout { color: rgba(255,255,255,.55); display: flex; }
.user-logout:hover { color: var(--gold); }


.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.6rem;
  background: rgba(9,7,6,.86); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.topbar-title h1 { font-size: 1.4rem; }
.topbar-title .kicker { color: var(--brand, #a31621); margin-bottom: .1rem; }
.nav-burger, .nav-scrim { display: none; }
.nav-burger { cursor: pointer; color: var(--ink); }
.app-content { padding: 1.8rem 1.6rem 3rem; max-width: 80rem; width: 100%; }


@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 60; width: 264px; height: 100vh; transform: translateX(-102%); transition: transform .28s var(--ease); }
  .nav-toggle-cb:checked ~ .app-shell .sidebar { transform: none; box-shadow: var(--sh-3); }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .28s; }
  .nav-toggle-cb:checked ~ .app-shell .nav-scrim { opacity: 1; pointer-events: auto; }
  .nav-burger { display: inline-flex; }
  .app-content { padding: 1.3rem 1.1rem 2.4rem; }
  .app-topbar { padding: .9rem 1.1rem; }
}


/* ---------- Portal / admin content helpers ---------- */
.shell-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.shell-nav { display: flex; flex-wrap: wrap; gap: .5rem; }


/* ---------- Setup ---------- */
.setup-wrap { max-width: 37rem; margin: 0 auto; padding: 3.5rem 1.15rem; }
.setup-wrap h1 { margin: .2rem 0 .8rem; }
.setup-wrap h2 { margin-top: 1.4rem; font-size: 1.05rem; }
.setup-wrap .card { margin-top: 1.4rem; }
.alert ul { margin: .4rem 0 0 1.1rem; }


/* ---------- Popup ---------- */
.popup-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.72); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.popup-card { position: relative; width: 100%; max-width: 26rem; background: radial-gradient(120% 100% at 50% 0%, var(--night-2), var(--night)); color: #fff; text-align: center;
  border: 1px solid rgba(217,164,65,.4); border-radius: var(--r-lg); overflow: hidden; padding: 2.3rem; box-shadow: var(--sh-3); }
.popup-stripe { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--brand, #a31621), var(--gold), var(--brand, #a31621)); }
.popup-stars { display: flex; justify-content: center; gap: .3rem; color: var(--gold); margin-bottom: .3rem; }
.popup-card h2 { text-transform: uppercase; margin: .5rem 0; }
.popup-card p { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 1.2rem; }
.popup-close { position: absolute; top: .8rem; right: .9rem; background: rgba(255,255,255,.08); border: 0; color: rgba(255,255,255,.7); width: 2rem; height: 2rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.popup-close:hover { background: rgba(255,255,255,.16); color: #fff; }


/* ---------- Chat widget ---------- */
#chat-fab { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 50; width: 3.5rem; height: 3.5rem; border-radius: 999px;
  border: 0; background: linear-gradient(180deg, #b81b28, var(--brand, #a31621)); color: #fff; cursor: pointer; box-shadow: var(--sh-3);
  display: flex; align-items: center; justify-content: center; transition: transform .15s var(--ease); }
#chat-fab:hover { transform: scale(1.06); }
#chat-panel { position: fixed; right: 1.3rem; bottom: 5.4rem; z-index: 50; width: 21rem; height: 27rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-3); }
.chat-head { background: linear-gradient(180deg, var(--night-2), var(--night)); color: #fff; padding: .85rem 1rem; font-weight: 700; font-size: .88rem; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .55rem; align-content: start; }
.chat-bubble { border-radius: 14px; padding: .6rem .85rem; font-size: .86rem; white-space: pre-wrap; max-width: 85%; }
.chat-bot { background: #251c18; margin-right: auto; border-bottom-left-radius: 4px; }
.chat-user { background: rgba(163,22,33,.1); margin-left: auto; border-bottom-right-radius: 4px; }
.chat-input-row { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }


/* ---------- Quick order ---------- */
.qo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line-2); transition: background .12s; }
.qo-row:hover { background: rgba(163,22,33,.08); }
.qo-info { flex: 1 1 14rem; min-width: 0; }
.qo-info .breaks { color: var(--brand, #a31621); font-size: .75rem; margin-top: .15rem; }
.qo-price { text-align: right; font-size: .85rem; min-width: 5.5rem; font-variant-numeric: tabular-nums; }
.qo-qty { width: 5.5rem; text-align: center; }
.qo-line-total { width: 6rem; text-align: right; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.summary-box { position: sticky; top: 5.5rem; }
.summary-box dl { display: grid; gap: .45rem; font-size: .9rem; margin: 1rem 0; }
.summary-box dl div { display: flex; justify-content: space-between; }
.summary-box dd { font-weight: 700; }
.order-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: 1fr 20rem; } }


/* ---------- Icons ---------- */
.ico { display: inline-block; vertical-align: -.15em; flex: none; }
.ico.brand { color: var(--brand, #a31621); }
.ico.gold, .stars .ico { color: var(--gold); }
.inline-ico { display: inline-flex; align-items: center; gap: .4rem; }


/* ---------- Stars + reviews ---------- */
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--gold); line-height: 0; }
.review-card { display: flex; flex-direction: column; }
.review-body { margin: .7rem 0 .9rem; font-size: .93rem; line-height: 1.65; color: rgba(242,234,223,.85); }
.review-meta b { display: block; }
.review-meta span { display: block; font-size: .8rem; color: rgba(242,234,223,.55); margin-top: .1rem; }
.rating-summary { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; justify-content: center; }
.rating-summary span { color: rgba(255,255,255,.85); font-weight: 600; }
.contact-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.contact-list a:hover { color: var(--brand, #a31621); }


/* ---------- Control Center ---------- */
.phase-row { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .15s, background .15s; }
.phase-row.on { border-color: rgba(74,205,139,.32); background: rgba(35,160,103,.1); }
.phase-row .badge { margin-left: .4rem; }
.phase-dot { flex: none; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(242,234,223,.09); color: rgba(242,234,223,.48); }
.phase-row.on .phase-dot { background: rgba(35,160,103,.18); color: #7ce1ae; }


/* ---------- Stat tiles (dashboards) ---------- */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 820px) { .tiles { grid-template-columns: repeat(4,1fr); } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--sh-1); }
.tile .tile-ic { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(163,22,33,.08); color: var(--brand, #a31621); margin-bottom: .7rem; }
.tile b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.tile .tile-k { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }


/* Content-area muted links (dark text); the public dark header keeps the white variant */
.app-content .link-muted, main .link-muted { color: var(--muted); }
.app-content .link-muted:hover, main .link-muted:hover { color: var(--brand, #a31621); }
.app-content a strong { color: var(--ink); }
.app-content a:hover strong { color: var(--brand, #a31621); }


/* ---------- Perf: skip rendering offscreen sections until scrolled near ---------- */
.section, .dark-section, .pillars, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 480px; }
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }


/* ---------- Plugins hub ---------- */
.plugin-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .plugin-grid { grid-template-columns: 1fr 1fr; } }
.plugin-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.plugin-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(163,22,33,.08); color: var(--brand, #a31621); }
.plugin-name { font-weight: 800; font-size: 1.02rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.carrier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; }


/* ---------- SEO / Google preview ---------- */
.serp { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1rem; background: #11100f; }
.serp-url { font-size: .78rem; color: #4b7d3a; }
.serp-title { color: #8ab4f8; font-size: 1.15rem; line-height: 1.3; margin: .15rem 0; }
.serp-desc { font-size: .84rem; color: #bdc1c6; line-height: 1.5; }


/* ---------- Shipping & delivery method groups ---------- */
.method-groups { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .method-groups { grid-template-columns: repeat(3, 1fr); } }
.method-col { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem; background: rgba(255,255,255,.025); }
.method-h { font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: .45rem; margin-bottom: .4rem; }


/* ---------- Pages content editor rows ---------- */
.content-sub { font-weight: 700; font-size: .9rem; margin: 1.4rem 0 .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.edit-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.edit-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: rgba(163,22,33,.08); color: var(--brand, #a31621); }
.edit-num { font-weight: 800; }
.edit-row .input:first-of-type { flex: 0 0 12rem; }
.edit-row .input:last-of-type { flex: 1; }
@media (max-width: 640px) {
  .edit-row { flex-wrap: wrap; }
  .edit-row .input:first-of-type, .edit-row .input:last-of-type { flex: 1 1 100%; }
}


/* ---------- Icon picker (Pages editor) ---------- */
.edit-block { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem; margin-bottom: .7rem; background: rgba(255,255,255,.025); }
.picker-label { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: .3rem 0 .35rem; }
.icon-grid { display: flex; flex-wrap: wrap; gap: .35rem; }
.icon-opt { cursor: pointer; }
.icon-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.icon-opt span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--surface); color: rgba(242,234,223,.62); transition: all .12s; }
.icon-opt:hover span { border-color: rgba(163,22,33,.4); color: var(--brand, #a31621); }
.icon-opt input:checked + span { background: linear-gradient(180deg, #b81b28, var(--brand, #a31621)); border-color: var(--brand, #a31621); color: #fff; box-shadow: var(--sh-brand); }
.icon-opt input:focus-visible + span { outline: 2px solid rgba(163,22,33,.4); outline-offset: 2px; }
.icon-opt-custom span { padding: 4px; }
.icon-opt-custom img { max-width: 100%; max-height: 100%; }
.icon-opt-custom input:checked + span { background: var(--surface-2); }
.icon-upload { margin-top: .6rem; }
.input-file { padding: .5rem .6rem; font-size: .82rem; cursor: pointer; }
.input-file::file-selector-button { margin-right: .7rem; border: 0; border-radius: 7px; padding: .4rem .8rem;
  background: var(--brand, #a31621); color: #fff; font-weight: 700; cursor: pointer; }
.share-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 420px; background: var(--surface); box-shadow: var(--sh, 0 1px 3px rgba(0,0,0,.08)); }
.share-card img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: #111; }
.share-card .share-meta { padding: .6rem .8rem; }
.share-card .share-host { font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.share-card .share-title { font-weight: 700; font-size: .95rem; margin-top: .1rem; line-height: 1.25; }


/* ============================================================
   2025 PREMIUM REVAMP  — storefront glow-up
   Design direction adapted from 21st.dev (Commerce Hero,
   Product Spotlight, Features Grid, Glass Hero). Appended as
   overrides so originals stay intact; later rules win.
   ============================================================ */
:root {
  --sh-brand-lg: 0 20px 52px rgba(163,22,33,.40);
  --sh-lift: 0 26px 64px rgba(24,18,14,.18), 0 8px 20px rgba(24,18,14,.09);
}


/* ---- Hero: layered crimson + gold glow, grain, gradient type ---- */
.hero { padding: 5.8rem 1.15rem 6.6rem;
  background:
    radial-gradient(38rem 26rem at 84% 96%, rgba(217,164,65,.14), transparent 62%),
    radial-gradient(132% 92% at 50% -25%, #2c1d19 0%, #17100e 46%, var(--night) 80%); }
.hero::before { top: -16rem; width: 72rem; height: 42rem;
  background: radial-gradient(closest-side, rgba(163,22,33,.52), transparent 72%); filter: blur(64px); }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.2rem); letter-spacing: -.03em; line-height: 1.03; margin-top: 1.5rem; }
.hero .line-red { color: transparent; background: linear-gradient(180deg, #e5333f, var(--brand, #a31621));
  -webkit-background-clip: text; background-clip: text; }
.hero .line-gold { color: transparent; background: linear-gradient(180deg, #f2c66c, var(--gold));
  -webkit-background-clip: text; background-clip: text; }
.hero p.sub { font-size: 1.12rem; color: rgba(255,255,255,.78); }
.hero-badges span { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-color: rgba(217,164,65,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.stats { margin-top: 3.6rem; gap: 1rem; }
.stat { position: relative; overflow: hidden; border-radius: 16px; padding: 1.35rem 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  border-color: rgba(255,255,255,.12); transition: transform .18s var(--ease), border-color .18s; }
.stat::before { content: ""; position: absolute; top: 0; left: 1.2rem; right: 1.2rem; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,164,65,.7), transparent); }
.stat:hover { transform: translateY(-3px); border-color: rgba(217,164,65,.35); }
.stat b { font-size: 1.72rem; }


/* ---- Buttons: depth, hover lift, shine sweep ---- */
.btn { position: relative; overflow: hidden; border-radius: 12px; padding: .74rem 1.4rem; font-weight: 800; }
.btn-brand { background: linear-gradient(180deg, #c31f2d, var(--brand, #a31621));
  box-shadow: 0 10px 24px rgba(163,22,33,.32), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-brand:hover { filter: none; transform: translateY(-1px);
  box-shadow: var(--sh-brand-lg), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-gold:hover { transform: translateY(-1px); }
.btn-brand::after, .btn-gold::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.38) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .65s var(--ease); }
.btn-brand:hover::after, .btn-gold:hover::after { transform: translateX(130%); }


/* ---- Feature pillars → floating cards with gradient icon tiles ---- */
.pillars { gap: 1.15rem; padding: 3.4rem 1.15rem; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem;
  box-shadow: var(--sh-1); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(163,22,33,.22); }
.pillar .dot { width: 48px; height: 48px; border-radius: 14px;
  box-shadow: 0 8px 18px rgba(163,22,33,.30), inset 0 1px 0 rgba(255,255,255,.22); }


/* ---- Product cards: premium image, vignette, gold-ring hover ---- */
.pcard { border-radius: 16px; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); border-color: rgba(217,164,65,.45); }
.pcard-img { height: 12rem; }
.pcard-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.34)); }
.pcard-img .letter { text-shadow: 0 10px 30px rgba(0,0,0,.4); }
.pcard-body .price { font-size: 1.16rem; color: var(--ink); }


/* ---- Section rhythm + heads ---- */
.section { padding: 4.6rem 0; }
.section-head { margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 900; }


/* ---- "How it works" step tiles (gold gradient numbers) ---- */
.step-card { position: relative; }
.step-num { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.15rem; color: #3a2600; background: linear-gradient(180deg, #f2c66c, var(--gold));
  box-shadow: 0 10px 22px rgba(217,164,65,.32), inset 0 1px 0 rgba(255,255,255,.4); }
.dark-section .card { transition: transform .18s var(--ease), border-color .18s; }
.dark-section .card:hover { transform: translateY(-4px); border-color: rgba(217,164,65,.32); }


/* ---- CTA band: richer gradient + highlight sheen ---- */
.cta-band { background: linear-gradient(105deg, #7c101a, var(--brand, #a31621) 55%, #c31f2d);
  border-color: rgba(217,164,65,.45); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(32rem 16rem at 12% 8%, rgba(255,255,255,.14), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }


/* ---- Review cards: quote accent + lift ---- */
.review-card { transition: transform .18s var(--ease), box-shadow .18s; border-radius: 16px; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.review-body { font-size: .95rem; }


/* ---- Scroll-reveal (uses the `translate` property so it composes with the
   3D `transform` tilt below; JS adds the classes — no-JS shows everything) ---- */
.reveal-init { opacity: 0; translate: 0 24px; }
.reveal-in { opacity: 1; translate: 0 0; }
.section, .dark-section .card, .cta-band {
  transition: opacity .7s var(--ease) var(--rd,0ms), translate .7s var(--ease) var(--rd,0ms); }


/* ============================================================
   FX LAYER — interactive 3D + life (vanilla JS drives it)
   ============================================================ */
/* Cursor-tracked 3D tilt + moving glare on cards */
.fx-tilt { position: relative; transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform .35s var(--ease), scale .22s var(--ease), box-shadow .2s,
              opacity .7s var(--ease) var(--rd,0ms), translate .7s var(--ease) var(--rd,0ms);
  will-change: transform; }
.fx-tilt.fx-on { transition: transform .07s linear, scale .22s var(--ease), box-shadow .2s;
  scale: 1.025; z-index: 3; }
.fx-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  opacity: 0; transition: opacity .28s; mix-blend-mode: soft-light;
  background: radial-gradient(26rem 26rem at var(--mx,50%) var(--my,50%), rgba(255,255,255,.35), transparent 46%); }
.fx-tilt.fx-on .fx-glare { opacity: 1; }


/* Hero particle canvas + parallax glow + gentle breathing */
.fx-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero::before { transition: transform .4s ease-out; animation: heroBreathe 9s ease-in-out infinite;
  transform: translateX(-50%) translate(calc(var(--px,0) * 26px), calc(var(--py,0) * 20px)); }
@keyframes heroBreathe { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.hero h1, .hero .hero-badges, .hero p.sub {
  transform: translate(calc(var(--px,0) * -8px), calc(var(--py,0) * -6px)); transition: transform .5s ease-out; }


/* Magnetic buttons (JS sets `translate`) */
.fx-magnetic { transition: translate .3s var(--ease), transform .15s var(--ease), box-shadow .2s, filter .2s; }


@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1 !important; translate: none !important; }
  .btn-brand::after, .btn-gold::after { display: none; }
  .fx-tilt { transform: none !important; }
  .fx-glare, .fx-particles { display: none !important; }
  .hero::before { animation: none; }
}

/* ============================================================
   CAPTIVATING MOTION REFRESH — layered over the existing system
   ============================================================ */
:root {
  --ease-cinematic: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, 1.35, .45, 1);
  --shadow-lift: 0 28px 70px rgba(49, 21, 17, .16), 0 8px 22px rgba(49, 21, 17, .08);
}

html { scroll-behavior: smooth; }
body.motion-v2 { overflow-x: clip; }

body.motion-v2:not(.app-body)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .45;
  background: radial-gradient(28rem 28rem at var(--cursor-x, 50%) var(--cursor-y, 30%), rgba(217, 164, 65, .055), transparent 68%);
  transition: opacity .35s ease;
}

.motion-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: var(--scroll-progress, 0%);
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--brand-600), #e93442 58%, #f1c76b);
  box-shadow: 0 0 16px rgba(217, 164, 65, .55);
  transform-origin: left center;
  transition: width .08s linear;
}

/* Polished floating navigation */
.site-header {
  background: rgba(5, 4, 4, .84);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 4, 4, .94);
  border-color: rgba(217, 164, 65, .34);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
}

.site-header .logo {
  transition: transform .45s var(--ease-spring), filter .35s ease;
}

.site-header .logo:hover {
  transform: translateY(-2px) scale(1.018);
  filter: drop-shadow(0 8px 18px rgba(217, 164, 65, .18));
}

.main-nav a {
  transition: color .25s ease, transform .25s var(--ease-spring);
}

.main-nav a:hover { transform: translateY(-2px); }

/* Cinematic hero treatment */
.motion-v2 .hero {
  isolation: isolate;
  min-height: min(47rem, calc(100dvh - 5.5rem));
  display: grid;
  place-content: center;
  background:
    radial-gradient(70% 85% at 8% 15%, rgba(163, 22, 33, .22), transparent 58%),
    radial-gradient(55% 65% at 92% 28%, rgba(217, 164, 65, .11), transparent 62%),
    linear-gradient(145deg, #090606 0%, #120b09 45%, #050404 100%);
}

.motion-v2 .hero::after {
  opacity: .68;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, .09) .7px, transparent .7px);
  background-size: 72px 72px, 72px 72px, 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 28%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 28%, #000 0%, transparent 76%);
}

.motion-orb {
  position: absolute;
  z-index: 0;
  width: var(--orb-size, 18rem);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 164, 65, .2);
  border-radius: 50%;
  pointer-events: none;
  opacity: .72;
  animation: orbDrift var(--orb-speed, 14s) ease-in-out infinite alternate;
}

.motion-orb::before,
.motion-orb::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, .09);
  animation: orbSpin 18s linear infinite;
}

.motion-orb::after {
  inset: 35%;
  border-style: solid;
  border-color: rgba(163, 22, 33, .32);
  box-shadow: 0 0 42px rgba(163, 22, 33, .16);
  animation-direction: reverse;
  animation-duration: 12s;
}

.motion-orb--left { left: -8rem; top: 18%; --orb-size: 25rem; --orb-speed: 16s; }
.motion-orb--right { right: -5rem; bottom: -10%; --orb-size: 19rem; --orb-speed: 12s; animation-delay: -6s; }

.motion-v2.motion-ready .hero-badges,
.motion-v2.motion-ready .hero h1,
.motion-v2.motion-ready .hero p.sub,
.motion-v2.motion-ready .hero-cta,
.motion-v2.motion-ready .stats {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  animation: heroEnter .95s var(--ease-cinematic) forwards;
}

.motion-v2.motion-ready .hero-badges { animation-delay: .08s; }
.motion-v2.motion-ready .hero h1 { animation-delay: .18s; }
.motion-v2.motion-ready .hero p.sub { animation-delay: .32s; }
.motion-v2.motion-ready .hero-cta { animation-delay: .44s; }
.motion-v2.motion-ready .stats { animation-delay: .58s; }

.hero h1 {
  text-wrap: balance;
  text-shadow: 0 18px 58px rgba(0, 0, 0, .34);
}

.hero .line-red,
.hero .line-gold {
  background-size: 200% 100%;
  animation: headlineShimmer 7s ease-in-out infinite alternate;
}

.hero-badges span {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .12);
  transition: transform .35s var(--ease-spring), background .3s ease, border-color .3s ease;
}

.hero-badges span:hover {
  transform: translateY(-4px) rotate(-1deg);
  background: rgba(217, 164, 65, .13);
  border-color: rgba(217, 164, 65, .72);
}

.stat {
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .4s var(--ease-spring), border-color .3s ease, background .3s ease;
}

.stat::after {
  content: "";
  position: absolute;
  inset: -100% -35%;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .12) 50%, transparent 62%);
  transform: translateX(-65%) rotate(8deg);
  transition: transform .8s var(--ease-cinematic);
}

.stat:hover { transform: translateY(-6px); border-color: rgba(217, 164, 65, .36); background: rgba(255, 255, 255, .075); }
.stat:hover::after { transform: translateX(65%) rotate(8deg); }

/* Section typography and scroll reveals */
.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: none;
  text-wrap: balance;
}

.motion-head .star-divider,
.motion-head h2 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-cinematic), transform .8s var(--ease-cinematic);
}

.motion-head h2 { transition-delay: .09s; }
.motion-head.in-view .star-divider,
.motion-head.in-view h2 { opacity: 1; transform: none; }

/* Cursor-reactive premium surfaces */
.pillar,
.pcard,
.review-card,
.step-card {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  isolation: isolate;
}

.pillar::before,
.review-card::before,
.step-card::before,
.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(19rem circle at var(--card-x) var(--card-y), rgba(217, 164, 65, .16), transparent 48%);
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, .18);
  transition: opacity .35s ease;
}

.pillar:hover::before,
.review-card:hover::before,
.step-card:hover::before,
.pcard:hover::after { opacity: 1; }

.pillar,
.review-card,
.pcard {
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease-cinematic), border-color .3s ease;
}

.pillar:hover,
.review-card:hover,
.pcard:hover { box-shadow: var(--shadow-lift); }

.pillar .dot { transition: transform .45s var(--ease-spring), box-shadow .4s ease; }
.pillar:hover .dot { transform: translateY(-3px) rotate(-5deg) scale(1.08); box-shadow: 0 14px 30px rgba(163, 22, 33, .3); }

.pcard-img img {
  scale: 1.015;
  transform: translate(var(--img-x, 0), var(--img-y, 0));
  transition: scale .75s var(--ease-cinematic), transform .25s ease-out, filter .6s ease;
}

.pcard:hover .pcard-img img { scale: 1.095; filter: saturate(1.08) contrast(1.03); }
.pcard-body { position: relative; z-index: 2; }
.pcard-body .name { transition: color .25s ease, transform .35s var(--ease-spring); }
.pcard:hover .pcard-body .name { color: var(--brand); transform: translateX(3px); }

.review-card .review-body { text-wrap: pretty; }

/* Tactile actions */
.btn { isolation: isolate; transition: transform .35s var(--ease-spring), box-shadow .35s ease, filter .25s ease; }
.btn:hover { transform: translateY(-3px) scale(1.018); }
.btn:active { transform: translateY(0) scale(.975); }

.motion-ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, .34);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut .7s ease-out forwards;
}

/* Richer lower-page depth */
.dark-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 8% 20%, rgba(163, 22, 33, .2), transparent 62%),
    radial-gradient(65% 90% at 88% 82%, rgba(217, 164, 65, .09), transparent 66%),
    #060505;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .28;
  background-image: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .04) 50%, transparent 58%);
  background-size: 240% 100%;
  animation: darkSweep 12s ease-in-out infinite;
}

.cta-band {
  background-size: 180% 180%;
  animation: ctaAurora 10s ease-in-out infinite;
  transition: transform .5s var(--ease-spring), box-shadow .45s ease;
}

.cta-band:hover { transform: translateY(-5px); box-shadow: 0 32px 78px rgba(100, 10, 18, .32); }

.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -18rem;
  top: -26rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(163, 22, 33, .22), transparent 68%);
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes headlineShimmer { to { background-position: 100% 50%; } }
@keyframes orbDrift { to { transform: translate3d(22px, -18px, 0) rotate(8deg); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes rippleOut { to { transform: translate(-50%, -50%) scale(22); opacity: 0; } }
@keyframes darkSweep { 0%, 20% { background-position: 170% 0; } 75%, 100% { background-position: -70% 0; } }
@keyframes ctaAurora { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }

@media (max-width: 760px) {
  body.motion-v2:not(.app-body)::before { display: none; }
  .motion-v2 .hero { min-height: auto; }
  .motion-orb--left { left: -13rem; }
  .motion-orb--right { right: -11rem; }
  .section-head h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .site-header { background: rgba(5, 4, 4, .96); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-progress,
  .motion-orb,
  .motion-ripple,
  body.motion-v2:not(.app-body)::before { display: none !important; }
  .motion-v2.motion-ready .hero-badges,
  .motion-v2.motion-ready .hero h1,
  .motion-v2.motion-ready .hero p.sub,
  .motion-v2.motion-ready .hero-cta,
  .motion-v2.motion-ready .stats,
  .motion-head .star-divider,
  .motion-head h2 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .dark-section::before,
  .cta-band,
  .hero .line-red,
  .hero .line-gold { animation: none !important; }
}

/* ---------- South Star × Papa Nicho's inventory spotlight ---------- */
.hero {
  padding: clamp(4.5rem, 8vw, 7.2rem) 1.15rem 5.2rem;
  text-align: left;
}
.hero-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero .hero-badges { justify-content: flex-start; }
.hero-eyebrow {
  margin: 1.4rem 0 0;
  color: rgba(255,255,255,.52);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: .7rem 0 0;
  max-width: 45rem;
  font-size: clamp(2.65rem, 5.5vw, 5.35rem);
  line-height: .93;
  letter-spacing: -.045em;
}
.hero p.sub {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.7;
}
.hero-cta { justify-content: flex-start; }
.hero .stats {
  width: min(1180px, 100%);
  max-width: none;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
}
.partner-spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(217,164,65,.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(163,22,33,.38), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  box-shadow: 0 32px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: partnerFloat 7s ease-in-out infinite alternate;
}
.partner-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.16) 50%, transparent 75%);
  background-size: 240% 100%;
  animation: partnerSheen 8s ease-in-out infinite;
}
.partner-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.partner-label span {
  width: .56rem;
  height: .56rem;
  border-radius: 50%;
  background: #50d890;
  box-shadow: 0 0 0 5px rgba(80,216,144,.11), 0 0 22px rgba(80,216,144,.55);
  animation: partnerPulse 2.2s ease-in-out infinite;
}
.partner-logo {
  display: block;
  width: min(280px, 82%);
  max-height: 190px;
  margin: 1.4rem auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.42));
}
.partner-proof {
  margin: 0 auto 1.25rem;
  max-width: 31rem;
  color: rgba(255,255,255,.74);
  font-size: .94rem;
  line-height: 1.6;
  text-align: center;
}
.partner-proof b { color: #fff; }
.partner-inventory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}
.partner-inventory img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  transition: transform .45s var(--ease-spring), border-color .3s ease;
}
.partner-inventory img:nth-child(2) { transform: translateY(-8px); }
.partner-spotlight:hover .partner-inventory img { border-color: rgba(217,164,65,.45); }
.partner-spotlight:hover .partner-inventory img:first-child { transform: rotate(-2deg) translateY(-3px); }
.partner-spotlight:hover .partner-inventory img:nth-child(2) { transform: translateY(-13px) scale(1.02); }
.partner-spotlight:hover .partner-inventory img:last-child { transform: rotate(2deg) translateY(-3px); }
.partner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.11);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
}
.partner-link span {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform .25s ease;
}
.partner-link:hover span { transform: translateX(5px); }

.pcard-img { height: 14rem; background: radial-gradient(120% 120% at 50% 0%, #2a1f1a, #0b0807); }
.pcard-img::before { opacity: .18; }
.pcard-img img {
  z-index: 1;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .65s var(--ease-spring), filter .4s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.055); filter: saturate(1.07) contrast(1.03); }
.pcard-img img[src*="papa-nichos-logo"] {
  object-fit: contain;
  padding: 1.5rem;
  background: #050505;
}

@keyframes partnerFloat { to { transform: translateY(-9px) rotate(.15deg); } }
@keyframes partnerSheen { 0%, 35% { background-position: 180% 0; } 75%, 100% { background-position: -80% 0; } }
@keyframes partnerPulse { 50% { transform: scale(.78); opacity: .72; } }

@media (max-width: 920px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .hero-badges, .hero-cta { justify-content: center; }
  .hero h1, .hero p.sub { margin-left: auto; margin-right: auto; }
  .partner-spotlight { width: min(580px, 100%); margin: 0 auto; }
}
@media (max-width: 580px) {
  .hero { padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .partner-spotlight { border-radius: 22px; padding: 1.15rem; }
  .partner-logo { max-height: 150px; }
  .partner-inventory { gap: .38rem; }
  .partner-inventory img { border-radius: 11px; }
  .pcard-img { height: 13rem; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-spotlight,
  .partner-spotlight::before,
  .partner-label span { animation: none !important; }
  .partner-inventory img,
  .pcard-img img { transition: none !important; }
}


/* ============================================================
   SOUTH STAR OWNER VALUE — exclusive-line business case
   ============================================================ */
.owner-value {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 5.8rem;
  background: linear-gradient(180deg, rgba(18,13,11,.35) 0%, rgba(9,7,6,.78) 100%);
}

.owner-value-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(22rem, .94fr);
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(217, 164, 65, .26);
  border-radius: 30px;
  background:
    radial-gradient(42rem 30rem at 6% 12%, rgba(163, 22, 33, .34), transparent 68%),
    linear-gradient(135deg, #17100e 0%, #090706 62%, #020202 100%);
  box-shadow: 0 38px 90px rgba(45, 25, 19, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.owner-value-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .08) .8px, transparent .8px);
  background-size: 21px 21px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.owner-value-lead {
  padding: clamp(2.2rem, 5vw, 4.7rem);
}

.owner-value-mark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, .68);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.owner-value-mark span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 .3rem rgba(217, 164, 65, .1), 0 0 18px rgba(217, 164, 65, .55);
  animation: ownerMarkPulse 2.8s ease-in-out infinite;
}

.owner-value h2 {
  max-width: 12.5ch;
  margin: .65rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.owner-value-intro {
  max-width: 38rem;
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.market-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 40rem;
  margin-top: 1.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(217, 164, 65, .2);
  border-radius: 14px;
  background: rgba(217, 164, 65, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.market-path div {
  min-width: 0;
}

.market-path span {
  display: block;
  margin-bottom: .2rem;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.market-path b {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  line-height: 1.45;
}

.market-path i {
  color: var(--gold);
  font-size: 1.2rem;
  font-style: normal;
}

.owner-value-thesis {
  max-width: 35rem;
  margin: 2rem 0 2.2rem;
  padding: 1.2rem 0 1.2rem 1.25rem;
  border-left: 2px solid var(--gold);
}

.owner-value-thesis span {
  display: block;
  margin-bottom: .35rem;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.owner-value-thesis strong {
  display: block;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.42;
  text-wrap: balance;
}

.owner-value-points {
  display: grid;
  align-content: stretch;
  border-left: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .025);
}

.owner-value-point {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-content: center;
  min-height: 11.25rem;
  padding: 2rem clamp(1.5rem, 3.2vw, 2.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background .35s var(--ease-cinematic), transform .35s var(--ease-cinematic);
}

.owner-value-point:last-child {
  border-bottom: 0;
}

.owner-value-point:hover {
  z-index: 1;
  background: linear-gradient(90deg, rgba(163, 22, 33, .16), rgba(217, 164, 65, .06));
  transform: translateX(-6px);
}

.owner-value-num {
  padding-top: .15rem;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.owner-value-point h3 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.owner-value-point p {
  max-width: 31rem;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
  line-height: 1.65;
  text-wrap: pretty;
}

@keyframes ownerMarkPulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.18); opacity: 1; }
}

@media (max-width: 860px) {
  .owner-value {
    padding: .5rem 0 4.6rem;
  }

  .owner-value-shell {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .owner-value h2 {
    max-width: 15ch;
  }

  .owner-value-points {
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
  }

  .owner-value-point {
    min-height: 0;
  }

  .owner-value-point:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .owner-value-lead {
    padding: 2rem 1.35rem 2.4rem;
  }

  .owner-value-mark {
    margin-bottom: 1.7rem;
    line-height: 1.4;
  }

  .owner-value h2 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .market-path {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .market-path i {
    transform: rotate(90deg);
    transform-origin: center;
    width: 1rem;
  }

  .owner-value-point {
    grid-template-columns: 2rem 1fr;
    padding: 1.6rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .owner-value-mark span {
    animation: none;
  }

  .owner-value-point {
    transition: none;
  }
}

/* ============================================================
   SOUTH STAR NIGHT MARKET — sitewide dark brand system
   Warm charcoal replaces the former cream/white canvas. Crimson,
   brass and bone keep every public, account and admin view on-brand.
   ============================================================ */
.brand-surface-band {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(34rem 18rem at 12% 20%, rgba(163,22,33,.12), transparent 72%),
    linear-gradient(180deg, #100c0a 0%, #0b0807 100%);
}

.brand-review-band {
  border-block: 1px solid var(--line-2);
  background:
    radial-gradient(40rem 24rem at 88% 30%, rgba(217,164,65,.055), transparent 70%),
    linear-gradient(180deg, #0c0908, #100b09);
}

.card,
.tile,
.pillar,
.phase-row {
  background: linear-gradient(145deg, rgba(32,24,20,.97), rgba(18,14,12,.98));
  border-color: var(--line);
  box-shadow: var(--sh-1), inset 0 1px 0 rgba(255,255,255,.025);
}

.pcard-body {
  background: linear-gradient(180deg, rgba(27,20,17,.99), rgba(18,14,12,.99));
}

.pillar:hover,
.tile:hover,
.review-card:hover,
.pcard:hover {
  border-color: rgba(217,164,65,.36);
}

.input,
select.input,
textarea.input {
  background-color: #100d0b;
  border-color: rgba(224,190,123,.2);
  color: var(--bone);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.input:hover { border-color: rgba(217,164,65,.32); }
.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(217,164,65,.13), inset 0 1px 0 rgba(255,255,255,.025);
}
select.input option { background: #120e0c; color: var(--bone); }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--bone);
  -webkit-box-shadow: 0 0 0 1000px #100d0b inset;
  caret-color: var(--bone);
}

.topbar-title .kicker,
.app-content .link-brand,
.app-content .link-muted:hover,
.app-content a:hover strong,
.pcard-body .gate,
.qo-info .breaks,
.ico.brand,
.contact-list a:hover,
.pcard:hover .pcard-body .name {
  color: #ef5b66;
}

.app-body,
.app-main {
  background:
    radial-gradient(42rem 30rem at 98% 2%, rgba(163,22,33,.105), transparent 68%),
    var(--paper);
}

.app-topbar {
  box-shadow: 0 10px 36px rgba(0,0,0,.22);
}

.admin-note {
  margin-bottom: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(217,164,65,.065), rgba(163,22,33,.045));
}

.qo-heading-row {
  background: rgba(217,164,65,.06);
  color: rgba(242,234,223,.58);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.table tbody tr:nth-child(even),
.qo-row:nth-child(even) {
  background: rgba(255,255,255,.012);
}

.btn-outline {
  background: linear-gradient(180deg, #211a17, #15110f);
  border-color: rgba(224,190,123,.22);
}

.chip {
  background: linear-gradient(180deg, #1b1512, #120f0d);
}

.chip.active {
  color: #f1c76b;
  border-color: rgba(217,164,65,.48);
  background: linear-gradient(180deg, #251711, #120c09);
  box-shadow: inset 0 0 0 1px rgba(163,22,33,.22);
}

#chat-panel { background: #120e0c; }
.chat-user { background: rgba(163,22,33,.2); }
.chat-input-row { background: #0d0a09; }

.site-footer {
  margin-top: 0;
  background: linear-gradient(180deg, #080505, #020101);
}

hr { border: 0; border-top: 1px solid var(--line); }

* { scrollbar-color: rgba(217,164,65,.38) #0b0807; }
*:focus-visible { outline-color: var(--gold); outline-offset: 3px; }

/* ---------- Owner automation strip (extends the owner-value pitch:
   the orders-automation sell — spans the full shell width) ---------- */
.owner-automation {
  grid-column: 1 / -1;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(2.2rem, 5vw, 4.7rem) clamp(2.2rem, 5vw, 3.4rem);
  border-top: 1px solid rgba(217, 164, 65, .18);
  background: linear-gradient(180deg, rgba(217, 164, 65, .045), transparent 70%);
}
.owner-automation-head { max-width: 46rem; margin-bottom: 1.8rem; }
.owner-automation-head h3 {
  margin-top: .5rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.owner-automation-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.owner-automation-tile {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  transition: transform .18s var(--ease), border-color .18s;
}
.owner-automation-tile:hover { transform: translateY(-4px); border-color: rgba(217, 164, 65, .38); }
.owner-automation-ic {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: .85rem;
  border-radius: 12px; color: #fff;
  background: linear-gradient(180deg, #b81b28, var(--brand, #a31621));
  box-shadow: 0 8px 18px rgba(163, 22, 33, .32), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.owner-automation-tile h4 { color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.owner-automation-tile p { margin-top: .4rem; color: rgba(255, 255, 255, .66); font-size: .85rem; line-height: 1.65; }
@media (max-width: 1080px) { .owner-automation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .owner-automation-grid { grid-template-columns: 1fr; } }
