/* ============================================================
   Annkora · 官网 v2 —— 画廊·美术馆风
   暖画廊白 / 墨色 / 朱砂印 / 展签排版 / 发丝线
   ============================================================ */

:root {
  --paper: #faf8f3;
  --paper-2: #f2ede1;
  --ink: #1c1915;
  --ink-soft: #4f4a43;
  --stone: #8a8378;
  --line: #e2dbcc;
  --line-strong: #cfc6b2;
  --seal: #a23e2e;
  --seal-soft: rgba(162, 62, 46, 0.08);
  --white: #ffffff;

  --font-display: "Fraunces", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Outfit", "Noto Sans SC", "PingFang SC", -apple-system, sans-serif;

  --w-content: 1180px;
  --header-h: 76px;
  --shadow-soft: 0 24px 60px -30px rgba(28, 25, 21, 0.28);
  --radius: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(162, 62, 46, 0.18); }

a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--seal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------------- 头部 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.88);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(162, 62, 46, 0.25);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 21px;
  letter-spacing: 0.34em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--seal);
  transition: right 0.25s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-toggle:hover {
  border-color: var(--seal);
  color: var(--seal);
  background: var(--seal-soft);
}
.lang-toggle--mobile { display: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle-box,
.menu-toggle-box::before,
.menu-toggle-box::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-toggle-box { top: 20px; }
.menu-toggle-box::before { top: -6px; left: 0; }
.menu-toggle-box::after { top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-box::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.hero {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 72px 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--stone);
}

.seal-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--seal);
  display: inline-block;
  transform: rotate(-6deg);
}

.hero-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.hero-sub {
  margin: 0 0 36px;
  max-width: 44ch;
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.22s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 30px -14px rgba(28, 25, 21, 0.5);
}
.btn-primary:hover {
  background: var(--seal);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-figure img { width: 100%; }

/* ---------------- 通用区块 ---------------- */
.section {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 96px 28px 88px;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.section--alt {
  max-width: none;
  background: var(--paper-2);
}
.section--alt > * { max-width: var(--w-content); margin-left: auto; margin-right: auto; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: baseline;
  margin-bottom: 56px;
}

.section-no {
  grid-row: 1 / span 2;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 460;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--seal);
  border-top: 2px solid var(--seal);
  padding-top: 10px;
  min-width: 56px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.2;
}

.section-en {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.section-sub {
  grid-column: 2;
  margin: 18px 0 0;
  max-width: 62ch;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------------- No.01 沙龙墙 ---------------- */
.salon {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 44px 40px;
}

.exhibit { margin: 0; display: flex; flex-direction: column; }

.exhibit--a { grid-column: 1 / span 7; }
.exhibit--b { grid-column: 8 / span 5; transform: translateY(28px); }
.exhibit--c { grid-column: 1 / span 5; }
.exhibit--d { grid-column: 7 / span 6; transform: translateY(-16px); }

.exhibit-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f6f1e7;
  box-shadow: var(--shadow-soft);
}
.exhibit-img img { width: 100%; }

/* 展签 */
.wall-label {
  margin-top: 22px;
  padding: 18px 2px 0;
  border-top: 1px solid var(--line-strong);
}

.label-row1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
  flex-wrap: wrap;
}

.label-size {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: var(--ink);
  padding: 4px 12px;
  border-radius: 3px;
  white-space: nowrap;
}

.label-role {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--seal);
}

.label-artwork {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 460;
  font-size: 24px;
  line-height: 1.3;
}

.label-artist {
  margin: 0 0 10px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--stone);
}

.label-desc {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* 共性参数条 */
.specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  margin: 84px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.specs li {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.specs li::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--seal);
  opacity: 0.6;
}
.specs li:last-child::after { display: none; }

/* ---------------- No.02 场景 ---------------- */
.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.scene-card { margin: 0; }

.scene-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f6f1e7;
  box-shadow: var(--shadow-soft);
}
.scene-img img { width: 100%; }

.scene-card figcaption {
  padding: 22px 4px 0;
  border-top: 1px solid var(--line-strong);
  margin-top: 20px;
}

.scene-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
}

.scene-card figcaption p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------------- No.03 AI 灵感 ---------------- */
.ai-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "frame b c" "frame d d";
  gap: 40px;
}

.ai-card { margin: 0; }

.ai-card--frame { grid-area: frame; }

.ai-card--frame .ai-img {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.ai-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f6f1e7;
  box-shadow: var(--shadow-soft);
}
.ai-img img { width: 100%; }

.ai-card figcaption {
  margin-top: 18px;
  padding: 14px 2px 0;
  border-top: 1px solid var(--line-strong);
}

.ai-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
}

.ai-card figcaption p {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.ai-card--frame figcaption p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.ai-note {
  margin: 56px 0 0;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.ai-note::before { content: "※ "; color: var(--seal); }

/* ---------------- No.04 关于 ---------------- */
.section--quote { text-align: center; }

.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.section-heading--center { text-align: center; }

.about-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.about-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(162, 62, 46, 0.28);
}

.about-quote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.5;
}
.about-quote::before { content: "「"; color: var(--seal); }
.about-quote::after { content: "」"; color: var(--seal); }
html[lang="en"] .about-quote::before { content: "“"; }
html[lang="en"] .about-quote::after { content: "”"; }

.about-text {
  margin: 0 auto;
  max-width: 58ch;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #201c17;
  color: #e9e2d3;
}

.footer-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark { border-radius: 10px; }

.footer-word {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 18px;
  letter-spacing: 0.32em;
}

.footer-tagline {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #a89f8c;
}

.footer-legal {
  text-align: right;
  font-size: 13.5px;
  font-weight: 300;
  color: #b3a996;
}

.footer-legal p { margin: 0 0 8px; }
.footer-legal p:last-child { margin: 0; }

.footer-legal a {
  color: #b3a996;
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 169, 150, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-legal a:hover {
  color: #f0e8d5;
  border-color: #d98a5f;
}

/* ---------------- 入场动效 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .site-nav a::after { transition: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 52px;
  }
  .hero-sub { max-width: 56ch; }

  .salon { gap: 40px 28px; }
  .exhibit--a, .exhibit--b, .exhibit--c, .exhibit--d {
    grid-column: 1 / -1;
    transform: none;
  }

  .ai-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "frame frame" "b c" "d d";
  }
  .ai-card--frame .ai-img { position: static; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }

  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px;
    display: none;
    box-shadow: 0 24px 40px -28px rgba(28, 25, 21, 0.3);
  }
  .site-nav.nav-open { display: flex; }
  .site-nav a {
    padding: 13px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-of-type { border-bottom: none; }
  .lang-toggle--mobile {
    display: inline-block;
    align-self: flex-start;
    margin-top: 10px;
  }
  .header-actions .lang-toggle { display: none; }

  .section { padding: 68px 22px 60px; }
  .section-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .section-no { grid-row: auto; }
  .section-sub { grid-column: 1; }

  .scenes { grid-template-columns: 1fr; gap: 44px; }

  .ai-gallery {
    grid-template-columns: 1fr;
    grid-template-areas: "frame" "b" "c" "d";
  }

  .specs { gap: 12px 0; }
  .specs li { gap: 20px; }

  .footer-inner { flex-direction: column; }
  .footer-legal { text-align: left; }
}

@media (max-width: 480px) {
  .brand-word { letter-spacing: 0.22em; font-size: 18px; }
  .hero { padding: 40px 20px 24px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .label-artwork { font-size: 21px; }
}
