/*
 * Bird's-eye (鳥瞰図) artist page — page-birds-eye.php (port of design preview 06).
 * Everything is scoped under .be so the page's own look (washi paper, gold すやり霞, Lora italics)
 * does not leak into the site header/footer. Brand colours come from palette.css tokens
 * (--bg, --paper, --ink, --ink-soft, --muted, --line, --accent), fonts from base.css; the gold,
 * map and print colours below are the page's own art palette and stay literal.
 * Clashing preview class names were renamed: wrap → be-wrap, eyebrow → be-eyebrow,
 * contact → be-contact, mail → be-mail, armed → be-armed. Reveals use base.css .rv.
 */
.be {
	--gold-1: #E6CC7F;
	--gold-2: #C99A3E;
	--gold-ink: #8A6A26;
	--shade: rgba(60, 42, 20, .22);
	--t-xs: .75rem; --t-s: .875rem; --t-m: 1rem; --t-l: clamp(1.25rem, 1rem + 1vw, 1.6rem);
	--t-xl: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); --t-xxl: clamp(3.4rem, 2rem + 6vw, 7.5rem);
	--arch: 999px 999px 10px 10px;
	background: var(--bg); color: var(--ink);
	font-size: var(--t-m); line-height: 1.9; letter-spacing: 0;
}
html[lang="fa"] .be { line-height: 2; }
.be img { max-width: 100%; display: block; }
/* The sticky site header floats over the first scene, as the preview's own header did. */
.be > .hero:first-of-type { margin-top: calc(-1 * var(--nav-h)); }
.be .duo { margin: 0; }
/* Loupe hint: mouse vs touch wording */
.be .be-coarse { display: none; }
@media not ((hover: hover) and (pointer: fine)) { .be .be-fine { display: none; } .be .be-coarse { display: inline; } }
/* WordPress page content (if any) sits under the bio */
.be .be-entry { margin-top: 1.4em; max-width: 36em; color: var(--ink-soft); }



/* Layout: one painting per screen on washi white. Scroll scenes are sticky stages driven by --p (0→1).
   Signatures: gold すやり霞 clouds from the painter's own work, Persiss arch, terracotta 朱 used sparingly.
   A single light "paper" look on purpose: the paintings are watercolour on white paper. */
.be .be-wrap { padding-left: var(--gut-l); padding-right: var(--gut-r); }
.be .inner { max-width: 1180px; margin-inline: auto; }
.be .inner > *, .be .atelier > * { min-width: 0; }
.be .ja { font-family: var(--f-ja); }
.be .en { font-family: var(--f-latin); font-style: italic; letter-spacing: .01em; }
.be .be-eyebrow { display: flex; align-items: center; gap: .7em; font-family: var(--f-latin); font-style: italic; font-size: var(--t-s); color: var(--muted); }
.be .be-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.be h2 { font-family: var(--f-ja); font-weight: 600; font-size: var(--t-xl); line-height: 1.45; letter-spacing: .04em; margin: .35em 0 .5em; text-wrap: balance; }
.be p { margin: 0 0 1em; }
.be .lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: var(--ink-soft); max-width: 34em; }
.be .note { font-size: var(--t-xs); color: var(--muted); }


/* ---------- gold kasumi ---------- */
.be .kasumi { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(120, 86, 20, .12)); }

/* ---------- scenes ---------- */
.be [data-scene] { position: relative; --p: 0; }
.be .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- hero ---------- */
.be .hero { height: 250vh; }
.be .hero .stage { display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 35%; }
@media (min-width: 721px) { .be .hero .stage { padding-right: calc(var(--p) * 0vw + (1 - var(--p)) * 16vw); } }
.be .hero__sheet { position: relative; width: min(70vw, 1080px, 112svh); aspect-ratio: 1600 / 1131; transform-origin: 70% 62%;
	transform: translate3d(0, calc(4svh - var(--p) * 6svh), 0) rotateX(calc((1 - var(--p)) * 52deg)) rotateZ(calc((1 - var(--p)) * -13deg)) scale(calc(.86 + var(--p) * var(--zoom-end, .5)));
	box-shadow: 0 calc(50px - var(--p) * 40px) 90px var(--shade); background: #fff; will-change: transform; }
.be .hero__sheet img { width: 100%; height: 100%; object-fit: cover; }
.be .hero__sheet::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.be .hero .k { width: var(--w); transform: translate3d(calc(var(--p) * var(--dx)), 0, 0); opacity: calc(1 - var(--p) * 1.15); will-change: transform; }
.be .k1 { --w: 64vw; --dx: -78vw; top: 16%; left: -14%; z-index: 3; }
.be .k2 { --w: 52vw; --dx: 70vw; top: 27%; right: -12%; z-index: 1; }
.be .k3 { --w: 44vw; --dx: -64vw; top: 56%; left: 8%; z-index: 3; }
.be .k4 { --w: 70vw; --dx: 82vw; bottom: 9%; right: -18%; z-index: 3; }
.be .k5 { --w: 50vw; --dx: -90vw; bottom: 3%; left: -20%; z-index: 1; }
.be .hero__title { position: absolute; z-index: 5; top: calc(76px + 3svh); right: max(5vw, var(--gut-r)); display: flex; flex-direction: row-reverse; gap: .9rem; align-items: flex-start;
	opacity: calc(1 - var(--p) * 2.4); transform: translateY(calc(var(--p) * -6svh)); }
.be .hero__title h1 { margin: 0; writing-mode: vertical-rl; font-family: var(--f-ja); font-weight: 700; font-size: var(--t-xxl); line-height: 1; letter-spacing: .14em; }
.be .hero__title p { margin: .4em 0 0; writing-mode: vertical-rl; font-family: var(--f-ja); font-weight: 500; font-size: clamp(1rem, .85rem + .6vw, 1.35rem); letter-spacing: .3em; color: var(--ink-soft); }
.be .hero__title .seal { writing-mode: vertical-rl; margin-top: .5em; padding: .5em .25em; border: 1px solid var(--accent); color: var(--accent); font-family: var(--f-ja); font-size: var(--t-xs); letter-spacing: .2em; line-height: 1; }
.be .hero__foot { position: absolute; z-index: 5; left: var(--gut-l); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); max-width: 26rem; opacity: calc(1 - var(--p) * 2.4); }
.be .hero__foot .en { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--ink); margin: 0 0 .2em; }
.be .hero__foot p { margin: 0; font-size: var(--t-s); color: var(--ink-soft); }
.be .hint { position: absolute; z-index: 5; right: var(--gut-r); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-latin); font-style: italic; font-size: var(--t-xs); color: var(--muted); opacity: calc(1 - var(--p) * 3); }
.be .hint i { width: 1px; height: 46px; background: linear-gradient(var(--muted) 0 50%, transparent 50%) 0 0 / 1px 200%; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.be .hero__cap { position: absolute; z-index: 5; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); padding: .5em 1.1em; background: color-mix(in srgb, var(--bg) 90%, transparent); font-family: var(--f-ja); font-size: var(--t-s); white-space: nowrap; letter-spacing: .08em;
	opacity: clamp(0, calc((var(--p) - .78) * 6), 1); }
.be .hero__cap small { color: var(--muted); margin-left: .8em; font-size: var(--t-xs); }
@media (max-width: 720px) {
	.be .hero { height: 230vh; }
	.be .hero__sheet { width: 112vw; --zoom-end: 1.05; }
	.be .k1 { --w: 92vw; top: 30%; left: -36%; } .be .k2 { --w: 80vw; top: 38%; right: -40%; } .be .k3 { --w: 70vw; top: 58%; left: -10%; }
	.be .k4 { --w: 96vw; bottom: 20%; right: -44%; } .be .k5 { --w: 80vw; bottom: 14%; left: -40%; }
	.be .hero__title { top: 78px; }
	.be .hero__foot { max-width: 62vw; }
}

/* ---------- intro ---------- */
.be .intro { padding-block: clamp(96px, 14vw, 180px); }
.be .intro .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.be .intro h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); margin-top: .2em; }
.be .fields { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.be .fields li { display: grid; gap: .2em; padding: 1em 0; border-bottom: 1px solid var(--line); }
.be .fields span { font-family: var(--f-ja); font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.be .fields small { font-family: var(--f-latin); font-style: italic; color: var(--muted); font-size: var(--t-s); line-height: 1.4; }
.be .fields-cap { margin: 0 0 .8em; font-size: var(--t-xs); color: var(--muted); letter-spacing: .08em; }
@media (max-width: 860px) { .be .intro .inner { grid-template-columns: 1fr; } }

/* ---------- line → colour ---------- */
.be .ink { height: 320vh; background: var(--bg); --a: 0; --b: 0; --b2: 0; --full: 0; }
.be .ink .stage { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 90px var(--gut-r) 40px var(--gut-l); max-width: 1500px; margin-inline: auto; }
.be .ink__text h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.be .steps { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; gap: 1.1em; }
.be .steps li { display: grid; grid-template-columns: 2.4em 1fr; gap: 0 .6em; opacity: .38; transition: opacity .5s var(--ease); }
.be .steps li.on { opacity: 1; }
.be .steps b { font-family: var(--f-latin); font-style: italic; font-weight: 500; color: var(--accent); }
.be .steps strong { font-family: var(--f-ja); font-weight: 600; font-size: 1.1rem; display: block; line-height: 1.5; }
.be .steps span { font-size: var(--t-s); color: var(--ink-soft); line-height: 1.7; }
.be .duo { position: relative; width: 100%; max-width: min(100%, calc((100svh - 150px) * 1.57)); aspect-ratio: 1600 / 1019; justify-self: center; background: #fff; box-shadow: 0 30px 70px rgba(60, 42, 20, .12); }
.be .duo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.be .duo__line { -webkit-mask-image: linear-gradient(112deg, #000 calc(var(--a) * 140% - 22%), transparent calc(var(--a) * 140%)); mask-image: linear-gradient(112deg, #000 calc(var(--a) * 140% - 22%), transparent calc(var(--a) * 140%)); }
.be .duo__col { -webkit-mask-image: var(--blob1), var(--blob2), var(--blob3), linear-gradient(rgba(0,0,0,var(--full)) 0 0); mask-image: var(--blob1), var(--blob2), var(--blob3), linear-gradient(rgba(0,0,0,var(--full)) 0 0);
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: 30% 26%, 74% 58%, 12% 88%, 0 0; mask-position: 30% 26%, 74% 58%, 12% 88%, 0 0;
	-webkit-mask-size: calc(var(--b) * 300%) auto, calc(var(--b2) * 300%) auto, calc(var(--b2) * 220%) auto, 100% 100%; mask-size: calc(var(--b) * 300%) auto, calc(var(--b2) * 300%) auto, calc(var(--b2) * 220%) auto, 100% 100%; }
.be .duo figcaption { position: absolute; left: 0; top: 100%; margin-top: 10px; font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 860px) {
	.be .ink .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 18px; padding-top: 84px; }
	.be .ink__text h2 { margin: .2em 0 0; }
	.be .ink__text .lead { display: none; }
	.be .steps { margin-top: .4em; gap: .4em; }
	.be .steps li { display: none; }
	.be .steps li.on { display: grid; }
	.be .duo { align-self: center; }
}

/* ---------- loupe ---------- */
.be .look { padding-block: clamp(96px, 12vw, 160px); }
.be .look .inner { display: grid; gap: clamp(28px, 4vw, 48px); }
.be .look__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.be .look__head > div { min-width: 0; max-width: 36em; }
.be .loupe-fig { position: relative; margin: 0; touch-action: pan-y; cursor: zoom-in; background: #fff; box-shadow: 0 30px 70px rgba(60, 42, 20, .10); user-select: none; -webkit-user-select: none; }
.be .loupe-fig img { width: 100%; height: auto; }
.be .loupe { position: absolute; left: 0; top: 0; width: var(--d, 190px); height: var(--d, 190px); border-radius: 50%; pointer-events: none; background-color: #fff; background-repeat: no-repeat;
	box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 0 0 2px rgba(29,26,22,.55), 0 18px 40px rgba(0,0,0,.28); will-change: transform; }
.be .loupe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.35), transparent 42%); }
.be .look__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--t-xs); color: var(--muted); }
.be .look__meta b { font-family: var(--f-latin); font-style: italic; font-weight: 500; color: var(--accent); font-size: var(--t-s); }
@media (max-width: 720px) { .be .loupe { --d: 128px; } }

/* ---------- atlas ---------- */
.be .atlas { padding-block: clamp(96px, 12vw, 160px); background: var(--paper); }
.be .atlas .inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.be .atlas__view { perspective: 1300px; perspective-origin: 50% 20%; padding-block: 40px 10px; min-width: 0; position: sticky; top: 90px; }
.be .plane { position: relative; width: min(100%, 540px); aspect-ratio: 1000 / 1072; margin-inline: auto; transform-style: preserve-3d; transform: rotateX(38deg) rotateZ(-4deg) translateY(-4%); transition: transform 1.8s var(--ease); background: #F8F5EE; box-shadow: 0 1px 0 var(--line), 0 40px 70px rgba(60, 42, 20, .14); }
.be .plane svg.grid { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.be .grid .grat line { stroke: rgba(29,26,22,.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.be .grid text { fill: var(--muted); font-family: var(--f-latin); font-style: italic; font-size: 17px; }
.be .grid .wash { fill: none; stroke: #8DB9C0; stroke-opacity: .5; stroke-width: 10; stroke-linejoin: round; filter: url(#coast); }
.be .grid .land { fill: url(#landwash); stroke: #3B352D; stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.be .grid .inset rect { fill: #F8F5EE; stroke: rgba(29,26,22,.3); vector-effect: non-scaling-stroke; }
.be .grid .inset__lbl { font-family: var(--f-ja); font-style: normal; font-size: 18px; fill: var(--ink-soft); }
.be .grid .scale line { stroke: var(--ink-soft); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.be .grid .north path { fill: var(--ink-soft); }
.be .grid .north text { font-style: normal; font-size: 18px; fill: var(--ink-soft); }
.be .pin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.be .pin::before { content: ""; position: absolute; left: -5px; top: -3px; width: 10px; height: 6px; border-radius: 50%; background: rgba(29,26,22,.25); }
.be .pin__stick { position: absolute; left: -1px; bottom: 0; transform-style: preserve-3d; width: 2px; height: var(--h); background: var(--ink); transform-origin: 50% 100%; transform: rotateX(-90deg); transition: transform 1s var(--ease) var(--dl, 0s); }
.be .pin__head { position: absolute; left: 50%; top: 0; transform-origin: 50% 100%; transform: translate(-50%, -100%) rotateX(52deg); display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--bg); border: 1px solid var(--ink); font-family: var(--f-latin); font-size: 11px; line-height: 1; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, opacity .3s, transform .4s var(--ease); }
.be .pin.hot .pin__head, .be .pin__head:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translate(-50%, -100%) rotateX(52deg) scale(1.18); }
.be .plane.has-hot .pin:not(.hot) .pin__head { opacity: .38; }
.be .plane.has-hot .pin:not(.hot) .pin__stick { background: rgba(29,26,22,.3); }
/* hover card: flat, outside the 3D plane, so it always reads straight */
.be .atlas__tag { position: absolute; left: 0; top: 0; z-index: 5; width: 244px; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px 10px 10px; background: #FBF9F4; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 1px 2px rgba(60,42,20,.06), 0 18px 44px rgba(60,42,20,.18); pointer-events: none; opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) translateY(6px); transition: opacity .2s; }
.be .atlas__tag.on { opacity: 1; transform: translate(var(--x, 0), var(--y, 0)); transition: opacity .25s, transform .4s var(--ease); }
.be .atlas__tag img { display: block; width: 68px; height: 50px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.be .atlas__tag .no { display: block; font-family: var(--f-latin); font-style: italic; font-size: 12px; line-height: 1; color: var(--accent); letter-spacing: .05em; margin-bottom: 5px; }
.be .atlas__tag b { display: block; font-family: var(--f-ja); font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink); }
.be .atlas__tag small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.be .atlas__tag::after { content: ""; position: absolute; left: var(--cx, 50%); bottom: -6px; width: 10px; height: 10px; background: #FBF9F4; border: solid var(--line); border-width: 0 1px 1px 0; transform: translateX(-50%) rotate(45deg); }
.be .atlas__tag.below::after { bottom: auto; top: -6px; border-width: 1px 0 0 1px; }
html[lang="fa"] .be .atlas__tag .no { font-style: normal; }
.be .be-armed:not(.in) .plane { transform: rotateX(0deg) rotateZ(0deg) translateY(0); }
.be .be-armed:not(.in) .pin__stick { transform: rotateX(-90deg) scaleY(0); }
.be .places { list-style: none; margin: 1.2em 0 0; padding: 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.be .places li + li { border-top: 1px solid var(--line); }
.be .places button { width: 100%; display: grid; grid-template-columns: 2em 1fr auto; gap: 0 .8em; align-items: baseline; padding: .7em 0; background: none; border: 0; text-align: left; cursor: pointer; }
.be .places button:hover .pl, .be .places li.hot .pl { color: var(--accent); }
.be .places .no { font-family: var(--f-latin); font-style: italic; color: var(--muted); font-size: var(--t-s); }
.be .places .pl { font-family: var(--f-ja); font-weight: 600; transition: color .3s; min-width: 0; }
.be .places .pl small { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--t-xs); color: var(--muted); }
.be .places .co { font-family: var(--f-latin); font-size: var(--t-xs); color: var(--muted); white-space: nowrap; }
.be .places .sep { padding: 1em 0 .3em; font-size: var(--t-xs); color: var(--muted); letter-spacing: .1em; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .be .atlas .inner { grid-template-columns: 1fr; } .be .atlas__view { order: -1; padding-top: 70px; position: relative; top: 0; } }

/* ---------- works ---------- */
.be .works { padding-block: clamp(96px, 12vw, 160px); }
.be .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4em 0 2em; }
.be .filters button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: .45em 1em; font-family: var(--f-ja); font-size: var(--t-s); cursor: pointer; line-height: 1.4; transition: background .3s, color .3s, border-color .3s; }
.be .filters button b { font-family: var(--f-latin); font-style: italic; font-weight: 500; margin-right: .35em; color: var(--accent); }
.be .filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.be .filters button[aria-pressed="true"] b { color: var(--gold-1); }
.be .grid-works { columns: 3 300px; column-gap: clamp(16px, 2.4vw, 32px); perspective: 1600px; }
.be .work { display: block; width: 100%; break-inside: avoid; margin: 0 0 clamp(26px, 3vw, 40px); padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
/* each work as a matted sheet: rises in 3D on reveal, tilts toward the pointer with a moving sheen */
.be .work__img { position: relative; display: block; overflow: hidden; padding: clamp(7px, 1vw, 13px); background: #fff; box-shadow: 0 1px 0 var(--line), 0 14px 30px rgba(60, 42, 20, .07); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease), box-shadow .7s var(--ease); will-change: transform; }
.be .work__img img { display: block; width: 100%; height: auto; }
.be .work__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), rgba(255,255,255,0) 50%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.be .work:hover .work__img, .be .work:focus-visible .work__img { box-shadow: 0 1px 0 var(--line), 0 34px 60px rgba(60, 42, 20, .2); }
.be .work:hover .work__img::after { opacity: 1; }
.be .work.tilt .work__img { transition: transform .12s linear, box-shadow .7s var(--ease); }
.be .work.wv { transform-origin: 50% 100%; transition: opacity .9s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.be .work.wv:not(.in) { opacity: 0; transform: translateY(56px) rotateX(24deg) scale(.96); }
.be .press__more .work.wv:not(.in) { transform: translateY(40px) rotateX(16deg); }
.be .work__meta { display: grid; gap: .1em; padding-top: .8em; }
.be .work__cat { font-family: var(--f-ja); font-size: var(--t-xs); letter-spacing: .06em; color: var(--accent); line-height: 1.5; }
.be .work__t { font-family: var(--f-ja); font-weight: 600; line-height: 1.5; }
.be .work__p { font-size: var(--t-xs); color: var(--muted); line-height: 1.6; }
.be .work[hidden] { display: none; }
@media (max-width: 560px) { .be .grid-works { columns: 2; column-gap: 14px; } .be .work__t { font-size: .9rem; } }

/* ---------- press / book ---------- */
.be .press { height: 230vh; background: var(--ink); color: var(--bg); --o: 0; }
.be .press .stage { display: grid; grid-template-rows: auto 1fr; align-content: center; gap: clamp(16px, 3vh, 36px); padding: 84px var(--gut-r) 32px var(--gut-l); }
.be .press__head { max-width: 1180px; width: 100%; margin-inline: auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.be .press__head > div { min-width: 0; max-width: 38em; }
.be .press .be-eyebrow { color: #B9AE9C; }
.be .press h2 { color: var(--bg); }
.be .press .lead { color: #D8CFC0; }
.be .book-wrap { perspective: 2000px; display: grid; place-items: center; min-height: 0; }
.be .book { position: relative; width: min(100%, 1100px, calc((100svh - 300px) * 1.414)); aspect-ratio: 1.414; transform-style: preserve-3d;
	transform: translateX(calc((1 - var(--o)) * -25%)) rotateX(calc((1 - var(--o)) * 18deg)) scale(calc(.9 + var(--o) * .1)); cursor: zoom-in; }
.be .book__r, .be .leaf { position: absolute; top: 0; width: 50%; height: 100%; }
.be .book__r { right: 0; background: var(--be-mag) 100% 0 / 200% 100% no-repeat #fff; box-shadow: 18px 30px 60px rgba(0,0,0,.35); }
.be .book__r::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 12%; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); }
.be .leaf { left: 0; transform-origin: 100% 50%; transform-style: preserve-3d; transform: rotateY(calc((1 - var(--o)) * 179deg)); }
.be .leaf__f, .be .leaf__b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.be .leaf__f { background: var(--be-mag) 0 0 / 200% 100% no-repeat #fff; box-shadow: -18px 30px 60px rgba(0,0,0,.35); }
.be .leaf__f::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 12%; background: linear-gradient(-90deg, rgba(0,0,0,.18), transparent); }
.be .leaf__b { transform: rotateY(180deg); background: var(--bg); color: var(--ink); display: grid; place-items: center; box-shadow: 18px 30px 60px rgba(0,0,0,.35); }
.be .leaf__b .cover { display: flex; flex-direction: row-reverse; gap: 1.2em; align-items: flex-start; }
.be .leaf__b .cover b { writing-mode: vertical-rl; font-family: var(--f-ja); font-weight: 700; font-size: clamp(1.8rem, 1rem + 3.4vw, 3.6rem); letter-spacing: .25em; }
.be .leaf__b .cover span { writing-mode: vertical-rl; font-family: var(--f-latin); font-style: italic; font-size: var(--t-s); color: var(--muted); }
.be .leaf__b .cover i { writing-mode: vertical-rl; font-style: normal; font-family: var(--f-ja); font-size: var(--t-xs); color: var(--accent); border: 1px solid var(--accent); padding: .4em .2em; letter-spacing: .2em; }
.be .press__more { background: var(--ink); color: var(--bg); padding-block: 8px clamp(80px, 10vw, 140px); }
.be .press__more .inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); perspective: 1400px; }
.be .press__more .work__img { background: #2a2620; box-shadow: none; padding: 0; }
.be .press__more .work__t { color: var(--bg); }
.be .press__more .work__p { color: #B9AE9C; }
.be .press__more .work__cat { color: var(--gold-1); }
@media (max-width: 720px) { .be .press__more .inner { grid-template-columns: 1fr 1fr; } .be .press__more .work:first-child { grid-column: 1 / -1; } }

/* ---------- in place ---------- */
.be .place { padding-block: clamp(96px, 12vw, 160px); }
.be .place .inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; }
.be .place figure { margin: 0; }
.be .place figcaption { font-size: var(--t-xs); color: var(--muted); padding-top: .6em; }
.be .place .big img { width: 100%; aspect-ratio: 1.38; object-fit: cover; }
.be .place .side { display: grid; gap: clamp(20px, 3vw, 40px); min-width: 0; }
.be .place .side img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.be .place .side img.fit { object-fit: contain; background: #fff; padding: 5%; box-sizing: border-box; }
.be .place .text { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(16px, 3vw, 40px); }
.be .place .text > * { min-width: 0; }
@media (max-width: 860px) { .be .place .inner, .be .place .text { grid-template-columns: 1fr; } .be .place .side { grid-template-columns: 1fr 1fr; } .be .place .side img { aspect-ratio: 1; } }

/* ---------- profile ---------- */
.be .profile { padding-block: clamp(96px, 12vw, 160px); background: var(--paper); }
.be .profile .inner { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.be .portrait { margin: 0; }
.be .portrait__slot { aspect-ratio: 4 / 5; border-radius: var(--arch); border: 1px dashed #B9AE9C; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: var(--t-s); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(185,174,156,.12) 14px 15px); padding: 24px; }
.be .portrait__slot b { display: block; font-family: var(--f-ja); font-weight: 600; color: var(--ink-soft); font-size: var(--t-m); margin-bottom: .3em; }
.be .tag { display: inline-block; font-size: var(--t-xs); letter-spacing: .1em; color: var(--accent); border: 1px solid var(--accent); padding: .1em .7em; border-radius: 999px; vertical-align: middle; margin-left: .6em; font-family: var(--f-body); font-weight: 500; }
.be .profile .name { font-family: var(--f-ja); font-weight: 600; font-size: var(--t-l); margin: 0 0 .2em; }
.be .profile .bio { max-width: 36em; color: var(--ink-soft); }
.be .profile .bio p { position: relative; }
.be .sig { display: flex; gap: 18px; align-items: center; margin-top: 1.8em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.be .sig img { width: 180px; height: auto; mix-blend-mode: multiply; }
.be .sig span { font-size: var(--t-xs); color: var(--muted); }
.be .atelier { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2.4em; max-width: 520px; }
.be .atelier img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.be .atelier figure { margin: 0; }
.be .atelier figcaption { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 720px) { .be .profile .inner { grid-template-columns: 1fr; } .be .portrait { max-width: 260px; } }

/* ---------- contact ---------- */
.be .be-contact { position: relative; padding-block: clamp(110px, 14vw, 200px); overflow: hidden; text-align: center; }
.be .be-contact .inner { position: relative; z-index: 2; max-width: 760px; }
.be .be-contact h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.be .uses { list-style: none; padding: 0; margin: 1.6em auto 2.4em; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.be .uses li { font-family: var(--f-ja); font-size: var(--t-s); padding: .45em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 80%, transparent); }
.be .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.be .btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.8em; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); text-decoration: none; font-family: var(--f-ja); font-weight: 600; cursor: pointer; transition: background .3s, border-color .3s; }
.be .btn:hover { background: var(--accent); border-color: var(--accent); }
.be .btn.ghost { background: transparent; color: var(--ink); }
.be .btn.ghost:hover { color: var(--bg); }
.be .be-mail { margin-top: 1.4em; font-size: var(--t-s); color: var(--muted); }
.be .be-mail span:last-child { user-select: all; -webkit-user-select: all; color: var(--ink); font-family: var(--f-latin); }
.be .be-contact .kasumi { opacity: .9; }
.be .be-contact .kc1 { width: 46vw; left: -12vw; top: 14%; }
.be .be-contact .kc2 { width: 40vw; right: -10vw; bottom: 12%; }

/* ---------- reveal ---------- */

/* ---------- viewer ---------- */
.be .viewer { position: fixed; inset: 0; z-index: 100; background: #181511; color: var(--bg); display: grid; grid-template-rows: 1fr auto; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.be .viewer[hidden] { display: none; }
.be .v-stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; margin: 12px var(--gut-r) 0 var(--gut-l); }
.be .v-stage.drag { cursor: grabbing; }
.be .v-stage img { position: absolute; transform-origin: 50% 50%; max-width: none; user-select: none; -webkit-user-drag: none; background: #fff; }
.be .v-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut-r) 16px var(--gut-l); }
.be .v-cap { margin: 0; min-width: 0; font-family: var(--f-ja); line-height: 1.5; }
.be .v-cap small { display: block; font-family: var(--f-body); font-size: var(--t-xs); color: #B9AE9C; }
.be .v-btns { display: flex; gap: 8px; flex-shrink: 0; }
.be .v-links { display: flex; flex-wrap: wrap; gap: .2em 1.2em; margin-top: .35em; font-family: var(--f-body); font-size: var(--t-xs); }
.be .v-links a { color: var(--gold-1); text-decoration: none; border-bottom: 1px solid rgba(214,180,106,.4); white-space: nowrap; }
@media (max-width: 560px) { .be .v-bar { flex-wrap: wrap; row-gap: 10px; } .be .v-cap { flex: 1 1 100%; } .be .v-btns { margin-inline-start: auto; } }
.be .v-links a:hover { border-color: var(--gold-1); }
.be .v-btns button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(250,248,243,.35); background: transparent; color: var(--bg); cursor: pointer; display: grid; place-items: center; }
.be .v-btns button:hover { border-color: var(--gold-1); color: var(--gold-1); }
.be .v-btns svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.be .v-hint { position: absolute; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); font-size: var(--t-xs); color: #B9AE9C; background: rgba(24,21,17,.7); padding: .3em .9em; border-radius: 999px; pointer-events: none; transition: opacity .6s; white-space: nowrap; }
.be .v-zoom { font-family: var(--f-latin); font-style: italic; font-size: var(--t-xs); color: #B9AE9C; min-width: 3em; text-align: right; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.be .hero, .be .ink, .be .press { height: auto; }
	.be .stage { position: relative; height: auto; min-height: 0; }
	.be .hero .stage { min-height: 100svh; }
	.be .hero { --p: 0 !important; }
	.be .ink { --a: 1 !important; --b: 1 !important; --b2: 1 !important; --full: 1 !important; }
	.be .ink .stage { padding-block: 96px; }
	.be .steps li { opacity: 1; display: grid !important; }
	.be .press { --o: 1 !important; }
	.be .press .stage { padding-block: 96px 40px; }
	.be .book { width: min(100%, 1100px); }
	.be .hint i { animation: none; }
	.be .rv, .be .plane, .be .pin__stick, .be .pin__head, .be .atlas__tag, .be .work, .be .work__img { transition: none !important; }
	.be .work.wv:not(.in) { opacity: 1; transform: none; }
}


/* EN and FA: horizontal hero title (vertical writing is for Japanese only) */
html[lang="en"] .be, html[lang="fa"] .be { --t-xxl: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem); }
html[lang="en"] .be .hero__title, html[lang="fa"] .be .hero__title { right: auto; left: auto; inset-inline-start: var(--gut-l); flex-direction: column; align-items: flex-start; gap: .5rem; max-width: min(88vw, 36rem); }
html[lang="en"] .be .hero__title h1, html[lang="en"] .be .hero__title p, html[lang="en"] .be .hero__title .seal, html[lang="fa"] .be .hero__title h1, html[lang="fa"] .be .hero__title p, html[lang="fa"] .be .hero__title .seal { writing-mode: horizontal-tb; }
html[lang="en"] .be .hero__title h1 { letter-spacing: 0; line-height: 1.05; }
html[lang="en"] .be .hero__title p, html[lang="fa"] .be .hero__title p { letter-spacing: .02em; margin: 0; }
html[lang="en"] .be .hero__title .seal, html[lang="fa"] .be .hero__title .seal { padding: .35em .8em; margin: .3em 0 0; letter-spacing: .06em; }
@media (min-width: 721px) { html[lang="en"] .be .hero .stage, html[lang="fa"] .be .hero .stage { padding-right: 0; padding-top: 14svh; } }
.be .hero__foot { left: auto; inset-inline-start: var(--gut-l); }
.be .hint { right: auto; inset-inline-end: var(--gut-r); }
html[lang="en"] .be h2 { letter-spacing: 0; font-weight: 500; }
.be .places .co, .be .be-mail span:last-child, .be .v-zoom { direction: ltr; unicode-bidi: isolate; }

/* FA-TEMP: Persian (RTL). Delete this block, the Vazirmatn font and FA_ENABLED to remove Persian. */
html[lang="fa"] .be h2 { font-weight: 700; letter-spacing: 0; line-height: 1.6; }
html[lang="fa"] .be .hero__title h1 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
html[lang="fa"] .be .be-eyebrow, html[lang="fa"] .be .hint, html[lang="fa"] .be .fields small, html[lang="fa"] .be .places .no { font-family: var(--f-body); font-style: normal; }
html[lang="fa"] .be .hero__foot .en { font-family: var(--f-body); font-style: normal; font-weight: 500; }
html[lang="fa"] .be .be-eyebrow::before { order: 0; }
