/* ==========================================================================
   PCSI Photo, main stylesheet
   Look and feel follows pkphoto.com: dark editorial, Futura-style type,
   hairline buttons, shimmering headings. PCSI leans green: sage is the main
   accent, cream the second. Both are set in Site settings > Branding and
   injected as --accent / --accent-2.
   ========================================================================== */

:root {
	--accent: #a8b39a;      /* sage: buttons, links, dividers, menu */
	--accent-2: #efe5b2;    /* cream: labels, dates, fine details */
	--ink: #252525;
	--ink-2: #292a2b;
	--ink-3: #1b1b1b;
	--ink-4: #0d0d0d;
	--light: #fefefe;
	--gray: #8a8a8a;
	--gray-2: #7a7a7a;
	--line: rgba(239, 229, 178, .16);
	--font: "Futura PT", Futura, "Jost", "Century Gothic", sans-serif;
	--wrap: 1240px;
	--header-h: 96px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--ink-2);
	color: var(--gray);
	font: 400 17px/1.85 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--light); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
strong, b { font-weight: 600; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* --- Signature elements ------------------------------------------------- */
.gradient-heading {
	background: linear-gradient(135deg, var(--light) 0%, var(--accent-2) 35%, var(--accent) 65%, var(--light) 100%);
	background-size: 220% 220%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: pcsi-shimmer 11s infinite alternate ease-in-out;
	font-weight: 300;
}
@keyframes pcsi-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px; }
.eyebrow::before { content: ""; flex: none; width: 44px; height: 1px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.section-head .eyebrow, .ribbon__title { justify-content: center; }
.divider { display: block; width: 110px; height: 1px; background: var(--accent); margin: 26px auto; }

.btn {
	display: inline-block;
	position: relative;
	overflow: hidden;
	z-index: 1;
	padding: 21px 46px;
	border: 1px solid rgba(239, 229, 178, .55);
	background: transparent;
	color: var(--light);
	font: 500 12px/1 var(--font);
	letter-spacing: 3.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .6s, border-color .6s;
}
.btn::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: -100%;
	width: 100%;
	background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent));
	z-index: -1;
	transition: left .5s cubic-bezier(.4, 0, .2, 1);
}
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn--light { border-color: var(--light); }
.btns { display: flex; gap: 20px; flex-wrap: wrap; }

.prose a { color: var(--accent); border-bottom: 1px solid rgba(168, 179, 154, .4); transition: border-color .3s, color .3s; }
.prose a:hover { color: var(--accent-2); border-color: var(--accent-2); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.prose h2, .prose h3, .prose h4 { margin: 1.4em 0 .6em; }
.prose h2 { font-size: 34px; }
.prose h3 { font-size: 26px; }
.prose img { margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 18px; font-size: 16px; }
.prose td, .prose th { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .08); text-align: left; }
.prose td p { margin: 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--light); }

.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 1s cubic-bezier(.4, 0, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
	.js .pgrid:not(.is-in) .pgrid__item { opacity: 1; translate: none; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.gradient-heading { animation: none; }
	html { scroll-behavior: auto; }
}

.section { padding: 160px 0; background: var(--ink); position: relative; }
.section-head { text-align: center; }
.section-head__title { font-size: clamp(42px, 5.4vw, 74px); letter-spacing: -1.5px; }
.section-head__sub { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--gray); text-align: center; margin: 0; }
.admin-note { padding: 18px 32px; border: 1px dashed var(--accent); margin: 30px auto; color: var(--accent); font-size: 15px; }

/* --- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(37, 37, 37, .97); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.site-logo { display: inline-flex; align-items: center; flex: none; }
.site-logo__img { height: 60px; width: auto; }
.site-logo__text { font-size: 24px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--light); }

.site-nav { display: flex; align-items: center; }
.site-nav .menu { list-style: none; display: flex; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 12px 18px; font-size: 17px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--light); transition: color .3s; }
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a { color: var(--accent); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.icon--caret { width: 9px; height: 9px; transition: transform .25s; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 8px; min-width: 250px; background: var(--ink); border-top: 1px solid var(--accent); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.site-nav .menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 8px; }
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 10px 22px; font-size: 16px; font-weight: 500; color: var(--light); transition: color .2s, padding .2s; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { color: var(--accent); padding-left: 28px; }
.site-nav__cta { margin-left: 18px; padding: 16px 28px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--light); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* --- Hero (homepage): headline in a thin frame beside a moving photo wall */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 90px 0; background: radial-gradient(60% 80% at 20% 50%, rgba(168, 179, 154, .12), transparent 70%), var(--ink-4); overflow: hidden; }
.hero__wall { position: absolute; top: -18%; bottom: -18%; right: -4%; width: 58%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transform: rotate(-7deg); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.hero__col { overflow: hidden; }
.hero__track { display: flex; flex-direction: column; gap: 18px; animation: pcsi-wall 60s linear infinite; }
.hero__col--2 .hero__track { animation-direction: reverse; animation-duration: 72s; }
.hero__col--3 .hero__track { animation-duration: 54s; }
.hero:hover .hero__track { animation-play-state: paused; }
@keyframes pcsi-wall { to { transform: translateY(calc(-50% - 9px)); } }
.hero__photo { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) brightness(.75); transition: filter .8s; }
.hero__photo:hover { filter: none; }
.hero__col--2 .hero__photo:nth-child(3n+1), .hero__col--1 .hero__photo:nth-child(4n+2), .hero__col--3 .hero__photo:nth-child(4n+3) { filter: none; }
.hero__inner { position: relative; z-index: 2; }
.hero__text { position: relative; display: inline-block; max-width: min(620px, 50%); padding: 56px 54px; background: rgba(13, 13, 13, .72); border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .12); outline-offset: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__corner { position: absolute; width: 16px; height: 16px; border: 1px solid var(--accent-2); }
.hero__corner--tl { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.hero__corner--br { right: -8px; bottom: -8px; border-left: 0; border-top: 0; }
.hero__title { font-size: clamp(42px, 4.8vw, 76px); font-weight: 500; letter-spacing: -2px; line-height: 1.02; margin: 0 0 40px; text-wrap: balance; }
.hero--plain .hero__text { max-width: 900px; }
@media (prefers-reduced-motion: reduce) { .hero__track { animation: none; } }

/* --- Text + photos: large photo with a framed text card over its edge --- */
.story { overflow: hidden; }
.story--fade { background: linear-gradient(180deg, #252525 0%, #202020 100%); }
.story--line { border-top: 1px solid var(--accent-2); }
.story__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.story__media { grid-column: 1 / 8; grid-row: 1; }
.story__card { grid-column: 7 / 13; grid-row: 1; margin-top: 110px; z-index: 2; }
.story:not(.story--media-left) .story__media { grid-column: 6 / 13; }
.story:not(.story--media-left) .story__card { grid-column: 1 / 7; }
.story--text-only .story__card { grid-column: 2 / 12; margin-top: 0; }
/* Three photos: the card sits beside the stack rather than over it. */
.story--mosaic .story__media { grid-column: 1 / 7; align-self: center; }
.story--mosaic .story__card { grid-column: 7 / 13; margin: 0 0 0 56px; }
.story--mosaic:not(.story--media-left) .story__media { grid-column: 7 / 13; }
.story--mosaic:not(.story--media-left) .story__card { grid-column: 1 / 7; margin: 0 56px 0 0; }
.story__card { position: relative; padding: 64px 60px; background: rgba(27, 27, 27, .97); border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.story__title { font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -1.2px; line-height: 1.06; margin: 0 0 34px; text-wrap: balance; }
.story__card .prose { font-size: 16px; }
.story__btn { margin-top: 36px; }
.story__photo { position: relative; margin: 0; padding: 14px; overflow: hidden; border: 1px solid rgba(168, 179, 154, .45); background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); }
.story__photo img { display: block; width: 100%; height: auto; max-height: 790px; object-fit: cover; }
.story__corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 1px solid var(--accent-2); }
.story__corner--tl { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.story__corner--br { right: -12px; bottom: -12px; border-left: 0; border-top: 0; }
.story__rule { flex: 1; min-width: 60px; height: 1px; margin-bottom: 18px; background: linear-gradient(90deg, var(--accent), transparent); }
/* Two or three photos, each in a frame shaped for it: a portrait in the tall
   frame, landscapes in the wide ones (see pcsi_arrange_photos). */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stack__item { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(168, 179, 154, .45); background: var(--ink-3); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .85); }
.stack__item img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; display: block; }
.stack--tall { grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3; }
.stack--tall .stack__item--1 { grid-column: 1; grid-row: 1 / 3; }
.stack--wide { grid-template-rows: 5fr 3fr; aspect-ratio: 1 / 1.02; }
.stack--wide .stack__item--1 { grid-column: 1 / 3; }
.stack--pair { aspect-ratio: 4 / 3; }
.stack--rows { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 3 / 4; }

/* --- Photo cards: full-height accordion --------------------------------- */
.cards { background: linear-gradient(180deg, #202020, var(--ink-2)); padding-bottom: 0; }
.cards__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.cards__head .section-head__sub { text-align: right; }
.cards__grid { display: flex; height: clamp(560px, 78vh, 760px); gap: 6px; padding: 0 6px; }
.card { position: relative; flex: 1 1 0; min-width: 0; display: block; overflow: hidden; background: var(--ink-3); transition: flex-grow .9s cubic-bezier(.6, 0, .2, 1); }
.card.is-open { flex-grow: 3.2; }
.card__media { position: absolute; inset: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: brightness(.82); transition: transform 1.4s cubic-bezier(.4, 0, .2, 1), filter .9s; }
.card.is-open .card__media img { transform: scale(1); filter: none; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 13, .35) 0%, transparent 30%, rgba(13, 13, 13, .88) 100%); }
.card__num { position: absolute; top: 26px; left: 28px; z-index: 2; font-size: clamp(40px, 4vw, 64px); font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(239, 229, 178, .7); }
.card__title { position: absolute; left: 28px; right: 28px; bottom: 34px; z-index: 2; font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.card.is-open .card__title { white-space: normal; color: var(--accent-2); }
.card:not(.is-open) .card__title { right: auto; max-height: calc(100% - 140px); writing-mode: vertical-rl; transform: rotate(180deg); overflow: visible; font-size: clamp(18px, 1.5vw, 24px); }
.card:not(.is-open) .card__title::after { display: none; }
.card__title::after { content: ""; display: block; width: 40px; height: 1px; margin-top: 16px; background: var(--accent); transition: width .8s; }
.card.is-open .card__title::after { width: 120px; }
.card__go { position: absolute; right: 28px; bottom: 34px; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border: .5px solid var(--accent); color: var(--light); font-size: 20px; opacity: 0; transform: translateX(-10px); transition: opacity .5s .2s, transform .5s .2s, background .3s, color .3s; }
.card.is-open .card__go { opacity: 1; transform: none; }
a.card:hover .card__go { background: var(--accent); color: var(--ink); }

/* --- Keyword strip: two rows drifting in opposite directions ------------ */
.ribbon { padding: 90px 0; background: var(--ink-2); overflow: hidden; }
.ribbon__title { font-size: 15px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); text-align: center; margin-bottom: 30px; }
.ribbon__row { overflow: hidden; }
.ribbon__row + .ribbon__row { margin-top: 14px; }
.ribbon__track { display: flex; align-items: center; gap: 34px; width: max-content; list-style: none; margin: 0; padding: 6px 0; animation: pcsi-marquee 70s linear infinite; }
.ribbon__row--2 .ribbon__track { animation-direction: reverse; animation-duration: 85s; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__track li { font-size: clamp(38px, 6vw, 92px); font-weight: 500; line-height: 1.1; letter-spacing: -1px; text-transform: uppercase; white-space: nowrap; color: var(--light); }
.ribbon__row--2 .ribbon__track li { color: var(--accent); font-weight: 400; opacity: .75; }
.ribbon__track .ribbon__photo { flex: none; width: clamp(44px, 3.6vw, 60px); height: clamp(44px, 3.6vw, 60px); border-radius: 50%; overflow: hidden; outline: 1px solid rgba(168, 179, 154, .6); outline-offset: 5px; }
.ribbon__photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes pcsi-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .ribbon__track [aria-hidden="true"] { display: none; } .ribbon__row--2 { display: none; } }

/* --- Call to action: a thin square frame with a photo beside the text --- */
.cta { padding: 140px 0; background: var(--ink-2); }
.cta__box { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; min-height: 560px; align-items: stretch; border: 1px solid rgba(168, 179, 154, .5); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; background: radial-gradient(70% 90% at 100% 100%, rgba(168, 179, 154, .14), transparent 70%), var(--ink-3); }
.cta:not(.cta--image) .cta__box { grid-template-columns: 1fr; text-align: center; }
.cta__corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 1px solid var(--accent-2); }
.cta__corner--tl { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.cta__corner--br { right: -12px; bottom: -12px; border-left: 0; border-top: 0; }
.cta__photo { position: relative; margin: 0; min-height: 560px; overflow: hidden; }
.cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.8); transition: filter .9s, transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.cta__box:hover .cta__photo img { filter: none; transform: scale(1.04); }
.cta__inner { align-self: center; padding: 80px 72px; }
.cta__title { font-size: clamp(42px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -1.5px; margin-bottom: 44px; }
.cta__text { max-width: 620px; margin: -10px 0 36px; }
.cta:not(.cta--image) .cta__text { margin-left: auto; margin-right: auto; }
/* Highlight box: photo on the right, so it alternates with the call to action. */
.cta--promo.cta--image .cta__box { grid-template-columns: 1fr 1.25fr; }
.cta--promo .cta__title { font-size: clamp(36px, 3.6vw, 58px); }

/* --- Posts -------------------------------------------------------------- */
.section--blog .posts { margin-top: 70px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.posts > .post-card:nth-child(3n+2) { transform: translateY(50px); }
.js .posts > .post-card.reveal:nth-child(3n+2) { transform: translateY(90px); }
.js .posts > .post-card.reveal.is-in:nth-child(3n+2) { transform: translateY(50px); }
.post-card__media { position: relative; display: block; height: 460px; overflow: hidden; background: linear-gradient(135deg, #1a1a1a, #252525); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.4, 0, .2, 1); }
.post-card__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(37, 37, 37, .95) 100%); z-index: 1; }
.post-card:hover .post-card__img { transform: scale(1.08); }
.post-card__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; z-index: 2; transform: translateY(12px); opacity: .92; transition: all .4s; }
.post-card:hover .post-card__info { transform: none; opacity: 1; }
.post-card__title { display: block; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--light); margin-bottom: 10px; }
.post-card__date { display: block; font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2); }
.post-card__excerpt { font-size: 15px; line-height: 1.7; color: var(--gray-2); padding: 22px 4px 0; margin: 0; }
.post-card__more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.post-card__more::after { content: " \2192"; }
.post-card__more:hover { color: var(--accent-2); }
.posts__more { text-align: center; margin-top: 110px; }

.pagination { margin-top: 110px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-block; min-width: 46px; padding: 12px 16px; text-align: center; border: .5px solid rgba(255, 255, 255, .15); font-size: 15px; color: var(--light); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* Homepage: blog posts in a horizontal carousel */
.section--blog { overflow: hidden; }
.journal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.journal__controls { display: flex; align-items: center; gap: 12px; }
.journal__controls .btn { margin-left: 18px; }
.reel__btn { width: 54px; height: 54px; display: grid; place-items: center; background: none; border: .5px solid rgba(255, 255, 255, .25); color: var(--light); font-size: 20px; cursor: pointer; transition: border-color .3s, color .3s, opacity .3s; }
.reel__btn:hover, .reel__btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.reel__btn[disabled] { opacity: .3; cursor: default; }
.reel { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 6px; padding: 0 6px 10px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline-offset: -2px; }
.reel__item { flex: 0 0 clamp(280px, calc((100vw - 30px) / 4), 520px); scroll-snap-align: start; }
.reel .post-card__excerpt { padding-left: 18px; padding-right: 18px; }
.reel .post-card__media { height: auto; aspect-ratio: 3 / 4.2; }
.reel .post-card__title { font-size: 24px; }
.reel .post-card__excerpt { font-size: 15px; }

/* --- FAQ: question navigator ------------------------------------------- */
.faq { background: linear-gradient(180deg, #202020, #252525); }
.faq__head { display: flex; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.faq__head .section-head__title { flex: 0 1 auto; }
.faq__nav { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 70px; align-items: start; }
.faq__q { grid-column: 1; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq__q:first-child { border-top: 1px solid rgba(255, 255, 255, .08); }
.faq__q button { display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 0; background: none; border: 0; text-align: left; color: var(--light); font: 500 18px/1.4 var(--font); cursor: pointer; transition: color .3s, padding .3s; }
.faq__q button:hover, .faq__q.is-active button { color: var(--accent); }
.faq__q.is-active button { padding-left: 14px; }
.faq__q .icon--caret { width: 11px; height: 11px; margin-left: auto; transform: rotate(-90deg); transition: transform .3s; }
.faq__num { flex: none; width: 30px; font-size: 13px; letter-spacing: 2px; color: var(--accent-2); }
.faq__panel { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: calc(var(--header-h) + 40px); padding: 60px 56px; border: 1px solid rgba(168, 179, 154, .5); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; background: var(--ink-3); }
.js .faq__panel:not(.is-active) { display: none; }
.faq__panel.is-active { animation: pcsi-fade .5s ease; }
@keyframes pcsi-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.faq__big { display: block; margin-bottom: 20px; font-size: 64px; font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(239, 229, 178, .6); }
.faq__a { font-size: 17px; color: #b9b9b9; }
.member__details .faq__a { padding-left: 0; }
.faq__a .p2 { color: var(--light); margin-top: 12px; }
.faq__a tr:first-child td { color: var(--accent-2); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
/* Team bios still use the simple <details> list */
.faq__item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq__item .faq__q { display: flex; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--light); border: 0; }
.faq__item .faq__q::-webkit-details-marker { display: none; }
.faq__item .faq__q h5 { flex: 1; font-size: 18px; font-weight: 500; line-height: 1.4; color: inherit; }
.faq__item .faq__q .icon--caret { transform: none; }
.faq__item[open] .faq__q { color: var(--accent); }
.faq__item[open] .icon--caret { transform: rotate(180deg); }
.faq__item .faq__a { padding: 0 0 24px; }

/* --- Contact ------------------------------------------------------------ */
.contact { border-top: 1px solid var(--line); }
.contact__info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 70px 0 80px; text-align: center; }
.contact__info--3 { grid-template-columns: repeat(3, 1fr); }
.contact__info--2 { grid-template-columns: repeat(2, 1fr); }
.contact__info--1 { grid-template-columns: 1fr; }
.contact__icon { width: 58px; height: 58px; margin: 0 auto 18px; border: .5px solid var(--accent); display: grid; place-items: center; color: var(--accent-2); }
.contact__icon .icon { width: 22px; height: 22px; }
.contact__item h3 { font-size: 16px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact__item p, .contact__item a { font-size: 17px; color: var(--gray); margin: 0; }
.contact__item a:hover { color: var(--accent-2); }
.contact__body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: stretch; }
.contact__body--solo { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.contact__body > * { min-width: 0; }
.contact__aside { position: relative; min-height: 420px; }
.contact__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(37, 37, 37, .9)); }
.contact__aside::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--line); }

.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--light); }
.field .req { color: var(--accent); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea,
.contact .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.contact .gform_wrapper select,
.contact .gform_wrapper textarea {
	font: 400 17px var(--font);
	color: var(--light);
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
	border-radius: 0;
	box-shadow: none;
	padding: 12px 0;
	outline: 0;
	width: 100%;
	transition: border-color .3s;
}
.field select, .contact .gform_wrapper select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23a8b39a' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E") no-repeat right 4px center / 10px; }
.field select option, .contact .gform_wrapper select option { background: var(--ink); color: var(--light); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.contact .gform_wrapper input:focus, .contact .gform_wrapper select:focus, .contact .gform_wrapper textarea:focus { border-color: var(--accent); }
.book-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; }
.form-notice { padding: 18px 22px; border: .5px solid var(--accent); color: var(--light); margin-bottom: 26px; }
.form-notice--error { border-color: #c96f6f; }

/* Gravity Forms, if a shortcode is used on the Contact section */
.contact .gform_wrapper.gform-theme { --gf-color-primary: var(--accent); --gf-color-primary-contrast: var(--ink); --gf-ctrl-label-color-primary: var(--light); --gf-ctrl-label-color-secondary: var(--gray); --gf-ctrl-border-color: rgba(255, 255, 255, .18); --gf-ctrl-bg-color: transparent; --gf-ctrl-color: var(--light); --gf-radius: 0; }
.contact .gform_wrapper .gfield_label, .contact .gform_wrapper legend.gfield_label { font: 600 13px var(--font) !important; letter-spacing: 2px !important; text-transform: uppercase; color: var(--light) !important; }
.contact .gform_wrapper .gfield_required { color: var(--accent) !important; }
.contact .gform_wrapper .gform_footer input[type="submit"], .contact .gform_wrapper .gform_footer button, .contact .gform_wrapper .gform_button {
	background: transparent !important; color: var(--light) !important; border: .5px solid var(--accent) !important; border-radius: 0 !important;
	font: 500 14px/1 var(--font) !important; letter-spacing: 1.8px !important; text-transform: uppercase; padding: 22px 38px !important; cursor: pointer; transition: background .4s, color .4s !important;
}
.contact .gform_wrapper .gform_footer input[type="submit"]:hover, .contact .gform_wrapper .gform_button:hover { background: var(--accent) !important; color: var(--ink) !important; }

/* --- Rich text ---------------------------------------------------------- */
.rich-text { background: var(--ink-2); }
.rich-text__body { max-width: 1080px; margin: 0 auto; }
.rich-text--small { padding: 90px 0; }
.rich-text--small .rich-text__body { text-align: justify; font-size: 16px; color: var(--gray-2); }
.rich-text--small strong { color: var(--light); }
.rich-text .section-head + .rich-text__body { margin-top: 40px; }

/* --- Inner pages, posts ------------------------------------------------- */
.page-hero { padding: 120px 0 40px; text-align: center; background: var(--ink); border-top: 1px solid var(--line); }
.page-hero__title { font-size: clamp(40px, 6vw, 80px); }
.page-hero--404 { padding-bottom: 140px; }
.page-hero--404 p { margin-top: 20px; }
.page-content { padding-top: 40px; padding-bottom: 130px; }
.section--archive { padding-top: 60px; }
.empty { text-align: center; }

.post-hero { position: relative; padding: 160px 0 90px; text-align: center; background: var(--ink-4); overflow: hidden; }
.post-hero--image { padding: 260px 0 110px; }
.post-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.post-hero__inner { position: relative; }
.post-hero__date { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px; }
.post-hero__title { font-size: clamp(36px, 5vw, 68px); max-width: 1000px; margin: 0 auto; }
.single-post .page-content { padding-top: 80px; padding-bottom: 60px; }
.post-nav { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 120px; font-size: 15px; }
.post-nav a { color: var(--accent); }
.post-nav a:hover { color: var(--accent-2); }
.comments-wrap { padding-bottom: 100px; }

/* --- Content converted from the old Divi posts -------------------------- */
.prose .divi-toggle { border-bottom: 1px solid rgba(255, 255, 255, .08); margin: 0; }
.prose .divi-toggle:first-of-type, .prose :not(.divi-toggle) + .divi-toggle { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 1.4em; }
.prose .divi-toggle + :not(.divi-toggle) { margin-top: 1.4em; }
.prose .divi-toggle summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; color: var(--light); transition: color .3s; }
.prose .divi-toggle summary::-webkit-details-marker { display: none; }
.prose .divi-toggle summary::after { content: ""; flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid currentColor; transition: transform .3s; }
.prose .divi-toggle[open] summary::after { transform: rotate(180deg); }
.prose .divi-toggle summary:hover, .prose .divi-toggle[open] summary { color: var(--accent); }
.prose .divi-toggle h5 { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: inherit; }
.prose .divi-toggle__body { padding: 0 0 22px; color: var(--gray-2); }
.prose .divi-image, .prose .divi-video { margin: 2em 0; }
.prose .divi-image img { width: 100%; height: auto; }
.prose .divi-video iframe, .prose .divi-video video { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose .divi-button { margin: 1.6em 0; }
.prose .divi-button .btn { border-bottom: .5px solid var(--accent); color: var(--light); }
.prose .divi-button .btn:hover { color: var(--ink); }
.prose .divi-blurb, .prose .divi-cta { margin: 2em 0; padding: 30px; border: 1px solid var(--line); }
.prose .divi-blurb img { margin: 0 0 18px; max-width: 120px; }
.prose .divi-blurb h4, .prose .divi-cta h3 { margin: 0 0 12px; }
.prose .divi-cta__sub { color: var(--accent-2); letter-spacing: 1px; }
.prose .divi-testimonial cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-2); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2em 0; }
.prose .gallery-item { margin: 0; width: auto !important; }
.prose .gallery-item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; border: 0 !important; }
.prose .gallery br { display: none; }
@media (max-width: 767px) { .prose .gallery { grid-template-columns: repeat(2, 1fr); } }

/* --- Page header (inner pages) ----------------------------------------- */
.page-header { position: relative; display: flex; align-items: flex-end; padding: 150px 0 110px; background: radial-gradient(120% 90% at 85% 0%, rgba(168, 179, 154, .14), transparent 55%), var(--ink-4); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-header--image { min-height: min(78vh, 760px); }
.page-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: pcsi-settle 2.4s cubic-bezier(.2, .6, .2, 1) forwards; }
@keyframes pcsi-settle { to { transform: scale(1); } }
.page-header--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, .78) 45%, rgba(13, 13, 13, .45) 100%), linear-gradient(0deg, rgba(13, 13, 13, .7), transparent 40%); }
.page-header__inner { position: relative; z-index: 2; width: 100%; }
.page-header__text { max-width: 860px; padding-left: 44px; border-left: 1px solid var(--accent); }
.page-header__title { font-size: clamp(40px, 6vw, 84px); line-height: 1.04; letter-spacing: -1.5px; }
.page-header__intro { margin-top: 30px; max-width: 760px; color: #b9b9b9; font-weight: 500; }
.page-header .btns { margin-top: 40px; }
.page-header .eyebrow { margin-bottom: 22px; }

/* --- Photo gallery + lightbox ------------------------------------------- */
.photos { background: var(--ink-2); }
.photos__intro { max-width: 900px; margin: 40px auto 0; text-align: center; }
.section-head + .pgrid, .photos__intro + .pgrid, .section-head + .pcards, .photos__intro + .pcards { margin-top: 60px; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pgrid__item { position: relative; display: block; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.pgrid__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.4, 0, .2, 1), opacity .4s; }
.pgrid--grid { grid-auto-flow: dense; grid-auto-rows: clamp(150px, 15vw, 230px); gap: 12px; }
.pgrid--grid .pgrid__item:nth-child(8n+1) { grid-column: span 2; grid-row: span 2; }
.pgrid--grid .pgrid__item:nth-child(8n+4) { grid-row: span 2; }
.pgrid--grid .pgrid__item:nth-child(8n+6) { grid-column: span 2; }
.pgrid--grid .pgrid__item:nth-child(8n+7) { grid-row: span 2; }
.pgrid__item { transition: opacity .9s, translate .9s cubic-bezier(.2, .7, .2, 1); }
.js .pgrid__item.will-in:not(.is-in) { opacity: 0; translate: 0 40px; }
.pgrid--masonry { display: block; columns: 3; column-gap: 14px; }
.pgrid--masonry .pgrid__item { margin-bottom: 14px; break-inside: avoid; }
.pgrid__item::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(239, 229, 178, 0); transition: border-color .5s, inset .5s; pointer-events: none; }
.pgrid__item:hover .pgrid__img, .pgrid__item:focus-visible .pgrid__img { transform: scale(1.05); }
.pgrid__item:hover::after, .pgrid__item:focus-visible::after { inset: 16px; border-color: rgba(239, 229, 178, .55); }
.photos__more { text-align: center; margin-top: 70px; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(10, 10, 10, .96); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 190px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__caption { font-size: 14px; line-height: 1.5; color: var(--gray); text-align: center; max-width: 760px; }
.lightbox__count { position: absolute; top: 28px; left: 32px; font-size: 13px; letter-spacing: 2.5px; color: var(--accent-2); }
.lightbox__btn { position: absolute; background: none; border: .5px solid rgba(255, 255, 255, .2); color: var(--light); width: 54px; height: 54px; display: grid; place-items: center; cursor: pointer; font: 300 26px/1 var(--font); transition: border-color .3s, color .3s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: 18px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-open { overflow: hidden; }

/* --- Text + quote ------------------------------------------------------- */
.tquote { background: linear-gradient(180deg, #202020, var(--ink)); border-top: 1px solid var(--line); }
.tquote__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 90px; align-items: start; }
.tquote__grid > * { min-width: 0; }
.tquote--solo .tquote__grid { grid-template-columns: 1fr; max-width: 980px; }
.tquote__title { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -1px; margin-bottom: 34px; }
.tquote__btn { margin-top: 34px; }
.tquote__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.tquote__photo { position: relative; display: block; isolation: isolate; }
.tquote__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tquote__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); z-index: -1; }
.tquote__quote { position: relative; z-index: 2; margin: -90px -40px 0 40px; padding: 40px 38px 36px; background: rgba(27, 27, 27, .96); border-left: 2px solid var(--accent); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); font-size: 22px; line-height: 1.5; font-style: italic; color: var(--accent-2); }
.tquote__quote::before { content: "\201C"; position: absolute; left: 30px; top: -30px; font: 400 90px/1 Georgia, serif; color: var(--accent); }
.tquote__quote p { margin: 0; }

/* --- Highlight box ------------------------------------------------------ */
.promo { position: relative; padding: 150px 0; background: var(--ink-3) center / cover no-repeat; }
.promo--image::before { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, .72); }
.promo .wrap { position: relative; }
.promo__box { max-width: 920px; margin: 0 auto; padding: 70px 64px; text-align: center; background: rgba(27, 27, 27, .82); border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .12); outline-offset: 12px; }
.promo__title { font-size: clamp(32px, 4vw, 56px); margin-bottom: 28px; }
.promo__text { margin-bottom: 40px; }

/* --- Call to action extras ---------------------------------------------- */
.cta__text { max-width: 760px; margin: -14px auto 40px; }
.rich-text__btn { text-align: center; margin-top: 50px; }

/* --- Team --------------------------------------------------------------- */
.team { background: var(--ink-2); }
.member--featured { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.member--featured > * { min-width: 0; }
.member__photo { position: relative; isolation: isolate; }
.member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.member--featured .member__photo { position: sticky; top: calc(var(--header-h) + 40px); }
.member--featured .member__photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line); z-index: -1; }
.member__name { font-size: clamp(34px, 4vw, 58px); letter-spacing: -1px; }
.member__role { margin: 14px 0 30px; font-size: 15px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
.member__bio { font-weight: 500; }
.member__details { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .08); }
.member__portfolio { grid-column: 1 / -1; margin-top: 30px; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px 60px; margin-top: 130px; padding-top: 110px; border-top: 1px solid var(--line); }
.team__grid .member__photo { margin-bottom: 34px; }
.team__grid .member__name { font-size: clamp(30px, 3vw, 44px); }
.team__grid .member__role { margin-bottom: 22px; }
.team__grid .member__portfolio { grid-template-columns: repeat(3, 1fr); }

/* --- Case study cards --------------------------------------------------- */
.projects { background: var(--ink-2); }

/* --- Embed -------------------------------------------------------------- */
.embed { background: var(--ink-2); }
.section-head + .embed__code, .photos__intro + .embed__code { margin-top: 50px; }
.embed__code iframe { display: block; width: 100%; max-width: 100%; border: 0; background: var(--ink-3); }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink-3); }
.footer-strip { display: grid; grid-template-columns: repeat(6, 1fr); }
.footer-strip__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.footer-strip__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.6); transition: filter .7s, transform 1.2s cubic-bezier(.4, 0, .2, 1); }
.footer-strip__item:hover img, .footer-strip__item:focus-visible img { filter: none; transform: scale(1.06); }
.footer-strip__title { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--light); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.footer-strip__item:hover .footer-strip__title, .footer-strip__item:focus-visible .footer-strip__title { opacity: 1; transform: none; }
.site-footer__top { position: relative; padding: 110px 0 70px; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 100% 0%, rgba(168, 179, 154, .1), transparent 60%), var(--ink-3); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px 50px; flex-wrap: wrap; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-cta__title { margin: 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--light); }
.footer-cta__actions { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-cta__details { display: grid; gap: 4px; text-align: right; }
.site-footer .footer-cta__details a { font-size: 17px; color: var(--light); }
.site-footer .footer-cta__details a:hover { color: var(--accent-2); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.site-logo__img--footer { width: 300px; height: auto; }
.site-footer__title { font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.footer-menu li { margin-bottom: 10px; break-inside: avoid; }
.site-footer a, .site-footer__col p { font-size: 16px; font-weight: 500; color: var(--gray-2); transition: color .3s; }
.site-footer__col p { margin: 0 0 10px; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer .btn { color: var(--light); font-size: 14px; }
.site-footer .btn:hover { color: var(--ink); }
.partner-link { margin: 26px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--gray-2); }
.site-footer .partner-link a { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
.site-footer .partner-link a:hover { color: var(--accent-2); }
.site-footer__bottom { background: #141414; padding: 22px 0; font-size: 14px; color: var(--light); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #999; font-size: 14px; }
.site-footer .to-top { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }

/* --- Blog list ---------------------------------------------------------- */
.page-header--short { min-height: min(56vh, 560px); }
.blog-list { background: var(--ink-2); }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; margin-bottom: 140px; }
.tiles + .feature { margin-top: 160px; }
.feature--flip .feature__photo { grid-column: 5 / 13; }
.feature--flip .feature__card { grid-column: 1 / 6; }
.feature__photo { grid-column: 1 / 9; grid-row: 1; display: block; padding: 14px; border: 1px solid rgba(168, 179, 154, .45); background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); overflow: hidden; }
.feature__photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 22%; transition: transform 1.6s cubic-bezier(.4, 0, .2, 1); }
.feature:hover .feature__photo img { transform: scale(1.03); }
.feature__card { grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 2; margin-top: 120px; padding: 56px 52px; background: rgba(27, 27, 27, .97); border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.feature__title { font-size: clamp(30px, 3vw, 46px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 24px; font-weight: 300; }
.feature__excerpt { font-size: 16px; color: #a9a9a9; margin-bottom: 34px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 80px 44px; }
.tile__photo { display: block; padding: 12px; border: 1px solid rgba(168, 179, 154, .45); background: var(--ink-3); overflow: hidden; }
.tile__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; transition: transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.tile:hover .tile__photo img { transform: scale(1.04); }
.tile__photo--empty { aspect-ratio: 4 / 5; background: radial-gradient(70% 70% at 50% 40%, rgba(168, 179, 154, .15), transparent), var(--ink-3); }
.tile__body { padding: 30px 6px 0; }
.tile__date { margin-bottom: 14px; }
.tile__title { font-size: 24px; font-weight: 300; line-height: 1.25; margin-bottom: 14px; }
.tile__title a:hover { color: var(--accent-2); }
.tile__excerpt { font-size: 15px; line-height: 1.75; color: #9a9a9a; margin-bottom: 18px; }
.tile__more { font-size: 12px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; color: var(--accent-2); }
.tile__more::after { content: " \2192"; }
.tile__more:hover { color: var(--accent); }

/* --- Single post --------------------------------------------------------- */
.post-head { position: relative; background: var(--ink-4); padding-bottom: 0; }
.post-head:not(.post-head--image) { padding-top: 120px; }
.post-head__photo { position: relative; height: min(76vh, 760px); overflow: hidden; }
.post-head__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.post-head__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 13, 13, .85), transparent 55%); }
.post-head__card { position: relative; z-index: 2; max-width: 860px; margin: -190px 0 0; padding: 56px 56px 50px; background: rgba(27, 27, 27, .97); border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.post-head:not(.post-head--image) .post-head__card { margin-top: 0; }
.post-head__card .eyebrow a { color: inherit; }
.post-head__card .eyebrow a:hover { color: var(--accent); }
.post-head__title { font-size: clamp(36px, 4.4vw, 68px); line-height: 1.05; letter-spacing: -1.5px; font-weight: 300; text-wrap: balance; }
.post-body { max-width: 820px; padding-top: 110px; padding-bottom: 60px; font-size: 18px; line-height: 1.95; color: #b3b3b3; }
.post-body > p:first-of-type:not(:has(img)) { font-size: 23px; line-height: 1.7; font-weight: 300; color: var(--light); }
.post-body h2, .post-body h3 { margin: 2.2em 0 .8em; font-weight: 300; color: var(--accent-2); letter-spacing: -.5px; }
.post-body h2 { font-size: clamp(28px, 2.8vw, 40px); padding-top: 1.2em; border-top: 1px solid var(--line); }
.post-body h3 { font-size: 26px; }
.post-body h1:has(img) { margin: 0; }
/* Photos break out wider than the text and sit in a fine frame. */
.post-body p:has(img), .post-body figure, .post-body .wp-block-image, .post-body .gallery, .post-body .wp-block-gallery, .post-body h1:has(img), .post-body .divi-image { width: min(1120px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.post-body p:has(img) { display: flex; gap: 18px; margin-top: 2.4em; margin-bottom: 2.4em; }
.post-body p:has(img) > a, .post-body p:has(img) > img { flex: 1 1 0; min-width: 0; }
.post-body img { display: block; width: 100%; height: auto; margin: 0; padding: 12px; border: 1px solid rgba(168, 179, 154, .45); background: var(--ink-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.post-body p:has(img + img) img, .post-body p:has(a + a) img { height: 100%; object-fit: cover; }
.post-body figure img { width: 100%; }
/* A photo on its own keeps its natural shape, no taller than the screen. */
.post-body p:has(img):not(:has(img + img)):not(:has(a + a)) { justify-content: center; }
.post-body p:has(img):not(:has(img + img)):not(:has(a + a)) img, .post-body figure:not(:has(> figure)) > img, .post-body h1:has(img) img { width: auto; max-width: 100%; max-height: 86vh; margin: 0 auto; }
.post-body p:has(img):not(:has(img + img)):not(:has(a + a)) > a { flex: 0 1 auto; }
/* Two portrait photos in a row, set side by side by main.js. */
.post-body .post-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(1120px, calc(100vw - 64px)); margin: 2.4em 0 2.4em 50%; transform: translateX(-50%); }
.post-body .post-pair > * { width: auto !important; margin: 0 !important; transform: none !important; display: block; }
.post-body .post-pair img { width: 100% !important; max-height: none !important; height: 100%; object-fit: cover; }
/* Galleries saved as a figure of figures: a tidy grid, inner photos not broken out again. */
/* WordPress's own gallery styles size each photo with !important-level selectors; reset them here. */
.post-body .wp-block-gallery.has-nested-images figure.wp-block-image, .post-body figure:has(> figure) > figure { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; transform: none !important; }
.post-body .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px !important; flex-wrap: nowrap; }
.post-body .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.post-body .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { display: none; }
.post-body figure:has(> figure) { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.post-body figure figure, .post-body .wp-block-gallery figure, .post-body .gallery figure { width: auto; margin: 0; transform: none; }
.post-body figure:has(> figure) img { height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.post-body figcaption { margin-top: 12px; font-size: 13px; letter-spacing: 1px; color: var(--gray); text-align: center; }
.post-body .wp-block-gallery, .post-body .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-body .wp-block-gallery figure, .post-body .gallery figure { width: auto; margin: 0; transform: none; }
.post-body .wp-block-gallery img, .post-body .gallery img { height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.post-body blockquote { margin: 2em 0; padding: 10px 0 10px 34px; border-left: 1px solid var(--accent-2); font-size: 22px; font-style: italic; font-weight: 300; color: var(--accent-2); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li::marker { color: var(--accent); }
.single-post .post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1120px; padding-top: 40px; padding-bottom: 140px; }
.single-post .post-nav a { display: block; height: 100%; padding: 30px 32px; border: 1px solid rgba(168, 179, 154, .35); color: var(--light); font-size: 19px; font-weight: 300; line-height: 1.4; transition: border-color .4s, color .4s; }
.single-post .post-nav a:hover { border-color: var(--accent-2); color: var(--accent-2); }
.single-post .post-nav .eyebrow { margin-bottom: 12px; }
.single-post .post-nav__next { text-align: right; }
.single-post .post-nav__next .eyebrow { justify-content: flex-end; }
.more-posts { background: var(--ink-2); border-top: 1px solid var(--line); }

/* --- Luxury finish ------------------------------------------------------ */
/* A barely visible film grain over everything. */
body::after { content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.prose { color: #a9a9a9; }
.story__card .prose, .tquote .prose { font-weight: 400; }
.prose strong, .prose b { color: var(--light); font-weight: 500; }
.story__title, .tquote__title, .promo__title, .cta__title, .page-header__title, .member__name, .hero__title, .footer-cta__title { font-weight: 300; }
.hero__title { letter-spacing: -1.5px; }
.hero__track { animation-duration: 110s; }
.hero__col--2 .hero__track { animation-duration: 130s; }
.hero__col--3 .hero__track { animation-duration: 96s; }
.hero__photo, .hero__col--2 .hero__photo:nth-child(3n+1), .hero__col--1 .hero__photo:nth-child(4n+2), .hero__col--3 .hero__photo:nth-child(4n+3) { filter: saturate(.85) brightness(.82); }
.hero__photo:hover { filter: none; }
.ribbon { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon__track { animation-duration: 120s; }
.ribbon__row--2 .ribbon__track { animation-duration: 140s; }
.ribbon__track li { font-weight: 300; letter-spacing: 6px; font-size: clamp(22px, 2.6vw, 40px); color: rgba(239, 229, 178, .82); }
.ribbon__row--2 .ribbon__track li { color: var(--accent); opacity: 1; font-weight: 300; } /* full sage: readable contrast */
.card__num, .faq__big { -webkit-text-stroke-color: rgba(239, 229, 178, .5); font-weight: 300; }
.card__title { font-weight: 400; letter-spacing: 4px; }
.faq__q button { font-weight: 400; }
.post-card__title { font-weight: 400; }
.site-nav .menu > li > a { font-weight: 500; letter-spacing: 2px; font-size: 13px; }
.site-header { border-bottom-color: rgba(239, 229, 178, .1); }

/* Cropped photos keep faces in frame: crop from nearer the top, where heads usually are. */
.stack__item img, .hero__photo, .card__media img, .cta__photo img, .story__photo img, .pgrid--grid .pgrid__img, .pcard__img, .post-card__img, .post-row__img, .footer-strip__item img, .member__photo img, .tquote__photo img, .page-header__bg, .mosaic__img, .photo img { object-position: 50% 18%; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

@media (max-width: 1180px) {
	.site-nav .menu > li > a { padding: 12px; font-size: 15px; }
	.site-nav__cta { display: none; }
}

@media (max-width: 1024px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; background: var(--ink); flex-direction: column; align-items: stretch; padding: 20px 32px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s; }
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu > li > a { padding: 16px 0; font-size: 20px; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .06); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: none; padding: 4px 0 10px 14px; min-width: 0; }
	.site-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.site-nav .menu-item-has-children.is-open > a .icon--caret { transform: rotate(180deg); }
	.site-nav__cta { display: inline-block; margin: 26px 0 0; text-align: center; }

	.contact__body { grid-template-columns: 1fr; gap: 56px; }
	.story__media, .story:not(.story--media-left) .story__media { grid-column: 1 / 13; }
	.story__card, .story:not(.story--media-left) .story__card, .story--mosaic .story__card, .story--mosaic:not(.story--media-left) .story__card { grid-column: 2 / 13; grid-row: 2; margin: -90px 0 0; }
	.story--mosaic .story__media, .story--mosaic:not(.story--media-left) .story__media { grid-column: 1 / 13; position: static; }
	.story--mosaic .story__card, .story--mosaic:not(.story--media-left) .story__card { margin-top: 40px; }
	.pgrid--grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
	.tquote__quote { margin: -60px 0 0 24px; }
	.posts { grid-template-columns: 1fr 1fr; }
	.posts > .post-card:nth-child(3n+2), .js .posts > .post-card.reveal.is-in:nth-child(3n+2) { transform: none; }
	.faq__nav { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature__photo, .feature__card, .feature--flip .feature__photo, .feature--flip .feature__card { grid-column: 1 / 13; }
	.feature__card { grid-row: 2; margin: -80px 24px 0; }
	.faq__head .story__rule { display: none; }
	.faq__panel { grid-column: 1; grid-row: auto; position: static; padding: 26px 24px; margin: 4px 0 18px; }
	.faq__big { display: none; }
	.faq__q .icon--caret { transform: none; }
	.faq__q.is-active .icon--caret { transform: rotate(180deg); }
	.faq__q.is-active button { padding-left: 0; }
	.hero__text { max-width: 66%; padding: 44px 40px; }
	.hero__wall { width: 52%; right: -10%; }
	.cards__grid { flex-direction: column; height: auto; }
	.card, .card.is-open { flex: none; height: 300px; }
	.card .card__media img { transform: none; filter: none; }
	.card__title, .card:not(.is-open) .card__title { white-space: normal; color: var(--light); writing-mode: horizontal-tb; transform: none; right: 28px; }
	.card__go { opacity: 1; transform: none; }
	.tquote__grid, .member--featured { grid-template-columns: 1fr; gap: 60px; }
	.tquote__aside, .member--featured .member__photo { position: static; }
	.tquote__aside { max-width: 560px; }
	.pgrid { grid-template-columns: repeat(3, 1fr); }
	.member__portfolio { grid-template-columns: repeat(4, 1fr); }
	.contact__info, .contact__info--3 { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
	.cta__box, .cta--promo.cta--image .cta__box { grid-template-columns: 1fr; min-height: 0; }
	.cta--promo .cta__photo { order: -1; }
	.cta__photo { min-height: 340px; }
	.contact__aside { min-height: 320px; }
}

@media (max-width: 767px) {
	:root { --header-h: 76px; }
	body { font-size: 16px; }
	.wrap, .site-header__inner { padding: 0 16px; }
	.site-logo__img { height: 46px; }
	.site-nav { padding: 16px 16px 40px; }
	.hero { flex-direction: column; align-items: stretch; padding: 0 0 56px; min-height: 0; }
	.hero__wall { position: relative; inset: auto; width: auto; height: 380px; margin: 0 -10% 40px; transform: rotate(-7deg); -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
	.hero__text { display: block; max-width: none; padding: 34px 24px; }
	.hero__title { font-size: clamp(36px, 10vw, 50px); letter-spacing: -1px; margin-bottom: 30px; }
	.card, .card.is-open { height: 240px; }
	.cards__head .section-head__sub { text-align: left; }
	.reel__item { flex-basis: 78vw; }
	.reel { gap: 14px; }
	.journal__controls .btn { margin-left: 0; }
	.ribbon__list li + li::before { margin: 0 16px; }
	.btns { flex-direction: column; align-items: stretch; }
	.btn { text-align: center; }
	.section { padding: 96px 0; }
	.cta { padding: 80px 0; }
	.cta__inner { padding: 44px 24px; }
	.cta__photo { min-height: 240px; }
	.story__card, .story:not(.story--media-left) .story__card { grid-column: 1 / 13; margin-top: -50px; padding: 40px 24px; }
	.story__card { outline-offset: 6px; }
	.pgrid--grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.pgrid--grid .pgrid__item:nth-child(8n+1), .pgrid--grid .pgrid__item:nth-child(8n+6) { grid-column: span 2; }
	.card__title { font-size: 20px; left: 18px; right: 84px; bottom: 22px; }
	.card__num { top: 16px; left: 18px; font-size: 40px; }
	.card__go { right: 18px; bottom: 18px; width: 46px; height: 46px; }
	.posts { grid-template-columns: 1fr; gap: 56px; }
	.post-card__media { height: 380px; }
	.contact__info, .contact__info--3, .contact__info--2 { grid-template-columns: 1fr; }
	.book-form { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-logo__img--footer { width: 220px; }
	.footer-strip { grid-template-columns: repeat(3, 1fr); }
	.site-footer__top { padding-top: 80px; }
	.footer-cta { padding-bottom: 44px; margin-bottom: 44px; }
	.footer-cta__actions { gap: 24px; }
	.footer-cta__details { text-align: left; }
	.site-footer__bottom-inner { justify-content: center; text-align: center; }
	.photo--framed::before, .contact__aside::before { display: none; }
	.rich-text--small .rich-text__body { text-align: left; }
	.tiles { grid-template-columns: 1fr; gap: 64px; }
	.feature__card { margin: -50px 0 0; padding: 36px 24px; }
	.post-head__photo { height: 56vh; }
	.post-head__card { margin-top: -90px; padding: 34px 24px; outline-offset: 6px; }
	.post-body { padding-top: 70px; font-size: 17px; }
	.post-body > p:first-of-type:not(:has(img)) { font-size: 20px; }
	.post-body p:has(img), .post-body figure, .post-body .wp-block-image, .post-body .gallery, .post-body .wp-block-gallery, .post-body h1:has(img) { width: calc(100vw - 20px); }
	.post-body p:has(img) { gap: 8px; }
	.post-body img { padding: 6px; }
	.post-body .post-pair { width: calc(100vw - 20px); gap: 8px; }
	.post-body .wp-block-gallery, .post-body .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.post-body figure:has(> figure), .post-body .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
	.single-post .post-nav { grid-template-columns: 1fr; padding-bottom: 90px; }
	.single-post .post-nav__next { text-align: left; }
	.single-post .post-nav__next .eyebrow { justify-content: flex-start; }
	.page-hero { padding-top: 80px; }
	.page-header { padding: 100px 0 70px; }
	.page-header--image { min-height: 0; }
	.page-header__text { padding-left: 22px; }
	.pgrid, .member__portfolio, .team__grid .member__portfolio { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.promo { padding: 90px 0; }
	.promo__box { padding: 46px 24px; outline-offset: 6px; }
	.team__grid { grid-template-columns: 1fr; gap: 80px; margin-top: 80px; padding-top: 80px; }
	.tquote__photo::before, .member--featured .member__photo::before { display: none; }
	.tquote__quote { font-size: 19px; }
	.lightbox__figure { max-width: calc(100vw - 24px); }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
	.lightbox__prev { left: calc(50% - 64px); }
	.lightbox__next { right: calc(50% - 64px); }
	.lightbox__img { max-height: calc(100vh - 220px); }
}

/* --- Galleries ----------------------------------------------------------- */
.photos--masonry .wrap { max-width: 1480px; padding: 0 48px; }
.gallery-bar { display: flex; align-items: center; gap: 26px; margin: 0 0 46px; font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; }
.gallery-bar__label { color: var(--accent-2); }
.gallery-bar__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(168, 179, 154, .1)); }
.gallery-bar__count { color: var(--gray); }
.pgrid--masonry { --cols: 3; }
.pgrid--masonry.is-built { display: flex; align-items: flex-start; gap: 10px; columns: auto; }
.pgrid__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pgrid--masonry.is-built .pgrid__item { margin: 0; }
.photos--masonry .pgrid__item { padding: 5px; border: 1px solid rgba(168, 179, 154, .25); background: var(--ink-3); transition: border-color .5s, opacity .9s, translate .9s cubic-bezier(.2, .7, .2, 1); }
.photos--masonry .pgrid__item:hover, .photos--masonry .pgrid__item:focus-visible { border-color: rgba(168, 179, 154, .7); }
.pgrid--masonry .pgrid__img { display: block; height: auto; }
.photos__more--end { display: flex; align-items: center; gap: 34px; margin-top: 100px; }
.photos__more--end::before, .photos__more--end::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.photos__more--end::after { background: linear-gradient(90deg, var(--accent), transparent); }

/* Case study cards: framed portrait photos with a numbered caption */
.pcards { columns: 3; column-gap: 10px; }
.pcard { position: relative; display: block; margin: 0 0 10px; break-inside: avoid; color: inherit; overflow: hidden; border: 1px solid rgba(168, 179, 154, .25); background: var(--ink-3); padding: 5px; transition: border-color .5s; }
.pcard__photo { position: relative; display: block; overflow: hidden; }
.pcard__img { display: block; width: 100%; height: auto; transition: transform 1.1s cubic-bezier(.4, 0, .2, 1), filter .6s; }
.pcard__meta { position: absolute; inset: 5px; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; background: linear-gradient(180deg, transparent 35%, rgba(13, 13, 13, .88) 100%); opacity: 0; transition: opacity .5s; }
.pcard__num { display: none; }
.pcard__title { font-size: 21px; font-weight: 400; line-height: 1.3; color: var(--light); transform: translateY(12px); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pcard__view { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-2); transform: translateY(12px); transition: transform .5s .05s cubic-bezier(.2, .7, .2, 1); }
.pcard__view span { display: inline-block; transition: transform .4s; }
a.pcard:hover, a.pcard:focus-visible { border-color: rgba(168, 179, 154, .75); }
a.pcard:hover .pcard__img, a.pcard:focus-visible .pcard__img { transform: scale(1.04); }
a.pcard:hover .pcard__meta, a.pcard:focus-visible .pcard__meta, .pcard:focus-within .pcard__meta { opacity: 1; }
a.pcard:hover .pcard__title, a.pcard:hover .pcard__view, a.pcard:focus-visible .pcard__title, a.pcard:focus-visible .pcard__view { transform: none; }
a.pcard:hover .pcard__view span { transform: translateX(8px); }
/* Touch screens have no hover: titles always show */
@media (hover: none) { .pcard__meta { opacity: 1; } .pcard__title, .pcard__view { transform: none; } }

/* Next gallery: the framed call-to-action box as one link */
.gallery-next { border-top: 1px solid var(--line); }
.gallery-next .cta__box { color: inherit; }
.gallery-next .cta__title { display: block; font-size: clamp(32px, 3.4vw, 54px); }
.gallery-next .btn { display: inline-block; }

/* --- Service Areas (the old custom HTML, words kept as entered) ---------- */
.embed--areas { background: var(--ink-2); }
.embed__code .service-areas-container { max-width: none; padding: 0; background: none; border-radius: 0; font-family: var(--font); }
.embed__code .hero-section { position: relative; display: grid; grid-template-columns: 1fr; margin: 0 0 150px; padding: 0; text-align: left; color: inherit; background: radial-gradient(70% 90% at 100% 100%, rgba(168, 179, 154, .14), transparent 70%), var(--ink-3); border: 1px solid rgba(168, 179, 154, .5); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; border-radius: 0; box-shadow: none; overflow: visible; }
.embed__code .hero-section--photo { grid-template-columns: 1.1fr 1fr; min-height: 520px; }
.embed__code .hero-section::before { display: none; }
.areas-photo { position: relative; margin: 0; min-height: 520px; overflow: hidden; }
.areas-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) brightness(.8); transition: filter .9s, transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.hero-section:hover .areas-photo img { filter: none; transform: scale(1.04); }
.hero-section__text { align-self: center; padding: 80px 64px; }
.embed__code .hero-section h1, .embed__code .hero-section h2 { font-family: var(--font); font-size: clamp(42px, 4.6vw, 76px); font-weight: 300; line-height: 1.02; letter-spacing: -1.5px; text-shadow: none; margin: 0 0 30px; background: linear-gradient(135deg, var(--light) 0%, var(--accent-2) 35%, var(--accent) 65%, var(--light) 100%); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: pcsi-shimmer 6s infinite alternate ease-in-out; }
.embed__code .hero-section p { font-family: var(--font); font-size: 17px; line-height: 1.8; max-width: 560px; margin: 0; color: #b9b9b9; opacity: 1; }
.embed__code .cities-section { margin-top: 0; }
.embed__code .county-section { display: grid; grid-template-columns: 5fr 7fr; gap: 0 90px; margin: 0 0 150px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.embed__code .county-section:last-child { margin-bottom: 0; }
.embed__code .county-section--flip { grid-template-columns: 7fr 5fr; }
.embed__code .county-section--flip .county-aside { grid-column: 2; grid-row: 1; }
.embed__code .county-section--flip .cities-grid { grid-column: 1; grid-row: 1; }
.county-aside { position: sticky; top: 130px; align-self: start; }
.county-num { display: block; font-size: 96px; font-weight: 300; line-height: .9; color: rgba(239, 229, 178, .2); margin-bottom: 18px; }
.embed__code .county-header { display: block; margin: 0 0 14px; padding: 0; border: 0; }
.embed__code .county-section h3 { font-family: var(--font); font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.1; letter-spacing: -.8px; color: var(--light); margin: 0; }
.county-count { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--accent-2); }
.county-count::before { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.county-photo { position: relative; margin: 40px 0 0; aspect-ratio: 4 / 5; max-height: 560px; overflow: hidden; border: 1px solid rgba(168, 179, 154, .45); background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); }
.county-photo img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; object-position: 50% 18%; filter: grayscale(1) brightness(.85); transition: filter .9s, transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.county-section:hover .county-photo img { filter: none; }
.embed__code .cities-grid { display: block; align-self: start; margin-top: 46px; border-top: 1px solid var(--line); }
.county-section--short .county-photo { aspect-ratio: 3 / 2; }
.embed__code .county-section--short { grid-template-columns: 1fr 1fr; }
.embed__code .city-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; align-items: center; padding: 30px 6px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; transform: none; transition: padding .5s cubic-bezier(.4, 0, .2, 1); }
.embed__code .city-card::before { display: none; }
.embed__code .city-card::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .7s cubic-bezier(.4, 0, .2, 1); }
.embed__code .city-card:hover { transform: none; box-shadow: none; padding-left: 20px; }
.embed__code .city-card:hover::after { width: 100%; }
.embed__code .city-card h4, .embed__code .city-card:hover h4 { grid-column: 1; font-family: var(--font); font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; line-height: 1.15; letter-spacing: -.4px; color: var(--light); margin: 0; transition: color .4s; }
.embed__code .city-card:hover h4 { color: var(--accent-2); }
.embed__code .city-card p, .embed__code .city-card:hover p { grid-column: 1; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray) !important; margin: 0; }
.embed__code .service-button, .embed__code .city-card:hover .service-button { grid-column: 2; grid-row: 1 / 3; display: inline-block; padding: 15px 26px; background: transparent; color: var(--light); border: 1px solid rgba(168, 179, 154, .6); border-radius: 0; box-shadow: none; transform: none; font: 500 12px/1 var(--font); letter-spacing: 3.5px; text-transform: uppercase; transition: background .4s, color .4s, border-color .4s; }
.embed__code .service-button::after { content: ""; position: absolute; inset: 0; }
.embed__code .city-card:hover .service-button, .embed__code .service-button:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--ink); }

@media (min-width: 1600px) {
	.pgrid--masonry { --cols: 4; }
}
@media (max-width: 1024px) {
	.pcards { columns: 2; }
	.embed__code .hero-section--photo { grid-template-columns: 1fr; min-height: 0; }
	.areas-photo { min-height: 340px; }
	.embed__code .county-section, .embed__code .county-section--flip, .embed__code .county-section--short { grid-template-columns: 1fr; gap: 40px; margin-bottom: 110px; }
	.embed__code .cities-grid { margin-top: 0; }
	.embed__code .county-section--flip .county-aside, .embed__code .county-section--flip .cities-grid { grid-column: 1; grid-row: auto; }
	.county-aside { position: static; }
	.county-photo { aspect-ratio: 16 / 10; max-height: none; }
}
@media (max-width: 767px) {
	.pgrid--masonry { --cols: 2; }
	.pgrid--masonry.is-built, .pgrid__col { gap: 8px; }
	.photos--masonry .pgrid__item { padding: 4px; }
	.gallery-bar { gap: 16px; letter-spacing: 3px; font-size: 11px; }
	.photos__more--end { gap: 16px; margin-top: 60px; }
	.pcards { columns: 1; }
	.stack { gap: 10px; }
	.stack__item img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
	.hero-section__text { padding: 44px 24px; }
	.embed__code .hero-section { outline-offset: 6px; margin-bottom: 100px; }
	.areas-photo { min-height: 240px; }
	.county-num { font-size: 64px; }
	.embed__code .city-card { grid-template-columns: 1fr; padding: 24px 0; }
	.embed__code .city-card:hover { padding-left: 0; }
	.embed__code .service-button, .embed__code .city-card:hover .service-button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 11px; }
	.embed__code .service-button::before { content: "\2192"; float: right; margin-left: 10px; }
}

/* Blog post photo rows (laid out by main.js): full photos, never cropped */
.post-body .post-photos { display: flex; flex-direction: column; gap: 18px; width: min(1120px, calc(100vw - 64px)); max-width: none; margin: 2.6em 0 2.6em 50%; transform: translateX(-50%); }
.post-photos__row { display: flex; gap: 18px; width: 100%; margin: 0 auto; }
.post-body .post-photos__item { display: block; min-width: 0; }
.post-body .post-photos img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: fill; margin: 0; }
@media (max-width: 767px) {
	.post-body .post-photos { width: calc(100vw - 20px); gap: 8px; }
	.post-photos__row { gap: 8px; }
}
@media (max-width: 767px) {
	.photos--masonry .wrap { padding: 0 10px; }
}

/* Grid galleries (laid out by main.js): framed photos in even rows, uncropped */
.photos--grid .wrap { max-width: 1480px; padding: 0 48px; }
.pgrid--grid.is-built { display: flex; flex-direction: column; gap: 10px; }
.pgrid__row { display: flex; gap: 10px; width: 100%; margin: 0 auto; }
.pgrid--grid.is-built .pgrid__item { display: block; min-width: 0; grid-column: auto; grid-row: auto; padding: 5px; border: 1px solid rgba(168, 179, 154, .25); background: var(--ink-3); transition: border-color .5s, opacity .9s, translate .9s cubic-bezier(.2, .7, .2, 1); }
.pgrid--grid.is-built .pgrid__item:hover, .pgrid--grid.is-built .pgrid__item:focus-visible { border-color: rgba(168, 179, 154, .7); }
.pgrid--grid.is-built .pgrid__img { display: block; height: auto; }
@media (max-width: 767px) {
	.photos--grid .wrap { padding: 0 10px; }
	.pgrid--grid.is-built, .pgrid__row { gap: 8px; }
	.pgrid--grid.is-built .pgrid__item { padding: 4px; }
}

/* --- Motion: photos settle into place; a "View" cursor over photos ------- */
.js .settle:not(.is-settled) img { transform: scale(1.1); }
.stack__item img, .story__photo img { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.view-cursor { position: fixed; top: 0; left: 0; z-index: 9999; width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center; border-radius: 50%; background: rgba(239, 229, 178, .92); color: var(--ink); font: 500 11px/1 var(--font); letter-spacing: 3px; text-transform: uppercase; pointer-events: none; opacity: 0; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(.3); transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1); mix-blend-mode: normal; }
.view-cursor.is-on { opacity: 1; transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (prefers-reduced-motion: reduce) { .js .settle:not(.is-settled) img { transform: none; } }

/* A post that opens with a heading: no divider line above it */
.post-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Bold-line "headings" from older posts, styled like real headings */
.post-body .post-subhead { margin: 2.2em 0 .7em; font-size: 26px; font-weight: 300; line-height: 1.3; letter-spacing: -.3px; color: var(--accent-2); }
.post-body .post-subhead strong, .post-body .post-subhead b { font-weight: 300; color: inherit; }
.post-body .post-subhead br { display: none; }
.post-body > .post-subhead:first-child, .post-body > p.post-subhead:first-of-type { margin-top: 0; font-size: 26px; font-weight: 300; line-height: 1.3; color: var(--accent-2); }

/* Photos one after another in a post never touch */
.post-body > figure, .post-body > p:has(img) { margin-block: 2.4em; }
.post-body > figure + figure, .post-body > p:has(img) + p:has(img) { margin-top: 18px; }

/* Contact form: the hint inside the message box */
.contact-form textarea::placeholder, .field textarea::placeholder { color: #6f6f6f; opacity: 1; font-size: 15px; line-height: 1.7; }

/* Team bios: folded to a few lines with Read more */
.member__bio.is-folded:not(.is-open) { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.read-more { display: inline-flex; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 0; background: none; border: 0; color: var(--accent); font: 500 12px/1 var(--font); letter-spacing: 3.5px; text-transform: uppercase; cursor: pointer; transition: color .3s; }
.read-more::after { content: "\2193"; transition: transform .3s; }
.read-more[aria-expanded="true"]::after { transform: rotate(180deg); }
.read-more:hover, .read-more:focus-visible { color: var(--accent-2); }

/* With the View circle on screen, hide the mouse pointer (the magnifier) under it */
.has-view-cursor [data-lightbox] a, .has-view-cursor a.pcard, .has-view-cursor .post-card__media, .has-view-cursor .footer-strip__item, .has-view-cursor .card__media, .has-view-cursor a.tile__photo, .has-view-cursor .feature__photo { cursor: none; }

/* Team: specialty line under the role, and headings inside long bios */
.member__specialty { margin: -6px 0 22px; font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gray); }
.member__bio h4 { margin: 1.8em 0 .5em; font-size: 15px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-2); }

/* Team: photos under a bio sit in a clean row of matching frames (not the
   gallery's big-and-small pattern), and the main photo stays in place so it
   never slides over them */
.member .member__portfolio { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 60px; }
.member .member__portfolio .pgrid__item { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; padding: 6px; border: 1px solid rgba(168, 179, 154, .3); background: var(--ink-3); transition: border-color .5s, opacity .9s, translate .9s cubic-bezier(.2, .7, .2, 1); }
.member .member__portfolio .pgrid__item:hover, .member .member__portfolio .pgrid__item:focus-visible { border-color: rgba(168, 179, 154, .75); }
.member .member__portfolio .pgrid__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.member--featured:has(.member__portfolio) .member__photo { position: relative; top: auto; }
@media (max-width: 767px) {
	.member .member__portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
	.member .member__portfolio .pgrid__item { padding: 4px; }
}

/* "You're hiring the Phil Kramer team": short, easy-to-scan paragraphs */
#phil-kramer-team .story__card .prose { font-size: 15.5px; line-height: 1.85; }
#phil-kramer-team .story__card .prose p { max-width: 36em; margin: 0 0 1.1em; }
#phil-kramer-team .story__card .prose p:last-child { margin-bottom: 0; }
#phil-kramer-team.story--text-only .story__card { grid-column: 3 / 11; }
#phil-kramer-team .story__title { font-size: clamp(30px, 3vw, 46px); }
@media (max-width: 1024px) { #phil-kramer-team.story--text-only .story__card { grid-column: 1 / 13; } }

/* Gallery <-> blog post cards (and Next Gallery): the framed box as a link */
.story-link .cta__box, .gallery-next .cta__box { color: inherit; }
.story-link .cta__title { display: block; font-size: clamp(32px, 3.4vw, 54px); }
.story-link .btn { display: inline-block; }
.single-post .story-link { padding: 40px 0 100px; background: none; }
.story-link + .gallery-next { padding-top: 0; border-top: 0; }

/* --- Testimonials -------------------------------------------------------- */
.testimonials { background: var(--ink-2); }
.testimonials .section-head .eyebrow { justify-content: center; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 70px; }
.testimonials__grid--1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.testimonials__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial { position: relative; display: flex; flex-direction: column; margin: 0; padding: 56px 44px 44px; background: var(--ink-3); border: 1px solid rgba(168, 179, 154, .35); outline: 1px solid rgba(239, 229, 178, .07); outline-offset: 10px; }
.testimonial__mark { position: absolute; top: 18px; left: 40px; font-size: 90px; font-weight: 300; line-height: 1; color: var(--accent); opacity: .55; }
.testimonial__quote { flex: 1; margin: 30px 0 0; padding: 0; border: 0; }
.testimonial__quote p { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.75; color: var(--light); }
.testimonial__by { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.testimonial__photo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testimonial__name { display: block; font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-2); }
.testimonial__detail { display: block; margin-top: 6px; font-size: 13px; color: var(--gray); }
@media (max-width: 1024px) { .testimonials__grid, .testimonials__grid--2 { grid-template-columns: 1fr; max-width: 680px; margin-left: auto; margin-right: auto; } }
@media (max-width: 767px) { .testimonial { padding: 50px 26px 30px; outline-offset: 6px; } .testimonial__mark { left: 24px; } }

/* --- Client logos -------------------------------------------------------- */
.logos { padding: 100px 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.logos__head { display: flex; align-items: center; gap: 30px; margin-bottom: 56px; }
.logos__rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.logos__rule:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.logos__title { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: var(--accent-2); }
.logos__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px 64px; margin: 0; padding: 0; list-style: none; }
.logos__item { flex: 0 0 auto; }
.logos__img { display: block; width: auto; max-width: 170px; height: 56px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; transition: opacity .4s, filter .4s; }
.logos__item:hover .logos__img { filter: none; opacity: 1; }
@media (max-width: 767px) { .logos__list { gap: 30px 36px; } .logos__img { height: 40px; max-width: 120px; } }

/* --- Video --------------------------------------------------------------- */
.video { background: var(--ink-2); }
.video__frame { position: relative; max-width: 1120px; margin: 60px auto 0; padding: 14px; border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; background: var(--ink-3); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.section-head + .video__frame { margin-top: 60px; }
.video__player { position: relative; aspect-ratio: 16 / 9; }
.video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__text { max-width: 760px; margin: 56px auto 0; text-align: center; }
@media (max-width: 767px) { .video__frame { padding: 6px; outline-offset: 6px; } }

/* Posts without a photo yet: the PK monogram on a soft sage glow, not an empty box */
.tile__photo--empty, .post-card__media--empty { background: url("../img/pk-mark.png") center 42% / 26% auto no-repeat, radial-gradient(70% 70% at 50% 42%, rgba(168, 179, 154, .16), transparent), var(--ink-3); }
.post-card__media--empty { opacity: 1; }
.tile__photo--empty, .post-card__media--empty { -webkit-mask: none; }
.tile__photo--empty { opacity: .9; }

/* Contact page map: framed, soft grey to suit the dark site, full colour on hover */
#map .embed__code { position: relative; padding: 12px; border: 1px solid rgba(168, 179, 154, .45); outline: 1px solid rgba(239, 229, 178, .1); outline-offset: 12px; background: var(--ink-3); }
#map .embed__code iframe { width: 100%; height: clamp(320px, 42vw, 520px); filter: grayscale(1) invert(.9) contrast(.85) brightness(.95); transition: filter .6s; }
#map .embed__code:hover iframe, #map .embed__code:focus-within iframe { filter: none; }
@media (max-width: 767px) { #map .embed__code { padding: 6px; outline-offset: 6px; } }
.contact .gform_wrapper textarea::placeholder { color: #6f6f6f; opacity: 1; font-size: 15px; }
.contact .gform_wrapper .gform_confirmation_message { padding: 18px 22px; border: .5px solid var(--accent); color: var(--light); }

/* Contact form fields: same look in every browser and in light or dark system mode.
   Gravity Forms gives its fields a fixed height and its own colours; undo both. */
.contact .gform_wrapper { color-scheme: dark; }
.contact .gform_wrapper.gform-theme { --gf-ctrl-size: auto; --gf-ctrl-padding-y: 12px; --gf-ctrl-padding-x: 0; --gf-ctrl-select-icon: none; }
.field input, .field select,
.contact .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.contact .gform_wrapper select {
	height: auto !important; block-size: auto !important; min-height: 52px !important;
	line-height: 1.6 !important; padding: 12px 24px 12px 0 !important;
	font: 400 17px/1.6 var(--font) !important;
	color: var(--light) !important; -webkit-text-fill-color: var(--light);
	background-color: transparent !important;
	border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .28) !important; border-radius: 0 !important; box-shadow: none !important;
	overflow: visible; text-overflow: ellipsis;
}
.field select, .contact .gform_wrapper select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23a8b39a' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 4px center !important; background-size: 10px !important;
	cursor: pointer;
}
.contact .gform_wrapper select::-ms-expand { display: none; }
.field select option, .contact .gform_wrapper select option { background: #1e1e1e !important; color: #f2f2f2 !important; -webkit-text-fill-color: #f2f2f2; }
.field textarea, .contact .gform_wrapper textarea {
	color: var(--light) !important; -webkit-text-fill-color: var(--light); background-color: transparent !important;
	border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .28) !important; border-radius: 0 !important; box-shadow: none !important;
	font: 400 17px/1.6 var(--font) !important; padding: 12px 0 !important;
}
.field input::placeholder, .field textarea::placeholder,
.contact .gform_wrapper input::placeholder, .contact .gform_wrapper textarea::placeholder { color: #8a8a8a !important; -webkit-text-fill-color: #8a8a8a; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus,
.contact .gform_wrapper input:focus, .contact .gform_wrapper select:focus, .contact .gform_wrapper textarea:focus { border-bottom-color: var(--accent) !important; outline: 0; }
/* Browser autofill would otherwise paint fields white or yellow. */
.field input:-webkit-autofill, .contact .gform_wrapper input:-webkit-autofill,
.field input:-webkit-autofill:focus, .contact .gform_wrapper input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--light); caret-color: var(--light);
	-webkit-box-shadow: 0 0 0 1000px var(--ink-2) inset !important; transition: background-color 9999s;
}
@media (forced-colors: active) {
	.field select, .contact .gform_wrapper select { background-image: none !important; }
}
