@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --ink: #111114;
  --ink-2: #17171b;
  --pink: #FF4D7E;
  --paper: #F3F1EC;
  --line: rgba(243, 241, 236, 0.12);
  --line-soft: rgba(243, 241, 236, 0.07);
  --dim: rgba(243, 241, 236, 0.62);
  --pad: clamp(20px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'DM Sans', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h2 > span {
  position: relative;
  display: inline-block;
  padding-left: 15px;
}

h2 > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.14em;
  bottom: 0.14em;
  width: 5px;
  background: var(--pink);
}

/* ---------- top bar ---------- */

.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(17, 17, 20, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.ticker {
  overflow: hidden;
  background: var(--pink);
  color: var(--ink);
  border-bottom: 1px solid rgba(17, 17, 20, 0.3);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-run 26s linear infinite;
}

.ticker-track span {
  display: block;
  padding: 5px 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

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

.brand-row {
  padding: 10px var(--pad);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.brand-word {
  position: relative;
}

.brand-word::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 7px;
  background: var(--pink);
  opacity: 0.55;
  z-index: -1;
}

.menu-row {
  padding: 0 calc(var(--pad) - 12px);
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.menu-group {
  position: relative;
}

.menu a,
.menu summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.menu summary {
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary span {
  padding-right: 16px;
  position: relative;
}

.menu summary span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.dropdown[open] summary span::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.menu-solo a:hover,
.menu-group summary:hover {
  color: var(--pink);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 26px 44px -18px rgba(0, 0, 0, 0.85);
}

.dropdown-list a {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.dropdown-list a:hover {
  background: rgba(255, 77, 126, 0.12);
  color: var(--pink);
}

/* ---------- stage / grid ---------- */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad) 64px;
}

/* ---------- hero ---------- */

.hero {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 138px);
  padding: 26px 0 0;
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  color: var(--pink);
  font-weight: 700;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 11vw, 6.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-shadow:
    3px 3px 0 rgba(255, 77, 126, 0.5),
    -3px -3px 0 rgba(255, 77, 126, 0.22);
}

.hero-title .ch {
  display: inline-block;
  animation: ch-in 0.72s cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.hero-title .ch:nth-child(even) {
  margin-top: 0.12em;
}

.hero-title .ch:nth-child(3n) {
  color: var(--pink);
  text-shadow: none;
}

@keyframes ch-in {
  from {
    opacity: 0;
    transform: translateY(0.42em) rotate(-5deg);
  }
}

.hero-media {
  margin-top: auto;
  padding-top: 34px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
}

/* ---------- div ---------- */

.doc {
  grid-column: 1;
  min-width: 0;
  padding-top: 34px;
}

.doc article {
  padding: 40px 0 6px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 152px;
}

.doc article:first-child {
  border-top: 0;
  padding-top: 0;
}

.doc h2 {
  margin: 1.9em 0 0.6em;
  font-size: clamp(1.42rem, 3.4vw, 2rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.doc h3 {
  margin: 1.7em 0 0.5em;
  font-size: 1.16rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.doc article > h2:first-child,
.doc article > h3:first-child {
  margin-top: 0;
}

.doc p {
  margin: 1.05em 0;
  color: rgba(243, 241, 236, 0.9);
}

.doc a {
  color: var(--pink);
  text-underline-offset: 3px;
}

.doc ul,
.doc ol {
  margin: 1.1em 0;
  padding-left: 1.35em;
}

.doc li {
  margin: 0.42em 0;
}

.doc blockquote {
  margin: 1.7em 0;
  padding: 6px 0 6px 18px;
  border-left: 3px solid var(--pink);
  color: rgba(243, 241, 236, 0.82);
}

.doc blockquote p {
  margin: 0.4em 0;
}

.doc img {
  margin: 1.7em 0;
  box-shadow: 0 26px 48px -22px rgba(0, 0, 0, 0.9);
}

.doc strong {
  color: #fff;
  font-weight: 700;
}

.doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.94rem;
}

.doc th,
.doc td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.doc th {
  background: rgba(255, 77, 126, 0.1);
  color: var(--pink);
}

/* ---------- rail ---------- */

.rail {
  grid-column: 1;
  margin-top: 40px;
  padding: 20px;
  background: var(--ink-2);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.95);
}

.rail h2 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--pink);
}

.rail h2 > span {
  padding-left: 13px;
}

.rail h2 > span::before {
  width: 4px;
}

.rail-list {
  list-style: none;
  counter-reset: rail;
  margin: 0;
  padding: 0;
}

.rail-list li {
  counter-increment: rail;
}

.rail-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.92rem;
  border-top: 1px solid var(--line-soft);
  color: rgba(243, 241, 236, 0.88);
}

.rail-list a::before {
  content: counter(rail, decimal-leading-zero);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--pink);
  min-width: 20px;
}

.rail-list a:hover,
.rail-list li.is-hot a {
  color: var(--pink);
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: #0c0c0f;
  padding: 44px var(--pad) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.f-brand {
  margin: 0;
  font-size: clamp(1.9rem, 7vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.f-brand > span {
  padding-left: 0.24em;
}

.f-brand > span::before {
  width: 0.1em;
  top: 0.1em;
  bottom: 0.1em;
}

.f-nav h2 {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--pink);
}

.f-nav dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  margin: 0;
}

.f-nav dt,
.f-nav dd {
  margin: 0;
}

.f-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.88rem;
  text-decoration: none;
  color: rgba(243, 241, 236, 0.82);
  border-top: 1px solid var(--line-soft);
}

.f-nav a:hover {
  color: var(--pink);
}

.f-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--dim);
}

.f-legal p {
  margin: 0;
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: var(--pink);
  font-weight: 500;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.68s ease, transform 0.68s cubic-bezier(0.2, 0.7, 0.25, 1);
}

/* ---------- desktop ---------- */

@media (min-width: 920px) {
  .stage {
    grid-template-columns: minmax(0, 1fr) 252px;
    column-gap: 56px;
    align-items: start;
  }

  .hero-title {
    font-size: clamp(3rem, 6.4vw, 6rem);
    max-width: 15em;
  }

  .doc {
    padding-top: 48px;
  }

  .rail {
    grid-column: 2;
    grid-row: 2;
    margin-top: 48px;
    position: sticky;
    top: 156px;
  }

  .site-foot {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: start;
    gap: 32px;
    padding-top: 54px;
  }

  .f-brand {
    grid-column: 1;
  }

  .f-nav {
    grid-column: 2 / 4;
  }

  .f-legal {
    grid-column: 4;
    text-align: right;
    align-items: flex-end;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: clamp(3.4rem, 6vw, 6.6rem);
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-title .ch {
    animation: none;
  }

  .ticker-track {
    animation: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
