/* ==========================================================================
   Helia — main stylesheet
   ========================================================================== */
/* Self-hosted fonts (SIL OFL) — no Google Fonts request, works everywhere. */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--brown: #4a2e22;
	--brown-2: #3a2219;
	--brown-3: #6b4433;
	--red: #8c1c1c;
	--red-2: #6b1313;
	--red-3: #a8322b;
	--cream: #f2e8d8;
	--cream-2: #e8d9c2;
	--cream-3: #d9c6a8;
	--ink: #2a1810;
	--serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
	--sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
	--pad: clamp(16px, 3.2vw, 48px);
	--ease: cubic-bezier(.76, 0, .24, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--fg: var(--ink);
	--bg: var(--cream);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; direction: ltr; }
body {
	margin: 0;
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: var(--fg);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.theme-brown { --bg: var(--brown); --fg: var(--cream); }
body.theme-red { --bg: var(--red); --fg: var(--cream); }
body.theme-cream { --bg: var(--cream); --fg: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--cream); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 2000; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

.eyebrow {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .28em;
	text-transform: uppercase;
	margin: 0 0 12px;
	opacity: .75;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px var(--pad);
	color: var(--fg);
	pointer-events: none;
	transition: color .5s var(--ease);
}
.site-header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 96px; height: auto; overflow: visible; margin: -22px 0 -22px -14px; }
.brand-name { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 400; letter-spacing: .02em; }
.site-nav { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.site-nav a {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; font-weight: 400;
	position: relative; padding: 6px 0;
}
.site-nav a i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; border: 1px solid currentColor; }
.site-nav .nav-photo i { background: var(--brown-3); }
.site-nav .nav-id i { background: var(--red-3); }
.site-nav .nav-about i { background: var(--cream); }
.site-nav a::after { content: ""; position: absolute; left: 16px; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.role-intro .site-header { color: var(--brown); }
.role-intro .site-header .brand { opacity: 0; visibility: hidden; }
.role-intro.split-on .site-header { color: var(--cream); }
html:not(.js) .role-intro .site-header { color: var(--cream); }
body.on-light .site-header { color: var(--red); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(242, 232, 216, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .4s; box-shadow: 0 1px 0 rgba(42,24,16,.08); }
.site-header.is-scrolled::before { opacity: 1; }
.theme-red .site-header::before { background: rgba(120, 22, 22, .82); box-shadow: none; }
.theme-brown .site-header::before { background: rgba(58, 34, 25, .82); box-shadow: none; }
.deck-ready .site-header::before { opacity: 0; }

@media (max-width: 640px) {
	.site-header { padding: 14px 16px; }
	.brand-name { display: none; }
	.brand-mark { width: 76px; margin: -18px 0 -18px -11px; }
	.site-nav { gap: 14px; }
	.site-nav a { font-size: 10px; letter-spacing: .14em; }
	.site-nav a i { display: none; }
}

/* --------------------------------------------------------------------------
   Page transition wipe + grain
   -------------------------------------------------------------------------- */
.wipe {
	position: fixed; inset: 0; z-index: 1500;
	background: var(--wipe, var(--cream));
	clip-path: inset(100% 0 0 0);
	pointer-events: none;
}
html.is-entering .wipe { clip-path: inset(0 0 0 0); }
.grain {
	position: fixed; inset: -50%; z-index: 1400; pointer-events: none;
	opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
	display: none;
}
.theme-brown .grain, .theme-red .grain { display: block; }

/* --------------------------------------------------------------------------
   Corner switch link (to the other discipline)
   -------------------------------------------------------------------------- */
.switch-link {
	position: fixed; right: var(--pad); bottom: calc(var(--pad) * .8); z-index: 800;
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 18px 10px 10px;
	border-radius: 999px;
	text-decoration: none;
	color: var(--cream);
	background: rgba(20, 10, 6, .28);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(242, 232, 216, .22);
	transition: background .4s, transform .5s var(--ease-out);
}
.switch-link:hover { transform: translateY(-3px); background: rgba(20, 10, 6, .45); }
.switch-swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(242, 232, 216, .5); flex: none; transition: transform .6s var(--ease-out); }
.switch-to-identity .switch-swatch { background: var(--red); }
.switch-to-photography .switch-swatch { background: var(--brown); }
.switch-link:hover .switch-swatch { transform: scale(1.18); }
.switch-label { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--serif); font-size: 18px; font-style: italic; }
.switch-label small { font-family: var(--sans); font-style: normal; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.switch-arrow { font-size: 16px; transition: transform .5s var(--ease-out); }
.switch-link:hover .switch-arrow { transform: translateX(4px); }
@media (max-width: 640px) {
	.switch-link { padding: 6px 12px 6px 6px; gap: 8px; }
	.switch-swatch { width: 26px; height: 26px; }
	.switch-label { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   Motion logo
   -------------------------------------------------------------------------- */
.helia-logo { overflow: visible; }

/* --------------------------------------------------------------------------
   Intro (front page)
   -------------------------------------------------------------------------- */
.role-intro { overflow: hidden; }
.intro { position: fixed; inset: 0; background: var(--cream); color: var(--brown); overflow: hidden; }
.intro-stage {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
	z-index: 2;
}
.intro-logo { width: min(52vw, 46vh, 460px); height: auto; color: var(--brown); }
.intro-line { margin: 0; display: flex; gap: 14px; align-items: baseline; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; font-weight: 400; }
.intro-line em { font-family: var(--serif); font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--red); }

.split { position: absolute; inset: 0; display: flex; z-index: 3; }
.js .split { visibility: hidden; }
.half {
	position: relative; flex: 1 1 0; min-width: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: calc(var(--pad) * 1.6) var(--pad) calc(var(--pad) * 2.2);
	color: var(--cream); text-decoration: none; overflow: hidden;
	transition: flex-grow 1s var(--ease);
}
.half-photo { background: var(--brown); }
.half-id { background: var(--red); }
.half-about { background: var(--cream-2); color: var(--brown); flex-grow: .62; border-left: 1px solid rgba(74,46,34,.12); }
.half-about::before { background: linear-gradient(to top, rgba(242,232,216,.85), transparent 60%); }
.half-about .half-title { font-size: clamp(32px, 3.4vw, 60px); }
.half-about .half-img { mix-blend-mode: multiply; filter: grayscale(.2) sepia(.25); }
.split:hover .half { flex-grow: .75; }
.split:hover .half-about { flex-grow: .5; }
.split .half:hover, .split .half:focus-visible { flex-grow: 1.5; }
.split .half-about:hover, .split .half-about:focus-visible { flex-grow: 1.2; }
.half-about:hover .half-img, .half-about:focus-visible .half-img { opacity: .55; }
.split.is-expanding .half { transition: none; }
.half-img {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.08); filter: grayscale(.35) contrast(1.05);
	mix-blend-mode: luminosity;
	transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out);
}
.half-photo .half-img { mix-blend-mode: luminosity; }
.half:hover .half-img, .half:focus-visible .half-img { opacity: .38; transform: scale(1); }
.half::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 55%); z-index: 0; }
.half-num { position: absolute; top: calc(var(--pad) * 2.6); left: var(--pad); font-size: 11px; letter-spacing: .3em; opacity: .7; z-index: 1; }
.half-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.half-title { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(36px, 4.3vw, 78px); line-height: .95; letter-spacing: -.01em; }
.half-sub { font-size: 13px; letter-spacing: .06em; opacity: .8; max-width: 30ch; }
.half-cta { margin-top: 18px; display: inline-flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.half-cta i { font-style: normal; transition: transform .5s var(--ease-out); }
.half:hover .half-cta i { transform: translateX(6px); }
.intro-about {
	position: absolute; z-index: 4; left: 50%; bottom: calc(var(--pad) * .9); transform: translateX(-50%);
	font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); text-decoration: none;
	padding: 8px 16px; border: 1px solid rgba(242,232,216,.4); border-radius: 999px; backdrop-filter: blur(6px);
}
.js .intro-about { opacity: 0; }
.intro-skip {
	position: absolute; z-index: 5; right: var(--pad); bottom: var(--pad);
	background: none; border: 0; cursor: pointer; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--brown); opacity: .6;
}
.no-js .intro-skip, html:not(.js) .intro-skip { display: none; }
html:not(.js) .intro-stage { display: none; }

@media (max-width: 760px) {
	.split { flex-direction: column; }
	.half { padding-top: 64px; padding-bottom: 28px; }
	.half-num { top: 64px; }
	.half-photo { padding-top: 80px; }
	.half-title { font-size: clamp(38px, 11vw, 64px); }
	.split:hover .half, .split .half:hover { flex-grow: 1; }
	.half-about, .split:hover .half-about, .split .half-about:hover { flex-grow: .55; }
	.half-about .half-sub { display: none; }
	.half-about .half-img { opacity: .3; background-position: center 30%; }
	.half-img { opacity: .14; transform: none; }
	.intro-about { bottom: auto; top: 50%; transform: translate(-50%, -50%); background: rgba(30,12,8,.35); }
}

/* --------------------------------------------------------------------------
   Photography page — lens & orbit
   -------------------------------------------------------------------------- */
.role-photography { overflow: hidden; height: 100svh; overscroll-behavior: none; }
.photo-page { position: fixed; inset: 0; overflow: hidden; color: var(--cream); background: radial-gradient(120% 90% at 50% 100%, var(--brown-3) 0%, var(--brown) 45%, var(--brown-2) 100%); touch-action: none; user-select: none; -webkit-user-select: none; }
.photo-head { position: absolute; left: var(--pad); top: calc(var(--pad) + 64px); z-index: 30; max-width: min(34vw, 420px); pointer-events: none; }
.page-title { margin: 0; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(44px, 6vw, 92px); line-height: .9; letter-spacing: -.01em; }
.hover-info { margin-top: 26px; min-height: 120px; }
.hover-info p { margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.hover-info.is-on p { opacity: 1; transform: none; }
.hover-info.is-on .hi-title { transition-delay: .04s; }
.hover-info.is-on .hi-desc { transition-delay: .08s; }
.hi-client { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .7 !important; color: var(--cream-3); }
.hover-info:not(.is-on) .hi-client { opacity: 0 !important; }
.hi-title { font-family: var(--serif); font-size: 30px; font-style: italic; line-height: 1.1; margin-top: 6px !important; }
.hi-desc { font-size: 13.5px; line-height: 1.6; margin-top: 10px !important; max-width: 34ch; opacity: .85; }
.photo-hint { position: absolute; left: 0; top: 100%; margin: 0; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; width: 30ch; transition: opacity .4s; }
.hover-info.is-on + .photo-hint { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

.orbit { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 10; }
.orbit-ring { position: absolute; left: 0; top: 0; color: var(--cream); pointer-events: none; overflow: visible; }
.orbit-items { list-style: none; margin: 0; padding: 0; }
.orbit-item { position: absolute; left: 0; top: 0; width: var(--item, 140px); height: var(--item, 140px); margin: 0; will-change: transform; }
.orbit-item button {
	position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer;
	transition: transform .6s var(--ease-out), filter .5s;
}
/* Darkroom print: square photo, paper border, slightly warm. */
.orbit-item img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	padding: 6.5%;
	background: #f4ecdc linear-gradient(160deg, #fbf6ec 0%, #efe4cf 55%, #e6d7bc 100%);
	border-radius: 1px;
	box-shadow: 0 18px 30px -14px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.25), inset 0 0 0 1px rgba(120,90,60,.12);
	filter: sepia(.12) contrast(1.02);
	pointer-events: none;
	transition: filter 2.6s cubic-bezier(.3,.1,.2,1);
}
.orbit-item img.cut { object-fit: contain; padding: 11%; }
.orbit-item.is-group img.st-0 { transform: rotate(-1.5deg); }
.orbit-item.is-group img.st-1 { transform: rotate(-9deg) translate(-7%, 3%); filter: sepia(.25) brightness(.9); }
.orbit-item.is-group img.st-2 { transform: rotate(8deg) translate(8%, 4%); filter: sepia(.3) brightness(.82); }
.orbit-item.is-single img { transform: rotate(1deg); }
/* Developing: prints start pale and come up like in the tray. */
.orbit-item.is-developing img { filter: saturate(.2) sepia(.85) brightness(1.4) contrast(.45) blur(.6px); }
.orbit-item .count {
	position: absolute; right: -2%; top: -2%; z-index: 3;
	min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
	background: var(--cream); color: var(--brown); font-size: 11px; font-weight: 500; line-height: 24px; text-align: center;
}
.orbit-item button:hover, .orbit-item button:focus-visible { transform: scale(1.1) translateY(-5%) rotate(-1deg); }
.orbit-item button:focus-visible { outline: 1.5px solid var(--cream); outline-offset: 6px; }
.photo-page.is-dragging .orbit-item button { cursor: grabbing; }
.photo-page.is-open .orbit-item button { pointer-events: none; }

.lens { position: absolute; left: 0; top: 0; width: 300px; height: 300px; z-index: 20; will-change: transform; }
.lens-svg, .lens-shine { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lens-shine { pointer-events: none; z-index: 3; transition: opacity .6s; }
.lens-zoom { transform-origin: 0 0; }
.lens-view {
	position: absolute; left: 20.68%; top: 20.68%; width: 58.64%; height: 58.64%;
	border-radius: 50%; overflow: hidden; z-index: 2; pointer-events: none;
	background: transparent;
}
.lens-view::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, transparent 52%, rgba(0,0,0,.35) 78%, rgba(0,0,0,.85) 100%);
	box-shadow: inset 0 0 30px rgba(0,0,0,.6);
}
.lens-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens-view img.is-cutout { object-fit: contain; padding: 12%; background: radial-gradient(circle, var(--cream-2), var(--cream-3)); }
.lens-view img.is-developing { filter: sepia(.9) brightness(1.5) contrast(.5) saturate(.3) !important; }
.lens-ring-hit { position: absolute; inset: 0; border-radius: 50%; border: 0; background: transparent; z-index: 4; cursor: grab; pointer-events: none; touch-action: none; }
.photo-page.is-open .lens-ring-hit { pointer-events: auto; }
.photo-page.is-open .lens-ring-hit:active { cursor: grabbing; }

.lens-info {
	position: absolute; z-index: 30; right: calc(var(--pad) * 1.6); top: 50%; transform: translateY(-50%);
	width: min(30vw, 400px);
	opacity: 0; visibility: hidden;
}
.photo-page.is-open .lens-info { visibility: visible; }
.li-title { margin: 0; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; }
.li-desc { font-size: 14.5px; line-height: 1.7; opacity: .88; margin: 18px 0 26px; }
.li-controls { display: flex; align-items: center; gap: 18px; }
.li-controls button {
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(242,232,216,.4); background: none; cursor: pointer; font-size: 16px;
	transition: background .3s, color .3s;
}
.li-controls button:hover { background: var(--cream); color: var(--brown); }
.li-controls button:disabled { opacity: .25; pointer-events: none; }
.li-count { font-family: var(--serif); font-size: 22px; font-style: italic; }
.li-count b { font-weight: 500; }
.li-hint { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; margin: 14px 0 0; }
.li-close {
	margin-top: 34px; display: inline-flex; align-items: center; gap: 10px;
	border: 0; background: none; cursor: pointer; padding: 0;
	font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
}
.li-close kbd { font-family: var(--sans); font-size: 10px; border: 1px solid rgba(242,232,216,.4); border-radius: 4px; padding: 1px 6px; letter-spacing: .1em; }
.li-close:hover span { text-decoration: underline; text-underline-offset: 4px; }

.fly { position: fixed; z-index: 25; pointer-events: none; overflow: hidden; }
.fly img { width: 100%; height: 100%; object-fit: cover; }
.fly.is-cutout img { object-fit: contain; }

.noscript-grid { position: absolute; inset: 0; overflow: auto; padding: 120px var(--pad) 120px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; z-index: 50; background: var(--brown); }
.noscript-grid figcaption { font-size: 13px; margin-top: 8px; }

@media (max-width: 760px) {
	.photo-head { top: 62px; left: 16px; max-width: calc(100vw - 32px); }
	.page-title { font-size: 40px; }
	.hover-info { margin-top: 12px; min-height: 0; }
	.hi-title { font-size: 22px; }
	.hi-desc { font-size: 12.5px; }
	.photo-hint { position: static; margin-top: 8px; width: auto; max-width: calc(100vw - 32px); }
	.lens-info { left: 16px; right: 16px; width: auto; top: auto; bottom: 74px; transform: none; }
	.li-title { font-size: 30px; }
	.li-desc { font-size: 13px; margin: 8px 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.li-close { margin-top: 0; position: absolute; right: 0; top: 0; }
	.li-hint { display: none; }
	.li-controls button { width: 40px; height: 40px; }
	.photo-page.is-open .photo-head { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Identity page — snap deck
   -------------------------------------------------------------------------- */
.role-identity.deck-ready { overflow: hidden; height: 100svh; overscroll-behavior: none; }
.id-page { position: relative; }
.slide { position: relative; min-height: 100svh; overflow: hidden; display: flex; }
.id-js .deck { display: none; }
.id-js .deck.is-open { display: block; position: fixed; inset: 0; z-index: 600; touch-action: none; }
.id-js .deck.is-open .slide { position: absolute; inset: 0; min-height: 0; visibility: hidden; }
.id-js .deck.is-open .slide.is-active { visibility: visible; }
.deck-count em { font-style: italic; }
.deck-dots li { pointer-events: auto; cursor: pointer; }

/* Project index */
.id-index { min-height: 100svh; padding: calc(var(--pad) + 90px) var(--pad) calc(var(--pad) + 90px); background: var(--red); color: var(--cream); }
.deck-ready .id-index { visibility: hidden; }
.idx-head { display: grid; grid-template-columns: 1fr minmax(240px, 380px); align-items: end; gap: 4vw; margin-bottom: clamp(40px, 6vw, 90px); }
.idx-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.id-index .page-title { font-size: clamp(56px, 8.5vw, 140px); line-height: .88; }
.idx-intro { margin: 0; font-size: 15px; line-height: 1.7; opacity: .85; }
.idx-intro span { display: block; margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 22px; opacity: 1; }
.idx-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.idx-card a { display: block; text-decoration: none; color: inherit; }
.idx-figure { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--red-2); box-shadow: 0 40px 70px -40px rgba(0,0,0,.7); }
.idx-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; }
.idx-card a:hover .idx-figure img, .idx-card a:focus-visible .idx-figure img { transform: scale(1.06); }
.idx-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 18px; padding-top: 20px; border-bottom: 1px solid rgba(242,232,216,.3); padding-bottom: 18px; }
.idx-num { font-size: 11px; letter-spacing: .26em; opacity: .7; }
.idx-name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 4vw, 64px); line-height: 1; }
.idx-tag { grid-column: 2; font-size: 14px; opacity: .8; }
.idx-cta { grid-column: 3; grid-row: 1; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
.idx-cta i { font-style: normal; display: inline-block; transition: transform .5s var(--ease-out); }
.idx-card a:hover .idx-cta i { transform: translateX(6px); }
.idx-next .idx-figure { background: transparent; border: 1px dashed rgba(242,232,216,.4); box-shadow: none; display: grid; place-items: center; }
.idx-next-mark { width: 38%; color: rgba(242,232,216,.55); transition: color .5s, transform 1s var(--ease-out); }
.idx-next-mark svg { width: 100%; height: auto; }
.idx-next a:hover .idx-next-mark { color: var(--cream); transform: rotate(-4deg) scale(1.05); }
.idx-next .idx-name { opacity: .85; }

.deck-back {
	position: fixed; z-index: 750; left: var(--pad); bottom: calc(var(--pad) * .8);
	display: none; align-items: center; gap: 10px;
	padding: 12px 20px; border-radius: 999px; cursor: pointer;
	background: rgba(40, 6, 6, .3); color: var(--cream); border: 1px solid rgba(242,232,216,.3);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
}
.deck-back i { font-style: normal; font-size: 14px; letter-spacing: 0; transition: transform .4s var(--ease-out); }
.deck-back:hover i { transform: translateX(-4px); }
.deck-ready .deck-back { display: inline-flex; }
body.on-light .deck-back { color: var(--red-2); background: rgba(242,232,216,.6); border-color: rgba(107,19,19,.3); }
@media (max-width: 760px) {
	.idx-head { grid-template-columns: 1fr; }
	.idx-list { grid-template-columns: 1fr; }
	.idx-meta { grid-template-columns: auto 1fr; }
	.idx-cta { grid-column: 2; grid-row: auto; margin-top: 8px; }
	.deck-back { left: 16px; bottom: 16px; padding: 10px 14px; }
	.deck-back span { display: none; }
}
.slide-inner { position: relative; width: 100%; padding: calc(var(--pad) + 70px) calc(var(--pad) * 2.6) calc(var(--pad) + 40px) var(--pad); display: flex; align-items: center; }
.tone-red { background: var(--red); color: var(--cream); }
.tone-red-deep { background: var(--red-2); color: var(--cream); }
.tone-cream { background: var(--cream); color: var(--red); }
.tone-cream-2 { background: var(--cream-2); color: var(--red-2); }

.slide-cover .slide-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4vw; }
.cover-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(80px, 15vw, 260px); line-height: .82; letter-spacing: -.03em; font-style: italic; }
.cover-tagline { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 30px); font-style: italic; opacity: .9; max-width: 22ch; }
.cover-scroll { margin: 54px 0 0; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; opacity: .7; }
.cover-scroll i { font-style: normal; display: inline-block; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.cover-figure { margin: 0; justify-self: end; width: 100%; max-width: 760px; }
.cover-figure img { width: 100%; height: auto; max-height: 70vh; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }

.concept-grid { display: grid; grid-template-columns: 1.5fr .7fr; grid-template-rows: auto auto; gap: 20px 6vw; width: 100%; align-items: start; }
.concept-grid .eyebrow { grid-column: 1 / -1; }
.concept-text { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.9vw, 48px); line-height: 1.2; grid-row: 2; }
.concept-meta em { font-family: var(--serif); font-size: 18px; }
.concept-figure { margin: 0; grid-column: 2; grid-row: 2; }
.concept-figure img { width: 100%; box-shadow: 0 30px 60px -30px rgba(80,10,10,.45); }
.concept-meta { list-style: none; padding: 0; margin: 0; grid-column: 2; grid-row: 2; align-self: end; display: grid; gap: 10px; font-size: 14px; }
.concept-meta li { display: grid; grid-template-columns: 90px 1fr; border-top: 1px solid currentColor; padding-top: 10px; }
.concept-meta span { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; padding-top: 2px; }

.slide-image .slide-inner { justify-content: center; flex-direction: column; }
.shot { display: flex; gap: 3vw; justify-content: center; align-items: center; width: 100%; }
.shot figure { margin: 0; }
.shot img { max-height: 70vh; max-width: min(78vw, 1200px); width: auto; height: auto; box-shadow: 0 40px 90px -35px rgba(0,0,0,.6); }
.shot-2up figure { flex: 0 1 auto; }
.shot-2up img { max-width: 40vw; max-height: 56vh; }
.shot-caption { position: absolute; left: var(--pad); bottom: calc(var(--pad) + 6px); margin: 0; max-width: 40ch; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; }
.shot-caption span { display: block; font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .65; margin-bottom: 6px; }

.end-text { max-width: 980px; }
.end-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 96px); line-height: 1; }
.end-title em { color: var(--cream-3); }
.end-links { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.end-links a { cursor: pointer; text-decoration: none; padding: 14px 24px; border: 1px solid rgba(242,232,216,.5); border-radius: 999px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; transition: background .3s, color .3s; }
.end-links a:hover { background: var(--cream); color: var(--red-2); }

.deck-ui { display: none; }
.deck-ready .deck-ui {
	display: flex; flex-direction: column; align-items: center; gap: 18px;
	position: fixed; right: calc(var(--pad) * .9); top: 50%; transform: translateY(-50%); z-index: 700;
	color: var(--cream); transition: color .5s var(--ease); pointer-events: none;
}
body.on-light .deck-ui { color: var(--red); }
.deck-count { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.deck-count b { font-weight: 500; font-size: 26px; }
.deck-count span { opacity: .5; font-size: 14px; }
.deck-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.deck-dots li { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .4s, transform .4s; }
.deck-dots li.is-on { opacity: 1; transform: scale(1.6); }
.deck-label { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.role-identity .switch-link { background: rgba(40, 6, 6, .3); }
body.on-light .switch-link { color: var(--red-2); border-color: rgba(107,19,19,.3); background: rgba(242,232,216,.55); }
body.on-light .switch-swatch { border-color: rgba(107,19,19,.4); }

@media (max-width: 760px) {
	.slide-inner { padding: 78px 44px 92px 16px; }
	.slide-cover .slide-inner { grid-template-columns: 1fr; align-content: center; gap: 28px; }
	.cover-title { font-size: 26vw; }
	.cover-scroll { margin-top: 24px; }
	.cover-figure img { max-height: 36vh; }
	.concept-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 18px; }
	.concept-text { grid-row: auto; font-size: 21px; }
	.concept-figure, .concept-meta { grid-column: 1; grid-row: auto; }
	.concept-figure { max-width: 60%; }
	.shot { flex-direction: column; gap: 16px; }
	.shot img { max-width: 100%; max-height: 58vh; }
	.shot-2up img { max-width: 100%; max-height: 30vh; }
	.shot-caption { font-size: 16px; bottom: 82px; left: 16px; right: 60px; }
	.deck-ready .deck-ui { right: 10px; gap: 12px; }
	.deck-label { display: none; }
	.deck-count b { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   About / Contact
   -------------------------------------------------------------------------- */
.about-page { color: var(--ink); background: var(--cream); overflow-x: hidden; }
.about-page section { padding: clamp(70px, 10vw, 150px) var(--pad); position: relative; }
.section-label { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 40px; color: var(--red); }
.about-hero { min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 4vw; padding-top: 130px !important; padding-bottom: clamp(50px, 7vw, 100px) !important; }
.hero-text { position: relative; padding-bottom: 2vw; }
.about-name { margin: 0; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(110px, 19vw, 330px); line-height: .78; letter-spacing: -.04em; color: var(--brown); }
.about-role { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 38px); }
.about-role em { color: var(--red); }
.about-mark { display: block; width: clamp(120px, 13vw, 210px); color: var(--red); margin: 0 0 1vw -2vw; }
/* Photos as darkroom prints */
.print { margin: 0; background: #f6efe2 linear-gradient(160deg, #fffaf1, #efe3cc); padding: 14px 14px 14px; box-shadow: 0 40px 60px -30px rgba(42,24,16,.55), 0 3px 8px rgba(42,24,16,.12); }
.print img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.08); }
.about-portrait { justify-self: end; width: min(100%, 470px); aspect-ratio: 2 / 3; transform: rotate(2deg); padding: 16px 16px 16px; }
.js .about-portrait[data-up] { transform: rotate(2deg) translateY(28px); }
.js .about-portrait[data-up].is-in { transform: rotate(2deg); }
.about-bio { display: grid; grid-template-columns: .8fr 2fr 1.1fr; gap: 4vw; border-top: 1px solid rgba(42,24,16,.15); align-items: start; }
.bio-prints { position: relative; min-height: 460px; }
.print-a, .print-b { position: absolute; width: 74%; aspect-ratio: 1; padding: 10px; }
.print-a { top: 0; right: 0; transform: rotate(-4deg); }
.print-b { top: 46%; left: 0; transform: rotate(5deg); }
.js .print-a[data-up] { transform: rotate(-4deg) translateY(30px); } .js .print-a[data-up].is-in { transform: rotate(-4deg); }
.js .print-b[data-up] { transform: rotate(5deg) translateY(30px); transition-delay: .15s; } .js .print-b[data-up].is-in { transform: rotate(5deg); }
.bio-text p { margin: 0 0 22px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; max-width: 62ch; }
.bio-text .bio-lead { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 44px); line-height: 1.2; font-weight: 400; max-width: 30ch; color: var(--brown); }
.about-services { display: grid; grid-template-columns: 1fr 2.2fr; gap: 4vw; border-top: 1px solid rgba(42,24,16,.15); }
.services { list-style: none; margin: 0; padding: 0; }
.services li { display: flex; align-items: baseline; gap: 26px; padding: 18px 0; border-bottom: 1px solid rgba(42,24,16,.15); font-family: var(--serif); font-size: clamp(28px, 3.6vw, 56px); line-height: 1.1; font-weight: 300; transition: color .4s, padding .5s var(--ease-out); }
.services li:hover { color: var(--red); padding-left: 12px; }
.services li span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--red); }

.acrostic { background: var(--cream-2); color: var(--ink); overflow: hidden; }
.acro-head { display: grid; grid-template-columns: .8fr 3.1fr; gap: 4vw; align-items: baseline; }
.acro-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.8vw, 60px); line-height: 1.08; color: var(--brown); max-width: 18ch; }
.acro-title em { color: var(--red); }
.acro-row { list-style: none; display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: clamp(150px, 15vw, 210px) clamp(170px, 17vw, 240px) clamp(150px, 15vw, 210px) clamp(10px, 5vw, 80px); }
.acro { flex: 1; display: flex; justify-content: center; }
.acro-letter-wrap { position: relative; display: inline-block; }
.acro-letter { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 13.5vw, 230px); line-height: .78; color: var(--brown); transition: color .5s; }
.acro:hover .acro-letter { color: var(--red); }
.acro-arrow { position: absolute; width: clamp(80px, 7.6vw, 118px); height: auto; overflow: visible; left: 58%; }
.acro-arrow path { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.acro-top .acro-arrow { bottom: 96%; }
.acro-bottom .acro-arrow { top: 100%; transform: scaleY(-1); }
.acro-note { position: absolute; left: calc(58% + clamp(80px, 7.6vw, 118px) + 8px); width: max-content; max-width: 190px; display: flex; flex-direction: column; gap: 6px; }
.acro-top .acro-note { bottom: calc(96% + clamp(80px, 7.6vw, 118px) * 1.083 - 30px); }
.acro-bottom .acro-note { top: calc(100% + clamp(80px, 7.6vw, 118px) * 1.083 - 30px); }
.acro-flip .acro-arrow { left: auto; right: 58%; transform: scaleX(-1); }
.acro-flip.acro-bottom .acro-arrow { transform: scale(-1, -1); }
.acro-flip .acro-note { left: auto; right: calc(58% + clamp(80px, 7.6vw, 118px) + 8px); text-align: right; align-items: flex-end; }
.acro-word { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 36px); line-height: 1; white-space: nowrap; color: var(--ink); }
.acro-word b { color: var(--red); font-weight: 500; }
.acro-line { font-size: 13px; line-height: 1.5; opacity: .75; max-width: 24ch; }

@media (max-width: 760px) {
	.acro-head { grid-template-columns: 1fr; gap: 0; }
	.acro-row { flex-direction: column; gap: 26px; padding: 40px 0 10px !important; }
	.acro { justify-content: flex-start; }
	.acro-letter-wrap { display: grid; grid-template-columns: 70px 54px 1fr; align-items: center; width: 100%; }
	.acro-letter { font-size: 92px; }
	.acro-arrow, .acro-flip .acro-arrow { position: static; width: 46px; transform: rotate(58deg) !important; justify-self: center; }
	.acro-note, .acro-flip .acro-note { position: static; max-width: none; width: auto; text-align: left; align-items: flex-start; padding-left: 6px; }
	.acro-word { font-size: 28px; }
}

.about-work { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 !important; }
.work-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 46vh; padding: var(--pad); text-decoration: none; color: var(--cream); position: relative; overflow: hidden; }
.tile-photo { background: var(--brown); }
.tile-id { background: var(--red); }
.tile-title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(38px, 4.6vw, 76px); line-height: 1; }
.tile-arrow { position: absolute; right: var(--pad); bottom: var(--pad); font-size: 30px; transition: transform .6s var(--ease-out); }
.work-tile:hover .tile-arrow { transform: translateX(10px); }
.work-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); opacity: 0; transition: opacity .5s; }
.work-tile:hover::after { opacity: 1; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.contact-big { margin: 0 0 34px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 54px); line-height: 1.1; font-weight: 300; color: var(--brown); }
.contact-links ul { list-style: none; margin: 0; padding: 0; }
.contact-links li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-top: 1px solid rgba(42,24,16,.15); font-size: 17px; }
.contact-links li span { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; padding-top: 4px; }
.contact-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.contact-links a:hover { background-size: 100% 1px; color: var(--red); }
.contact-links .admin-hint { display: block; font-size: 13px; color: var(--red); }
.contact-form { display: grid; gap: 18px; align-content: start; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.contact-form input, .contact-form textarea {
	font: inherit; font-size: 17px; color: var(--ink); background: transparent;
	border: 0; border-bottom: 1px solid rgba(42,24,16,.35); padding: 10px 0; border-radius: 0; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--red); }
.contact-form button {
	justify-self: start; margin-top: 10px; border: 0; cursor: pointer;
	background: var(--red); color: var(--cream); padding: 16px 28px; border-radius: 999px;
	font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; transition: background .3s;
}
.contact-form button:hover { background: var(--brown); }
.contact-form .hp { position: absolute; left: -9999px; }
.form-note { margin: 0; padding: 12px 16px; border-radius: 6px; font-size: 14px; }
.form-note.ok { background: rgba(74,46,34,.1); color: var(--brown); }
.form-note.err { background: rgba(140,28,28,.1); color: var(--red); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 28px var(--pad); border-top: 1px solid rgba(42,24,16,.15); font-size: 12px; letter-spacing: .08em; }
.site-footer p { margin: 0; }
.site-footer .credit { display: flex; align-items: center; gap: 9px; color: rgba(42,24,16,.55); font-family: var(--sans); font-size: 11px; letter-spacing: .02em; text-decoration: none; transition: color .3s; }
.site-footer .credit:hover { color: var(--brown); }
.credit-text { display: flex; flex-direction: column; line-height: 1.5; }
/* First line: letters spread so it is as wide as the second line */
.credit-spread { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; opacity: .8; }
.credit-spread i { font-style: normal; }
.credit-logo { display: block; height: 32px; color: var(--red); transition: color .3s, transform .5s var(--ease-out); }
.credit-logo svg { display: block; height: 100%; width: auto; }
.site-footer .credit:hover .credit-logo { transform: translateY(-1px); }
.site-footer .credit b { color: var(--red); font-weight: 800; }

@media (max-width: 760px) {
	.about-bio, .about-services, .contact-grid, .about-work, .about-hero { grid-template-columns: 1fr; }
	.about-hero { min-height: 0; padding-top: 100px !important; }
	.about-portrait { justify-self: center; width: 82%; }
	.about-mark { margin-left: -6vw; }
	.bio-prints { min-height: 0; height: 104vw; }
	.section-label { margin-bottom: 24px; }
	.work-tile { min-height: 32vh; }
	.contact-links li { grid-template-columns: 90px 1fr; font-size: 15px; }
}

/* Plain pages */
.plain-page { min-height: 100svh; padding: 140px var(--pad) 80px; }
.plain-inner { max-width: 760px; }
.plain-title { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(48px, 7vw, 110px); line-height: .95; margin: 0 0 30px; color: var(--brown); }
.plain-links { display: flex; gap: 24px; }

/* Scroll-in helpers (JS adds .is-in) */
.js [data-up] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js [data-up].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
	.js [data-up] { transform: none; }
	.grain { display: none !important; }
}

/* Photography on phones: the half lens owns the bottom edge, so the
   switch link moves up under the page title. */
@media (max-width: 760px) {
	.role-photography .switch-link { bottom: auto; right: auto; left: 16px; top: 186px; }
	.role-photography .photo-page.is-open ~ .switch-link,
	.photo-page.is-open .switch-link { opacity: 0; pointer-events: none; }
}

/* Instagram + phone icon links */
.site-social { display: flex; align-items: center; gap: 4px; margin-left: clamp(10px, 2vw, 28px); padding-left: clamp(10px, 2vw, 24px); border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
.site-header { gap: 0; }
.site-header .site-nav { margin-left: auto; }
.site-social .social-link { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; text-decoration: none; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.site-social .social-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-social .social-link:hover { transform: translateY(-2px); background: color-mix(in srgb, currentColor 14%, transparent); }
.site-social .icon { width: 18px; height: 18px; }
.contact-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-social .social-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border: 1px solid rgba(42,24,16,.25); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.contact-social .social-link:hover { background: var(--red); color: var(--cream); border-color: var(--red); }
.contact-social .icon { width: 20px; height: 20px; }
@media (max-width: 640px) {
	.site-social { margin-left: 8px; padding-left: 8px; gap: 0; }
	.site-social .social-link { width: 30px; height: 30px; }
	.site-social .icon { width: 16px; height: 16px; }
}

/* Intro: the three panels are the navigation, so the menu steps aside. */
.role-intro .site-nav { display: none; }
.role-intro .site-social { margin-left: auto; border-left: 0; }
.role-intro.split-on .site-social { color: var(--brown); }
@media (max-width: 760px) { .role-intro.split-on .site-social { color: var(--cream); } }
.half-id .half-img { mix-blend-mode: multiply; filter: grayscale(.3) contrast(1.05); }
.half-id:hover .half-img, .half-id:focus-visible .half-img { opacity: .45; }

@media (max-width: 640px) { .site-social .social-whatsapp, .site-social .social-telegram { display: none; } }

/* Contact Form 7 — styled to match the theme */
.contact-form-wrap .wpcf7 { margin: 0; }
.contact-form-wrap .wpcf7-form { display: grid; gap: 18px; align-content: start; }
.contact-form-wrap .wpcf7-form > p { margin: 0; display: grid; gap: 18px; }
.contact-form-wrap .cf-field { display: grid; gap: 6px; }
.contact-form-wrap .cf-field > span:first-child { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.contact-form-wrap .wpcf7-form-control-wrap { display: block; }
.contact-form-wrap input[type=text], .contact-form-wrap input[type=email], .contact-form-wrap textarea {
	width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: transparent;
	border: 0; border-bottom: 1px solid rgba(42,24,16,.35); padding: 10px 0; border-radius: 0; resize: vertical; box-shadow: none;
}
.contact-form-wrap textarea { min-height: 120px; }
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus { outline: none; border-bottom-color: var(--red); }
.contact-form-wrap .cf-submit, .contact-form-wrap input[type=submit] {
	justify-self: start; margin-top: 10px; border: 0; cursor: pointer; font: inherit;
	background: var(--red); color: var(--cream); padding: 16px 28px; border-radius: 999px;
	font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; transition: background .3s;
}
.contact-form-wrap .cf-submit:hover { background: var(--brown); }
.contact-form-wrap .wpcf7-not-valid { border-bottom-color: var(--red) !important; }
.contact-form-wrap .wpcf7-not-valid-tip { color: var(--red); font-size: 12.5px; margin-top: 6px; }
.contact-form-wrap .wpcf7-spinner { margin: 0 0 0 14px; background-color: var(--brown); vertical-align: middle; }
.contact-form-wrap .wpcf7 form .wpcf7-response-output { margin: 6px 0 0; padding: 12px 16px; border: 0; border-radius: 6px; font-size: 14px; background: rgba(140,28,28,.1); color: var(--red); }
.contact-form-wrap .wpcf7 form.sent .wpcf7-response-output { background: rgba(74,46,34,.1); color: var(--brown); }
.contact-form-wrap .wpcf7 form.init .wpcf7-response-output { display: none; }
.contact-fallback a { display: inline-block; margin-top: 10px; padding: 16px 28px; border-radius: 999px; background: var(--red); color: var(--cream); text-decoration: none; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.contact-form-wrap .wpcf7-form-control-wrap, .contact-form-wrap .wpcf7-not-valid-tip { text-transform: none; letter-spacing: normal; opacity: 1; }
.contact-form-wrap .wpcf7-not-valid-tip { font-size: 12.5px; color: var(--red); margin-top: 6px; display: block; }

/* Identity deck: keep a clear strip at the bottom for "All projects" and the
   switch link, so captions and images never sit underneath them. */
.id-js .deck .slide-inner { padding-bottom: calc(var(--pad) * .8 + 84px); }
.id-js .deck .shot img { max-height: min(70vh, calc(100vh - 290px)); }
.id-js .deck .shot-2up img { max-height: min(56vh, calc(100vh - 320px)); }
.id-js .deck .shot-caption { bottom: calc(var(--pad) * .8 + 74px); }
@media (max-width: 760px) {
	.id-js .deck .slide-inner { padding-bottom: 92px; }
	.id-js .deck .shot-caption { bottom: 74px; }
	.id-js .deck .shot img { max-height: min(58vh, calc(100vh - 300px)); }
}
