/* === Quacktory × LOCOMOTIVE — saturated red, mosaic, cyan accents === */
:root {
  --bg: #E50E1E;
  --bg-deep: #B0080F;
  --fg: #FFFFFF;
  --accent: #3CC9DC;
  --accent-2: #2DCBE0;
  --muted: #8B8B8B;
  --ink: #0A0A0A;
  --surface: #FFFFFF;
  --m-red: #E50E1E;
  --m-blue: #0A1A3A;
  --rule: rgba(255, 255, 255, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 8px; padding: 6px 10px;
  background: var(--accent); color: var(--ink); z-index: 99;
}
.skip-link:focus { top: 8px; }

/* === Top === */
.top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent);
}
.wm {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.top__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.top__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.02em;
  transition: opacity 0.2s, color 0.2s;
}
.top__nav a:hover { opacity: 0.7; color: var(--accent); }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.cta__dot { font-size: 18px; line-height: 0.5; }

/* === Hero === */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  padding: 0 32px 32px;
  overflow: hidden;
}
.hero__face {
  position: relative;
  flex: 1;
  min-height: 60vh;
  margin-bottom: 24px;
  overflow: hidden;
}
.hero__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.2) hue-rotate(-10deg);
}
.hero__mosaic {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  height: 18%;
  background-image:
    linear-gradient(45deg, var(--m-red) 25%, transparent 25%, transparent 75%, var(--m-red) 75%),
    linear-gradient(45deg, var(--m-red) 25%, var(--m-blue) 25%, var(--m-blue) 75%, var(--m-red) 75%);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  opacity: 0.85;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.hero__lockup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__tile {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  align-self: flex-start;
  text-transform: uppercase;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: var(--accent);
  text-transform: none;
}
.hero__ast { color: var(--accent); font-size: 0.6em; vertical-align: super; margin-left: 8px; }
.hero__cta {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.hero__cta:hover { color: var(--fg); border-color: var(--fg); }

/* === Lineup === */
.lineup {
  padding: 80px 32px 60px;
  background: var(--ink);
  color: var(--fg);
  border-top: 1px solid var(--rule);
}
.lineup__head { max-width: 1100px; margin: 0 auto 40px; }
.lineup__eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 16px;
}
.lineup__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.lineup__list {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 20px 12px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fg);
  transition: background 0.2s, padding 0.2s;
  position: relative;
}
.row:hover, .row:focus-visible {
  background: rgba(60, 201, 220, 0.08);
  padding-left: 24px;
  outline: none;
}
.row__ab {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 10px;
  text-align: center;
  text-transform: uppercase;
}
.row__line {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.row__size {
  font-size: 13px;
  color: var(--fg);
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.row__price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  min-width: 120px;
  text-align: right;
}

/* === B2B === */
.b2b {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--ink);
  color: var(--fg);
  border-top: 1px solid var(--rule);
}
.b2b__head { display: flex; flex-direction: column; gap: 18px; }
.b2b__eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.b2b__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.b2b__copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg);
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 460px;
}
.b2b__cta {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  padding: 12px 20px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.b2b__cta:hover { color: var(--fg); border-color: var(--fg); }

/* === Footer === */
.leg {
  background: var(--bg-deep);
  padding: 24px 32px;
  border-top: 1px solid var(--rule);
  color: var(--fg);
}
.leg__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.leg__brand { font-weight: 700; }
.leg__count { color: var(--accent); font-weight: 600; }
.leg__gear {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg);
  opacity: 0.85;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.leg__gear:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* === Modal === */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(8px); }
.modal__panel {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--accent);
  padding: 32px;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  color: var(--fg);
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  border: 1px solid var(--rule);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
}
.modal__close:hover { background: var(--accent); color: var(--ink); }
.modal__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.modal__body { display: flex; flex-direction: column; gap: 12px; }
.modal__num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}
.modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.modal__size { font-size: 13px; color: var(--fg); opacity: 0.8; }
.modal__desc { font-size: 13px; line-height: 1.6; color: var(--fg); opacity: 0.85; }
.modal__price { font-size: 15px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.modal__term { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }

/* === Mobile === */
@media (max-width: 720px) {
  .top { grid-template-columns: 1fr; gap: 12px; padding: 16px; text-align: center; }
  .top__nav { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .cta { justify-self: center; }
  .hero { padding: 0 16px 16px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 16px; }
  .hero__title { font-size: 36px; }
  .lineup { padding: 56px 16px 32px; }
  .row { grid-template-columns: 60px 1fr; gap: 12px; padding: 16px 8px; }
  .row__size, .row__price { grid-column: 2; min-width: 0; text-align: left; }
  .row__line { grid-column: 2; font-size: 18px; }
  .row__ab { grid-row: 1 / 3; align-self: start; }
  .b2b { grid-template-columns: 1fr; gap: 24px; padding: 56px 16px; }
  .leg { padding: 20px 16px; }
  .leg__row { font-size: 10px; }
  .modal__panel { grid-template-columns: 1fr; padding: 20px; }
  .modal__title { font-size: 24px; }
}
