@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./assets/fonts/manrope-latin-variable.woff2") format("woff2");
}

:root {
  --bg: #171715;
  --surface: #22221f;
  --surface-raised: #2c2b27;
  --ink: #f5f2ec;
  --body-copy: #e0ddd6;
  --muted: #bcb8ae;
  --line: #47443e;
  --orange: #f49b26;
  --content: 1512px;
  --page-pad: clamp(20px, 5vw, 76px);
  --section-space: clamp(52px, 4.4vw, 68px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.03em; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 16px; padding: 12px 16px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }

.site-header, .site-footer, .section-wrap, .case-intro { width: min(100%, var(--content)); margin-inline: auto; padding-inline: var(--page-pad); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.site-header a, .site-footer a { text-decoration: none; }
.back-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .74rem; font-weight: 650; text-transform: uppercase; }
.nav-arrow { flex: none; width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; transition: transform .2s ease; }
.back-link .nav-arrow { color: var(--orange); }
.back-link:hover .nav-arrow, .site-footer__back:hover .nav-arrow { transform: translateX(-4px); }
.site-mark { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 1.25rem; font-weight: 800; }
.site-mark__dot { color: var(--orange); }
figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 11px; color: var(--muted); font-size: .7rem; font-weight: 450; line-height: 1.45; }

.case-intro { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 4vw, 70px); align-items: center; min-height: min(800px, calc(100dvh - 72px)); padding-block: clamp(36px, 4vw, 60px); }
.case-intro__copy { display: flex; flex-direction: column; align-self: stretch; justify-content: center; min-width: 0; }
.project-name { margin: 0 0 clamp(24px, 3vw, 42px); color: var(--orange); font-size: .79rem; font-weight: 800; text-transform: uppercase; }
.case-intro h1 { max-width: 700px; margin: 0; font-size: clamp(3.2rem, 5.2vw, 5.9rem); font-weight: 780; line-height: 1.04; text-wrap: balance; }
.case-intro h1 em { color: var(--orange); font-style: normal; }
.case-intro__summary { max-width: 550px; margin: 24px 0 0; color: var(--body-copy); font-size: clamp(1.12rem, 1.55vw, 1.38rem); line-height: 1.42; text-wrap: pretty; }
.case-intro__meta { display: flex; flex-direction: column; gap: 8px; margin-top: clamp(24px, 3vw, 40px); color: var(--muted); font-size: .75rem; font-weight: 500; line-height: 1.4; }
.case-intro__visual { min-width: 0; }
.hero-canvas { position: relative; aspect-ratio: 1.08; overflow: hidden; }
.hero-canvas img { position: absolute; box-shadow: 0 24px 48px rgb(0 0 0 / .38); }
.hero-canvas__deck { z-index: 1; top: 8%; right: 2%; width: 87%; transform: rotate(3deg); }
.hero-canvas__mountain { z-index: 2; right: 2%; bottom: 6%; width: 38%; transform: rotate(5deg); }
.hero-canvas__social { z-index: 3; bottom: 5%; left: 3%; width: 55%; transform: rotate(-5deg); }
.case-intro__visual figcaption { max-width: 100%; }

.case-context { padding-block: var(--section-space); }
.case-context__main { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.case-context h2, .section-head h2, .motion-copy h2, .proposal-copy h2 { margin: 0; font-size: clamp(2.65rem, 5.7vw, 5.5rem); font-weight: 770; line-height: 1.07; text-wrap: balance; }
.case-context__main p { max-width: 62ch; margin: 8px 0 0; color: var(--body-copy); font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.43; text-wrap: pretty; }
.scope-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: clamp(30px, 3.6vw, 52px) 0 0; }
.scope-list dt { margin-bottom: 11px; color: var(--muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.scope-list dd { margin: 0; font-size: clamp(.95rem, 1.15vw, 1.12rem); font-weight: 650; line-height: 1.4; }
.campaign-section, .decks-section, .motion-section, .more-social, .system-section, .proposal-section, .character-section { padding-block: var(--section-space); }
.section-head { max-width: 1100px; margin-bottom: clamp(28px, 3.3vw, 48px); }
.section-head p, .motion-copy p, .proposal-copy p { max-width: 62ch; margin: 20px 0 0; color: var(--body-copy); font-size: clamp(1.06rem, 1.35vw, 1.27rem); line-height: 1.52; text-wrap: pretty; }

.campaign-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 52px); align-items: start; }
.campaign-highlights img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #080808; }
.campaign-highlights figcaption { margin-top: 12px; }

.presentation-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 52px); align-items: start; }
.presentation-compare figure { min-width: 0; }
.presentation-label { display: block; margin-bottom: 22px; color: var(--orange); font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 780; line-height: 1; }
.presentation-compare figure:first-child .presentation-label { color: var(--ink); }
.laptop-frame { position: relative; padding: 2.2% 2.2% 3%; border-radius: 13px 13px 2px 2px; background: #080808; box-shadow: 0 22px 50px rgb(0 0 0 / .25); }
.laptop-frame::before { content: ""; position: absolute; top: 1.1%; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #484a4c; transform: translateX(-50%); }
.laptop-frame a { display: block; overflow: hidden; }
.laptop-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #080808; }
.laptop-base { height: clamp(11px, 1.7vw, 20px); margin-inline: -2.5%; border-radius: 1px 1px 65% 65% / 1px 1px 100% 100%; background: linear-gradient(#898c8d 0%, #3c4042 38%, #171819 88%); box-shadow: 0 14px 18px rgb(0 0 0 / .22); }
.presentation-compare figcaption { margin-top: 17px; }
.presentation-case img, .presentation-scale img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #080808; box-shadow: 0 24px 55px rgb(0 0 0 / .28); }
.presentation-case, .presentation-scale { width: 100%; margin: clamp(42px, 4.3vw, 64px) 0 0; }
.decks-section > .presentation-case { margin-top: 0; }
.presentation-evolution { margin-top: clamp(64px, 7vw, 104px); }
.presentation-evolution__copy { max-width: 70ch; margin: 0 0 clamp(26px, 3vw, 42px); color: var(--body-copy); font-size: clamp(1.12rem, 1.6vw, 1.45rem); line-height: 1.48; text-wrap: pretty; }
.presentation-evolution .presentation-compare + .presentation-compare { margin-top: clamp(42px, 5vw, 72px); }
.presentation-compare--security .presentation-label { margin-bottom: 16px; font-size: clamp(1.65rem, 2.5vw, 2.6rem); }
.slide-frame { padding: clamp(6px, .7vw, 10px); background: var(--surface-raised); box-shadow: 0 24px 54px rgb(0 0 0 / .29); }
.slide-frame a { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #080808; }
.slide-frame img { width: 100%; height: 100%; object-fit: contain; }
.presentation-compare--security figcaption { margin-top: 14px; }
.diagram-story { margin-top: clamp(70px, 8vw, 120px); }
.diagram-story__intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 58px); }
.diagram-story h3 { margin: 0; font-size: clamp(2.5rem, 4.1vw, 4.2rem); font-weight: 770; line-height: 1.08; }
.diagram-story h3 span { display: block; white-space: nowrap; }
.diagram-story__intro p { max-width: 58ch; margin: 0; color: var(--body-copy); font-size: clamp(1.06rem, 1.35vw, 1.27rem); line-height: 1.52; text-wrap: pretty; }
.diagram-story__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 52px); align-items: start; }
.diagram-story__gallery figure { min-width: 0; }
.diagram-story__gallery figure:first-child { grid-column: 1 / -1; }
.diagram-story__gallery a { display: block; }
.diagram-story__gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #080808; box-shadow: 0 24px 55px rgb(0 0 0 / .28); }
.diagram-story__gallery figcaption { margin-top: 12px; }

.motion-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.motion-copy { min-width: 0; }
.motion-copy h2 { font-size: clamp(2.65rem, 4.3vw, 4.8rem); }
.motion-copy p { max-width: 35ch; }
.motion-figure { min-width: 0; }
.motion-figure video { width: 100%; aspect-ratio: 1552 / 1082; background: #080808; }
.motion-gallery { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(38px, 5vw, 76px); }
.motion-figure--usdt { margin-top: clamp(36px, 6vw, 90px); }
.motion-figure--usdt video { aspect-ratio: 16 / 9; }
.motion-figure--milestone video { aspect-ratio: 1; }
.more-social__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.more-social__gallery img { width: 100%; background: #080808; }
.more-social__gallery img:last-child { grid-column: 1 / -1; justify-self: center; width: min(56%, 620px); }

.pitch-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.3vw, 48px) clamp(20px, 3vw, 48px); align-items: start; }
.pitch-gallery figure { min-width: 0; }
.pitch-gallery figure:first-child { grid-column: 1 / -1; }
.pitch-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #080808; }
.pitch-gallery figcaption { margin-top: 12px; }

.proposal-copy { max-width: 1100px; }
.proposal-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 38px); align-items: start; }
.proposal-figure { min-width: 0; }
.proposal-figure:nth-child(even) { margin-top: clamp(20px, 3vw, 44px); }
.proposal-figure a { display: block; }
.proposal-figure img { width: 100%; box-shadow: 0 24px 50px rgb(0 0 0 / .3); }
.proposal-figure figcaption { margin-top: 13px; }

.telegram-exploration__intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.telegram-exploration h2 { max-width: 14ch; margin: 0; font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 770; line-height: 1.08; text-wrap: balance; }
.telegram-exploration__intro p { max-width: 56ch; margin: 0; color: var(--body-copy); font-size: clamp(1.06rem, 1.35vw, 1.27rem); line-height: 1.52; text-wrap: pretty; }
.character-cover { width: min(72%, 950px); margin: clamp(36px, 4vw, 60px) auto 0; }
.character-cover a { display: block; }
.character-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--orange); }
.sticker-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 30px); align-items: end; margin-top: clamp(32px, 4vw, 60px); }
.sticker-gallery figure { min-width: 0; }
.sticker-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.sticker-gallery figcaption { justify-content: center; margin-top: 8px; text-align: center; }
.emoji-gallery { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(8px, 1.5vw, 22px); margin-top: clamp(52px, 6vw, 90px); padding: clamp(18px, 2.4vw, 34px) 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.emoji-gallery img { width: clamp(72px, 8vw, 104px); aspect-ratio: 1; object-fit: contain; }
.emoji-gallery__caption { margin: 12px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; text-align: center; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px; min-height: 168px; padding-block: 32px 48px; font-size: .72rem; font-weight: 650; line-height: 1.4; text-transform: uppercase; }
.site-footer__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; justify-self: start; }
.site-footer__back .nav-arrow { color: var(--orange); }
.site-footer__meta { justify-self: center; color: var(--muted); }
.site-footer__next { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: end; justify-self: end; }
.site-footer__next span { grid-column: 1 / -1; margin-bottom: 2px; color: var(--orange); font-size: .65rem; }
.site-footer__next strong { font-size: clamp(1.9rem, 3.1vw, 3.25rem); font-weight: 770; line-height: 1; letter-spacing: -.04em; text-transform: none; }
.site-footer__next .nav-arrow { color: var(--orange); }
.site-footer__next:hover .nav-arrow { transform: translate(3px, -3px); }
.site-footer a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .case-intro { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .case-intro__copy { display: block; }
  .case-intro h1 { max-width: 820px; }
  .hero-canvas { max-width: 700px; margin-inline: auto; }
  .case-context__main, .motion-grid, .diagram-story__intro { grid-template-columns: minmax(0, 1fr); }
  .case-context__main p { margin-top: 0; }
  .motion-copy p, .proposal-copy p { max-width: 62ch; }
  .proposal-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 650px) {
  :root { --section-space: 44px; }
  .site-header { min-height: 64px; }
  .case-intro { gap: 24px; padding-block: 32px 46px; }
  .project-name { margin-bottom: 22px; }
  .case-intro h1 { font-size: clamp(2.7rem, 11.8vw, 4.7rem); }
  .case-intro__summary { margin-top: 18px; font-size: 1.06rem; }
  .case-intro__meta { margin-top: 24px; }
  .hero-canvas { aspect-ratio: 1; }
  .hero-canvas__deck { top: 3%; right: 2%; width: 82%; }
  .hero-canvas__mountain { right: 2%; bottom: 4%; width: 39%; }
  .hero-canvas__social { bottom: 4%; left: 2%; width: 54%; }
  .case-context h2, .section-head h2, .motion-copy h2, .proposal-copy h2 { font-size: clamp(2.5rem, 10.5vw, 4.2rem); }
  .case-context__main { gap: 20px; }
  .case-context__main p { font-size: 1.14rem; }
  .scope-list { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
  .scope-list div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
  .scope-list dt { margin: 0; }
  .section-head { margin-bottom: 26px; }
  .section-head p, .motion-copy p, .proposal-copy p { font-size: 1.06rem; }
  .campaign-highlights, .motion-gallery, .more-social__gallery, .pitch-gallery { grid-template-columns: minmax(0, 1fr); }
  .campaign-highlights { gap: 26px; }
  .presentation-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 2.5vw, 16px); padding: clamp(12px, 3.5vw, 20px); background: var(--surface); }
  .presentation-compare .presentation-label, .presentation-compare--security .presentation-label { margin-bottom: 12px; font-size: clamp(1rem, 4.5vw, 1.4rem); }
  .presentation-compare figcaption { margin-top: 11px; font-size: .61rem; }
  .presentation-compare .laptop-frame { border-radius: 7px 7px 1px 1px; }
  .presentation-compare .laptop-base { height: 8px; }
  .presentation-compare .slide-frame { padding: 3px; }
  .presentation-case, .presentation-scale { width: 100%; margin-top: 32px; }
  .presentation-evolution { margin-top: 54px; }
  .presentation-evolution__copy { font-size: 1.1rem; }
  .diagram-story { margin-top: 64px; }
  .diagram-story__intro { gap: 20px; margin-bottom: 30px; }
  .diagram-story h3 { font-size: clamp(1.55rem, 7.5vw, 3rem); }
  .diagram-story__gallery { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .diagram-story__gallery figure:nth-child(n) { grid-column: 1 / -1; }
  .proposal-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .proposal-figure { width: 100%; }
  .proposal-figure:nth-child(even) { margin-top: 22px; }
  .more-social__gallery img:last-child { grid-column: auto; width: 100%; }
  .pitch-gallery { gap: 28px; }
  .pitch-gallery figure:nth-child(n) { grid-column: auto; }
  .character-cover { width: 100%; }
  .telegram-exploration__intro { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .telegram-exploration h2 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .telegram-exploration__intro p { font-size: 1.06rem; }
  .sticker-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 28px; }
  .sticker-gallery figure:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .emoji-gallery { gap: 4px; margin-top: 42px; }
  .emoji-gallery img { width: clamp(68px, 20vw, 88px); }
  .motion-grid { gap: 26px; }
  .motion-gallery { gap: 30px; margin-top: 30px; }
  .motion-figure--usdt { margin-top: 0; }
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 24px; }
  .site-footer__meta { justify-self: start; }
  .site-footer__next { justify-self: stretch; margin-top: 18px; }
}

@media (max-width: 360px) {
  .case-intro h1 { font-size: 2.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
