:root {
  --paper: #f3eee3;
  --paper-2: #e9e2d2;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --yellow: #ffd400;
  --red: #e2382b;
  --edge: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Work Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  /* halftone dots, like printed manhwa paper */
  background-image: radial-gradient(rgba(17,17,17,.07) 1px, transparent 1.2px);
  background-size: 7px 7px;
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .01em; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: 26px; }
p { margin: 0; }

/* comic panel */
.panel { background: #fff; border: var(--edge); box-shadow: var(--shadow); }
.tilt-r { transform: rotate(1.2deg); }
.tilt-l { transform: rotate(-1deg); }

.btn {
  display: inline-block; font: 700 16px/1 var(--body); text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
  padding: 15px 22px; background: var(--yellow); color: var(--ink); border: var(--edge); box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: #fff; }
.btn-sm { padding: 10px 14px; font-size: 14px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100% - var(--max)) / 2)); background: var(--ink); color: #fff;
}
.logo { font: 400 26px/1 var(--display); text-transform: uppercase; text-decoration: none; color: var(--yellow); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--yellow); }

/* hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 64px 16px 56px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center;
}
.bubble {
  position: relative; display: inline-block; margin-bottom: 22px; padding: 10px 18px; background: #fff; border: var(--edge);
  border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px;
}
.bubble::after {
  content: ""; position: absolute; left: 28px; bottom: -14px; width: 18px; height: 14px; background: #fff;
  border-right: var(--edge); border-bottom: var(--edge); transform: skewX(-35deg);
}
.hero h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.12; }
.mark { background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 92%, transparent 92%); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { margin-top: 22px; max-width: 34em; font-size: 19px; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 0; border: var(--edge); background: #fff; width: fit-content; max-width: 100%; }
.stats li { padding: 14px 22px; border-right: var(--edge); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font: 400 38px/1 var(--display); }
.stats span { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.hero-reel { position: relative; margin: 0; padding: 0; aspect-ratio: 9 / 16; max-height: 640px; overflow: hidden; justify-self: center; width: 100%; max-width: 360px; }
.hero-reel video { width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; right: 10px; bottom: 10px; font: 700 12px/1 var(--body); text-transform: uppercase; padding: 8px 10px; background: var(--yellow); border: 2px solid var(--ink); cursor: pointer; }

/* proof strip */
.strip { background: var(--yellow); border-top: var(--edge); border-bottom: var(--edge); padding: 16px; text-align: center; font-weight: 500; }
.strip a { font-weight: 700; }
.sep { margin: 0 10px; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 84px 16px 20px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.sec-head p { max-width: 30em; color: var(--ink-2); }

/* work grid: a manhwa page of panels */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 0; overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: #fff; aspect-ratio: 9 / 16; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.views { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); padding: 4px 9px; font: 400 22px/1 var(--display); }
.views::after { content: " views"; font: 700 11px/1 var(--body); text-transform: uppercase; }
.title { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; font-weight: 700; font-size: 15px; line-height: 1.3; }
.card:nth-child(4n+2) { transform: translateY(18px); }
.card:nth-child(4n+4) { transform: translateY(-10px); }

/* how */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { padding: 24px 22px 26px; }
.num { display: inline-block; font: 400 20px/1 var(--display); background: var(--ink); color: var(--yellow); padding: 6px 9px; margin-bottom: 16px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { position: relative; padding: 28px 24px; display: flex; flex-direction: column; }
.price ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.price li { padding: 9px 0 9px 22px; border-top: 1px dashed #bdb5a3; position: relative; font-size: 16px; }
.price li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; background: var(--ink); }
.amount { font: 400 64px/1 var(--display); margin-top: 10px; }
.per { color: var(--ink-2); font-weight: 500; }
.featured { background: var(--ink); color: #fff; transform: translateY(-12px); box-shadow: 6px 6px 0 var(--yellow); }
.featured .per, .featured li { color: #e8e8e8; }
.featured li { border-top-color: #444; }
.featured li::before { background: var(--yellow); }
.tag { position: absolute; top: -16px; right: 18px; background: var(--red); color: #fff; border: var(--edge); padding: 5px 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.note { margin-top: 30px; text-align: center; }

/* faq */
.faq details { margin-bottom: 14px; padding: 0; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font: 400 30px/1 var(--display); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* contact */
.contact { padding-bottom: 90px; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; background: var(--yellow); }
.contact-box h2 { margin-bottom: 12px; }
.small { font-size: 14px; margin-top: 18px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.form input, .form textarea { font: 400 16px/1.4 var(--body); padding: 12px; border: var(--edge); background: #fff; color: var(--ink); width: 100%; }
.form .btn { justify-self: start; background: var(--ink); color: var(--yellow); box-shadow: 4px 4px 0 #fff; }
.hp { position: absolute; left: -9999px; }

/* footer */
.foot { background: var(--ink); color: #cfcfcf; text-align: center; padding: 30px 16px; }
.foot .small { margin-top: 6px; color: #9a9a9a; }

/* player */
.player { padding: 0; border: var(--edge); background: #000; width: min(400px, 92vw); box-shadow: var(--shadow); }
.player::backdrop { background: rgba(0,0,0,.8); }
.player .frame { aspect-ratio: 9 / 16; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.close { position: absolute; top: 6px; right: 6px; z-index: 2; width: 38px; height: 38px; font-size: 26px; line-height: 1; background: var(--yellow); border: 2px solid var(--ink); cursor: pointer; }

/* simple pages */
.simple { max-width: 640px; margin: 0 auto; padding: 110px 16px; text-align: center; }
.simple h1 { font-size: clamp(44px, 8vw, 76px); margin-bottom: 18px; }
.simple .btn { margin-top: 28px; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card:nth-child(n) { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .featured { transform: none; }
  .contact-box { grid-template-columns: 1fr; padding: 28px 22px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .title { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .stats li { padding: 12px 14px; }
  .stats strong { font-size: 30px; }
  .tilt-r, .tilt-l { transform: none; }
  .sep { display: block; height: 4px; overflow: hidden; color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card img, .btn { transition: none; }
}
.contact-box .cta-row .btn:first-child { background: var(--ink); color: var(--yellow); box-shadow: 4px 4px 0 #fff; }

/* about */
.about-box { padding: 40px; display: grid; gap: 14px; max-width: 900px; }
.about-box h2 { margin-bottom: 6px; }
.about-box p { color: var(--ink-2); }
.facts { list-style: none; padding: 0; margin: 10px 0 0; border-top: var(--edge); }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #bdb5a3; }
.facts span { font: 400 18px/1.3 var(--display); text-transform: uppercase; }
@media (max-width: 620px) { .about-box { padding: 26px 20px; } .facts li { grid-template-columns: 1fr; gap: 2px; } }
