/* ==========================================================================
   ST Portfolio — 滿版 slider / 作品內頁 slider / 燈箱
   ========================================================================== */

:root {
	--stpf-vh: 100vh;
	--stpf-safe-b: env(safe-area-inset-bottom, 0px);
	--stpf-ink: #1a1a1a;
	--stpf-on-dark: #f5f4f1;
}

@supports (height: 100dvh) {
	:root { --stpf-vh: 100dvh; }
}

/* 佈景主題若沒有全域 border-box，這裡自己顧好 */
.stpf-hero, .stpf-hero *,
.stpf-ps, .stpf-ps *,
.stpf-lb, .stpf-lb *,
.stpf-screen, .stpf-screen *,
.stpf-drawer, .stpf-drawer * { box-sizing: border-box; }

/* ==========================================================================
   滿版首頁 slider
   ========================================================================== */

.stpf-hero {
	position: relative;
	width: 100%;
	height: var(--stpf-hero-h, var(--stpf-vh));
	overflow: hidden;
	background: #16150f;
	color: var(--stpf-on-dark);
	isolation: isolate;
}

.stpf-hero__slides {
	position: absolute;
	inset: 0;
}

.stpf-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--stpf-fade, 1200ms) ease, visibility 0s linear var(--stpf-fade, 1200ms);
}

.stpf-hero__slide.is-cur {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s, 0s;
	z-index: 1;
}

.stpf-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.stpf-hero__img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: var(--stpf-hero-pos, center center);
	transform: scale(1.01);
	transition: transform 9s linear;
}

.stpf-hero__slide.is-cur .stpf-hero__img {
	transform: scale(var(--stpf-hero-zoom, 1.08));
}

/* 遮罩：底部漸層帶文字 */
.stpf-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(to top,
			rgba(12, 11, 10, var(--stpf-scrim, .55)) 0%,
			rgba(12, 11, 10, calc(var(--stpf-scrim, .55) * .55)) 38%,
			rgba(12, 11, 10, 0) 72%);
}

.stpf-hero__copy {
	position: absolute;
	z-index: 3;
	left: var(--stpf-hero-gut, clamp(20px, 5vw, 80px));
	right: var(--stpf-hero-gut, clamp(20px, 5vw, 80px));
	bottom: var(--stpf-hero-bottom, clamp(88px, 14vh, 150px));
	display: grid;
	gap: 10px;
	justify-items: start;
	max-width: 42ch;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .9s ease .25s, transform 1.1s cubic-bezier(.16, .7, .2, 1) .25s;
}

.stpf-hero__slide.is-cur .stpf-hero__copy {
	opacity: 1;
	transform: none;
}

/* 文字一律吃 .stpf-hero 的顏色（提高權重，蓋掉佈景主題對 h2 / a 的顏色設定） */
.stpf-hero .stpf-hero__copy,
.stpf-hero .stpf-hero__eyebrow,
.stpf-hero .stpf-hero__title,
.stpf-hero .stpf-hero__title a,
.stpf-hero .stpf-hero__meta,
.stpf-hero .stpf-hero__cta,
.stpf-hero .stpf-hero__cue {
	color: inherit;
	text-shadow: var(--stpf-hero-shadow, 0 1px 22px rgba(0, 0, 0, .35));
}

.stpf-hero__eyebrow {
	font-size: .78rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .85;
}

.stpf-hero__title {
	margin: 0;
	font-size: clamp(2rem, 5.2vw, 4.6rem);
	line-height: 1.02;
	font-weight: 400;
	letter-spacing: .01em;
}

.stpf-hero__title a {
	text-decoration: none;
}

.stpf-hero__meta {
	font-size: .85rem;
	letter-spacing: .08em;
	opacity: .8;
}

.stpf-hero__cta {
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	font-size: .76rem;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.stpf-hero__cta::after {
	content: "→";
	letter-spacing: 0;
	transition: transform .3s;
}

.stpf-hero__cta:hover::after { transform: translateX(5px); }

/* 整張可點 */
.stpf-hero__link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* 控制列 */
.stpf-hero__ui {
	position: absolute;
	z-index: 5;
	left: var(--stpf-hero-gut, clamp(20px, 5vw, 80px));
	right: var(--stpf-hero-gut, clamp(20px, 5vw, 80px));
	bottom: calc(var(--stpf-safe-b, 0px) + clamp(26px, 5vh, 54px));
	display: flex;
	align-items: center;
	gap: 14px;
}

.stpf-hero__dots {
	display: flex;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.stpf-hero button,
.stpf-ps button,
.stpf-lb button { font: inherit; color: inherit; }

.stpf-hero__dot {
	position: relative;
	width: 46px;
	max-width: 12vw;
	height: 20px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.stpf-hero__dot::before,
.stpf-hero__dot::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: currentColor;
}

.stpf-hero__dot::before { opacity: .35; }

.stpf-hero__dot::after {
	height: 2px;
	margin-top: -.5px;
	transform: scaleX(0);
	transform-origin: left;
}

.stpf-hero__dot[aria-current="true"]::after {
	transform: scaleX(1);
	transition: transform var(--stpf-auto, 6000ms) linear;
}

.stpf-hero__dots.is-paused .stpf-hero__dot[aria-current="true"]::after {
	transition: none;
}

.stpf-hero__arrows {
	display: flex;
	gap: 6px;
	flex: none;
}

.stpf-hero__arrow,
.stpf-ps__nav {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid currentColor;
	background: none;
	color: inherit;
	cursor: pointer;
	display: grid;
	place-items: center;
	opacity: .55;
	transition: opacity .3s, background-color .3s;
}

.stpf-hero__arrow:hover,
.stpf-ps__nav:hover { opacity: 1; }

.stpf-hero__arrow i,
.stpf-ps__nav i {
	width: 9px;
	height: 9px;
	border-left: 1px solid currentColor;
	border-top: 1px solid currentColor;
}

.stpf-hero__arrow--prev i,
.stpf-ps__nav--prev i { transform: translateX(2px) rotate(-45deg); }

.stpf-hero__arrow--next i,
.stpf-ps__nav--next i { transform: translateX(-2px) rotate(135deg); }

/* 捲動提示 */
.stpf-hero__cue {
	position: absolute;
	z-index: 5;
	left: 50%;
	transform: translateX(-50%);
	bottom: calc(var(--stpf-safe-b, 0px) + clamp(26px, 5vh, 54px));
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 4px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	font-size: .68rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	opacity: .8;
}

.stpf-hero__cue i {
	width: 1px;
	height: 30px;
	background: currentColor;
	transform-origin: top;
	animation: stpf-cue 2.2s ease-in-out infinite;
}

@keyframes stpf-cue {
	0%   { transform: scaleY(0); transform-origin: top; }
	50%  { transform: scaleY(1); transform-origin: top; }
	51%  { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 767px) {
	.stpf-hero__cue { display: none; }

	/* 手機瀏覽器的工具列會蓋住畫面最下方，控制列整體往上提 */
	.stpf-hero__ui {
		bottom: calc(var(--stpf-safe-b, 0px) + var(--stpf-hero-ui-bottom, 58px));
		left: var(--stpf-hero-gut, 20px);
		right: var(--stpf-hero-gut, 20px);
	}

	.stpf-hero__copy {
		bottom: calc(var(--stpf-safe-b, 0px) + var(--stpf-hero-ui-bottom, 58px) + 66px);
	}

	.stpf-hero__arrow { width: 38px; height: 38px; }
	.stpf-hero__dot { height: 18px; }
}

/* ==========================================================================
   作品內頁 slider（固定比例）
   ========================================================================== */

.stpf-ps {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
	color: var(--stpf-ink);
}

.stpf-ps__frame {
	position: relative;
	width: 100%;
	aspect-ratio: var(--stpf-ps-ratio, 4/3);
	overflow: hidden;
	background: rgba(0, 0, 0, .05);
	border-radius: var(--stpf-ps-radius, 0);
	touch-action: pan-y;
}

/* 在 100vh 版面裡：高度優先，寬度由比例決定 */
.stpf-ps--fit { align-items: center; }

.stpf-ps--fit .stpf-ps__frame {
	flex: 1 1 auto;
	height: auto;
	width: auto;
	min-height: 0;
	max-width: 100%;
}

.stpf-ps--fit .stpf-ps__caption,
.stpf-ps--fit .stpf-ps__dots { flex: none; }

/* 窄螢幕改成寬度優先，高度依比例算（避免比例被寬度壓扁） */
@media (max-width: 900px) {
	.stpf-ps--fit .stpf-ps__frame {
		flex: none;
		width: 100%;
		height: auto;
		max-height: 100%;
	}
}

/* ---------- 滿版寬度：撐到畫面左右兩邊，不留比例 ---------- */
.stpf-ps--bleed { align-items: stretch; }

.stpf-ps--bleed .stpf-ps__frame {
	aspect-ratio: auto;
	flex: 1 1 auto;
	width: calc(100% + var(--stpf-screen-pad, 0px) * 2);
	max-width: none;
	margin-inline: calc(var(--stpf-screen-pad, 0px) * -1);
	height: 100%;
	min-height: 0;
	border-radius: 0;
}

@media (max-width: 900px) {
	.stpf-ps--bleed .stpf-ps__frame {
		flex: none;
		/* 設定的高度優先；螢幕不夠高時自動縮，保證下面的文字不被切掉 */
		height: min(var(--stpf-ps-mh, 60vh), calc(var(--stpf-vh) - var(--stpf-copy-reserve, 390px)));
		width: calc(100% + var(--stpf-screen-pad, 0px) * 2);
	}

	/* 手機：圓點省略（已有 1/5 計數與滑動），把高度留給照片 */
	.stpf-screen__media .stpf-ps--bleed .stpf-ps__dots { display: none; }
}

.stpf-ps__track {
	display: flex;
	height: 100%;
	will-change: transform;
	transform: translate3d(calc(var(--stpf-ps-i, 0) * -100%), 0, 0);
	transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}

.stpf-ps__track.is-dragging { transition: none; }

.stpf-ps__item {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	margin: 0;
	position: relative;
}

.stpf-ps__item img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: var(--stpf-ps-pos, center center);
	display: block;
	cursor: zoom-in;
}

.stpf-ps__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	color: #fff;
	background: rgba(20, 19, 18, .25);
	border-color: rgba(255, 255, 255, .55);
	backdrop-filter: blur(2px);
}

.stpf-ps__nav--prev { left: 12px; }
.stpf-ps__nav--next { right: 12px; }
.stpf-ps__nav[disabled] { opacity: .2; cursor: default; }

/* 放大提示按鈕（脈動） */
.stpf-ps__zoom {
	position: absolute;
	z-index: 3;
	right: 12px;
	bottom: 12px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .6);
	background: rgba(20, 19, 18, .28);
	backdrop-filter: blur(2px);
	color: #fff;
	cursor: zoom-in;
	display: grid;
	place-items: center;
}

.stpf-ps__zoom::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .7);
	animation: stpf-pulse 2.4s ease-out infinite;
}

@keyframes stpf-pulse {
	0%   { transform: scale(1); opacity: .7; }
	70%  { transform: scale(1.45); opacity: 0; }
	100% { transform: scale(1.45); opacity: 0; }
}

.stpf-ps__zoom i {
	width: 13px;
	height: 13px;
	border: 1px solid currentColor;
	border-radius: 50%;
	position: relative;
}

.stpf-ps__zoom i::before,
.stpf-ps__zoom i::after {
	content: "";
	position: absolute;
	background: currentColor;
}

.stpf-ps__zoom i::before { left: 50%; top: 3px; bottom: 3px; width: 1px; margin-left: -.5px; }
.stpf-ps__zoom i::after  { top: 50%; left: 3px; right: 3px; height: 1px; margin-top: -.5px; }

.stpf-ps__zoom span {
	position: absolute;
	right: 52px;
	white-space: nowrap;
	font-size: .68rem;
	letter-spacing: .16em;
	opacity: 0;
	transition: opacity .3s;
}

.stpf-ps__zoom:hover span { opacity: .9; }

.stpf-ps__count {
	position: absolute;
	z-index: 3;
	left: 14px;
	bottom: 14px;
	color: #fff;
	font-size: .8rem;
	letter-spacing: .1em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
	font-variant-numeric: tabular-nums;
}

.stpf-ps__caption {
	font-size: .88rem;
	line-height: 1.8;
	color: #7a7a7a;
	min-height: 1.8em;
}

.stpf-ps__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.stpf-ps__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: inherit;
	background: currentColor;
	opacity: .25;
	cursor: pointer;
	transition: opacity .3s, transform .3s;
}

.stpf-ps__dot[aria-current="true"] { opacity: .9; transform: scale(1.3); }

@media (max-width: 767px) {
	.stpf-ps__nav { display: none; }
	.stpf-ps__zoom { width: 38px; height: 38px; right: 10px; bottom: 10px; }
	.stpf-ps__zoom span { display: none; }
}

/* ==========================================================================
   燈箱（原圖、不裁切）
   ========================================================================== */

.stpf-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(12, 11, 10, .94);
	display: grid;
	grid-template-rows: 1fr auto;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease;
}

.stpf-lb.is-open {
	opacity: 1;
	pointer-events: auto;
}

.stpf-lb__stage {
	position: relative;
	display: grid;
	place-items: center;
	padding: clamp(12px, 3vw, 40px);
	min-height: 0;
}

.stpf-lb__stage img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	opacity: 0;
	transition: opacity .35s ease;
}

.stpf-lb__stage img.is-ready { opacity: 1; }

.stpf-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 clamp(12px, 3vw, 40px) clamp(14px, 3vh, 28px);
	color: rgba(245, 244, 241, .85);
	font-size: .82rem;
	letter-spacing: .1em;
}

.stpf-lb__cap {
	flex: 1;
	min-width: 0;
	line-height: 1.7;
	max-height: 4.2em;
	overflow: auto;
	font-size: .85rem;
	letter-spacing: 0;
}

.stpf-lb__x,
.stpf-lb__prev,
.stpf-lb__next {
	position: absolute;
	z-index: 2;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(0, 0, 0, .25);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	transition: background-color .3s;
}

.stpf-lb__x:hover,
.stpf-lb__prev:hover,
.stpf-lb__next:hover { background: rgba(255, 255, 255, .16); }

.stpf-lb__x { top: clamp(12px, 3vh, 26px); right: clamp(12px, 3vw, 26px); font-size: 20px; line-height: 1; }
.stpf-lb__prev { left: clamp(10px, 2vw, 24px); top: 50%; transform: translateY(-50%); }
.stpf-lb__next { right: clamp(10px, 2vw, 24px); top: 50%; transform: translateY(-50%); }

.stpf-lb__prev i,
.stpf-lb__next i {
	width: 10px;
	height: 10px;
	border-left: 1px solid currentColor;
	border-top: 1px solid currentColor;
}

.stpf-lb__prev i { transform: translateX(2px) rotate(-45deg); }
.stpf-lb__next i { transform: translateX(-2px) rotate(135deg); }

.stpf-lb.is-single .stpf-lb__prev,
.stpf-lb.is-single .stpf-lb__next { display: none; }

html.stpf-lb-open { overflow: hidden; }

@media (max-width: 767px) {
	.stpf-lb__prev, .stpf-lb__next { width: 40px; height: 40px; }
}

/* ==========================================================================
   作品單頁：一個畫面看完
   ========================================================================== */

/* 整個單頁拉到與視窗同寬，內部再自己留白 */
.stpf-single--screen {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	overflow-x: hidden;
}

/* 照片頂到最上面：把佈景主題在上方留的空間扣掉（數值由 JS 量測） */
body.stpf-flush-top .stpf-single--screen {
	margin-top: calc(var(--stpf-flush, 0px) * -1);
}

body.stpf-flush-top .stpf-screen {
	--stpf-screen-top: 0px;
}

/* 沒有上方留白時，計數與放大鈕離邊緣遠一點，不會貼到 header */
body.stpf-flush-top .stpf-ps__count { bottom: 18px; }

/* 手機：照片貼齊頂端，不要垂直置中 */
@media (max-width: 900px) {
	body.stpf-flush-top .stpf-screen { justify-content: flex-start; }
}

.stpf-screen {
	--stpf-screen-pad: clamp(18px, 4vw, 60px);
	height: var(--stpf-vh);
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 2.2vh, 26px);
	padding: var(--stpf-screen-top, clamp(72px, 10vh, 120px)) var(--stpf-screen-pad) calc(var(--stpf-safe-b, 0px) + clamp(16px, 2.6vh, 36px));
	box-sizing: border-box;
	overflow: hidden;
}

.stpf-screen__media {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stpf-screen__media .stpf-ps {
	width: 100%;
	height: 100%;
	min-height: 0;
}

.stpf-screen__copy { flex: none; }

.stpf-screen__copy {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(16px, 3vw, 56px);
	/* 右欄的「閱讀更多」與左欄最後一列（Photography）切齊 */
	align-items: end;
	max-width: var(--stpf-content-width, 1400px);
	margin-inline: auto;
	width: 100%;
}

.stpf-screen__head { min-width: 0; }

.stpf-screen__title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	line-height: 1.2;
	font-weight: 500;
}

.stpf-screen__subtitle {
	margin: 6px 0 0;
	color: #8a8a8a;
	font-size: .92rem;
}

/* Type / Location / Year / Photography：電腦、平板、手機一律垂直排列 */
.stpf-screen__specs {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: var(--stpf-spec-row-gap, 5px);
	margin-top: 12px;
}

.stpf-screen__specs .stpf-spec {
	flex-direction: row;
	align-items: baseline;
	gap: 12px;
	line-height: 1.4;
}

.stpf-screen__specs .stpf-spec__label {
	flex: 0 0 auto;
	min-width: var(--stpf-spec-label-w, 92px);
	font-size: .64rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #9a9a9a;
}

.stpf-screen__specs .stpf-spec__value { font-size: .8rem; font-weight: 500; min-width: 0; }

.stpf-screen__text { min-width: 0; }

.stpf-screen__desc {
	margin: 0;
	font-size: .92rem;
	line-height: 1.95;
	color: #6f6f6f;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--stpf-desc-lines, 4);
	line-clamp: var(--stpf-desc-lines, 4);
	overflow: hidden;
}

.stpf-screen__more {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	background: none;
	color: inherit;
	cursor: pointer;
	font-size: .74rem;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.stpf-screen__more::after { content: "+"; font-size: 1.1em; letter-spacing: 0; }

.stpf-screen__cue {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: .66rem;
	letter-spacing: .22em;
	color: #9a9a9a;
	pointer-events: none;
}

.stpf-screen__cue i {
	width: 1px;
	height: 24px;
	background: currentColor;
	transform-origin: top;
	animation: stpf-cue 2.2s ease-in-out infinite;
}

.stpf-single--screen { position: relative; }

@media (max-width: 900px) {
	.stpf-screen__copy { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.stpf-screen {
		padding-top: var(--stpf-screen-top, clamp(56px, 8vh, 90px));
		justify-content: center;
		gap: clamp(16px, 3vh, 30px);
	}
	.stpf-screen__media { flex: 0 0 auto; align-items: flex-start; }
	.stpf-screen__media .stpf-ps { height: auto; }

	/* 手機把文字區壓到最精簡，slider 才有空間吃到設定的高度 */
	.stpf-screen__desc { --stpf-desc-lines: 2; }
	.stpf-screen__subtitle { display: none; }
	.stpf-screen__title { font-size: clamp(1.35rem, 6vw, 1.9rem); }
	/* 手機同樣垂直排列，只縮小字級與行距 */
	.stpf-screen__specs { --stpf-spec-row-gap: 2px; --stpf-spec-label-w: 82px; margin-top: 8px; }
	.stpf-screen__specs .stpf-spec { gap: 10px; line-height: 1.35; }
	.stpf-screen__specs .stpf-spec__label { font-size: .58rem; letter-spacing: .1em; }
	.stpf-screen__specs .stpf-spec__value { font-size: .76rem; }
	.stpf-screen__desc { font-size: .86rem; line-height: 1.8; }
	.stpf-screen__more { margin-top: 6px; padding: 4px 0; }
}

@media (max-height: 560px) {
	.stpf-screen__desc { --stpf-desc-lines: 2; }
	.stpf-screen__subtitle { display: none; }
}

/* 閱讀更多抽屜 */
.stpf-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 99998;
	width: min(560px, 100%);
	background: #fff;
	color: var(--stpf-ink);
	box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
	transform: translateX(100%);
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(28px, 5vh, 56px) clamp(22px, 4vw, 52px) clamp(40px, 8vh, 80px);
}

.stpf-drawer.is-open { transform: none; }

.stpf-drawer__x {
	position: sticky;
	top: 0;
	margin-left: auto;
	display: block;
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 999px;
	background: #fff;
	padding: 8px 16px;
	cursor: pointer;
	font-size: .74rem;
	letter-spacing: .16em;
}

.stpf-drawer__title {
	margin: 10px 0 18px;
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 500;
}

.stpf-drawer__body {
	font-size: 1rem;
	line-height: 2.05;
	color: #5a5a5a;
	white-space: pre-line;
}

.stpf-drawer__scrim {
	position: fixed;
	inset: 0;
	z-index: 99997;
	background: rgba(20, 19, 18, .42);
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s ease;
}

.stpf-drawer__scrim.is-open { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
	.stpf-hero__img,
	.stpf-hero__slide,
	.stpf-hero__copy,
	.stpf-ps__track,
	.stpf-drawer,
	.stpf-lb { transition: none !important; }
	.stpf-hero__cue i,
	.stpf-screen__cue i,
	.stpf-ps__zoom::before { animation: none; }
}
