/* ══════════════════════════════════════════════════════════════════
   ctcchain.css  —  /CTCChain  "From Credit To Console" rebrand page
   Loaded after index.css (base tokens, footer) and before nav.css.
   ══════════════════════════════════════════════════════════════════ */

.cc-section { padding: 120px 0; }
.cc-section.soft { background: var(--canvas-soft); }
.cc-section .container { max-width: 1080px; }

.cc-eyebrow {
  font-size: 12px; line-height: 18px; letter-spacing: -0.02em;
  font-variation-settings: "wght" 500;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

/* Hero */
.cc-hero { padding: 216px 0 120px; }
.cc-hero h1 {
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 3.7vw, 53px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
  font-variation-settings: "wght" 500;
}
.cc-hero h1 em { font-style: normal; color: var(--buidl-blue); }
.cc-hero p {
  font-size: 18px; line-height: 27px; letter-spacing: -0.02em;
  font-variation-settings: "wght" 500;
  color: var(--ink-mute);
}

/* Video sections (Ignition style: label, title, window frame) */
.cc-label {
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-size: 16px; line-height: 20px;
  color: var(--buidl-blue);
  margin-bottom: 12px;
  font-variation-settings: "wght" 400;
}
.cc-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: 36px;
}
.cc-title {
  max-width: 620px;
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-weight: 500;
  font-size: 45px; line-height: 1.1;
  color: var(--on-primary);
  font-variation-settings: "wght" 500;
}
.cc-comment {
  max-width: 330px;
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-size: 16px; line-height: 1.5;
  color: var(--ink-mute);
  font-variation-settings: "wght" 400;
}
.cc-comment em { font-style: normal; color: var(--buidl-blue); }

.cc-window {
  background: var(--canvas);
  border: 1px solid var(--hairline-dark);
  border-radius: 6px;
  overflow: hidden;
}
.cc-window-bar {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--hairline-dark);
  font-size: 12px; line-height: 16px;
  font-variation-settings: "wght" 600;
  color: var(--on-primary);
}
.cc-window-bar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-window-bar::after {
  content: ""; flex-shrink: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hairline-dark);
}

.cc-video {
  position: relative; display: block;
  width: 100%; aspect-ratio: 16 / 9;
  background: #101215;
}
.cc-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.cc-video img.cc-video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
a.cc-video::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(12, 14, 16, 0.3);
}
.cc-video-play {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-weight: 500;
  font-size: 18px; line-height: 22px;
  color: var(--on-primary);
  white-space: nowrap;
  font-variation-settings: "wght" 500;
}
.cc-video-play img { transition: transform 0.2s ease; }
a.cc-video:hover .cc-video-play img { transform: scale(1.06); }
.cc-video-soon {
  display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(73, 118, 255, 0.28), rgba(73, 118, 255, 0) 100%), #101215;
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-size: 18px; line-height: 24px;
  color: var(--ink-mute);
  font-variation-settings: "wght" 400;
}

/* Video 2: window left, text right */
.cc-split { display: flex; align-items: center; gap: 60px; }
.cc-window-sm { flex: 0 0 560px; }
.cc-split-text { flex: 1; min-width: 0; }
.cc-split-title {
  font-family: 'Tektur', 'Inter var', sans-serif;
  font-weight: 500;
  font-size: 36px; line-height: 1.15;
  color: var(--on-primary);
  margin-bottom: 20px;
  font-variation-settings: "wght" 500;
}
.cc-split-text p {
  font-size: 16px; line-height: 1.6;
  color: var(--ink-mute);
  font-variation-settings: "wght" 400;
}

/* Final CTA: line box on a darker fill */
.cc-cta-section { padding: 120px 0 160px; }
.cc-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 40px;
  background: var(--canvas);
  border: 1px solid var(--hairline-dark);
  border-radius: 16px;
}
.cc-cta h2 {
  max-width: 640px;
  font-size: 28px; line-height: 36px; letter-spacing: -0.02em;
  font-weight: normal; font-variation-settings: "wght" 600;
  color: var(--ink);
}
.cc-cta .btn-primary { height: 52px; flex-shrink: 0; }

@media (max-width: 1024px) {
  .cc-split { flex-direction: column; align-items: stretch; gap: 32px; }
  .cc-window-sm { flex: none; }
}

@media (max-width: 768px) {
  .cc-section { padding: 80px 0; }
  .cc-hero { padding: 140px 0 80px; }
  .cc-hero h1 { font-size: 30px; line-height: 1.15; }
  .cc-hero h1 br { display: none; }
  .cc-hero p { font-size: 16px; line-height: 24px; }
  .cc-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .cc-title { font-size: 30px; }
  .cc-comment { max-width: none; font-size: 15px; }
  .cc-split-title { font-size: 26px; margin-bottom: 12px; }
  /* keep the thumbnail's own headline readable: play control sits bottom-right */
  .cc-video-play {
    top: auto; left: auto; right: 12px; bottom: 12px; transform: none;
    flex-direction: row; gap: 8px; font-size: 14px; line-height: 18px;
  }
  .cc-video-play img { width: 40px; height: 40px; }
  .cc-video-soon { font-size: 16px; }
  .cc-cta-section { padding: 80px 0 120px; }
  .cc-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .cc-cta h2 { font-size: 22px; line-height: 30px; }
}
