.masthead { background: #0c0e10; backdrop-filter: none; }
.opening, .story-stage { position: relative; isolation: isolate; overflow: hidden; background: #090c10; color: #f7f7f2; }
.opening { min-height: 36rem; height: min(90svh, 62rem); display: flex; align-items: end; }
.opening-scene, .opening-scene img, .opening-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.opening-scene img { display: block; object-fit: cover; object-position: 58% 42%; }
.opening-shade { background: linear-gradient(0deg, #07090cf2 0%, #07090ca8 20%, transparent 65%), linear-gradient(80deg,#070a104a,transparent 65%); }
.opening-title { position: relative; padding-bottom: clamp(5.5rem, 11vh, 8rem); }
.opening-title h1 { line-height: 1; margin: 0 0 1.25rem; }
.opening-title img { display: block; width: min(48rem, 76%); height: auto; filter: brightness(0) invert(.98); }
.opening-title p { margin: 0; font-size: clamp(1.12rem,1.85vw,1.85rem); font-weight: 520; letter-spacing: .015em; line-height: 1.5; }
.opening-title .opening-detail { margin-top: .55rem; max-width: 46em; color: #e1e4e4; font-size: clamp(1rem,1.18vw,1.2rem); font-weight: 430; line-height: 1.65; text-wrap: balance; }
.opening-links,.door-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.85rem; margin-top: 1.1rem; }
.opening-links a,.door-actions a,.film-rail a,.story-mast a { min-height: 44px; display: inline-flex; align-items: center; gap: 1rem; color: inherit; text-decoration: none; font-size: 1rem; }
.opening-links a,.door-actions a { border-bottom: 1px solid #c7c9c3; }
.opening-links a + a { color: #e0e2dc; border-color: #8a8d85; }
.opening-links a:hover,.door-actions a:hover,.film-rail a:hover,.story-mast a:hover { text-decoration: underline; text-underline-offset: .3em; }
.film-rail,.story-mast { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; }
.film-rail { bottom: .55rem; border-top: 1px solid #c8ccc53b; }
@media (prefers-reduced-motion: no-preference) {
  .opening-scene { animation: camera-settle 4.6s cubic-bezier(.18,.63,.24,1) both; }
  .opening-shade { animation: light-settle 3.6s ease-out both; }
  @keyframes camera-settle { from { transform: scale(1.065) translateX(-.7%); } to { transform: none; } }
  @keyframes light-settle { from { opacity: .65; } to { opacity: 1; } }
}

.symbol-story { background: #0a0c0f; }
.story-stage {
  display: grid; align-items: end; min-height: clamp(35rem,65svh,56rem);
  background: radial-gradient(ellipse at 70% 42%, #252b32 0, #14191f 34%, #0a0c0f 74%);
}
.story-mast { top: .9rem; z-index: 2; }
.story-mast h2,.case-head h2,.door-copy > span { font-size: 1.05rem; font-weight: 500; letter-spacing: .05em; }
.symbol-camera {
  position: absolute; width: min(68vw,88svh,67rem); aspect-ratio: 1; left: 69%; top: 50%;
  translate: -50% -50%; pointer-events: none;
}
.symbol-camera img { position: absolute; height: auto; display: block; }
.far-bank { left: 11.0677%; top: 15.4948%; width: 67.7083%; }
.near-bank { left: 21.224%; top: 35.4167%; width: 67.3177%; }
.stone { left: 47.7865%; top: 45.8333%; width: 8.3984%; }
.reality-type { display: none; }
.story-words { z-index: 1; position: relative; margin-block: 4rem; pointer-events: none; }
.story-words p { font-size: clamp(2.15rem,4.35vw,5rem); font-weight: 500; line-height: 1.31; letter-spacing: -.045em; margin: 0 0 .8rem; }
.story-words span { display: block; max-width: 24em; color: #e2e4e3; font-size: clamp(1.05rem,1.33vw,1.35rem); line-height: 1.8; text-wrap: balance; }
.story-first { display: none; }
.symbol-story.directed { height: calc(213svh - var(--mast,0px)); }
.directed .story-stage { position: sticky; top: var(--mast,0px); min-height: 0; height: calc(100svh - var(--mast,0px)); }
.directed .reality-type { display: block; position: absolute; top: 48%; left: 50%; translate: -50% -50%; color: #f3f2ec; font: 740 clamp(4rem,21vw,24rem)/1 "Bahnschrift","Arial Narrow",Arial,sans-serif; letter-spacing: -.064em; white-space: nowrap; }
.directed .story-words { display: grid; align-items: end; margin-bottom: clamp(2.25rem,6vh,6rem); }
.directed .story-words > div { display: block; grid-area: 1/1; opacity: 0; }

.bank-cases { background: #111517; color: #edeee9; padding: clamp(2.4rem,4.3vw,5.3rem) 0; border-top: 1px solid #3c4245; }
.case-head,.case-content { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.case-head { padding-bottom: .65rem; border-bottom: 1px solid #424849; }
.case-head h2 { color: #bec4c2; }
.case-dots { display: flex; }
.case-dots button { cursor: pointer; width: 32px; height: 44px; background: transparent; border: 0; display: grid; place-items: center; padding: 0; }
.case-dots button::before { content: ""; width: 7px; height: 7px; border: 1px solid #939b9a; border-radius: 100%; }
.case-dots button[aria-pressed="true"]::before { background: #e3c294; border-color: #e3c294; }
.case-dots button:hover::before { border-color: white; }
.case-content { padding-top: clamp(1.45rem,3.4vw,3.8rem); gap: 4vw; }
.case-copy { flex: 0 1 38%; }
.case-copy h3 { font-size: clamp(1.65rem,3vw,3.4rem); line-height: 1.4; letter-spacing: -.035em; font-weight: 510; }
.bank-cases .reading-caption { margin: .65rem 0 0; min-height: 3.6em; font-size: 1.06rem; color: #cdd1cc; line-height: 1.8; }
.case-diagram { flex: 1; max-width: 44rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.case-part { position: relative; text-align: center; color: #dce2e1; }
.case-part + .case-part::before { content: ""; position: absolute; right: calc(50% + 37px); width: calc(100% - 74px); top: 33px; height: 1px; background: #5e6461; }
.case-part svg { display: block; width: 64px; height: 64px; margin: 0 auto .5rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.case-part span { display: block; font-size: clamp(1.03rem,1.45vw,1.5rem); line-height: 1.5; font-weight: 510; }
.crossing { color: #e2c190; }

.rain-door { padding: clamp(3rem,6vw,7rem) 0; background: #0a100e; color: #eeefe7; }
.door-inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(2rem,6vw,6rem); }
.door-copy > span { color: #bbcbb9; }
.door-copy h2 { font-size: clamp(2.55rem,4.5vw,5.6rem); line-height: 1.3; font-weight: 505; letter-spacing: -.045em; margin: .6rem 0 1.05rem; }
.door-copy p { color: #d7ded4; }
.rain-frame { display: block; overflow: hidden; }
.rain-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; }
.offerings { background: #eae9e3; }
.people { color-scheme: light; color: #222523; background: #efeee9; padding: clamp(3.3rem,6.5vw,8rem) 0; }
.people h2 { font-size: clamp(1.7rem,2.55vw,3.2rem); font-weight: 540; letter-spacing: -.045em; margin-bottom: clamp(1.7rem,3.3vw,3.5rem); }
.profile { border-top: 1px solid #9c9f97; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 2.5vw; padding-top: clamp(1.5rem,3.8vw,4rem); }
.profile + .profile { margin-top: clamp(2.25rem,4vw,4.6rem); }
.profile header p { font-size: 1.02rem; color: #50564f; }
.profile h3 { font-size: clamp(2.35rem,3.7vw,4.5rem); font-weight: 510; margin: 1.3rem 0 0; line-height: 1.48; letter-spacing: .035em; }
.profile rt { font-size: .94rem; letter-spacing: .13em; font-weight: 450; }
.profile-bio { max-width: 36em; font-size: clamp(1.06rem,1.28vw,1.32rem); line-height: 1.95; }
.profile-bio p + p { margin-top: .7rem; }
.company { border-top: 1px solid #c0c3ba; }
@media (max-width: 45rem) {
  .opening { min-height: 33rem; height: 84svh; max-height: 53rem; }
  .opening-title { padding-bottom: 5.05rem; }
  .opening-title img { width: min(100%,30rem); }
  .opening-title p { font-size: 1.1rem; }
  .opening-title .opening-detail { max-width: 26em; font-size: 1rem; }
  .opening-links { margin-top: .6rem; }
  .film-rail a { font-size: .95rem; }
  .story-stage { min-height: 35rem; }
  .symbol-camera { left: 50%; top: 36%; width: min(104vw,66svh); }
  .symbol-story.directed { height: 194svh; }
  .story-words, .directed .story-words { margin-bottom: 2rem; }
  .story-words p { font-size: clamp(2.1rem,8vw,3.2rem); }
  .case-head,.case-content { align-items: start; flex-direction: column; gap: 0; }
  .case-head { border: 0; padding-bottom: 0; }
  .case-dots { margin-left: -6px; }
  .case-dots button { width: 32px; }
  .case-content { padding-top: .5rem; }
  .case-copy { width: 100%; }
  .case-copy h3 { font-size: 1.75rem; }
  .case-diagram { width: 100%; margin-top: 1.1rem; grid-template-columns: 1fr 1.3fr 1fr; }
  .case-part svg { width: 55px; height: 55px; }
  .case-part + .case-part::before { top: 27px; width: calc(100% - 64px); right: calc(50% + 32px); }
  .case-part span { font-size: 1rem; white-space: nowrap; }
  .door-inner,.profile { grid-template-columns: minmax(0,1fr); }
  .profile { gap: 1.15rem; }
  .profile header p { font-size: 1rem; }
}
@media (max-height: 34rem) and (orientation: landscape) {
  .symbol-camera { width: min(54vw,92svh); left: 72%; }
  .directed .story-words { margin-bottom: 1rem; }
  .story-words p { font-size: 1.8rem; line-height: 1.18; }
  .story-words span { font-size: 1rem; max-width: 25em; }
}

.opening-scene img {object-position:50% 31.4%}
.opening-scene {transform-origin:50% 31.4%}
.opening-shade {background:linear-gradient(0deg,#060709e8 0%,#07090aa8 20%,transparent 61%)}
.opening-title {pointer-events:none}
.opening-title a {pointer-events:auto}
.opening-offer span{display:inline-block;white-space:nowrap}
.opening-offer span:not(:last-child)::after{content:"・"}
@media(max-width:45rem){.mast-inner nav{gap:0 clamp(.55rem,2.3vw,1rem)}}
.wake-key {position:absolute;z-index:2;left:50%;top:31.4%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;gap:.65em;width:clamp(110px,16vw,310px);height:clamp(44px,6vh,68px);color:#cbe7ca;text-decoration:none;font:550 clamp(.94rem,1.18vw,1.34rem)/1 var(--sans);letter-spacing:.12em;text-shadow:0 0 9px #a1efad78,0 0 28px #9cf5b553}
.wake-key svg {width:1.1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.3}
.wake-key:hover,.wake-key:focus-visible {color:#efffea;text-shadow:0 0 13px #c7ffd8}
.wake-key:active {translate:0 2px}
@media(prefers-reduced-motion:no-preference){.wake-key span,.wake-key svg{animation:phosphor 3.8s ease-in-out infinite alternate}@keyframes phosphor{from{opacity:.66}to{opacity:1}}}
.case-stage {position:relative}
.case-ghost {position:absolute;inset:0;pointer-events:none;align-self:start}
.case-dots button::before {transition:background .45s,border-color .45s}
.profile header p span {display:inline-block;margin-left:.7em;padding-left:.7em;border-left:1px solid #a5a7a0;line-height:1.1}
.profile-bio p+p {color:#454a46}
.inquiry-intro p {margin-top:1.3rem;max-width:23em;font-size:1.05rem;line-height:1.9}
.contact-form {max-width:46rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem 1.5rem;align-items:start}
.contact-form .full {grid-column:1/-1}
.contact-form label {display:block;font-size:1.03rem;font-weight:560}
.contact-form small {margin-left:.4em;font-size:.82rem;font-weight:450;color:#565f59}
.contact-form input,.contact-form textarea {display:block;width:100%;margin-top:.35rem;padding:.7rem .8rem;border:1px solid #929991;background:#faf9f5;color:#141815;font:inherit;border-radius:2px}
.contact-form textarea {resize:vertical;min-height:7rem}
.contact-form :is(input,textarea,button):focus-visible {outline:2px solid #466651;outline-offset:3px}
.contact-form button {justify-self:start;display:inline-flex;align-items:center;gap:2rem;min-height:48px;padding:.65rem 1.25rem;background:#1b2320;border:1px solid #1b2320;color:#fff;font-size:1rem;cursor:pointer;white-space:nowrap}
.contact-form button:hover {background:#36413c}
.contact-form button:disabled {opacity:.55;cursor:wait}
.contact-trap {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.form-note,.form-status {font-size:1rem;line-height:1.7;color:#495349}
.form-status:empty {display:none}
@media(max-width:45rem){.case-ghost{bottom:auto}.wake-key{width:clamp(120px,41vw,235px)}.inquiry-intro p{max-width:none}.opening-title{padding-bottom:4.4rem}}
@media(max-width:36rem){.contact-form{grid-template-columns:1fr}.case-copy h3{min-height:1.4em}}
@media(max-height:40rem) and (min-width:45rem){.opening-title img{max-width:34rem}.opening-title{padding-bottom:4rem}}
