/* oncurvetcg.com, one page, direction A ("Card and phone", Denis, 4 Dec 2026).
   The look is the approved poster system (docs/marketing/2026-11-27-marketing-preparation-plan.md §5.1 to §5.4);
   what it must pass is docs/research/2026-12-04-website-study.md §5, checked by tools/site/check.mjs. */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --stone: #0B0B0E;
  --panel: #15151A;
  --seam: #26262E;
  --ink: #F4F4F6;
  --ink-2: #B9B9C2;
  --ink-3: #8A8A94;
  --gold: #E6B54A;
  --red-light: #FF4D57;
  --bezel: #2A2A31;
  --bezel-deep: #101014;
  --bezel-edge: #33333B;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Geist", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 760px) { .wrap { padding-left: 40px; padding-right: 40px; } }

/* Header: the OC mark and the name */
.top { position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.status { font-size: 13px; color: var(--ink-2); border: 1px solid var(--seam); padding: 7px 12px; background: var(--panel);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }

/* Words */
.kicker { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; margin: 0; }
h1 { line-height: 0.86; letter-spacing: -0.005em; font-size: clamp(64px, 11vw, 148px); text-shadow: 0 6px 0 rgba(0, 0, 0, 0.55); }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 22px 0 0; max-width: 34ch; }
@media (min-width: 760px) { .lede { font-size: 20px; } }

/* "Coming soon" labels, with the app's cut corners */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.store { display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 14px; background: var(--panel); border: 1px solid var(--seam);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.store svg { width: 22px; height: 22px; fill: var(--ink); flex: none; }
.store small { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.store b { display: block; font-size: 16px; font-weight: 600; }

/* A Leader card as Bandai publishes it (rule B1: not cut, recoloured or framed); light and cracks sit behind it */
.card { position: relative; aspect-ratio: 600 / 838; }
.card .face { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 4.6% / 3.3%; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65); }
.card .face img { width: 100%; height: 100%; }
.card .cracks { position: absolute; z-index: 1; left: -85%; top: -60.86%; width: 280%; max-width: none; pointer-events: none; }
.card .light { position: absolute; z-index: 0; inset: -30%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 77, 87, 0.34), rgba(255, 77, 87, 0.10) 55%, transparent 75%); filter: blur(10px); }

/* A phone holding an app screenshot */
.phone { position: relative; padding: 2.4%; border-radius: 12% / 5.6%;
  background: linear-gradient(160deg, var(--bezel), var(--bezel-deep) 60%); box-shadow: 0 0 0 1px var(--bezel-edge), 0 40px 80px rgba(0, 0, 0, 0.7); }
.phone img { width: 100%; aspect-ratio: 390 / 844; border-radius: 10% / 4.6%; }

/* First screen */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; padding-top: 20px; padding-bottom: 40px; }
.scene { position: relative; height: 470px; margin-top: 24px; }
.scene .card { position: absolute; width: 210px; left: 7%; top: 60px; transform: rotate(-9deg); }
/* The cracks hug the card: an ellipse around it (the card sits at about 48% 52% of the crack layer), faded well before
   the section's edges, so no line runs off and gets cut (Denis, 4 Dec 2026, circling the lines above the card) */
.scene .card .cracks { -webkit-mask-image: radial-gradient(ellipse 27% 31% at 48% 52%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 27% 31% at 48% 52%, #000 72%, transparent 100%); }
.scene .phone { position: absolute; width: 196px; right: 4%; top: 30px; transform: rotate(5deg); z-index: 3; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 40px; padding-bottom: 80px; }
  .scene { height: 640px; margin-top: 0; }
  .scene .card { width: 300px; left: 0; top: 70px; }
  .scene .phone { width: 270px; right: 0; top: 30px; }
}

/* One section per feature */
.feature { position: relative; border-top: 1px solid var(--seam); overflow-x: hidden; overflow-x: clip; }
.feature .wrap { display: grid; gap: 34px; padding-top: 64px; padding-bottom: 64px; align-items: center; }
.feature .tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px; }
.feature h2 { line-height: 0.9; font-size: clamp(48px, 7vw, 92px); text-shadow: 0 5px 0 rgba(0, 0, 0, 0.55); }
.feature p.say { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 20px 0 0; max-width: 36ch; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; max-width: 420px; }
.points li { position: relative; padding: 13px 16px 13px 44px; background: var(--panel); border: 1px solid var(--seam); font-size: 16px; color: var(--ink);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.points li::before { content: ""; position: absolute; left: 17px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--ink-3);
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.shot { position: relative; justify-self: center; width: 250px; }
.shot::before { content: ""; position: absolute; inset: -18% -40%; z-index: 0;
  background: radial-gradient(closest-side, rgba(230, 181, 74, 0.16), transparent 70%); }
.shot .phone { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .feature .wrap { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 96px; padding-bottom: 96px; }
  .feature.flip .text { order: 2; }
  .shot { width: 300px; }
}

/* Closing: the mark, the line, the labels, five Leader cards in a fan */
.close { position: relative; overflow: hidden; border-top: 1px solid var(--seam); text-align: center; }
.close .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: 80px; padding-bottom: 72px; }
.close .bigmark { width: 72px; height: auto; margin-bottom: 22px; filter: drop-shadow(0 0 18px rgba(230, 181, 74, 0.35)); }
.close h2 { line-height: 0.9; font-size: clamp(48px, 7vw, 96px); }
.close p { font-size: 18px; color: var(--ink-2); margin: 18px 0 0; }
.close .stores { justify-content: center; }
.fan { --w: 118px; position: relative; width: 100%; height: calc(var(--w) * 838 / 600 * 1.12); margin-top: 52px; }
.fan::before { content: ""; position: absolute; left: 50%; top: 55%; width: 150%; max-width: 900px; height: 120%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(230, 181, 74, 0.14), transparent 75%); }
.fan .card { position: absolute; left: 50%; top: 0; width: var(--w); margin-left: calc(var(--w) / -2); transform-origin: 50% 180%; transform: rotate(var(--r)); }
.fan .card .face { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); }
.fan .card:nth-child(1) { --r: -20deg; z-index: 1; }
.fan .card:nth-child(2) { --r: -10deg; z-index: 2; }
.fan .card:nth-child(3) { --r: 0deg; z-index: 3; }
.fan .card:nth-child(4) { --r: 10deg; z-index: 2; }
.fan .card:nth-child(5) { --r: 20deg; z-index: 1; }
@media (min-width: 900px) {
  .close .wrap { padding-top: 110px; padding-bottom: 110px; }
  .fan { --w: 210px; margin-top: 72px; }
}

/* Footer: the notice, word for word as adopted on 27 Nov (store gate S2) */
footer { border-top: 1px solid var(--seam); }
footer .wrap { display: grid; gap: 14px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
footer .brand img { height: 24px; }
footer .brand span { font-size: 20px; }
footer p { margin: 0; max-width: 70ch; }
