:root {
  --ink: #17171a;
  --paper: #f5f7f8;
  --white: #ffffff;
  --wine: #a51c30;
  --wine-dark: #741122;
  --lime: #c8f24a;
  --blue: #2155d9;
  --muted: #62666d;
  --line: #cdd2d5;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.nav-shell {
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 20px;
  font-weight: 850;
  text-transform: lowercase;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 7px 0 5px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: var(--wine);
}

.download-link {
  display: inline-flex;
  min-width: 118px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--lime);
  color: var(--ink);
  font-weight: 850;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-link:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.download-link.dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--wine);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.hero-grid {
  width: min(1440px, 100%);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 92px minmax(290px, 0.78fr) minmax(520px, 1.22fr) 176px;
  align-items: stretch;
}

.hero-index {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 34px;
  border-right: 1px solid var(--ink);
  background: var(--wine);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.hero-copy {
  align-self: center;
  padding: 54px 34px 54px 44px;
}

.eyebrow,
.section-index,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before,
.section-index::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6.2vw, 92px);
  font-weight: 900;
}

.hero h1 .brand-mark {
  display: block;
  color: var(--wine);
  font-size: 0.66em;
}

.hero-copy > p {
  max-width: 560px;
  margin-bottom: 26px;
  color: #34363b;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.filmstrip {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid var(--ink);
  background: var(--ink);
}

.filmstrip::before,
.filmstrip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 18px, transparent 18px 30px);
}

.filmstrip::before {
  top: 18px;
}

.filmstrip::after {
  bottom: 18px;
}

.film-card {
  position: absolute;
  width: min(31%, 260px);
  margin: 0;
  border: 1px solid var(--paper);
  background: var(--white);
  box-shadow: 10px 12px 0 rgba(165, 28, 48, 0.88);
}

.film-card img {
  width: 100%;
  max-width: 374px;
}

.film-card:nth-child(1) {
  left: 7%;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
}

.film-card:nth-child(2) {
  z-index: 1;
  width: min(36%, 284px);
  top: 50%;
  transform: translateY(-50%);
}

.film-card:nth-child(3) {
  right: 6%;
  top: 50%;
  transform: translateY(-50%) rotate(4deg);
}

.hero-dock {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 22px;
  border-left: 1px solid var(--ink);
  background: var(--blue);
  color: var(--white);
}

.dock-number {
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.dock-copy {
  font-size: 13px;
  font-weight: 700;
}

.next-hint {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--ink);
  background: var(--lime);
  font-size: 13px;
  font-weight: 850;
}

.section {
  border-bottom: 1px solid var(--ink);
}

.section-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
}

.gallery-band {
  background: var(--paper);
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.shot {
  min-width: 0;
  margin: 0;
  padding: 26px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.shot-frame {
  height: 460px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8ebed;
}

.shot-frame img {
  width: min(100%, 258px);
  max-width: 374px;
}

.shot figcaption {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding-top: 18px;
  font-size: 14px;
}

.shot figcaption strong {
  color: var(--wine);
  font-size: 18px;
}

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

.feature-band .section-index {
  color: var(--lime);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.feature-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.feature-item .feature-no {
  display: block;
  margin-bottom: 58px;
  color: var(--lime);
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.feature-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.route-intro {
  position: sticky;
  top: 106px;
}

.route-intro h2 {
  margin-bottom: 22px;
}

.route-list {
  border-top: 1px solid var(--ink);
}

.route-step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
}

.route-step strong {
  color: var(--blue);
  font-size: 24px;
}

.route-step h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.route-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.deep-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.deep-link {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.deep-link:nth-child(2) {
  background: var(--blue);
  color: var(--white);
}

.deep-link h3 {
  max-width: 450px;
  font-size: 28px;
}

.deep-link span {
  font-weight: 850;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  position: relative;
  padding: 24px 58px 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--lime);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 860px;
  padding: 0 58px 24px 0;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cta-band {
  background: var(--lime);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}

.cta-grid h2 {
  margin-bottom: 12px;
}

.cta-copy p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.footer-inner {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0;
  text-align: center;
}

.footer-brand {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 900;
}

.disclaimer,
.copyright {
  margin: 0 auto 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-align: center;
}

.inner-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: 60px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0;
}

.inner-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 900;
}

.inner-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.inner-hero-visual {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--wine);
  box-shadow: 12px 12px 0 var(--lime);
}

.inner-hero-visual img {
  width: min(58%, 220px);
  max-width: 374px;
  transform: translateY(86px);
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 72px;
}

.article-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  border-top: 3px solid var(--wine);
}

.article-nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

.article-content section {
  padding: 0 0 54px;
  scroll-margin-top: 96px;
}

.article-content section + section {
  padding-top: 54px;
  border-top: 1px solid var(--ink);
}

.article-content h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3vw, 42px);
}

.article-content h3 {
  margin: 28px 0 12px;
  font-size: 20px;
}

.article-content p,
.article-content li {
  color: #3d4147;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.note-block {
  margin: 24px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  background: #e9efff;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.check-item {
  padding: 22px;
  background: var(--white);
}

.check-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--wine);
}

.faq-page-list details {
  scroll-margin-top: 96px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 64px minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  }

  .hero-dock {
    display: none;
  }

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

  .article-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 44px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .header-download {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 24px;
    background: var(--paper);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--ink);
    font-size: 20px;
  }

  .hero {
    min-height: calc(100svh - 106px);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 30px 1fr;
  }

  .hero-index {
    grid-row: 1 / span 2;
    padding-bottom: 20px;
  }

  .hero-copy {
    padding: 34px 22px 24px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: 44px;
  }

  .hero-copy > p {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .filmstrip {
    min-height: 330px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .film-card {
    width: 132px;
  }

  .film-card:nth-child(1) {
    left: 4%;
  }

  .film-card:nth-child(2) {
    width: 150px;
  }

  .film-card:nth-child(3) {
    right: 3%;
  }

  .next-hint {
    min-height: 42px;
  }

  .section-inner {
    width: min(100% - 34px, 680px);
    padding: 66px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 28px;
  }

  .contact-sheet,
  .feature-grid,
  .route-grid,
  .deep-links,
  .cta-grid,
  .inner-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .shot-frame {
    height: 390px;
  }

  .feature-item {
    min-height: 220px;
  }

  .feature-item .feature-no {
    margin-bottom: 34px;
  }

  .route-grid {
    gap: 34px;
  }

  .route-intro,
  .article-nav {
    position: static;
  }

  .inner-hero {
    min-height: auto;
    gap: 36px;
    width: min(100% - 34px, 680px);
    padding: 34px 0 44px;
  }

  .inner-hero-visual {
    min-height: 210px;
  }

  .inner-hero-visual img {
    width: 150px;
    transform: translateY(58px);
  }

  .article-nav {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    border-top-width: 1px;
    white-space: nowrap;
  }

  .article-nav a {
    flex: 0 0 auto;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .download-link {
    flex: 1 0 100%;
  }

  .film-card:nth-child(1) {
    left: -8px;
  }

  .film-card:nth-child(3) {
    right: -8px;
  }

  .section h2 {
    font-size: 34px;
  }

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

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

  .feature-item .feature-no {
    margin-bottom: 22px;
  }

  .route-step {
    grid-template-columns: 48px 1fr;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .cta-grid .download-link {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
