/* Chaos Convoy product page. Loaded after /styles.css; every rule is scoped to body.cc or a cc- class.
   No scripts, no third-party requests. Fonts: Barlow and Barlow Condensed (SIL OFL 1.1, see fonts/OFL.txt). */

@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Barlow-Medium.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-weight: 600 700; font-style: normal; font-display: swap; src: url("fonts/Barlow-SemiBold.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/BarlowCondensed-SemiBold.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700 900; font-style: normal; font-display: swap; src: url("fonts/BarlowCondensed-Bold.woff") format("woff"); }

.cc {
  --gold: #f5c542;
  --green: #4ade80;
  --cyan: #38d6f5;
  --pink: #ff5fb7;
  --cc-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --cc-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--cc-body);
  font-weight: 500;
  font-size: 1.125rem;
  overflow-x: hidden;
}
.cc :focus-visible { outline-color: var(--orange); }
.cc strong { font-weight: 600; color: #fff; }

/* ---------- header over the key art ---------- */
.cc .site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  background: linear-gradient(rgba(11, 14, 20, 0.88), rgba(11, 14, 20, 0));
  padding-bottom: 48px;
}
.cc .nav a { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.cc .nav a:hover { border-bottom-color: var(--orange); }

/* ---------- type ---------- */
.cc h2 {
  font-family: var(--cc-display); font-style: normal; font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 0.98; letter-spacing: 0.005em;
  margin-bottom: 20px;
}
.cc h3 { font-family: var(--cc-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; letter-spacing: 0.02em; line-height: 1.1; }
.cc .kicker { font-family: var(--cc-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.22em; display: flex; align-items: center; gap: 12px; }
.cc .kicker::before { content: ""; width: 34px; height: 3px; background: var(--orange); }
.cc .intro { font-size: 1.22rem; line-height: 1.55; }
.cc-big { font-size: clamp(1.2rem, 2.1vw, 1.4rem); line-height: 1.5; color: #dfe5f0; }
.cc-orange { color: var(--orange); }
.cc-head { max-width: 780px; margin-bottom: 36px; }
.cc-head .intro { margin-bottom: 0; }
.cc section { padding: 96px 0; position: relative; }

/* ---------- hero ---------- */
.cc-hero { position: relative; background: var(--bg); }
.cc-hero-art { position: relative; height: clamp(340px, 50vw, 700px); overflow: hidden; }
.cc-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: cc-drift 28s ease-in-out infinite alternate; }
.cc-hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 14, 20, 0) 45%, rgba(11, 14, 20, 0.82) 82%, var(--bg) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(11, 14, 20, 0) 55%, rgba(11, 14, 20, 0.6) 100%);
}
@keyframes cc-drift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1%); } }

.cc-hero-body { position: relative; z-index: 2; text-align: center; margin-top: clamp(-190px, -15vw, -90px); padding-bottom: 72px; }
.cc-eyebrow { margin: 0 0 10px; font-family: var(--cc-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.98rem; color: #cfd6e4; text-shadow: 0 1px 10px #000; }
.cc-logo { margin: 0 auto; width: min(78vw, 480px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.75)); }
.cc-logo img { width: 100%; }
.cc-tagline {
  margin: 22px 0 14px; font-family: var(--cc-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 6.4vw, 4.2rem); line-height: 0.95; letter-spacing: 0.01em;
}
.cc-tagline span { color: var(--orange); }
.cc-lede { max-width: 46ch; margin: 0 auto 24px; font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.5; color: #d5dbe7; }
.cc-badges { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cc-badges li {
  font-family: var(--cc-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.98rem;
  padding: 6px 14px; border: 1px solid #2c3648; border-radius: 6px; background: rgba(17, 21, 29, 0.8); color: #cfd6e4;
}
.cc-badges li:nth-child(1) { border-left: 3px solid var(--gold); }
.cc-badges li:nth-child(2) { border-left: 3px solid var(--green); }
.cc-badges li:nth-child(3) { border-left: 3px solid var(--cyan); }
.cc-badges li:nth-child(4) { border-left: 3px solid var(--pink); }
.cc-actions { justify-content: center; }
.cc .btn { font-family: var(--cc-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.12rem; padding: 14px 24px; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.cc a.btn:hover { transform: translateY(-2px); }
.cc .btn-ghost { background: rgba(17, 21, 29, 0.6); border-color: #344056; }
.cc .btn-ghost:hover { border-color: var(--orange); }
.cc .btn-soon { color: #b3bccd; border-color: #4a566e; }
.cc-btn-orange { background: var(--orange); color: #14100b; }
.cc-btn-orange:hover { background: #ff9a4d; color: #14100b; }

/* ---------- split rows (text + picture) ---------- */
.cc-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cc-split-flip { grid-template-columns: 1.05fr 1fr; margin-top: 56px; }
.cc-split-text > :last-child { margin-bottom: 0; }
.cc-frame { margin: 0; position: relative; }
.cc-frame img { width: 100%; border-radius: var(--radius); border: 1px solid #2a3344; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.cc-frame figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.cc-split-art::before {
  content: ""; position: absolute; z-index: -1; inset: -18px auto auto -18px; width: 44%; height: 44%;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, transparent 10px 20px); opacity: 0.55; border-radius: 6px;
}

/* ---------- four guns ---------- */
.cc-guns { background: radial-gradient(900px 480px at 88% 10%, rgba(242, 130, 49, 0.13), transparent 70%), radial-gradient(800px 460px at 0% 100%, rgba(0, 84, 254, 0.16), transparent 70%); }
.cc h2.cc-statement { font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: 0.88; margin-bottom: 26px; }
.cc-statement span { display: block; }
.cc-hardpoints { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-hardpoints li {
  font-family: var(--cc-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.15rem;
  background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 8px; padding: 12px 16px;
  display: flex; align-items: baseline; gap: 12px;
}
.cc-hardpoints span { color: var(--c); font-size: 0.95rem; letter-spacing: 0.1em; }
.c-gold { --c: var(--gold); } .c-green { --c: var(--green); } .c-cyan { --c: var(--cyan); } .c-pink { --c: var(--pink); }

/* ---------- screenshots ---------- */
.cc-shot { display: block; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid #2a3344; background: #05070b; aspect-ratio: 16 / 9; }
.cc-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s ease; }
.cc-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow 0.2s ease; pointer-events: none; }
.cc-shot:hover img, .cc-shot:focus-visible img { transform: scale(1.04); filter: brightness(1.1); }
.cc-shot:hover::after, .cc-shot:focus-visible::after { box-shadow: inset 0 0 0 3px var(--orange); }
.cc-shot-wide { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }

.cc-gallery, .cc-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cc-shot-lead { grid-column: span 2; grid-row: span 2; }

/* ---------- co-op ---------- */
.cc-coop { background: linear-gradient(rgba(17, 21, 29, 0.9), rgba(17, 21, 29, 0.96)), url("img/backdrop-1438.jpg") center / cover no-repeat; }
.cc-squad { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cc-squad li { background: rgba(22, 27, 38, 0.92); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 10px; padding: 18px 20px; }
.cc-squad h3 { color: var(--c); margin-bottom: 4px; }
.cc-squad p { margin: 0; color: #c3cbda; font-size: 1.02rem; line-height: 1.45; }

/* ---------- feature cards ---------- */
.cc-grid, .cc-foes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc-card {
  position: relative; background: linear-gradient(160deg, #1a2030, #121722); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease;
}
.cc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 56px; background: var(--orange); transition: width 0.3s ease; }
.cc-card:hover { border-color: #3a465c; transform: translateY(-3px); }
.cc-card:hover::before { width: 100%; }
.cc-card p { margin: 0; color: #b9c2d3; font-size: 1.04rem; line-height: 1.5; }
.cc-num { display: block; font-family: var(--cc-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; color: var(--orange); margin-bottom: 10px; }

/* ---------- robot ---------- */
.cc-squad-render img { background: #000; }
.cc h3.cc-sub { font-size: 1.7rem; margin: 0 0 8px; }
.cc-split-text p + .cc-sub { margin-top: 30px; }

/* ---------- overseer ---------- */
.cc-overseer { text-align: center; background: linear-gradient(rgba(11, 14, 20, 0.78), rgba(11, 14, 20, 0.94)), url("img/backdrop-1438.jpg") center / cover no-repeat; }
.cc-overseer .kicker { justify-content: center; }
.cc-overseer .kicker::after { content: ""; width: 34px; height: 3px; background: var(--orange); }
.cc-quote { margin: 34px auto 34px; max-width: 900px; padding: 0; border: 0; }
.cc-quote p {
  margin: 0 0 16px; font-family: var(--cc-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 5.4vw, 3.7rem); line-height: 1.02; letter-spacing: 0.01em; color: #fff;
  text-shadow: 0 0 44px rgba(61, 133, 255, 0.55);
}
.cc-quote p::before { content: "\201C"; color: var(--blue); }
.cc-quote p::after { content: "\201D"; color: var(--blue); }
.cc-quote footer { font-family: var(--cc-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.26em; color: var(--blue); font-size: 1rem; }
.cc-quote footer::before { content: "— "; }
.cc-narrow { max-width: 60ch; margin: 0 auto 44px; }
.cc-foes { text-align: left; }
.cc-foes .cc-card::before { background: var(--blue); }

/* ---------- facts ---------- */
.cc-facts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.cc-keys { list-style: none; margin: 0; padding: 0; }
.cc-keys li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); color: #d5dbe7; }
.cc-keys li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 14px; height: 4px; background: var(--orange); transform: skewX(-30deg); }
.cc-dl { margin: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cc-dl > div { display: grid; grid-template-columns: 12.5rem 1fr; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.cc-dl > div:last-child { border-bottom: 0; }
.cc-dl dt { font-family: var(--cc-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.98rem; color: var(--muted); padding-top: 2px; }
.cc-dl dd { margin: 0; font-weight: 600; color: #fff; overflow-wrap: anywhere; }

/* ---------- call to action ---------- */
.cc-cta { text-align: center; background: radial-gradient(700px 380px at 50% 0%, rgba(242, 130, 49, 0.2), transparent 70%), radial-gradient(900px 420px at 50% 100%, rgba(0, 84, 254, 0.22), transparent 70%); }
.cc-cta-logo { width: min(60vw, 300px); margin: 0 auto 26px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6)); }
.cc-cta .cc-big { max-width: 48ch; margin: 0 auto 28px; }
.cc-mail { margin: 26px 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- footer ---------- */
.cc-legal { flex-basis: 100%; margin: 0; font-size: 0.86rem; color: #7f8aa0; }

/* ---------- lightbox ---------- */
.cc-lightbox { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 10, 0.97); align-items: center; justify-content: center; padding: 56px 64px; }
.cc-lightbox:target { display: flex; animation: cc-fade 0.2s ease; }
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
.cc-lb-close { position: absolute; inset: 0; cursor: zoom-out; }
.cc-lightbox figure { position: relative; margin: 0; max-width: min(100%, calc((100vh - 150px) * 16 / 9)); pointer-events: none; }
.cc-lightbox figure img { width: 100%; border-radius: 8px; box-shadow: 0 30px 90px #000; }
.cc-lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: #cfd6e4; font-size: 1rem; }
.cc-lightbox figcaption span { color: var(--muted); white-space: nowrap; }
.cc-lb-nav, .cc-lb-x {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
  background: rgba(22, 27, 38, 0.9); border: 1px solid #3a465c; font-family: var(--cc-display); font-weight: 700;
}
.cc-lb-nav { top: 50%; width: 48px; height: 72px; margin-top: -36px; border-radius: 8px; font-size: 2.4rem; line-height: 1; padding-bottom: 6px; }
.cc-lb-prev { left: 8px; } .cc-lb-next { right: 8px; }
.cc-lb-x { top: 12px; right: 12px; padding: 8px 16px; border-radius: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1rem; }
.cc-lb-nav:hover, .cc-lb-x:hover { background: var(--orange); border-color: var(--orange); color: #14100b; }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .cc-grid, .cc-foes { grid-template-columns: 1fr 1fr; }
  .cc-squad { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cc section { padding: 68px 0; }
  .cc-split, .cc-split-flip, .cc-facts-grid { grid-template-columns: 1fr; gap: 36px; }
  .cc-split-flip .cc-split-art { order: 2; }
  .cc-split-art::before { inset: -10px auto auto -10px; }
}
@media (max-width: 760px) {
  .cc-gallery, .cc-trio { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cc-shot-lead { grid-column: span 2; grid-row: auto; }
  .cc-trio .cc-shot:first-child { grid-column: span 2; }
  .cc-lightbox { padding: 64px 8px 80px; }
  .cc-lb-nav { top: auto; bottom: 14px; margin: 0; height: 52px; width: 64px; }
  .cc-lb-prev { left: calc(50% - 72px); } .cc-lb-next { right: calc(50% - 72px); }
  .cc .site-header { padding-top: 12px; }
  .cc .nav { gap: 2px 16px; }
  .cc .nav a { font-size: 0.9rem; }
}
@media (max-width: 560px) {
  .cc { font-size: 1.06rem; }
  .cc-grid, .cc-foes, .cc-hardpoints { grid-template-columns: 1fr; }
  .cc-hero-art { height: 420px; }
  .cc-hero-body { margin-top: -120px; padding-bottom: 52px; }
  .cc-dl > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 18px; }
  .cc-squad li { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-hero-art img, .cc-lightbox:target { animation: none; }
  .cc *, .cc *::before, .cc *::after { transition: none !important; }
  .cc a.btn:hover, .cc-card:hover, .cc-shot:hover img { transform: none; }
}
