@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

:root {
  --red: #FF2E63;
  --ink: #0E0E12;
  --cream: #F7F1E8;
  --glass: rgba(247, 241, 232, 0.06);
  --line: rgba(247, 241, 232, 0.14);
  --muted: rgba(247, 241, 232, 0.7);
  --r: 10px;
  --pad: clamp(16px, 4vw, 56px);
}

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

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

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--cream);
  background-color: var(--ink);
  background-image: radial-gradient(circle at 1px 1px, rgba(247, 241, 232, 0.085) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .brand, .foot-logo, .side-title, footer dt {
  font-family: 'Lexend Mega', 'Public Sans', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 99;
  transform: translateY(-180%);
  background: var(--red);
  color: #14070c;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { transform: none; }

.topwrap {
  position: sticky;
  top: 0;
  z-index: 70;
}

.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px var(--pad);
  background: rgba(14, 14, 18, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-dot {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 46, 99, 0.18);
}

.top-nav { margin-left: auto; min-width: 0; }
.top-nav p { display: flex; gap: 2px; margin: 0; }

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.top-nav a:hover { color: var(--cream); background: var(--glass); }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r);
  background: var(--red);
  color: #14070c;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255, 46, 99, 0.32); }

.rail {
  background: rgba(14, 14, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.rail-in {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px var(--pad);
}
.rail-now {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
.rail-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(247, 241, 232, 0.14);
  overflow: hidden;
}
.rail-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.12s linear;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  min-height: 70vh;
  padding: clamp(40px, 8vh, 96px) var(--pad) clamp(40px, 7vh, 88px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  perspective: 1px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.grid-dots {
  position: absolute;
  inset: -10% -5%;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 46, 99, 0.34) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 10%, transparent 78%);
}

.layer {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.l1 {
  width: 46vw;
  height: 46vw;
  right: -8vw;
  top: -10vw;
  background: radial-gradient(circle at 40% 40%, rgba(255, 46, 99, 0.5), rgba(255, 46, 99, 0) 68%);
  filter: blur(6px);
}
.l2 {
  width: 30vw;
  height: 30vw;
  left: 24vw;
  bottom: -14vw;
  background: radial-gradient(circle at 50% 50%, rgba(247, 241, 232, 0.22), rgba(247, 241, 232, 0) 70%);
}

.hero-copy { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2rem, 6.6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  font-size: 16px;
  color: var(--muted);
}
.cue::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.collage {
  position: relative;
  z-index: 2;
  height: clamp(280px, 46vh, 460px);
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  will-change: transform;
}
.shot-a { width: 62%; aspect-ratio: 3 / 4; top: 0; left: 0; z-index: 2; }
.shot-b { width: 54%; aspect-ratio: 1 / 1; bottom: 0; right: 0; z-index: 1; }
.shot-img { width: 100%; height: 100%; object-fit: cover; }

.orb-a { background: radial-gradient(circle at 32% 28%, var(--red), #6c0d26 74%); }
.orb-b {
  background: radial-gradient(circle at 62% 42%, #F7F1E8, var(--red) 82%);
  mix-blend-mode: screen;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  align-items: start;
  gap: clamp(20px, 3.5vw, 44px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--pad) clamp(46px, 8vw, 96px);
}

article { min-width: 0; }

article > section {
  position: relative;
  margin-bottom: clamp(18px, 2.6vw, 28px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  scroll-margin-top: 128px;
}

article > section:last-child { margin-bottom: 0; }

.lede {
  border-left: 3px solid var(--red);
  background: linear-gradient(120deg, rgba(255, 46, 99, 0.13), rgba(247, 241, 232, 0.05) 62%);
}

.lede h2 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); }

.subtitle {
  margin: 12px 0 0;
  font-size: 17px;
  color: var(--muted);
}

article h2 {
  font-size: clamp(1.35rem, 3.1vw, 2rem);
  margin-bottom: 12px;
}

article h3 {
  font-size: 19px;
  margin: 22px 0 10px;
  color: var(--red);
}

article p, article li { color: rgba(247, 241, 232, 0.88); }
article ul, article ol { padding-left: 1.2em; }
article li { margin-bottom: 0.5em; }

article a {
  color: var(--red);
  text-underline-offset: 3px;
}

article blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--line);
  color: var(--muted);
}

article strong { color: var(--cream); }

article img { border-radius: var(--r); margin: 16px 0; }

article table { width: 100%; border-collapse: collapse; font-size: 16px; }
article th, article td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }

.side {
  position: sticky;
  top: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.side-title {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.side-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.side-list a:hover {
  color: var(--cream);
  background: rgba(255, 46, 99, 0.13);
  border-left-color: var(--red);
}

footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 10, 0.72);
  padding: clamp(30px, 5vw, 56px) var(--pad) clamp(16px, 3vw, 24px);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  max-width: 1280px;
  margin: 0 auto;
}

.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 17px;
  text-decoration: none;
}

footer dl { margin: 0; }
footer dt {
  font-size: 16px;
  color: var(--red);
  margin-bottom: 6px;
}
footer dd { margin: 0; }
footer dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  text-decoration: none;
  color: var(--muted);
}
footer dd a:hover { color: var(--cream); text-decoration: underline; }

.copy {
  max-width: 1280px;
  margin: clamp(20px, 3vw, 30px) auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: rgba(247, 241, 232, 0.55);
}

.js-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.js-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  main { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: -1; }
  .side-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 860px) {
  .top { flex-wrap: wrap; gap: 6px 12px; padding: 8px var(--pad); }
  .top-nav {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav p { white-space: nowrap; }
  .cta { margin-left: auto; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: clamp(26px, 5vh, 44px);
  }
  .collage { height: clamp(230px, 34vh, 320px); margin-top: 8px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.6rem); }
  article > section { scroll-margin-top: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .shot, .layer { will-change: auto; }
  .cta:hover { transform: none; }
}

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