html.i18n-boot body.site { opacity: 0; }

body.site {
  --accent: #9a3d2a;
  --ink: #1c1915;
  --paper: #f4efe6;
  --quiet: #5e584e;
  --line: rgba(28, 25, 21, 0.12);
  --card: #fffdf8;
  background:
    radial-gradient(820px 420px at 100% -8%, rgba(154, 61, 42, 0.08), transparent 55%),
    #f4efe6;
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", sans-serif;
}

body.site a { color: inherit; }

body.site h1,
body.site h2,
body.site h3 {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", "Songti SC", "Noto Serif SC", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  text-transform: none;
}

.frame {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.bar,
.foot {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bar { padding: 18px 0 14px; }

.mark {
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

.bar nav,
.foot nav {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}

.bar nav { margin-left: 28px; }

.bar nav a,
.foot nav a {
  text-decoration: none;
  color: var(--quiet);
  font-size: 0.95rem;
}

.bar nav a:hover,
.foot nav a:hover { color: var(--ink); }

.lang-switch {
  display: flex;
  margin-left: auto;
  border: 1px solid rgba(28, 25, 21, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #fffaf4;
}

.cinema {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(82vh, 760px);
  display: grid;
  align-items: end;
  border-radius: 28px;
  background: #e7dccb;
  box-shadow: 0 24px 60px rgba(70, 42, 18, 0.12);
}

.cinema-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.04);
  animation: drift 24s ease-in-out infinite alternate;
}

.cinema-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 28px;
  width: calc(100% - 44px);
  max-width: none;
  margin: 0 22px 22px;
  padding: 16px 20px;
  background: rgba(247, 242, 234, 0.94);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(40, 24, 10, 0.16);
}

.kicker,
.pill {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.site h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  color: var(--ink);
}

.cinema-copy > * { grid-column: 1; }
.cinema-copy .actions { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; }
.cinema-copy h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; }
.cinema-copy p { max-width: 36rem; font-size: 0.98rem; margin-top: 6px; }

.cinema-copy p,
.lede {
  margin: 14px 0 0;
  color: var(--quiet);
  font-size: 1.05rem;
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.solid,
.line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.site a.solid {
  background: var(--accent);
  color: #fffaf4;
}

body.site a.line {
  border: 1px solid rgba(28, 25, 21, 0.22);
  color: var(--ink);
  background: transparent;
}

body.site a.solid:hover { filter: brightness(1.06); color: #fffaf4; }
body.site a.line:hover { border-color: var(--accent); color: var(--accent); }

.block { padding: 64px 0 10px; }

.block-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.block-head p { margin: 10px 0 0; color: var(--quiet); max-width: 38rem; }

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 22px;
}

.feature {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.feature:first-child { grid-row: span 2; }

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(154, 61, 42, 0.45);
  box-shadow: 0 18px 40px rgba(70, 42, 18, 0.08);
}

.feature-shot { display: block; overflow: hidden; background: #e7dccb; }

.feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature:first-child .feature-shot img { aspect-ratio: 16 / 11; min-height: 100%; }

.feature:hover img { transform: scale(1.045); }

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
}

.feature-body h3 { margin: 0; font-size: 1.7rem; }

.feature-body p { margin: 0; color: var(--quiet); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--quiet);
  font-size: 0.75rem;
}

.feature .actions { margin-top: 4px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: end;
}

.about-grid p { margin: 0 0 14px; color: #3f3a34; font-size: 1.05rem; max-width: 40rem; }

.soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.soon-card {
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(154, 61, 42, 0.4);
  background: rgba(255, 253, 248, 0.7);
  min-width: 0;
}

.soon-card h3 { margin: 0 0 8px; font-size: 1.45rem; }

.soon-card p { margin: 0; color: var(--quiet); }

.pill.quiet { color: var(--quiet); }

.foot {
  padding: 28px 0 40px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
}

.page-showcase .stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #e7dccb;
  box-shadow: 0 24px 60px rgba(70, 42, 18, 0.1);
}

.page-showcase .stage img {
  display: block;
  width: 100%;
  height: auto;
}

.page-showcase .stage-copy {
  padding: 22px 4px 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
  margin-top: 18px;
}

.gallery figure {
  margin: 0;
  min-width: 0;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #e7dccb;
}

.gallery figcaption {
  margin-top: 8px;
  color: var(--quiet);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}

.split h2 { margin: 0 0 12px; font-size: 1.8rem; }

.points, .controls {
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li, .controls div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #3f3a34;
}

.controls dt {
  font-weight: 700;
  color: var(--ink);
}

.controls dd { margin: 4px 0 0; }

.note { color: var(--quiet); }

.missing-main {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding: 24px 0 48px;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.6%, -1%, 0); }
}

@media (max-width: 860px) {
  .frame { width: min(1180px, calc(100% - 28px)); }
  .bar, .foot { flex-wrap: wrap; }
  .bar nav { margin-left: 0; order: 3; width: 100%; }
  .cinema { min-height: 78vh; border-radius: 18px; }
  .cinema-still { object-position: center 18%; }
  .cinema-copy { grid-template-columns: 1fr; margin: 0 12px 12px; width: auto; padding: 16px; }
  .cinema-copy .actions { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .cinema-copy h1, body.site h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .feature-grid, .about-grid, .soon-grid, .gallery, .split { grid-template-columns: 1fr; }
  .feature:first-child { grid-row: auto; }
  .page-showcase .stage img { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-still { animation: none; }
  .feature, .feature-shot img, .solid { transition: none; }
  .feature:hover { transform: none; }
  .feature:hover img { transform: none; }
  .solid:hover { filter: none; }
}
