:root {
  color-scheme: light;
  --ink: #151412;
  --ink-soft: #33302b;
  --paper: #f4efe4;
  --paper-deep: #e3d7c3;
  --white: #fffaf1;
  --vermilion: #e84f2b;
  --cyan: #20c6d4;
  --mustard: #f1b63d;
  --green: #327b54;
  --line: rgba(21, 20, 18, 0.16);
  --shadow: 0 24px 70px rgba(21, 20, 18, 0.22);
  --radius: 8px;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(21, 20, 18, 0.035) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(21, 20, 18, 0.028) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, #fff8e8 0%, #eadcc6 100%);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.blast-canvas {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(21, 20, 18, 0.72), rgba(21, 20, 18, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  line-height: 1;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--mustard);
  border: 2px solid var(--white);
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 92svh;
  padding: clamp(106px, 14vw, 166px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 94px);
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  content: "";
  background: linear-gradient(180deg, rgba(21, 20, 18, 0), rgba(21, 20, 18, 0.86));
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 20, 18, 0.76) 0%, rgba(21, 20, 18, 0.34) 43%, rgba(21, 20, 18, 0.42) 100%),
    image-set(url("assets/concept-explosion-hero.png") 1x);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__content {
  width: min(900px, 100%);
  align-self: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12.5em;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.6vw, 4.85rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
  text-wrap: nowrap;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  font-weight: 600;
}

.hero__actions,
.share-buttons,
.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(21, 20, 18, 0.22);
}

.button--primary {
  color: var(--ink);
  background: var(--mustard);
}

.button--ghost {
  color: var(--white);
  background: rgba(21, 20, 18, 0.36);
  border-color: rgba(255, 250, 241, 0.78);
  backdrop-filter: blur(10px);
}

.button--line {
  color: #081f12;
  background: #60d669;
}

.button--x {
  color: var(--white);
  background: var(--ink);
}

.hero-meter {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(20px, 5vw, 58px);
  display: grid;
  width: min(430px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid rgba(255, 250, 241, 0.72);
  background: rgba(21, 20, 18, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.meter-cell {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
}

.meter-cell:last-child {
  border-right: 0;
}

.meter-cell__label,
.meter-cell__value {
  display: block;
}

.meter-cell__label {
  overflow: hidden;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meter-cell__value {
  margin-top: 4px;
  color: var(--mustard);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1;
}

.band {
  background: var(--ink);
  color: var(--white);
}

section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(1050px, 100%);
  margin: 0 auto clamp(28px, 5vw, 56px);
}

.section-heading h2 {
  max-width: 12.5em;
  margin-bottom: 0;
  font-size: clamp(2rem, 5.4vw, 4.9rem);
  font-weight: 950;
  line-height: 1.05;
  text-wrap: balance;
}

.intro__grid,
.story__columns,
.share-zone__layout {
  width: min(1050px, 100%);
  margin: 0 auto;
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 70px);
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.fragments {
  background:
    linear-gradient(rgba(21, 20, 18, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 20, 18, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

.fragment-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fragment-card {
  min-height: 250px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 8px 8px 0 rgba(21, 20, 18, 0.12);
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 520ms ease,
    opacity 520ms ease,
    box-shadow 180ms ease;
}

.fragment-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.fragment-card:hover {
  box-shadow: 12px 12px 0 rgba(232, 79, 43, 0.3);
}

.fragment-card__number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.fragment-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.fragment-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.quote-ribbon {
  overflow: hidden;
  padding: 0;
  color: var(--white);
  background: var(--vermilion);
  border-block: 3px solid var(--ink);
}

.quote-ribbon__track {
  display: flex;
  width: max-content;
  animation: ribbon 28s linear infinite;
}

.quote-ribbon__track span {
  padding: 18px 28px;
  font-weight: 950;
  white-space: nowrap;
}

@keyframes ribbon {
  to {
    transform: translateX(-50%);
  }
}

.blast-lab {
  position: relative;
  overflow: hidden;
}

.blast-lab::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(32, 198, 212, 0.16) 58% 62%, transparent 62%),
    linear-gradient(64deg, transparent 0 46%, rgba(241, 182, 61, 0.16) 46% 50%, transparent 50%);
  pointer-events: none;
}

.blast-lab__stage {
  position: relative;
  display: grid;
  width: min(900px, 100%);
  min-height: 540px;
  margin: 0 auto;
  place-items: center;
}

.orbit {
  position: absolute;
  inset: 0;
  animation: slow-spin 32s linear infinite;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.concept-chip {
  position: absolute;
  min-width: 82px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 250, 241, 0.8);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 250, 241, 0.08);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 250ms ease,
    opacity 250ms ease,
    background 250ms ease;
}

.concept-chip:nth-child(1) {
  top: 8%;
  left: 44%;
}

.concept-chip:nth-child(2) {
  top: 25%;
  right: 8%;
}

.concept-chip:nth-child(3) {
  right: 18%;
  bottom: 13%;
}

.concept-chip:nth-child(4) {
  bottom: 10%;
  left: 18%;
}

.concept-chip:nth-child(5) {
  top: 28%;
  left: 7%;
}

.concept-chip:nth-child(6) {
  top: 60%;
  left: 43%;
}

.concept-chip.is-burst {
  opacity: 0.08;
  transform: scale(1.8) rotate(14deg);
}

.blast-core {
  display: grid;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  place-items: center;
  padding: 42px;
  text-align: center;
  background:
    radial-gradient(circle, rgba(241, 182, 61, 0.98) 0 28%, rgba(232, 79, 43, 0.95) 29% 52%, rgba(21, 20, 18, 0.96) 53% 100%);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(255, 250, 241, 0.06),
    0 0 70px rgba(232, 79, 43, 0.46);
}

.blast-core p,
.blast-core span {
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
  font-weight: 800;
}

.blast-core strong {
  color: var(--white);
  font-size: clamp(4rem, 12vw, 7.5rem);
  font-weight: 950;
  line-height: 0.92;
}

.blast-lab__button {
  position: absolute;
  bottom: 12px;
}

.blast-lab.is-exploded .blast-core {
  animation: pulse-core 760ms ease;
}

@keyframes pulse-core {
  45% {
    transform: scale(1.12) rotate(-3deg);
    filter: saturate(1.35);
  }
}

.story {
  background: var(--paper);
}

.story__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.story__text {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.proof-strip {
  display: grid;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(21, 20, 18, 0.12);
}

.proof-strip div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-bottom: 2px solid var(--ink);
}

.proof-strip div:last-child {
  border-bottom: 0;
}

.proof-strip span {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.proof-strip strong {
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}

.share-zone {
  overflow: hidden;
}

.share-zone__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.share-form {
  display: grid;
  gap: 18px;
}

.share-form label {
  color: var(--mustard);
  font-weight: 900;
}

.input-row input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid rgba(255, 250, 241, 0.82);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 250, 241, 0.08);
  font-weight: 900;
}

.share-buttons .button {
  flex: 0 0 auto;
}

.form-note {
  min-height: 1.8em;
  margin: 0;
  color: rgba(255, 250, 241, 0.72);
}

.share-card {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.share-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.share-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(21, 20, 18, 0.02), rgba(21, 20, 18, 0.72));
}

.share-card figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.share-card span {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.share-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 950;
  line-height: 0.95;
}

.share-card em {
  color: rgba(255, 250, 241, 0.86);
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 250, 241, 0.16);
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer a {
  color: var(--mustard);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-meter {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: end;
    margin-top: 34px;
  }

  .intro__grid,
  .fragment-grid,
  .story__columns,
  .share-zone__layout {
    grid-template-columns: 1fr;
  }

  .fragment-card {
    min-height: auto;
  }

  .blast-lab__stage {
    min-height: 500px;
  }

  .orbit {
    opacity: 0.82;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero__backdrop {
    background-position: 62% center;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  h1 span {
    white-space: normal;
  }

  section {
    padding-inline: 16px;
  }

  .meter-cell {
    padding: 12px 10px;
  }

  .meter-cell__label {
    font-size: 0.62rem;
  }

  .meter-cell__value {
    font-size: 1.6rem;
  }

  .button {
    width: 100%;
  }

  .concept-chip {
    min-width: 68px;
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .blast-core {
    width: min(330px, 84vw);
  }

  .share-card,
  .share-card img {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
