/*
Theme Name: SD Photo
Theme URI: https://example.com/sdphoto
Author: Ryan Wetter
Author URI: https://example.com
Description: A clean block theme for photography portfolios, editorial albums, and image-led journals.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sdphoto
Tags: block-themes, full-site-editing, portfolio, photography, blog
*/

html {
	--sdphoto-black: #080808;
	--sdphoto-logo-dark: #414141;
	--sdphoto-logo-light: #D9D9D9;
	--sdphoto-logo-bright: #DDDDDD;
	--sdphoto-muted: #858585;
	--sdphoto-edge-padding: max(20px, calc((100vw - 1320px) / 2));
	--sdphoto-image-gap: clamp(12px, 1.6vw, 22px);
	scroll-behavior: smooth;
}

body {
	background: var(--sdphoto-black);
	color: #FDFDFD;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body.sdphoto-about-open,
body.sdphoto-gallery-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.07em;
}

img {
	max-width: 100%;
	height: auto;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.wp-block-navigation a:hover,
.wp-block-post-title a:hover {
	color: var(--wp--preset--color--contrast);
}

.wp-block-post-featured-image img,
.wp-block-image img,
.wp-block-gallery img {
	border-radius: 4px;
}

.sdphoto-frame {
	box-shadow: 0 24px 80px rgba(8, 8, 8, 0.5);
}

.sdphoto-eyebrow {
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sdphoto-site-chrome {
	align-items: center;
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	backdrop-filter: blur(18px) saturate(120%);
	background: rgba(8, 8, 8, 0.82);
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	left: 0;
	padding: 20px var(--sdphoto-edge-padding);
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 20;
}

.sdphoto-footer-chrome {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #FDFDFD;
}

.sdphoto-brand-pill,
.sdphoto-mode-nav button,
.sdphoto-mode-nav a {
	align-items: center;
	display: inline-flex;
	text-decoration: none;
}

.sdphoto-brand-pill {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #A2A2A2;
	gap: 18px;
	max-width: calc(100vw - 40px);
	min-height: 68px;
	padding: 0;
	pointer-events: auto;
}

.sdphoto-brand-pill img {
	display: block;
	height: 54px;
	width: 54px;
}

.sdphoto-brand-copy {
	align-items: flex-start;
	color: rgba(217, 217, 217, 0.72);
	display: flex;
	flex-direction: column;
	font-family: "Montserrat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15.4px;
	font-weight: 400;
	gap: 6px;
	letter-spacing: 0.34em;
	line-height: 1.08;
	text-transform: uppercase;
	white-space: nowrap;
}

.sdphoto-brand-line {
	display: block;
	line-height: 1.08;
}

.sdphoto-brand-line:last-child {
	color: rgba(217, 217, 217, 0.58);
	font-size: 11px;
	letter-spacing: 0.44em;
}

.sdphoto-about-cover {
	background:
		radial-gradient(circle at 35% 20%, rgba(217, 217, 217, 0.04), transparent 28vw),
		var(--sdphoto-black);
	box-sizing: border-box;
	color: rgba(253, 253, 253, 0.82);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	inset: 0;
	max-width: 100vw;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 30px var(--sdphoto-edge-padding) 42px;
	position: fixed;
	width: 100vw;
	z-index: 70;
}

.sdphoto-about-cover[hidden] {
	display: none;
}

.sdphoto-about-topbar {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	position: relative;
	z-index: 2;
}

.sdphoto-about-brand {
	align-items: center;
	display: inline-flex;
	gap: 18px;
}

.sdphoto-about-brand img {
	display: block;
	height: 54px;
	width: 54px;
}

.sdphoto-about-close {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: rgba(217, 217, 217, 0.78);
	cursor: pointer;
	display: inline-flex;
	height: 54px;
	justify-content: center;
	padding: 0;
	width: 54px;
}

.sdphoto-about-close::after {
	background:
		linear-gradient(45deg, transparent calc(50% - 0.5px), currentColor calc(50% - 0.5px), currentColor calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		linear-gradient(-45deg, transparent calc(50% - 0.5px), currentColor calc(50% - 0.5px), currentColor calc(50% + 0.5px), transparent calc(50% + 0.5px));
	content: "";
	display: block;
	height: 30px;
	opacity: 0.9;
	width: 30px;
}

.sdphoto-about-close:focus,
.sdphoto-about-close:focus-visible {
	outline: 0;
}

.sdphoto-about-layout {
	align-items: center;
	box-sizing: border-box;
	column-gap: clamp(48px, 6vw, 96px);
	display: grid;
	grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 0.9fr);
	margin: 0 auto;
	max-width: 1340px;
	min-height: 0;
	width: 100%;
}

.sdphoto-about-portrait {
	justify-self: start;
	margin: 0;
}

.sdphoto-about-portrait img {
	display: block;
	height: min(78dvh, 760px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.sdphoto-about-copy {
	max-width: 620px;
	min-width: 0;
	padding-top: 28px;
}

.sdphoto-about-copy p {
	color: rgba(253, 253, 253, 0.84);
	font-size: clamp(18px, 1.35vw, 23px);
	font-weight: 300;
	line-height: 1.55;
	margin: 0;
}

.sdphoto-about-copy p + p {
	margin-top: 34px;
}

.sdphoto-about-kicker {
	color: rgba(221, 207, 184, 0.9) !important;
	font-family: "Montserrat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: 0.34em;
	line-height: 1.2 !important;
	text-transform: uppercase;
}

.sdphoto-about-kicker::after,
.sdphoto-about-copy p:last-child::before {
	background: rgba(221, 207, 184, 0.55);
	content: "";
	display: block;
	height: 1px;
	margin-top: 28px;
	width: 62px;
}

.sdphoto-about-quote {
	color: rgba(238, 226, 211, 0.96) !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(44px, 4.1vw, 68px) !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	line-height: 0.96 !important;
	margin-left: 0 !important;
	max-width: 100%;
}

.sdphoto-about-quote em {
	font-style: italic;
	font-weight: 600;
}

.sdphoto-about-copy p:last-child::before {
	margin-bottom: 24px;
	margin-top: 0;
	width: 124px;
}

.sdphoto-footer-chrome p {
	font-family: "Montserrat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 9.8px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
}

.sdphoto-mode-nav {
	border: 0;
	display: flex;
	gap: 6px;
	padding: 0;
	pointer-events: auto;
}

.sdphoto-mode-nav button,
.sdphoto-mode-nav a {
	appearance: none;
	background: #111111;
	border: 0;
	border-radius: 0;
	color: #777777;
	cursor: pointer;
	font-family: "Montserrat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1;
	min-height: 42px;
	padding: 0 15px;
	position: relative;
	text-transform: uppercase;
	transition:
		background 160ms ease,
		color 160ms ease;
}

.sdphoto-mode-nav button::after,
.sdphoto-mode-nav a::after {
	content: none;
}

.sdphoto-mode-nav button:hover,
.sdphoto-mode-nav a:hover {
	background: #181818;
	color: #BDBDBD;
}

.sdphoto-mode-nav button[aria-pressed="true"],
.sdphoto-mode-nav a[aria-current="page"] {
	background: #242424;
	color: #E6E6E6;
}

.sdphoto-mode-nav button[aria-pressed="true"]::after,
.sdphoto-mode-nav a[aria-current="page"]::after {
	content: none;
}

.sdphoto-flow-stage {
	align-items: center;
	background: var(--sdphoto-black);
	box-sizing: border-box;
	display: flex;
	min-height: 100vh;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	padding: 118px 0 96px;
	position: relative;
	width: 100vw;
}

.sdphoto-flow-stage.is-grid-mode {
	align-items: flex-start;
	min-height: 100vh;
	overflow: auto;
	padding: 96px 0 72px;
}

.sdphoto-flow-carousel {
	margin: 0;
	position: relative;
	width: 100%;
	z-index: 1;
}

.sdphoto-flow-carousel:focus-visible {
	outline: 0;
}

.sdphoto-flow-carousel .splide__track {
	overflow: visible;
	padding: clamp(24px, 6vh, 72px) var(--sdphoto-edge-padding) 72px;
}

.sdphoto-flow-track {
	align-items: center;
}

.sdphoto-flow-card {
	backface-visibility: hidden;
	margin: 0;
	position: relative;
	transform: translate3d(0, 0, 0) scale(0.92);
	transform-origin: center center;
	transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: transform;
	z-index: 1;
}

.sdphoto-flow-card.is-active {
	transform: translate3d(0, 0, 0) scale(1.08);
	z-index: 3;
}

.sdphoto-flow-card img {
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.sdphoto-flow-card.is-ratio-4-5 {
	width: clamp(300px, 34vw, 520px);
}

.sdphoto-flow-card.is-ratio-4-5 img {
	aspect-ratio: 4 / 5;
}

.sdphoto-flow-stage.is-grid-mode .sdphoto-flow-carousel,
.sdphoto-flow-stage.is-grid-mode .sdphoto-flow-caption {
	display: none;
}

.sdphoto-venue-view {
	box-sizing: border-box;
	display: none;
	padding: 18px var(--sdphoto-edge-padding) 0;
	width: 100%;
	z-index: 1;
}

.sdphoto-flow-stage.is-grid-mode .sdphoto-venue-view {
	display: block;
}

.sdphoto-venue-filters {
	align-items: flex-start;
	display: flex;
	gap: 18px;
	margin: 0 0 14px;
}

.sdphoto-venue-filters button {
	appearance: none;
	background: transparent;
	border: 0;
	color: #777777;
	cursor: pointer;
	display: inline-flex;
	font-family: "Montserrat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.18em;
	line-height: 1;
	min-height: 0;
	padding: 0 0 2px;
	position: relative;
	text-transform: uppercase;
	transition:
		color 160ms ease;
}

.sdphoto-venue-filters button::after {
	background: currentColor;
	bottom: 0;
	content: "";
	height: 1px;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	transform: scaleX(0.35);
	transform-origin: left center;
	transition:
		opacity 160ms ease,
		transform 160ms ease;
}

.sdphoto-venue-filters button:hover {
	color: #BDBDBD;
}

.sdphoto-venue-filters button[aria-pressed="true"] {
	color: #E6E6E6;
}

.sdphoto-venue-filters button[aria-pressed="true"]::after {
	opacity: 1;
	transform: scaleX(1);
}

.sdphoto-venue-grid {
	display: grid;
	gap: clamp(8px, 0.8vw, 12px);
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sdphoto-venue-card {
	aspect-ratio: 4 / 5;
	background: rgba(217, 217, 217, 0.04);
	margin: 0;
	min-width: 0;
	overflow: hidden;
}

.sdphoto-venue-card[hidden] {
	display: none;
}

.sdphoto-venue-card img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.sdphoto-flow-card[data-sdphoto-image-id],
.sdphoto-venue-card[data-sdphoto-image-id] {
	cursor: zoom-in;
}

.sdphoto-gallery {
	background: var(--sdphoto-black);
	box-sizing: border-box;
	color: var(--sdphoto-logo-light);
	display: grid;
	gap: 16px;
	grid-template-rows: minmax(0, 1fr) auto;
	inset: 0;
	overscroll-behavior: contain;
	overflow: hidden;
	padding: clamp(18px, 2.5vw, 36px) var(--sdphoto-edge-padding);
	position: fixed;
	z-index: 80;
}

.sdphoto-gallery[hidden] {
	display: none;
}

.sdphoto-gallery-close,
.sdphoto-gallery-control,
.sdphoto-gallery-thumb {
	appearance: none;
	border: 0;
	cursor: pointer;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sdphoto-gallery-close:focus,
.sdphoto-gallery-close:focus-visible,
.sdphoto-gallery-control:focus,
.sdphoto-gallery-control:focus-visible,
.sdphoto-gallery-main:focus,
.sdphoto-gallery-main:focus-visible {
	outline: 0;
}

.sdphoto-gallery-thumb:focus-visible {
	outline: 1px solid rgba(217, 217, 217, 0.72);
	outline-offset: 3px;
}

.sdphoto-gallery-close {
	background: transparent;
	color: transparent;
	font-size: 0;
	height: 52px;
	position: fixed;
	right: max(var(--sdphoto-edge-padding), env(safe-area-inset-right));
	top: max(clamp(16px, 2.4vw, 28px), env(safe-area-inset-top));
	width: 52px;
	z-index: 24;
}

.sdphoto-gallery-close::before,
.sdphoto-gallery-close::after {
	background: rgba(217, 217, 217, 0.58);
	content: "";
	height: 1px;
	left: 13px;
	position: absolute;
	right: 13px;
	top: 50%;
	transition:
		background 160ms ease,
		transform 160ms ease;
}

.sdphoto-gallery-close::before {
	transform: rotate(45deg);
}

.sdphoto-gallery-close::after {
	transform: rotate(-45deg);
}

.sdphoto-gallery-close:hover::before,
.sdphoto-gallery-close:hover::after {
	background: var(--sdphoto-logo-light);
}

.sdphoto-gallery-counter {
	color: rgba(217, 217, 217, 0.58);
	font-size: 12px;
	font-weight: 700;
	left: max(var(--sdphoto-edge-padding), env(safe-area-inset-left));
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
	position: fixed;
	top: max(clamp(24px, 3vw, 36px), env(safe-area-inset-top));
	z-index: 24;
}

.sdphoto-gallery-shell {
	align-items: center;
	display: grid;
	min-height: 0;
	position: relative;
}

.sdphoto-gallery-main {
	aspect-ratio: 2 / 3;
	height: auto;
	margin: 0 auto;
	width: min(84vw, 50vh, 620px);
}

.sdphoto-gallery-main .splide__track,
.sdphoto-gallery-main .splide__list {
	height: 100%;
}

.sdphoto-gallery-slide {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	margin: 0;
	opacity: 0.28;
	transition: opacity 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: opacity;
}

.sdphoto-gallery-slide.is-active {
	opacity: 1;
}

.sdphoto-gallery-image {
	display: block;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	width: 100%;
}

.sdphoto-gallery-thumbs {
	-webkit-backdrop-filter: blur(16px) saturate(120%);
	backdrop-filter: blur(16px) saturate(120%);
	background: rgba(8, 8, 8, 0.72);
	box-sizing: border-box;
	display: flex;
	gap: 8px;
	justify-self: center;
	max-width: min(calc(100vw - 40px), 680px);
	overscroll-behavior-inline: contain;
	overflow-x: auto;
	padding: 8px;
	scrollbar-width: none;
	touch-action: pan-x;
	width: max-content;
	z-index: 14;
}

.sdphoto-gallery-thumbs::-webkit-scrollbar {
	display: none;
}

.sdphoto-gallery-thumb {
	background: transparent;
	flex: 0 0 auto;
	height: clamp(58px, 5vw, 74px);
	opacity: 0.38;
	padding: 0;
	position: relative;
	transition:
		opacity 160ms ease,
		transform 160ms ease;
	width: clamp(46px, 4.2vw, 58px);
}

.sdphoto-gallery-thumb:hover {
	opacity: 0.72;
}

.sdphoto-gallery-thumb[aria-pressed="true"] {
	opacity: 1;
	transform: scale(1.08);
	z-index: 1;
}

.sdphoto-gallery-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.sdphoto-gallery-control {
	align-items: center;
	background: rgba(8, 8, 8, 0.4);
	color: transparent;
	display: flex;
	font-size: 0;
	height: 56px;
	justify-content: center;
	min-height: 56px;
	padding: 0;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	transition:
		background 160ms ease,
		opacity 160ms ease;
	width: 56px;
	z-index: 16;
}

.sdphoto-gallery-control::before {
	border-color: rgba(217, 217, 217, 0.52);
	border-style: solid;
	content: "";
	height: 16px;
	left: 50%;
	opacity: 0.78;
	position: absolute;
	top: 50%;
	transition:
		border-color 160ms ease,
		opacity 160ms ease,
		transform 160ms ease;
	width: 16px;
}

.sdphoto-gallery-control:hover {
	background: rgba(217, 217, 217, 0.08);
}

.sdphoto-gallery-control:hover::before {
	border-color: var(--sdphoto-logo-light);
	opacity: 1;
}

.sdphoto-gallery-control.is-prev {
	left: clamp(14px, 3vw, 54px);
}

.sdphoto-gallery-control.is-prev::before {
	border-width: 0 0 1px 1px;
	transform: translate(-35%, -50%) rotate(45deg);
}

.sdphoto-gallery-control.is-prev:hover::before {
	transform: translate(-48%, -50%) rotate(45deg);
}

.sdphoto-gallery-control.is-next {
	right: clamp(14px, 3vw, 54px);
}

.sdphoto-gallery-control.is-next::before {
	border-width: 1px 1px 0 0;
	transform: translate(-65%, -50%) rotate(45deg);
}

.sdphoto-gallery-control.is-next:hover::before {
	transform: translate(-52%, -50%) rotate(45deg);
}

.sdphoto-flow-card:nth-child(odd) img {
	border-radius: 4px 24px 4px 4px;
}

.sdphoto-flow-card:nth-child(even) img {
	border-radius: 24px 4px 4px 4px;
}

.sdphoto-grid-item img {
	aspect-ratio: 3 / 4;
	border-radius: 4px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.sdphoto-flow-caption {
	bottom: 28px;
	color: rgba(238, 238, 238, 0.36);
	display: flex;
	gap: 24px;
	position: fixed;
	right: var(--sdphoto-edge-padding);
	z-index: 19;
}

.sdphoto-flow-caption p,
.sdphoto-grid-heading p {
	font-family: "Montserrat", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 9.8px;
	font-weight: 400;
	letter-spacing: 0.2em;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

.sdphoto-flow-caption p:first-child,
.sdphoto-grid-heading p:first-child {
	color: rgba(238, 238, 238, 0.74);
}

.sdphoto-grid-section {
	background: var(--sdphoto-black);
	box-sizing: border-box;
	min-height: 100vh;
	padding: 96px 20px 120px;
}

.sdphoto-grid-heading {
	align-items: baseline;
	display: flex;
	gap: 16px;
	margin: 0 auto 20px;
	max-width: 1320px;
}

.sdphoto-grid {
	display: grid;
	gap: var(--sdphoto-image-gap);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1320px;
}

.sdphoto-grid-item {
	margin: 0;
}

.sdphoto-grid-item figcaption {
	color: #777777;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	justify-content: space-between;
	line-height: 1.2;
	padding-top: 12px;
}

.sdphoto-grid-item figcaption span:first-child {
	color: #FDFDFD;
}

.sdphoto-footer-chrome {
	bottom: 20px;
	box-sizing: border-box;
	display: flex;
	gap: 24px;
	left: auto;
	max-width: 440px;
	padding: 0;
	position: fixed;
	right: var(--sdphoto-edge-padding);
	z-index: 20;
}

.sdphoto-footer-chrome p {
	margin: 0;
}

.sdphoto-footer-chrome p:first-child {
	color: rgba(238, 238, 238, 0.74);
	white-space: nowrap;
}

.sdphoto-footer-chrome p + p {
	color: rgba(238, 238, 238, 0.36);
	font-weight: 400;
	max-width: 270px;
}

@media (max-width: 1100px) {
	.sdphoto-venue-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	.sdphoto-about-cover {
		display: block;
		padding: max(22px, env(safe-area-inset-top)) var(--sdphoto-edge-padding) max(40px, env(safe-area-inset-bottom));
	}

	.sdphoto-about-layout {
		align-items: start;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		margin-top: clamp(44px, 8vh, 78px);
		max-width: min(100%, 640px);
		row-gap: clamp(34px, 7vh, 58px);
	}

	.sdphoto-about-portrait {
		justify-self: center;
		width: min(100%, 560px);
	}

	.sdphoto-about-portrait img {
		height: auto;
		width: 100%;
	}

	.sdphoto-about-copy {
		box-sizing: border-box;
		max-width: 620px;
		padding: 0 0 18px;
		width: 100%;
	}

	.sdphoto-about-copy p {
		font-size: clamp(16px, 3.8vw, 20px);
		line-height: 1.52;
	}

	.sdphoto-about-copy p + p {
		margin-top: 26px;
	}

	.sdphoto-about-kicker {
		font-size: clamp(10.5px, 2.7vw, 12px) !important;
		letter-spacing: 0.24em;
	}

	.sdphoto-about-kicker::after {
		margin-top: 22px;
	}

	.sdphoto-about-quote {
		font-size: clamp(36px, 10.3vw, 58px) !important;
		line-height: 0.98 !important;
		margin-left: 0 !important;
	}
}

@media (max-width: 781px) {
	html {
		--sdphoto-edge-padding: 24px;
	}

	.sdphoto-site-chrome {
		align-items: center;
		column-gap: 10px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) max-content;
		gap: 10px;
		padding: 28px var(--sdphoto-edge-padding) 16px;
	}

	.sdphoto-brand-pill {
		align-items: center;
		display: grid;
		flex: none;
		gap: 12px;
		grid-template-columns: 44px minmax(0, 1fr);
		max-width: none;
		min-height: 44px;
		min-width: 0;
		overflow: visible;
		padding: 0;
	}

	.sdphoto-brand-pill img {
		height: 44px;
		width: 44px;
	}

	.sdphoto-brand-copy {
		align-items: flex-start;
		display: flex;
		flex-direction: column;
		font-size: 10.8px;
		gap: 5px;
		letter-spacing: 0.22em;
		line-height: 1.08;
		min-width: 0;
		overflow: visible;
		white-space: nowrap;
	}

	.sdphoto-brand-line {
		display: block;
		line-height: 1.08;
		max-width: 100%;
		overflow: visible;
	}

	.sdphoto-brand-line:first-child {
		color: rgba(217, 217, 217, 0.72);
	}

	.sdphoto-brand-line:last-child {
		color: rgba(217, 217, 217, 0.58);
		display: block;
		font-size: 8.8px;
		letter-spacing: 0.28em;
		line-height: 1.08;
	}

	.sdphoto-about-brand {
		gap: 12px;
	}

	.sdphoto-about-brand img {
		height: 44px;
		width: 44px;
	}

	.sdphoto-mode-nav {
		justify-self: end;
		padding: 0;
	}

	.sdphoto-mode-nav button,
	.sdphoto-mode-nav a {
		font-size: 9.8px;
		height: auto;
		letter-spacing: 0.14em;
		min-height: 40px;
		min-width: 64px;
		padding: 0 9px;
	}

	.sdphoto-flow-stage {
		min-height: 92vh;
		padding-bottom: 86px;
		padding-top: 92px;
	}

	.sdphoto-flow-caption {
		bottom: 18px;
	}

	.sdphoto-flow-carousel .splide__track {
		padding-left: var(--sdphoto-edge-padding);
		padding-right: var(--sdphoto-edge-padding);
	}

	.sdphoto-flow-card.is-ratio-4-5 {
		width: 78vw;
	}

	.sdphoto-grid {
		grid-template-columns: 1fr;
	}

	.sdphoto-venue-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sdphoto-footer-chrome {
		align-items: flex-start;
		bottom: 12px;
		flex-direction: row;
		gap: 16px;
		left: var(--sdphoto-edge-padding);
		right: var(--sdphoto-edge-padding);
		transform: none;
	}
}

@media (max-width: 560px) {
	html {
		--sdphoto-edge-padding: 16px;
	}

	.sdphoto-about-cover {
		padding-inline: 16px;
	}

	.sdphoto-about-topbar {
		align-items: flex-start;
		gap: 18px;
	}

	.sdphoto-about-brand {
		gap: 12px;
		min-width: 0;
	}

	.sdphoto-about-brand img {
		height: 44px;
		width: 44px;
	}

	.sdphoto-about-brand .sdphoto-brand-copy {
		font-size: 10.8px;
		letter-spacing: 0.22em;
		min-width: 0;
	}

	.sdphoto-about-brand .sdphoto-brand-line:last-child {
		font-size: 8.8px;
		letter-spacing: 0.28em;
	}

	.sdphoto-about-close {
		flex: 0 0 auto;
		gap: 14px;
		padding-top: 6px;
	}

	.sdphoto-about-layout {
		margin-top: clamp(40px, 7vh, 56px);
		row-gap: 30px;
	}

	.sdphoto-about-portrait {
		width: min(100%, 430px);
	}

	.sdphoto-site-chrome {
		align-items: center;
		column-gap: 8px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) max-content;
		padding: 28px var(--sdphoto-edge-padding) 16px;
		row-gap: 0;
	}

	.sdphoto-brand-pill {
		grid-template-columns: 44px minmax(0, 1fr);
		min-height: 44px;
	}

	.sdphoto-brand-pill img {
		height: 44px;
		width: 44px;
	}

	.sdphoto-brand-copy {
		align-items: flex-start;
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		font-size: 9.4px;
		gap: 5px;
		letter-spacing: 0.16em;
		line-height: 1.08;
		min-width: 0;
		overflow: visible;
		white-space: nowrap;
	}

	.sdphoto-brand-line {
		display: block;
		line-height: 1.08;
		max-width: 100%;
		overflow: visible;
	}

	.sdphoto-brand-line:first-child {
		color: rgba(217, 217, 217, 0.72);
	}

	.sdphoto-brand-line:last-child {
		color: rgba(217, 217, 217, 0.58);
		display: block;
		font-size: 7.6px;
		letter-spacing: 0.2em;
	}

	.sdphoto-mode-nav {
		align-self: center;
		display: flex;
		gap: 4px;
		justify-self: end;
		padding: 0;
		width: auto;
	}

	.sdphoto-mode-nav button,
	.sdphoto-mode-nav a {
		background: #111111;
		box-sizing: border-box;
		justify-content: center;
		font-size: 8.2px;
		height: auto;
		letter-spacing: 0.12em;
		min-height: 40px;
		min-width: 58px;
		padding: 0 6px;
		width: auto;
	}

	.sdphoto-mode-nav > :nth-child(1) {
		border-radius: 0;
	}

	.sdphoto-mode-nav > :nth-child(2) {
		border-radius: 0;
	}

	.sdphoto-mode-nav > :nth-child(3) {
		border-radius: 0;
	}

	.sdphoto-mode-nav button:not([aria-pressed="true"]):hover,
	.sdphoto-mode-nav a:hover {
		background: #181818;
		color: #BDBDBD;
	}

	.sdphoto-mode-nav button[aria-pressed="true"],
	.sdphoto-mode-nav a[aria-current="page"] {
		background: #242424;
		color: #E6E6E6;
	}

	.sdphoto-mode-nav button[aria-pressed="true"]::after {
		content: none;
	}

	.sdphoto-venue-filters {
		border-bottom: 0;
		gap: 16px;
		margin-bottom: 10px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.sdphoto-venue-filters::-webkit-scrollbar {
		display: none;
	}

	.sdphoto-venue-filters button {
		flex: 0 0 auto;
		font-size: 10px;
		font-weight: 400;
		letter-spacing: 0.14em;
		min-height: 0;
		padding: 0 0 2px;
		text-transform: uppercase;
	}

	.sdphoto-venue-filters button::after {
		height: 1px;
		transform: scaleX(0.25);
	}

	.sdphoto-venue-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sdphoto-flow-stage {
		padding-top: 96px;
	}

	.sdphoto-flow-caption {
		bottom: 16px;
	}

	.sdphoto-gallery {
		gap: 10px;
		grid-template-rows: minmax(0, 1fr) auto;
		padding: max(12px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
	}

	.sdphoto-gallery-close {
		height: 48px;
		right: max(10px, env(safe-area-inset-right));
		top: max(10px, env(safe-area-inset-top));
		width: 48px;
	}

	.sdphoto-gallery-counter {
		left: max(14px, env(safe-area-inset-left));
		top: max(24px, env(safe-area-inset-top));
	}

	.sdphoto-gallery-main {
		margin: 38px auto 0;
		width: min(calc(100vw - 24px), 46vh);
	}

	.sdphoto-gallery-slide {
		opacity: 0.18;
	}

	.sdphoto-gallery-control {
		display: none;
		height: 48px;
		min-height: 0;
		top: calc(50% + 22px);
		width: 48px;
	}

	.sdphoto-gallery-control::before {
		height: 14px;
		width: 14px;
	}

	.sdphoto-gallery-control.is-prev {
		left: 10px;
	}

	.sdphoto-gallery-control.is-next {
		right: 10px;
	}

		.sdphoto-gallery-thumbs {
			-webkit-backdrop-filter: none;
			backdrop-filter: none;
			background: transparent;
			gap: 7px;
			justify-content: center;
			justify-content: safe center;
			justify-self: stretch;
			max-width: none;
			padding: 7px;
			width: 100%;
		}

	.sdphoto-gallery-thumb {
		height: 64px;
		width: 52px;
	}
}

@media (max-width: 430px) {
	html {
		--sdphoto-edge-padding: 12px;
	}

	.sdphoto-about-cover {
		padding-inline: 12px;
	}

	.sdphoto-about-brand img {
		height: 42px;
		width: 42px;
	}

	.sdphoto-about-brand .sdphoto-brand-copy {
		font-size: 10px;
		letter-spacing: 0.18em;
	}

	.sdphoto-about-brand .sdphoto-brand-line:last-child {
		font-size: 8px;
		letter-spacing: 0.22em;
	}

	.sdphoto-about-close::after {
		height: 28px;
		width: 28px;
	}

	.sdphoto-site-chrome {
		gap: 6px;
		padding-block: 26px 16px;
	}

	.sdphoto-brand-pill {
		gap: 8px;
		grid-template-columns: 42px minmax(0, 1fr);
		min-height: 42px;
	}

	.sdphoto-brand-pill img {
		height: 42px;
		width: 42px;
	}

	.sdphoto-brand-copy {
		font-size: 8.2px;
		gap: 4px;
		letter-spacing: 0.12em;
	}

	.sdphoto-brand-line:last-child {
		font-size: 6.6px;
		letter-spacing: 0.16em;
	}

	.sdphoto-mode-nav {
		gap: 4px;
	}

	.sdphoto-mode-nav button,
	.sdphoto-mode-nav a {
		font-size: 7.8px;
		height: auto;
		letter-spacing: 0.1em;
		min-height: 40px;
		min-width: 54px;
		padding: 0 5px;
	}
}
