/*
Theme Name: RowLine
Theme URI: https://rowline.com
Author: RowLine
Description: Custom theme for RowLine, a video and photo production house. Dark, type-led design with a water-ripple hero and a tilted scroll reveal. No page builder required.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rowline
*/

/* ---------------------------------------------------------------------------
   Tokens
--------------------------------------------------------------------------- */
:root {
	--bg: #0b0b0b;
	--surface: #151515;
	--surface-2: #1c1c1c;
	--line: rgba(244, 242, 238, 0.12);
	--text: #f4f2ee;
	--muted: rgba(244, 242, 238, 0.62);
	--faint: rgba(244, 242, 238, 0.38);
	--accent: #ff4a1c;
	--accent-hover: #ff6a42;
	--font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--gutter: clamp(16px, 3.2vw, 40px);
	--max: 1320px;
	--radius: 6px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-md: 1.25rem;
	--fs-lg: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
	--fs-xl: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);
	--fs-statement: clamp(1.6rem, 1rem + 2.6vw, 3.25rem);
}

/* ---------------------------------------------------------------------------
   Base
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
	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: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------------
   Shared bits
--------------------------------------------------------------------------- */
.rec-dot {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 74, 28, 0.6);
	animation: rec 1.6s ease-in-out infinite; vertical-align: middle;
}
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.timecode { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--muted); }

.section { position: relative; background: var(--bg); padding-block: clamp(72px, 10vw, 140px); }
.section + .section { border-top: 1px solid var(--line); }
.section-label {
	display: flex; gap: 12px; align-items: baseline; margin-bottom: 28px;
	font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.section-label span { color: var(--accent); }
.section-title {
	font-size: var(--fs-xl); font-weight: 700; line-height: 1; letter-spacing: -0.035em; text-transform: uppercase;
	max-width: 16ch; text-wrap: balance;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head .section-label { margin-bottom: 20px; }
.section-intro { max-width: 34ch; color: var(--muted); font-size: var(--fs-md); line-height: 1.4; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
	font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { min-height: 54px; padding: 16px 28px; font-size: var(--fs-base); }

/* ---------------------------------------------------------------------------
   Header
--------------------------------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.4s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(11, 11, 11, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 46px)); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin-inline: auto; padding: 16px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.08em; font-size: var(--fs-sm); }
.brand-logo { max-height: 32px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: var(--fs-sm); font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links .current-menu-item a, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { min-height: 38px; padding: 8px 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(11, 11, 11, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
.nav-toggle .bar:first-of-type { top: 18px; }
.nav-toggle .bar:last-of-type { top: 24px; }
.nav-open .nav-toggle .bar:first-of-type { transform: translateY(3px) rotate(45deg); }
.nav-open .nav-toggle .bar:last-of-type { transform: translateY(-3px) rotate(-45deg); }

/* ---------------------------------------------------------------------------
   Hero (ripple + sticky)
--------------------------------------------------------------------------- */
.hero-stage { position: relative; overflow-x: clip; }
.hero {
	position: sticky; top: 0; z-index: 0;
	height: 100vh; height: 100svh; min-height: 560px;
	overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; isolation: isolate;
	background: #000;
}
.hero-img, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-canvas { opacity: 0; transition: opacity 0.8s var(--ease); }
.hero.ripple-on .hero-canvas { opacity: 1; }
.hero-shade {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.1) 100%),
		linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85) 100%);
}
.hero-top { display: flex; justify-content: space-between; align-items: center; padding-top: 96px; pointer-events: none; }
.hero-mid { align-self: center; pointer-events: none; }
.hero-text { max-width: 30ch; font-size: var(--fs-lg); font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; pointer-events: auto; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(16px, 3vw, 28px); position: relative; z-index: 2; pointer-events: none; }
.hero-services { display: grid; gap: 4px; font-size: var(--fs-sm); font-weight: 500; }
.hero-services .num { color: var(--accent); font-size: var(--fs-xs); margin-right: 6px; font-variant-numeric: tabular-nums; }
.hero-hint { font-size: var(--fs-xs); color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-word {
	position: absolute; left: 0; right: 0; bottom: -0.16em; z-index: 1; pointer-events: none;
	font-size: clamp(5rem, 22vw, 22rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
	text-align: center; white-space: nowrap; color: transparent;
	-webkit-text-stroke: 1px rgba(244, 242, 238, 0.35);
	mix-blend-mode: screen;
}

/* Everything after the hero slides over it */
.over { position: relative; z-index: 1; }
.tilt-panel {
	transform-origin: 50% 0;
	will-change: transform;
	box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------------------
   Intro + stats
--------------------------------------------------------------------------- */
.intro-text { font-size: var(--fs-statement); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; max-width: 26ch; text-wrap: pretty; }
.intro-text .w { opacity: 0.18; transition: opacity 0.35s linear; }
.intro-text .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); padding-top: 28px; }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; }
.stat dd { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------------
   Clients marquee
--------------------------------------------------------------------------- */
.clients-strip { padding-block: clamp(48px, 6vw, 80px); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { padding-inline: clamp(20px, 3vw, 40px); font-size: clamp(1.5rem, 1rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; color: var(--faint); white-space: nowrap; transition: color 0.3s; }
.marquee-item:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------------
   Work
--------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.work-grid.three { grid-template-columns: repeat(3, 1fr); }
.work-card { display: block; position: relative; }
.work-grid:not(.three) .work-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.work-grid:not(.three) .work-card:first-child:nth-last-child(odd) .work-media { aspect-ratio: 21 / 9; }
.work-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.9s var(--ease), filter 0.6s var(--ease); filter: saturate(0.85); }
.work-card:hover .work-media img { transform: scale(1.07); filter: saturate(1.05); }
.work-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding-top: 16px; }
.work-num { grid-row: span 2; color: var(--accent); font-size: var(--fs-xs); font-weight: 600; padding-top: 6px; font-variant-numeric: tabular-nums; }
.work-title { font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; }
.work-excerpt { color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------------
   Services
--------------------------------------------------------------------------- */
.service-list { border-top: 1px solid var(--line); }
.service {
	display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px;
	padding-block: 32px; border-bottom: 1px solid var(--line); align-items: start;
	transition: background-color 0.3s var(--ease);
}
.service-num { color: var(--accent); font-size: var(--fs-sm); font-weight: 600; padding-top: 6px; font-variant-numeric: tabular-nums; }
.service-title { font-size: var(--fs-lg); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.service-text { color: var(--muted); }
.service-list.compact .service { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); }

/* ---------------------------------------------------------------------------
   Reasons
--------------------------------------------------------------------------- */
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(36px, 5vw, 64px); }
.reason { background: var(--bg); padding: clamp(24px, 2.6vw, 36px); min-height: 280px; display: flex; flex-direction: column; gap: 14px; transition: background-color 0.3s var(--ease); }
.reason:hover { background: var(--surface); }
.reason-num { color: var(--accent); font-size: var(--fs-sm); font-weight: 600; margin-bottom: auto; }
.reason h3 { font-size: var(--fs-md); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; min-height: 2.4em; display: flex; align-items: flex-end; }
.reason p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------------
   FAQ
--------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; cursor: pointer; list-style: none; font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); padding-bottom: 24px; max-width: 60ch; }
.plus { position: relative; flex: 0 0 18px; height: 18px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0deg); }

/* ---------------------------------------------------------------------------
   CTA + footer
--------------------------------------------------------------------------- */
.cta-band { background: var(--accent); color: #fff; padding-block: clamp(72px, 10vw, 140px); position: relative; z-index: 1; }
.cta-band .rec-dot { background: #fff; }
.cta-inner { display: grid; gap: 24px; justify-items: start; }
.cta-title { font-size: clamp(2.5rem, 1.2rem + 5.6vw, 6.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; text-transform: uppercase; max-width: 14ch; }
.cta-text { font-size: var(--fs-md); max-width: 40ch; opacity: 0.9; }
.cta-band .btn-accent { background: #0b0b0b; color: #fff; }
.cta-band .btn-accent:hover { background: #000; }

.site-footer { position: relative; z-index: 1; background: var(--bg); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-brand .muted { max-width: 32ch; font-size: var(--fs-sm); }
.footer-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-list { display: grid; gap: 10px; font-size: var(--fs-sm); }
.footer-list a { color: var(--muted); transition: color 0.2s; }
.footer-list a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding-block: 20px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.04em; }
.footer-word { font-size: clamp(5rem, 24vw, 24rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.75; text-align: center; color: var(--surface-2); margin-bottom: -0.08em; user-select: none; }

/* ---------------------------------------------------------------------------
   Inner pages
--------------------------------------------------------------------------- */
.page-head { position: relative; min-height: 72vh; display: flex; align-items: flex-end; padding-top: 140px; padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; background: var(--bg); }
.page-head.plain { min-height: 52vh; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.35) 40%, rgba(11,11,11,0.95) 100%); }
.page-head-inner { display: grid; gap: 20px; }
.page-title { font-size: clamp(2.5rem, 1.3rem + 5vw, 6rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; text-transform: uppercase; max-width: 15ch; text-wrap: balance; }
.page-lead { font-size: var(--fs-md); color: var(--muted); max-width: 46ch; }

.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px; }
.story-text { font-size: var(--fs-statement); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.story-text .w { opacity: 0.18; transition: opacity 0.35s linear; }
.story-text .w.on { opacity: 1; }
.client-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(36px, 5vw, 64px); }
.client-col h3 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.client-col li { font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.01em; padding-block: 4px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 28px; }
.info-label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.contact-info a, .contact-info p { font-size: var(--fs-md); font-weight: 600; }
.contact-info a:hover { color: var(--accent); }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.contact-form { display: grid; gap: 18px; scroll-margin-top: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: var(--fs-base);
	transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface-2); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-note.ok { background: rgba(80, 200, 120, 0.12); border: 1px solid rgba(80, 200, 120, 0.4); }
.form-note.err { background: rgba(255, 74, 28, 0.12); border: 1px solid rgba(255, 74, 28, 0.45); }

.work-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); }
.work-facts { display: grid; gap: 24px; align-content: start; }
.work-facts dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.work-facts dd { font-size: var(--fs-md); font-weight: 600; }
.work-facts dd li { padding-block: 2px; }
.prose { font-size: var(--fs-md); line-height: 1.6; color: var(--muted); display: grid; gap: 1em; }
.prose > * { margin: 0; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); height: auto; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 1em; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; }
.post-title { font-weight: 600; }

/* ---------------------------------------------------------------------------
   Reveal on scroll
--------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.service { grid-template-columns: 48px 1fr; }
	.service .tags, .service .service-text { grid-column: 2; }
	.service-list.compact .service { grid-template-columns: 48px 1fr; }
	.reason-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.client-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start;
		gap: 32px; padding: 100px var(--gutter) 40px; background: var(--bg);
		opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-links { flex-direction: column; gap: 10px; }
	.nav-links a { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); text-transform: uppercase; }
	.nav-open { overflow: hidden; }
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	.work-grid, .work-grid.three { grid-template-columns: 1fr; }
	.faq-grid, .contact-grid, .work-detail, .story-grid { grid-template-columns: 1fr; }
	.hero-hint { display: none; }
}

@media (max-width: 560px) {
	.reason-grid, .client-cols, .field-row { grid-template-columns: 1fr; }
	.reason { min-height: 0; }
	.footer-grid { grid-template-columns: 1fr; }
	.section-head { align-items: flex-start; }
	.hero-top .timecode { display: none; }
	.hero-services { display: none; }
	.hero-text { font-size: 1.375rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.intro-text .w, .story-text .w { opacity: 1; }
}
