/* ============================================================
   Homepage (front-page.php). Everything is scoped under .lph so it
   never touches the rest of the site. The site header (the floating
   pill) is untouched: it floats over the top of the hero photo.
   ============================================================ */

.lph {
	--lph-out: cubic-bezier(.16, 1, .3, 1);
	--lph-night: rgb(9, 20, 25);
	--lph-serif: 'Fraunces', Georgia, serif;
	--lph-pull: 76px; /* header height; home.js measures the real value */
	color: var(--lp-ink);
}
.lph .ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lph .lph-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lph-wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.home .lp-page { background: var(--lp-bg); }

/* ---------- hero ---------- */
.lph-hero { --c: 9, 20, 25; --sh: 1; --fx: 50%; position: relative; height: min(100svh, 940px); min-height: 680px; margin-top: calc(-1 * var(--lph-pull)); overflow: hidden; color: #fff; isolation: isolate; background: var(--lph-night); }
.lph-hero .lph-bg { position: absolute; inset: -4% 0 0; z-index: -2; will-change: transform; }
.lph-hero .lph-bg > * { position: absolute; inset: 0; animation: lph-settle 2.2s var(--lph-out) both; }
.lph-hero .lph-lq { background: var(--lph-night) center / cover no-repeat; background-position: var(--fx) 46%; filter: blur(22px) saturate(1.1); }
.lph-hero .lph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) 46%; opacity: 0; transition: opacity .45s ease-out; }
.lph-hero .lph-bg img.ok { opacity: 1; }
@keyframes lph-settle { from { transform: scale(1.1); } to { transform: scale(1.04); } }
/* light falls off toward the copy, never a flat box */
.lph-hero .lph-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
	linear-gradient(180deg, rgba(var(--c), calc(.48 * var(--sh))) 0, rgba(var(--c), calc(.18 * var(--sh))) 140px, rgba(var(--c), 0) 240px),
	radial-gradient(120% 85% at 0% 72%, rgba(var(--c), calc(.74 * var(--sh))) 0%, rgba(var(--c), calc(.52 * var(--sh))) 32%, rgba(var(--c), calc(.2 * var(--sh))) 58%, rgba(var(--c), 0) 78%); }
/* the photo dissolves into the page on an eased curve: no seam to stop the eye */
.lph-hero::after { content: ""; position: absolute; inset: auto 0 -2px; height: calc(34% + 2px); z-index: 1; pointer-events: none; background: linear-gradient(180deg,
	color-mix(in srgb, var(--lp-bg) 0%, transparent) 0%, color-mix(in srgb, var(--lp-bg) 1.3%, transparent) 8.1%, color-mix(in srgb, var(--lp-bg) 4.9%, transparent) 15.5%,
	color-mix(in srgb, var(--lp-bg) 10.4%, transparent) 22.5%, color-mix(in srgb, var(--lp-bg) 17.5%, transparent) 29%, color-mix(in srgb, var(--lp-bg) 25.9%, transparent) 35.3%,
	color-mix(in srgb, var(--lp-bg) 35.2%, transparent) 41.2%, color-mix(in srgb, var(--lp-bg) 45%, transparent) 47.1%, color-mix(in srgb, var(--lp-bg) 55%, transparent) 52.9%,
	color-mix(in srgb, var(--lp-bg) 64.8%, transparent) 58.8%, color-mix(in srgb, var(--lp-bg) 74.1%, transparent) 64.7%, color-mix(in srgb, var(--lp-bg) 82.5%, transparent) 71%,
	color-mix(in srgb, var(--lp-bg) 89.6%, transparent) 77.5%, color-mix(in srgb, var(--lp-bg) 95.1%, transparent) 84.5%, color-mix(in srgb, var(--lp-bg) 98.7%, transparent) 91.9%, var(--lp-bg) 100%); }
.lph-hero .lph-in { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; max-width: 1384px; margin: 0 auto; padding: 0 28px 27vh; will-change: transform, opacity; }
@media (min-height: 900px) { .lph-hero .lph-in { padding-bottom: 250px; } }
.lph-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: 15px; }
.lph-badge i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #34d27b; }
.lph-badge i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34d27b; opacity: 0; animation: lph-ping 2.8s 1.6s var(--lph-out) infinite; }
@keyframes lph-ping { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.lph-hero h1 { margin: 24px 0 0; font-weight: 700; font-size: clamp(50px, 6.8vw, 96px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; color: inherit; }
.lph-hero h1 .l { display: block; }
.lph-hero h1 .acc { font-family: var(--lph-serif); font-weight: 600; color: inherit; letter-spacing: -.025em; margin-top: .04em; font-size: 1.04em; }
/* a soft lift so the white headline reads on any photo */
.lph-hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.28), 0 1px 3px rgba(0,0,0,.18); }
.lph-hero.light h1 { text-shadow: 0 1px 14px rgba(255,255,255,.55); }
.lph-lede { margin: 22px 0 0; max-width: 36ch; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: rgba(255,255,255,.9); text-wrap: pretty; }
.lph-stats { display: flex; align-items: center; margin-top: 36px; }
.lph-stat { display: flex; align-items: center; gap: 12px; padding-right: 28px; color: inherit; transition: opacity .2s; }
.lph-stat + .lph-stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.26); }
.lph-stat:hover { opacity: .82; color: inherit; }
.lph-stat .ring { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); display: grid; place-items: center; }
.lph-stat .ring .ico { width: 20px; height: 20px; }
.lph-stat b { display: block; font-weight: 700; font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lph-stat small { display: block; font-size: 14.5px; color: rgba(255,255,255,.8); }
.lph-credit { position: absolute; right: 28px; bottom: calc(34% + 14px); z-index: 2; margin: 0; font-size: 13px; color: rgba(255,255,255,.78); max-width: 46ch; text-align: right; line-height: 1.35; }
.lph-credit a { color: inherit; border-bottom: 1px solid currentColor; }
/* bright photos (snow, sunsets) flip the type to ink on a soft white wash */
.lph-hero.light { --c: 255, 255, 255; color: #111; }
.lph-hero.light .lph-lede { color: rgba(17,17,17,.82); }
.lph-hero.light .lph-badge { background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(17,17,17,.14); }
.lph-hero.light .lph-stat .ring { box-shadow: inset 0 0 0 1.5px rgba(17,17,17,.55); }
.lph-hero.light .lph-stat small { color: rgba(17,17,17,.7); }
.lph-hero.light .lph-stat + .lph-stat { border-color: rgba(17,17,17,.18); }
.lph-hero.light .lph-credit { color: rgba(17,17,17,.72); }

/* the one authored moment: the page arrives in reading order */
.lph-rise { animation: lph-rise .8s var(--lph-out) both; }
@keyframes lph-rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.lph-d1 { animation-delay: .04s; } .lph-d2 { animation-delay: .1s; } .lph-d3 { animation-delay: .16s; } .lph-d4 { animation-delay: .24s; } .lph-d5 { animation-delay: .32s; } .lph-d6 { animation-delay: .4s; }

/* ---------- search, floating in the dissolve ---------- */
.lph-searchwrap { position: relative; z-index: 5; margin-top: -150px; }
.lph-search { display: flex; align-items: center; gap: 14px; background: var(--lp-surface); border-radius: 999px; padding: 8px 8px 8px 26px; max-width: 880px; margin: 0;
	box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 28px -10px rgba(9,20,25,.22), 0 40px 80px -30px rgba(9,20,25,.3); transition: box-shadow .35s var(--lph-out), transform .35s var(--lph-out); }
.lph-search:focus-within { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(17,17,17,.06), 0 16px 34px -10px rgba(9,20,25,.26), 0 48px 90px -30px rgba(9,20,25,.34); }
.lph-search > .ico { color: var(--lp-sec); width: 23px; height: 23px; }
.lph-search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 19px var(--lp-font); color: var(--lp-ink); padding: 16px 0; text-overflow: ellipsis; box-shadow: none; outline: none; }
.lph-search input::placeholder { color: var(--lp-sec); }
.lph-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.lph-search button { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--lp-ink); color: var(--lp-bg); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .25s var(--lph-out); }
.lph-search button:hover { transform: scale(1.05); }
.lph-search button .ico { width: 23px; height: 23px; }
.lph-hints { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0 28px; font-size: 14.5px; color: var(--lp-muted); }
.lph-hints a { color: var(--lp-sec); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.lph-hints a:hover { color: var(--lp-ink); border-color: currentColor; }

/* ---------- section headings: a sans line with a serif turn ---------- */
.lph-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lph-sec-h h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; color: var(--lp-ink); }
.lph-sec-h h2 em { font-family: var(--lph-serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }
.lph-sec-h p { color: var(--lp-sec); font-size: 16.5px; max-width: 46ch; margin: 10px 0 0; }
.lph-link { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15.5px; padding: 10px 4px; color: var(--lp-ink); border-bottom: 1.5px solid var(--lp-ink); }
.lph-link .ico { width: 18px; height: 18px; transition: transform .3s var(--lph-out); }
.lph-link:hover .ico { transform: translateX(4px); }

.lph-collection { margin-top: 88px; scroll-margin-top: 90px; }

/* chips stay in reach while browsing, just under the header */
.lph-chipbar { position: sticky; top: 84px; z-index: 20; margin-top: 26px; background: color-mix(in srgb, var(--lp-bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s; }
.lph-chipbar.stuck { box-shadow: 0 1px 0 var(--lp-line); }
.lph-chips { display: flex; gap: 10px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.lph-chips::-webkit-scrollbar { display: none; }
.lph-chips button { flex: none; scroll-snap-align: start; font: 600 15.5px var(--lp-font); color: var(--lp-ink); background: var(--lp-chip); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: background .25s, color .25s, transform .2s; }
.lph-chips button:hover { background: var(--lp-line-2); }
.lph-chips button:active { transform: scale(.97); }
.lph-chips button[aria-pressed="true"] { background: var(--lp-ink); color: var(--lp-bg); }
.lph-chips button small { font-weight: 500; font-size: 13px; opacity: .55; margin-left: 6px; font-variant-numeric: tabular-nums; }

.lph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; margin-top: 14px; transition: opacity .25s ease; }
.lph-grid.swap { opacity: 0; }
.lph-col { display: grid; gap: 14px; }
.lph-ph { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--lp-panel); }
.lph-ph img, .lph-ph video { width: 100%; height: auto; display: block; }
.lph-ph img { opacity: 0; transform: scale(1.035); transition: opacity .7s var(--lph-out), transform 1.1s var(--lph-out); }
.lph-ph img.ok { opacity: 1; transform: none; }
.lph-ph:hover img.ok { transform: scale(1.035); }
.lph-ph video.lp-card-video { aspect-ratio: auto; object-fit: cover; }
.lph-cap { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 48px 14px 13px; color: #fff; font-size: 14px; line-height: 1.3;
	background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.22) 45%, rgba(0,0,0,.6)); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--lph-out), transform .35s var(--lph-out); }
.lph-ph:hover .lph-cap, .lph-ph:focus-visible .lph-cap { opacity: 1; transform: none; }
.lph-cap b { display: block; font-weight: 600; font-size: 14.5px; }
.lph-cap .dl { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; }
.lph-cap .dl .ico { width: 18px; height: 18px; }
.lph-more { display: flex; justify-content: center; margin-top: 44px; }
.lph-btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--lp-font); border-radius: 999px; padding: 14px 28px; cursor: pointer; border: 0; transition: transform .25s var(--lph-out), background .25s, color .25s, box-shadow .25s; }
.lph-btn:hover { transform: translateY(-2px); }
.lph-btn-line { background: var(--lp-surface); color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-ink); }
.lph-btn-line:hover { background: var(--lp-ink); color: var(--lp-bg); }
.lph-btn-white { background: #fff; color: #111; }
.lph-btn-white:hover { color: #111; }
.lph-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.lph-btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.1); }

/* ---------- photographers ---------- */
.lph-people { margin-top: 120px; }
.lph-prow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.lph-pcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--lp-panel); color: #fff; }
.lph-pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--lph-out); }
.lph-pcard:hover img { transform: scale(1.05); }
.lph-pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.66)); }
.lph-pcard .who { position: absolute; inset: auto 16px 16px; z-index: 1; }
.lph-pcard .who b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.lph-pcard .who span { font-size: 14px; opacity: .85; color: #fff; }
.lph-pcard .go { position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--lph-out); }
.lph-pcard:hover .go { opacity: 1; transform: none; }
.lph-pcard .go .ico { width: 18px; height: 18px; }

/* ---------- share ---------- */
.lph-share { margin-top: 120px; margin-bottom: 40px; }
.lph-share-card { position: relative; overflow: hidden; border-radius: 22px; min-height: 440px; display: flex; align-items: center; color: #fff; isolation: isolate; background: var(--lph-night); }
.lph-share-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.6s var(--lph-out); }
.lph-share-card.seen > img { transform: none; }
.lph-share-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(110% 120% at 0% 50%, rgba(9,20,25,.78), rgba(9,20,25,.45) 45%, rgba(9,20,25,0) 80%); }
.lph-share-txt { padding: 56px; }
.lph-share h2 { margin: 0; font-weight: 700; font-size: clamp(34px, 4.2vw, 58px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.lph-share h2 em { display: block; font-family: var(--lph-serif); font-style: italic; font-weight: 500; color: #b5dcd6; margin-top: .08em; }
.lph-share p { margin: 18px 0 0; max-width: 34ch; font-size: 18px; color: rgba(255,255,255,.88); }
.lph-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 1080px) {
	.lph-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lph-prow { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -28px; padding-right: 28px; }
	.lph-pcard { scroll-snap-align: start; }
}
@media (max-width: 760px) {
	.lph-wrap { padding: 0 16px; }
	.lph-hero { height: auto; min-height: 0; }
	.lph-hero .lph-shade { background:
		linear-gradient(180deg, rgba(var(--c), calc(.5 * var(--sh))) 0, rgba(var(--c), calc(.15 * var(--sh))) 120px, rgba(var(--c), 0) 210px),
		radial-gradient(150% 75% at 0% 62%, rgba(var(--c), calc(.72 * var(--sh))) 0%, rgba(var(--c), calc(.5 * var(--sh))) 40%, rgba(var(--c), calc(.18 * var(--sh))) 70%, rgba(var(--c), 0) 92%); }
	.lph-hero::after { height: calc(26% + 2px); }
	.lph-hero .lph-in { position: relative; padding: calc(var(--lph-pull) + 90px) 20px 150px; }
	.lph-credit { display: none; }
	.lph-badge { font-size: 14px; padding: 8px 15px 8px 12px; }
	.lph-hero h1 { font-size: clamp(46px, 13.4vw, 60px); margin-top: 20px; }
	.lph-lede { font-size: 17.5px; max-width: 28ch; margin-top: 18px; }
	.lph-stats { margin-top: 28px; }
	.lph-stat { gap: 8px; padding-right: 14px; }
	.lph-stat + .lph-stat { padding-left: 14px; }
	.lph-stat .ring { width: 34px; height: 34px; }
	.lph-stat .ring .ico { width: 16px; height: 16px; }
	.lph-stat b { font-size: 15.5px; }
	.lph-stat small { font-size: 12.5px; }
	.lph-searchwrap { margin-top: -96px; }
	.lph-search { padding: 6px 6px 6px 18px; gap: 10px; }
	.lph-search input { font-size: 16px; padding: 12px 0; }
	.lph-search button { width: 50px; height: 50px; }
	.lph-hints { margin: 14px 0 0 6px; font-size: 13.5px; gap: 4px 14px; }
	.lph-hints a:nth-of-type(4) { display: none; }
	.lph-collection { margin-top: 60px; }
	.lph-sec-h { flex-direction: column; align-items: flex-start; gap: 14px; }
	.lph-sec-h p { font-size: 15.5px; }
	.lph-chipbar { top: 76px; margin: 18px -16px 0; padding: 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
	.lph-chips { gap: 8px; padding: 12px 0; }
	.lph-chips button { font-size: 15px; padding: 10px 18px; }
	.lph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
	.lph-col { gap: 8px; }
	.lph-ph { border-radius: 12px; }
	.lph-cap { display: none; }
	.lph-people, .lph-share { margin-top: 84px; }
	.lph-prow { grid-template-columns: repeat(5, 72%); gap: 10px; margin-right: -16px; padding-right: 16px; }
	.lph-share-card { min-height: 520px; align-items: flex-end; border-radius: 18px; }
	.lph-share-card::before { background: linear-gradient(180deg, rgba(9,20,25,0) 20%, rgba(9,20,25,.55) 55%, rgba(9,20,25,.85)); }
	.lph-share-txt { padding: 28px 24px; }
	.lph-share p { font-size: 16.5px; }
}
@media (max-width: 400px) {
	.lph-stat { gap: 6px; padding-right: 10px; }
	.lph-stat + .lph-stat { padding-left: 10px; }
	.lph-stat .ring { width: 30px; height: 30px; }
	.lph-stat small { font-size: 12px; }
}
/* phones: the photo stays put while the page scrolls; nothing to recalculate */
.lph-still .lph-hero .lph-bg, .lph-still .lph-hero .lph-in { will-change: auto; transform: none; }
.lph-still .lph-hero .lph-bg { inset: 0; }
@media (prefers-reduced-motion: reduce) {
	.lph *, .lph *::before, .lph *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
