/* Ahavah Lookbook — full-screen, one page at a time. */

:root {
	--ground: #D9D9D6;
	--g: 217, 217, 214; /* ground as rgb for gradients */
	--ink: #242321;
	--muted: #5F5D58;
	--line: rgba(36, 35, 33, .2);
	--accent: #96605E;
	--note-bg: #EFE3D3;
	--note-ink: #6B4A2C;
	--note-line: #C9A57E;
	--photo-ink: #232220;
	--on-dark: #F3F1EC;
	--backdrop: rgba(24, 23, 22, .46);
	--surface: #E8E8E5;

	--f-display: "Italiana", "Didot", "Bodoni 72", "Times New Roman", serif;
	--f-text: "Newsreader", "Noto Serif TC", "Songti TC", Georgia, serif;
	--f-ui: "Jost", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
	--f-tc: "Noto Serif TC", "Songti TC", "PMingLiU", serif;

	--app-h: 100vh;
	--bar-h: 56px;
	--gut: clamp(16px, 3vw, 44px);
	--safe-t: env(safe-area-inset-top, 0px);
	--safe-b: env(safe-area-inset-bottom, 0px);
	--dur: 950ms;
	--i: 0;
	--drag: 0px;
	color-scheme: light;
}
@supports (height: 100dvh) { :root { --app-h: 100dvh; } }

/* ---------- isolation & reset (theme CSS is removed on this page) ---------- */
html.ahv-html,
html.ahv-html body {
	margin: 0 !important;
	padding: 0 !important;
	height: 100%;
	overflow: hidden !important;
	overscroll-behavior: none;
}
body.ahv-lookbook {
	background: var(--ground);
	color: var(--ink);
	font: 400 17px/1.7 var(--f-text);
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}
/* stray markup other plugins print into wp_footer must not cover the lookbook */
body.ahv-lookbook > *:not(.ahv-app):not(script):not(style):not(link):not(template) { display: none !important; }

.ahv-app, .ahv-app *, .ahv-app *::before, .ahv-app *::after { box-sizing: border-box; }
/* width/height attributes added by WordPress or optimisers must never distort images */
.ahv-app img, .ahv-app video { display: block; max-width: 100%; height: auto; border: 0; }
.ahv-app picture { display: contents; }
.ahv-app .photo { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ahv-app a { color: inherit; }
.ahv-app button { font: inherit; color: inherit; margin: 0; -webkit-appearance: none; appearance: none; }
.ahv-app h1, .ahv-app h2, .ahv-app h3, .ahv-app p, .ahv-app figure, .ahv-app ul { margin: 0; }
.ahv-app [hidden] { display: none !important; }
.ahv-app :focus { outline: none; }
.ahv-app :focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pre { white-space: pre-line; }

/* ---------- paging engine ---------- */
.ahv-app { position: fixed; top: 0; left: 0; right: 0; height: var(--app-h); overflow: hidden; }
.viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pinch-zoom; }
.stage {
	position: relative;
	will-change: transform;
	transform: translate3d(0, calc(var(--i) * var(--app-h) * -1 + var(--drag)), 0);
	transition: transform var(--dur) cubic-bezier(.76, 0, .18, 1);
}
.stage.dragging { transition: none; }
.pg { position: relative; height: var(--app-h); overflow: hidden; display: grid; }

/* ---------- frame (no background blocks) ---------- */
.top {
	position: absolute; inset: 0 0 auto 0; z-index: 30;
	display: flex; justify-content: space-between; align-items: flex-start;
	padding: calc(var(--safe-t) + 20px) var(--gut) 0;
	pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { display: inline-block; line-height: 0; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
body[data-page]:not([data-page="home"]) .top .brand { opacity: 1; pointer-events: auto; }
.brand img { height: 40px; width: auto; transition: filter .6s; }
body[data-page="bridal"] .brand img { filter: invert(1); }
.chip {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	border: 1px solid var(--line); background: rgba(var(--g), .7); border-radius: 999px; padding: 8px 14px;
	font: 500 11px/1 var(--f-ui); letter-spacing: .16em;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.chip[aria-pressed="true"] .dot { background: var(--note-line); border-color: var(--note-line); }

.bar {
	position: absolute; inset: auto 0 0 0; z-index: 30;
	height: calc(var(--bar-h) + var(--safe-b));
	padding: 0 var(--gut) var(--safe-b);
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: none; border: 0;
	font-family: var(--f-ui); color: var(--ink);
	transition: color .6s;
}
.where { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-variant-numeric: tabular-nums; }
.where .num { font: 400 22px/1 var(--f-display); }
.where .of { font-size: 11px; opacity: .7; letter-spacing: .1em; }
.where .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctrls { display: flex; align-items: center; gap: 6px; flex: none; }
.step {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer;
	display: grid; place-items: center; transition: border-color .3s, opacity .3s;
}
.step:hover { border-color: currentColor; }
.step[disabled] { opacity: .3; cursor: default; }
.step i { width: 8px; height: 8px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; }
.step i.up { transform: translateY(2px) rotate(45deg); }
.step i.down { transform: translateY(-2px) rotate(225deg); }
.menu-btn {
	display: flex; align-items: center; gap: 12px; margin-left: 10px !important; padding: 10px 0; background: none; border: 0; cursor: pointer;
	font: 500 12px/1 var(--f-ui); letter-spacing: .2em;
}
.menu-btn i { display: grid; gap: 5px; width: 22px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 1px; background: currentColor; }
.menu-btn i::after { width: 62%; justify-self: end; }
body[data-page="bridal"] .bar { color: var(--on-dark); --line: rgba(243, 241, 236, .4); }

/* right rail: static dots + one sliding indicator */
.rail { position: absolute; right: calc(var(--gut) - 10px); top: 50%; transform: translateY(-50%); z-index: 29; display: flex; flex-direction: column; }
.rail .rdot { position: relative; display: block; width: 18px; height: 15px; }
.rail .rdot.gap { margin-top: 10px; }
.rail .rdot::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
	border-radius: 50%; background: var(--ink); opacity: .28; transition: opacity .3s;
}
.rail .rdot:hover::before { opacity: .7; }
.rail .rdot:focus-visible { outline-offset: 0; }
.rail-ind {
	position: absolute; left: 50%; top: 0; width: 5px; height: 21px; margin-left: -2.5px;
	border-radius: 3px; background: var(--accent); pointer-events: none;
	transform: translateY(var(--y, 0px));
	transition: transform .6s cubic-bezier(.76, 0, .18, 1);
}
body[data-page="bridal"] .rail .rdot::before { background: var(--on-dark); opacity: .45; }

/* ---------- type ---------- */
.eyebrow { font: 500 11px/1.4 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { font-weight: 500; color: var(--ink); }
.title { font: 400 clamp(46px, 5.6vw, 104px)/.95 var(--f-display); letter-spacing: .01em; text-wrap: balance; }
.title small { display: block; margin-top: .35em; font: 300 .26em/1.3 var(--f-tc); letter-spacing: .3em; }
.quote { font: italic 300 clamp(20px, 1.75vw, 28px)/1.45 var(--f-text); max-width: 30ch; text-wrap: pretty; }
.body { font-size: 15.5px; line-height: 1.8; color: var(--muted); max-width: 44ch; }
.tc { font-family: var(--f-tc); font-weight: 300; letter-spacing: .06em; line-height: 2.05; }
.link {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
	background: none; border: 0; border-bottom: 1px solid var(--accent); padding: 6px 0; cursor: pointer;
	font: 500 12px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.link:hover { color: var(--accent); }
.link::after { content: "→"; letter-spacing: 0; transition: transform .3s; }
.link:hover::after { transform: translateX(4px); }
.more { display: none; }
.mthumbs { display: none; }

.copy {
	position: relative; z-index: 3;
	display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2.8vh, 32px); min-width: 0; overflow: hidden;
	padding: calc(var(--safe-t) + clamp(84px, 11vh, 132px)) calc(var(--gut) + 40px) calc(var(--bar-h) + var(--safe-b) + clamp(24px, 5vh, 60px)) clamp(28px, 5vw, 96px);
}

/* ---------- gradients instead of colour blocks ---------- */
.pg::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
	height: calc(var(--bar-h) + var(--safe-b) + 110px);
	background: linear-gradient(to top, rgba(var(--g), .95) 0%, rgba(var(--g), .7) 45%, rgba(var(--g), 0) 100%);
}
.fig, .hero { position: relative; }
.piece .fig::after, .series .strip::after, .journey .hero::after {
	content: ""; position: absolute; inset: 0 0 0 auto; width: 32%; z-index: 1; pointer-events: none;
	background: linear-gradient(to right, rgba(var(--g), 0) 0%, rgba(var(--g), .55) 55%, rgba(var(--g), 1) 100%);
}

/* ---------- slow text reveal (only once the script runs) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.ahv-ready .rv {
		transition: opacity 1.5s ease, transform 1.8s cubic-bezier(.16, .7, .2, 1), filter 1.5s ease;
		transition-delay: calc(.5s + var(--k, 0) * .18s);
	}
	.ahv-ready .pg:not(.is-on) .rv {
		opacity: 0; transform: translateY(28px); filter: blur(5px);
		transition-duration: .35s; transition-delay: 0s;
	}
	.fig .photo, .hero .photo, .home .photo, .film .photo { transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); }
	.ahv-ready .pg:not(.is-on) .fig .photo,
	.ahv-ready .pg:not(.is-on) .hero .photo,
	.ahv-ready .home:not(.is-on) .photo,
	.ahv-ready .film:not(.is-on) .photo { transform: scale(1.05); }
}

/* notes layer — rendered only for logged-in editors */
.note { display: none; background: var(--note-bg); color: var(--note-ink); border-left: 2px solid var(--note-line); padding: 10px 14px; font: 400 13px/1.7 var(--f-ui); max-width: 46ch; }
.note b { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 2px; }
.note p { white-space: pre-line; font: italic 400 14px/1.6 var(--f-text); margin-top: 4px; }
html.notes-on .note { display: block; }

/* ---------- pages (desktop) ---------- */
.home .photo { position: absolute; inset: 0; }
.home::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(20deg, rgba(var(--g), .9) 0%, rgba(var(--g), .5) 28%, rgba(var(--g), 0) 52%);
}
.home .mark { position: absolute; z-index: 3; left: 66%; top: 50%; width: clamp(150px, 14vw, 270px); transform: translate(-10%, -30%); }
.home .mark img { width: 100%; }
.home .cue { position: absolute; z-index: 3; left: var(--gut); bottom: calc(var(--bar-h) + var(--safe-b) + 28px); color: var(--photo-ink); display: grid; gap: 12px; justify-items: start; }
.home .cue .eyebrow { color: var(--photo-ink); }
.home .cue p { font: italic 300 clamp(18px, 1.6vw, 24px)/1.4 var(--f-text); max-width: 26ch; }
.hint { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; font: 500 11px/1 var(--f-ui); letter-spacing: .2em; color: var(--photo-ink); }
.hint i { width: 1px; height: 28px; background: currentColor; transform-origin: top; animation: ahv-hint 2.2s ease-in-out infinite; }
.hint .t-touch { display: none; }
@media (pointer: coarse) { .hint .t-touch { display: inline; } .hint .t-mouse { display: none; } }
@keyframes ahv-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .hint i { animation: none; } }

.about { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 90px);
	padding: calc(var(--safe-t) + clamp(84px, 11vh, 132px)) calc(var(--gut) + 40px) calc(var(--bar-h) + var(--safe-b) + clamp(24px, 5vh, 60px)) var(--gut); }
.about .fig { height: 100%; max-height: 72vh; display: flex; align-items: center; }
.about .copy { padding: 0; }
.about-logo { width: 110px; }

.film .photo { position: absolute; inset: 0; }
.film::after { height: 62%; background: linear-gradient(to top, rgba(18, 17, 16, .72) 0%, rgba(18, 17, 16, .35) 45%, rgba(18, 17, 16, 0) 100%); }
.caption { position: absolute; z-index: 3; left: var(--gut); right: calc(var(--gut) + 96px); bottom: calc(var(--bar-h) + var(--safe-b) + clamp(24px, 5vh, 56px)); display: grid; gap: 14px; justify-items: start; color: var(--on-dark); max-width: 760px; }
.caption .eyebrow { color: var(--on-dark); opacity: .85; }
.caption p { font: italic 300 clamp(22px, 2.3vw, 36px)/1.35 var(--f-text); text-wrap: balance; }
.caption .link { border-color: var(--on-dark); }
.playctl { position: absolute; z-index: 4; right: calc(var(--gut) + 40px); bottom: calc(var(--bar-h) + var(--safe-b) + clamp(24px, 5vh, 56px));
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 241, 236, .6); background: none; color: var(--on-dark); cursor: pointer; display: grid; place-items: center; }
.playctl span { display: block; }
.ic-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ic-play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* story: background slider */
.slides { position: absolute; inset: 0; overflow: hidden; background: #3a3936; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-cur { opacity: 1; }
.slide .photo { transform: scale(1.02); transition: transform 7s linear; }
.slide.is-cur .photo { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .slide, .slide .photo { transition: none; transform: none; } }
.story::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(var(--g), .96) 0%, rgba(var(--g), .82) 26%, rgba(var(--g), .35) 44%, rgba(var(--g), 0) 60%);
}
.story .panel {
	position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: min(560px, 46vw);
	justify-content: center; align-items: flex-start;
	padding-left: var(--gut); padding-right: 24px;
}
.story .panel .title { font-size: clamp(44px, 4.8vw, 88px); }
.sdots { display: flex; gap: 2px; margin-top: 6px; }
.sdots button { position: relative; width: 30px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.sdots button::before {
	content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1px; background: var(--ink); opacity: .3;
}
.sdots button::after {
	content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1px; margin-top: -.5px; background: var(--accent);
	transform: scaleX(0); transform-origin: left;
}
.sdots button[aria-current="true"]::after { transform: scaleX(1); transition: transform 5s linear; height: 2px; }
.sdots.paused button[aria-current="true"]::after { transition: none; }

.journey { grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 500px); }
.journey .hero { overflow: hidden; }
.journey .hero .photo { object-position: 50% 42%; }
.jtitle { position: absolute; z-index: 3; left: var(--gut); bottom: calc(var(--bar-h) + var(--safe-b) + clamp(28px, 5vh, 60px)); color: var(--photo-ink); font: 400 clamp(56px, 7.4vw, 140px)/.9 var(--f-display); }
.jtitle span { display: block; padding-left: 1.1em; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.minis a { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; text-decoration: none; }
.minis img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.minis a:hover img { transform: scale(1.06); }
.minis span { position: absolute; left: 6px; bottom: 4px; font: 400 15px/1 var(--f-display); color: var(--photo-ink); }
.minis a.all { display: grid; place-items: center; border: 1px solid var(--line); font: 500 10px/1.5 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; text-align: center; color: var(--muted); }

.piece { grid-template-columns: auto minmax(0, 1fr); }
.piece .fig { height: 100%; width: min(calc(var(--app-h) * .667), 46vw); display: flex; overflow: hidden; }
.piece .fig.two { width: min(calc(var(--app-h) * 1.333), 58vw); }
.piece .fig img { flex: 1; min-width: 0; }
.pair { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 56px); align-items: start; }
.num-big { font: 400 clamp(90px, 11vw, 200px)/.8 var(--f-display); color: var(--accent); }
.journal .fig { width: min(calc(var(--app-h) * .856), 46vw); }

.series { grid-template-columns: minmax(0, 1fr) clamp(320px, 29vw, 480px); }
.strip { display: flex; height: 100%; min-width: 0; overflow: hidden; }
.strip img { min-width: 0; height: 100%; }
.series .title { font-size: clamp(40px, 3.9vw, 76px); }
.inset { display: flex; gap: 16px; align-items: flex-end; }
.inset button, .mthumbs button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.inset img { width: 92px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

/* short desktop screens: keep every page inside one screen */
@media (min-width: 901px) and (max-height: 760px) {
	.copy .body, html.notes-on .copy .note { display: none; }
	.more { display: inline-flex; }
	.pair { grid-template-columns: 1fr; }
	.title { font-size: clamp(40px, 4.6vw, 80px); }
	.minis { grid-template-columns: repeat(8, 1fr); gap: 5px; }
	.minis a.all { font-size: 0; }
}

/* ---------- menu ---------- */
.menu {
	position: absolute; inset: 0; z-index: 40; background: var(--ground);
	overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch;
	padding: calc(var(--safe-t) + 20px) var(--gut) calc(var(--safe-b) + 40px);
	animation: ahv-fade .35s ease;
}
@keyframes ahv-fade { from { opacity: 0; } to { opacity: 1; } }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(24px, 6vh, 72px); }
.menu-head img { height: 40px; width: auto; }
.menu .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); max-width: 1400px; }
.menu h3 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.menu ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.menu li a { display: flex; gap: 12px; align-items: baseline; padding: 3px 0; text-decoration: none; font: 400 clamp(22px, 2vw, 32px)/1.25 var(--f-display); }
.menu li a small { font: 400 11px/1 var(--f-ui); letter-spacing: .12em; color: var(--muted); min-width: 1.8em; font-variant-numeric: tabular-nums; }
.menu li a .zh { font: 300 13px/1 var(--f-tc); color: var(--muted); letter-spacing: .12em; }
.menu li a:hover, .menu li a[aria-current="true"] { color: var(--accent); }
.menu-foot { margin-top: clamp(28px, 6vh, 64px); }

/* ---------- dialogs ---------- */
.ahv-app dialog { border: 0; padding: 0; background: var(--ground); color: var(--ink); max-width: none; max-height: none; }
.ahv-app dialog::backdrop { background: var(--backdrop); }
.drawer { position: fixed; margin: 0 0 0 auto; inset: 0 0 0 auto; height: 100%; width: min(540px, 100%); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.drawer[open] { animation: ahv-slide .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes ahv-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer .in { padding: calc(var(--safe-t) + 22px) clamp(22px, 4vw, 56px) calc(var(--safe-b) + 56px); display: grid; gap: 20px; }
.drawer h3 { font: 400 clamp(38px, 4vw, 56px)/1 var(--f-display); }
.drawer-body { display: grid; gap: 22px; }
.drawer-body .pre { font-size: 18px; line-height: 1.85; }
.drawer-body .quote { max-width: none; }
.drawer-body .body { font-size: 16px; }
.x { justify-self: end; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; font: 500 12px/1 var(--f-ui); letter-spacing: .16em; }
.lightbox { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; background: #0f0f0e !important; overflow: visible; }
.lightbox .x { position: absolute; top: 10px; right: 10px; z-index: 2; color: #eee; border-color: rgba(255, 255, 255, .35); }
.lightbox img, .lightbox video { max-height: calc(var(--app-h) * .88); max-width: 92vw; width: auto; height: auto; }

/* ================================================================== */
/* Mobile & short landscape: full-bleed photo, text on a soft fade     */
/* ================================================================== */
@media (max-width: 900px), (max-height: 520px) {
	:root { --bar-h: 58px; }
	.rail { display: none; }
	.top { padding: calc(var(--safe-t) + 16px) 16px 0; }
	.brand img { height: 30px; }
	.bar { padding: 0 12px var(--safe-b) 18px; }
	.where { gap: 7px; }
	.where .lbl { font-size: 10.5px; letter-spacing: .1em; }
	.step { width: 38px; height: 38px; }
	.menu-btn { margin-left: 6px !important; }

	.pg { display: block; }
	.pg .fig, .journey .hero {
		position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: none; display: block;
	}
	.pg .fig .is-extra { display: none; }
	.pg .fig .photo { width: 100%; height: 100%; }
	.piece .fig::after, .series .strip::after, .journey .hero::after, .home::before, .story::before { display: none; }
	.piece .photo { object-position: 50% 16%; }
	.about .fig .photo { object-position: 30% 50%; }

	/* the soft fade that carries the text */
	.pg:not(.film)::after {
		height: 74%;
		background: linear-gradient(to top,
			rgba(var(--g), .97) 0%,
			rgba(var(--g), .93) 38%,
			rgba(var(--g), .62) 62%,
			rgba(var(--g), .22) 82%,
			rgba(var(--g), 0) 100%);
	}
	.film::after { height: 62%; }

	.pg .copy, .story .panel {
		position: absolute; z-index: 3; left: 0; right: 0; top: auto; width: auto;
		bottom: calc(var(--bar-h) + var(--safe-b) + 4px);
		max-width: none; max-height: calc(var(--app-h) - var(--bar-h) - var(--safe-b) - var(--safe-t) - 80px);
		justify-content: flex-end; align-items: stretch; gap: 10px; overflow: hidden;
		padding: 16px 22px 12px;
	}
	.about { padding: 0; }
	.copy .body, .copy [data-open-story], html.notes-on .copy .note, .copy .inset, .copy .minis a.all { display: none; }
	.pair { display: block; }
	.eyebrow { font-size: 10px; letter-spacing: .2em; }
	.title, .series .title, .story .panel .title { font-size: clamp(36px, 10.5vw, 48px); line-height: 1; }
	.title small { display: inline; margin: 0 0 0 .5em; font-size: .36em; vertical-align: middle; }
	.quote {
		font-size: 17.5px; line-height: 1.45; max-width: 34ch;
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
	}
	.link { font-size: 11px; }
	.about-logo { width: 64px; }
	.num-big { font-size: 64px; }
	.sdots { margin-top: 2px; }

	.more {
		display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
		margin-top: 2px; padding: 12px 0 4px; background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer;
		font: 500 11px/1 var(--f-ui); letter-spacing: .2em; text-align: left;
	}
	.more::after { content: "+"; font-size: 18px; font-weight: 300; letter-spacing: 0; }
	/* other photos: round thumbnails, bottom-right */
	.mthumbs {
		display: flex; flex-direction: column; gap: 10px;
		position: absolute; z-index: 4; right: 18px;
		bottom: calc(var(--bar-h) + var(--safe-b) + 64px);
	}
	.mthumbs button {
		width: 52px; height: 52px; flex: none; border-radius: 50%;
		box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 6px 16px rgba(20, 19, 18, .16);
	}
	.mthumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
	.has-mthumbs .copy { padding-right: 86px; }
	.has-mthumbs .copy .more { width: calc(100% + 64px); }

	.home::after { height: 46%; }
	.home .mark { left: 50%; top: 40%; transform: translate(-50%, -50%); width: min(52vw, 220px); }
	.home .cue { left: 22px; right: 22px; bottom: calc(var(--bar-h) + var(--safe-b) + 18px); }

	.caption { left: 22px; right: 22px; bottom: calc(var(--bar-h) + var(--safe-b) + 18px); }
	.caption p { font-size: 21px; }
	.playctl { right: 16px; bottom: auto; top: calc(var(--safe-t) + 12px); width: 40px; height: 40px; }

	.jtitle { top: calc(var(--safe-t) + 72px); bottom: auto; left: 22px; font-size: clamp(48px, 15vw, 72px); }
	.minis { grid-template-columns: repeat(7, 1fr); gap: 4px; }
	.minis span { font-size: 11px; left: 4px; bottom: 2px; }

	.menu-head img { height: 30px; }
	.menu .cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
	.menu li a { font-size: 22px; }
	.drawer { width: 100%; }
	.lightbox img, .lightbox video { max-width: 100vw; }
}
@media (max-width: 560px) {
	.menu .cols { grid-template-columns: 1fr; }
	.where .of { display: none; }
	.where .lbl { max-width: 40vw; }
}
@media (max-height: 520px) and (min-width: 560px) {
	/* phone in landscape: text on the right over a side fade */
	.pg:not(.film)::after {
		inset: 0 0 0 auto; width: 62%; height: 100%;
		background: linear-gradient(to left, rgba(var(--g), .96) 0%, rgba(var(--g), .88) 55%, rgba(var(--g), 0) 100%);
	}
	.pg .copy, .story .panel { left: auto; width: min(380px, 50vw); top: calc(var(--safe-t) + 68px); justify-content: center; }
	.quote { -webkit-line-clamp: 2; }
	.title, .series .title, .story .panel .title { font-size: 32px; }
	.mthumbs { right: auto; left: 18px; flex-direction: row; }
	.has-mthumbs .copy { padding-right: 22px; }
	.has-mthumbs .copy .more { width: 100%; }
	.jtitle { font-size: 44px; }
}
