/* ============================================================
   Jeffrey Alan Marks — Squarespace one-page prototype
   Design tokens at the top: replace colors/fonts here.
   ============================================================ */

:root {
	/* jeffreyalanmarks.com uses a single typeface everywhere — Minerva
	   Modern (Adobe Fonts/Typekit) — not a serif+sans pairing. Both
	   tokens point to the same family so every rule that already
	   references --font-display / --font-body picks it up automatically. */
	--font-display: 'minerva-modern', Georgia, 'Times New Roman', serif;
	--font-body: 'minerva-modern', Georgia, 'Times New Roman', serif;

	--color-ivory: #F7F4EE;
	--color-ink: #1E1B16;
	--color-dark: #141110;
	--color-stone: #6E675C;
	--color-bronze: #A4744B;
	--color-bronze-dark: #7A5536;
	--color-bronze-light: #D9B08C;
	--color-line: rgba(30, 27, 22, 0.14);
	--color-line-light: rgba(247, 244, 238, 0.2);
	/* Colours measured on jeffreyalanmarks.com (23 Oct 2026). */
	--color-paper: #F6F7F0;
	--color-slate: #3D4F57;
	--color-warm-gray: #83837B;

	--container: 1240px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--radius: 2px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 0; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-ink);
	background: var(--color-ivory);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.12;
	margin: 0 0 0.5em;
}

p { margin: 0 0 1.25em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--color-bronze); color: var(--color-ivory); }
:focus-visible { outline: 2px solid var(--color-bronze); outline-offset: 3px; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--dark { background: var(--color-dark); color: var(--color-ivory); }

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 1.25rem;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-bronze);
}
.eyebrow::before { content: ''; width: 2.5rem; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--color-bronze-light); }

.section-title { font-size: clamp(2rem, 4vw, 3.1rem); }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.9rem 1.9rem;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--light { background: var(--color-ivory); color: var(--color-ink); }
.btn--light:hover { background: var(--color-bronze); color: var(--color-ivory); }
.btn--ghost { border-color: var(--color-line-light); color: var(--color-ivory); }
.btn--ghost:hover { border-color: var(--color-ivory); }
.btn--underline {
	position: relative;
	padding: 0.35rem 0;
	border-bottom: 1px solid currentColor;
}
.btn--underline:hover { color: var(--color-bronze); }

/* ---------- Reveal ---------- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-revealed { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   Header — desktop bar + mobile trigger/panel
   The real theme (jeffrey_alan_marks v1.0.4) only has a three-line
   toggle (80x32, top 4vh / left 2%, mix-blend-mode difference) and
   the #949fa7 overlay. The bar is a deliberate deviation: from 1080px
   the wordmark and the five links sit in a transparent bar whose
   text crossfades white/black with the region behind it. The mobile
   menu is also a deviation (glass monogram + crystal panel) instead
   of the flat overlay; see below.
   ============================================================ */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	pointer-events: none;
	color: var(--color-ink);
	transition: color 0.28s ease-out;
}

/* Region tone, set by JS from [data-nav] on each section. */
.site-header[data-tone="dark"],
.site-header[data-tone="photo"] { color: #fff; }

/* Soft top scrim so the white text keeps contrast over photography. */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 148px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
	opacity: 0;
	transition: opacity 0.28s ease-out;
	pointer-events: none;
}
.site-header[data-tone="photo"]::before { opacity: 1; }

.header__bar {
	display: none;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 76px;
	padding: 0 3%;
	pointer-events: auto;
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease, transform 0.4s var(--ease);
}
/* At the very top the bar would sit on the hero wordmark, so it stays out
   until the page scrolls. It remains focusable: focusing a link brings it back. */
.site-header[data-scrolled="false"] .header__bar {
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
}
.site-header[data-scrolled="false"] .header__bar:focus-within {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.header__brand {
	display: block;
	height: 16px;
	color: inherit;
}
.header__brand svg { display: block; height: 100%; width: auto; }
.header__brand:focus-visible,
.header__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.header__nav {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 2.6vw, 2.6rem);
}
.header__link {
	padding: 0.35rem 0;
	color: inherit;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	transition: opacity 0.18s ease-out;
}
.header__link:hover { opacity: 0.65; }
.header__link.is-active { text-decoration: underline; }

@media (min-width: 1080px) {
	.header__bar { display: flex; }
	/* Anchor targets clear the fixed bar. */
	[data-nav]:not(#top) { scroll-margin-top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-header::before,
	.header__bar { transition: none; }
}

.no-js .header__bar { display: none; }

/* Deliberate deviation from jeffreyalanmarks.com: the real theme uses an
   80x32 three-line toggle (top 4vh / left 2%) and a flat #949fa7 full-screen
   overlay. The client chose a 44px glass circle with the monogram and a panel
   that drops from the top-left corner, so the photo underneath stays visible.
   Both live below 1080px, where the desktop bar hides. */
.site-header {
	--menu-top: max(18px, 3vh);
	--menu-left: 3%;
	--menu-size: 44px;
}

.menu-toggle {
	position: fixed;
	top: var(--menu-top);
	left: var(--menu-left);
	z-index: 300;
	display: grid;
	place-items: center;
	width: var(--menu-size);
	height: var(--menu-size);
	padding: 0;
	border: 1px solid rgba(247, 244, 238, 0.26);
	border-radius: 50%;
	background:
		linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 55%),
		rgba(20, 17, 16, 0.44);
	-webkit-backdrop-filter: blur(16px) saturate(1.25);
	backdrop-filter: blur(16px) saturate(1.25);
	box-shadow:
		0 12px 26px -12px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	color: #fff;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
/* Like the desktop bar, the trigger only shows once the page has scrolled past
   the hero wordmark; at the top it fades out so it never overlaps the intro. */
.site-header[data-scrolled="false"] .menu-toggle {
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
}
.site-header[data-scrolled="false"] .menu-toggle:focus-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.menu-toggle:hover { border-color: rgba(247, 244, 238, 0.46); }
.menu-toggle[aria-expanded="true"] {
	border-color: rgba(247, 244, 238, 0.44);
	background:
		linear-gradient(150deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%),
		rgba(20, 17, 16, 0.64);
	box-shadow:
		0 12px 26px -12px rgba(0, 0, 0, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.26),
		0 0 0 4px rgba(247, 244, 238, 0.06);
}
.menu-toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}
.menu-toggle__mark {
	width: 19px;
	height: 19px;
	filter: invert(1) brightness(1.75);
}

@media (min-width: 1080px) {
	.menu-toggle { display: none; }
}

.site-nav {
	position: fixed;
	top: calc(var(--menu-top) + var(--menu-size) + 10px);
	left: var(--menu-left);
	z-index: 250;
	width: min(300px, calc(100vw - 6%));
	padding: 8px;
	border: 1px solid rgba(247, 244, 238, 0.18);
	border-radius: 20px;
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 48%),
		rgba(20, 17, 16, 0.74);
	-webkit-backdrop-filter: blur(26px) saturate(1.3);
	backdrop-filter: blur(26px) saturate(1.3);
	box-shadow:
		0 26px 50px -20px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	color: var(--color-ivory);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px) scale(0.98);
	transform-origin: 0 0;
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.42s cubic-bezier(0.34, 1.26, 0.64, 1),
		visibility 0s linear 0.42s;
}
body.menu-open .site-nav {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.26s ease 0.03s, transform 0.52s cubic-bezier(0.34, 1.26, 0.64, 1) 0.03s,
		visibility 0s;
}

.site-nav__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__list li { display: flex; }
.site-nav__list li:nth-child(-n+2) { border-top: 0; }
.site-nav__list li:nth-child(n+3) { border-top: 1px solid rgba(247, 244, 238, 0.1); }
.site-nav__list li:nth-child(2n) { border-left: 1px solid rgba(247, 244, 238, 0.1); }

.site-nav__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 64px;
	padding: 10px 12px;
	color: var(--color-ivory);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	line-height: 1.15;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0;
	transform: translateY(7px);
	transition: opacity 0.24s linear, transform 0.4s var(--ease), background-color 0.25s ease;
}
.site-nav__icon {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.25;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.9;
}
body.menu-open .site-nav__link {
	opacity: 1;
	transform: none;
}
body.menu-open .site-nav__list li:nth-child(1) .site-nav__link { transition-delay: 60ms; }
body.menu-open .site-nav__list li:nth-child(2) .site-nav__link { transition-delay: 98ms; }
body.menu-open .site-nav__list li:nth-child(3) .site-nav__link { transition-delay: 136ms; }
body.menu-open .site-nav__list li:nth-child(4) .site-nav__link { transition-delay: 174ms; }
body.menu-open .site-nav__list li:nth-child(5) .site-nav__link { transition-delay: 212ms; }

/* The real site turns the hovered item white (#fff) on the #949fa7 overlay;
   that is a 2.3:1 contrast and fails WCAG AA, so the hover/current state here
   is a translucent fill plus an underline. Noted as an accessibility deviation. */
.site-nav__link:hover { background: rgba(247, 244, 238, 0.07); }
.site-nav__link.is-active { text-decoration: underline; text-underline-offset: 5px; }
.site-nav__link:focus-visible {
	outline: 2px solid var(--color-bronze-light);
	outline-offset: -2px;
	background: rgba(247, 244, 238, 0.07);
}

.site-nav__mono {
	display: grid;
	place-items: center;
	min-height: 64px;
}
.site-nav__mono img {
	width: 26px;
	filter: invert(1) brightness(1.5);
	opacity: 0.44;
}

@media (min-width: 1080px) {
	.site-nav { display: none; }
}

/* No-JS fallback: keep the links reachable as a plain inline bar. */
.no-js .menu-toggle { display: none; }
.no-js .site-header { position: absolute; }
.no-js .site-nav {
	display: block;
	position: static;
	width: auto;
	padding: 1.2rem 3%;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.no-js .site-nav__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 1.5rem;
}
.no-js .site-nav__list li { border: 0; }
.no-js .site-nav__link {
	display: inline;
	min-height: 0;
	padding: 0;
	opacity: 1;
	transform: none;
	font-size: 0.72rem;
	line-height: 2;
	color: var(--color-ink);
}
.no-js .site-nav__icon,
.no-js .site-nav__mono { display: none; }

/* ============================================================
   Intro + home slideshow
   ============================================================ */
.intro {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--color-ivory);
	touch-action: pan-y;
}
.intro__media { position: absolute; inset: 0; }

/* Ten interiors, 2 s crossfade. Each active photo zooms out from
   1.12 to 1 over 10 s; because the photo only stays 5 s, the cut
   happens mid-move and the next one starts wide again, which is
   what reads as a continuous zoom out. */
.intro__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 2s var(--ease);
}
.intro__slide.is-active { opacity: 1; }
.intro__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
}
.intro__slide.is-animating img { animation: introZoom 10s linear forwards; }
@keyframes introZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.intro__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 14, 12, 0.36);
}
.intro__content {
	position: relative;
	z-index: 2;
	width: min(90%, 560px);
	text-align: center;
}
.intro__logo svg { display: block; width: 100%; height: auto; }

.intro__scroll {
	position: absolute;
	left: 50%;
	bottom: 2rem;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.66rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(247, 244, 238, 0.8);
}
.intro__scroll-line { position: relative; width: 1px; height: 52px; background: rgba(247, 244, 238, 0.4); overflow: hidden; }
.intro__scroll-line::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--color-ivory);
	animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop {
	0% { transform: translateY(-100%); }
	60%, 100% { transform: translateY(100%); }
}

/* ============================================================
   Overview (home text)
   ============================================================ */
.overview { background: var(--color-paper); }
.overview__inner { max-width: 74ch; }
.overview__block + .overview__block { margin-top: clamp(2.8rem, 5vw, 4.2rem); }
.overview__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1.2rem; }
.overview p { color: var(--color-stone); }
.overview p:last-child { margin-bottom: 0; }

/* ============================================================
   Profile
   ============================================================ */
.profile__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}
.profile__media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.profile__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.profile__quote {
	margin: 0 0 2rem;
	padding-left: 1.6rem;
	border-left: 2px solid var(--color-bronze);
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.5rem, 2.8vw, 2.2rem);
	line-height: 1.35;
	max-width: 30ch;
}
.profile__text { color: var(--color-stone); max-width: 62ch; }
.profile__facts {
	display: flex;
	gap: clamp(2rem, 5vw, 4rem);
	margin-top: 2.4rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-line);
}
.profile__facts strong {
	display: block;
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 400;
	color: var(--color-bronze);
}
.profile__facts span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-stone); }

/* ============================================================
   Portfolio — Swiper "luxe" gallery
   ============================================================ */
.portfolio { padding-block: clamp(4rem, 8vw, 6rem) 2rem; }
.portfolio__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.portfolio__hint { margin: 0; color: rgba(247, 244, 238, 0.55); font-size: 0.85rem; }
.portfolio__hint em { color: var(--color-bronze-light); font-style: italic; }

.portfolio__swiper { overflow: hidden; }

.portfolio__slide { position: relative; height: min(78vh, 760px); }
.portfolio__media { position: absolute; inset: 0; overflow: hidden; }
.portfolio__media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 17, 16, 0.08) 40%, rgba(20, 17, 16, 0.72) 100%);
}
.portfolio__caption {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: clamp(2rem, 6vh, 4.5rem);
	z-index: 3;
	/* Was 26ch, which is measured in the caption's 16px body size and kept the
	   display line in a 280px column even on a 1440px screen. */
	max-width: min(30rem, 100%);
}
.portfolio__meta {
	margin: 0 0 0.8rem;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-bronze-light);
}
.portfolio__project {
	border-bottom: 1px solid transparent;
	transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.portfolio__project:hover { color: var(--color-ivory); border-color: currentColor; }
.portfolio__title {
	margin: 0;
	font-size: clamp(1.7rem, 3.6vw, 2.9rem);
	color: var(--color-ivory);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.portfolio__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-top: 1.6rem;
}
.portfolio__nav-arrows {
	display: flex;
	gap: 14px;
}
.portfolio__arrow {
	width: 44px;
	height: 44px;
	flex: none;
	border: 1px solid var(--color-line-light);
	border-radius: 50%;
	background: transparent;
	color: var(--color-ivory);
	font-size: 22px;
	line-height: 1;
	display: grid;
	place-items: center;
	transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.16s var(--ease);
}
.portfolio__arrow:hover { border-color: var(--color-bronze-light); color: var(--color-bronze-light); }
.portfolio__arrow:active { transform: scale(0.94); }

.portfolio__pagination { display: flex; justify-content: center; gap: 0.6rem; }
.portfolio__pagination .swiper-pagination-bullet {
	width: 20px;
	height: 2px;
	border-radius: 0;
	background: rgba(247, 244, 238, 0.25);
	opacity: 1;
	margin: 0;
	transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}
.portfolio__pagination .swiper-pagination-bullet-active { width: 33px; background: var(--color-bronze-light); }

/* ============================================================
/* ============================================================
   Collections — coverflow of portrait cards
   Inspired by the "Voyage" slider (devloop01/voyage-slider): a 3D
   coverflow of portrait (4:5) cards so the collection images are no
   longer cropped by wide landscape frames, and several cards are on
   screen at once. Replaces the previous MzaCarousel port.
   ============================================================ */
.collections {
	position: relative;
	overflow: hidden;
	background: var(--color-dark);
}
.collections__head { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.collections__head .eyebrow { justify-content: center; }
.collections__head .eyebrow::after { content: ''; width: 2.5rem; height: 1px; background: currentColor; }

.voyage {
	--voyage-cardW: clamp(240px, 26vw, 360px);
	--voyage-aspect: 4 / 5;
	--voyage-fg: #ECE7DD;
	--voyage-accent: var(--color-bronze-light);
	position: relative;
	max-width: 100vw;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 60px);
	color: var(--voyage-fg);
}
.voyage__stage {
	position: relative;
	height: calc(var(--voyage-cardW) * 1.38);
	touch-action: pan-y;
	outline: none;
	perspective: 1400px;
}
.voyage__track {
	position: relative;
	width: 100%;
	height: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	transform-style: preserve-3d;
}
.voyage__slide {
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--voyage-cardW);
	aspect-ratio: var(--voyage-aspect);
	margin: 0;
	transform: translate(-50%, -50%);
	transform-style: preserve-3d;
	transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 720ms ease;
	will-change: transform, opacity;
}
.voyage__card {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #141110;
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}
.voyage__card:focus-visible {
	outline: 2px solid var(--voyage-accent);
	outline-offset: 3px;
}
.voyage__media {
	position: absolute;
	inset: 0;
}
.voyage__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.voyage__card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(8, 7, 6, 0.8) 100%);
	z-index: 1;
	pointer-events: none;
}
.voyage__cap {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: 18px 18px 16px;
}
.voyage__title {
	display: block;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.08;
	letter-spacing: 0.2px;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.voyage__cta {
	display: block;
	margin-top: 8px;
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--voyage-accent);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.voyage__card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 3;
	background: rgba(9, 8, 7, 0.62);
	opacity: var(--dim, 0);
	pointer-events: none;
	transition: opacity 720ms ease;
}
.voyage__nav {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: clamp(20px, 3vw, 28px);
}
.voyage__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--color-line-light);
	background: transparent;
	color: var(--voyage-fg);
	font-size: 22px;
	line-height: 1;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.16s var(--ease);
}
.voyage__btn:hover { border-color: var(--voyage-accent); color: var(--voyage-accent); }
.voyage__btn:active { transform: scale(0.94); }
.voyage__btn:focus-visible { outline: 2px solid var(--voyage-accent); outline-offset: 3px; }
.voyage__dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-top: 14px;
}
.voyage__dot {
	position: relative;
	width: 20px;
	height: 22px;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: width 0.3s var(--ease);
}
.voyage__dot::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	transform: translateY(-50%);
	background: rgba(236, 231, 221, 0.28);
	transition: background-color 0.3s var(--ease);
}
.voyage__dot:hover::after { background: rgba(236, 231, 221, 0.5); }
.voyage__dot[aria-current="true"] { width: 33px; }
.voyage__dot[aria-current="true"]::after { background: var(--voyage-accent); }

@media (max-width: 560px) {
	.voyage { padding-inline: clamp(16px, 6vw, 40px); }
	.voyage__title { font-size: 19px; }
	.voyage__cta { font-size: 0.56rem; }
}

/* ============================================================
   Media — books horizontal
   ============================================================ */
.media__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.media__books {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2.8rem, 6vw, 4.5rem);
}
.book {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(1.4rem, 3vw, 2.6rem);
	align-items: center;
}
.book__cover { overflow: hidden; border-radius: var(--radius); box-shadow: 0 18px 50px rgba(30, 27, 22, 0.18); }
.book__cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.book__title { font-size: 1.7rem; }
.book__meta {
	margin: 0 0 0.8rem;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-bronze-dark);
}
.book__text { color: var(--color-stone); font-size: 0.94rem; max-width: 46ch; }

.media__press { margin-top: clamp(3rem, 6vw, 4.5rem); }
.media__press-label {
	margin: 0 0 1.2rem;
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-stone);
}
.media__press-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.4rem;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.35rem;
	color: var(--color-ink);
}

/* ============================================================
   Contact + fixed monogram
   ============================================================ */
.contact { background: var(--color-paper); }
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}
.contact__media { overflow: hidden; border-radius: var(--radius); }
.contact__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact__name {
	margin: 0 0 1.6rem;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-slate);
}
.contact__list { display: flex; flex-direction: column; gap: 0.8rem; }
.contact__list a {
	color: var(--color-ink);
	border-bottom: 1px solid transparent;
	transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__list a:hover { color: var(--color-slate); border-color: currentColor; }
.contact__list address { font-style: normal; color: var(--color-stone); }
.corner-mark {
	position: fixed;
	right: clamp(1rem, 2vw, 2rem);
	bottom: clamp(1.2rem, 2.4vw, 2.4rem);
	z-index: 220;
	display: block;
	width: clamp(36px, 3vw, 44px);
	color: var(--color-slate);
	opacity: 0.85;
	transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.corner-mark:hover { opacity: 1; }
.corner-mark[data-tone="dark"],
.corner-mark[data-tone="photo"] { color: var(--color-ivory); }
.corner-mark svg { display: block; width: 100%; height: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
	.profile__grid { grid-template-columns: 1fr; }
	.profile__media { max-width: 420px; }
	.contact__grid { grid-template-columns: 1fr; }
	.contact__media { max-width: 640px; }
	.book { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

@media (max-width: 640px) {
	.portfolio__pagination { display: none; }
	.book { grid-template-columns: 1fr; }
	.portfolio__slide { height: 68vh; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.intro__slide { transition: none; }
	.intro__slide img { animation: none !important; transform: none; }
	.intro__scroll-line::after { animation: none !important; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.menu-toggle,
	.site-nav,
	.site-nav__link { transition: none; }
	.voyage__slide,
	.voyage__card::after { transition: none; }
}
