:root {
  --void: #050506;
  --ink: #121418;
  --muted: #6a717a;
  --paper: #f2f3f5;
  --card: #ffffff;
  --line: #d8dce1;
  --steel: #9aa3ad;
  --chrome: #d4d8dc;
  --ok: #1f7a4d;
  --danger: #9b2c2c;
  --shadow: 0 16px 40px rgba(5, 5, 6, 0.08);
  --max: 1160px;
  --sans: "Barlow", "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: var(--void);
  color: #e8eaed;
  font-family: var(--sans);
  font-weight: 400;
}
.site-back {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050506;
  opacity: 1 !important;
  visibility: visible !important;
}
.site-back-shift {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 46% 68%;
  transform: scale(var(--hero-zoom, 1.04)) translate3d(var(--px, 0px), var(--py, 0px), 0);
  will-change: transform;
}
.site-back-poster,
.site-back-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.92) contrast(1.08) saturate(1.1);
}
.site-back-video { z-index: 1; }
.site-back-poster,
.site-back-video {
  animation: floor-drift 42s ease-in-out infinite;
}
.page, #page, #app, #page > #app, body > #app {
  background: transparent !important;
}
body.is-home .site-back,
body.is-inner .site-back,
body:not(.is-welding) .site-back,
body.is-welding .site-back {
  opacity: 1 !important;
  visibility: visible !important;
}
@keyframes floor-drift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  45% { transform: scale(1.09) translate3d(-2.2%, 1.4%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}
body {
  display: flex;
  flex-direction: column;
}
.page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
}
#app, #page > #app, body > #app {
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  flex: 1 1 auto;
}
body.is-inner .page {
  min-height: calc(100vh - var(--header-h));
}
body.is-inner #app {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
body.is-inner .home-over {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; z-index: 20; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }

.sell-bar, .rail {
  background: #0a0a0b;
  color: var(--steel);
  font-family: var(--cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.45;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 216, 220, 0.12);
}
.rail-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  justify-content: space-between;
}
.rail-inner span { white-space: nowrap; }

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 5, 6, 0.92);
  color: #f2f3f5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 216, 220, 0.1);
}
.top-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #f3f4f6;
  text-decoration: none;
  min-width: 0;
  overflow: visible;
  flex: 0 1 auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex: 0 0 42px;
  opacity: 1;
  visibility: visible;
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: min(360px, 62vw);
  object-fit: contain;
  display: block;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.brand-name {
  font-family: var(--cond, var(--display));
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: #f4f5f6;
}
.brand-llc {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome, #c5cad0);
}
.nav { display: flex; gap: 1.35rem; margin-left: auto; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a {
  position: relative; text-decoration: none; color: #b7bec6;
  transition: color 0.2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px;
  height: 1px; background: var(--chrome); transition: right 0.28s ease;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.top-actions { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
[hidden] { display: none !important; }
.desk-chip, .co-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 0.22rem 0.3rem 0.22rem 0.7rem;
  font-size: 0.78rem;
  max-width: 18rem;
}
.desk-chip a, .co-chip a {
  color: #f2f3f5; text-decoration: none; font-weight: 600;
  max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.desk-chip button {
  background: transparent; color: #b7bec6; border: 0; cursor: pointer;
  padding: 0.28rem 0.55rem; font: inherit;
}
.desk-chip button:hover { color: #fff; }
.desk-chip[hidden], .co-chip[hidden] { display: none !important; }
.sign-out {
  border: 0; background: #fff; color: var(--void); cursor: pointer;
  border-radius: 2px; padding: 0.28rem 0.55rem; font-size: 0.72rem; font-weight: 700;
}
.cart-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 2.15rem; height: 2.15rem;
  background: transparent; color: #f2f3f5; text-decoration: none;
  padding: 0; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.16);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cart-btn:hover { color: #fff; border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.06); transform: none; filter: none; }
.cart-ico { display: block; }
.cart-count {
  position: absolute; top: -0.38rem; right: -0.38rem;
  background: var(--chrome); color: var(--void);
  min-width: 1.05rem; height: 1.05rem;
  padding: 0 0.22rem;
  border-radius: 99px; display: inline-grid; place-items: center;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0;
}
.cart-count.pop { animation: pop 0.35s ease; }

.hero {
  position: relative; color: #fff;
  min-height: 78vh; display: grid; place-items: center;
  background: transparent;
  overflow: hidden;
}
.hero-runway {
  height: 180vh;
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--header-h));
}
.hero.hero-stage {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  min-height: 100vh;
  overflow: hidden;
}
.hero-short { min-height: 0; }
.page-mast,
.page-head {
  background: transparent;
  padding: 0;
  border: 0;
  min-height: 0;
  margin: 0 0 0.85rem;
}
.page-mast-inner,
.page-head { display: flex; flex-direction: column; gap: 0.2rem; }
.page-mast-logo { display: none; }
.page-mast .kicker,
.page-head .kicker { color: var(--chrome); margin-bottom: 0.2rem; }
.page-mast h1,
.page-head h1 {
  margin: 0;
  color: #f4f5f6;
  font-family: var(--cond);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}
.page-mast .lede,
.page-head .lede { margin: 0.2rem 0 0; color: #c5cad0; max-width: 42rem; }
.hero-media {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  transform-origin: 46% 68%;
  transform: scale(var(--hero-zoom, 1));
  will-change: transform;
}
body.is-auto-land .hero-media {
  transition: transform 1.8s cubic-bezier(.22,.8,.2,1);
}
.hero-poster, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-video { z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,5,6,0.08) 0%, rgba(5,5,6, var(--hero-veil, 0.16)) 100%),
    linear-gradient(90deg, rgba(5,5,6,0.12) 0%, rgba(5,5,6,0.02) 55%);
  pointer-events: none;
}
.hero, .hero.hero-stage, .hero-media, .hero-runway {
  background: transparent !important;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 5.5rem 1.2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-slogan,
.hero p.hero-slogan {
  margin: 0 auto;
  max-width: 14em;
  color: #fff;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(18px);
}
body:not(.is-welding) .hero-slogan {
  animation: slogan-in 0.9s cubic-bezier(.22,.7,.2,1) forwards;
}
html.no-weld .hero-slogan,
html.no-weld body:not(.is-welding) .hero-slogan {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes slogan-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  height: 72px;
  width: auto;
  max-width: min(520px, 90vw);
  margin: 0 0 1.4rem;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.45));
}
.kicker {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--cond);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--chrome);
  margin-bottom: 0.7rem;
}
.hero h1 {
  font-family: var(--cond);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.98;
  margin: 0 0 0.85rem;
  max-width: 16ch;
  text-transform: uppercase;
}
.hero-name,
.hero h1.hero-name {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border: 0;
  padding: 0;
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  max-width: none;
  color: #fff;
}
.hero p { max-width: 36rem; color: #c7ccd2; line-height: 1.55; margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: 1px solid transparent; border-radius: 2px;
  padding: 0.72rem 1.2rem;
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s, background 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--void); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.hero .btn-primary { background: var(--chrome); color: var(--void); }
.hero .btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }

.hero.hero-site::after {
  background:
    linear-gradient(180deg, rgba(5,5,6,0.18) 0%, rgba(5,5,6,0.62) 100%),
    linear-gradient(90deg, rgba(5,5,6,0.58) 0%, rgba(5,5,6,0.18) 52%, rgba(5,5,6,0.22) 100%);
}
.hero.hero-site {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  place-items: end stretch;
  margin: 0;
  background: transparent;
  overflow: hidden;
}
.hero.hero-site .hero-inner {
  align-items: flex-start;
  text-align: left;
  justify-content: flex-end;
  padding: 5rem 1.2rem 4.2rem;
  max-width: var(--max);
  margin: 0 auto;
}
.hero.hero-site .hero-name {
  font-size: clamp(2.15rem, 5.2vw, 4.05rem);
  max-width: 16ch;
  margin: 0 0 0.85rem;
  text-shadow: 0 12px 40px rgba(0,0,0,0.55);
  opacity: 1;
  transform: none;
}
.hero.hero-site .hero-lede {
  max-width: 38rem;
  color: #d8dce1;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  text-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.hero.hero-site .kicker {
  color: var(--chrome);
  margin-bottom: 0.85rem;
}
body.is-home .hero-site .kicker,
body.is-home .hero-site .hero-name,
body.is-home .hero-site .hero-lede,
body.is-home .hero-site .hero-actions {
  animation: slogan-in 0.85s cubic-bezier(.22,.7,.2,1) both;
}
body.is-home .hero-site .hero-name { animation-delay: 0.08s; }
body.is-home .hero-site .hero-lede { animation-delay: 0.16s; }
body.is-home .hero-site .hero-actions { animation-delay: 0.24s; }

.sec-head { margin-bottom: 1.25rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.proof {
  background: rgba(8,9,10,0.5);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1.2rem 1.25rem;
  backdrop-filter: blur(8px);
}
.proof strong {
  display: block;
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #fff;
}
.proof p { margin: 0; color: #c5cad0; line-height: 1.5; }
.contact-aside {
  background: rgba(8,9,10,0.5);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1.15rem 1.2rem;
  backdrop-filter: blur(8px);
}
.contact-aside a { color: #fff; }
body.is-inner .home-over {
  background: linear-gradient(180deg, rgba(5,5,6,0.58) 0%, rgba(5,5,6,0.86) 32%);
  min-height: calc(100vh - var(--header-h));
  padding-top: 1.35rem;
}
.btn-navy { background: var(--void); color: #fff; }
.btn-line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 0.42rem 0.75rem; font-size: 0.85rem; }

html:has(.hero-runway),
body:has(.hero-runway) {
  background: var(--void);
}

.hero-runway + .section,
.hero-runway ~ .section,
.hero-runway ~ .band {
  background: transparent;
  position: relative;
  z-index: 3;
}

.home-over {
  position: relative;
  z-index: 3;
  color: #e8eaed;
  padding: 0 0 3rem;
}
.home-over .section {
  background: transparent;
}
.home-over .kicker.ink { color: var(--chrome); }
.home-over h2, .home-over .lede { color: #f2f3f5; }
.home-over .lede { color: #c5cad0; }
.home-over .fam-card span {
  color: #b7bec6;
}
.home-over .fam-card,
.home-over .card {
  background: rgba(8,9,10,0.42);
  border-color: rgba(255,255,255,0.14);
  color: #f2f3f5;
  backdrop-filter: blur(8px);
}
.home-over .card h3 a, .home-over .fam-card strong { color: #fff; }
.home-over .meta, .home-over .sku { color: #b7bec6; }
.home-over .btn-primary {
  background: var(--chrome);
  color: var(--void);
}
.home-over .btn-line {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.home-over .band {
  background-image: none;
  background: rgba(5,5,6,0.45);
}
.home-over .band::before { opacity: 0.35; }
.home-over .section { padding: 1rem 0 2rem; }
.home-over .page-mast {
  background: transparent;
  padding: 0;
  margin: 0 0 0.85rem;
}
.home-over .page-mast .kicker { color: var(--chrome); }
.home-over .page-mast h1 { color: #f4f5f6; }
.home-over .page-mast .lede { color: #c5cad0; }
.home-over h2 { color: #f2f3f5; }
.home-over p, .home-over label { color: #c5cad0; }
.home-over strong { color: #f2f3f5; }
.home-over .empty { color: #c5cad0; }
.home-over .empty a { color: #fff; }
.home-over .chip {
  background: rgba(8,9,10,0.55);
  border-color: rgba(255,255,255,0.2);
  color: #e8eaed;
}
.home-over .chip.active {
  background: #fff;
  color: var(--void);
  border-color: #fff;
}
.home-over input,
.home-over select,
.home-over textarea {
  background: rgba(8,9,10,0.55);
  border-color: rgba(255,255,255,0.2);
  color: #f2f3f5;
}
.home-over input[readonly] { background: rgba(8,9,10,0.35); color: #b7bec6; }
.home-over .form-card,
.home-over .gate-card,
.home-over .pay-card,
.home-over .invoice-row {
  background: rgba(8,9,10,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f2f3f5;
  backdrop-filter: blur(10px);
  padding: 1rem 1.1rem;
}
.home-over .about-points p {
  background: rgba(8,9,10,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.75rem 0.9rem;
}
.home-over .specs,
.home-over .cart-table {
  color: #e8eaed;
}
.home-over .cart-table th,
.home-over .specs th {
  color: #c5cad0;
}
.home-over .price { color: #fff; }
.home-over .totals { color: #f2f3f5; }
.home-over .detail h1 { color: #fff; }

.section { padding: 2.8rem 0 3.2rem; }
.section h2 {
  font-family: var(--cond);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.lede { color: #c5cad0; margin: 0 0 1.3rem; max-width: 42rem; line-height: 1.55; }
.kicker.ink { color: var(--chrome); }
.section-tight { padding-top: 0.2rem; }

.fam-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem;
}
.about-visual {
  background: #050506;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 2.2rem 1.2rem;
}
.about-visual img { width: min(280px, 100%); height: auto; }
.fam-card {
  display: grid; grid-template-rows: 92px auto;
  text-decoration: none;
  background: rgba(8,9,10,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  overflow: hidden;
  color: #f2f3f5;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s;
}
.fam-card img { width: 100%; height: 92px; object-fit: cover; transition: transform 0.6s; }
.fam-card div { padding: 0.7rem 0.8rem 0.8rem; display: flex; flex-direction: column; gap: 0.12rem; }
.fam-card strong {
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fam-card span { color: var(--muted); font-size: 0.78rem; }
.fam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fam-card:hover img { transform: scale(1.06); }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: start; }
.about-points p {
  background: rgba(8,9,10,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.65rem;
}
.facts { list-style: none; padding: 0; margin: 1rem 0 0; }
.facts li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }

.band {
  position: relative;
  color: #f2f3f5;
  padding: 3rem 0;
  background: var(--void) center/cover no-repeat;
  background-image: url("img/chrome-field.jpg");
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,6,0.82), rgba(5,5,6,0.55));
}
.band-inner {
  position: relative;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; align-items: center;
}
.band h2 {
  font-family: var(--cond);
  margin: 0.2rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 16ch;
}
.steps { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.65rem; }
.steps.stacked { display: grid; }
.steps li { line-height: 1.45; color: #d5d9de; }

.nav-curtain {
  pointer-events: none; position: fixed; inset: 0; top: 76px; z-index: 5;
  display: grid; grid-template-rows: 1fr 1fr 1fr;
}
.nav-curtain span {
  background: #050506; transform: scaleX(0); transform-origin: left;
}
.nav-curtain.is-on span { animation: wipe 0.48s cubic-bezier(.75,0,.25,1) both; }
.nav-curtain.is-on span:nth-child(2) { animation-delay: 0.05s; }
.nav-curtain.is-on span:nth-child(3) { animation-delay: 0.1s; }
@keyframes wipe {
  0% { transform: scaleX(0); transform-origin: left; }
  42% { transform: scaleX(1); transform-origin: left; }
  43% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

.nav-bar, .route-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 90;
  background: linear-gradient(90deg, #7d848c, var(--chrome));
  pointer-events: none;
}
.nav-bar.is-on, .route-bar.is-run { animation: route-run 0.5s ease forwards; }
.nav-bar.is-done, .route-bar.is-done { animation: route-done 0.3s ease forwards; }
@keyframes route-run { to { width: 76%; } }
@keyframes route-done { from { width: 76%; } to { width: 100%; opacity: 0; } }

#app { transition: opacity 0.2s ease, transform 0.2s ease; position: relative; z-index: 1; }
#app.is-leaving { opacity: 1; transform: none; }
#app.page-in { animation: pageIn 0.48s cubic-bezier(.2,.8,.2,1) both; }
#app.page-in:has(.hero-runway) { animation: none; }
#app.page-in > * { animation: rise-in 0.5s cubic-bezier(.2,.8,.2,1) both; }
#app.page-in > .hero-runway,
#app.page-in > .hero-runway * {
  animation: none;
}
.grid > *, .fam-grid > *, .lines > * { animation: rise 0.5s cubic-bezier(.2,.8,.2,1) both; }
.grid > *:nth-child(1), .fam-grid > *:nth-child(1) { animation-delay: 0.04s; }
.grid > *:nth-child(2), .fam-grid > *:nth-child(2) { animation-delay: 0.08s; }
.grid > *:nth-child(3), .fam-grid > *:nth-child(3) { animation-delay: 0.12s; }
.grid > *:nth-child(4), .fam-grid > *:nth-child(4) { animation-delay: 0.16s; }
.grid > *:nth-child(5), .fam-grid > *:nth-child(5) { animation-delay: 0.2s; }
.grid > *:nth-child(6), .fam-grid > *:nth-child(6) { animation-delay: 0.24s; }
.grid > *:nth-child(n+7) { animation-delay: 0.28s; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.chip {
  border: 1px solid rgba(255,255,255,0.2); background: rgba(8,9,10,0.55); color: #e8eaed;
  border-radius: 2px; padding: 0.38rem 0.8rem; cursor: pointer;
  font-family: var(--cond); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chip:hover { transform: translateY(-1px); }
.chip.active { background: #fff; color: var(--void); border-color: #fff; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.card-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  background: rgba(8,9,10,0.55);
  border: 1px solid rgba(255,255,255,0.18);
}
.card-feature:hover { transform: none; }
.card-feature .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.05rem 1.25rem 1.15rem;
}
.card-feature h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.card-feature .meta { font-size: 0.92rem; max-width: 48rem; }
.detail-feature {
  grid-template-columns: 1fr;
}
.detail-feature .detail-photo.wide img {
  aspect-ratio: 21 / 8;
  max-height: none;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.card {
  background: rgba(8,9,10,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  overflow: hidden;
  color: #f2f3f5;
  display: flex; flex-direction: column;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s;
}
.card.card-feature {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  flex-direction: unset;
}
.card.card-feature a.media,
.card.card-feature a.media.wide {
  aspect-ratio: 21 / 8;
  width: 100%;
  height: auto;
  min-height: 16rem;
  max-height: none;
  background: #fff;
}
.card.card-feature a.media img,
.card.card-feature a.media.wide img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transform: none !important;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card a.media { display: block; aspect-ratio: 4/3; background: #121418; overflow: hidden; }
.card a.media.wide { aspect-ratio: 21 / 9; background: #fff; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.card a.media.wide img { object-fit: contain; }
.card:hover img, .card:hover a.media img { transform: scale(1.05); }
.card-body { padding: 0.95rem 1rem 1.05rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.sku {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7bec6;
  font-weight: 600;
}
.card h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; font-family: var(--cond); letter-spacing: 0.03em; text-transform: uppercase; }
.card h3 a { text-decoration: none; color: #fff; }
.meta { color: #b7bec6; font-size: 0.86rem; line-height: 1.45; }
.price { font-weight: 700; font-size: 1.08rem; margin-top: auto; font-family: var(--cond); letter-spacing: 0.04em; }
.stock { color: var(--ok); font-weight: 600; font-size: 0.8rem; }
.stock.lead { color: #e2c07a; }
.card-actions { display: flex; gap: 0.45rem; margin-top: 0.55rem; }

.detail {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.6rem; align-items: start;
}
.detail-photo {
  background: #121418; border-radius: 2px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
}
.detail-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-photo.wide img { aspect-ratio: 21 / 9; object-fit: contain; background: #fff; }
.detail h1 {
  font-family: var(--cond);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0.2rem 0 0.6rem;
}
.specs { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.specs th, .specs td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 38%; }
.qty-row { display: flex; align-items: center; gap: 0.6rem; margin: 1rem 0; }
.qty-row input { width: 4.2rem; padding: 0.45rem 0.5rem; border: 1px solid var(--line); border-radius: 2px; }

.cart-table { width: 100%; border-collapse: collapse; background: rgba(8,9,10,0.42); border: 1px solid rgba(255,255,255,0.12); color: #e8eaed; }
.cart-table th, .cart-table td { padding: 0.75rem 0.85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); font-family: var(--cond); font-weight: 700;
}
.cart-item { display: flex; gap: 0.75rem; align-items: center; }
.cart-item img { width: 72px; height: 54px; object-fit: cover; }
.qty-mini { width: 3.4rem; padding: 0.3rem 0.4rem; border: 1px solid var(--line); border-radius: 2px; }
.quote-board {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  background: rgba(8,9,10,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.quote-board-empty {
  display: block;
  padding: 1.2rem 1.3rem 1.4rem;
}
.quote-lines, .quote-form { padding: 1.15rem 1.25rem 1.3rem; min-width: 0; }
.quote-lines { display: flex; flex-direction: column; }
.quote-form {
  background: rgba(0,0,0,0.22);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.quote-board h1, .quote-form h2 {
  font-family: var(--cond);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: #f4f5f6;
  font-size: 1.35rem;
  line-height: 1.05;
}
.quote-form h2 { font-size: 1.15rem; }
.quote-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.quote-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 3.2rem auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.quote-line:first-child { padding-top: 0; }
.quote-line img {
  width: 64px; height: 48px; object-fit: cover; border-radius: 4px; background: #fff;
}
.quote-line strong { display: block; color: #f4f5f6; font-size: 0.98rem; }
.quote-remove {
  background: none; border: 0; color: #b7bec6; cursor: pointer;
  font-family: var(--cond); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0;
}
.quote-remove:hover { color: #fff; }
.quote-lines-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.8rem; margin-top: auto; padding-top: 0.9rem;
}
.quote-form label { margin-top: 0.65rem; }
.quote-form label:first-of-type { margin-top: 0; }
.quote-form .btn { width: 100%; margin-top: 1rem; }
.totals {
  margin-left: auto; max-width: 360px; background: rgba(8,9,10,0.55);
  border: 1px solid rgba(255,255,255,0.12); padding: 1rem 1.1rem; margin-top: 1rem;
}
.totals div { display: flex; justify-content: space-between; margin: 0.35rem 0; }
.totals .grand { font-size: 1.15rem; font-weight: 700; border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 0.5rem; }
.empty { padding: 2.5rem 0; color: #c5cad0; }

.checkout {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.4rem; align-items: start;
}
.form-card, .pay-card, .gate-card {
  background: rgba(8,9,10,0.62); border: 1px solid rgba(255,255,255,0.14); padding: 1.15rem 1.25rem;
  color: #f2f3f5;
}
.gate-card { max-width: 36rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.form-grid .full { grid-column: 1 / -1; }
.auth-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; align-items: start; }
.auth-grid h3 { margin: 0 0 0.8rem; font-family: var(--cond); letter-spacing: 0.04em; text-transform: uppercase; }
label { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.25rem; }
.same-check { margin: 0.35rem 0 0.6rem; }
.same-check label {
  display: flex; align-items: center; gap: 0.55rem;
  text-transform: none; letter-spacing: 0; font-size: 0.9rem; font-weight: 500;
  color: #e8eaed; cursor: pointer;
}
.same-check input[type="checkbox"] { width: auto; margin: 0; }
.addr-preview { margin: 0.35rem 0 0.15rem; line-height: 1.45; }
.ex-thumb {
  display: block; max-width: min(100%, 320px); margin: 0.75rem 0;
  border: 1px solid var(--line);
}
.ex-box .btn { margin: 0.45rem 0 0.7rem; }
.desk-table-wrap { overflow-x: auto; margin: 0.6rem 0 0.2rem; }
.desk-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.desk-table th {
  text-align: left; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9aa1a8; padding: 0.35rem 0.45rem; border-bottom: 1px solid var(--line);
}
.desk-table td { padding: 0.55rem 0.45rem; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
.desk-table .num { text-align: right; white-space: nowrap; }
body.is-admin-tab .cart-btn { display: none !important; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.2rem; }
.admin-cat-table input, .admin-cat-table select, .admin-cat-table textarea {
  min-width: 0; font-size: 0.86rem; padding: 0.4rem 0.5rem;
}
.admin-cat-table .num input { width: 7.5rem; text-align: right; }
.admin-prod-more td { background: rgba(8,9,10,0.35); }
input, select, textarea {
  width: 100%; padding: 0.55rem 0.65rem; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px; background: rgba(8,9,10,0.55); color: #f2f3f5;
}
input[readonly] { background: rgba(8,9,10,0.35); color: #b7bec6; }
.pay-card > div, .pay-card h3 + div { display: flex; justify-content: space-between; gap: 0.8rem; margin: 0.35rem 0; font-size: 0.92rem; }
.pay-card .grand { font-weight: 700; border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 0.55rem; }
.pay-options { display: flex; flex-direction: column; gap: 0.45rem; margin: 0.6rem 0 1rem; }
.pay-options label { font-size: 0.92rem; font-weight: 500; letter-spacing: 0; text-transform: none; display: flex; gap: 0.5rem; align-items: center; }
.err { color: var(--danger); font-size: 0.85rem; margin: 0.4rem 0 0; }

.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.line-card { padding: 1.15rem; }
.line-card h3 { margin: 0 0 0.4rem; font-family: var(--cond); letter-spacing: 0.03em; text-transform: uppercase; }

.invoice-sheet {
  background: #fff; color: #111; border: 1px solid #ccc; padding: 1.6rem 1.7rem;
  max-width: 860px; margin: 0 auto; box-shadow: var(--shadow);
}
.home-over .invoice-sheet,
.home-over .invoice-sheet p,
.home-over .invoice-sheet label,
.home-over .invoice-sheet strong,
.home-over .invoice-sheet a,
.invoice-sheet a { color: #111; }
.home-over .invoice-sheet .meta,
.home-over .invoice-sheet .inv-legal,
.home-over .invoice-sheet .inv-pay-lede,
.home-over .invoice-sheet .inv-notes p,
.home-over .invoice-sheet .inv-seller { color: #3d3d3d; }
.inv-head { display: flex; justify-content: space-between; gap: 1.4rem; border-bottom: 3px solid var(--void); padding-bottom: 1rem; }
.inv-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.inv-brand-mark { display: flex; gap: 0.65rem; align-items: center; }
.inv-brand img { object-fit: contain; background: transparent; }
.inv-brand .inv-mark { width: 42px; height: 42px; }
.inv-brand .inv-word { width: auto; height: 48px; max-width: 260px; }
.inv-seller { margin: 0; font-size: 0.82rem; line-height: 1.45; color: #333; }
.inv-id { margin: 0.45rem 0 0; border-collapse: collapse; font-size: 0.86rem; margin-left: auto; }
.inv-id th { text-align: right; font-weight: 600; color: #555; padding: 0.12rem 0.7rem 0.12rem 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.inv-id td { text-align: left; font-weight: 700; padding: 0.12rem 0; }
.due-stamp {
  display: inline-block; border: 3px solid #8a6a12; color: #8a6a12;
  font-family: var(--cond); letter-spacing: 0.1em; font-weight: 800;
  padding: 0.15rem 0.55rem; margin-top: 0.6rem;
}
.inv-brand h1 { font-family: var(--cond); letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.4rem; margin: 0; }
.inv-meta { text-align: right; }
.inv-meta .doc { font-family: var(--cond); font-size: 1.8rem; letter-spacing: 0.12em; font-weight: 800; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin: 1.1rem 0; }
.inv-parties h3 { margin: 0 0 0.3rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #555; }
.inv-parties p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: #222; }
.invoice-sheet .meta { color: #555; font-size: 0.78rem; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.inv-table th { background: var(--void); color: #fff; padding: 0.45rem 0.5rem; text-align: left; }
.inv-table td { padding: 0.5rem; border-bottom: 1px solid #ddd; }
.inv-table .num { text-align: right; }
.inv-foot { display: flex; justify-content: space-between; gap: 1.2rem; margin-top: 1rem; align-items: flex-start; }
.inv-notes { font-size: 0.82rem; color: #444; max-width: 28rem; }
.inv-notes p { margin: 0; }
.inv-sum { min-width: 260px; flex: 0 0 280px; }
.inv-sum div { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.88rem; }
.inv-sum .inv-total { border-top: 1px solid #ccc; margin-top: 0.25rem; padding-top: 0.4rem; font-size: 1rem; }
.inv-pay {
  margin-top: 1.15rem; padding-top: 0.95rem; border-top: 1px solid #ddd;
}
.inv-pay h3 { margin: 0 0 0.25rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #555; }
.inv-pay-lede { margin: 0 0 0.7rem; font-size: 0.82rem; color: #444; }
.inv-pay-row {
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
  padding: 0.45rem 0; border-bottom: 1px solid #eee;
}
.inv-pay-lab { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #666; }
.inv-pay-val { display: block; font-weight: 700; font-size: 0.95rem; color: #111; user-select: all; -webkit-user-select: all; }
.inv-copy {
  flex: 0 0 auto; border: 1px solid #111; background: #fff; color: #111;
  font-family: var(--cond); letter-spacing: 0.1em; text-transform: uppercase;
  font-size: 0.7rem; font-weight: 700; padding: 0.35rem 0.65rem; cursor: pointer;
}
.inv-legal { margin: 1.1rem 0 0; font-size: 0.72rem; color: #666; }
.inv-ship-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 1.1rem; margin: 1.1rem 0; }
.inv-ship-grid h3 { margin: 0 0 0.3rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #555; }
.inv-ship-to { border: 2px solid #111; padding: 0.95rem 1rem; }
.inv-ship-to-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.4rem; }
.inv-ship-to-head h3 { margin: 0; }
.inv-ship-to p { margin: 0; font-size: 1.02rem; line-height: 1.45; font-weight: 600; color: #111; }
.pack-wanted { margin-top: 0.75rem !important; font-size: 0.84rem !important; font-weight: 500 !important; }
.pack-bill { margin-top: 1rem; }
.pack-recv { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.pack-recv div { border-top: 1px solid #111; padding-top: 0.45rem; min-height: 2.6rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #555; }
.order-windows {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin: 0.85rem 0 2rem;
}
.order-window { display: block; text-decoration: none; color: inherit; min-width: 0; }
.order-window-lab {
  display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 0.4rem; color: #c5cad0; font-weight: 700;
}
.order-window-frame {
  position: relative; height: 22rem; overflow: hidden;
  background: #121314; border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 14px 32px rgba(0,0,0,0.38);
}
.order-window:hover .order-window-frame { border-color: #f2f3f5; }
.order-window-hit { position: absolute; inset: 0; z-index: 2; }
.order-window-scale {
  position: absolute; top: 0; left: 50%; width: 860px;
  transform: translateX(-50%) scale(0.36); transform-origin: top center;
  pointer-events: none;
}
.order-window-scale .invoice-sheet { margin: 0; max-width: none; box-shadow: none; }
.order-window-empty {
  display: flex; align-items: center; justify-content: center;
  height: 100%; margin: 0; color: #8b929a; font-size: 0.88rem;
}
.order-window.is-off .order-window-frame { cursor: default; opacity: 0.72; }
.invoice-row-end { display: flex; align-items: center; gap: 0.75rem; }
.invoice-row > a { color: inherit; text-decoration: none; }
.invoice-row .btn { padding: 0.32rem 0.65rem; font-size: 0.7rem; }
.paid-stamp {
  display: inline-block; border: 3px solid var(--ok); color: var(--ok);
  font-family: var(--cond); letter-spacing: 0.14em; font-weight: 800;
  padding: 0.15rem 0.55rem; transform: rotate(-6deg); margin-top: 0.6rem;
}
.private-stamp {
  display: inline-block; border: 2px solid var(--void); color: var(--void);
  font-family: var(--cond); letter-spacing: 0.1em; font-weight: 700;
  padding: 0.12rem 0.45rem; margin-top: 0.55rem; font-size: 0.78rem;
}
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.desk-grid h3 { margin: 0 0 0.7rem; font-family: var(--cond); }
.pin-box {
  font-family: var(--cond);
  letter-spacing: 0.18em;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--void);
  color: var(--chrome);
  padding: 0.55rem 0.85rem;
  display: inline-block;
}
.lock-note {
  background: var(--card);
  border: 1px dashed var(--line);
  padding: 1.5rem 1.4rem;
}
.session-banner {
  background: #eef6ef;
  border: 1px solid #b7d4c0;
  padding: 0.7rem 0.9rem;
  margin: 0 0 1rem;
}
.invoice-actions { display: flex; gap: 0.6rem; justify-content: center; margin: 1rem 0 2rem; }
.admin-search {
  display: block;
  max-width: 28rem;
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-search input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  background: rgba(8,9,10,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f2f3f5;
  padding: 0.7rem 0.85rem;
}
.admin-search input::placeholder { color: #8b9198; text-transform: none; letter-spacing: 0; }
.invoice-list { display: grid; gap: 0.65rem; }
.invoice-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); padding: 0.8rem 1rem;
  text-decoration: none;
}
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact .page-head { grid-column: 1 / -1; }

.toast {
  position: fixed; bottom: 1.2rem; right: 1.2rem;
  background: var(--void); color: #fff;
  padding: 0.7rem 1rem; z-index: 30; box-shadow: var(--shadow);
}

.foot {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: rgba(5,5,6,0.92);
  background-image: none;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #c3c8ce;
  padding: 0.45rem 0;
  margin-top: auto;
}
.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  flex-wrap: wrap;
  min-height: 0;
  padding: 0.15rem 0;
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; max-width: none; min-width: 0; }
.foot-grid .foot-nav { flex-direction: column; align-items: flex-start; gap: 0.4rem; letter-spacing: 0.06em; }
.foot-grid { padding: 1.7rem 0 0.2rem; }
.foot-logo { height: 28px; width: auto; max-width: 180px; object-fit: contain; }
.foot-mark { width: 28px; height: 28px; object-fit: contain; flex: 0 0 auto; display: block; }
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
}
.foot-name,
.foot p.foot-name {
  margin: 0;
  font-family: var(--cond, var(--display));
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #c3c8ce;
}
.foot-since {
  margin: 0;
  font-family: var(--cond, var(--display));
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #8b9198;
}
.biz-name {
  margin: 0 0 0.25rem;
  font-family: var(--cond);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: #f2f3f5;
}
.foot-brand img { object-fit: contain; }
.foot h3 {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome);
  font-family: var(--cond);
}
.foot p { margin: 0; line-height: 1.4; font-size: 0.82rem; color: #9aa1a8; }
.foot a { color: #f2f3f5; }
.foot-legal {
  margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: #8b929a; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

.menu {
  display: none;
  margin-left: auto;
  background: transparent;
  color: #f2f3f5;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .hero.hero-site { place-items: end stretch; min-height: 78vh; }
  .hero.hero-site .hero-inner { padding: 4.2rem 1.1rem 2.8rem; }
  .foot-bar { align-items: flex-start; }
  .foot-logo { height: 22px; }
  :root { --header-h: 62px; }
  .brand-logo { height: 34px; max-width: min(220px, 58vw); }
  .brand-text { display: flex; }
  .brand-name {
    display: block;
    font-size: clamp(0.78rem, 3.6vw, 1.05rem);
  }
  .brand-llc {
    display: block;
    font-size: 0.58rem;
  }
  .top-inner { gap: 0.55rem; min-height: 62px; }
  .rail { font-size: 0.7rem; letter-spacing: 0.1em; }
  .menu { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #050506; padding: 0.7rem 1rem 1rem;
    flex-direction: column; gap: 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open { display: flex; }
  .order-windows { grid-template-columns: 1fr; }
  .order-window-frame { height: 24rem; }
  .order-window-scale { transform: translateX(-50%) scale(0.48); }
  .quote-board { grid-template-columns: 1fr; }
  .quote-form { border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .grid, .detail, .checkout, .lines, .contact, .foot-grid, .desk-grid, .auth-grid,
  .fam-grid, .about-grid, .band-inner { grid-template-columns: 1fr; }
  .card-feature, .card.card-feature { grid-template-columns: 1fr; }
  .card.card-feature a.media, .card.card-feature a.media.wide { min-height: 12rem; }
  .fam-grid { grid-template-columns: 1fr 1fr; }
  .desk-chip { display: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .inv-head, .inv-parties, .inv-foot, .inv-ship-grid, .pack-recv { display: block; }
  .inv-meta { text-align: left; margin-top: 0.8rem; }
  .inv-ship-to { margin-top: 0.9rem; }
  .pack-recv div { margin-top: 1.1rem; }
  .hero { min-height: 88vh; }
  .hero-inner { padding: 4.6rem 1.1rem 2.6rem; }
  .hero-slogan,
  .hero p.hero-slogan { font-size: clamp(2.1rem, 11vw, 3.4rem); }
  .rail, .sell-bar { display: none; }
}

.weld-intro {
  position: fixed; inset: 0; z-index: 200;
  background: #030304;
  overflow: hidden;
  animation: weld-failsafe-hide 0.2s linear 5s forwards;
}
.weld-tag {
  position: absolute;
  inset: 12px;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.5));
}
.weld-half {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  will-change: transform;
  transition: transform 1.4s cubic-bezier(.72,0,.16,1);
}
.weld-half-l { left: 0; }
.weld-half-r { right: 0; }
.weld-skin {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200%;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.18) 0%, transparent 28%, rgba(0,0,0,0.34) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.24), transparent 18%, transparent 82%, rgba(0,0,0,0.24)),
    url("img/metal-texture.jpg") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.weld-half-l .weld-skin {
  left: 0;
  border-radius: 22px 0 0 22px;
  -webkit-mask-image: radial-gradient(circle 13px at 35px 31px, transparent 12px, #000 13.5px);
  mask-image: radial-gradient(circle 13px at 35px 31px, transparent 12px, #000 13.5px);
}
.weld-half-r .weld-skin {
  right: 0;
  border-radius: 0 22px 22px 0;
}
.weld-half-l .weld-skin::after,
.weld-half-r .weld-skin::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  pointer-events: none;
}
.weld-half-l .weld-skin::after {
  right: 0;
  background: linear-gradient(#9c988e, #f4ebd2 46%, #6f6c65);
  box-shadow: 0 0 10px rgba(255, 210, 140, 0.28);
}
.weld-half-r .weld-skin::before {
  left: 0;
  background: linear-gradient(#7c7971, #d4ccba 50%, #4c4a46);
}
.weld-mark {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(220px, 28vw);
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.45));
  pointer-events: none;
}
.weld-hole {
  position: absolute;
  left: 22px;
  top: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px #5d5a54,
    0 0 0 6px rgba(255,255,255,0.16),
    inset 0 0 0 1px rgba(0,0,0,0.35);
  pointer-events: none;
}
.weld-intro.is-split .weld-half-l {
  transform: translate3d(-110%, -3%, 0) rotate(-8deg);
}
.weld-intro.is-split .weld-half-r {
  transform: translate3d(110%, 3%, 0) rotate(8deg);
}
.weld-kerf {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
}
.weld-kerf-beam,
.weld-kerf-core {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
}
.weld-kerf-beam {
  width: 18px;
  background: linear-gradient(90deg, transparent, rgba(74,163,255,0.22) 28%, rgba(255,180,70,0.55) 50%, rgba(74,163,255,0.22) 72%, transparent);
  filter: blur(2px);
}
.weld-kerf-core {
  width: 3px;
  background: linear-gradient(180deg, #fffce8 0%, #ffe08a 22%, #fff 48%, #ff7a18 78%, #4aa3ff 100%);
  box-shadow:
    0 0 6px 1px #fff6c4,
    0 0 16px 4px rgba(255,140,40,0.85),
    0 0 28px 8px rgba(74,163,255,0.35);
}
.weld-kerf-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffe08a 35%, #ff7a18 62%, transparent 78%);
  box-shadow: 0 0 18px 6px rgba(255,200,90,0.9), 0 0 36px 12px rgba(255,90,20,0.45);
  opacity: 0;
}
.weld-spark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff6c8;
  box-shadow: 0 0 6px 2px #ff9a2a;
  opacity: 0;
}
.weld-intro.is-cutting .weld-kerf { opacity: 1; }
.weld-intro.is-cutting .weld-kerf-beam,
.weld-intro.is-cutting .weld-kerf-core {
  animation: kerf-burn 0.82s cubic-bezier(.2,.75,.2,1) forwards;
}
.weld-intro.is-cutting .weld-kerf-head {
  animation: kerf-head 0.82s cubic-bezier(.2,.75,.2,1) forwards;
}
.weld-intro.is-cutting .weld-spark.s1 { animation: spark-fly 0.5s linear 0.12s 2; --dx: -22px; --y: 18%; }
.weld-intro.is-cutting .weld-spark.s2 { animation: spark-fly 0.46s linear 0.28s 2; --dx: 26px; --y: 34%; }
.weld-intro.is-cutting .weld-spark.s3 { animation: spark-fly 0.52s linear 0.4s 2; --dx: -18px; --y: 48%; }
.weld-intro.is-cutting .weld-spark.s4 { animation: spark-fly 0.44s linear 0.52s 2; --dx: 30px; --y: 62%; }
.weld-intro.is-cutting .weld-spark.s5 { animation: spark-fly 0.48s linear 0.64s 2; --dx: -26px; --y: 76%; }
.weld-intro.is-cutting .weld-spark.s6 { animation: spark-fly 0.42s linear 0.74s 1; --dx: 16px; --y: 88%; }
@keyframes kerf-burn {
  from { transform: translateX(-50%) scaleY(0); opacity: 0.35; }
  12% { opacity: 1; }
  to { transform: translateX(-50%) scaleY(1); opacity: 1; }
}
@keyframes kerf-head {
  0% { top: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0.85; }
}
@keyframes spark-fly {
  0% { opacity: 1; transform: translate(-50%, var(--y)) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(var(--y) + 70px)) scale(0.25); }
}
.weld-intro.is-split .weld-kerf {
  opacity: 0;
  transition: opacity 0.22s linear 0.12s;
}
.weld-intro.is-split {
  background: transparent;
  transition: background 0.28s linear;
}
.weld-intro.is-out {
  animation: weld-out 0.35s cubic-bezier(.7,0,.2,1) forwards;
  pointer-events: none;
}
body.is-welding { overflow: hidden; }
html.no-weld body.is-welding { overflow: auto; }
@keyframes weld-failsafe-hide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes weld-out {
  to { opacity: 0; visibility: hidden; }
}


@media (prefers-reduced-motion: reduce) {
  .hero-slogan,
  .hero p.hero-slogan,
  body:not(.is-welding) .hero-slogan {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  #app, #app.page-in > *, .card, .fam-card, .nav a::after, .nav-curtain span, .route-bar {
    animation: none !important; transition: none !important;
  }
  #app.is-leaving { opacity: 1; transform: none; }
  .weld-intro { display: none !important; }
  body.is-welding { overflow: auto; }
  .hero-video,
  .site-back-video { display: none !important; }
  .site-back-poster,
  .site-back-video { animation: none !important; }
  .site-back-shift { transform: none !important; will-change: auto; }
  .hero-runway { height: auto; margin-top: 0; }
  .hero.hero-stage {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 78vh;
    z-index: 0;
  }
  .hero-media { transform: none !important; will-change: auto; }
  html:has(.hero-runway),
  body:has(.hero-runway) {
    background-color: var(--void);
    background-image: url("img/hero-workshop.jpg");
    background-size: cover;
    background-position: 46% 68%;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  .home-over,
  .home-over .section,
  .home-over .band,
  .hero-runway + .section,
  .hero-runway ~ .section,
  .hero-runway ~ .band {
    background: transparent;
    background-image: none;
  }
}

@media print {
  @page { size: letter; margin: 0.5in; }
  html, body { background: #fff !important; }
  .top, .foot, .invoice-actions, .toast, .skip, .route-bar, .nav-curtain, .sell-bar, .rail, .weld-intro, .site-back, .inv-copy { display: none !important; }
  #app, .home-over, .section, .wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; background: #fff !important; }
  .invoice-sheet, .packing-sheet {
    box-shadow: none; border: 0; max-width: none; padding: 0;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  a[href]::after { content: none !important; }
}

.legal-doc { max-width: 760px; }
.legal-doc p { color: #d5d8dc; line-height: 1.55; }
.legal-doc a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }


.doc-center { text-align: center; }
.doc-center .page-head { align-items: center; }
.doc-center .page-head .lede,
.doc-center > .lede,
.doc-center .legal-doc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 40rem;
}
.doc-center .legal-doc { max-width: 40rem; }
.doc-center .card-actions { justify-content: center; }
.about-doc {
  max-width: 38rem;
  margin: 0.15rem auto 0;
  text-align: left;
}
.about-doc p {
  color: #d5d8dc;
  line-height: 1.62;
  margin: 0 0 1.05rem;
}
.about-doc p.lede {
  color: #f2f3f5;
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 1.15rem;
}
.about-doc a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }


/* pair line: wrapper + tunnel shown together */
.card a.media.pair { display: grid; grid-template-columns: 1fr 1fr; }
.card a.media.pair img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo.pair,
.detail-photo.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; background: transparent; border: 0; }
.detail-photo.gallery { grid-template-columns: 1fr 1fr; }
.detail-photo.pair img,
.detail-photo.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid rgba(255,255,255,0.12); border-radius: 2px; }
.detail-photo.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 3/4; object-position: center; }
