/* =========================================================
   Homepage — hero, featured grid, what-we-make, about strip,
   sub-brand tiles, stats, testimonial, CTA slab.
   ========================================================= */

/* ---------- Hero ---------- */
.home-hero {
	padding: 6rem var(--gutter) 3.5rem;
	max-width: var(--maxw);
	margin-inline: auto;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 2vw, 1.75rem);
	position: relative;
}
.home-hero > .home-hero-top {
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
	padding-bottom: 0;
}

/* Top bar — availability left, issue + wordmark right */
.home-hero-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-mono);
	font-size: .7rem;
	color: var(--muted);
	text-transform: lowercase;
	letter-spacing: .04em;
	padding-bottom: clamp(2rem, 5vw, 4rem);
}
.home-hero-top .left { display: flex; gap: 2rem; align-items: center; }
.home-hero-top .right {
	display: flex;
	gap: 1.8rem;
	align-items: center;
	color: var(--muted);
}
.home-hero-top .right .issue {
	color: var(--muted-2);
	letter-spacing: .06em;
}
.home-hero-top .right .wordmark sup {
	font-size: .65em;
	margin-left: .1em;
	color: var(--muted-2);
}
.home-hero-top .live-dot {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	color: var(--ink);
	font-weight: 500;
}
.home-hero-top .live-dot::before {
	content: "";
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
	animation: livePulse 2s ease-in-out infinite;
}

/* Main headline — single editorial line on desktop, wraps naturally on mobile */
.home-hero h1 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2rem, 4.6vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: lowercase;
	color: var(--ink);
	max-width: 100%;
	margin: 0;
	text-wrap: normal;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25em;
}
.home-hero h1 .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	letter-spacing: -0.02em;
	color: var(--accent-deep);
}
.home-hero h1 .hero-rotator { color: var(--accent-deep); }

/* (data-lang-only visibility rules live in typography.css — used globally now) */

/* Rotating word — slot-machine style swap inside the clip-reveal mask.
   width is set explicitly by JS (measured per word) and CSS transitions
   that change so flex siblings on the line ride along smoothly instead
   of snapping. */
.hero-rot-wrap {
	transition: width .32s var(--ease);
	will-change: width;
}
.hero-rotator {
	display: inline-block;
	color: var(--accent-deep);
	transition: opacity .32s var(--ease), transform .32s var(--ease);
	will-change: opacity, transform;
}
.hero-rotator.is-exiting {
	opacity: 0;
	transform: translateY(-.28em);
}
.hero-rotator.is-entering {
	opacity: 0;
	transform: translateY(.28em);
}

/* ---------- Showreel — cinematic strip below the tagline ---------- */
.hero-showreel {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 21 / 9;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 14px;
	cursor: pointer;
	background: var(--forest);
	box-shadow: 0 24px 72px -22px rgba(0, 0, 0, .35), 0 2px 8px -2px rgba(0, 0, 0, .12);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero-showreel:hover {
	transform: translateY(-3px);
	box-shadow: 0 36px 96px -24px rgba(0, 0, 0, .4), 0 4px 12px -2px rgba(0, 0, 0, .18);
}
.hero-showreel:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}
.hero-showreel .reel-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 1;
	background: var(--forest);
	transition: transform 1s var(--ease), opacity .4s var(--ease);
}
.hero-showreel:hover .reel-video { transform: scale(1.02); }
/* Until the loop starts buffering, the poster (set via the <video> element's
   poster attribute) is what's visible. Once the JS fades the video in via
   .is-playing, autoplay takes over seamlessly. */
.hero-showreel .reel-video:not(.is-playing) { opacity: 1; } /* poster shows */

.hero-showreel .reel-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-rows: 1fr auto 1fr;
	padding: clamp(1rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
	color: #F5F5F4;
	background:
		radial-gradient(ellipse at center, rgba(0,0,0,.05) 0%, rgba(0,0,0,.3) 100%),
		linear-gradient(180deg, rgba(0,0,0,.2) 0%, transparent 25%, transparent 70%, rgba(0,0,0,.45) 100%);
	pointer-events: none;
}
.hero-showreel .reel-label {
	grid-column: 1;
	grid-row: 1;
	font-family: var(--font-mono);
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(245, 245, 244, .9);
	align-self: start;
}
.hero-showreel .reel-play {
	grid-column: 2;
	grid-row: 2;
	width: clamp(64px, 7vw, 96px);
	height: clamp(64px, 7vw, 96px);
	border-radius: 50%;
	background: rgba(245, 245, 244, .14);
	border: 1px solid rgba(245, 245, 244, .4);
	display: grid;
	place-items: center;
	color: #F5F5F4;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.hero-showreel .reel-play svg {
	width: 36%;
	height: 36%;
	margin-left: 8%; /* optical centring of the play triangle */
}
.hero-showreel:hover .reel-play {
	background: var(--accent);
	border-color: var(--accent);
	transform: scale(1.08);
}
.hero-showreel .reel-cta {
	grid-column: 3;
	grid-row: 3;
	font-family: var(--font-sans);
	font-size: .92rem;
	font-weight: 500;
	letter-spacing: -0.005em;
	justify-self: end;
	align-self: end;
}

/* On smaller screens drop to 16:9 so the card stays watchable */
@media (max-width: 720px) {
	.hero-showreel { aspect-ratio: 16 / 9; }
}

/* ---------- Showreel dot indicators (overlaid on the video) ----------
 * Row of small pill-dots floating over the bottom of the showreel — one
 * per rotator word. Active dot fills left→right with teal over 2.4s,
 * matching the rotator INTERVAL_MS. Frosted-glass pill backdrop for
 * legibility on any video frame. Hidden on mobile where autoplay is off.
 *
 * Structure:
 *   .showreel-shell        — relative-positioned wrapper
 *     ├── .hero-showreel   — the button (video + overlay)
 *     └── .showreel-dots   — absolute, bottom-centred over the video
 */
.showreel-shell {
	position: relative;
}
.showreel-dots {
	position: absolute;
	left: 50%;
	bottom: clamp(.6rem, 1.2vw, 1rem);
	transform: translateX(-50%);
	z-index: 5;

	display: inline-flex;
	gap: .35rem;
	padding: .35rem .55rem;
	border-radius: 999px;
	background: rgba(8, 9, 9, .42);
	border: 1px solid rgba(245, 245, 244, .1);
	backdrop-filter: blur(10px) saturate(1.2);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	box-shadow: 0 6px 24px -8px rgba(0, 0, 0, .35);
	max-width: calc(100% - 2rem); /* never overflow card edges */
	flex-wrap: nowrap;
	/* NB: no overflow:hidden — would clip the hover labels that float
	 * above the pill. Labels position themselves with absolute + z-index
	 * so they sit cleanly above each dot. */
}
.reel-dot {
	appearance: none;
	background: transparent;
	border: 0;
	padding: .35rem .15rem; /* touch target */
	margin: 0;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.reel-dot:focus { outline: none; }
.reel-dot:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 6px;
}

/* The visible pill — sits on the frosted backdrop. */
.reel-dot-inner {
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 3px;
	background: rgba(245, 245, 244, .28);
	overflow: hidden;
	position: relative;
	transition: background .25s var(--ease), width .25s var(--ease);
}
.reel-dot:hover .reel-dot-inner { background: rgba(245, 245, 244, .5); }
.reel-dot.is-active .reel-dot-inner {
	width: 32px; /* active pill widens slightly */
	background: rgba(245, 245, 244, .25);
}

/* Teal fill that wipes left→right inside the active dot as its clip plays. */
.reel-dot-inner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}
.reel-dot.is-filling .reel-dot-inner::after {
	animation: reel-dot-fill 2.4s linear forwards;
}
@keyframes reel-dot-fill {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

/* Hover label — appears above the dots row. */
.reel-dot-label {
	position: absolute;
	bottom: calc(100% + .55rem);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	font-family: var(--font-mono);
	font-size: .62rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #F5F5F4;
	background: rgba(8, 9, 9, .85);
	padding: .35em .7em;
	border-radius: 999px;
	border: 1px solid rgba(245, 245, 244, .15);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity .2s var(--ease), transform .2s var(--ease);
	z-index: 6;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.reel-dot:hover .reel-dot-label,
.reel-dot:focus-visible .reel-dot-label {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Make sure the showreel CTA at bottom-right doesn't bunch into the dots. */
.hero-showreel .reel-overlay { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* Mobile: showreel autoplay is disabled, dots aren't needed. */
@media (max-width: 767px) {
	.showreel-dots { display: none; }
	.hero-showreel .reel-overlay { padding-bottom: clamp(1rem, 2.5vw, 2rem); }
}

/* Respect reduced motion — drop the fill animation, show active dot solid. */
@media (prefers-reduced-motion: reduce) {
	.reel-dot.is-filling .reel-dot-inner::after { animation: none; transform: scaleX(1); }
}


/* Lightbox — fullscreen YouTube embed with audio + controls */
.reel-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(8, 9, 9, .94);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 3rem);
	opacity: 0;
	transition: opacity .3s var(--ease);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.reel-lightbox.is-open {
	display: flex;
	opacity: 1;
}
.reel-lightbox-frame {
	width: 100%;
	max-width: 1280px;
	aspect-ratio: 16 / 9;
	background: #000;
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 32px 80px -20px rgba(0, 0, 0, .8);
}
.reel-lightbox-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.reel-lightbox-close {
	position: fixed;
	top: clamp(1rem, 2vw, 1.5rem);
	right: clamp(1rem, 2vw, 1.5rem);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(245, 245, 244, .12);
	color: #F5F5F4;
	border: 1px solid rgba(245, 245, 244, .25);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .25s var(--ease), transform .35s var(--ease), border-color .25s var(--ease);
	font-family: var(--font-mono);
}
.reel-lightbox-close:hover {
	background: rgba(245, 245, 244, .22);
	border-color: rgba(245, 245, 244, .5);
	transform: rotate(90deg);
}

/* Tagline — clean sans, sits directly under the headline as a bilingual companion */
.home-hero .hero-tagline {
	font-family: var(--font-sans);
	font-style: normal;
	font-weight: 400;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1.5;
	color: var(--muted);
	max-width: 80ch;
	margin: 0;
	letter-spacing: -0.005em;
}

/* Supporting meta — two columns: English sub (left) + CTAs (right).
   margin-top: auto pushes meta + foot to the bottom of the hero so
   the headline + showreel sit near the top (seas.studio-style flow). */
.home-hero-meta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2rem 3rem;
	padding-top: clamp(2rem, 4vw, 3rem);
	margin-top: auto;
	border-top: 1px solid var(--hairline);
	align-items: end;
}
.home-hero-meta .sub {
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--ink);
	max-width: 44ch;
	letter-spacing: -0.01em;
}
.home-hero-meta .actions {
	display: flex;
	flex-direction: column;
	gap: .9rem;
	align-items: flex-end;
	text-align: right;
}
.home-hero-meta .actions .link-arrow {
	font-size: 1.05rem;
	font-weight: 500;
}

/* Broadcast-crew credit strip — slim mono row beneath the hero CTAs.
 * Two parts: mono-cased label + the credits as a single inline list.
 * Treats the credits as a citation-style fact, not a flex/headline. */
.home-hero-crew {
	margin-top: clamp(1rem, 2vw, 1.5rem);
	padding-top: 1rem;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .5em 1em;
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .06em;
	text-transform: lowercase;
	color: var(--muted);
	line-height: 1.5;
}
.home-hero-crew .crew-label {
	color: var(--muted-2);
	opacity: .8;
}
.home-hero-crew .crew-list {
	color: var(--ink);
}
@media (max-width: 600px) {
	.home-hero-crew { gap: .25em .75em; font-size: .62rem; }
}

/* Editorial footer strip — indexed metadata for closure */
.home-hero-foot {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--hairline);
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 3rem;
	font-family: var(--font-mono);
	font-size: .7rem;
	color: var(--muted);
	text-transform: lowercase;
	letter-spacing: .04em;
}
.home-hero-foot .foot-item {
	display: inline-flex;
	align-items: baseline;
	gap: .75em;
}
.home-hero-foot .foot-item em {
	font-style: normal;
	color: var(--muted-2);
	letter-spacing: .08em;
}

@media (max-width: 860px) {
	.home-hero { min-height: 80vh; padding-top: 7rem; }
	.home-hero-meta { grid-template-columns: 1fr; }
	.home-hero-meta .actions { align-items: flex-start; text-align: left; }
	.home-hero-top { flex-wrap: wrap; gap: .75rem 1.5rem; }
	.home-hero-top .right { gap: 1rem; }
	.home-hero-foot { gap: .6rem 1.6rem; }
}

/* ---------- Featured work filter (homepage) ---------- */
.fw-filter {
	margin: 1.5rem auto 1.5rem;
	border-top: 0;          /* fw-cta-row above already has the divider */
	padding-top: 0;
}

/* ---------- Featured work grid — fluid 12-col, aspect-aware, height-aligned ----------
 * Each card spans columns based on its `grid_size` ACF field. Tall cards
 * span 2 grid ROWS so they vertically align with two stacked standards
 * sitting alongside — no awkward gap.
 *
 * Layout primitives (12-col grid, 4-col cards = 3-up base):
 *   wide      → span 12 cols × 1 row    (full hero)
 *   standard  → span 4  cols × 1 row    (default landscape card)
 *   tall      → span 4  cols × 2 rows   (vertical reel — aligns with 2 stacked standards)
 *   square    → span 4  cols × 1 row    (Instagram 1:1)
 *   third     → span 4  cols × 1 row    (alias for standard, used in trio runs)
 *
 * grid-auto-flow: dense lets the browser fill any gaps the spans leave —
 * 6 standards next to a tall fill perfectly, no holes.
 */
.fw-grid {
	max-width: var(--maxw);
	margin: 1rem auto 0; /* tightened — filter row sits between grid + cta */
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: .8rem;
	grid-auto-flow: dense;
}
/* Default — landscape card, 1/3 width. Two stack vertically alongside a tall. */
.fw-grid .seas-card,
.fw-grid .seas-card.size-standard,
.fw-grid .seas-card.size-third {
	grid-column: span 4;
	aspect-ratio: 4 / 3;
}
/* Hero / cinematic — full row */
.fw-grid .seas-card.size-wide {
	grid-column: span 12;
	aspect-ratio: 21 / 9;
}
/* Half-hero — applied to the trailing card when the layout has a 4-col gap.
   front-page.php auto-assigns this so the bottom row always fills cleanly. */
.fw-grid .seas-card.size-fill-8 {
	grid-column: span 8;
	aspect-ratio: 16 / 9;
}
/* Vertical content — 9:16 reels, portraits.
   span 2 rows so its height = 2 × standard height + 1 gap → aligns. */
.fw-grid .seas-card.size-tall {
	grid-column: span 4;
	grid-row: span 2;
	aspect-ratio: auto; /* height comes from the 2 row spans, not aspect */
}
/* Square content — slightly taller than standard 4:3 */
.fw-grid .seas-card.size-square {
	grid-column: span 4;
	aspect-ratio: 1 / 1;
}

/* Tablet: 2-up grid (everything halves) */
@media (max-width: 1024px) {
	.fw-grid .seas-card,
	.fw-grid .seas-card.size-standard,
	.fw-grid .seas-card.size-third,
	.fw-grid .seas-card.size-square {
		grid-column: span 6;
	}
	.fw-grid .seas-card.size-tall {
		grid-column: span 6;
		grid-row: span 2;
	}
	.fw-grid .seas-card.size-fill-8 {
		grid-column: span 12; /* on tablet, half-hero becomes full-width */
	}
}

/* Mobile: every card full-width. Tall keeps its 9:16 aspect (centred so it
   doesn't dominate). Row spans drop because there's only 1 column. */
@media (max-width: 640px) {
	.fw-grid .seas-card,
	.fw-grid .seas-card.size-standard,
	.fw-grid .seas-card.size-wide,
	.fw-grid .seas-card.size-square,
	.fw-grid .seas-card.size-third,
	.fw-grid .seas-card.size-fill-8 {
		grid-column: span 12;
		grid-row: auto;
		aspect-ratio: 4 / 3;
	}
	.fw-grid .seas-card.size-tall {
		grid-column: span 12;
		grid-row: auto;
		aspect-ratio: 9 / 16;
		max-width: 480px;
		margin-inline: auto;
	}
}

.fw-cta-row {
	max-width: var(--maxw);
	margin: 3rem auto 0;
	padding: 0 var(--gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-family: var(--font-mono);
	font-size: .7rem;
	color: var(--muted);
	text-transform: lowercase;
}
.fw-cta-row .count { letter-spacing: .02em; }

/* ---------- Marquee strip ---------- */
.marq {
	padding: 2.5rem 0;
	margin-top: 6rem;
	overflow: hidden;
	border-block: 1px solid var(--hairline);
}
.marq-row {
	display: flex;
	white-space: nowrap;
	animation: marqScroll 50s linear infinite;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(3rem, 7vw, 6.5rem);
	letter-spacing: -0.04em;
	line-height: 1;
	text-transform: lowercase;
	color: var(--ink);
	gap: 3rem;
}
.marq-row span {
	display: inline-flex;
	align-items: center;
	gap: 3rem;
}
.marq-row span::after {
	content: "✸";
	color: var(--accent);
	font-size: .55em;
	display: inline-block;
}

/* ---------- What we make — services list ---------- */
.sec-head h2 .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent-deep);
}

.srv-list { border-top: 1px solid var(--hairline); }
.srv-row {
	display: grid;
	grid-template-columns: 80px 1fr 2fr auto;
	gap: 2rem;
	align-items: center;
	padding: 1.8rem .5rem;
	border-bottom: 1px solid var(--hairline);
	color: var(--ink);
	position: relative;
	transition: padding .4s var(--ease);
	cursor: pointer;
}
.srv-row::before {
	content: "";
	position: absolute;
	inset: auto 0 -1px 0;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--ease);
}
.srv-row:hover::before { transform: scaleX(1); }
.srv-row:hover {
	padding-left: 1rem;
	padding-right: 1rem;
}
.srv-num {
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .04em;
	color: var(--muted);
}
.srv-name {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	text-transform: lowercase;
}
.srv-name .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent-deep);
}
.srv-desc {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.5;
	max-width: 50ch;
}
.srv-row .arrow-circle {
	border-color: var(--hairline);
	color: var(--ink);
}
.srv-row:hover .arrow-circle {
	background: var(--ink);
	color: var(--bg);
	border-color: var(--ink);
}
@media (max-width: 760px) {
	.srv-row { grid-template-columns: 40px 1fr auto; }
	.srv-desc { display: none; }
}

/* ---------- About strip ---------- */
.about-strip {
	background: var(--bg-alt);
	margin: 4rem 0;
	padding: 6rem 0;
}
.about-strip .inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 5rem;
	align-items: center;
}
.about-photo {
	position: relative;
	aspect-ratio: 4/5;
	border-radius: 18px;
	overflow: hidden;
}
.about-photo .ph,
.about-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.about-text .label {
	font-family: var(--font-mono);
	font-size: .7rem;
	color: var(--muted);
	text-transform: lowercase;
	margin-bottom: 1.5rem;
}
.about-text h2 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	letter-spacing: -0.04em;
	text-transform: lowercase;
	line-height: .95;
}
.about-text h2 .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent-deep);
}
.about-text p {
	margin-top: 2rem;
	color: var(--ink);
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 52ch;
	letter-spacing: -0.005em;
}
.about-text p.muted { color: var(--muted); }
.about-broadcasters {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--hairline);
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	font-family: var(--font-mono);
	font-size: .78rem;
	color: var(--muted);
	text-transform: lowercase;
	letter-spacing: .02em;
}
.about-broadcasters span { color: var(--ink); font-weight: 500; }
.about-actions { margin-top: 2.5rem; }

@media (max-width: 860px) {
	.about-strip .inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---------- Sub-brand tiles ---------- */
.brands {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 6rem var(--gutter);
}
.brands-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .8rem;
}
.brand-tile {
	position: relative;
	aspect-ratio: 5/3;
	border-radius: 18px;
	overflow: hidden;
	display: block;
	color: #fff;
}
.brand-tile .ph,
.brand-tile img {
	position: absolute;
	inset: 0;
	border-radius: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Stori source images are all portrait (819×1024) but the tile is 5:3.
 * Without this, object-fit:cover crops to the middle horizontal slice
 * which catches torsos, not faces. Bias the crop toward the upper third
 * where subjects naturally sit in wedding photography. */
.brand-tile--stori img {
	object-position: center 30%;
}
.brand-tile .inner {
	position: absolute; inset: 0;
	z-index: 2;
	padding: clamp(1.5rem, 2.5vw, 2.5rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: #fff;
}
.brand-tile::after {
	content: "";
	position: absolute; inset: 0;
	/* Two-stop scrim that darkens both ends and keeps the image breathing
	 * through the middle. Bottom stop is heavier than the original
	 * (.95 vs .65) because the headline + description + meta row all sit
	 * there and need to read clearly across busy / light source images
	 * (cookie-dealer chocolate, hafn-hallway brights, etc.). */
	background: linear-gradient(
		180deg,
		rgba(20, 22, 22, .55) 0%,
		rgba(20, 22, 22, .12) 22%,
		rgba(20, 22, 22, .12) 38%,
		rgba(20, 22, 22, .65) 70%,
		rgba(20, 22, 22, .92) 100%
	);
	pointer-events: none;
	z-index: 1;
}
.brand-tile .top {
	display: flex;
	align-items: center;
	gap: .8rem;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.1rem;
	text-transform: lowercase;
	letter-spacing: -0.02em;
}
.brand-tile .top .arrow-circle {
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
	width: 38px; height: 38px;
	font-size: .85rem;
}
.brand-tile:hover .top .arrow-circle {
	background: var(--accent);
	border-color: var(--accent);
	transform: rotate(-15deg);
}
.brand-tile .bot {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}
.brand-tile .bot h3 {
	font-family: var(--font-display);
	font-weight: 500;
	/* Min was 2.5rem — too big for "boost — social media" / "hafn —
	 * property" on a phone-width single-column tile, the second word
	 * was clipping past the right edge. Dropped to 1.5rem at narrow,
	 * scales up smoothly to 4rem on desktop. */
	font-size: clamp(1.5rem, 6vw, 4rem);
	letter-spacing: -0.04em;
	text-transform: lowercase;
	line-height: .95;
	color: #fff;
	/* Subtle shadow for legibility against any local bright spots in
	 * the underlying image. Not heavy — just a half-pixel of contrast. */
	text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}
.brand-tile .bot p {
	font-size: .92rem;
	color: rgba(255, 255, 255, .92); /* was .75 — too washed out on busy images */
	max-width: 32ch;
	margin: 0;
	line-height: 1.5;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.brand-tile .bot .meta {
	font-family: var(--font-mono);
	font-size: .7rem;
	color: rgba(255, 255, 255, .85); /* was .65 — same legibility issue as p */
	text-transform: lowercase;
	margin-top: .3rem;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap; /* on narrow tiles the third meta item could push past edge */
	text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.brand-tile .bot .meta span::before {
	content: "○";
	margin-right: .4em;
	color: rgba(255, 255, 255, .7);
}
@media (max-width: 760px) {
	.brands-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats strip ---------- */
/* Forest = always-dark canvas. Hardcode text colours so they don't flip
   with dark mode (where --bg becomes dark = invisible on dark forest). */
.stats {
	background: var(--forest);
	color: #F5F5F4;
	padding: 5rem var(--gutter);
	margin: 4rem 0;
}
.stats-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem;
}
.stat {
	border-left: 1px solid rgba(245, 245, 244, .15);
	padding: .5rem 0 .5rem 1.5rem;
}
.stat:first-child {
	border-left: 0;
	padding-left: 0;
}
.stat-num {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2.8rem, 6vw, 5rem);
	letter-spacing: -0.045em;
	line-height: .95;
	color: #F5F5F4;
}
.stat-num .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent);
	margin-left: .1em;
}
.stat-label {
	font-family: var(--font-mono);
	font-size: .7rem;
	color: rgba(245, 245, 244, .6);
	text-transform: lowercase;
	margin-top: .7em;
	letter-spacing: .02em;
}
@media (max-width: 860px) {
	.stats-inner { grid-template-columns: 1fr 1fr; }
	.stat { border-left: 0; padding-left: 0; }
}

/* ---------- Testimonial ---------- */
.quote {
	max-width: 1100px;
	margin: 0 auto;
	padding: 7rem var(--gutter);
	text-align: left;
}
.quote blockquote {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2rem, 4.5vw, 4rem);
	letter-spacing: -0.035em;
	line-height: 1;
	color: var(--ink);
	text-transform: lowercase;
	max-width: 22ch;
	margin: 0;
}
.quote blockquote .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent-deep);
}
.quote .cite {
	margin-top: 3rem;
	font-family: var(--font-mono);
	font-size: .75rem;
	color: var(--muted);
	text-transform: lowercase;
	letter-spacing: .02em;
	display: flex;
	gap: .75rem;
	align-items: center;
}
.quote .cite::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--ink);
}
.quote .cite strong { color: var(--ink); font-weight: 500; }

/* ---------- CTA slab ---------- */
.cta-slab {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 7rem var(--gutter) 3rem;
}
.cta-slab h2 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(3.5rem, 11vw, 11rem);
	line-height: .9;
	letter-spacing: -0.03em;
	text-transform: lowercase;
	max-width: 12ch;
}
.cta-slab h2 .italic {
	font-family: var(--font-accent-serif);
	font-style: italic;
	font-weight: 300;
	color: var(--accent-deep);
}
.cta-slab .row {
	margin-top: 3rem;
	padding-top: 3rem;
	border-top: 1px solid var(--hairline);
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
	align-items: start;
}
.cta-slab .row > div {
	font-family: var(--font-mono);
	font-size: .78rem;
	color: var(--muted);
	text-transform: lowercase;
	letter-spacing: .02em;
	line-height: 1.8;
}
.cta-slab .row a { color: var(--ink); }
.cta-slab .row .label {
	/* var(--muted-2) was #a4a59c on light bg — Lighthouse flagged 3.5:1
	 * (fails WCAG AA 4.5:1). var(--muted) is #5F6463 ≈ 6.2:1 — passes. */
	color: var(--muted);
	display: block;
	margin-bottom: .3em;
	letter-spacing: .04em;
}
@media (max-width: 760px) {
	.cta-slab .row { grid-template-columns: 1fr; }
}

/* ============================================================
   HOMEPAGE PORTFOLIO SECTION
   The grid + filter inherit all their styles from portfolio.css
   (same pattern as the /portfolio/ page). The few homepage-only
   tweaks below adjust spacing and add the bottom logo strip.
   ============================================================ */

/* Tighter top margin on the homepage filter row (no .pf-head sits
   above it like on the work page — the section-label slab does). */
.pf-filter {
	margin-top: 1rem;
}

/* Slightly more breathing room below the homepage grid before the
   "more in the portfolio" CTA. */
.pf-grid--home {
	margin-bottom: 2.5rem;
}

/* Bottom logo strip (Framer-style customer row) — sits anchored at
   the foot of the homepage portfolio block. */
.pf-home-logos {
	max-width: var(--maxw);
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) 0;
	border-top: 1px solid var(--hairline);
	position: relative;
}
.pf-home-logos .client-marq {
	background: transparent;
	padding: 0;
	margin: 0;
	border: 0;
	/* polish.css gives the standalone .client-marq `width: 100vw` plus a
	 * calc()-based negative margin trick so the section breaks out of a
	 * maxw container and bleeds to the viewport edges. Inside
	 * .pf-home-logos we want the marquee CONTAINED within the maxw column
	 * (it sits below the portfolio grid and should align to it).
	 * Overriding margin to 0 (above) without also overriding the 100vw
	 * width left a 100vw element anchored at the container's left edge,
	 * which pushed the logos and eyebrow visibly off to the right.
	 * Re-anchoring width to 100% keeps everything inside the column. */
	width: 100%;
	/* The polish.css mask-image (broad fade across the viewport) was sized
	 * for a 100vw element. The home.css `.client-marq-track` rule below
	 * provides its own narrower mask scoped to the contained width. Drop
	 * the outer mask so we don't double-fade the edges. */
	-webkit-mask-image: none;
	        mask-image: none;
}
.pf-home-logos .client-marq-eyebrow {
	color: var(--muted);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 1.25rem;
	font-family: var(--font-mono);
}
.pf-home-logos .client-marq-track {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
	        mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.pf-home-logos .client-marq-row {
	display: flex;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}
.pf-home-logos .client-marq-item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: clamp(28px, 4vw, 38px);
	opacity: 0.6;
	filter: grayscale(1);
	transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.pf-home-logos .client-marq-item:hover {
	opacity: 1;
	filter: grayscale(0);
	transform: scale(1.05);
}
.pf-home-logos .client-marq-item img {
	height: 100%;
	width: auto;
	display: block;
	max-width: 160px;
	object-fit: contain;
}

