:root {
  --sumi: #0C1030;
  --sumi-2: #121844;
  --ivory: #FFF6EC;
  --smoke: #ABAED0;
  --urushi: #FF4A2E;
  --urushi-text: #FF6B4F;
  --sakura: #FF9EC4;
  --gold: #FFC94D;
  --cobalt: #3D63FF;
  --hair: rgba(255, 246, 236, .16);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --wide: "Syncopate", "Jost", "Helvetica Neue", Arial, sans-serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--sumi); color: var(--ivory); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--sakura); color: var(--sumi); }
.cap { font-family: var(--wide); font-weight: 700; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; text-wrap: balance; }
em { font-style: italic; }

.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-2%,3%)} 50%{transform:translate(3%,-2%)} 75%{transform:translate(-3%,-1%)} 100%{transform:translate(0,0)} }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--ivory); border-radius: 50%; mix-blend-mode: difference; transition: width .35s, height .35s, margin .35s; display: flex; align-items: center; justify-content: center; }
.cursor span { font-family: var(--wide); font-weight: 700; font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--sumi); opacity: 0; transition: opacity .2s; }
.cursor.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.big span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .5s, backdrop-filter .5s; }
header.solid { background: rgba(12,16,48,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.logo b { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: .32em; }
.logo span { font-family: var(--mincho); font-weight: 800; font-size: 20px; color: var(--urushi-text); }
nav ul { list-style: none; display: flex; gap: 40px; align-items: center; }
nav a { text-decoration: none; position: relative; padding: 6px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .4s; }
nav a:hover::after { right: 0; }
nav a.book { display: inline-flex; align-items: center; gap: 12px; color: var(--sakura); }
nav a.book::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--urushi); box-shadow: 0 0 0 4px rgba(255,74,46,.18); animation: beat 2.4s infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 9px rgba(255,74,46,0); } }
nav a.book::after { background: var(--sakura); }
@media (max-width: 800px) { nav li.hide { display: none; } }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero .bg { position: absolute; inset: -4%; background: url("../img/torii.jpg") 60% 50% / cover no-repeat; transform-origin: 70% 60%; animation: kenburns 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,16,48,.9) 0%, rgba(12,16,48,.45) 42%, rgba(12,16,48,0) 70%), linear-gradient(0deg, rgba(12,16,48,.9) 0%, transparent 32%); }
.hero .in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 9vh, 110px); }
.hero .eyebrow { color: var(--gold); margin-bottom: 26px; }
.hero h1 { font-size: clamp(64px, 9.4vw, 158px); line-height: .9; max-width: 9.5ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: rise 1.4s cubic-bezier(.2,.7,.1,1) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero .tag { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.6vw, 60px); color: var(--sakura); margin-top: 10px; animation: rise 1.4s .26s cubic-bezier(.2,.7,.1,1) both; }
@keyframes rise { from { transform: translateY(40%); opacity: .0001; } to { transform: none; opacity: 1; } }
.hero .foot { display: flex; justify-content: space-between; align-items: end; margin-top: 56px; gap: 24px; color: var(--smoke); }
.hero .foot .line { width: 120px; height: 1px; background: var(--hair); position: relative; overflow: hidden; display: inline-block; vertical-align: middle; margin-left: 14px; }
.hero .foot .line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: sweep 2.4s infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.tate { position: absolute; right: clamp(20px, 5vw, 72px); top: 50%; transform: translateY(-50%); z-index: 2; writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 500; font-size: 18px; letter-spacing: .5em; color: var(--ivory); opacity: .85; }
.tate b { color: var(--urushi-text); font-weight: 800; }
@media (max-width: 760px) { .tate { display: none; } .hero .bg { background-position: 70% 50%; } }

/* bilingual marquee */
.marq { overflow: hidden; border-block: 1px solid var(--hair); background: linear-gradient(90deg, var(--urushi), #FF6F7D 50%, var(--sakura)); color: var(--sumi); }
.marq .tr { display: flex; width: max-content; animation: mq 30s linear infinite; }
.marq span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 52px); padding: 14px 40px; white-space: nowrap; }
.marq b { font-family: var(--mincho); font-style: normal; font-weight: 800; font-size: .7em; margin-left: 12px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Manifesto over silk */
.silk { position: relative; min-height: 120vh; display: flex; align-items: center; overflow: hidden; }
.silk .bg { position: absolute; inset: -10% 0; background: url("../img/silk2.jpg") center / cover no-repeat; will-change: transform; }
.silk::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--sumi) 0%, rgba(12,16,48,.62) 25%, rgba(12,16,48,.62) 75%, var(--sumi) 100%); }
.silk .wrap { position: relative; z-index: 2; }
.silk .cap { color: var(--gold); margin-bottom: 36px; display: block; }
.silk p.q { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.8vw, 78px); line-height: 1.08; max-width: 18ch; }
.silk p.q .w { opacity: .18; transition: opacity .6s; }
.silk p.q .w.on { opacity: 1; }
.silk p.q em { color: var(--gold); }
.silk .sig { margin-top: 44px; display: flex; align-items: center; gap: 18px; color: var(--smoke); }
.seal { width: 46px; height: 46px; background: var(--urushi); display: grid; place-items: center; font-family: var(--mincho); font-weight: 800; color: var(--ivory); font-size: 24px; box-shadow: inset 0 0 0 2px rgba(239,233,223,.25); }

/* Atelier split */
.atelier { padding: clamp(110px, 14vw, 200px) 0; }
.atelier .grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 32px; align-items: center; }
.frame { position: relative; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s cubic-bezier(.2,.7,.1,1); }
.frame.in img { transform: scale(1); }
.frame figcaption { position: absolute; left: 18px; bottom: 16px; color: var(--ivory); opacity: .8; }
.atelier .frame { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.atelier .txt { grid-column: 7 / span 6; }
.atelier .txt .cap { color: var(--gold); }
.atelier h2 { font-size: clamp(44px, 5.6vw, 92px); line-height: .98; margin: 22px 0 28px; }
.atelier h2 em { color: var(--sakura); }
.atelier p { color: var(--smoke); max-width: 46ch; font-size: 17px; }
.atelier .stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 48px; border-top: 1px solid var(--hair); padding-top: 28px; }
.atelier .stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; color: var(--ivory); }
.atelier .stats span { font-family: var(--wide); font-weight: 400; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); }
@media (max-width: 900px) { .atelier .frame, .atelier .txt { grid-column: 1 / -1; } }

/* Scenes list with floating image */
.scenes { padding: 40px 0 clamp(110px, 14vw, 200px); position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(48px, 6.4vw, 108px); line-height: .95; }
.sec-head h2 em { color: var(--sakura); }
.sec-head p { color: var(--smoke); max-width: 36ch; }
.rows { list-style: none; border-top: 1px solid var(--hair); }
.rowi { display: grid; grid-template-columns: 90px minmax(0,1fr) minmax(0, 340px); gap: 32px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--hair); position: relative; cursor: default; }
.rowi .rn { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); }
.rowi h3 { font-size: clamp(38px, 4.6vw, 76px); line-height: 1; transition: transform .6s cubic-bezier(.2,.7,.1,1), color .4s; }
.rowi:hover h3 { transform: translateX(22px); font-style: italic; }
.rowi p { color: var(--smoke); font-size: 15px; }
.rowi .arr { font-family: var(--serif); font-size: 28px; color: var(--smoke); transition: transform .4s, color .4s; justify-self: end; }

.rowi .deliv { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 10px 30px; color: var(--smoke); font-family: var(--wide); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.rowi .deliv span::before { content: "✦ "; color: var(--sakura); }
.floater { position: fixed; left: 0; top: 0; width: 300px; height: 380px; z-index: 40; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%,-50%) scale(.8) rotate(-3deg); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.1,1); }
.floater.show { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(-3deg); }
.floater img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.floater img.on { opacity: 1; }
@media (max-width: 860px) { .rowi { grid-template-columns: 52px 1fr; } .rowi p { grid-column: 2; } .floater { display: none; } }

/* Productions gallery */
.prod { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(120% 90% at 100% 0%, rgba(61,99,255,.28), transparent 60%), var(--sumi-2); border-block: 1px solid var(--hair); }
.rail { display: flex; gap: 28px; overflow-x: auto; padding: 8px clamp(20px, 5vw, 72px) 26px; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--sakura) transparent; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.plate { flex: 0 0 min(76vw, 460px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; text-decoration: none; user-select: none; }
.plate .art { aspect-ratio: 4 / 5; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.plate:hover .art { transform: scale(.97); }
.plate .art .tc { position: absolute; left: 18px; bottom: 16px; opacity: .8; }
.plate .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--hair); padding-top: 14px; }
.plate h3 { font-size: 34px; line-height: 1; }
.plate .meta .cap { color: var(--smoke); }
.plate p { color: var(--smoke); font-size: 14px; max-width: 40ch; }
.a1 { background: #075BFF; } .a1 b { font-family: Arial, sans-serif; font-weight: 900; font-size: 40px; color: #fff; border: 4px solid #fff; padding: 6px 16px; }
.a2 { background: radial-gradient(circle at 50% 40%, #E6EBD8, #B5C399); color: #2E4419; } .a2 b { font-family: var(--mincho); font-weight: 800; font-size: 92px; color: #3F5E22; line-height: 1.1; } .a2 small { letter-spacing: .6em; font-weight: 600; padding-left: .6em; }
.a3 { background: radial-gradient(circle at 50% 35%, #262014, #0B0A08); color: #D8C79A; } .a3 b { font-family: var(--serif); font-weight: 400; letter-spacing: .4em; font-size: 26px; padding-left: .4em; } .a3 small { letter-spacing: .5em; color: #8C8573; font-size: 10px; }
.a4 { background: var(--ivory); color: var(--sumi); align-items: flex-start !important; justify-content: flex-end !important; padding: 30px; } .a4 small { position: absolute; top: 30px; left: 30px; right: 30px; border-top: 3px solid var(--sumi); padding-top: 10px; font-size: 10px; letter-spacing: .3em; } .a4 b { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: .95; }

/* Method over camera */
.method { position: relative; min-height: 110vh; overflow: hidden; display: flex; align-items: flex-end; }
.method .bg { position: absolute; inset: -10% 0; background: url("../img/camera.jpg") center 40% / cover no-repeat; will-change: transform; }
.method::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--sumi) 0%, rgba(12,16,48,.25) 30%, rgba(12,16,48,.88) 72%, var(--sumi) 100%); }
.method .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(70px, 10vw, 140px); }
.method h2 { font-size: clamp(48px, 6.4vw, 108px); line-height: .95; margin-bottom: 56px; }
.method h2 em { color: var(--sakura); }
.takes { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; border-top: 1px solid var(--hair); }
.take { padding-top: 26px; position: relative; }
.take::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.4s cubic-bezier(.2,.7,.1,1); }
.takes.in .take::before { width: 100%; }
.take:nth-child(2)::before { transition-delay: .2s; } .take:nth-child(3)::before { transition-delay: .4s; } .take:nth-child(4)::before { transition-delay: .6s; }
.take .cap { color: var(--gold); }
.take h3 { font-size: 34px; margin: 14px 0 10px; line-height: 1.05; }
.take p { color: var(--smoke); font-size: 14px; }
@media (max-width: 860px) { .takes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .takes { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.contact .frame { min-height: 520px; }
.contact .frame img { height: 100%; }
.contact .side { padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.contact .cap { color: var(--gold); }
.contact h2 { font-size: clamp(48px, 5.6vw, 96px); line-height: .95; margin: 22px 0 18px; }
.contact h2 em { color: var(--sakura); }
.contact .side > p { color: var(--smoke); margin-bottom: 40px; max-width: 42ch; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.f { display: grid; gap: 4px; } .f.full { grid-column: 1 / -1; }
label, legend { font-family: var(--wide); font-weight: 700; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--smoke); }
input[type=text], input[type=email], select, textarea { width: 100%; font: 300 22px/1.3 var(--serif); color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid var(--hair); padding: 8px 0 10px; border-radius: 0; transition: border-color .3s; }
select { font-size: 19px; } select option { color: #000; font-family: var(--sans); font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--gold); }
textarea { min-height: 84px; resize: vertical; }
fieldset { border: 0; grid-column: 1 / -1; display: grid; gap: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts { gap: 8px 30px; }
.opts label { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--smoke); padding: 4px 0; cursor: pointer; transition: color .3s; display: inline-flex; align-items: center; gap: 10px; }
.opts label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--smoke); transition: all .3s; }
.opts input:checked + label { color: var(--ivory); font-style: italic; }
.opts input:checked + label::before { background: var(--sakura); border-color: var(--sakura); box-shadow: 0 0 12px var(--sakura); }
.opts input:focus-visible + label { outline: 1px solid var(--gold); outline-offset: 3px; }
.btn { display: inline-flex; align-items: center; gap: 18px; background: none; color: var(--ivory); border: 0; padding: 6px 0; font: italic 300 26px/1 var(--serif); letter-spacing: 0; cursor: pointer; text-decoration: none; position: relative; }
.btn .lbl { position: relative; padding-bottom: 6px; }
.btn .lbl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sakura); transform-origin: right; transition: transform .6s cubic-bezier(.2,.7,.1,1); }
.btn:hover .lbl::after { transform: scaleX(0); }
.btn .orb { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--sakura); display: grid; place-items: center; font-family: var(--sans); font-style: normal; font-size: 16px; color: var(--sakura); position: relative; overflow: hidden; transition: color .5s, border-color .5s; }
.btn .orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, var(--urushi), var(--sakura)); transform: scale(0); transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.btn .orb i { position: relative; font-style: normal; transition: transform .5s; }
.btn:hover .orb { color: var(--sumi); border-color: transparent; }
.btn:hover .orb::before { transform: scale(1); }
.btn:hover .orb i { transform: translateX(3px) rotate(-45deg); }
.btn.small { font-size: 20px; } .btn.small .orb { width: 40px; height: 40px; font-size: 13px; }
.formfoot { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.formfoot small { color: var(--smoke); }
.err { color: var(--urushi-text); font-size: 13px; }
.done { display: none; grid-column: 1 / -1; gap: 14px; padding: 22px; border: 1px solid var(--hair); background: var(--sumi-2); }
.done.show { display: grid; }
.done pre { white-space: pre-wrap; font: 13px/1.6 ui-monospace, Menlo, monospace; color: var(--smoke); max-height: 220px; overflow: auto; }
.done .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact .frame { min-height: 60vh; } form { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--hair); padding: 56px 0 64px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
footer .big { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; }
footer .big span { font-family: var(--mincho); font-weight: 800; color: var(--urushi-text); font-size: .7em; margin-left: 10px; }
footer .col { display: grid; gap: 6px; color: var(--smoke); font-size: 14px; }
footer .col .cap { color: var(--gold); margin-bottom: 6px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } }

/* reveal: only elements below the fold at load are hidden, then shown */
.pre { opacity: 0; transform: translateY(36px); }
.rv { transition: opacity 1.2s cubic-bezier(.2,.7,.1,1), transform 1.2s cubic-bezier(.2,.7,.1,1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pre { opacity: 1; transform: none; }
  .frame img { transform: none; }
}
