/* ==========================================================================
   Bigbox Media — main stylesheet
   Brand: val #2c2d44 · aqua #66c4af · blush #ea6b92 · grey #ededed
   Font:  basic-sans (Adobe Fonts kit asn7rfm), system fallbacks
   ========================================================================== */

:root {
	--edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	--val: #2c2d44;
	--val-deep: #1c1d30;
	--val-soft: #3b3c5a;
	--aqua: #66c4af;
	--aqua-deep: #66c4af;      /* brand aqua, also used for text on light backgrounds */
	--blush: #ea6b92;
	--blush-deep: #e86a91;     /* brand blush, also used for text on light backgrounds */
	--grey: #ededed;
	--grey-2: #e2e2e4;
	--white: #fff;
	--muted: #5d5e73;          /* secondary text on light (AA) */
	--muted-dark: #b9bacb;     /* secondary text on val (AA) */

	--font: "basic-sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(20px, 4.5vw, 56px);
	--radius: 24px;
	--radius-s: 14px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font: 400 1.0625rem/1.6 var(--font);
	color: var(--val);
	background: var(--grey);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: normal; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blush); color: var(--val); }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--blush); color: var(--val);
	padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.015em; }
h4 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.2; }
h2 em, h1 em { color: var(--blush); }
.on-grey h2 em, .on-white h2 em, .on-grey h1 em, .on-white h1 em { color: var(--blush-deep); }
.on-aqua h2 em, .on-blush h2 em { color: var(--white); }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 38em; }
.lede p + p { margin-top: 1em; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-dark); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 1.25rem; font-size: 1.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Section themes ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); overflow: clip; }
.on-grey { background: var(--grey); }
.on-white { background: var(--white); }
.on-dark { background: var(--val); color: var(--white); }
.on-aqua { background: var(--aqua); color: var(--val); }
.on-blush { background: var(--blush); color: var(--val-deep); }

/* ---------- Icons / shapes ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; }
.shape { position: absolute; pointer-events: none; will-change: transform; z-index: 0; }
.shape svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .hide-sm { display: none; } }
.spin-slow { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .65em;
	padding: 1em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
	transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn .ico { width: 1.15em; height: 1.15em; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: translateX(4px) rotate(360deg); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blush); color: var(--val-deep); }
.btn-primary:hover { background: var(--white); box-shadow: 0 12px 30px -10px rgba(234, 107, 146, .6); }
.btn-dark { background: var(--val); color: var(--white); }
.btn-dark:hover { background: var(--blush); color: var(--val); }
.btn-aqua { background: var(--aqua); color: var(--val); }
.btn-aqua:hover { background: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--white); color: var(--val); border-color: var(--white); }
.on-grey .btn-ghost:hover, .on-white .btn-ghost:hover { background: var(--val); color: var(--white); border-color: var(--val); }
.btn-sm { padding: .8em 1.25em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.link-arrow:hover span { background-size: 100% 2px; }

.tag {
	display: inline-block; border: 2px solid var(--aqua); color: var(--aqua-deep); border-radius: 999px;
	padding: .2em .9em; font-size: .85rem; font-weight: 700; line-height: 1.5;
}
.on-dark .tag { color: var(--aqua); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--blush); z-index: 300; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--header-h);
	color: var(--white); transition: transform .4s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(44, 45, 68, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .3s; }
.site-header.hide { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: block; flex: none; position: relative; z-index: 2; }
.logo img { width: 112px; height: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-3deg) scale(1.05); }

.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-list a { text-decoration: none; font-weight: 700; font-size: .98rem; padding: 8px 2px; position: relative; }
.nav-list a:not(.btn)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--blush);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list .btn { margin-left: 6px; padding: .8em 1.3em; }
.nav-list .btn:hover { color: var(--val); }
.has-sub { position: relative; }
.sub-toggle { display: none; }
.sub {
	position: absolute; left: -18px; top: 100%; min-width: 250px; padding: 12px; margin-top: 8px;
	background: var(--val-deep); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 400; }
.sub a::after { display: none; }
.sub a:hover { background: var(--val-soft); color: var(--aqua); }

.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; z-index: 2; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 3px; background: var(--white); transition: transform .4s var(--ease), opacity .2s, background-color .3s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span { background: var(--blush); }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
	.menu-btn { display: block; }
	.site-nav {
		position: fixed; inset: 0; background: var(--val); padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .4s var(--ease);
	}
	.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open { overflow: hidden; }
	.menu-open .site-header { transform: none; }
	.menu-open .site-header::before { background: var(--val); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li > a:not(.btn) { display: block; font-size: clamp(1.9rem, 8vw, 2.6rem); letter-spacing: -.02em; padding: 12px 0; }
	.nav-list a:not(.btn)::after { display: none; }
	.nav-list .btn { margin: 20px 0 0; align-self: flex-start; font-size: 1.1rem; }
	.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
	.has-sub > a { flex: 1; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
	.sub-toggle .ico { transition: transform .3s var(--ease); }
	.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
	.sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 8px; margin: 0; display: none; }
	.sub.open { display: block; }
	.sub a { font-size: 1.25rem; padding: 8px 0; color: var(--muted-dark); }
}

/* ---------- Hero (home) ---------- */
.hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 80px)) 0 clamp(56px, 8vw, 110px); min-height: min(100vh, 980px); display: flex; align-items: center; position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 70px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.7rem, 12vw, 4.4rem); line-height: .92; letter-spacing: -.045em; }
@media (min-width: 700px) { .hero h1 { font-size: clamp(3.6rem, 10.5vw, 6.2rem); } }
@media (min-width: 901px) { .hero h1 { font-size: clamp(4rem, 6.3vw, 7rem); } }
.h1-line { display: block; }
.roller { display: grid; color: var(--blush); }
/* each word is only as wide as itself, so its underline matches the word */
.roller > span { grid-area: 1 / 1; justify-self: start; position: relative; padding-bottom: .12em; opacity: 0; transform: translateY(60%); animation: roll 12.5s var(--ease) infinite var(--delay, 0s); }
.roller > span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: .07em; border-radius: 99px; background: var(--blush); transform: scaleX(0); transform-origin: left; animation: bar 12.5s var(--ease) infinite var(--delay, 0s); }
.roller > span:nth-child(2) { --delay: 2.5s; }
.roller > span:nth-child(3) { --delay: 5s; }
.roller > span:nth-child(4) { --delay: 7.5s; }
.roller > span:nth-child(5) { --delay: 10s; }
@keyframes roll {
	0% { opacity: 0; transform: translateY(60%); }
	4%, 18% { opacity: 1; transform: none; }
	22%, 100% { opacity: 0; transform: translateY(-60%); }
}
@keyframes bar { 0%, 4% { transform: scaleX(0); } 11%, 18% { transform: scaleX(1); } 22%, 100% { transform: scaleX(0); } }
.h1-sub { display: block; margin-top: 1.1rem; font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em; color: var(--white); max-width: 22em; }
.hero .lede { margin-top: 1.5rem; color: var(--muted-dark); }
.hero .btn-row { margin-top: 2rem; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 2.2rem; font-size: .95rem; color: var(--muted-dark); }
.hero-proof b { color: var(--aqua); }
.hero-proof .ico { color: var(--blush); width: 1.5em; height: 1.5em; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.phone {
	position: relative; width: min(78%, 330px); aspect-ratio: 9 / 18.6; padding: 10px; border-radius: 46px; background: var(--val-deep);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 50px 90px -25px rgba(0, 0, 0, .7); transform: rotate(5deg); transition: transform .6s var(--ease);
	transform-style: preserve-3d;
}
.phone::before { content: ""; position: absolute; z-index: 4; top: 18px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: var(--val-deep); border-radius: 14px; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--white); }
.phone-screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.1), transparent 30%); }
.feed { display: flex; flex-direction: column; gap: 10px; padding: 52px 10px 10px; animation: feed 46s linear infinite; }
.feed img, .feed video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--grey); }
.phone:hover .feed { animation-play-state: paused; }
@keyframes feed { to { transform: translateY(-50%); } }
.heart-pop { position: absolute; z-index: 5; left: 50%; top: 52%; width: 84px; height: 84px; margin: -42px 0 0 -42px; color: var(--blush); opacity: 0; transform: scale(.4); animation: heart 7s var(--ease) infinite 2s; filter: drop-shadow(0 8px 14px rgba(0,0,0,.3)); }
@keyframes heart { 0%, 8%, 100% { opacity: 0; transform: scale(.4); } 2% { opacity: 1; transform: scale(1.2); } 5% { opacity: 1; transform: scale(1); } 7% { opacity: 0; transform: scale(1.4) translateY(-20px); } }
.badge {
	position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; background: var(--white); color: var(--val);
	border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); font-size: .8rem; line-height: 1.2; animation: floaty 6s ease-in-out infinite;
}
.badge b { display: block; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.badge i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--val); color: var(--aqua); font-style: normal; }
.badge-a { left: -2%; top: 14%; }
.badge-b { right: -3%; bottom: 14%; animation-delay: -3s; }
.badge-b i { color: var(--blush); }

@media (max-width: 900px) {
	.hero { min-height: 0; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { min-height: 0; margin-top: 12px; }
	.phone { width: min(64%, 270px); }
	.badge-a { left: 0; top: 4%; }
	.badge-b { right: 0; bottom: 6%; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--aqua); color: var(--val); overflow: clip; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -5vw; box-shadow: 0 18px 40px -18px rgba(28, 29, 48, .55); pointer-events: auto; }
.ticker-track { display: flex; width: max-content; animation: tick 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; }
.ticker li { display: flex; align-items: center; font-weight: 700; font-size: clamp(1.3rem, 2.8vw, 2.1rem); letter-spacing: -.02em; white-space: nowrap; }
.ticker li::after { content: ""; width: .8em; height: .8em; margin: 0 1.1em; background: url("../img/ui/icon-x-val.svg") center / contain no-repeat; }
@keyframes tick { to { transform: translateX(-50%); } }
/* floats over the join between the hero and the next section, so nothing clips the tilt */
.ticker-wrap { position: relative; z-index: 5; margin-block: -36px; pointer-events: none; }
main { overflow-x: clip; }

/* ---------- Work rail ---------- */
.work { padding-top: clamp(112px, 13vw, 180px); padding-bottom: clamp(56px, 8vw, 100px); }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.rail-head .section-head { margin: 0; }
.rail-ctrl { display: flex; gap: 10px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.round-btn:hover { background: var(--blush); border-color: var(--blush); color: var(--val); transform: scale(1.06); }
.round-btn .ico { width: 24px; height: 24px; }
.round-btn.prev .ico { transform: scaleX(-1); }
.rail {
	display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
	padding: 10px var(--edge) 30px; scroll-padding-inline: var(--edge); cursor: grab; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail.dragging * { pointer-events: none; }
.rail > * { flex: 0 0 clamp(220px, 20vw, 280px); scroll-snap-align: start; align-self: center; }
.rail-hint { margin-top: 8px; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.post-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--val-soft); text-decoration: none; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; user-select: none; -webkit-user-drag: none; }
.post-card img, .post-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); -webkit-user-drag: none; }
.post-card.post-vid { aspect-ratio: 9 / 16; }   /* pictures are 4:5, videos 9:16 */
.post-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .55); }
.post-card:hover img, .post-card:hover video { transform: scale(1.06); }
.post-card .cap {
	position: absolute; inset: auto 0 0 0; z-index: 2; padding: 56px 20px 18px; color: var(--white);
	background: linear-gradient(180deg, transparent, rgba(28, 29, 48, .88)); display: flex; align-items: end; justify-content: space-between; gap: 10px;
	transform: translateY(8px); opacity: 0; transition: all .4s var(--ease);
}
.post-card:hover .cap, .post-card:focus-visible .cap { opacity: 1; transform: none; }
@media (hover: none) { .post-card .cap { opacity: 1; transform: none; } }
.cap b { font-size: 1.05rem; line-height: 1.15; }
.cap small { display: block; font-size: .8rem; opacity: .8; font-weight: 400; }
.cap .ico { color: var(--aqua); }
.stat-card { aspect-ratio: 4 / 5; border-radius: 22px; background: var(--val); color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 28px; position: relative; overflow: hidden; }
.rail .stat-card { background: var(--val-soft); }
.rail .stat-card .big { font-size: clamp(3rem, 5vw, 4.4rem); }
.stat-card.is-blush { background: var(--blush); color: var(--val); }
.stat-card.is-aqua { background: var(--aqua); color: var(--val); }
.stat-card .big { font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--blush); }
.stat-card.is-blush .big, .stat-card.is-aqua .big { color: var(--val); }
.stat-card .lbl { font-size: 1.3rem; font-weight: 700; margin-top: 12px; line-height: 1.15; }
.stat-card small { margin-top: 8px; opacity: .75; font-size: .9rem; }
.stat-card .shape { right: -30px; bottom: -30px; width: 160px; height: 160px; opacity: .12; color: currentColor; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--blush); color: var(--val); display: grid; place-items: center; font-weight: 700; font-size: .95rem; pointer-events: none; opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.3); transition: opacity .25s, scale .25s var(--ease); }
.cursor.on { opacity: 1; }
.cursor.big { scale: 1.05; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Services stack ---------- */
.stack { display: grid; gap: 0; padding-bottom: 8vh; }
.stack-card {
	position: sticky; top: calc(var(--header-h) + 18px + var(--i) * 18px); min-height: min(460px, 66vh); margin-bottom: 4vh;
	border-radius: 32px; padding: clamp(26px, 4vw, 54px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 60px); align-items: center;
	overflow: hidden; box-shadow: 0 -14px 40px -22px rgba(28, 29, 48, .5);
}
a.stack-card { text-decoration: none; color: inherit; }
.stack-card.c1 { background: var(--grey); }
.stack-card.c2 { background: var(--aqua); }
.stack-card.c3 { background: var(--blush); }
.stack-card.c4 { background: var(--val); color: var(--white); }
.stack-card .num { font-weight: 700; font-size: .95rem; letter-spacing: .1em; display: block; margin-bottom: 1.2rem; }
.stack-card h3 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.04em; line-height: .95; margin-bottom: .35em; }
.stack-card .kick { font-size: 1.25rem; font-weight: 700; display: block; margin-bottom: 1rem; }
.c1 .kick { color: var(--blush-deep); }
.c4 .kick { color: var(--aqua); }
.stack-card p { max-width: 30em; }
.stack-card .link-arrow { margin-top: 1.5rem; }
.stack-card ul { display: grid; gap: 10px; }
.stack-card li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .55); line-height: 1.3; }
.c1 li { background: var(--grey); }
.c4 li { background: var(--val-soft); }
.stack-card li .ico { margin-top: .1em; width: 1.2em; height: 1.2em; }
.c4 li .ico { color: var(--aqua); }
.stack-card .shape { width: 320px; height: 320px; right: -80px; top: -90px; opacity: .1; }
@media (max-width: 860px) {
	.stack-card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; margin-bottom: 18px; }
}

/* ---------- Simple split ---------- */
.simple { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.simple h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.simple .cols { display: grid; gap: 1.25rem; font-size: 1.15rem; }
.simple .cols .btn-row { margin-top: .75rem; }
@media (max-width: 820px) { .simple { grid-template-columns: 1fr; } }

/* ---------- Headache picker ---------- */
.picker { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 60px); align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab {
	text-align: left; font-weight: 700; font-size: 1.15rem; line-height: 1.25; padding: 18px 22px; border-radius: 18px; background: var(--val-soft); color: var(--white);
	display: flex; justify-content: space-between; align-items: center; gap: 14px; transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.tab:hover { transform: translateX(6px); }
.tab[aria-selected="true"] { background: var(--blush); color: var(--val); transform: translateX(10px); }
.tab .ico { opacity: 0; transition: opacity .2s; }
.tab[aria-selected="true"] .ico { opacity: 1; }
.tab-panel { background: var(--white); color: var(--val); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; min-height: 320px; }
.tab-panel[hidden] { display: none; }
.tab-panel.in { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.tab-panel .diag { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.03em; line-height: 1.05; font-weight: 700; color: var(--blush-deep); }
.tab-panel p { margin-top: 1rem; font-size: 1.1rem; }
.tab-panel .btn-row { margin-top: 1.6rem; }
.tab-panel .shape { right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: .08; color: var(--val); }
@media (max-width: 860px) {
	.picker { grid-template-columns: 1fr; }
	.tab:hover, .tab[aria-selected="true"] { transform: none; }
}

/* ---------- Route map ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.route { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; }
.route svg.line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route .road { fill: none; stroke: var(--val); stroke-opacity: .16; stroke-width: 14; stroke-linecap: round; }
.route .dash { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 14; }
.route .trail { fill: none; stroke: var(--blush); stroke-width: 8; stroke-linecap: round; }
.route .car { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; color: var(--val); transition: transform .1s linear; z-index: 3; }
.route .car svg { width: 100%; height: 100%; background: var(--white); border-radius: 50%; padding: 8px; box-shadow: 0 8px 20px -6px rgba(28, 29, 48, .5); }
.pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pin i { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--val); border: 5px solid var(--white); box-shadow: 0 0 0 3px var(--val); transition: transform .4s var(--ease), background-color .3s; }
.pin span { background: var(--val); color: var(--white); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background-color .3s, color .3s; }
.pin:hover i, .pin.active i { transform: scale(1.5); background: var(--blush); }
.pin:hover span, .pin.active span { background: var(--blush); color: var(--val); }
.route-note { position: absolute; left: 0; right: 0; top: 100%; margin-top: 12px; text-align: center; font-size: .85rem; color: var(--muted); }
.area-list { display: grid; gap: 12px; }
.area-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 20px 24px; background: var(--white); border-radius: 20px; text-decoration: none; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.area-card:hover, .area-card.active { transform: translateX(8px); background: var(--val); color: var(--white); }
.area-card h3 { font-size: 1.5rem; margin-bottom: .25em; }
.area-card p { font-size: .98rem; color: var(--muted); }
.area-card:hover p, .area-card.active p { color: var(--muted-dark); }
.area-card .ico { width: 28px; height: 28px; color: var(--blush-deep); transition: transform .4s var(--ease); }
.area-card:hover .ico { transform: translateX(4px) rotate(360deg); color: var(--blush); }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .route { max-width: 460px; margin-bottom: 44px; } }

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.reason { background: var(--grey); border-radius: var(--radius); padding: 28px 30px 32px; position: relative; overflow: hidden; transition: transform .5s var(--ease), background-color .4s, color .4s; }
.reason:hover { transform: translateY(-6px); background: var(--val); color: var(--white); }
.reason img { width: 64px; height: 64px; margin: 0 0 18px -8px; transition: transform .8s var(--ease); }
.reason:hover img { transform: rotate(180deg) scale(1.1); }
.reason h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.reason p { color: var(--muted); transition: color .4s; }
.reason:hover p { color: var(--muted-dark); }
@media (max-width: 980px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
.quotes-track::-webkit-scrollbar { display: none; }
.quote-card { flex: 0 0 min(88vw, 760px); scroll-snap-align: start; background: var(--val-soft); border-radius: 30px; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.quote-card blockquote { font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 6rem; line-height: .6; color: var(--blush); margin-bottom: .1em; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-card figcaption img { width: 52px; height: 52px; border-radius: 50%; background: var(--aqua); object-fit: contain; padding: 6px; }
.quote-card figcaption b { display: block; }
.quote-card figcaption span { color: var(--muted-dark); font-size: .92rem; }
.quote-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 99px; background: var(--val-soft); transition: width .4s var(--ease), background-color .3s; }
.dots button[aria-current="true"] { width: 36px; background: var(--blush); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.person { text-align: center; }
.person .pic { position: relative; width: min(100%, 250px); aspect-ratio: 1; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; background: var(--aqua); transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.person .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.person .pic .alt { opacity: 0; }
.person:hover .pic, .person:focus-within .pic { transform: rotate(-4deg) scale(1.05); border-radius: 38% 62% 55% 45% / 50% 40% 60% 50%; }
.person:hover .pic .alt, .person:focus-within .pic .alt { opacity: 1; }
.person h3 { font-size: 1.7rem; }
.person h3 em { color: var(--aqua-deep); }
.person span { color: var(--muted); }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .team .person:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); } }

/* ---------- Journal ---------- */
.journal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.j-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s; }
.j-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(28, 29, 48, .45); }
.j-card .thumb { overflow: hidden; aspect-ratio: 1200 / 446; background: var(--grey); }
.j-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.j-card:hover .thumb img { transform: scale(1.06); }
.j-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.j-card h3 { font-size: 1.55rem; }
.j-card p { color: var(--muted); font-size: 1rem; }
.j-card .link-arrow { margin-top: auto; color: var(--blush-deep); }
.meta { font-size: .85rem; font-weight: 700; color: var(--aqua-deep); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .journal { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--white); border-radius: 20px; overflow: hidden; transition: background-color .3s; }
.on-white .faq details { background: var(--grey); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--val); color: var(--white); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.faq summary .plus .ico { width: 18px; height: 18px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blush); color: var(--val); }
.faq summary:hover .plus { background: var(--blush); color: var(--val); }
.faq .ans { padding: 0 26px 24px; color: var(--muted); max-width: 46em; }
.faq details[open] .ans { animation: pop .4s var(--ease); }
.faq-cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-cols .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .faq-cols { grid-template-columns: 1fr; } .faq-cols .section-head { position: static; } }

/* ---------- CTA + Footer ---------- */
.cta { text-align: left; }
.cta h2 { font-size: clamp(2.8rem, 8.4vw, 8rem); line-height: .92; letter-spacing: -.045em; max-width: 12em; }
.cta h2 .heart { display: inline-block; color: var(--blush); animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.cta p { margin-top: 1.5rem; font-size: clamp(1.1rem, 2vw, 1.5rem); max-width: 30em; color: var(--muted-dark); }
.cta .btn-row { margin-top: 2.2rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.pill { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.3em; border-radius: 999px; border: 2px solid var(--val-soft); text-decoration: none; font-weight: 700; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.pill:hover { background: var(--aqua); border-color: var(--aqua); color: var(--val); transform: translateY(-3px); }

.site-footer { background: var(--val-deep); color: var(--white); padding-top: clamp(56px, 7vw, 90px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 56px; }
.foot-grid h2 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); margin-bottom: 1.1rem; line-height: 1.2; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--muted-dark); transition: color .2s; }
.foot-grid a:hover { color: var(--blush); }
.foot-brand img { width: 150px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted-dark); max-width: 22em; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--val-soft); display: grid; place-items: center; color: var(--white); transition: all .3s var(--ease); }
.foot-social a:hover { background: var(--blush); border-color: var(--blush); color: var(--val); transform: translateY(-3px) rotate(8deg); }
.foot-bottom { border-top: 1px solid var(--val-soft); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .9rem; color: var(--muted-dark); }
.foot-bottom a { color: inherit; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 84px)) 0 clamp(48px, 7vw, 96px); position: relative; overflow: clip; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 6.6rem); line-height: .94; letter-spacing: -.045em; max-width: 13em; }
.page-hero .lede { margin-top: 1.6rem; color: var(--muted-dark); }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .9rem; margin-bottom: 1.6rem; color: var(--muted-dark); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blush); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs ol { display: contents; }

.quick-answer { position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px) clamp(22px, 3.5vw, 40px); font-size: 1.2rem; line-height: 1.5; box-shadow: 0 24px 50px -34px rgba(28, 29, 48, .5); }
.quick-answer b.label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: .6rem; }
.on-dark .quick-answer { background: var(--val-soft); }
.on-dark .quick-answer b.label { color: var(--aqua); }

/* ---------- Case study ---------- */
.case-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.case-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); }
.case-hero .client { font-size: 1.3rem; font-weight: 700; color: var(--aqua); margin: 1.4rem 0 .6rem; display: block; }
.case-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.case-hero .case-img { position: relative; z-index: 1; }
.case-hero .case-img img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); transition: transform .8s var(--ease); }
@media (max-width: 900px) { .case-hero .hero-grid { grid-template-columns: 1fr; } .case-hero .case-img { max-width: 520px; } }
.case-hero .case-img img { border-radius: 10px; }
.case-hero .client-logo img { display: block; height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.case-hero .btn-row { margin-top: 1.6rem; }
/* award badge under the intro */
.case-award { display: flex; align-items: center; gap: 18px; margin-top: 2rem; padding: 18px 22px; border: 2px solid rgba(255, 255, 255, .18); border-radius: 10px; max-width: 34rem; }
.case-award img { width: 150px; height: auto; flex: none; }
.case-award span { display: block; font-size: .95rem; color: var(--muted-dark); line-height: 1.3; }
.case-award b { display: block; font-size: 1.25rem; color: var(--white); line-height: 1.15; margin-bottom: 2px; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.result { border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); background: var(--val); color: var(--white); position: relative; overflow: hidden; }
.result:nth-child(2) { background: var(--blush); color: var(--val); }
.result .big { font-size: clamp(4.5rem, 12vw, 9rem); font-weight: 700; letter-spacing: -.055em; line-height: .88; color: var(--blush); }
.result:nth-child(2) .big { color: var(--val); }
.result b { display: block; font-size: 1.5rem; margin-top: 14px; line-height: 1.15; }
.result small { display: block; margin-top: 6px; opacity: .8; font-size: .95rem; }
.result .shape { right: -40px; top: -40px; width: 200px; height: 200px; opacity: .1; }
@media (max-width: 700px) { .results { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 90px); }
.story + .story { margin-top: clamp(48px, 7vw, 90px); }
.story h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.story p { font-size: 1.15rem; max-width: 36em; }
.story p + p { margin-top: 1.2em; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; gap: 16px; } }
/* the two case-study stories sit side by side, heading above text */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 90px); }
.stories .story { display: block; margin-top: 0; }
.stories .story h2 { margin-bottom: 1.2rem; }
@media (max-width: 820px) { .stories { grid-template-columns: 1fr; gap: 48px; } }
/* pictures and videos keep their own shapes, so the tiles pack into columns rather than rows */
.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 700px) { .gallery { columns: 230px; column-gap: 18px; } }
.gallery > * { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: 10px; overflow: hidden; background: var(--val-soft); }
@media (min-width: 700px) { .gallery > * { margin-bottom: 18px; } }
.gallery img, .gallery video { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .8s var(--ease); }
/* wide screenshots / slides, shown large two across */
.slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.slides > * { border-radius: 10px; overflow: hidden; background: var(--val-soft); }
.slides img { display: block; width: 100%; height: auto; }
.slides.slides-lead > :first-child { grid-column: 1 / -1; }
@media (max-width: 700px) { .slides { grid-template-columns: 1fr; gap: 12px; } }
.gallery > *:hover img, .gallery > *:hover video { transform: scale(1.05); }
.pull { background: var(--aqua); color: var(--val); border-radius: 32px; padding: clamp(30px, 5vw, 72px); position: relative; overflow: hidden; }
.pull blockquote { font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 700; max-width: 26em; position: relative; z-index: 1; }
.pull figcaption { margin-top: 1.6rem; font-weight: 700; position: relative; z-index: 1; }
.pull figcaption span { display: block; font-weight: 400; }
.pull .shape { right: -60px; bottom: -80px; width: 320px; height: 320px; opacity: .22; color: var(--white); }
.next-case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.c-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s; }
.c-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(28, 29, 48, .45); }
.c-card .img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--val); }
.c-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.c-card:hover .img img { transform: scale(1.08); }
.c-card .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.c-card h3 { font-size: 1.6rem; }
.c-card p { color: var(--muted); font-size: 1rem; }
.c-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 980px) { .next-case { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .next-case { grid-template-columns: 1fr; } }
.cases-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .cases-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cases-all { grid-template-columns: 1fr; } }

/* ---------- Service / region content ---------- */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check { background: var(--white); border-radius: 20px; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; transition: transform .4s var(--ease); }
.check:hover { transform: translateY(-4px); }
.check .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--aqua); color: var(--val); grid-row: span 2; }
.check h3 { font-size: 1.25rem; }
.check p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--val-soft); border-radius: 22px; padding: 26px 24px 30px; counter-increment: s; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-size: 3.4rem; font-weight: 700; letter-spacing: -.05em; color: var(--blush); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.step p { color: var(--muted-dark); font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.prose p { margin-bottom: 1.2em; font-size: 1.15rem; max-width: 40em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.1em; border-radius: 999px; background: var(--white); font-weight: 700; text-decoration: none; font-size: .98rem; transition: background-color .25s, transform .3s var(--ease); }
a.chip:hover { background: var(--blush); transform: translateY(-3px); }
.on-dark .chip { background: var(--val-soft); }
.on-dark a.chip:hover { background: var(--aqua); color: var(--val); }
.on-grey .chip { background: var(--white); }
.on-white .chip { background: var(--grey); }
.joke { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; max-width: 22em; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.rel-card { background: var(--white); border-radius: 20px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.rel-card:hover { transform: translateY(-5px); background: var(--val); color: var(--white); }
.rel-card b { font-size: 1.3rem; letter-spacing: -.01em; }
.rel-card span { color: var(--muted); font-size: .95rem; }
.rel-card:hover span { color: var(--muted-dark); }

/* ---------- Article ---------- */
.post-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); }
.post-hero-img img { width: 100%; }
.article { font-size: 1.2rem; line-height: 1.7; }
.article p { margin-bottom: 1.3em; }
.article h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2.2em 0 .7em; color: var(--val); }
.article ul { margin: 0 0 1.5em; display: grid; gap: 10px; }
.article li { padding: 14px 18px 14px 50px; background: var(--white); border-radius: 14px; position: relative; font-size: 1.1rem; line-height: 1.5; }
.article li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; background: url("../img/ui/icon-x-blush.svg") center / contain no-repeat; }
.article a { color: var(--blush-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article .callout { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; padding: clamp(24px, 4vw, 40px); background: var(--white); border-radius: var(--radius); margin: 1.6em 0; border-left: 8px solid var(--blush); }
.article .callout em { color: var(--blush-deep); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; color: var(--muted-dark); margin-top: 1.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.way { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; background: var(--white); border-radius: 22px; padding: 22px 26px; text-decoration: none; margin-bottom: 14px; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.way:hover { transform: translateX(8px); background: var(--val); color: var(--white); }
.way .ico { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--aqua); color: var(--val); grid-row: span 2; }
.way b { font-size: 1.35rem; line-height: 1.15; }
.way span { color: var(--muted); font-size: .98rem; }
.way:hover span { color: var(--muted-dark); }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.form label, .form legend { font-weight: 700; display: block; margin-bottom: 6px; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--grey-2); background: var(--grey); color: var(--val); transition: border-color .2s, background-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--aqua); background: var(--white); }
.form textarea { min-height: 130px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { margin: 0; font-weight: 400; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-block; padding: .55em 1.1em; border-radius: 999px; background: var(--grey); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; border: 2px solid transparent; }
.opts input:checked + span { background: var(--val); color: var(--white); }
.opts input:focus-visible + span { outline: 3px solid var(--blush); outline-offset: 2px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form small { color: var(--muted); }
.form small a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 700; }
.form-status.bad { color: var(--blush-deep); }
.form-status.good { color: var(--aqua-deep); }
.form button:disabled { opacity: .6; cursor: wait; }

/* ---------- Cookie bar ---------- */
.cookie { position: fixed; z-index: 350; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--val); color: var(--white); border-radius: 22px; padding: 22px 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: translateY(150%); transition: transform .6s var(--ease); }
.cookie.show { transform: none; }
.cookie p { font-size: .98rem; margin-bottom: 14px; }
.cookie a { color: var(--aqua); }
.cookie .btn-row { gap: 10px; }
.cookie .btn { padding: .75em 1.2em; font-size: .95rem; }
@media (min-width: 640px) { .cookie { left: 24px; right: auto; bottom: 24px; } }

/* ---------- Legal / misc ---------- */
.legal h2 { font-size: 1.7rem; margin: 2em 0 .6em; letter-spacing: -.02em; }
.legal p, .legal li { margin-bottom: 1em; max-width: 44em; }
.legal ul { list-style: disc; padding-left: 1.4em; }
.legal a { color: var(--blush-deep); }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf h1 { font-size: clamp(6rem, 24vw, 16rem); letter-spacing: -.06em; color: var(--blush); line-height: .85; }

/* cards sitting on white sections go grey so they still read as cards */
.on-white .j-card, .on-white .c-card, .on-white .check, .on-white .rel-card, .on-white .area-card { background: var(--grey); }
.on-white .rel-card:hover, .on-white .area-card:hover { background: var(--val); }
.on-white .quick-answer { background: var(--grey); box-shadow: none; }
.on-white .person .pic { background: var(--aqua); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-left.in { opacity: 1; transform: none; }

/* ---------- Easter egg ---------- */
.confetti { position: fixed; z-index: 500; width: 36px; height: 36px; pointer-events: none; will-change: transform, opacity; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js .reveal, .js .reveal-left { opacity: 1; transform: none; }
	.roller > span:first-child { opacity: 1; transform: none; }
	.roller > span:first-child::after { transform: none; }
	.feed, .ticker-track { animation: none !important; }
	.ticker { transform: none; margin: 0; }
}

/* award panel (home page work section, About page) */
.award-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 64px); padding: clamp(28px, 4vw, 56px); background: var(--val); color: var(--white); border-radius: 32px; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s; }
.award-panel:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(28, 29, 48, .55); }
.award-panel img { display: block; width: clamp(150px, 18vw, 230px); height: auto; }
.award-panel h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -.03em; }
.award-panel h3 em { font-style: normal; color: var(--blush); }
.award-panel p { margin-top: .8rem; max-width: 40em; color: var(--muted-dark); }
.award-panel .link-arrow { margin-top: 1.2rem; color: var(--aqua); }
@media (max-width: 700px) { .award-panel { grid-template-columns: 1fr; border-radius: 22px; } }

/* step-by-step write-up on case studies: a picture or big-number tile beside each step, alternating sides */
.vstory { list-style: none; display: grid; gap: clamp(36px, 6vw, 84px); }
.vs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.vs.vs-flip .vs-visual { order: 2; }
.vs.vs-solo { grid-template-columns: minmax(0, 46rem); }
.vs-visual { border-radius: 10px; overflow: hidden; background: var(--val-soft); }
.vs-visual img { display: block; width: 100%; height: auto; }
.vs-tile { background: var(--val); color: var(--white); padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px); min-height: 260px; display: flex; flex-direction: column; justify-content: center; }
.vs-tile .big { font-size: clamp(3.6rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--blush); }
.vs-tile .lbl { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.vs-num { display: block; margin-bottom: .6rem; font-size: 1rem; font-weight: 700; color: var(--blush); }
.vs h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 1rem; }
.vs p { font-size: 1.15rem; line-height: 1.6; }
.vs p + p { margin-top: 1em; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; gap: 18px; } .vs.vs-flip .vs-visual { order: 0; } }

/* YouTube video: a still with a play button; the player only loads (from youtube-nocookie.com) once it's pressed */
.video-wrap { max-width: 60rem; margin-inline: auto; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--val); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: var(--blush); color: var(--val); cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.yt-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.yt-play svg { width: 44%; height: 44%; margin-left: 6%; }
.video-wrap .muted { margin-top: .9rem; }

/* award banner straight under the hero of a case study */
.section.award-band { padding-block: clamp(28px, 4vw, 52px); }
.award-banner { margin-top: 0; padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px); gap: clamp(20px, 4vw, 48px); }
.award-banner:hover { transform: none; box-shadow: none; }
.award-banner img { width: clamp(130px, 15vw, 190px); }
.award-banner h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.award-banner p { margin-top: .3rem; font-size: 1.1rem; }
