:root {
  --ink: #26302c;
  --muted: #68736e;
  --paper: #fffaf0;
  --paper-strong: #fff2cf;
  --green: #2f6b4f;
  --green-dark: #1f4735;
  --sun: #f59e24;
  --coral: #d85c39;
  --line: #eadfca;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(44, 61, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(245, 158, 36, 0.22), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgba(47, 107, 79, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffaf2 0%, #fbf6eb 45%, #f1f7f0 100%);
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid rgba(234, 223, 202, 0.82);
  backdrop-filter: blur(14px);
}

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

.logo {
  gap: 10px;
  font-weight: 900;
}

.logo-mark {
  display: inline-flex;
  min-width: 62px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  color: #2b1a05;
  background: linear-gradient(180deg, #ffd46c, var(--sun));
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(47, 107, 79, 0.45);
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  gap: clamp(10px, 2.4vw, 26px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.footer a:hover {
  color: var(--green);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 6vw, 84px);
  min-height: 670px;
  padding: clamp(52px, 8vw, 102px) clamp(18px, 5vw, 64px) clamp(44px, 7vw, 88px);
}

.hero::before {
  position: absolute;
  right: 7%;
  top: 120px;
  width: clamp(90px, 12vw, 150px);
  aspect-ratio: 1;
  content: "";
  background: rgba(245, 158, 36, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(245, 158, 36, 0.08);
}

.hero-copy,
.hero-profile {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.tag,
.status {
  margin: 0;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
  line-height: 1.07;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2.8vw, 2rem);
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #46534d;
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
}

.hero-actions,
.stamp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-note {
  margin: 16px 0 0;
  color: var(--green-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: var(--green-dark);
  background: var(--white);
  border: 2px solid var(--green-dark);
  border-radius: 999px;
  box-shadow: 5px 5px 0 rgba(47, 107, 79, 0.2);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.feature-card:hover,
.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 rgba(47, 107, 79, 0.22);
}

.button.primary {
  color: #2b1a05;
  background: linear-gradient(180deg, #ffc457, var(--sun));
  border-color: #8b4e06;
  box-shadow: 6px 6px 0 rgba(216, 92, 57, 0.22);
}

.button.small {
  min-height: 44px;
  padding: 9px 18px;
}

.hero-profile {
  display: grid;
  justify-items: center;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 215, 0.82)),
    linear-gradient(135deg, #f8d88b, #b9d3b8);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: min(330px, 78vw);
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(32, 48, 41, 0.18);
}

.profile-panel {
  width: min(430px, 100%);
  margin-top: -12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.profile-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.profile-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.for-section,
.sticker-feature,
.intro-band,
.challenge-map-section,
.quick-links,
.records {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto clamp(82px, 10vw, 126px);
}

.for-box {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  color: var(--green-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 216, 0.9)),
    radial-gradient(circle at 95% 8%, rgba(245, 158, 36, 0.22), transparent 12rem);
  border: 1px solid rgba(234, 223, 202, 0.95);
  border-left: 8px solid var(--sun);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.for-box::after {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 96px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--sun), var(--green));
  border-radius: 999px;
  opacity: 0.75;
}

.for-box p {
  max-width: 880px;
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.9;
}

.for-box p:last-child {
  margin-bottom: 0;
}

.sticker-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  background: var(--paper-strong);
  border: 1px solid rgba(234, 223, 202, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.sticker-copy p {
  color: #4f5d56;
}

.stamp-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 12px;
}

.stamp-images img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: center;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(44, 61, 51, 0.1);
}

.intro-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  background: var(--green-dark);
  border-radius: 24px;
}

.intro-band h2,
.intro-band p {
  margin-bottom: 0;
}

.profile-text {
  display: grid;
  gap: 14px;
}

.intro-band .section-kicker {
  color: #ffc95b;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.challenge-map-section {
  padding: clamp(26px, 5vw, 48px);
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 36, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 248, 249, 0.9));
  border: 1px solid rgba(193, 222, 219, 0.86);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.map-stats div {
  min-height: 104px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(193, 222, 219, 0.72);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(44, 61, 51, 0.08);
}

.map-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.45;
}

.map-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.legend-dot.achieved { background: #1ea6a8; }
.legend-dot.attempted { background: #f2a83b; }
.legend-dot.dnf-only { background: #e77a72; }
.legend-dot.unraced { background: #d8dedc; }

.challenge-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: start;
}

.japan-map-card,
.prefecture-detail {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(193, 222, 219, 0.76);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(44, 61, 51, 0.09);
}

.japan-map-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(500px, 1.18fr);
  gap: 18px;
  align-items: start;
  padding: clamp(10px, 2.4vw, 20px);
  background:
    radial-gradient(circle at 72% 16%, rgba(245, 158, 36, 0.14), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 248, 249, 0.88));
  overflow: auto;
}

.map-index {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(193, 222, 219, 0.68);
  border-radius: 16px;
}

.map-index div {
  display: grid;
  gap: 4px;
}

.map-index strong {
  display: inline-flex;
  width: fit-content;
  padding: 3px 10px;
  color: #ffffff;
  background: linear-gradient(90deg, #1ea6a8, #5fb878);
  border-radius: 999px;
  font-size: 0.78rem;
}

.map-index span {
  color: #33423d;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.58;
}

.japan-map {
  width: 100%;
  min-width: 500px;
  height: auto;
  border-radius: 22px;
}

.map-sea {
  fill: url("#seaGradient");
}

.pref-tile {
  cursor: pointer;
  outline: none;
}

.pref-shape {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.25;
  filter: url("#mapRelief");
  transition: filter 160ms ease, opacity 160ms ease;
}

.pref-marker {
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 2;
  filter: url("#markerRelief");
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.pref-tile:hover .pref-shape,
.pref-tile:focus .pref-shape,
.pref-tile.is-active .pref-shape {
  filter: brightness(1.08);
  stroke: var(--green-dark);
  stroke-width: 2;
}

.pref-tile:hover .pref-marker,
.pref-tile:focus .pref-marker,
.pref-tile.is-active .pref-marker {
  filter: brightness(1.08) url("#markerRelief");
}

.pref-tile text {
  pointer-events: none;
  fill: #17251f;
  font-size: 9px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 2px;
}

.pref-tile.achieved .pref-shape { fill: #1ea6a8; }
.pref-tile.attempted .pref-shape { fill: #f2a83b; }
.pref-tile.dnf-only .pref-shape { fill: #f19a92; }
.pref-tile.unraced .pref-shape { fill: #d8dedc; }
.pref-tile.achieved .pref-marker { fill: #137f86; }
.pref-tile.attempted .pref-marker { fill: #d88920; }
.pref-tile.dnf-only .pref-marker { fill: #d85c39; }
.pref-tile.unraced .pref-marker { fill: #aeb9b5; }
.pref-tile.achieved text { fill: #ffffff; }
.pref-tile.attempted text,
.pref-tile.dnf-only text { fill: #3b2a12; }

.prefecture-detail {
  min-height: 420px;
  padding: clamp(20px, 3vw, 28px);
}

.detail-placeholder {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.detail-kicker {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.detail-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  color: var(--green-dark);
  background: rgba(30, 166, 168, 0.12);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.detail-best {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.race-list {
  display: grid;
  gap: 12px;
}

.race-card {
  padding: 16px;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(234, 223, 202, 0.9);
  border-radius: 16px;
}

.race-date {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.race-name {
  margin: 4px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
}

.race-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.race-memo {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.race-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.race-badge.sub35 { color: #ffffff; background: #1ea6a8; }
.race-badge.pb { color: #2b1a05; background: #ffc457; }
.race-badge.dnf { color: #ffffff; background: #d85c39; }
.race-badge.first { color: #1f4735; background: #d9f1ea; }
.race-badge.update { color: #ffffff; background: #2f6b4f; }

.section-heading {
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-top: clamp(44px, 6vw, 70px);
  margin-bottom: 20px;
}

.featured-grid,
.media-grid,
.record-grid {
  display: grid;
  gap: 18px;
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.substack-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 5vw, 48px);
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(circle at 8% 10%, rgba(245, 158, 36, 0.2), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 207, 0.86));
  border: 1px solid rgba(234, 223, 202, 0.96);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.substack-card h3 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

.substack-card p {
  color: #4f5d56;
  font-size: 1.04rem;
}

.substack-card .substack-note {
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.substack-card img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.popular-section {
  margin-bottom: 22px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(234, 223, 202, 0.95);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(44, 61, 51, 0.09);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(44, 61, 51, 0.13);
}

.article-card span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.article-card strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  line-height: 1.45;
}

.article-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.feature-card,
.media-card,
.record {
  border: 1px solid rgba(234, 223, 202, 0.95);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.feature-card,
.media-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.78fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 330px;
  padding: 20px;
  border-radius: 22px;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 100%;
  max-height: 290px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feature-card.book {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(246, 169, 26, 0.45), transparent 9rem),
    linear-gradient(150deg, rgba(31, 71, 53, 0.96), rgba(47, 107, 79, 0.9));
}

.feature-card.book .tag,
.feature-card.book p {
  color: #ffd88b;
}

.feature-card p,
.media-card p,
.media-card span,
.record span,
.record small,
.footer {
  color: var(--muted);
}

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

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

.media-grid.one-col {
  grid-template-columns: minmax(0, 1fr);
}

.media-grid.one-col .media-card {
  max-width: 560px;
}

.media-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 16px;
  border-radius: 18px;
}

.media-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.media-card span {
  margin-top: 16px;
  font-size: 0.84rem;
  font-weight: 900;
}

.media-card strong {
  display: block;
  margin: 5px 0 8px;
  font-size: 1.12rem;
  line-height: 1.42;
}

.media-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

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

.record {
  padding: 24px;
  border-radius: 18px;
}

.record span,
.record small {
  display: block;
}

.record span {
  margin-bottom: 8px;
  font-weight: 900;
}

.record strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.record small {
  margin-top: 8px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 242, 0.92);
  border-top: 1px solid rgba(234, 223, 202, 0.75);
}

.footer p {
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 900;
}

.footer small {
  color: var(--muted);
}

.footer a {
  font-weight: 900;
}

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

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .substack-card,
  .sticker-feature,
  .intro-band,
  .challenge-map-layout,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .media-grid,
  .media-grid.two-col,
  .media-grid.three-col,
  .article-grid,
  .map-stats,
  .record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px 14px;
  }

  .hero-actions .button,
  .stamp-actions .button {
    width: 100%;
  }

  .feature-card,
  .media-grid,
  .media-grid.two-col,
  .media-grid.three-col,
  .article-grid,
  .map-stats,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .challenge-map-section {
    width: min(100% - 24px, 1120px);
    padding: 22px 14px;
    border-radius: 18px;
  }

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

  .japan-map {
    min-width: 430px;
  }

  .prefecture-detail {
    min-height: auto;
  }

  .substack-card {
    margin-bottom: 18px;
  }

  .popular-section {
    margin-bottom: 24px;
  }

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

  .stamp-images {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

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

  .feature-card img {
    max-height: 260px;
  }

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

  .media-card img {
    height: 180px;
  }

  .sticker-feature,
  .intro-band {
    border-radius: 18px;
  }

  .footer {
    flex-direction: column;
  }
}

body.relaunch {
  color: #eef7f7;
  background:
    radial-gradient(circle at 18% 8%, rgba(30, 166, 168, 0.3), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(245, 158, 36, 0.22), transparent 24rem),
    linear-gradient(180deg, #071115 0%, #0d1f26 42%, #f4f8f7 42%, #eef5f2 100%);
}

.relaunch .mv-copy .hero-actions {
  gap: 18px;
}

.relaunch .mv-copy .hero-actions .button {
  min-height: auto;
  padding: 0;
  color: #f5fbff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.relaunch .mv-copy .hero-actions .button.primary {
  color: #79f2e7;
  background: transparent;
}

.relaunch .mv-copy .hero-actions .button::after {
  content: " →";
  color: #f5b84b;
}

.relaunch .site-header {
  background: rgba(7, 17, 21, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.relaunch .logo,
.relaunch .nav {
  color: #f5fbff;
}

.mv-hero,
.tomolabo-section,
.profile-snapshot,
.substack-focus,
.link-strip {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto clamp(72px, 9vw, 112px);
}

.mv-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  min-height: calc(92vh - 72px);
  padding: clamp(28px, 5vw, 64px) 0;
}

.mv-copy h1 {
  max-width: 620px;
  margin: 10px 0 18px;
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
}

.mv-lead {
  max-width: 530px;
  color: #b9c9c8;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.relaunch .button.primary {
  color: #071115;
  background: linear-gradient(180deg, #79f2e7, #f5b84b);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(30, 166, 168, 0.22);
}

.button.ghost {
  color: #f5fbff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.mv-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.mv-link {
  display: block;
  color: #ffffff;
}

.mv-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 180ms ease, filter 180ms ease;
}

.mv-link::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 17, 21, 0.04), rgba(7, 17, 21, 0.38));
}

.mv-link:hover .mv-thumb {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.mv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: clamp(68px, 9vw, 96px);
  aspect-ratio: 1;
  place-items: center;
  padding-left: 5px;
  color: #071115;
  background: linear-gradient(180deg, #ffffff, #f5b84b);
  border-radius: 50%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  transform: translate(-50%, -50%);
}

.mv-watch {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 13px;
  background: rgba(7, 17, 21, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
}

.tomolabo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 52px);
  color: #f7fbfb;
  background:
    linear-gradient(135deg, rgba(30, 166, 168, 0.2), rgba(245, 158, 36, 0.12)),
    rgba(10, 26, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(7, 17, 21, 0.28);
}

.tomolabo-copy h2,
.substack-focus h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.12;
}

.tomolabo-copy p:last-child,
.substack-focus p {
  color: #b9c9c8;
}

.tomolabo-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 14px;
  color: #071115;
  background: linear-gradient(180deg, #f5fbff, #dff4f2);
  border-radius: 22px;
  overflow: hidden;
}

.tomolabo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.tomolabo-card div {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
}

.tomolabo-card span {
  color: #d85c39;
  font-weight: 900;
}

.tomolabo-card strong {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.18;
}

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

.profile-snapshot div {
  padding: 22px;
  color: #071115;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(193, 222, 219, 0.8);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(44, 61, 51, 0.08);
}

.profile-snapshot span {
  display: block;
  color: #68736e;
  font-size: 0.8rem;
  font-weight: 900;
}

.profile-snapshot strong {
  display: block;
  margin-top: 8px;
  color: #0d1f26;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.relaunch .challenge-map-section {
  color: #26302c;
  background:
    radial-gradient(circle at 85% 10%, rgba(30, 166, 168, 0.16), transparent 18rem),
    #f7fbfb;
}

.substack-focus {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  background: #0d1f26;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(7, 17, 21, 0.22);
}

.substack-focus img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top left;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.link-strip a {
  display: grid;
  min-height: 76px;
  place-items: center;
  color: #0d1f26;
  background: #ffffff;
  border: 1px solid rgba(193, 222, 219, 0.9);
  border-radius: 16px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(44, 61, 51, 0.08);
}

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

.media-link-card {
  display: flex !important;
  min-height: 310px !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start !important;
  overflow: hidden;
  padding: 14px !important;
}

.media-link-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid rgba(193, 222, 219, 0.72);
}

.book-cover-3d {
  position: relative;
  display: grid;
  width: min(134px, 62%);
  height: 178px;
  align-self: center;
  justify-self: center;
  margin: 2px 0 18px;
}

.book-cover-3d img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 16px 26px rgba(7, 17, 21, 0.18);
}

.sticker-select-card {
  pointer-events: auto;
}

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

.sticker-select-grid a {
  display: grid;
  min-height: auto;
  padding: 8px;
  color: #0d1f26;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(193, 222, 219, 0.72);
  border-radius: 14px;
  box-shadow: none;
}

.sticker-select-grid img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  padding: 8px;
  background: #ffffff;
  border-radius: 10px;
}

.sticker-select-grid span {
  margin-top: 6px;
  color: #0d1f26;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.media-link-card span {
  margin-top: 14px;
  color: #68736e;
  font-size: 0.84rem;
  font-weight: 900;
}

.media-link-card strong {
  margin-top: 4px;
  color: #0d1f26;
  font-size: 1.12rem;
  line-height: 1.42;
}

.relaunch-footer {
  color: #f5fbff;
  background: #071115;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.relaunch-footer p {
  color: #ffffff;
}

@media (max-width: 980px) {
  .mv-hero,
  .tomolabo-section,
  .substack-focus {
    grid-template-columns: 1fr;
  }

  .mv-hero {
    min-height: auto;
  }

  .profile-snapshot,
  .link-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .mv-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .tomolabo-copy h2 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .mv-hero,
  .tomolabo-section,
  .profile-snapshot,
  .substack-focus,
  .link-strip {
    width: min(100% - 24px, 1160px);
  }

  .profile-snapshot,
  .link-strip,
  .media-link-strip {
    grid-template-columns: 1fr;
  }
}
