:root {
  --paper: #f4efe4;
  --paper-2: #fffdf8;
  --ink: #1c2430;
  --muted: #5e6874;
  --line: #e3d9c6;
  --blue: #1a5fbf;
  --blue-deep: #0e3f86;
  --foam: #e7f0fb;
  --sand: #c9844a;
  --shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, #d9e8fb 0%, transparent 60%),
    linear-gradient(180deg, #f7f3ea 0%, var(--paper) 280px);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-deep); }
a:hover { color: var(--sand); }

.sticky-stack {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
  padding: 10px 6vw;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 180px;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.brand strong {
  display: block;
  font-family: Palatino, "Palatino Linotype", "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.nav-btn {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-btn span,
.nav-btn span::before,
.nav-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
}
.nav-btn span::before,
.nav-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-btn span::before { top: -6px; }
.nav-btn span::after { top: 6px; }
.nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav a[aria-current="page"],
.nav a:hover {
  background: var(--foam);
  border-color: #c9daf3;
  color: var(--blue-deep);
}
.ad-slot { min-height: 96px; }
.ad-slot.is-off { display: none; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  padding: 42px 0 10px;
}
.kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--foam);
  color: var(--blue-deep);
  font-size: 13px;
  letter-spacing: 0.08em;
}
h1, h2, h3 {
  font-family: Palatino, "Palatino Linotype", "Songti SC", serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 14px; }
h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 42px 0 12px;
  padding-top: 8px;
}
h3 { font-size: 20px; margin: 22px 0 8px; }
.lead { font-size: 18px; color: #2a3340; }
.note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 15px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin: 18px 0 8px;
}
figure {
  margin: 0;
}
figure img {
  width: 100%;
  border-radius: 16px;
  display: block;
}
figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.page-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 22px 22px;
  box-shadow: var(--shadow);
  margin: 28px 0 40px;
}
.status {
  font-family: Palatino, "Palatino Linotype", serif;
  font-size: 64px;
  margin: 12px 0 0;
  color: var(--blue);
  line-height: 1;
}
.footer {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer a { margin-right: 12px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar {
    position: relative;
    flex-direction: row;
    align-items: center;
    padding: 10px 16px;
  }
  .nav-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 8px 12px 12px;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
    z-index: 50;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 10px 12px; }
  .wrap { width: min(100% - 24px, 1080px); }
  .hero { padding-top: 28px; }
  h1 { font-size: 30px; }
}
