﻿/* KICHIHIKARI — paper-lantern theme · kh- */
:root {
  --kh-gold: #C4A035;
  --kh-gold-soft: #D4B85A;
  --kh-indigo: #1A2740;
  --kh-indigo-deep: #0F1828;
  --kh-paper: #F4EFE4;
  --kh-paper-warm: #EBE4D4;
  --kh-fern: #4F7A52;
  --kh-ink: #1A2740;
  --kh-muted: rgba(26, 39, 64, 0.62);
  --kh-line: rgba(26, 39, 64, 0.12);
  --kh-glow: rgba(196, 160, 53, 0.45);
  --kh-post-w: 5.5rem;
  --kh-font-display: "Cormorant Garamond", "Zen Old Mincho", serif;
  --kh-font-jp: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --kh-font-sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --kh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kh-max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--kh-ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 160, 53, 0.08), transparent 55%),
    linear-gradient(180deg, var(--kh-paper) 0%, #EFE8D8 40%, var(--kh-paper) 100%);
  font-family: var(--kh-font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, strong { font-weight: 600; }
em { font-style: italic; color: var(--kh-gold); }

.kh-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--kh-indigo);
  color: var(--kh-paper);
  padding: 0.6rem 1rem;
}
.kh-skip:focus { left: 0.5rem; top: 0.5rem; }

.kh-page { min-height: 100vh; }
.kh-page main {
  margin-left: var(--kh-post-w);
  min-height: 100vh;
}

/* ——— Paper-lantern post nav ——— */
.kh-lantern-post {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--kh-post-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 1.25rem;
  background: linear-gradient(180deg, var(--kh-indigo-deep), var(--kh-indigo));
  box-shadow: 4px 0 24px rgba(15, 24, 40, 0.35);
}

.kh-lantern-post__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  color: var(--kh-paper);
  padding: 0 0.35rem;
  margin-bottom: 0.75rem;
}
.kh-lantern-post__mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--kh-gold);
  color: var(--kh-indigo);
  font-family: var(--kh-font-jp);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 0 16px var(--kh-glow);
}
.kh-lantern-post__brand strong {
  font-family: var(--kh-font-display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  line-height: 1.2;
}
.kh-lantern-post__brand em {
  font-style: normal;
  font-size: 0.58rem;
  color: var(--kh-gold-soft);
  writing-mode: vertical-rl;
  opacity: 0.85;
}

.kh-lantern-post__pole {
  position: absolute;
  top: 5.5rem;
  bottom: 3.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(196, 160, 53, 0.35), transparent);
  pointer-events: none;
}

.kh-lantern-post__rail {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.kh-lantern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--kh-paper);
  width: 100%;
  animation: kh-sway 4.8s var(--kh-ease) infinite;
  animation-delay: calc(var(--kh-lantern-i, 1) * 0.35s);
}
@keyframes kh-sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.4deg); }
}

.kh-lantern__cord {
  width: 1px;
  height: 0.55rem;
  background: rgba(196, 160, 53, 0.55);
}
.kh-lantern__body {
  position: relative;
  display: block;
  width: 2.35rem;
  height: 2.85rem;
}
.kh-lantern__cap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.15rem;
  height: 0.35rem;
  background: var(--kh-gold);
  border-radius: 2px 2px 0 0;
  z-index: 2;
}
.kh-lantern__paper {
  position: absolute;
  inset: 0.25rem 0.1rem 0.35rem;
  background: linear-gradient(180deg, #F7F1E4, #E8D9B0 55%, #C4A035);
  border-radius: 40% 40% 45% 45% / 18% 18% 55% 55%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 10px rgba(26, 39, 64, 0.12), 0 4px 14px rgba(196, 160, 53, 0.25);
  overflow: hidden;
}
.kh-lantern__paper b {
  font-family: var(--kh-font-jp);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kh-indigo);
  position: relative;
  z-index: 1;
}
.kh-lantern__glow {
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  width: 0.7rem;
  height: 0.7rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #FFE08A, transparent 70%);
  opacity: 0.55;
  filter: blur(1px);
}
.kh-lantern__label {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  opacity: 0.78;
  writing-mode: vertical-rl;
  max-height: 3.2rem;
}

.kh-lantern[aria-current="page"] .kh-lantern__paper,
.kh-lantern:hover .kh-lantern__paper,
.kh-lantern:focus-visible .kh-lantern__paper {
  background: linear-gradient(180deg, #FFF8E8, var(--kh-gold));
  box-shadow: 0 0 18px var(--kh-glow), inset 0 0 8px rgba(255, 255, 255, 0.35);
}
.kh-lantern[aria-current="page"] .kh-lantern__glow,
.kh-lantern:hover .kh-lantern__glow {
  opacity: 1;
  box-shadow: 0 0 12px var(--kh-gold);
}
.kh-lantern[aria-current="page"] .kh-lantern__label {
  color: var(--kh-gold-soft);
  opacity: 1;
}

.kh-lantern-post__place {
  margin: 0.5rem 0 0;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
  color: rgba(244, 239, 228, 0.45);
}

.kh-menu-btn {
  display: none;
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 90;
  border: 1px solid rgba(196, 160, 53, 0.45);
  background: var(--kh-indigo);
  color: var(--kh-paper);
  padding: 0.55rem 0.75rem;
  border-radius: 2px;
  gap: 0.45rem;
  align-items: center;
  cursor: pointer;
}
.kh-menu-btn span { font-size: 0.72rem; letter-spacing: 0.08em; }
.kh-menu-btn i {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--kh-gold);
  margin: 3px 0;
}

.kh-sheet-shade {
  position: fixed;
  inset: 0;
  background: rgba(15, 24, 40, 0.55);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.kh-sheet-shade.is-open { opacity: 1; pointer-events: auto; }
.kh-sheet {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  z-index: 100;
  background: var(--kh-indigo);
  color: var(--kh-paper);
  padding: 1.25rem 1.35rem 2rem;
  transform: translateX(105%);
  transition: transform 0.35s var(--kh-ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kh-sheet.is-open { transform: translateX(0); }
.kh-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--kh-gold-soft);
}
.kh-sheet__head button {
  border: 0;
  background: transparent;
  color: var(--kh-paper);
  font-size: 1.4rem;
  cursor: pointer;
}
.kh-sheet nav { display: flex; flex-direction: column; gap: 0.35rem; }
.kh-sheet nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(244, 239, 228, 0.1);
  font-family: var(--kh-font-jp);
  font-size: 1.05rem;
}
.kh-sheet nav a small {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(196, 160, 53, 0.2);
  color: var(--kh-gold);
  font-size: 0.75rem;
}
.kh-sheet nav a span { margin-left: auto; color: var(--kh-gold); }
.kh-sheet nav a[aria-current="page"] { color: var(--kh-gold-soft); }
.kh-sheet__meta {
  margin-top: auto;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(244, 239, 228, 0.55);
}
body.is-locked { overflow: hidden; }

/* ——— Shared UI ——— */
.kh-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: none;
  color: var(--kh-fern);
  font-family: var(--kh-font-sans);
}
.kh-heading { margin-bottom: 2rem; }
.kh-heading h2 {
  margin: 0;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
  line-height: 1.35;
  font-weight: 600;
}
.kh-heading--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.kh-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: calc(var(--kh-max) + 6rem);
  margin: 0 auto;
}
.kh-image {
  overflow: hidden;
  background: var(--kh-paper-warm);
}
.kh-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--kh-ease);
}
.kh-reveal:hover .kh-image img { transform: scale(1.04); }

.kh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  background: var(--kh-gold);
  color: var(--kh-indigo);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--kh-gold);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.kh-btn:hover { background: var(--kh-gold-soft); transform: translateY(-1px); }
.kh-btn--ghost {
  background: transparent;
  color: var(--kh-paper);
  border-color: rgba(244, 239, 228, 0.45);
}
.kh-btn--ghost:hover { background: rgba(244, 239, 228, 0.1); color: #fff; }
.kh-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--kh-fern);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.kh-arrow:hover { color: var(--kh-indigo); border-color: var(--kh-gold); }

.kh-reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--kh-ease), transform 0.7s var(--kh-ease);
}
.kh-reveal.is-visible,
.no-js .kh-reveal {
  opacity: 1;
  transform: none;
}

/* ——— Hero ——— */
.kh-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  overflow: hidden;
  color: var(--kh-paper);
  background: var(--kh-indigo-deep);
}
.kh-hero__panes { position: absolute; inset: 0; }
.kh-hero__pane {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.kh-hero__pane.is-active { opacity: 1; z-index: 1; }
.kh-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: kh-ken 14s ease-in-out infinite alternate;
}
.kh-hero__pane.is-active .kh-hero__photo { animation-play-state: running; }
@keyframes kh-ken {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}
.kh-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(15, 24, 40, 0.82) 0%, rgba(15, 24, 40, 0.45) 42%, rgba(26, 39, 64, 0.25) 100%),
    radial-gradient(ellipse 50% 60% at 70% 40%, rgba(196, 160, 53, 0.18), transparent 60%);
  pointer-events: none;
}
.kh-hero__lantern-glow {
  position: absolute;
  z-index: 2;
  width: 18rem;
  height: 18rem;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 160, 53, 0.35), transparent 68%);
  filter: blur(8px);
  animation: kh-pulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes kh-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}

.kh-hero__stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 2rem;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2.5rem, 6vh, 4rem);
  max-width: calc(var(--kh-max) + 4rem);
  width: 100%;
  margin: 0 auto;
  align-self: stretch;
}
.kh-hero__copy .kh-eyebrow { color: var(--kh-gold-soft); }
.kh-hero__copy h1 {
  margin: 0;
  font-family: var(--kh-font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.kh-hero__brand-jp {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  letter-spacing: 0.35em;
  color: var(--kh-gold);
}
.kh-hero__tag {
  margin: 0 0 1.5rem;
  max-width: 22rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(244, 239, 228, 0.88);
}
.kh-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.kh-hero__glow-nav {
  justify-self: end;
  width: min(100%, 18rem);
  padding: 1rem;
  background: rgba(15, 24, 40, 0.42);
  border: 1px solid rgba(196, 160, 53, 0.28);
  backdrop-filter: blur(8px);
}
.kh-hero__orbs {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.kh-hero__orb {
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.65;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}
.kh-hero__orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kh-hero__orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.25s ease;
}
.kh-hero__orb.is-active,
.kh-hero__orb:hover {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--kh-gold), 0 0 18px var(--kh-glow);
}
.kh-hero__orb.is-active .kh-hero__orb-ring {
  box-shadow: inset 0 0 0 2px rgba(244, 239, 228, 0.35);
}
.kh-hero__caption {
  margin: 0 0 0.5rem;
  font-family: var(--kh-font-jp);
  font-size: 0.92rem;
}
.kh-hero__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--kh-font-display);
  letter-spacing: 0.08em;
}
.kh-hero__controls small { opacity: 0.55; margin-right: auto; }
.kh-hero__controls button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(244, 239, 228, 0.35);
  background: transparent;
  color: var(--kh-paper);
  cursor: pointer;
  border-radius: 50%;
}
.kh-hero__controls button:hover { border-color: var(--kh-gold); color: var(--kh-gold); }

/* ——— Light-meter bars ——— */
.kh-meters {
  position: relative;
  overflow: hidden;
  max-width: none;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
.kh-meters__soft {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(244, 239, 228, 0.94), rgba(244, 239, 228, 0.82)),
    var(--kh-soft-bg) center / cover no-repeat;
  opacity: 0.95;
  pointer-events: none;
}
.kh-meters__layout {
  position: relative;
  z-index: 1;
  max-width: var(--kh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.kh-meters__note {
  margin: 1rem 0 0;
  color: var(--kh-muted);
  max-width: 22rem;
  font-size: 0.95rem;
}
.kh-lightbars { display: flex; flex-direction: column; gap: 1.15rem; }
.kh-lightbar__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}
.kh-lightbar__icon {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE9A8, var(--kh-gold));
  box-shadow: 0 0 10px var(--kh-glow);
  flex-shrink: 0;
}
.kh-lightbar__label {
  font-family: var(--kh-font-jp);
  font-size: 0.95rem;
}
.kh-lightbar__pct {
  margin-left: auto;
  font-family: var(--kh-font-display);
  font-size: 1.25rem;
  color: var(--kh-indigo);
}
.kh-lightbar__track {
  position: relative;
  height: 0.55rem;
  background: rgba(26, 39, 64, 0.1);
  overflow: hidden;
}
.kh-lightbar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--kh-fern), var(--kh-gold));
  box-shadow: 0 0 12px rgba(196, 160, 53, 0.4);
}
.kh-lightbar__ticks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(10% - 1px),
    rgba(26, 39, 64, 0.18) calc(10% - 1px),
    rgba(26, 39, 64, 0.18) 10%
  );
  pointer-events: none;
}
.kh-lightbar__hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--kh-muted);
}

/* ——— Season lantern timeline ——— */
.kh-seasons__lead {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  color: var(--kh-muted);
}
.kh-timeline__lanterns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.kh-timeline__lantern {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border: 1px solid var(--kh-line);
  background: rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.kh-timeline__lantern.is-active,
.kh-timeline__lantern:hover {
  border-color: var(--kh-gold);
  background: rgba(196, 160, 53, 0.12);
}
.kh-timeline__mini {
  width: 2rem;
  height: 2.4rem;
  border-radius: 40% 40% 45% 45% / 15% 15% 55% 55%;
  background: linear-gradient(180deg, #FFF6E0, var(--kh-gold));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(196, 160, 53, 0.3);
}
.kh-timeline__mini b {
  font-family: var(--kh-font-jp);
  font-size: 0.85rem;
  color: var(--kh-indigo);
}
.kh-timeline__lantern small {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--kh-muted);
}
.kh-timeline__spine {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 2px solid rgba(196, 160, 53, 0.35);
  margin-left: 0.85rem;
}
.kh-timeline__node {
  position: relative;
  padding-left: 1.75rem;
}
.kh-timeline__marker {
  position: absolute;
  left: -0.55rem;
  top: 1.5rem;
}
.kh-timeline__flame {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE9A8, var(--kh-gold));
  box-shadow: 0 0 14px var(--kh-glow);
}
.kh-timeline__card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--kh-line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.kh-timeline__card:hover {
  border-color: rgba(196, 160, 53, 0.55);
  box-shadow: 0 12px 32px rgba(26, 39, 64, 0.08);
}
.kh-timeline__media {
  position: relative;
  min-height: 14rem;
}
.kh-timeline__media .kh-image { position: absolute; inset: 0; }
.kh-timeline__kanji {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-family: var(--kh-font-jp);
  font-size: 2.5rem;
  color: var(--kh-paper);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.kh-timeline__copy { padding: 1.35rem 1.35rem 1.35rem 0; }
.kh-timeline__months {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--kh-fern);
}
.kh-timeline__copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--kh-font-jp);
  font-size: 1.35rem;
}
.kh-timeline__copy p {
  margin: 0 0 0.85rem;
  color: var(--kh-muted);
  font-size: 0.92rem;
}
.kh-timeline__meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--kh-gold);
}

/* ——— Seed rows ——— */
.kh-seed-rows {
  display: grid;
  grid-template-columns: repeat(6, minmax(10rem, 1fr));
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.kh-seed {
  scroll-snap-align: start;
  min-width: 10.5rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--kh-line);
  display: flex;
  flex-direction: column;
}
.kh-seed:nth-child(even) { transform: translateY(0.85rem); }
.kh-seed__media { position: relative; aspect-ratio: 4/5; }
.kh-seed__media .kh-image { position: absolute; inset: 0; }
.kh-seed__tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  background: var(--kh-indigo);
  color: var(--kh-gold);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.kh-seed__body { padding: 0.85rem; }
.kh-seed__meta {
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  color: var(--kh-muted);
}
.kh-seed__meta strong { color: var(--kh-fern); }
.kh-seed__body h3 {
  margin: 0;
  font-family: var(--kh-font-jp);
  font-size: 0.98rem;
  line-height: 1.4;
}

/* ——— Journal filmstrip ——— */
.kh-filmstrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 18rem);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.kh-filmstrip__frame {
  scroll-snap-align: start;
  background: var(--kh-indigo);
  color: var(--kh-paper);
  border: 1px solid rgba(196, 160, 53, 0.25);
}
.kh-filmstrip__link { display: block; padding: 0.65rem; }
.kh-filmstrip__link .kh-image {
  aspect-ratio: 4/5;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(196, 160, 53, 0.2);
}
.kh-filmstrip__meta {
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  color: var(--kh-gold-soft);
}
.kh-filmstrip__link h3 {
  margin: 0 0 0.4rem;
  font-family: var(--kh-font-jp);
  font-size: 1.05rem;
  line-height: 1.4;
}
.kh-filmstrip__link > p:last-child {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(244, 239, 228, 0.7);
  line-height: 1.55;
}

/* ——— FAQ clipboard ——— */
.kh-clipboard {
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
  padding-top: 1.25rem;
}
.kh-clipboard__clip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 1.5rem;
  background: linear-gradient(180deg, #8A9199, #5C636B);
  border-radius: 0.25rem 0.25rem 0.15rem 0.15rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.kh-clipboard__clip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #E8ECF0, #9AA3AB);
}
.kh-clipboard__board {
  background: linear-gradient(165deg, #2A3548, var(--kh-indigo));
  padding: 2rem 1.25rem 1.25rem;
  border: 1px solid rgba(196, 160, 53, 0.25);
  box-shadow: 0 18px 40px rgba(15, 24, 40, 0.18);
}
.kh-clipboard__card {
  background: var(--kh-paper);
  margin-bottom: 0.55rem;
  border: 1px solid rgba(26, 39, 64, 0.08);
}
.kh-clipboard__card:last-child { margin-bottom: 0; }
.kh-clipboard__card summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  cursor: pointer;
  font-family: var(--kh-font-jp);
}
.kh-clipboard__card summary::-webkit-details-marker { display: none; }
.kh-clipboard__no {
  font-family: var(--kh-font-display);
  color: var(--kh-gold);
  font-size: 0.95rem;
}
.kh-clipboard__toggle {
  color: var(--kh-fern);
  transition: transform 0.25s ease;
}
.kh-clipboard__card[open] .kh-clipboard__toggle { transform: rotate(45deg); }
.kh-clipboard__card p {
  margin: 0;
  padding: 0 1rem 1rem 3.1rem;
  color: var(--kh-muted);
  font-size: 0.9rem;
}

/* ——— CTA ——— */
.kh-cta {
  margin: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(196, 160, 53, 0.22), transparent 55%),
    linear-gradient(135deg, var(--kh-indigo-deep), var(--kh-indigo));
  color: var(--kh-paper);
  text-align: center;
}
.kh-cta .kh-eyebrow { color: var(--kh-gold-soft); }
.kh-cta h2 {
  margin: 0 0 0.85rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1.4;
}
.kh-cta > p { margin: 0 auto 1.5rem; max-width: 28rem; color: rgba(244, 239, 228, 0.78); }
.kh-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.kh-cta__meta { margin: 1.5rem 0 0; font-size: 0.78rem; color: rgba(244, 239, 228, 0.5); }

/* ——— Inner pages ——— */
.kh-page-hero {
  padding: clamp(4rem, 10vh, 6rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  max-width: calc(var(--kh-max) + 4rem);
  margin: 0 auto;
}
.kh-page-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.3;
}
.kh-page-hero > p:last-child {
  margin: 0;
  max-width: 28rem;
  color: var(--kh-muted);
}

.kh-collection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: calc(var(--kh-max) + 4rem);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
}
.kh-collection__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.kh-collection__image.kh-order { order: 2; }
.kh-collection__copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.kh-collection__copy > p { color: var(--kh-muted); }
.kh-collection__copy ul {
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.kh-collection__copy li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  border-bottom: 1px solid var(--kh-line);
  font-size: 0.92rem;
}
.kh-collection__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--kh-gold);
  box-shadow: 0 0 8px var(--kh-glow);
}

.kh-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.kh-process__grid article {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--kh-line);
}
.kh-process__grid .kh-image {
  aspect-ratio: 4/3;
  margin: -1.25rem -1.25rem 1rem;
}
.kh-process__grid b {
  display: block;
  font-family: var(--kh-font-display);
  color: var(--kh-gold);
  margin-bottom: 0.35rem;
}
.kh-process__grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--kh-font-jp);
  font-size: 1.1rem;
}
.kh-process__grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--kh-muted);
}

.kh-about-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: calc(var(--kh-max) + 4rem);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 4rem);
}
.kh-about-intro__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.kh-about-intro h2 {
  margin: 0 0 1rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
}
.kh-about-intro p { color: var(--kh-muted); }

.kh-gallery-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 0.85rem;
  align-items: end;
}
.kh-gallery-stack figure { margin: 0; }
.kh-gallery-stack .kh-image { aspect-ratio: 5/6; }
.kh-gallery-stack figure:nth-child(2) .kh-image { aspect-ratio: 4/5; }
.kh-gallery-stack figure:nth-child(3) { transform: translateY(-1.5rem); }

.kh-story-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--kh-indigo);
  color: var(--kh-paper);
  overflow: hidden;
}
.kh-story-band__image img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}
.kh-story-band__copy {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kh-story-band__copy .kh-eyebrow { color: var(--kh-gold-soft); }
.kh-story-band__copy h2 {
  margin: 0 0 1rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
}
.kh-story-band__copy p { margin: 0; color: rgba(244, 239, 228, 0.78); }

.kh-article-rail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.kh-article-row {
  display: grid;
  grid-template-columns: auto 12rem 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--kh-line);
}
.kh-article-row__no {
  font-family: var(--kh-font-display);
  font-size: 1.4rem;
  color: var(--kh-gold);
  width: 2rem;
}
.kh-article-row__media .kh-image { aspect-ratio: 4/5; }
.kh-article-row__copy p:first-child {
  display: flex;
  gap: 1rem;
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  color: var(--kh-fern);
  letter-spacing: 0.08em;
}
.kh-article-row__copy h2 {
  margin: 0 0 0.5rem;
  font-family: var(--kh-font-jp);
  font-size: 1.25rem;
}
.kh-article-row__copy > p:nth-of-type(2) {
  margin: 0 0 0.85rem;
  color: var(--kh-muted);
  font-size: 0.92rem;
}

.kh-contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: calc(var(--kh-max) + 4rem);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5rem);
}
.kh-contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kh-contact label { display: flex; flex-direction: column; gap: 0.4rem; }
.kh-contact label span { font-size: 0.82rem; letter-spacing: 0.06em; }
.kh-contact input,
.kh-contact select,
.kh-contact textarea {
  border: 1px solid var(--kh-line);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.75rem 0.85rem;
  color: var(--kh-ink);
  border-radius: 0;
}
.kh-contact input:focus,
.kh-contact select:focus,
.kh-contact textarea:focus {
  outline: 2px solid rgba(196, 160, 53, 0.45);
  outline-offset: 1px;
}
.kh-contact label.is-invalid input,
.kh-contact label.is-invalid select,
.kh-contact label.is-invalid textarea {
  border-color: #A65D4A;
}
.kh-error { color: #A65D4A; font-size: 0.78rem; font-style: normal; }
.kh-form-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(166, 93, 74, 0.12);
  border: 1px solid rgba(166, 93, 74, 0.35);
  color: #8A4032;
}
.kh-contact button[type="submit"] {
  align-self: start;
  border: 0;
  background: var(--kh-gold);
  color: var(--kh-indigo);
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  letter-spacing: 0.06em;
}
.kh-contact button[type="submit"]:hover { background: var(--kh-gold-soft); }
.kh-contact aside {
  padding: 1.5rem;
  background: var(--kh-indigo);
  color: var(--kh-paper);
}
.kh-contact aside .kh-eyebrow { color: var(--kh-gold-soft); }
.kh-contact aside h2 {
  margin: 0 0 1rem;
  font-family: var(--kh-font-jp);
  font-size: 1.55rem;
  line-height: 1.35;
}
.kh-aside-image {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(196, 160, 53, 0.3);
}
.kh-aside-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.kh-contact aside dl { margin: 0; }
.kh-contact aside dt {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--kh-gold);
}
.kh-contact aside dd { margin: 0.25rem 0 0; font-size: 0.9rem; color: rgba(244, 239, 228, 0.82); }
.kh-contact aside a { color: var(--kh-gold-soft); }
.kh-thanks {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--kh-line);
}
.kh-thanks h2 {
  margin: 0 0 0.75rem;
  font-family: var(--kh-font-jp);
}

.kh-not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}
.kh-not-found__lantern {
  width: 3.5rem;
  height: 4.2rem;
  margin-bottom: 1.25rem;
  border-radius: 40% 40% 45% 45% / 15% 15% 55% 55%;
  background: linear-gradient(180deg, #FFF6E0, var(--kh-gold));
  box-shadow: 0 0 28px var(--kh-glow);
  animation: kh-pulse 3s ease-in-out infinite;
}
.kh-not-found h1 {
  margin: 0 0 1rem;
  font-family: var(--kh-font-jp);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
}
.kh-not-found > p:last-of-type {
  margin: 0 0 1.5rem;
  color: var(--kh-muted);
}

/* ——— Footer ——— */
.kh-footer {
  position: relative;
  margin-left: var(--kh-post-w);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem;
  background: var(--kh-indigo-deep);
  color: var(--kh-paper);
  overflow: hidden;
}
.kh-footer__glow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  left: -4rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(196, 160, 53, 0.2), transparent 70%);
  pointer-events: none;
}
.kh-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
}
.kh-footer__top .kh-eyebrow { color: var(--kh-gold-soft); }
.kh-footer__top strong {
  display: block;
  font-family: var(--kh-font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
}
.kh-footer__top span {
  display: block;
  font-family: var(--kh-font-jp);
  color: var(--kh-gold);
  letter-spacing: 0.25em;
  margin-top: 0.2rem;
}
.kh-footer__top > p {
  margin: 0;
  max-width: 22rem;
  color: rgba(244, 239, 228, 0.7);
  font-size: 0.92rem;
}
.kh-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(244, 239, 228, 0.1);
}
.kh-footer__grid span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--kh-gold);
  margin-bottom: 0.5rem;
}
.kh-footer__grid p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(244, 239, 228, 0.7);
  line-height: 1.65;
}
.kh-footer__grid a { color: var(--kh-gold-soft); }
.kh-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  font-size: 0.75rem;
  color: rgba(244, 239, 228, 0.45);
  position: relative;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  :root { --kh-post-w: 0px; }
  .kh-page main { margin-left: 0; }
  .kh-footer { margin-left: 0; }

  .kh-lantern-post {
    inset: 0 0 auto 0;
    width: 100%;
    height: auto;
    min-height: 4.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.45rem 0.75rem 0.55rem;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
  }
  .kh-lantern-post__brand {
    flex-direction: row;
    gap: 0.55rem;
    margin: 0;
  }
  .kh-lantern-post__brand strong,
  .kh-lantern-post__brand em {
    writing-mode: horizontal-tb;
  }
  .kh-lantern-post__brand strong { font-size: 0.95rem; }
  .kh-lantern-post__brand em { font-size: 0.72rem; }
  .kh-lantern-post__pole,
  .kh-lantern-post__place { display: none; }
  .kh-lantern-post__rail {
    order: 3;
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 0.15rem 0 0;
    gap: 0.15rem;
  }
  .kh-lantern {
    animation: none;
    width: auto;
  }
  .kh-lantern__cord { height: 0.35rem; }
  .kh-lantern__body { width: 1.85rem; height: 2.2rem; }
  .kh-lantern__label {
    writing-mode: horizontal-tb;
    max-height: none;
    font-size: 0.55rem;
  }
  .kh-menu-btn { display: none; }
  .kh-sheet,
  .kh-sheet-shade { display: none !important; }

  .kh-hero { min-height: calc(100vh - 6.5rem); min-height: calc(100dvh - 6.5rem); margin-top: 6.5rem; }
  .kh-page-hero { padding-top: calc(6.5rem + 2rem); }
  .kh-hero__stage { grid-template-columns: 1fr; align-items: start; padding-top: 3rem; }
  .kh-hero__glow-nav { justify-self: start; width: 100%; }
  .kh-hero__lantern-glow { width: 12rem; height: 12rem; right: -2rem; top: 10%; }

  .kh-meters__layout,
  .kh-timeline__card,
  .kh-collection,
  .kh-about-intro,
  .kh-story-band,
  .kh-contact,
  .kh-process__grid,
  .kh-gallery-stack,
  .kh-footer__grid {
    grid-template-columns: 1fr;
  }
  .kh-collection__image.kh-order { order: 0; }
  .kh-timeline__copy { padding: 0 1rem 1.15rem; }
  .kh-seed:nth-child(even) { transform: none; }
  .kh-article-row {
    grid-template-columns: auto 1fr;
  }
  .kh-article-row__media {
    grid-column: 1 / -1;
  }
  .kh-article-row__media .kh-image { aspect-ratio: 16/10; }
  .kh-gallery-stack figure:nth-child(3) { transform: none; }
}

@media (max-width: 640px) {
  .kh-hero__copy h1 { font-size: 2.6rem; }
  .kh-seed-rows { grid-template-columns: repeat(6, minmax(9.5rem, 1fr)); }
  .kh-clipboard__card p { padding-left: 1rem; }
}
