/* =============================================
   TMAS — Comic Platform Coming Soon 2026
   ============================================= */

@font-face {
  font-family: 'Chunk';
  src: url('../fonts/Chunk.woff2') format('woff2'),
       url('../fonts/Chunk.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --flame: #F15B27;
  --orange: #FBB03B;
  --sky: #29ABE2;
  --black: #010101;
  --white: #FFFFFF;
  --off-white: #FFF9F0;
  --font-display: 'Chunk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --outline: 3px solid var(--black);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

/* HALFTONE BACKGROUND */
.halftone {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: var(--outline);
  transition: var(--transition);
  box-shadow: 4px 4px 0 var(--black);
  letter-spacing: 0.02em;
}

.btn--primary { background: var(--flame); color: var(--white); }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }

.btn--sky { background: var(--sky); color: var(--white); }

.btn--lg { padding: 18px 36px; font-size: 20px; }
.btn--full { width: 100%; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: var(--white);
  border-bottom: var(--outline);
}

.nav__logo img { display: block; }
.nav__cta { font-size: 15px; padding: 10px 20px; }

/* HERO */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: 80px;
  overflow: hidden;
}

.hero__panel {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  padding: 20px 0;
}

.hero__panel--left { background: var(--orange); border-right: var(--outline); }
.hero__panel--right { background: var(--sky); border-left: var(--outline); padding: 100px 40px 40px; }

.panel-lines {
  width: 2px; height: 70%;
  background: repeating-linear-gradient(to bottom, var(--black) 0px, var(--black) 20px, transparent 20px, transparent 30px);
}

.hero__content {
  padding: 60px 48px;
  background: var(--off-white);
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--flame);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  background: var(--orange);
  display: inline-block;
  padding: 6px 16px;
  border: var(--outline);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--black);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1;
  color: var(--black);
  margin-bottom: 24px;
}

.hero__accent { color: var(--flame); }

.accent-sky { color: var(--sky); }
.accent-flame { color: var(--flame); }

/* SPEECH BUBBLE */
.speech-bubble {
  position: relative;
  background: var(--sky);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  padding: 16px 24px;
  border: var(--outline);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--black);
  margin-bottom: 28px;
  display: inline-block;
  line-height: 1.4;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 24px;
  border: 10px solid transparent;
  border-top-color: var(--black);
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -12px; left: 26px;
  border: 8px solid transparent;
  border-top-color: var(--sky);
  z-index: 1;
}

.hero__sub {
  font-size: 16px; color: rgba(0,0,0,0.6);
  max-width: 460px; line-height: 1.7;
  margin-bottom: 28px;
}

.hero__features { display: flex; flex-wrap: wrap; gap: 8px; }

.feature-chip {
  font-family: var(--font-display);
  font-size: 13px;
  padding: 6px 14px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 2px 2px 0 var(--black);
}

/* COMIC STACK */
.comic-stack {
  position: relative;
  width: 240px;
  height: 320px;
  margin: 0 auto;
}

.comic-page {
  position: absolute;
  width: 200px;
  height: 280px;
  background: var(--white);
  border: var(--outline);
  border-radius: 8px;
  overflow: hidden;
}

.comic-page--1 { left: 20px; top: 20px; z-index: 3; box-shadow: 4px 4px 0 var(--black); }
.comic-page--2 { left: 10px; top: 10px; z-index: 2; transform: rotate(-3deg); background: var(--orange); }
.comic-page--3 { left: 0; top: 0; z-index: 1; transform: rotate(5deg); background: var(--sky); }

.comic-inner { padding: 12px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.comic-panel {
  flex: 1;
  background: var(--off-white);
  border: 2px solid var(--black);
  border-radius: 4px;
}
.comic-panel.large { flex: 2; }
.comic-panel.small { flex: 0.7; }

.comic-badge {
  position: absolute; bottom: 12px; right: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  background: var(--orange);
  border: 2px solid var(--black);
  border-radius: 4px;
  padding: 3px 8px;
  box-shadow: 2px 2px 0 var(--black);
}

/* HOW IT WORKS */
.how {
  position: relative; z-index: 1;
  padding: 80px 0;
  background: var(--white);
  border-top: var(--outline);
  border-bottom: var(--outline);
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  text-align: center;
  margin-bottom: 48px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
}

.how-card {
  padding: 36px 28px;
  border-right: var(--outline);
  position: relative;
}
.how-card:last-child { border-right: none; }

.how-card--orange { background: var(--flame); color: var(--white); }
.how-card--sky { background: var(--sky); color: var(--white); }
.how-card--yellow { background: var(--orange); color: var(--black); }
.how-card--black { background: var(--black); color: var(--white); }

.how-card__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 12px;
}

.how-card__icon { font-size: 32px; margin-bottom: 12px; display: block; }

.how-card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; }
.how-card p { font-size: 13px; line-height: 1.65; opacity: 0.8; }

/* FOR ARTISTS */
.for-artists {
  position: relative; z-index: 1;
  padding: 80px 0;
  background: var(--off-white);
}

.for-artists__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tag-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  background: var(--orange);
  border: var(--outline);
  border-radius: 6px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 var(--black);
  margin-bottom: 20px;
}

.for-artists__content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  margin-bottom: 28px;
}

.artist-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.artist-list li { font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }

/* PROFILE MOCK */
.profile-mock {
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 6px 6px 0 var(--black);
}

.profile-mock__header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.profile-mock__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--flame); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px;
  border: 2px solid var(--black);
}

.profile-mock__info strong { display: block; font-size: 15px; font-weight: 700; }
.profile-mock__info span { font-size: 12px; color: rgba(0,0,0,0.5); }

.profile-mock__follow {
  margin-left: auto;
  font-family: var(--font-display); font-size: 13px;
  background: var(--sky); color: white;
  border: 2px solid var(--black);
  border-radius: 6px; padding: 5px 12px;
  box-shadow: 2px 2px 0 var(--black);
}

.profile-mock__section { margin-bottom: 16px; }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(0,0,0,0.4); margin-bottom: 8px; }

.comic-thumbs { display: flex; gap: 8px; }
.thumb {
  width: 52px; height: 68px;
  background: var(--off-white);
  border: 2px solid var(--black);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.thumb--locked { background: rgba(0,0,0,0.08); font-size: 14px; }
.thumb--free { background: var(--orange); font-size: 10px; font-weight: 700; }

.extras { display: flex; flex-wrap: wrap; gap: 6px; }
.extras span {
  font-size: 11px; background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px; padding: 3px 8px;
}

/* WAITLIST */
.waitlist {
  position: relative; z-index: 1;
  padding: 80px 0;
  background: var(--flame);
  border-top: var(--outline);
  border-bottom: var(--outline);
}

.waitlist__block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.waitlist__speech {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  background: var(--orange);
  color: var(--black);
  border: var(--outline);
  border-radius: 12px;
  padding: 10px 24px;
  box-shadow: 4px 4px 0 var(--black);
  margin-bottom: 20px;
}

.waitlist__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}

.waitlist__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.65;
}

.waitlist__form { display: flex; flex-direction: column; gap: 12px; }

.form-row { display: flex; gap: 12px; }
.form-row input, .form-row select {
  flex: 1;
  padding: 16px 18px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--white);
  border: var(--outline);
  border-radius: var(--radius);
  outline: none;
  box-shadow: 3px 3px 0 var(--black);
}
.form-row select { cursor: pointer; }

.waitlist__note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* FOOTER */
.footer {
  position: relative; z-index: 1;
  padding: 40px 0;
  background: var(--black);
  border-top: var(--outline);
}

.footer__inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}

.footer__inner p { font-size: 15px; color: rgba(255,255,255,0.7); }
.footer__credit { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ANIMATIONS */
@keyframes wobble {
  0%,100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.comic-page--2 { animation: wobble 3s ease-in-out infinite; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero__panel { display: none; }
  .hero__content { padding: 40px 24px; }
  .how__grid { grid-template-columns: 1fr 1fr; }
  .how-card { border-bottom: var(--outline); }
  .for-artists__grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .how__grid { grid-template-columns: 1fr; }
  .how-card { border-right: none; border-bottom: var(--outline); }
  .how-card:last-child { border-bottom: none; }
  .waitlist__title { font-size: 40px; }
}
