/* ==========================================================================
   Fieldwork — main stylesheet
   Change the look in one place: the tokens below.
   ========================================================================== */
:root {
	--ink: #13161c;
	--ink-2: #2b303a;
	--muted: #6b6f78;
	--paper: #f6f2ea;
	--paper-2: #ece6da;
	--white: #ffffff;
	--accent: #ff6a3d;        /* tangerine */
	--accent-ink: #1a0d07;
	--forest: #1e4a3d;        /* deep green for the dark section */
	--forest-2: #275d4d;
	--line: rgba(19, 22, 28, .12);

	--font-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

	--radius: 22px;
	--radius-sm: 12px;
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 48px);
	--section: clamp(72px, 10vw, 140px);
	--ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-top: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 1.4em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 38ch; }
.h-xl { font-size: clamp(34px, 4.6vw, 64px); }
.h-xxl { font-size: clamp(44px, 7vw, 104px); }

/* Buttons & links ------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer;
	transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
	font-family: var(--font-body);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

.tag {
	display: inline-block; padding: 6px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .04em;
	background: var(--paper-2); color: var(--ink);
}
.tag-light { background: rgba(255,255,255,.9); backdrop-filter: blur(6px); }

/* Header --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	transition: background .35s, box-shadow .35s, transform .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(246, 242, 234, .86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -.04em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; background: var(--accent); position: relative; transition: border-radius .5s var(--ease); }
.logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--paper); }
.logo:hover .logo-mark { border-radius: 4px 50% 50% 50%; }
.logo-dot { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .25s; }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .is-mega-open > a { background: var(--paper-2); }
.nav-list .has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-3px) rotate(45deg); transition: transform .3s; }
.nav-list .is-mega-open > a::after { transform: translateY(0) rotate(-135deg); }
.nav-cta { padding: 12px 20px; }

.mega {
	position: absolute; left: 50%; top: 76px; width: min(900px, calc(100vw - 32px));
	transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
	background: var(--white); border-radius: var(--radius); padding: 14px;
	box-shadow: 0 30px 60px -20px rgba(19,22,28,.25);
	transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-card { display: block; padding: 18px 20px; border-radius: var(--radius-sm); transition: background .25s; }
.mega-card:hover { background: var(--paper); }
.mega-card strong { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 4px; }
.mega-card span { font-size: 14px; color: var(--muted); }

.menu-toggle { display: none; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font: 700 14px var(--font-body); cursor: pointer; }
.menu-toggle-bars { display: grid; gap: 5px; width: 18px; }
.menu-toggle-bars i { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-open .menu-toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero ----------------------------------------------------------------- */
.hero { padding-top: clamp(40px, 7vw, 100px); overflow: hidden; }
.hero-title { font-size: clamp(48px, 9vw, 140px); line-height: .95; letter-spacing: -.045em; max-width: 13ch; margin-bottom: .45em; }
.hero-title em { display: block; color: var(--accent); }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.hero-bottom .lead { margin: 0; }

.hero-strip { margin-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-strip-track { display: flex; gap: 18px; width: max-content; animation: strip 50s linear infinite; }
.hero-strip:hover .hero-strip-track { animation-play-state: paused; }
.strip-item { width: clamp(220px, 26vw, 380px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; flex: none; }
.strip-item:nth-child(odd) { aspect-ratio: 4 / 4.2; margin-top: 48px; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip-item:hover img { transform: scale(1.06); }
@keyframes strip { to { transform: translateX(calc(-50% - 9px)); } }

/* Intro ---------------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.intro-block { border-top: 1.5px solid var(--ink); padding-top: 28px; }
.intro-num { font-family: var(--font-head); font-weight: 700; color: var(--accent); display: block; margin-bottom: 18px; }
.intro-block h2 { font-size: clamp(28px, 3vw, 42px); }
.intro-block p { color: var(--ink-2); max-width: 46ch; }
.link-list { list-style: none; padding: 0; margin: 24px 0 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; transition: padding .3s var(--ease), color .3s; }
.link-list a:hover { padding-left: 10px; color: var(--accent); }
.link-list .icon { width: 18px; height: 18px; }

/* Stats ---------------------------------------------------------------- */
.stats { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 96px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-left: 1px solid rgba(255,255,255,.15); padding-left: 24px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -.04em; }
.stat-suffix { color: var(--accent); }
.stat p { margin: 12px 0 0; color: rgba(246,242,234,.7); font-size: 15px; max-width: 22ch; }

/* Mission -------------------------------------------------------------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.mission-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.mission-media img { width: 100%; height: 100%; object-fit: cover; }
.mission-media::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--accent); mix-blend-mode: multiply; }
.mission-copy .lead { margin-bottom: 32px; }

/* Section head --------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h-xl { margin: 0; max-width: 16ch; }
.section-intro { max-width: 40ch; color: var(--muted); margin: 0; }

/* Cases ---------------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(19,22,28,.35); }
.case-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-media .tag { position: absolute; left: 16px; top: 16px; }
.case-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.case-cat { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.case-body h3 { font-size: 26px; margin: 10px 0 10px; }
.case-body p { color: var(--muted); font-size: 15px; flex: 1; }
.case-body .text-link { align-self: flex-start; }
.case-grid > .case-card:nth-child(3n+2) { margin-top: 48px; }

/* Proof / collage ------------------------------------------------------ */
.proof { background: var(--paper-2); }
.proof-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.proof-nums { display: flex; gap: 48px; margin-top: 40px; }
.proof-nums strong { display: block; font-family: var(--font-head); font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -.05em; color: var(--accent); }
.proof-nums span { font-weight: 600; color: var(--ink-2); }
.collage { position: relative; aspect-ratio: 1 / 1; }
.collage figure { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(19,22,28,.4); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-1 { left: 0; top: 6%; width: 52%; height: 58%; }
.collage-2 { right: 0; top: 0; width: 42%; height: 44%; }
.collage-3 { right: 8%; bottom: 0; width: 50%; height: 48%; }

/* Solutions accordion (dark) -------------------------------------------- */
.dark { background: var(--forest); color: var(--paper); }
.dark .eyebrow, .dark .section-intro { color: rgba(246,242,234,.7); }
.accordion { border-top: 1px solid rgba(255,255,255,.18); }
.acc-item { border-bottom: 1px solid rgba(255,255,255,.18); }
.acc-head {
	width: 100%; display: grid; grid-template-columns: 60px 1fr 1fr 48px; align-items: center; gap: 20px;
	padding: 28px 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.acc-index { font-family: var(--font-head); color: var(--accent); font-weight: 700; }
.acc-title { font-family: var(--font-head); font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; transition: transform .4s var(--ease); }
.acc-head:hover .acc-title { transform: translateX(8px); }
.acc-sub { color: rgba(246,242,234,.7); }
.acc-plus { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.acc-item.is-open .acc-plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.acc-panel { overflow: hidden; transition: height .5s var(--ease); }
.acc-body { display: grid; grid-template-columns: 60px 1fr 1.3fr; gap: 20px; padding-bottom: 40px; align-items: start; }
.acc-body .acc-points { grid-column: 2; }
.acc-body .btn { grid-column: 2; justify-self: start; }
.acc-media { grid-column: 3; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc-media img { border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.acc-media img:nth-child(2) { margin-top: 36px; }
.acc-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.acc-points li { display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: 17px; }
.acc-points span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 13px; }
.acc-points.light span { background: var(--paper-2); }

/* Tech ----------------------------------------------------------------- */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tech-tile { background: var(--white); border-radius: var(--radius); padding: 28px 24px; transition: transform .4s var(--ease), background .3s, color .3s; }
.tech-tile:hover { transform: translateY(-6px); background: var(--ink); color: var(--paper); }
.tech-tile:hover p { color: rgba(246,242,234,.7); }
.tech-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--accent); margin-bottom: 40px; transition: background .3s; }
.tech-tile:hover .tech-icon { background: var(--accent); color: var(--accent-ink); }
.tech-tile h3 { font-size: 21px; margin-bottom: 6px; }
.tech-tile p { color: var(--muted); font-size: 14px; margin: 0; }

/* Testimonials --------------------------------------------------------- */
.testimonials { overflow: hidden; padding-top: 0; }
.slider-nav { display: flex; gap: 10px; }
.round-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:disabled { opacity: .35; pointer-events: none; }
.slider-track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.slider-track::-webkit-scrollbar { display: none; }
.quote-card {
	flex: none; width: min(520px, 86vw); margin: 0; scroll-snap-align: start;
	background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
	display: flex; flex-direction: column;
}
.quote-card:nth-child(even) { background: var(--accent); }
.quote-card:nth-child(even) .tag { background: rgba(255,255,255,.55); }
.quote-card:nth-child(even) .quote-text { color: var(--accent-ink); }
.quote-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.quote-top .icon { width: 34px; height: 34px; opacity: .5; }
.quote-headline { font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.quote-text { color: var(--ink-2); flex: 1; }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.quote-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-author strong { display: block; font-size: 16px; }

/* Team ----------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.member-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--paper-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform 1s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }
.member figcaption { padding-top: 16px; }
.member strong { display: block; font-family: var(--font-head); font-size: 22px; }
.member span { color: var(--muted); font-size: 15px; }
.team-grid > .member:nth-child(3n+2) { transform: translateY(48px); }
.team-grid > .member:nth-child(3n+2).reveal:not(.is-in) { transform: translateY(78px); }

/* Contact -------------------------------------------------------------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .eyebrow { color: rgba(246,242,234,.6); }
.contact .lead { color: rgba(246,242,234,.8); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-direct { display: grid; gap: 6px; margin-top: 40px; font-family: var(--font-head); font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.contact-direct a:hover { color: var(--accent); }
.contact-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.chips { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 700; margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s; user-select: none; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
	background: var(--white); font: inherit; color: inherit; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,106,61,.2); }
.hp { position: absolute; left: -9999px; }
.form-success { text-align: center; padding: 40px 0; }
.form-success .icon { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 16px; }
.form-success p { font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.form-error { background: #ffe3da; color: #8a2a0b; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(246,242,234,.75); padding-top: 24px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-tagline { font-family: var(--font-head); font-size: clamp(30px, 4vw, 54px); font-weight: 700; color: var(--paper); margin: 0; letter-spacing: -.03em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 56px; }
.footer-cols h4 { color: var(--paper); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-giant { font-family: var(--font-head); font-weight: 800; font-size: 22vw; line-height: .8; letter-spacing: -.06em; color: rgba(255,255,255,.04); text-align: center; white-space: nowrap; margin-bottom: -3vw; user-select: none; }

/* Inner pages ---------------------------------------------------------- */
.page-hero { padding-block: clamp(48px, 8vw, 120px) clamp(32px, 4vw, 64px); }
.page-hero .lead { margin-top: 12px; }
.back-link { margin-bottom: 32px; border: 0; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 48px; margin: 32px 0 0; }
.meta-row dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.meta-row dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
.wide-media img { border-radius: var(--radius); width: 100%; max-height: 720px; object-fit: cover; }
.two-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.4em; }
.prose p, .prose li { font-size: 18px; color: var(--ink-2); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose .btn { text-decoration: none; color: var(--accent-ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border-radius: var(--radius); padding: 24px; }
.post-card img { border-radius: var(--radius-sm); margin-bottom: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card h3 { font-size: 24px; margin-top: 8px; }
.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 10px 16px; border-radius: 999px; background: var(--white); font-weight: 700; }
.page-numbers.current { background: var(--ink); color: #fff; }

/* Reveal animation ----------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
	.tech-grid { grid-template-columns: repeat(3, 1fr); }
	.acc-head { grid-template-columns: 44px 1fr 48px; }
	.acc-sub { display: none; }
	.acc-body { grid-template-columns: 44px 1fr; }
	.acc-media { grid-column: 2; grid-row: auto; }
	.acc-body .btn { grid-row: auto; }
}
@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 84px 0 0 0; background: var(--paper);
		flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter) 40px;
		overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .3s, transform .3s var(--ease), visibility .3s;
	}
	.menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { font-family: var(--font-head); font-size: 34px; font-weight: 700; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
	.nav-list a:hover { background: none; color: var(--accent); }
	.nav-list .has-mega > a::after { display: none; }
	.mega { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; background: none; padding: 16px 0; }
	.mega-grid { grid-template-columns: 1fr 1fr; }
	.mega-card { padding: 12px 0; }
	.nav-cta { justify-content: center; margin-top: 16px; }

	.intro-grid, .mission-grid, .proof-grid, .contact-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.case-grid, .post-grid { grid-template-columns: 1fr 1fr; }
	.case-grid > .case-card:nth-child(3n+2) { margin-top: 0; }
	.team-grid { grid-template-columns: 1fr 1fr; }
	.team-grid > .member:nth-child(3n+2), .team-grid > .member:nth-child(3n+2).reveal:not(.is-in) { transform: none; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.mission-media { aspect-ratio: 4 / 3; }
	.mission-media::after { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.header-inner { height: 72px; }
	.main-nav { inset: 72px 0 0 0; }
	.mega-grid { grid-template-columns: 1fr; }
	.case-grid, .post-grid, .tech-grid, .two-media { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.strip-item:nth-child(odd) { margin-top: 24px; }
	.proof-nums { gap: 28px; }
	.acc-media img:nth-child(2) { margin-top: 20px; }
	.acc-head { gap: 12px; padding: 22px 0; }
	.acc-plus { width: 40px; height: 40px; }
	.footer-cols { grid-template-columns: 1fr; }
	.stat { padding-left: 16px; }
}
