﻿:root {
  --paper: #fbf1e0;
  --paper-2: #f4e5cd;
  --paper-3: #efdcbe;
  --ink: #2c1a0e;
  --muted: #7d6551;
  --orange: #e8631a;
  --green: #4f7a3c;
  --line: rgba(44, 26, 14, 0.16);
  --serif: Georgia, "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.shell {
  width: min(1140px, calc(100% - 52px));
  margin: 0 auto;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Masthead */
.masthead {
  padding-top: 26px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.masthead-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
}

.issue {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.issue-right {
  text-align: right;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(44, 26, 14, 0.18);
}

.logo span {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

.edition-nav {
  display: flex;
  justify-content: center;
  gap: 54px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.edition-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.edition-nav a span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--orange);
}

.edition-nav a:hover,
.edition-nav a.is-current {
  color: var(--ink);
}

.edition-nav a.is-current span {
  background: var(--orange);
  color: #fff8ee;
  padding: 1px 4px;
}

/* Cover story */
.cover-story {
  padding: 62px 0 0;
  background:
    radial-gradient(70% 60% at 82% 8%, rgba(232, 99, 26, 0.09), transparent 60%),
    var(--paper);
}

.cover-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}

.cover-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.1;
}

.accent {
  color: var(--orange);
  font-style: italic;
}

.intro {
  max-width: 32em;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.95;
}

.byline {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pill:not([hidden]):hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.pill-solid {
  background: var(--ink);
  color: var(--paper);
}

.pill-solid:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pill-quiet {
  border-color: var(--line);
  color: var(--muted);
}

.cover-figure {
  position: relative;
  padding-top: 10px;
}

.figure-frame {
  background: #fffdf7;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 50px rgba(44, 26, 14, 0.16);
  transform: rotate(-1.6deg);
}

.figure-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

.cover-figure figcaption {
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.figure-mark {
  position: absolute;
  top: -14px;
  right: -8px;
  padding: 6px 12px;
  background: var(--orange);
  color: #fff8ee;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  transform: rotate(3deg);
  box-shadow: 0 8px 18px rgba(232, 99, 26, 0.3);
}

.cover-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 52px;
  padding: 18px 0;
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--line);
}

.cover-foot > p {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cover-foot li {
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--muted);
}

/* Section title */
.section-title {
  margin-bottom: 38px;
}

.section-title h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.section-desc {
  max-width: 44em;
  font-size: 0.94rem;
  color: var(--muted);
}

.section-title-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: end;
}

/* Lineup */
.lineup {
  padding: 92px 0 84px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lineup-list {
  border-top: 2px solid var(--ink);
}

.lineup-item {
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  gap: 26px;
  padding: 30px 10px 28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.lineup-item:hover {
  background: rgba(232, 99, 26, 0.06);
}

.lineup-no {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--orange);
}

.lineup-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.lineup-head h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.52rem);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  color: var(--muted);
}

.lineup-desc {
  max-width: 56em;
  font-size: 0.94rem;
  color: #57412f;
}

.lineup-fit {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--green);
}

.lineup-arrow {
  align-self: center;
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform 0.25s ease;
}

.lineup-item:hover .lineup-arrow {
  transform: translate(3px, -3px);
}

/* Moments */
.moments {
  padding: 96px 0;
  background: var(--ink);
  color: var(--paper);
}

.moments .section-desc {
  color: rgba(251, 241, 224, 0.65);
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.moment-card {
  padding: 32px 28px;
  background: var(--paper);
  color: var(--ink);
}

.moment-card-alt {
  background: var(--orange);
  color: #fff8ee;
}

.moment-time {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.moment-card-alt .moment-time {
  color: #fff8ee;
}

.moment-card h3 {
  margin: 16px 0 10px;
  font-size: 1.3rem;
}

.moment-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #57412f;
}

.moment-card-alt p {
  color: rgba(255, 248, 238, 0.85);
}

.moment-tag {
  display: inline-block;
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.moment-card-alt .moment-tag {
  border-top-color: rgba(255, 248, 238, 0.35);
  color: rgba(255, 248, 238, 0.8);
}

/* Toolbox */
.toolbox {
  padding: 100px 0;
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 46px;
}

.tool-photo {
  border: 1px solid var(--line);
  background: #fffdf7;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(44, 26, 14, 0.1);
}

.tool-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
}

.tool-text {
  padding: 24px 4px 0;
}

.tool-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
}

.tool-text h3 {
  margin: 8px 0 10px;
  font-size: 1.5rem;
}

.tool-text p {
  font-size: 0.92rem;
  color: var(--muted);
}

.tool-feature-reverse {
  margin-top: 54px;
}

/* Editor note */
.editor-note {
  padding: 96px 0;
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.note-quote {
  padding-left: 24px;
  border-left: 3px solid var(--orange);
}

.note-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.5;
}

.note-quote footer {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.note-figure {
  margin-top: 38px;
}

.note-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border: 6px solid #fffdf7;
  box-shadow: 0 20px 40px rgba(44, 26, 14, 0.16);
  transform: rotate(1.4deg);
}

.note-figure figcaption {
  margin-top: 16px;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

.note-body h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.note-body p {
  font-size: 0.96rem;
  color: #57412f;
}

.note-list {
  margin-top: 24px;
}

.note-list li {
  padding: 11px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.note-list li::before {
  content: "—";
  margin-right: 10px;
  color: var(--orange);
}

/* Download */
.download {
  padding: 96px 0 88px;
  background: var(--ink);
  color: var(--paper);
}

.download-inner {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: start;
}

.download-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.download-copy p {
  max-width: 26em;
  font-size: 0.92rem;
  color: rgba(251, 241, 224, 0.66);
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-item:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(251, 241, 224, 0.22);
  border-radius: 4px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.download-item:not([hidden]):hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateX(4px);
}

.dl-no {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--orange);
}

.dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-text strong {
  font-size: 1rem;
}

.dl-text small {
  font-size: 0.74rem;
  color: rgba(251, 241, 224, 0.55);
}

.download-item:not([hidden]):hover .dl-text small {
  color: var(--muted);
}

.dl-go {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--orange);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid rgba(251, 241, 224, 0.2);
}

.steps span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.steps h3 {
  margin: 8px 0 8px;
  font-size: 1.16rem;
}

.steps p {
  font-size: 0.84rem;
  color: rgba(251, 241, 224, 0.6);
}

/* Footer */
.site-footer {
  padding: 46px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

.footer-brand p {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  gap: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}

/* Entrance */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cover-copy > * {
  animation: fade-up 0.85s ease both;
}

.cover-copy > :nth-child(2) { animation-delay: 0.08s; }
.cover-copy > :nth-child(3) { animation-delay: 0.16s; }
.cover-copy > :nth-child(4) { animation-delay: 0.24s; }
.cover-copy > :nth-child(5) { animation-delay: 0.32s; }

.cover-figure {
  animation: fade-up 0.95s ease 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cover-copy > *,
  .cover-figure {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .cover-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .cover-figure {
    max-width: 480px;
    margin: 0 auto;
  }

  .figure-frame img {
    height: 440px;
  }

  .section-title-split {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .download-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .note-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .note-figure {
    margin-top: 28px;
  }
}

@media (max-width: 860px) {
  .edition-nav {
    gap: 28px;
    flex-wrap: wrap;
  }

  .moment-grid {
    grid-template-columns: 1fr;
  }

  .toolbox-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .tool-feature-reverse {
    margin-top: 0;
  }

  .tool-photo img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 34px);
  }

  .masthead {
    padding-top: 18px;
  }

  .masthead-top {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-bottom: 16px;
  }

  .issue-right {
    display: none;
  }

  .logo {
    flex-direction: row;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    gap: 10px;
  }

  .logo img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .logo span {
    font-size: 1.18rem;
    letter-spacing: 0.18em;
  }

  .issue {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: left;
  }

  .edition-nav {
    justify-content: flex-start;
    gap: 18px;
    padding: 13px 0;
    font-size: 0.8rem;
  }

  .edition-nav a {
    gap: 6px;
  }

  .cover-story {
    padding-top: 42px;
  }

  .cover-copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .figure-frame img {
    height: 360px;
  }

  .figure-mark {
    right: 0;
    top: -12px;
  }

  .cover-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 38px;
  }

  .lineup,
  .moments,
  .toolbox,
  .editor-note,
  .download {
    padding-top: 68px;
    padding-bottom: 64px;
  }

  .lineup-item {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 24px 4px;
  }

  .lineup-no {
    font-size: 1.4rem;
  }

  .lineup-arrow {
    display: none;
  }

  .lineup-head {
    gap: 8px;
  }

  .moment-card {
    padding: 26px 22px;
  }

  .tool-photo img {
    height: 300px;
  }

  .note-quote p {
    font-size: 1.4rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 46px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
