/* ==========================================================================
   Carly Gerrity & Aithne — main styles
   Warm whites, charcoal type, generous space. No decorative clutter.
   ========================================================================== */

:root {
	--paper: #fbfaf7;
	--cream: #f4eee5;
	--ink: #262523;
	--muted: #625d56;
	--line: #e2dcd2;
	--white: #fff;
	--serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 4.5vw, 72px);
	--max: 1480px;
	--header-h: 84px;
	--ease: cubic-bezier(.2, .6, .2, 1);
	--dot-available: #4f7350;
	--dot-sold: #9b3b32;
	--dot-coming: #a27a2c;
	--dot-nfs: #8a857e;
}
body.studio-jewelry { --paper: #f6f1e9; }
@media (max-width: 900px) { :root { --header-h: 68px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--base-size, 16px)/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading-ink, var(--ink)); font-weight: 400; line-height: 1.15; letter-spacing: .005em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 18px; margin: 0; background: var(--ink); color: var(--paper); text-decoration: none;
}

.eyebrow {
	font: 400 12px/1.4 var(--sans);
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.section-title {
	font: 400 12px/1.4 var(--sans);
	letter-spacing: .24em;
	text-transform: uppercase;
	text-align: center;
	color: var(--muted);
	margin: 0 0 48px;
}

/* Buttons */
.button,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 48px; padding: 14px 30px;
	border: 1px solid var(--ink); border-radius: 0;
	background: transparent; color: var(--ink);
	font: 400 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.button:hover, .button:focus-visible { background: var(--ink); color: var(--paper); }
.button--solid { background: var(--ink); color: var(--paper); }
.button--solid:hover, .button--solid:focus-visible { background: #000; color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 94%, transparent);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
	height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand__name { font: 400 clamp(20px, 1.9vw, 26px)/1.05 var(--serif); letter-spacing: .01em; }
.brand__sub { font: 400 10.5px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.6vw, 40px); }
.site-nav a {
	font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
	padding: 10px 0; display: inline-block; position: relative;
}
.site-nav a::after {
	content: ""; position: absolute; left: 0; right: .2em; bottom: 4px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after,
.site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after, .site-nav [aria-current="page"]::after { transform: scaleX(1); }
.site-nav .sub-menu { display: none; }

.nav-toggle {
	display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; cursor: pointer;
	font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.nav-toggle__icon, .nav-toggle__icon::before {
	display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .3s var(--ease);
}
.nav-toggle__icon::before { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
		background: var(--paper); padding: 40px var(--gutter);
		visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s;
		overflow-y: auto;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
	.site-nav ul { flex-direction: column; gap: 6px; }
	.site-nav a { font: 400 34px/1.2 var(--serif); letter-spacing: .01em; text-transform: none; padding: 8px 0; }
	.site-nav a::after { bottom: 6px; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Landing (approved design) ---------- */
.is-landing { background: #1b1a19; }
.landing {
	position: relative;
	display: grid;
	grid-template-rows: 1fr 1fr;
	height: 100vh;
	height: 100svh;
	min-height: 420px;
	margin: 0;
}
.admin-bar .landing { height: calc(100vh - 32px); height: calc(100svh - 32px); }
@media (max-width: 782px) { .admin-bar .landing { height: calc(100svh - 46px); } }
.landing-has-nav .landing { height: calc(100svh - var(--header-h)); }
.admin-bar.landing-has-nav .landing { height: calc(100svh - var(--header-h) - 32px); }

.landing__panel {
	position: relative; display: block; overflow: hidden;
	color: #fff; text-decoration: none; background: #3a3836;
}
.landing__media { position: absolute; inset: 0; overflow: hidden; }
.landing__media picture { width: 100%; height: 100%; }
.landing__media img {
	width: 100%; height: 100%; max-width: none;
	object-fit: cover;
	object-position: var(--focus, 50% 50%);
	transform: scale(1);
	transition: transform 700ms var(--ease);
	will-change: transform;
	backface-visibility: hidden;
}
@media (max-width: 767px) {
	.landing__media img { object-position: var(--focus-m, var(--focus, 50% 50%)); }
}
.landing__panel:hover .landing__media img,
.landing__panel:focus-visible .landing__media img { transform: scale(1.025); }

/* Words on the landing page. Font, style, size, colour and position come from
   dashboard → Fonts & Text (variables set in the theme's typography CSS). Only the
   photographs ever move; the words are positioned without transforms. */
.landing__label,
.landing__phrase {
	--tf: var(--sans); --tw: 400; --tst: normal; --ttt: none; --tfv: normal; --tsp: .38em;
	--tsz: 18.7; --tszm: 12px; --tmin: .69518717; --tmax: 1.06951872; --tc: #fff; --tjx: center; --tay: center; --tta: center; --tdx: 0%; --tdy: 0%;
	--tsh: 0 1px 2px rgba(0, 0, 0, .35), 0 0 22px rgba(0, 0, 0, .38);
	pointer-events: none;
}
.landing__label {
	position: absolute; inset: 0; z-index: 1;
	display: flex; justify-content: var(--tjx); align-items: var(--tay);
	padding: clamp(18px, 4%, 64px) clamp(20px, 5%, 80px);
}
/* Keep words placed at the edge where the photos meet clear of the phrase. */
.landing__panel--art .landing__label { padding-bottom: var(--tseam, clamp(18px, 4%, 64px)); }
.landing__panel--jewelry .landing__label { padding-top: var(--tseam, clamp(18px, 4%, 64px)); }
.landing__phrase {
	--tf: var(--serif); --tst: italic; --tsp: .01em; --tsz: 36; --tszm: 21px; --tmin: .61111112; --tmax: 1.11111112;
	--tsh: 0 1px 3px rgba(0, 0, 0, .4), 0 0 28px rgba(0, 0, 0, .4);
	position: absolute; left: 0; right: 0; top: calc(50% + var(--tdy)); height: 0; z-index: 2; margin: 0;
	display: flex; align-items: center; justify-content: var(--tjx);
	padding: 0 clamp(18px, 5%, 80px);
	white-space: nowrap;
}
.landing__text {
	position: relative; left: var(--tdx); top: var(--tdy);
	font-family: var(--tf); font-weight: var(--tw); font-style: var(--tst); font-variant-caps: var(--tfv);
	text-transform: var(--ttt); letter-spacing: var(--tsp);
	font-size: clamp(calc(var(--tsz) * var(--tmin) * 1px), calc(var(--tsz) * 100vw / 1440), calc(var(--tsz) * var(--tmax) * 1px));
	line-height: 1.2; color: var(--tc); text-shadow: var(--tsh); text-align: var(--tta);
}
.landing__label .landing__text { padding-left: var(--tsp); } /* balances the space letter-spacing adds after the last letter */
.landing__phrase .landing__text { top: 0; line-height: 1; }
.landing__panel:focus-visible { outline: 2px solid var(--tfocus, #fff); outline-offset: -8px; }
@media (max-width: 767px) {
	.landing__text { font-size: var(--tszm); }
	.landing__label .landing__text { letter-spacing: calc(var(--tsp) * .7895); padding-left: calc(var(--tsp) * .7895); }
}

/* ---------- Studio pages ---------- */
.studio { padding-bottom: 0; }
.studio-head {
	max-width: 760px; margin: 0 auto; text-align: var(--title-align, center);
	padding: clamp(56px, 9vw, 128px) var(--gutter) clamp(36px, 5vw, 64px);
}
.studio-head__title { font-size: calc(clamp(40px, 5.4vw, 76px) * var(--hs, 1)); margin-bottom: .35em; }
.studio-head__intro { font: 400 clamp(19px, 1.6vw, 23px)/1.6 var(--serif); color: var(--ink); }
.studio-head__intro p:last-child { margin-bottom: 0; }

.studio-banner { position: relative; height: clamp(320px, 62vh, 760px); overflow: hidden; }
.studio-banner picture, .studio-banner img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focus, 50% 50%); }

/* Filters */
.filters {
	max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 72px); padding: 0 var(--gutter);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.filters__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 18px; }
.filters__label { font: 400 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; }
.filters a { font: 400 14px/1.8 var(--sans); text-decoration: none; color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* Gallery */
.art-grid {
	list-style: none; margin: 0 auto; padding: 0 var(--gutter);
	max-width: var(--max);
	display: grid; grid-template-columns: 1fr;
	column-gap: clamp(28px, 4.5vw, 80px); row-gap: clamp(56px, 7vw, 110px);
	align-items: start;
}
@media (min-width: 768px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .art-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .art-grid--2 { max-width: 1280px; } }

.art-card__link { display: block; text-decoration: none; }
.art-card__frame { display: block; }
.art-card__frame img { width: 100%; height: auto; transition: opacity .5s var(--ease); }
.art-card__link:hover .art-card__frame img { opacity: .9; }
.art-card__placeholder { display: block; aspect-ratio: 4 / 5; background: var(--cream); }
.art-card__caption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.art-card__title { font: 400 22px/1.25 var(--serif); }
.art-card__link:hover .art-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.art-card__meta { font-size: 14px; color: var(--muted); }

.availability {
	display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0;
	font: 400 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.availability::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot-available); }
.availability--sold::before { background: var(--dot-sold); }
.availability--coming_soon::before { background: var(--dot-coming); }
.availability--not_for_sale::before { background: var(--dot-nfs); }
.availability--large { font-size: 12px; margin: 8px 0 22px; }

.empty-note { text-align: center; color: var(--muted); padding: 40px var(--gutter) 80px; }

/* Cross-studio link */
.cross-nav { margin-top: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); }
.cross-nav a {
	display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none;
	padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.cross-nav__kicker { font: 400 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.cross-nav__title { font: 400 calc(clamp(30px, 3.4vw, 46px) * var(--hs, 1))/1.1 var(--serif); color: var(--heading-ink, var(--ink)); }
.cross-nav__sub { font: 400 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.cross-nav__sub span { display: inline-block; transition: transform .45s var(--ease); }
.cross-nav a:hover .cross-nav__sub span { transform: translateX(6px); }

/* ---------- Artwork detail ---------- */
.artwork { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.artwork__back { margin: 28px 0 32px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.artwork__back a { text-decoration: none; color: var(--muted); }
.artwork__back a:hover { color: var(--ink); }
.artwork__layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.artwork__figure { margin: 0 0 clamp(28px, 3vw, 48px); }
.artwork__figure a { display: inline-block; cursor: zoom-in; line-height: 0; }
.artwork__figure img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 48px); }
.artwork__zoom-hint { font-size: 13px; color: var(--muted); }
.artwork__info { position: sticky; top: calc(var(--header-h) + 32px); padding-bottom: 32px; }
.admin-bar .artwork__info { top: calc(var(--header-h) + 64px); }
.artwork__title { font-size: calc(clamp(34px, 3.4vw, 52px) * var(--hs, 1)); margin-bottom: 28px; }
.artwork__facts { margin: 0; border-top: 1px solid var(--line); }
.artwork__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.artwork__facts dt { font: 400 11px/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.artwork__facts dd { margin: 0; }
.artwork__price { font: 400 26px/1.3 var(--serif); margin: 0 0 22px; }
.artwork__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.artwork__description { font: 400 19px/1.65 var(--serif); }
.artwork__related { margin-top: clamp(72px, 8vw, 120px); }
.artwork__pager { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(64px, 7vw, 100px); padding-top: 28px; border-top: 1px solid var(--line); }
.artwork__pager a { text-decoration: none; font: 400 20px/1.3 var(--serif); }
.artwork__pager a:hover { text-decoration: underline; }
.artwork__pager-next { margin-left: auto; text-align: right; }
.artwork .cross-nav { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
@media (max-width: 900px) {
	.artwork__layout { grid-template-columns: 1fr; }
	.artwork__info { position: static; }
	.artwork__figure img { max-height: none; width: 100%; }
}

.mini-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px; }
.mini-products a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.mini-products__img img { width: 100%; height: auto; margin-bottom: 12px; }
.mini-products__name { font: 400 20px/1.3 var(--serif); }
.mini-products__price { color: var(--muted); font-size: 14px; }

/* ---------- Jewelry studio ---------- */
.jewel-hero { position: relative; text-align: center; padding: clamp(80px, 12vw, 170px) var(--gutter) clamp(56px, 8vw, 110px); }
.jewel-hero--image { min-height: clamp(460px, 80vh, 900px); display: flex; align-items: flex-end; justify-content: center; color: #fff; padding-bottom: clamp(48px, 8vh, 96px); }
.jewel-hero__media { position: absolute; inset: 0; overflow: hidden; }
.jewel-hero__media picture, .jewel-hero__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focus, 50% 50%); }
.jewel-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 18, 16, .34), rgba(20, 18, 16, 0) 50%); pointer-events: none; }
.jewel-hero__text { position: relative; z-index: 1; max-width: 760px; }
.jewel-hero--image .eyebrow { color: rgba(255, 255, 255, .88); }
.jewel-hero__title { font-size: calc(clamp(44px, 6vw, 88px) * var(--hs, 1)); margin-bottom: .2em; }
.jewel-hero__tagline { font: italic 400 clamp(22px, 2.2vw, 32px)/1.3 var(--serif); margin: 0; }
.jewel-hero--image .jewel-hero__title { color: #fff; }
.jewel-hero--image .jewel-hero__title, .jewel-hero--image .jewel-hero__tagline { text-shadow: 0 1px 20px rgba(0, 0, 0, .3); }

.jewel-story {
	max-width: 720px; margin: 0 auto; padding: clamp(64px, 9vw, 130px) var(--gutter);
	text-align: center; font: 400 clamp(20px, 1.8vw, 25px)/1.65 var(--serif);
}
.jewel-story p:last-child { margin-bottom: 0; }

.collections { max-width: var(--max); margin: 0 auto clamp(80px, 10vw, 150px); padding: 0 var(--gutter); }
.collections__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 44px); grid-template-columns: 1fr; }
@media (min-width: 700px) {
	.collections__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.collections__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.collection-tile a { display: block; text-decoration: none; }
.collection-tile__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); box-shadow: 0 30px 50px -28px rgba(38, 37, 35, .45); }
.collection-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.collection-tile a:hover img { transform: scale(1.025); }
.collection-tile__blank { display: block; width: 100%; height: 100%; }
.collection-tile__name { display: block; margin-top: 18px; text-align: center; font: 400 24px/1.3 var(--serif); }

.jewel-products { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.jewel-cta { text-align: center; margin: clamp(56px, 6vw, 88px) 0 0; }

/* ---------- Standard pages ---------- */
.page-head { max-width: 860px; margin: 0 auto; text-align: var(--title-align, center); padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(28px, 4vw, 48px); }
.page-head__title { font-size: calc(clamp(40px, 5vw, 68px) * var(--hs, 1)); margin: 0; }
.page-body { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.page-figure { max-width: 1100px; margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 var(--gutter); }
.page-figure img { width: 100%; }

.page-body.entry-content, .page-body .entry-content { font-size: calc(var(--base-size, 16px) + 1px); }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: clamp(28px, 2.6vw, 38px); margin-top: 1.4em; }
.entry-content h3 { font-size: 26px; margin-top: 1.3em; }
.entry-content blockquote { margin: 1.6em 0; padding: 0; border: 0; font: italic 400 clamp(24px, 2.4vw, 32px)/1.4 var(--serif); text-align: center; }
.entry-content .alignwide { max-width: min(1100px, calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 2 * var(--gutter))); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content img { height: auto; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.page--contact .page-body { text-align: center; font-size: 18px; }
.contact-card { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); font: 400 24px/1.5 var(--serif); }
.contact-card p { margin: 0 0 6px; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.contact-card .social { justify-content: center; font: 400 12px/2 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.admin-hint { margin-top: 32px; padding: 16px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.page--404 .page-body { text-align: center; }

.list-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.list-item__title { font-size: 30px; margin: 0 0 4px; }
.list-item__title a { text-decoration: none; }
.list-item__date { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cross-nav + .site-footer, main + .site-footer { margin-top: 0; }
.site-footer__inner {
	max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.site-footer__studios { font: 400 22px/1.4 var(--serif); color: var(--ink); margin-bottom: 6px; }
.site-footer__studios a { text-decoration: none; }
.site-footer__studios a:hover { text-decoration: underline; }
.site-footer__studios span { margin: 0 .35em; color: var(--muted); }
.site-footer__phrase { font: italic 400 19px/1.4 var(--serif); }
.site-footer__contact p { margin: 0 0 4px; }
.site-footer__contact a { text-decoration: none; color: var(--ink); }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__contact .social { margin-top: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav a { text-decoration: none; }
.site-footer__base {
	max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 40px; border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px;
}
.site-footer__base p { margin: 0; }
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(24, 23, 22, .97); color: #f3efe8; display: none; }
.lb.is-open { display: block; }
.lb__stage { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lb__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 100px); width: auto; height: auto; cursor: zoom-in; user-select: none; }
.lb.is-zoomed .lb__stage { display: block; }
.lb.is-zoomed .lb__img { max-width: none; max-height: none; cursor: zoom-out; }
.lb__btn {
	position: absolute; z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
	display: grid; place-items: center; transition: background .3s var(--ease);
}
.lb__btn:hover, .lb__btn:focus-visible { background: rgba(255, 255, 255, .2); }
.lb__btn:focus-visible { outline-color: #fff; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; margin-top: -26px; }
.lb__next { right: 16px; top: 50%; margin-top: -26px; }
.lb__count { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12px; letter-spacing: .2em; z-index: 2; pointer-events: none; }
@media (max-width: 767px) {
	.lb__img { max-width: 100vw; max-height: calc(100vh - 120px); }
	.lb__prev, .lb__next { top: auto; bottom: 8px; margin: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
	.landing__panel:hover .landing__media img,
	.landing__panel:focus-visible .landing__media img,
	.collection-tile a:hover img { transform: none; }
}
