/* Home only: the still illustration is a camera layer; light and dust move independently. */
.home {
  --home-ink: #304c43;
  --home-muted: #7c8174;
  --home-paper: #fbf8f0;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.home::before { display: none; }
.home .home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18px 0;
  background: transparent;
}
.home-header h1 { flex: 0 0 auto; margin: 0; line-height: 0; }
.home-header .logo { display: block; width: 145px; height: auto; }
.home-header nav { gap: clamp(12px, 1.6vw, 24px); }
.home-header nav a { flex: 0 0 auto; padding: 10px 0; color: var(--home-ink); font-size: .75rem; letter-spacing: .02em; }
.home-header nav a:hover { color: #bd775b; }
.home-header nav a::after { background: #bd775b; bottom: 3px; }
.home-header a:focus-visible, .pv-entry:focus-visible { outline: 2px solid #bd775b; outline-offset: 5px; }
.pv-hero { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.pv-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: calc(100svh - 125px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 6px;
  background: #b7a884;
  box-shadow: 0 24px 65px -40px rgba(48, 76, 67, .55);
}
.pv-stage::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 12px;
  border: 1px solid rgba(255, 246, 219, .38);
  border-radius: 2px;
  pointer-events: none;
}
.pv-camera { position: absolute; inset: 0; transform-origin: 66% 44%; animation: pv-camera-trip 24s cubic-bezier(.45, 0, .35, 1) infinite; will-change: transform; }
.home #hero .pv-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0; border-radius: 0; box-shadow: none; }
.pv-atmosphere, .pv-vignette, .pv-curtain { position: absolute; inset: 0; pointer-events: none; }
.pv-atmosphere { z-index: 2; overflow: hidden; }
.pv-sunlight {
  position: absolute;
  top: -40%; right: -10%; width: 95%; height: 150%;
  background: linear-gradient(125deg, transparent 32%, rgba(255, 239, 187, .16) 37%, rgba(255, 247, 213, .3) 40%, transparent 43%, transparent 48%, rgba(255, 239, 187, .19) 51%, transparent 55%);
  mix-blend-mode: screen;
  transform-origin: 100% 0;
  animation: pv-window-light 14s ease-in-out infinite alternate;
}
.pv-lightwash { position: absolute; inset: 0; background: radial-gradient(ellipse at 94% 7%, rgba(255, 244, 211, .38), transparent 58%); mix-blend-mode: screen; animation: pv-warmth 12s ease-in-out infinite alternate; }
.pv-mote { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); border-radius: 50%; background: #fff5d8; box-shadow: 0 0 9px 2px rgba(255, 244, 218, .25); opacity: 0; animation: pv-dust var(--duration) ease-in-out var(--delay) infinite; }
.pv-bokeh { position: absolute; width: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 233, 167, .25), rgba(255, 240, 204, .06) 52%, transparent 70%); animation: pv-foreground 18s ease-in-out infinite alternate; }
.pv-bokeh-one { left: -3%; bottom: 9%; }
.pv-bokeh-two { right: 2%; top: 16%; width: 9%; animation-delay: -9s; }
.pv-vignette { z-index: 3; background: radial-gradient(ellipse at 56% 44%, transparent 47%, rgba(46, 43, 27, .12) 100%), linear-gradient(180deg, rgba(31, 47, 36, .2), transparent 25%, transparent 78%, rgba(31, 47, 36, .18)); }
.pv-curtain { z-index: 4; background: #fbf0dc; opacity: 0; animation: pv-opening 1.8s ease-out both; }
.pv-scene-label { position: absolute; z-index: 6; top: 27px; left: 30px; margin: 0; color: #fff9e9; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-shadow: 0 1px 6px rgba(30, 39, 26, .65); animation: pv-caption-in 1.4s .7s both; }
.pv-scene-label span { padding: 0 8px; }
.pv-toggle { position: absolute; z-index: 6; right: 26px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 15px; border: 1px solid rgba(255, 250, 228, .5); border-radius: 999px; color: #fff9e9; background: rgba(33, 48, 39, .62); font: inherit; font-size: .68rem; cursor: pointer; }
.pv-toggle[hidden] { display: none; }
.pv-toggle:hover { background: rgba(33, 48, 39, .88); }
.pv-toggle:focus-visible { outline: 3px solid #fff9e9; outline-offset: 4px; }
.pv-toggle-icon { font-size: .9rem; line-height: 1; }
.pv-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 29px 4px 34px; animation: pv-caption-in 1.3s .4s both; }
.pv-eyebrow { margin: 0 0 9px; color: var(--home-muted); font-size: .7rem; letter-spacing: .16em; text-align: left; }
.pv-caption h1 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-align: left; }
.pv-entry { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 38px; min-height: 48px; padding: 12px 22px; border: 1px solid #ccd3c3; border-radius: 999px; color: var(--home-ink); font-size: .8rem; text-decoration: none; transition: background .2s, border-color .2s; }
.pv-entry:hover { background: #eef0e3; border-color: #7a9483; }
.pv-entry span { font-size: 1.15rem; }
.home #TOP { width: min(760px, calc(100% - 40px)); margin: 28px auto 0; padding: 20px 24px; border-block: 1px solid #e5e1d5; }
.pome-speaker { color: #bb8d71; font-size: .65rem; letter-spacing: .16em; }
.pome-note h2 { margin: 10px 0 0; font-size: clamp(.85rem, 2.2vw, 1rem); font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }
.home #aboutus { width: min(760px, calc(100% - 40px)); margin: 70px auto 0; }
.home #aboutus h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 500; line-height: 1.7; }
.home #aboutus p { margin-block: 24px; font-size: .9rem; line-height: 2.25; }
.home footer { margin-top: 70px; padding: 30px 20px; color: #68766c; background: #edf0e5; line-height: 1.8; }
.pv-stage.is-paused *, .pv-stage.is-offscreen *, .pv-stage.is-hidden * { animation-play-state: paused !important; }
.pv-stage.is-reduced .pv-camera, .pv-stage.is-reduced .pv-atmosphere * { animation: none; }
.pv-stage.is-reduced .pv-mote { opacity: .35; }
@keyframes pv-camera-trip {
  0%, 100% { transform: scale(1.015) translate3d(0, 0, 0); }
  30% { transform: scale(1.085) translate3d(-.8%, 1.1%, 0); }
  65% { transform: scale(1.065) translate3d(.9%, -.8%, 0); }
}
@keyframes pv-window-light { from { opacity: .45; transform: translate3d(2%, -1%, 0) rotate(-3deg); } to { opacity: .95; transform: translate3d(-3%, 1%, 0) rotate(2deg); } }
@keyframes pv-warmth { from { opacity: .45; } to { opacity: .85; } }
@keyframes pv-dust { 0% { opacity: 0; transform: translate3d(0, 24px, 0); } 25%, 65% { opacity: .65; } 100% { opacity: 0; transform: translate3d(-36px, -48px, 0); } }
@keyframes pv-foreground { from { opacity: .3; transform: translate3d(0, 0, 0) scale(.9); } to { opacity: .7; transform: translate3d(26px, -18px, 0) scale(1.1); } }
@keyframes pv-opening { from { opacity: .75; } to { opacity: 0; } }
@keyframes pv-caption-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .home .home-header { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px 0; }
  .home-header nav { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 22px; padding-bottom: 4px; scrollbar-width: thin; }
}
@media (max-width: 700px) {
  .home .home-header { width: calc(100% - 32px); gap: 8px; padding-top: 15px; }
  .home-header .logo { width: 132px; }
  .home-header nav a { font-size: .72rem; }
  .pv-hero { width: calc(100% - 24px); }
  .pv-stage { aspect-ratio: 3 / 2; max-height: none; }
  .pv-stage::after { inset: 7px; }
  .pv-camera { animation-name: pv-camera-mobile; }
  .pv-scene-label { top: 17px; left: 17px; font-size: .48rem; letter-spacing: .15em; }
  .pv-scene-label span { padding-inline: 4px; }
  .pv-toggle { right: 13px; bottom: 13px; padding: 8px 12px; font-size: .6rem; }
  .pv-caption { align-items: flex-start; flex-direction: column; gap: 20px; padding: 23px 6px 20px; }
  .pv-caption h1 { font-size: clamp(1.04rem, 4.4vw, 1.45rem); letter-spacing: .02em; }
  .pv-eyebrow { font-size: .65rem; }
  .pv-entry { gap: 28px; font-size: .75rem; }
  .home #TOP { margin-top: 26px; padding: 18px 4px; }
  .home #aboutus { margin-top: 44px; }
  .home #aboutus p { font-size: .82rem; line-height: 2.2; overflow-wrap: anywhere; }
}
@keyframes pv-camera-mobile { 0%, 100% { transform: scale(1.01); } 30% { transform: scale(1.055) translate3d(-.4%, .5%, 0); } 65% { transform: scale(1.04) translate3d(.4%, -.4%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
  .pv-curtain { display: none; }
  .pv-mote { opacity: .35; }
}

@media (pointer: coarse), (max-height: 500px) { .pv-stage { max-height: none; } }
