/* ==========================================================================
   文化恒 WENHUAHENG — design system
   Paper, ink, cinnabar, jade. Built for reading, not for decoration.
   ========================================================================== */

:root {
  --paper: #f7f1e3;
  --paper-2: #efe6d2;
  --paper-3: #e6dac0;
  --ink: #1b1a17;
  --ink-soft: #4b463c;
  --muted: #6f6656;
  --cinnabar: #b5352a;
  --cinnabar-dark: #8f281f;
  --jade: #2c6e63;
  --jade-soft: #dfe9e2;
  --gold: #7f6227;
  --line: rgba(27, 26, 23, 0.14);
  --line-strong: rgba(27, 26, 23, 0.26);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --latin: "Avenir Next", "Futura", "Gill Sans", "Optima", sans-serif;
  --shadow-card: 0 30px 70px -40px rgba(27, 26, 23, 0.55);
  --shadow-soft: 0 18px 40px -28px rgba(27, 26, 23, 0.45);
  --radius: 10px;
  --wrap: 1200px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(181, 53, 42, 0.045), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(44, 110, 99, 0.05), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(169, 134, 63, 0.06), transparent 55%);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fine paper grain, no image request. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; }

a { color: inherit; text-decoration-color: rgba(181, 53, 42, 0.35); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--cinnabar); }

::selection { background: var(--cinnabar); color: #fdf6e8; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}

.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--flush-top { padding-top: 0; }
.section--paper2 { background: linear-gradient(180deg, rgba(239, 230, 210, 0) 0%, var(--paper-2) 14%, var(--paper-2) 86%, rgba(239, 230, 210, 0) 100%); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Type accents
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cinnabar);
  opacity: 0.8;
}

.kicker {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head__body { max-width: 42rem; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.85rem);
  margin-top: 14px;
}
.section-head h2 em { font-style: normal; color: var(--cinnabar); }
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 38em;
}
.section-head__aside { padding-bottom: 6px; }

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--cinnabar);
  color: #fdf6e8;
}
.btn--primary:hover { background: var(--cinnabar-dark); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.45); }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: #000; }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--cinnabar);
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 241, 227, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(27, 26, 23, 0.6); }

.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex: none;
}
.brand__seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--cinnabar);
  color: #fbf0d8;
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 16px -10px rgba(143, 40, 31, 0.9);
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.1;
}
.brand__latin {
  font-family: var(--latin);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
.nav a {
  position: relative;
  padding-block: 6px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-only-mobile { display: none; }

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--latin);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.lang-toggle:hover { border-color: var(--line-strong); color: var(--ink); }
.lang-toggle__sep { opacity: 0.45; }
html[data-lang="zh"] .lang-en,
html[data-lang="en"] .lang-zh { opacity: 0.5; }
html[data-lang="zh"] .lang-zh,
html[data-lang="en"] .lang-en { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
  .nav { gap: 22px; font-size: 14px; }
  .header-cta { display: none; }
}

@media (max-width: 880px) {
  .header-inner { gap: 14px; padding-inline: 22px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 10px 22px 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px -30px rgba(27, 26, 23, 0.5);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.28s ease, visibility 0.28s;
  }
  .nav a {
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav a::after { display: none; }
  .nav.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
  }
  .nav .nav-only-mobile {
    display: block;
    color: var(--cinnabar);
    font-weight: 600;
    border-bottom: 0;
  }
  .header-cta { display: none; }
}

@media (max-width: 420px) {
  .brand__latin { display: none; }
  .brand__seal { width: 38px; height: 38px; font-size: 21px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 84px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 134, 63, 0.12), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 48px 64px;
  align-items: center;
}

.hero__copy { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.5rem);
  line-height: 1.16;
  letter-spacing: 0.005em;
  margin: 26px 0 0;
}
.hero h1 .line { display: block; }
.hero h1 .line:last-child {
  color: var(--cinnabar);
  position: relative;
  width: fit-content;
}
.hero h1 .line:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.1em;
  background: currentColor;
  opacity: 0.16;
  border-radius: 2px;
}

.hero__sub {
  margin-top: 26px;
  max-width: 33em;
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__art {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moon-gate {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(169, 134, 63, 0.55);
  background: linear-gradient(180deg, #e9ddc2 0%, #d7ddca 48%, #c6d2c3 100%);
  box-shadow: 0 40px 90px -50px rgba(27, 26, 23, 0.65), inset 0 0 60px rgba(255, 250, 235, 0.4);
}
.moon-gate::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 240, 0.45);
  pointer-events: none;
}
.moon-gate__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.moon-gate__seal {
  position: absolute;
  right: 18%;
  top: 15%;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(46, 51, 40, 0.55);
}

.poster.hero-poster {
  position: absolute;
  left: -14px;
  bottom: 8px;
  width: 200px;
  transform: rotate(-5deg);
  z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(27, 26, 23, 0.4));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.poster.hero-poster:hover { transform: rotate(-2deg) translateY(-6px); }

.hero-note {
  position: absolute;
  z-index: 4;
  padding: 12px 16px;
  background: rgba(250, 245, 233, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(27, 26, 23, 0.12);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero-note b {
  display: block;
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-note--a { right: -6px; top: 12%; max-width: 210px; }
.hero-note--b { right: 4%; bottom: 6%; max-width: 190px; }
.hero-note__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
  margin-right: 6px;
  vertical-align: 2px;
}

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { min-height: 0; padding: 26px 0 10px; justify-content: flex-start; }
  .moon-gate { width: min(460px, 88%); margin-left: 8px; }
  .poster.hero-poster { left: 0; width: 186px; }
  .hero-note--a { right: 6%; top: 0; }
  .hero-note--b { right: 2%; bottom: 0; }
}

@media (max-width: 560px) {
  .hero { padding-block: 44px 56px; }
  .hero__sub { font-size: 16px; }
  .hero__art { padding-top: 36px; }
  .moon-gate { width: 82%; }
  .poster.hero-poster { width: 132px; left: -4px; bottom: -12px; }
  .hero-note { padding: 9px 12px; font-size: 11px; }
  .hero-note b { font-size: 13px; }
  .hero-note--a { right: 0; top: 14px; max-width: 160px; }
  .hero-note--b { display: none; }
}

/* --------------------------------------------------------------------------
   Solar terms band
   -------------------------------------------------------------------------- */

.season-band {
  border-block: 1px solid var(--line);
  background: rgba(239, 230, 210, 0.45);
  padding-block: 15px;
  overflow: hidden;
}
.season-band__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.season-band__label {
  color: var(--cinnabar);
  letter-spacing: 0.14em;
  font-size: 12px;
  flex: none;
}
.season-band__terms { overflow: hidden; text-overflow: clip; }
.season-band__terms span + span::before { content: "·"; margin-inline: 0.9em; opacity: 0.45; }

/* --------------------------------------------------------------------------
   Poster (cover art component)
   -------------------------------------------------------------------------- */

.poster {
  --p-bg: #23372f;
  --p-ink: #f2e6c8;
  --p-accent: #d9a441;
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 5px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(158deg, var(--p-bg) 0%, color-mix(in srgb, var(--p-bg) 74%, #000) 100%);
  color: var(--p-ink);
  isolation: isolate;
}
.poster::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid color-mix(in srgb, var(--p-ink) 26%, transparent);
  border-radius: 3px;
  z-index: 3;
  pointer-events: none;
}
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)' opacity='.08'/%3E%3C/svg%3E");
}
.poster__art {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -4%;
  width: 108%;
  height: 66%;
  color: var(--p-ink);
  opacity: 0.34;
  z-index: 1;
}
.poster__title {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 26px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}
.poster__sub {
  position: absolute;
  z-index: 2;
  left: 26px;
  top: 140px;
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.78;
}
.poster__seal {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--p-accent);
  color: rgba(20, 18, 14, 0.85);
  font-family: var(--serif);
  font-size: 17px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.poster__tag {
  position: absolute;
  z-index: 2;
  right: 22px;
  top: 24px;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--p-ink) 40%, transparent);
  border-radius: 999px;
  opacity: 0.8;
}
.poster--light { box-shadow: inset 0 0 0 1px rgba(27, 26, 23, 0.08); }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pillar {
  position: relative;
  padding: 28px 26px 24px;
  background: rgba(252, 248, 238, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pillar:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 53, 42, 0.32);
  background: rgba(252, 248, 238, 0.9);
  box-shadow: var(--shadow-soft);
}
.pillar__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pillar__no {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.pillar__icon { width: 42px; height: 42px; color: var(--jade); opacity: 0.9; }
.pillar h3 {
  font-size: 21px;
  margin-top: 20px;
  letter-spacing: 0.04em;
}
.pillar__en {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.pillar p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.pillar__meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pillar__meta svg { width: 15px; height: 15px; color: var(--cinnabar); }
.pillar__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  font-size: 0;
  color: transparent;
}

@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pillars { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Work cards
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 26px;
}

.work {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.work__poster-link {
  display: block;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.work__poster-link:hover {
  transform: translateY(-6px) rotate(-0.35deg);
  box-shadow: 0 40px 80px -42px rgba(27, 26, 23, 0.7);
}
.work__poster-static {
  border-radius: 5px;
  box-shadow: var(--shadow-card);
}
.work__lang { letter-spacing: 0.03em; }
.work__foot a.status { text-decoration: none; }
.work__foot a.status:hover { text-decoration: underline; text-underline-offset: 3px; }
.work__body { padding-top: 18px; }
.work__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.work__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.work__form { color: var(--cinnabar); }
.work__title {
  font-size: 21px;
  margin-top: 9px;
  letter-spacing: 0.03em;
}
.work__title a { text-decoration: none; }
.work__title a:hover { color: var(--cinnabar); }
.work__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.work__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--jade);
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status--soon { color: var(--gold); }
.status--reading { color: var(--cinnabar); }

@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   Story preview
   -------------------------------------------------------------------------- */

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.story-card {
  position: relative;
  padding: 40px 42px 36px;
  background: rgba(252, 248, 238, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.story-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: linear-gradient(180deg, var(--cinnabar), rgba(181, 53, 42, 0.05));
  border-radius: 2px;
}
.story-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.story-card__head h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: 0.06em;
}
.story-card__head span {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.story-text {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 2.05;
  color: #2b2924;
}
.story-text p + p { margin-top: 1em; }
.story-text .dropcap::first-letter {
  float: left;
  font-size: 3.1em;
  line-height: 0.94;
  padding: 0.08em 0.12em 0 0;
  color: var(--cinnabar);
  font-weight: 600;
}
.story-text .hl { color: var(--cinnabar); }
.story-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.glossary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.glossary li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.3);
}
.glossary b {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
}

.story-aside { position: sticky; top: 96px; }
.story-aside__poster { max-width: 320px; margin-inline: auto; }
.story-aside__caption {
  margin-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.story-aside__caption b { color: var(--ink); font-family: var(--serif); font-size: 14px; font-weight: 600; }

@media (max-width: 980px) {
  .story-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-aside { position: static; order: -1; }
  .story-aside__poster { max-width: 240px; }
}
@media (max-width: 560px) {
  .story-card { padding: 30px 22px 26px; }
  .story-card::before { display: none; }
  .story-text { font-size: 16.5px; }
}

/* --------------------------------------------------------------------------
   Audience tiers
   -------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.tier {
  padding: 34px 30px 30px;
  border-bottom: 1px solid var(--line-strong);
  border-right: 1px solid var(--line);
  transition: background 0.25s ease;
}
.tier:last-child { border-right: 0; }
.tier:hover { background: rgba(239, 230, 210, 0.55); }
.tier__age {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cinnabar);
}
.tier h3 { font-size: 26px; margin-top: 10px; letter-spacing: 0.08em; }
.tier__en {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.tier p { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.tier__quote {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.tier__quote::before { content: "「"; color: var(--gold); }
.tier__quote::after { content: "」"; color: var(--gold); }

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: 0; padding-inline: 4px; }
}

/* --------------------------------------------------------------------------
   International band (ink)
   -------------------------------------------------------------------------- */

.band-ink {
  position: relative;
  background: #191d1a;
  color: #ece3cf;
  overflow: hidden;
}
.band-ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(169, 134, 63, 0.16), transparent 42%),
    radial-gradient(circle at 82% 80%, rgba(44, 110, 99, 0.22), transparent 46%),
    repeating-linear-gradient(90deg, rgba(236, 227, 207, 0.05) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(236, 227, 207, 0.04) 0 1px, transparent 1px 88px);
  pointer-events: none;
}
.band-ink .wrap { position: relative; }
.band-ink .eyebrow { color: rgba(236, 227, 207, 0.62); }
.band-ink .eyebrow::before { background: var(--gold); }
.band-ink h2 {
  color: #f4ecd9;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.25;
  margin-top: 18px;
}
.band-ink h2 em { font-style: normal; color: #d9a441; }
.band-ink__lede {
  max-width: 36em;
  margin-top: 20px;
  color: rgba(236, 227, 207, 0.74);
  font-size: 16px;
}
.band-ink__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px 64px;
  align-items: center;
}
.band-points {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(236, 227, 207, 0.18);
  max-width: 34em;
}
.band-point {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid rgba(236, 227, 207, 0.18);
}
.band-point__no {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #d9a441;
  padding-top: 5px;
}
.band-point h3 { font-size: 18px; color: #f4ecd9; letter-spacing: 0.06em; }
.band-point p { margin-top: 6px; font-size: 14px; color: rgba(236, 227, 207, 0.66); }
.band-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.lang-chip {
  padding: 5px 12px;
  border: 1px solid rgba(236, 227, 207, 0.28);
  border-radius: 999px;
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(236, 227, 207, 0.8);
}

.globe {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  display: block;
  opacity: 0.92;
}
.globe .orbit { fill: none; stroke: rgba(236, 227, 207, 0.24); stroke-width: 1; }
.globe .meridian { fill: none; stroke: rgba(236, 227, 207, 0.16); stroke-width: 1; }
.globe .disc { fill: rgba(44, 110, 99, 0.16); stroke: rgba(236, 227, 207, 0.3); }
.globe .land { fill: rgba(217, 164, 65, 0.14); stroke: rgba(217, 164, 65, 0.5); stroke-width: 1; }
.globe .dot { fill: #d9a441; }
.globe .pulse { fill: none; stroke: #d9a441; opacity: 0.4; }
.globe .globe-label { fill: rgba(236, 227, 207, 0.68); font-size: 9px; letter-spacing: 0.24em; font-family: var(--latin); }

@media (max-width: 940px) {
  .band-ink__grid { grid-template-columns: 1fr; }
  .globe { max-width: 360px; }
}

/* --------------------------------------------------------------------------
   Parents / teachers cards
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 36px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(252, 248, 238, 0.66);
  overflow: hidden;
}
.feature-card--jade {
  background: linear-gradient(150deg, rgba(44, 110, 99, 0.1), rgba(223, 233, 226, 0.55));
  border-color: rgba(44, 110, 99, 0.2);
}
.feature-card__icon { width: 38px; height: 38px; color: var(--jade); }
.feature-card h3 { font-size: 24px; margin-top: 20px; letter-spacing: 0.05em; }
.feature-card p { margin-top: 14px; font-size: 15px; color: var(--ink-soft); max-width: 30em; }
.feature-card ul { margin-top: 20px; list-style: none; display: grid; gap: 8px; }
.feature-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--cinnabar);
  transform: rotate(45deg);
}
.feature-card .text-link { margin-top: 26px; }
.feature-card__stamp {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(181, 53, 42, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(181, 53, 42, 0.7);
  transform: rotate(-8deg);
}

@media (max-width: 780px) {
  .duo { grid-template-columns: 1fr; }
  .feature-card { padding: 30px 24px; }
}

/* --------------------------------------------------------------------------
   Subscribe
   -------------------------------------------------------------------------- */

.subscribe-wrap { position: relative; }
.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px 56px;
  padding: 52px 54px;
  background: linear-gradient(140deg, #fbf6e9 0%, #f1e7d2 100%);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.subscribe::after {
  content: "恒";
  position: absolute;
  right: -18px;
  bottom: -70px;
  font-family: var(--serif);
  font-size: 300px;
  line-height: 1;
  color: rgba(181, 53, 42, 0.05);
  pointer-events: none;
}
.subscribe__copy { position: relative; z-index: 1; }
.subscribe h2 { font-size: clamp(1.7rem, 2.9vw, 2.3rem); margin-top: 14px; }
.subscribe p { margin-top: 14px; color: var(--ink-soft); font-size: 15px; max-width: 28em; }
.subscribe__fine {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.subscribe__fine svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--jade); }

.subscribe form { position: relative; z-index: 1; display: grid; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--latin);
}
.field input, .field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: rgba(255, 253, 247, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-size: 15px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--cinnabar); background: #fffdf7; }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23837a68'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.form-note { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.form-status {
  font-size: 13px;
  color: var(--jade);
  min-height: 0;
}
.form-status.is-error { color: var(--cinnabar); }

@media (max-width: 900px) {
  .subscribe { grid-template-columns: 1fr; padding: 38px 28px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #191d1a;
  color: rgba(236, 227, 207, 0.72);
  padding-block: 64px 30px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 88% 8%, rgba(169, 134, 63, 0.12), transparent 40%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(236, 227, 207, 0.14);
}
.footer-brand .brand__name { color: #f4ecd9; }
.footer-brand .brand__latin { color: rgba(236, 227, 207, 0.4); }
.footer-brand .brand__seal { box-shadow: none; }
.footer-brand p {
  margin-top: 20px;
  max-width: 24em;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(236, 227, 207, 0.58);
}
.footer-brand .footer-en {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236, 227, 207, 0.5);
  margin-top: 18px;
}
.footer-col h3 {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(236, 227, 207, 0.58);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; font-size: 13.5px; }
.footer-col a { text-decoration: none; color: rgba(236, 227, 207, 0.75); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: rgba(236, 227, 207, 0.55);
}
.footer-bottom a { color: inherit; }
.footer-bottom .sep { opacity: 0.4; margin-inline: 8px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: 64px 52px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(169, 134, 63, 0.18);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  margin-top: 20px;
  line-height: 1.2;
}
.page-hero__lede {
  margin-top: 20px;
  max-width: 40em;
  color: var(--ink-soft);
  font-size: 16.5px;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--latin);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cinnabar); }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Works page: filters + grid
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 12px;
  margin-bottom: 26px;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.filter-label {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.filter-sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin-inline: 6px;
}
.works-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: 40px;
}
.works-count {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.works-count b { color: var(--ink); font-weight: 600; }
#worksCountLabel { margin-left: 0.35em; }
[id] { scroll-margin-top: 96px; }
.works-empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14.5px;
}
.works-empty b { display: block; font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 6px; }

@media (max-width: 640px) {
  .filter-sep { display: none; }
  .filter-group { width: 100%; }
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 48px 64px;
  align-items: start;
}
.about-intro__text p { font-size: 17px; line-height: 1.95; color: var(--ink-soft); }
.about-intro__text p + p { margin-top: 1.2em; }
.about-intro__text .lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.7;
  color: var(--ink);
}
.about-intro__text .lead em { font-style: normal; color: var(--cinnabar); }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.value {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(252, 248, 238, 0.55);
}
.value__no { font-family: var(--latin); font-size: 10px; letter-spacing: 0.22em; color: var(--gold); }
.value h3 { font-size: 20px; margin-top: 12px; letter-spacing: 0.04em; }
.value p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.step {
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }
.step__no {
  font-family: var(--serif);
  font-size: 32px;
  color: rgba(181, 53, 42, 0.22);
  line-height: 1;
}
.step h3 { font-size: 18px; margin-top: 14px; letter-spacing: 0.06em; }
.step p { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
.step__en {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.boundaries {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px 60px;
  align-items: start;
}
.boundaries h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.boundaries > p { color: var(--ink-soft); margin-top: 16px; font-size: 15px; }
.boundaries ul { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.boundaries li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.boundaries li span {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cinnabar);
  padding-top: 4px;
}
.boundaries li p { font-size: 14.5px; color: var(--ink-soft); }
.boundaries li b { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.04em; }

.company-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(252, 248, 238, 0.7);
}
.company-card__main { padding: 40px 42px; }
.company-card__main h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.company-card__main > p { margin-top: 16px; color: var(--ink-soft); font-size: 15px; max-width: 30em; }
.company-card__facts { border-left: 1px solid var(--line); }
.fact {
  display: grid;
  gap: 4px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.fact:last-child { border-bottom: 0; }
.fact dt {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { margin: 0; font-size: 15px; font-family: var(--serif); letter-spacing: 0.04em; }
.fact dd small {
  display: block;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.contact-strip p { font-size: 14px; color: rgba(247, 241, 227, 0.72); }
.contact-strip b { display: block; font-family: var(--serif); font-size: 19px; color: var(--paper); margin-bottom: 2px; letter-spacing: 0.04em; }
.contact-strip a { color: #f0d9a3; }

@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about-intro { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .boundaries { grid-template-columns: 1fr; }
  .company-card { grid-template-columns: 1fr; }
  .company-card__facts { border-left: 0; border-top: 1px solid var(--line); }
  .company-card__main { padding: 30px 24px; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}

/* Signature seal block used on About */
.brand-seal-art {
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 290px;
  margin-inline: auto;
  background: radial-gradient(circle at 50% 40%, rgba(181, 53, 42, 0.05), transparent 70%);
}
.brand-seal-art__inner {
  display: grid;
  place-items: center;
  width: 74%;
  aspect-ratio: 1;
  background: var(--cinnabar);
  border-radius: 6px;
  color: #fbf0d8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 8px rgba(0, 0, 0, 0.06);
}
.brand-seal-art__char {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 94px);
  line-height: 1;
  letter-spacing: 0;
}
.brand-seal-art__caption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Parents page: table, FAQ
   -------------------------------------------------------------------------- */

.level-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(252, 248, 238, 0.6);
}
.level-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}
.level-table th, .level-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.level-table thead th {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: rgba(239, 230, 210, 0.6);
  border-bottom: 1px solid var(--line-strong);
}
.level-table tbody tr:last-child td { border-bottom: 0; }
.level-table td:first-child {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--cinnabar);
  white-space: nowrap;
}
.level-table td:nth-child(2) { font-family: var(--serif); font-size: 16px; }
.level-table td { color: var(--ink-soft); line-height: 1.7; }

.reading-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.reading-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(252, 248, 238, 0.55);
}
.reading-step__no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.reading-step h3 { font-size: 19px; margin-top: 12px; }
.reading-step p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

.faq { border-top: 1px solid var(--line-strong); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.03em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--latin);
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 4px 24px;
  max-width: 52em;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.9;
}

@media (max-width: 780px) {
  .reading-steps { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Dialog (story reader)
   -------------------------------------------------------------------------- */

.story-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.story-dialog::backdrop {
  background: rgba(20, 19, 16, 0.58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.story-dialog__inner {
  max-height: min(86vh, 900px);
  overflow-y: auto;
  padding: 40px 46px 44px;
}
.story-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  padding-top: 4px;
}
.story-dialog__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.story-dialog__head p {
  margin-top: 4px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.dialog-close {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.dialog-close:hover { background: var(--paper-2); border-color: var(--line-strong); }
.dialog-close svg { width: 15px; height: 15px; }
.story-dialog .story-text { font-size: 17px; }
.story-dialog__end {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.story-dialog__end p { font-size: 12.5px; color: var(--muted); max-width: 26em; }

@media (max-width: 560px) {
  .story-dialog__inner { padding: 26px 22px 30px; }
}

/* --------------------------------------------------------------------------
   Motion: reveal + ambient
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

@keyframes mist-drift {
  0% { transform: translateX(-2%); opacity: 0.34; }
  50% { transform: translateX(2%); opacity: 0.5; }
  100% { transform: translateX(-2%); opacity: 0.34; }
}
@keyframes bird-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.moon-gate .mist { animation: mist-drift 18s ease-in-out infinite; transform-origin: center; }
.moon-gate .birds { animation: bird-float 9s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive leftovers
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding-block: 72px; }
  .wrap { padding-inline: 24px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 38px; }
  .section-head__aside { padding: 0; }
}

@media (max-width: 560px) {
  .section { padding-block: 58px; }
  .wrap { padding-inline: 20px; }
  .page-hero { padding-block: 44px 38px; }
  .btn { width: 100%; }
  .hero__actions .btn { width: auto; flex: 1 1 auto; }
  .hero__actions { width: 100%; }
  .season-band__inner { font-size: 11px; gap: 16px; }
}
