:root {
  --bg: #f8fafc;
  --paper: #fffefe;
  --paper-soft: #f3f7fa;
  --ink: #10213c;
  --ink-soft: #425168;
  --muted: #748096;
  --line: #dfe5eb;
  --gold: #997126;
  --gold-bright: #c69027;
  --gold-soft: #f2e5c8;
  --red: #9b1c23;
  --shadow: 0 18px 48px rgba(16, 33, 60, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#top {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(153, 113, 38, 0.08), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #eef5f8 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(16, 33, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 60, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(153, 113, 38, 0.26);
  backdrop-filter: blur(16px);
}

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

.brand-logo img {
  width: clamp(158px, 18vw, 286px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.brand-mark svg,
.codemaster-symbol svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.08rem);
  line-height: 1;
  color: var(--ink);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 4vw, 54px);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 0.98rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  box-shadow: 0 10px 24px rgba(153, 113, 38, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(153, 113, 38, 0.5);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(16, 33, 60, 0.14);
}

.section-band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(153, 113, 38, 0.22);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 56% 36%, rgba(104, 149, 177, 0.18), transparent 24rem),
    linear-gradient(90deg, #fff 0%, #f9fbfc 58%, #f1f6f8 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 7vw, 78px);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.premium-copy h2,
.codemaster-copy h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-copy h1 {
  width: max-content;
  max-width: 100%;
  color: var(--gold-soft);
  font-size: clamp(2.45rem, 4.7vw, 4.9rem);
  line-height: 1.12;
  white-space: nowrap;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.54), 0 0 34px rgba(198, 144, 39, 0.24);
}

.hero-subcatch {
  margin: 20px 0 0;
  width: min(100%, 820px);
  color: var(--ink);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.24rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.44);
}

.hero-lead {
  width: min(100%, 680px);
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--ink-soft);
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.today-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--ink-soft);
}

.today-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 2px 12px;
  color: var(--gold);
  border: 1px solid rgba(153, 113, 38, 0.28);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.today-strip a {
  color: var(--ink);
  text-decoration-color: rgba(153, 113, 38, 0.55);
  text-underline-offset: 5px;
}

.hero-visual {
  position: relative;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(153, 113, 38, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.chart-lines {
  position: absolute;
  inset: -54px -38px auto auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(153, 113, 38, 0.28);
  border-radius: 50%;
  animation: floatSlow 7s ease-in-out infinite;
}

.chart-lines::before,
.chart-lines::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(104, 149, 177, 0.32);
  border-radius: 50%;
}

.chart-lines::after {
  inset: 70px;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.visual-caption strong {
  font-family: Georgia, "Yu Mincho", serif;
  color: var(--gold);
}

.gold-thread {
  position: absolute;
  pointer-events: none;
  width: 420px;
  height: 420px;
  border: 1.5px solid rgba(153, 113, 38, 0.36);
  border-radius: 42% 58% 52% 48%;
  animation: threadDrift 11s ease-in-out infinite;
}

.gold-thread-left {
  left: -210px;
  top: 120px;
}

.selector-grid,
.premium-grid,
.codemaster-grid {
  padding: clamp(64px, 8vw, 98px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 84px minmax(0, 0.72fr) minmax(260px, 0.45fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2,
.premium-copy h2,
.codemaster-copy h2,
.closing h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.section-heading p:last-child,
.premium-copy p,
.codemaster-copy p,
.closing p {
  margin: 0;
  color: var(--ink-soft);
}

.section-number {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.selector-surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.43fr);
  gap: 22px;
  align-items: start;
}

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

.month-card {
  min-height: 112px;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 33, 60, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 33, 60, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.month-card:hover,
.month-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(153, 113, 38, 0.58);
  box-shadow: 0 16px 34px rgba(16, 33, 60, 0.12);
}

.month-card.is-active {
  color: #fff;
  background: linear-gradient(135deg, #10213c 0%, #1d3554 100%);
}

.month-card .month-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.month-card .month-number {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.75rem;
  line-height: 1;
}

.month-card .chevron {
  color: var(--gold);
  font-size: 1.2rem;
}

.month-card.is-active .chevron {
  color: var(--gold-soft);
}

.month-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.month-card.is-active small {
  color: #e6edf5;
}

.day-panel {
  position: sticky;
  top: 100px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(153, 113, 38, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.day-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.day-panel-head span {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.9rem;
  color: var(--gold);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

a.day-chip:hover,
.day-chip.is-live.is-today {
  transform: translateY(-2px);
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.day-chip.is-live {
  border-color: rgba(153, 113, 38, 0.52);
  background: #fffaf0;
}

.day-chip.is-live:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.day-chip.is-preparing {
  color: #7f8897;
  background: #f5f7f9;
  cursor: default;
}

.day-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.premium {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 249, 251, 0.9)),
    radial-gradient(circle at 12% 40%, rgba(153, 113, 38, 0.1), transparent 20rem);
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.premium-copy p {
  margin-top: 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.button.wide {
  min-width: min(100%, 360px);
}

.coconala-card {
  display: block;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(153, 113, 38, 0.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.coconala-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(16, 33, 60, 0.16);
}

.coconala-card img {
  border-radius: 5px;
}

.codemaster {
  background:
    linear-gradient(90deg, rgba(238, 246, 249, 0.95), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 86% 12%, rgba(74, 122, 151, 0.16), transparent 25rem);
}

.codemaster-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.codemaster-symbol {
  width: 172px;
  height: 172px;
  color: var(--gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(153, 113, 38, 0.18), 0 16px 34px rgba(16, 33, 60, 0.08);
  padding: 24px;
}

.codemaster-copy p {
  max-width: 760px;
  margin-top: 16px;
}

.codemaster-profile {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "media"
    "intro"
    "story";
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
  width: 100vw;
  max-width: none;
  margin: clamp(70px, 9vw, 120px) calc(50% - 50vw) 0;
  padding: clamp(70px, 8vw, 110px) max(28px, calc((100vw - var(--max)) / 2)) clamp(78px, 9vw, 128px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, #050511, #0c0720),
    radial-gradient(circle at 78% 50%, rgba(153, 113, 38, 0.14), transparent 30rem);
  box-shadow: none;
}

.codemaster-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.codemaster-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(9, 6, 22, 0.74) 55%, rgba(7, 4, 18, 0.64)),
    radial-gradient(circle at 82% 62%, rgba(100, 56, 168, 0.32), transparent 28rem);
  pointer-events: none;
}

.codemaster-profile-media {
  grid-area: media;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 42px);
  width: min(100%, 1160px);
  margin-inline: auto;
}

.codemaster-profile-media figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.codemaster-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.codemaster-logo-card {
  aspect-ratio: 1 / 1;
}

.codemaster-logo-card img {
  object-fit: contain;
  padding: 0;
}

.codemaster-portrait-card {
  aspect-ratio: 1 / 1;
}

.codemaster-profile-copy h2 {
  position: relative;
  margin: 0;
  padding-bottom: 20px;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  color: var(--gold);
}

.codemaster-profile-copy {
  grid-area: head;
  width: min(100%, 1160px);
  justify-self: center;
  text-align: left;
}

.codemaster-profile-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 20%, rgba(255, 255, 255, 0.75) 20% 100%);
}

.codemaster-profile-intro {
  grid-area: intro;
  width: min(100%, 960px);
  margin-inline: auto;
}

.codemaster-profile-intro h3 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.72rem, 3vw, 2.28rem);
  font-weight: 800;
  line-height: 1.36;
}

.codemaster-role {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 44px 0 0;
  padding: 0;
  color: var(--gold);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 700;
  line-height: 1.25;
}

.codemaster-story {
  grid-area: story;
  display: grid;
  gap: clamp(24px, 3.2vw, 42px);
  width: min(100%, 960px);
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.12rem, 1.85vw, 1.56rem);
  font-weight: 600;
  line-height: 1.9;
}

.codemaster-story p {
  margin: 0;
}

.codemaster-story strong {
  color: #fff;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid rgba(16, 33, 60, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(16, 33, 60, 0.12);
}

.method-grid div {
  min-height: 132px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.method-grid strong,
.method-grid span {
  display: block;
}

.method-grid strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.method-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.closing {
  padding: clamp(66px, 8vw, 110px) 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 33, 60, 0.96), rgba(30, 55, 84, 0.96)),
    radial-gradient(circle at 18% 40%, rgba(198, 144, 39, 0.35), transparent 28rem);
}

.closing h2,
.closing p {
  color: #fff;
}

.closing p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.closing .button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #0d182c;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-inner span {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  font-size: 1.2rem;
}

.footer-inner small {
  text-align: right;
}

.reveal {
  animation: fadeUp 760ms ease both;
}

.reveal-delay {
  animation-delay: 140ms;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-10px, 8px, 0) rotate(4deg);
  }
}

@keyframes threadDrift {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.04);
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .selector-surface,
  .premium-grid,
  .codemaster-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 10px;
  }

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

  .day-panel {
    position: static;
  }

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

  .codemaster-symbol {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(var(--max), calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .site-header {
    min-height: 68px;
    gap: 12px;
    padding-inline: 14px;
  }

  .brand-text {
    font-size: 1.25rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .header-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .closing-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    padding: 10px;
  }

  .visual-caption {
    display: grid;
  }

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

  .month-card {
    min-height: 96px;
    padding: 13px;
  }

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

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

  .footer-inner {
    display: grid;
  }

  .footer-inner small {
    text-align: left;
  }
}

@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;
  }
}

/* Dark cosmic visual direction */
:root {
  --bg: #090815;
  --paper: #151327;
  --paper-soft: #1e1938;
  --ink: #fff8eb;
  --ink-soft: #d8cfea;
  --muted: #a99abb;
  --line: rgba(255, 255, 255, 0.16);
  --gold-soft: #f7dc9f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(122, 77, 159, 0.38), transparent 25rem),
    radial-gradient(circle at 82% 18%, rgba(153, 113, 38, 0.18), transparent 22rem),
    linear-gradient(180deg, #080713 0%, #11102a 42%, #090815 100%);
}

body::before {
  opacity: 0.38;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    linear-gradient(rgba(246, 220, 159, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 220, 159, 0.03) 1px, transparent 1px);
  background-size: 86px 86px, 42px 42px, 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.76) 48%, transparent 100%);
}

.site-header {
  background: rgba(9, 8, 21, 0.78);
  border-bottom-color: rgba(246, 220, 159, 0.26);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.brand-text,
.nav-links a {
  color: var(--ink);
}

.hero {
  background: #090815;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 19, 0.92) 0%, rgba(18, 12, 36, 0.82) 46%, rgba(8, 7, 19, 0.68) 100%),
    radial-gradient(circle at 62% 38%, rgba(133, 84, 174, 0.34), transparent 28rem);
  pointer-events: none;
}

.hero-video {
  opacity: 0.54;
  filter: saturate(1.2) contrast(1.06);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero .gold-thread {
  z-index: 1;
}

.hero-copy h1,
.section-heading h2,
.premium-copy h2,
.codemaster-copy h2,
.closing h2 {
  color: var(--ink);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
}

.hero-lead,
.section-heading p:last-child,
.premium-copy p,
.codemaster-copy p {
  color: var(--ink-soft);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(246, 220, 159, 0.4);
}

.today-strip {
  color: var(--ink-soft);
}

.today-strip a {
  color: var(--gold-soft);
}

.hero-visual,
.selector-surface,
.coconala-card {
  background: rgba(17, 13, 36, 0.72);
  border-color: rgba(246, 220, 159, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-visual img,
.coconala-card img {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.note-selector {
  background:
    radial-gradient(circle at 78% 12%, rgba(105, 66, 145, 0.24), transparent 24rem),
    linear-gradient(180deg, rgba(9, 8, 21, 0.98), rgba(17, 16, 42, 0.96));
}

.selector-surface {
  padding: 18px;
}

.month-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.month-card:hover,
.month-card.is-active {
  border-color: rgba(246, 220, 159, 0.62);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.month-card.is-active {
  background: linear-gradient(135deg, rgba(76, 48, 118, 0.96), rgba(19, 31, 58, 0.98));
}

.month-card small,
.day-note,
.method-grid span,
.visual-caption {
  color: var(--muted);
}

.day-panel {
  background: rgba(12, 10, 27, 0.82);
  border-color: rgba(246, 220, 159, 0.36);
  backdrop-filter: blur(12px);
}

.day-chip {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.day-chip.is-live {
  background: rgba(153, 113, 38, 0.2);
  border-color: rgba(246, 220, 159, 0.52);
}

a.day-chip:hover,
.day-chip.is-live.is-today {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: rgba(246, 220, 159, 0.8);
  color: #120d20;
}

.day-chip.is-preparing {
  color: rgba(255, 248, 235, 0.58);
  background: rgba(255, 255, 255, 0.045);
  cursor: default;
}

.premium {
  background:
    radial-gradient(circle at 12% 28%, rgba(153, 113, 38, 0.16), transparent 25rem),
    radial-gradient(circle at 88% 66%, rgba(98, 62, 139, 0.28), transparent 28rem),
    linear-gradient(180deg, #11102a, #090815);
}

.feature-list li {
  color: var(--ink-soft);
}

.codemaster {
  background:
    radial-gradient(circle at 20% 40%, rgba(246, 220, 159, 0.14), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(112, 75, 156, 0.28), transparent 28rem),
    linear-gradient(90deg, rgba(11, 12, 31, 0.98), rgba(19, 16, 43, 0.96));
}

.codemaster-symbol {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(246, 220, 159, 0.22), 0 22px 50px rgba(0, 0, 0, 0.32);
}

.codemaster-profile {
  background:
    linear-gradient(180deg, rgba(3, 3, 10, 0.98), rgba(8, 5, 22, 0.98)),
    radial-gradient(circle at 76% 54%, rgba(106, 61, 174, 0.22), transparent 30rem);
  box-shadow: none;
  backdrop-filter: none;
}

.codemaster-bg-video {
  opacity: 0.58;
  filter: saturate(1.15) contrast(1.08) brightness(0.72);
}

.codemaster-profile::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(9, 6, 22, 0.7) 58%, rgba(5, 3, 14, 0.56)),
    radial-gradient(circle at 82% 62%, rgba(103, 54, 166, 0.34), transparent 30rem);
}

.codemaster-profile-media figure {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.codemaster-logo-card {
  background: transparent;
}

.codemaster-profile-copy h2 {
  color: var(--gold);
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.52);
}

.codemaster-profile-copy h2::after {
  background: linear-gradient(90deg, var(--gold) 0 20%, rgba(255, 255, 255, 0.78) 20% 100%);
}

.codemaster-profile-intro h3,
.codemaster-role {
  color: var(--gold);
}

.codemaster-story,
.codemaster-story strong {
  color: #fff;
}

.method-grid {
  border-color: rgba(246, 220, 159, 0.2);
  background: rgba(246, 220, 159, 0.18);
}

.method-grid div {
  background: rgba(255, 255, 255, 0.055);
}

.method-grid strong {
  color: var(--ink);
}

.closing {
  background:
    linear-gradient(135deg, rgba(8, 7, 19, 0.96), rgba(34, 21, 63, 0.96)),
    radial-gradient(circle at 18% 40%, rgba(198, 144, 39, 0.28), transparent 28rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  grid-template-areas:
    "catch catch"
    "intro visual"
    "cta cta";
  row-gap: clamp(28px, 4.2vw, 58px);
  column-gap: clamp(34px, 6vw, 84px);
}

.hero-catch {
  grid-area: catch;
  justify-self: center;
  width: 100%;
  text-align: center;
}

.hero-intro {
  grid-area: intro;
  align-self: center;
}

.hero-visual {
  grid-area: visual;
  justify-self: end;
  width: min(100%, 520px);
}

.hero-cta-row {
  grid-area: cta;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.hero-copy h1 {
  width: 100%;
  max-width: 100%;
  color: var(--gold-soft);
  font-size: clamp(3.1rem, 5.8vw, 6.25rem);
  line-height: 1.04;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.68), 0 0 42px rgba(198, 144, 39, 0.34);
}

.hero-subcatch {
  margin: 24px auto 0;
  width: min(100%, 1120px);
  color: var(--ink);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.48;
  text-align: center;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.48);
}

.hero-lead {
  width: min(100%, 660px);
  margin: 0;
  padding-left: clamp(18px, 2.2vw, 28px);
  border-left: 1px solid rgba(246, 220, 159, 0.48);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 2;
}

.hero-cta-row .hero-actions {
  width: min(100%, 760px);
  justify-content: center;
  gap: 20px;
  margin-top: 0;
}

.hero-cta-row .button {
  flex: 1 1 280px;
  max-width: 360px;
  min-width: min(100%, 280px);
  min-height: 64px;
  padding: 16px 30px;
  font-size: 1.06rem;
}

.hero-cta-row .today-strip {
  width: min(100%, 760px);
  justify-content: center;
  gap: 14px;
  margin-top: 0;
  font-size: 1.04rem;
}

.hero-cta-row .today-label {
  min-height: 34px;
  padding-inline: 14px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "catch"
      "intro"
      "visual"
      "cta";
  }

  .hero-intro,
  .hero-visual {
    justify-self: center;
  }

  .hero-lead {
    width: min(100%, 760px);
  }

  .codemaster-profile {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "intro"
      "story";
  }

  .codemaster-profile-media {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(var(--max), calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.46rem, 6.5vw, 1.72rem);
    line-height: 1.18;
    white-space: nowrap;
  }

  .hero-subcatch {
    margin-top: 18px;
    font-size: clamp(1.08rem, 4.9vw, 1.28rem);
    line-height: 1.62;
  }

  .hero-lead {
    padding-left: 16px;
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-cta-row .button {
    width: 100%;
    max-width: none;
    min-width: 100%;
    min-height: 58px;
    font-size: 0.98rem;
  }

  .hero-cta-row .hero-actions {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .hero-cta-row .today-strip {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero-grid {
    width: min(var(--max), calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    grid-template-columns: 1fr;
  }

  .codemaster-profile {
    gap: 30px;
    padding: 58px 20px 66px;
  }

  .codemaster-profile-media {
    grid-template-columns: 1fr;
  }

  .codemaster-profile-copy h2 {
    font-size: clamp(1.74rem, 7vw, 2rem);
  }

  .codemaster-profile-intro h3 {
    font-size: clamp(1.08rem, 5.2vw, 1.32rem);
  }

  .codemaster-role {
    width: auto;
    justify-content: flex-start;
    text-align: left;
  }

  .codemaster-story {
    gap: 20px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.95;
  }

  .brand-logo img {
    width: 158px;
    max-height: 38px;
  }
}

/* Current live LP tone alignment */
:root {
  --live-black: #050505;
  --live-panel: rgba(0, 0, 0, 0.36);
  --live-gold-line: rgba(153, 113, 38, 0.72);
}

body {
  background:
    linear-gradient(180deg, #030306 0%, #080512 40%, #030306 100%);
}

body::before {
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.6px),
    linear-gradient(rgba(153, 113, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 113, 38, 0.04) 1px, transparent 1px);
  background-size: 92px 92px, 48px 48px, 48px 48px;
}

.site-header {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: rgba(153, 113, 38, 0.52);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.nav-links {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
}

.header-cta,
.button {
  border-radius: 3px;
  box-shadow: none;
}

.header-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #b78a35 0%, var(--gold) 100%);
  border-color: rgba(246, 220, 159, 0.36);
}

.button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.button:hover,
.header-cta:hover {
  box-shadow: 0 15px 34px rgba(153, 113, 38, 0.26);
}

.ranking-magazine,
.note-selector,
.premium,
.codemaster,
.closing {
  background:
    linear-gradient(180deg, rgba(2, 2, 6, 0.94), rgba(8, 5, 20, 0.96)),
    radial-gradient(circle at 72% 22%, rgba(87, 46, 132, 0.24), transparent 28rem);
}

.ranking-magazine::before,
.note-selector::before,
.premium::before,
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(153, 113, 38, 0.11), transparent 34%, rgba(255, 255, 255, 0.04));
  background-size: 84px 84px, 100% 100%;
}

.ranking-magazine > .container,
.note-selector > .container,
.premium > .container,
.codemaster > .container,
.closing > .container {
  position: relative;
  z-index: 1;
}

.ranking-magazine-inner,
.selector-grid,
.premium-grid,
.codemaster-grid {
  padding: clamp(78px, 8.5vw, 118px) 0;
}

.ranking-magazine {
  overflow: hidden;
}

.ranking-heading {
  max-width: 1060px;
}

.ranking-carousel {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 16px;
  align-items: center;
}

.ranking-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 8px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(246, 220, 159, 0.58) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.ranking-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(18, 12, 35, 0.88), rgba(4, 4, 12, 0.96)),
    var(--live-panel);
  border: 1px solid rgba(153, 113, 38, 0.42);
  border-radius: 0;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ranking-card:hover {
  border-color: rgba(246, 220, 159, 0.78);
  box-shadow: inset 0 0 0 1px rgba(246, 220, 159, 0.1), 0 24px 58px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px);
}

.ranking-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

.ranking-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.42));
}

.ranking-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.ranking-card:hover .ranking-card-media img {
  transform: scale(1.04);
}

.ranking-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.ranking-date {
  color: var(--gold-soft);
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.ranking-card strong {
  color: #fff;
  font-size: clamp(1.2rem, 1.6vw, 1.48rem);
  line-height: 1.38;
}

.ranking-description {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.75;
}

.ranking-action {
  margin-top: auto;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.ranking-action::after {
  content: " ›";
}

.ranking-card.is-magazine-cta {
  background:
    radial-gradient(circle at 78% 18%, rgba(153, 113, 38, 0.28), transparent 15rem),
    linear-gradient(180deg, rgba(28, 18, 42, 0.94), rgba(5, 5, 14, 0.98));
}

.ranking-control {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--gold-soft);
  font-size: 2.35rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 220, 159, 0.38);
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ranking-control:hover {
  color: #120d20;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: rgba(246, 220, 159, 0.8);
}

.section-heading {
  display: block;
  max-width: 980px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-number {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
}

.section-heading h2,
.premium-copy h2,
.codemaster-copy h2,
.closing h2 {
  position: relative;
  padding-bottom: 18px;
  color: var(--gold);
  font-size: clamp(2rem, 3.15vw, 2.62rem);
  font-weight: 800;
  line-height: 1.24;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.58);
}

.section-heading h2::after,
.premium-copy h2::after,
.codemaster-copy h2::after,
.closing h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0 20%, rgba(255, 255, 255, 0.76) 20% 100%);
}

.section-heading p:last-child,
.premium-copy p,
.codemaster-copy p,
.closing p {
  max-width: 960px;
  color: #fff;
  font-size: clamp(1.05rem, 1.68vw, 1.42rem);
  font-weight: 600;
  line-height: 2;
}

.premium-copy .section-number,
.codemaster-copy .section-number {
  max-width: none;
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.selector-surface {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 0.52fr);
  gap: clamp(24px, 4vw, 42px);
}

.month-grid {
  gap: 16px;
}

.month-card {
  min-height: 116px;
  padding: 16px 17px;
  color: #fff;
  background: var(--live-panel);
  border: 1px solid rgba(153, 113, 38, 0.36);
  border-radius: 0;
  box-shadow: none;
}

.month-card:hover,
.month-card.is-active {
  border-color: rgba(246, 220, 159, 0.8);
  background: rgba(153, 113, 38, 0.22);
  box-shadow: inset 0 0 0 1px rgba(246, 220, 159, 0.08), 0 18px 38px rgba(0, 0, 0, 0.26);
}

.month-card.is-active {
  color: #fff;
}

.month-card .month-number {
  color: var(--gold-soft);
  font-size: 2rem;
}

.month-card small {
  color: rgba(255, 255, 255, 0.72);
}

.month-card.is-active small {
  color: rgba(255, 255, 255, 0.88);
}

.day-panel {
  padding: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-color: var(--live-gold-line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.day-panel-head strong {
  color: #fff;
}

.day-chip {
  min-height: 38px;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

.day-chip.is-live {
  color: #fff;
  background: rgba(153, 113, 38, 0.28);
  border-color: rgba(246, 220, 159, 0.64);
}

.day-chip.is-preparing {
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.04);
}

.day-note {
  color: rgba(255, 255, 255, 0.66);
}

.premium-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.64fr);
  align-items: center;
}

.premium-copy p {
  margin-top: 22px;
}

.feature-list {
  gap: 18px;
  margin: 36px 0 38px;
}

.feature-list li {
  padding-left: 34px;
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 700;
  line-height: 1.8;
}

.feature-list li::before {
  top: 0.72em;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(198, 144, 39, 0.42);
}

.coconala-card {
  padding: 0;
  background: transparent;
  border: 1px solid rgba(153, 113, 38, 0.62);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.coconala-card:hover {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.coconala-card img {
  border-radius: 0;
}

.codemaster-grid {
  grid-template-columns: 170px minmax(0, 1fr);
}

.codemaster-symbol {
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(153, 113, 38, 0.58);
  border-radius: 0;
  box-shadow: none;
}

.method-grid {
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.method-grid div {
  min-height: 140px;
  padding: 22px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(153, 113, 38, 0.28);
}

.method-grid strong {
  color: #fff;
}

.method-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.codemaster-profile {
  margin-top: 0;
}

.closing-inner {
  max-width: 980px;
}

.closing h2 {
  max-width: 940px;
}

.closing p {
  margin-top: 24px;
}

.site-footer {
  background: #020203;
  border-top: 1px solid rgba(153, 113, 38, 0.38);
}

.hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(9, 6, 22, 0.76)),
    url("./assets/cosmic-bg-poster.jpg") center / cover no-repeat,
    #050511;
}

.codemaster-profile {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(9, 6, 22, 0.74)),
    url("./assets/codemaster-bg-poster.jpg") center / cover no-repeat,
    #050511;
}

.hero-grid {
  grid-template-areas:
    "catch catch"
    "intro visual"
    "cta cta"
    "about about";
}

.hero-about {
  grid-area: about;
  justify-self: center;
  width: min(100%, 1240px);
  margin-top: clamp(34px, 5vw, 72px);
  padding-top: clamp(46px, 5.2vw, 78px);
  border-top: 1px solid rgba(153, 113, 38, 0.34);
  text-align: center;
}

.hero-about-logo {
  width: clamp(320px, 42vw, 650px);
  max-height: 126px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}

.hero-about-kicker {
  margin: clamp(34px, 4vw, 62px) 0 clamp(28px, 3.6vw, 54px);
  color: #fff;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.15rem, 4.6vw, 4.35rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.58);
}

.hero-about-text {
  margin: 0 auto;
  max-width: 1180px;
  color: #fff;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.55rem, 2.45vw, 2.66rem);
  font-weight: 700;
  line-height: 1.78;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 9px 24px rgba(0, 0, 0, 0.56);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-areas:
      "catch"
      "intro"
      "visual"
      "cta"
      "about";
  }

  .selector-grid,
  .ranking-magazine-inner,
  .premium-grid,
  .codemaster-grid {
    padding: clamp(58px, 9vw, 86px) 0;
  }

  .premium-grid,
  .codemaster-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .premium-copy h2,
  .codemaster-copy h2,
  .closing h2 {
    font-size: clamp(1.85rem, 5.4vw, 2.35rem);
  }

  .section-heading p:last-child,
  .premium-copy p,
  .codemaster-copy p,
  .closing p {
    font-size: 1.04rem;
    line-height: 1.95;
  }

  .codemaster-symbol {
    width: 128px;
    height: 128px;
  }

  .hero-about {
    margin-top: 42px;
    padding-top: 42px;
  }

  .hero-about-logo {
    width: min(78vw, 460px);
  }

  .hero-about-kicker {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }

  .hero-about-text {
    font-size: clamp(1.18rem, 3.8vw, 1.65rem);
    line-height: 1.9;
  }

  .ranking-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .ranking-control {
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(0, 0, 0, 0.96);
  }

  .selector-grid,
  .ranking-magazine-inner,
  .premium-grid,
  .codemaster-grid {
    padding: 54px 0;
  }

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

  .section-heading h2,
  .premium-copy h2,
  .codemaster-copy h2,
  .closing h2 {
    padding-bottom: 14px;
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .section-heading h2::after,
  .premium-copy h2::after,
  .codemaster-copy h2::after,
  .closing h2::after {
    height: 3px;
  }

  .selector-surface {
    gap: 20px;
  }

  .ranking-carousel {
    display: block;
  }

  .ranking-control {
    display: none;
  }

  .ranking-track {
    grid-auto-columns: minmax(82%, 1fr);
    gap: 14px;
    padding-bottom: 16px;
  }

  .ranking-card {
    min-height: 380px;
  }

  .ranking-card-body {
    padding: 18px;
  }

  .month-grid {
    gap: 10px;
  }

  .month-card {
    min-height: 104px;
    padding: 14px;
  }

  .day-panel {
    padding: 18px 14px;
  }

  .feature-list {
    margin: 28px 0 30px;
  }

  .coconala-card {
    width: 100%;
  }

  .codemaster-symbol {
    display: none;
  }

  .hero-about {
    margin-top: 34px;
    padding-top: 36px;
  }

  .hero-about-logo {
    width: min(86vw, 330px);
    max-height: 72px;
  }

  .hero-about-kicker {
    margin: 26px 0 24px;
    font-size: clamp(1.82rem, 9vw, 2.5rem);
  }

  .hero-about-text {
    font-size: clamp(1.08rem, 5vw, 1.34rem);
    line-height: 1.9;
  }
}
