/* ==========================================================
   MOX COLLECTIVE / TRADE COVERAGE
   brutalist minimal. red, black, white. hard edges only.
   ========================================================== */

@font-face {
  font-family: "Gyst";
  src: url("assets/fonts/Gyst-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Gyst";
  src: url("assets/fonts/Gyst-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Gyst";
  src: url("assets/fonts/Gyst-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #121212;
  --oxide: #460400;
  --red: #B91800;
  --white: #EFECE6;
  --line: 1px solid var(--black);
  --line-inv: 1px solid var(--white);
  --mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;
  --pad: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: "Gyst", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--white); }

img { display: block; max-width: 100%; }

/* ---------- gate ---------- */

body.locked { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}
.gate.is-open { transform: translateY(-100%); }

.gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(320px, 80vw);
}

.gate-m {
  height: 40px;
  width: auto;
  opacity: 0;
  animation: gate-in 1.2s ease 0.2s forwards;
}

#gate-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(239, 236, 230, 0.35);
  padding: 10px 2px;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.5em;
  text-align: center;
  color: var(--white);
  caret-color: var(--red);
  outline: none;
  opacity: 0;
  animation: gate-in 1.2s ease 0.5s forwards;
}
#gate-input:focus { border-bottom-color: var(--red); }

.gate.is-wrong #gate-input {
  animation: shake 0.25s;
  border-bottom-color: var(--red);
}

.gate-msg {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  min-height: 1em;
}

.gate-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(239, 236, 230, 0.25);
  opacity: 0;
  animation: gate-in 1.2s ease 0.9s forwards;
}

@keyframes gate-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.gate.is-wrong .gate-msg { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .gate { transition: none; }
  .gate.is-open { display: none; }
  .gate-m, #gate-input, .gate-hint { animation: none; opacity: 1; }
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 14px var(--pad);
  background: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--red);
}

.topbar-logo img { height: 20px; width: auto; }

.topbar-nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 32px);
  margin-left: auto;
}

.topbar-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
.topbar-nav a:hover { color: var(--red); border-bottom-color: var(--red); }

.topbar-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 10px;
  white-space: nowrap;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: var(--pad);
  padding: clamp(48px, 8vw, 120px) var(--pad) clamp(40px, 6vw, 80px);
  border-bottom: var(--line);
}

.hero-title {
  grid-column: 1;
  font-weight: 700;
  font-size: clamp(52px, 9.5vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--red); }

.hero-side {
  grid-column: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  max-width: 40ch;
}

.hero-cta {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--red);
  padding: 14px 22px;
  border: 1px solid var(--red);
  transition: background 0.15s, color 0.15s;
}
.hero-cta:hover { background: var(--black); border-color: var(--black); }

.hero-facts {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--line);
  margin-top: clamp(24px, 4vw, 56px);
  background: var(--white);
}

.hero-facts li {
  padding: 18px 20px;
  border-right: var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-facts li:last-child { border-right: none; }

.hero-facts b {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  font-variant-numeric: tabular-nums;
}
.hero-facts span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.65);
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  border-bottom: var(--line);
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(48px, 7vw, 110px) var(--pad);
  border-bottom: var(--line);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-title {
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.section-title .num {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.4em;
  color: var(--red);
  letter-spacing: 0.1em;
}

/* ---------- services ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--line);
}

.svc {
  padding: 26px 22px 34px;
  border-right: var(--line);
  position: relative;
  transition: background 0.15s, color 0.15s;
  cursor: crosshair;
}
.svc:last-child { border-right: none; }

.svc:hover { background: var(--black); color: var(--white); }
.svc:hover .svc-index { color: var(--red); }

.svc-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  display: block;
  margin-bottom: 42px;
}

.svc h3 {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  margin-bottom: 12px;
}

.svc p { font-size: 15px; line-height: 1.55; }

/* ---------- terms ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--line-inv);
}

.step {
  padding: 28px 24px 40px;
  border-right: var(--line-inv);
}
.step:last-child { border-right: none; }

.step-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--black);
  background: var(--red);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  margin-bottom: 36px;
}

.step h3 {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 12px;
}

.step p { font-size: 15px; line-height: 1.55; color: rgba(239, 236, 230, 0.8); }

.terms-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--line-inv);
  border-top: none;
}

.terms-strip li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-right: var(--line-inv);
  color: var(--red);
}
.terms-strip li:last-child { border-right: none; }

/* ---------- work / gallery ---------- */

.work-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--line);
  border-bottom: none;
}

.work-tab {
  font-family: "Gyst", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--white);
  color: var(--black);
  border: none;
  border-right: var(--line);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.work-tab:last-child { border-right: none; }
.work-tab.is-active { background: var(--red); color: var(--white); }
.work-tab:not(.is-active):hover { background: var(--black); color: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--line);
  border-bottom: none;
}

.g-tile {
  aspect-ratio: 3 / 2;
  border-bottom: var(--line);
  border-right: var(--line);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  background: var(--white);
  padding: 0;
}
.g-tile:nth-child(3n) { border-right: none; }

.g-tile img,
.g-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.25s, transform 0.35s;
}
.g-tile:hover img,
.g-tile:hover video { filter: none; transform: scale(1.02); }

.g-tile .g-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  padding-left: 4px;
  pointer-events: none;
  transition: transform 0.15s;
}
.g-tile:hover .g-play { transform: translate(-50%, -50%) scale(1.12); }

.g-tile .g-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--black);
  padding: 4px 8px;
  pointer-events: none;
}

.g-tile.is-empty {
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(18, 18, 18, 0.06) 14px 15px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.g-tile.is-empty:hover { background-color: rgba(185, 24, 0, 0.04); }

.g-empty-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(18, 18, 18, 0.45);
  text-align: center;
  text-transform: uppercase;
}
.g-empty-text b {
  display: block;
  color: var(--red);
  margin-bottom: 6px;
  font-weight: 400;
}

.gallery-more {
  display: block;
  width: 100%;
  padding: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  background: var(--black);
  color: var(--white);
  border: var(--line);
  border-top: none;
  cursor: pointer;
  transition: background 0.15s;
  position: sticky;
  bottom: 0;
  z-index: 5;
}
.gallery-more:hover { background: var(--red); }
.gallery-more.is-expanded { background: var(--red); }
.gallery-more.is-expanded:hover { background: var(--black); }

.gallery-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(18, 18, 18, 0.6);
  border: var(--line);
  border-top: var(--line);
  padding: 14px 18px;
}

/* ---------- advanced capabilities ---------- */

.adv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.adv-copy {
  max-width: 58ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.adv-cta {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--black);
  padding: 14px 22px;
  transition: background 0.15s;
}
.adv-cta:hover { background: var(--red); }

.tour-frame {
  border: 2px solid var(--black);
  background: var(--black);
}
.tour-frame iframe {
  display: block;
  width: 100%;
  height: clamp(380px, 60vh, 620px);
  border: 0;
}

/* ---------- bid builder ---------- */

.bid-intro {
  max-width: 62ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(239, 236, 230, 0.8);
  margin: -12px 0 clamp(32px, 4vw, 56px);
}

.bid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.ctl {
  border: var(--line-inv);
  padding: 22px;
  margin-bottom: 20px;
}

.ctl legend {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red);
  padding: 0 10px;
}

.ctl-hint {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(239, 236, 230, 0.5);
  margin-top: 14px;
}

/* segmented buttons */

.seg { display: flex; border: var(--line-inv); width: max-content; }

.seg-btn {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 13px 26px;
  background: transparent;
  color: var(--white);
  border: none;
  border-right: var(--line-inv);
  cursor: pointer;
}
.seg-btn:last-child { border-right: none; }
.seg-btn.is-active { background: var(--red); }
.seg-btn:not(.is-active):hover { background: rgba(239, 236, 230, 0.12); }

.seg-small .seg-btn { padding: 12px 18px; }

/* days slider */

.days-readout { margin-bottom: 16px; }

#days-label {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.dslider { margin-bottom: 22px; }
.dslider:last-of-type { margin-bottom: 0; }

.dslider label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(239, 236, 230, 0.7);
  margin-bottom: 12px;
}
.dslider label b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 14px;
  color: var(--red);
}

.dslider input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: rgba(239, 236, 230, 0.3);
  outline: none;
  cursor: ew-resize;
}

.dslider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  background: var(--red);
  border: 2px solid var(--white);
  cursor: ew-resize;
}
.dslider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: var(--red);
  border: 2px solid var(--white);
  cursor: ew-resize;
}

/* coverage */

.cov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cov-btn {
  text-align: left;
  padding: 18px;
  background: transparent;
  color: var(--white);
  border: var(--line-inv);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: inherit;
  transition: background 0.12s;
}

.cov-btn b {
  font-weight: 700;
  font-size: 20px;
  font-family: "Gyst", sans-serif;
}
.cov-btn span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(239, 236, 230, 0.6);
}

.cov-btn.is-active {
  border-color: var(--red);
  background: var(--oxide);
}
.cov-btn.is-active b { color: var(--red); }
.cov-btn:not(.is-active):hover { background: rgba(239, 236, 230, 0.08); }

.cov-btn.shake { animation: shake 0.25s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
}

.cov-warn {
  margin-top: 16px;
  border: 1px solid var(--red);
  color: var(--white);
  background: var(--oxide);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  padding: 14px 16px;
}

/* add ons */

.addons { display: flex; flex-direction: column; }

.addon {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(239, 236, 230, 0.15);
  cursor: pointer;
}
.addon:last-child { border-bottom: none; }
.addon:hover .addon-name { color: var(--red); }

.addon input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: var(--line-inv);
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.addon input:checked { background: var(--red); border-color: var(--red); }
.addon input:checked::after {
  content: "\2715";
  color: var(--white);
  font-size: 12px;
  line-height: 1;
}

.addon-name { font-size: 16px; }

.addon-price {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(239, 236, 230, 0.7);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.addon.is-disabled { opacity: 0.35; pointer-events: none; }

/* markup */

.markup-row { display: flex; gap: 14px; align-items: stretch; }

#markup-input {
  font-family: var(--mono);
  font-size: 20px;
  width: 130px;
  background: transparent;
  color: var(--white);
  border: var(--line-inv);
  padding: 0 14px;
  font-variant-numeric: tabular-nums;
}
#markup-input:focus { outline: 2px solid var(--red); outline-offset: -1px; }

/* receipt */

.receipt {
  position: sticky;
  top: 76px;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--red);
  padding: 24px;
}

.receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--line);
  padding-bottom: 16px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
}
.receipt-m { height: 26px; width: auto; }

.receipt-lines {
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
}

.receipt-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(18, 18, 18, 0.25);
  font-variant-numeric: tabular-nums;
}
.receipt-lines li span:first-child { text-transform: uppercase; letter-spacing: 0.04em; }

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  font-variant-numeric: tabular-nums;
}
.receipt-row span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.receipt-row b { font-weight: 700; font-size: 20px; }

.receipt-sub { border-bottom: var(--line); }
.receipt-margin { border-bottom: var(--line); color: rgba(18, 18, 18, 0.75); }

.receipt-total { padding: 18px 0 6px; }
.receipt-total b {
  font-size: clamp(34px, 3.4vw, 48px);
  color: var(--red);
  line-height: 1;
}

.receipt-copy {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.receipt-copy:hover { background: var(--red); }
.receipt-copy.copied { background: var(--red); }

.receipt-fine {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(18, 18, 18, 0.55);
}

/* ---------- footer ---------- */

.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 7vw, 100px) var(--pad);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  border-top: 2px solid var(--red);
}

.footer-m { height: clamp(64px, 8vw, 120px); width: auto; }

.footer-big {
  font-weight: 700;
  font-size: clamp(36px, 6vw, 88px);
  text-transform: uppercase;
  line-height: 1;
}

.footer-mail {
  font-family: var(--mono);
  font-size: clamp(14px, 1.6vw, 20px);
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}
.footer-mail:hover { color: var(--white); border-bottom-color: var(--white); }

.footer-fine {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: rgba(239, 236, 230, 0.5);
  border-top: 1px solid rgba(239, 236, 230, 0.2);
  padding-top: 20px;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lb-stage {
  max-width: min(1100px, 86vw);
  max-height: 84vh;
}
.lb-stage img,
.lb-stage video {
  max-width: min(1100px, 86vw);
  max-height: 84vh;
  border: var(--line-inv);
}

.lb-stage iframe {
  width: min(1100px, 86vw);
  aspect-ratio: 16 / 9;
  max-height: 84vh;
  border: var(--line-inv);
  display: block;
  background: #000;
}

.lb-close,
.lb-arrow {
  position: fixed;
  background: transparent;
  color: var(--white);
  border: var(--line-inv);
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  font-family: var(--mono);
}
.lb-close:hover,
.lb-arrow:hover { background: var(--red); border-color: var(--red); }

.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- pdf button ---------- */

.receipt-pdf {
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  background: var(--white);
  color: var(--black);
  border: var(--line);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.receipt-pdf:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- print quote sheet ---------- */

.quote-sheet { display: none; }

@media print {
  @page { margin: 16mm; }

  .topbar, main, .footer, .lightbox, .gate { display: none !important; }
  body { background: #fff; overflow: visible; }

  .quote-sheet {
    display: block;
    color: #121212;
    font-family: "Gyst", sans-serif;
    font-weight: 300;
  }

  .qs-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #B91800;
    padding-bottom: 14px;
  }
  .qs-head img { height: 38px; width: auto; }
  .qs-title {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.01em;
  }

  .qs-meta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #555;
    margin: 10px 0 26px;
  }

  .qs-specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid #121212;
    margin-bottom: 26px;
  }
  .qs-spec {
    padding: 12px 14px;
    border-right: 1px solid #121212;
  }
  .qs-spec:last-child { border-right: none; }
  .qs-spec span {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    color: #B91800;
    margin-bottom: 6px;
  }
  .qs-spec b {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
  }

  .qs-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
  .qs-table td {
    font-family: var(--mono);
    font-size: 11px;
    padding: 9px 2px;
    border-bottom: 1px dashed #999;
  }
  .qs-table td:last-child { text-align: right; }

  .qs-totals { margin-top: 6px; }
  .qs-trow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 2px;
    border-bottom: 1px solid #121212;
  }
  .qs-trow span {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .qs-trow b { font-weight: 700; font-size: 16px; }
  .qs-trow.qs-grand { border-bottom: none; padding-top: 16px; }
  .qs-trow.qs-grand b { font-size: 34px; color: #B91800; }

  .qs-fine {
    margin-top: 34px;
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 0.06em;
    color: #555;
  }
  .qs-fine b { color: #B91800; }
}

/* ---------- reveal on scroll ---------- */

.section-title,
.svc, .step, .g-tile {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .section-title, .svc, .step, .g-tile { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-column: 1; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:nth-child(2n) { border-right: none; }
  .hero-facts li:nth-child(-n+2) { border-bottom: var(--line); }

  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(2n) { border-right: none; }
  .svc:nth-child(-n+2) { border-bottom: var(--line); }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: var(--line-inv); }
  .step:last-child { border-bottom: none; }

  .terms-strip { grid-template-columns: 1fr 1fr; }
  .terms-strip li:nth-child(2n) { border-right: none; }
  .terms-strip li:nth-child(-n+2) { border-bottom: var(--line-inv); }

  .gallery { grid-template-columns: 1fr 1fr; }
  .g-tile:nth-child(3n) { border-right: var(--line); }
  .g-tile:nth-child(2n) { border-right: none; }

  .bid-layout { grid-template-columns: 1fr; }
  .receipt { position: static; }
}

@media (max-width: 640px) {
  .topbar-nav { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .g-tile { border-right: none !important; }
  .cov-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}
