/* ============================================================
   刘YH / 想法编辑器
   CANDY GAME HALL / 2026
   ============================================================ */

:root {
  --paper: #fff8e8;
  --paper-2: #fffdf7;
  --ink: #17172b;
  --ink-soft: #2b2b45;
  --muted: rgba(23, 23, 43, 0.62);
  --coral: #ff5a5f;
  --blue: #2f5bff;
  --yellow: #ffd84d;
  --mint: #38d6a4;
  --pink: #ff8fcb;
  --sky: #72d9ff;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-small: 4px 4px 0 var(--ink);
  --radius: 20px;
  --display: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --body: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23, 23, 43, 0.14) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
video,
svg {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border: var(--line);
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: var(--line);
  background: rgba(255, 248, 232, 0.94);
  backdrop-filter: blur(12px);
}

.head-inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: var(--line);
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.brand-copy small {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
}

.site-nav > a:not(.head-cta) {
  position: relative;
  text-decoration: none;
  padding: 6px 0;
}

.site-nav > a:not(.head-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav > a:not(.head-cta):hover::after {
  transform: scaleX(1);
}

.site-nav > a.is-active {
  color: var(--coral);
}

.site-nav > a.is-active::after {
  transform: scaleX(1);
}

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: var(--line);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-small);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.head-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: var(--line);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 72px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 54px;
  align-items: center;
}

.blob {
  position: absolute;
  z-index: 1;
  display: block;
  border: var(--line);
  pointer-events: none;
}

.blob-a {
  width: 150px;
  height: 150px;
  left: -64px;
  top: 24px;
  border-radius: 50%;
  background: var(--yellow);
}

.blob-b {
  width: 92px;
  height: 92px;
  right: 42%;
  bottom: 28px;
  border-radius: 50%;
  background: var(--pink);
}

.blob-c {
  width: 54px;
  height: 54px;
  right: 22px;
  top: 42px;
  border-radius: 12px;
  background: var(--mint);
  transform: rotate(14deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(-1deg);
}

.status i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  border: 1.5px solid var(--ink);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 6.2vw, 92px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero h1 em {
  display: inline-block;
  margin-top: 5px;
  padding: 0 0.08em 0.04em;
  border: var(--line);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  font-style: normal;
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 17px;
  border: var(--line);
  border-radius: 13px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
  box-shadow: 4px 4px 0 rgba(255, 248, 232, 0.9);
}

.btn-ghost:hover {
  box-shadow: 2px 2px 0 rgba(255, 248, 232, 0.9);
}

.btn-wechat {
  justify-content: flex-start;
  background: var(--mint);
  color: var(--ink);
  text-align: left;
}

.btn-wechat.is-copied {
  background: var(--yellow);
}

.wechat-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
}

.copy-hint {
  margin-left: auto;
  padding: 3px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-wide {
  width: 100%;
}

.hero-scroll {
  margin: 34px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-scroll span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
}

/* Player card */

.player-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  justify-self: end;
  padding: 18px;
  border: var(--line);
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow: 9px 9px 0 var(--ink);
  transform: rotate(1.1deg);
}

.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.player-top span:first-child {
  padding: 5px 7px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.player-top span:last-child {
  color: var(--muted);
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin: 13px 0 15px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background-color: var(--sky);
  background-image: radial-gradient(rgba(23, 23, 43, 0.16) 1px, transparent 1px);
  background-size: 13px 13px;
  overflow: hidden;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.avatar-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 7px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: rotate(-2deg);
}

.avatar svg {
  width: 174px;
  height: 174px;
  filter: drop-shadow(5px 5px 0 rgba(23, 23, 43, 0.22));
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

.player-name {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.player-name strong {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
}

.player-name span {
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.player-role {
  margin: 4px 0 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.stats {
  display: grid;
  gap: 0;
  margin: 0;
}

.stats > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 2px dashed rgba(23, 23, 43, 0.18);
}

.stats dt {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(23, 23, 43, 0.48);
}

.stats dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.stats em {
  display: inline-block;
  padding: 0 5px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  font-style: normal;
}

.player-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 2px solid rgba(23, 23, 43, 0.18);
  font-family: var(--mono);
  font-size: 8px;
}

.player-foot b {
  padding: 4px 6px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--mint);
  font-size: 8px;
  white-space: nowrap;
}

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  overflow: hidden;
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--yellow);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 11px 0;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.ticker-track b {
  color: var(--coral);
  font-size: 13px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   COMMON SECTION
   ============================================================ */

.section {
  width: min(1320px, 92vw);
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 92px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-label span {
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 2px 0 var(--coral);
}

.section-label::after {
  content: "";
  height: 2px;
  flex: 1;
  background: rgba(23, 23, 43, 0.16);
}

.mini-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.section h2 em {
  display: inline-block;
  padding: 0 0.08em;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-style: normal;
  transform: rotate(-1deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  color: var(--coral);
  border-color: var(--coral);
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: 70px;
  align-items: start;
  margin-top: 12px;
}

.about-copy h2 {
  margin-bottom: 26px;
}

.about-copy h2 em {
  background: var(--coral);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.about-lead {
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.75;
  font-weight: 800;
}

.about-copy > p:not(.about-lead) {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.about-copy strong {
  color: var(--ink);
  background: var(--yellow);
  padding: 0 3px;
}

.about-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.quote-card {
  position: relative;
  padding: 26px 24px 22px;
  border: var(--line);
  border-radius: 20px;
  background: var(--blue);
  color: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(1deg);
  overflow: hidden;
}

.quote-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -26px;
  bottom: -30px;
  border: 3px solid rgba(255, 248, 232, 0.25);
  border-radius: 50%;
}

.quote-mark {
  display: block;
  height: 44px;
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 1;
  color: var(--yellow);
}

.quote-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.quote-by {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  color: rgba(255, 248, 232, 0.68);
}

.side-note {
  padding: 20px;
  border: var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-0.8deg);
}

.side-note p:last-child {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.65;
}

/* ============================================================
   METHOD
   ============================================================ */

.method {
  position: relative;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 20px;
  border: var(--line);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.step-coral { background: #ffe3e0; }
.step-yellow { background: #fff1b8; }
.step-mint { background: #d9f8ec; }
.step-blue { background: #e3e9ff; }

.step-no {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(23, 23, 43, 0.48);
}

.step h3 {
  margin: 30px 0 10px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(23, 23, 43, 0.72);
}

.step-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--paper-2);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.teammate {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border: var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--ink);
}

.teammate-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: var(--line);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}

.teammate > div:nth-child(2) {
  flex: 1;
}

.teammate p:last-child {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.teammate p:last-child strong {
  color: var(--ink);
}

.method-cross {
  margin: 20px 0 0;
}

.method-cross .text-link {
  margin-top: 0;
}

/* ============================================================
   WORK
   ============================================================ */

.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}

.work-heading h2 em {
  background: var(--coral);
  color: var(--paper);
}

.work-sub {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.work-intro {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  overflow: hidden;
  border: var(--line);
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow: 9px 9px 0 var(--ink);
}

.footage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: var(--blue);
  border-right: var(--line);
}

.footage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.footage-bar span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footage-bar i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  border: 1.5px solid var(--ink);
  animation: blink 2s ease-in-out infinite;
}

.footage-bar span:last-child {
  color: rgba(255, 248, 232, 0.56);
}

.footage-link {
  position: relative;
  display: block;
  border: var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-0.6deg);
  text-decoration: none;
}

.footage-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 43, 0);
  transition: background 0.2s ease;
}

.footage-link:hover::after {
  background: rgba(23, 23, 43, 0.12);
}

.project-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink);
}

.footage-hint {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 10px;
  font-weight: 900;
  transform: rotate(-2deg);
  transition: transform 0.2s ease;
}

.footage-link:hover .footage-hint {
  transform: rotate(1deg) translate(2px, -2px);
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.project-info h3 {
  margin: 9px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
}

.project-en {
  margin: 7px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.project-desc {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
  transform: rotate(-1deg);
}

.sticker-blue { background: var(--blue); color: #fff; }
.sticker-mint { background: var(--mint); }
.sticker-yellow { background: var(--yellow); }

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  border-top: 2px dashed rgba(23, 23, 43, 0.2);
  border-bottom: 2px dashed rgba(23, 23, 43, 0.2);
}

.project-meta > div {
  padding: 10px 8px 10px 0;
}

.project-meta > div + div {
  padding-left: 10px;
  border-left: 1px solid rgba(23, 23, 43, 0.14);
}

.project-meta dt {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(23, 23, 43, 0.48);
}

.project-meta dd {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.mode-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  margin: 52px 0 16px;
}

.mode-heading > p:last-child {
  max-width: 440px;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  text-align: right;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mode-card {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 17px;
  border: var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mode-card:hover {
  transform: translate(-2px, -2px) rotate(-0.5deg);
  box-shadow: 7px 7px 0 var(--ink);
}

.mode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mode-top b {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(23, 23, 43, 0.48);
}

.mode-top svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mode-card h3 {
  margin: 22px 0 6px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.mode-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(23, 23, 43, 0.7);
}

.mode-blue { background: #dbe3ff; }
.mode-coral { background: #ffe0dd; }
.mode-yellow { background: #fff1b8; }
.mode-mint { background: #d9f8ec; }
.mode-pink { background: #ffe0f1; }
.mode-sky { background: #dff5ff; }

.mode-ink {
  background: var(--ink);
  color: var(--paper);
}

.mode-ink .mode-top b { color: rgba(255, 248, 232, 0.52); }
.mode-ink .mode-top svg { stroke: var(--paper); }
.mode-ink p { color: rgba(255, 248, 232, 0.65); }

.mode-more {
  background: var(--paper-2);
  border-style: dashed;
  box-shadow: 4px 4px 0 rgba(23, 23, 43, 0.28);
}

.mode-more .mode-top b {
  color: var(--coral);
  letter-spacing: 0.04em;
}

.mode-more h3 {
  color: var(--coral);
}

.mode-more:hover {
  border-style: solid;
  box-shadow: 7px 7px 0 var(--ink);
}

.next-level {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 20px 22px;
  border: 3px dashed rgba(23, 23, 43, 0.45);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.55);
}

.next-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 3px dashed rgba(23, 23, 43, 0.45);
  border-radius: 50%;
  color: rgba(23, 23, 43, 0.38);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
}

.next-level h3 {
  margin: 5px 0 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.next-level p:last-child {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.lock {
  margin-left: auto;
  font-size: 21px;
  opacity: 0.6;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 44px;
  border: var(--line);
  border-radius: 26px;
  background-color: var(--ink);
  background-image: radial-gradient(rgba(255, 248, 232, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--paper);
  box-shadow: 10px 10px 0 var(--coral);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 170px;
  height: 170px;
  border: 3px solid rgba(255, 248, 232, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.status-light {
  margin-bottom: 18px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(255, 248, 232, 0.9);
}

.contact-copy h2 {
  font-size: clamp(46px, 5.8vw, 78px);
  color: var(--paper);
}

.contact-copy h2 em {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.contact-copy > p:last-child {
  max-width: 520px;
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 248, 232, 0.68);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.contact-actions .btn {
  justify-content: space-between;
  padding: 15px 16px;
}

.contact-note {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(255, 248, 232, 0.5);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-foot {
  width: min(1320px, 92vw);
  margin: 0 auto;
  border-top: var(--line);
  padding: 26px 0 20px;
}

.foot-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-foot {
  gap: 9px;
}

.brand-foot .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 9px;
}

.brand-foot .brand-copy strong {
  font-size: 17px;
}

.brand-foot .brand-copy small {
  font-size: 7px;
}

.foot-main > p {
  margin: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: right;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 23, 43, 0.18);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
}

.foot-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot-links a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.foot-copy {
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  cursor: pointer;
}

.foot-copy:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: rgba(23, 23, 43, 0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.4vw, 78px);
  }

  .player-card {
    width: 100%;
  }

  .about-grid {
    gap: 40px;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    min-height: 230px;
  }

  .mode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 4vw 14px;
    border-bottom: var(--line);
    background: var(--paper);
    box-shadow: 0 10px 0 rgba(23, 23, 43, 0.08);
  }

  .site-head.nav-open .site-nav {
    display: flex;
  }

  .site-nav > a:not(.head-cta) {
    padding: 13px 2px;
    border-bottom: 1px solid rgba(23, 23, 43, 0.16);
  }

  .head-cta {
    justify-content: center;
    margin-top: 12px;
  }

  .hero {
    padding: 38px 0 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(50px, 9.8vw, 76px);
  }

  .hero-lede {
    max-width: 620px;
  }

  .player-card {
    justify-self: start;
    max-width: 520px;
    transform: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-side {
    grid-template-columns: 1fr 1fr;
  }

  .quote-card,
  .side-note {
    transform: none;
  }

  .section-heading,
  .work-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading > p,
  .work-intro {
    max-width: 600px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .footage {
    border-right: 0;
    border-bottom: var(--line);
  }

  .project-info {
    padding: 26px;
  }

  .mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-heading {
    display: block;
    margin-top: 42px;
  }

  .mode-heading > p:last-child {
    margin-top: 7px;
    text-align: left;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }

  .contact-actions {
    max-width: 420px;
  }

  .foot-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .foot-main > p {
    text-align: left;
  }

  .mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .head-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 9px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .hero {
    padding: 30px 0 42px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.06;
  }

  .hero h1 em {
    box-shadow: 4px 4px 0 var(--ink);
  }

  .hero-lede {
    font-size: 14px;
    line-height: 1.8;
  }

  .status {
    font-size: 8px;
    margin-bottom: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    margin-top: 24px;
    font-size: 8px;
  }

  .player-card {
    padding: 14px;
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .avatar svg {
    width: 146px;
    height: 146px;
  }

  .player-name strong {
    font-size: 32px;
  }

  .stats > div {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .ticker-track {
    gap: 18px;
  }

  .ticker-track span {
    font-size: 9px;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 40px;
  }

  .section-label {
    font-size: 9px;
    margin-bottom: 22px;
  }

  .about-copy h2 {
    margin-bottom: 20px;
  }

  .about-lead {
    font-size: 16px;
  }

  .about-side {
    grid-template-columns: 1fr;
  }

  .quote-card p {
    font-size: 25px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 210px;
  }

  .teammate {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .teammate .sticker {
    margin-left: 64px;
  }

  .project-info {
    padding: 22px 18px;
  }

  .project-info h3 {
    font-size: 38px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-meta > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(23, 23, 43, 0.14);
  }

  .project-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-actions .btn {
    width: 100%;
  }

  .mode-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mode-card {
    min-height: 150px;
    padding: 14px;
  }

  .mode-card h3 {
    margin-top: 16px;
    font-size: 19px;
  }

  .next-level {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px;
  }

  .next-level > div:nth-child(2) {
    flex: 1;
    min-width: 180px;
  }

  .lock {
    display: none;
  }

  .contact {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .contact-card {
    padding: 24px 18px;
    box-shadow: 7px 7px 0 var(--coral);
  }

  .contact-copy h2 {
    font-size: 46px;
  }

  .contact-card .btn {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .foot-links {
    gap: 11px;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .avatar svg,
  .status i,
  .footage-bar i,
  .ticker-track {
    animation: none;
  }

  .btn,
  .head-cta,
  .step,
  .mode-card,
  .footage-hint,
  .site-nav > a::after {
    transition: none;
  }
}
