/* ==========================================================================
   DigiMonde, Sticker Pop design system
   ========================================================================== */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat-normal-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--bg: #FFF8EC;
	--surface: #FFFFFF;
	--ink: #0B1A33;
	--ink-2: #14274A;
	--muted: #4A5670;
	--line: #E6DCC8;
	--orange: #F08020;
	--blue: #1070B8;
	--purple: #604898;
	--magenta: #C82890;
	--crimson: #E01840;
	--amber: #F8B010;
	--teal: #08B0A8;
	--green: #88C038;
	--sky: #D6E8FA;
	--lilac: #E7DEF6;
	--peach: #FFE0C4;
	--mint: #D3F0EC;

	--font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-script: "Caveat", "Bradley Hand", cursive;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
	--shadow: 4px 4px 0 var(--ink);
	--shadow-lg: 8px 8px 0 var(--ink);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 84px;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background-color: var(--bg);
	background-image:
		linear-gradient(rgba(11, 26, 51, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(11, 26, 51, .035) 1px, transparent 1px);
	background-size: 24px 24px;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: clamp(16px, 1.05vw, 18px);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd) { margin: 0; }
:where(ul, ol)[class] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

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

.display {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: .98;
	letter-spacing: .005em;
}

.script { font-family: var(--font-script); font-weight: 600; font-size: 1.6em; line-height: 1.1; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* Colour cards ------------------------------------------------------------ */

[class*="card--"] { --c: var(--blue); background-color: var(--c); color: #fff; }
.card--orange  { --c: var(--orange); }
.card--blue    { --c: var(--blue); }
.card--purple  { --c: var(--purple); }
.card--magenta { --c: var(--magenta); }
.card--crimson { --c: var(--crimson); }
.card--amber   { --c: var(--amber); }
.card--teal    { --c: var(--teal); }
.card--green   { --c: var(--green); }
.card--sky     { --c: var(--sky); }
.card--lilac   { --c: var(--lilac); }
.card--peach   { --c: var(--peach); }
.card--mint    { --c: var(--mint); }
[class*="card--"].is-light { color: var(--ink); }

/* Buttons and links --------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .8em 1.3em .75em;
	background: var(--orange); color: var(--ink);
	border: 2px solid var(--ink); border-radius: 0;
	box-shadow: var(--shadow);
	font-family: var(--font-display); font-size: 18px; letter-spacing: .03em; text-transform: uppercase; line-height: 1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--amber); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-arrow { transition: transform .18s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-size: 18px;
	text-decoration: none; padding-bottom: 4px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	transition: background-size .25s var(--ease);
}
.link-arrow:hover { background-size: 40% 2px; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow--orange { color: #C25A00; }
.link-arrow--light { color: inherit; }

/* Stickers, shapes, badge --------------------------------------------------- */

.sticker {
	--rot: -6deg;
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	padding: .75em 1.5em .7em;
	transform: rotate(var(--rot));
	font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
	color: #fff; white-space: nowrap; vertical-align: middle;
	transition: transform .3s var(--ease);
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sticker polygon { fill: var(--c, var(--blue)); }
.sticker span { position: relative; }
.sticker--blue { --c: var(--blue); }
.sticker--orange { --c: var(--orange); color: var(--ink); }
.sticker--teal { --c: var(--teal); color: var(--ink); }
.sticker--magenta { --c: var(--magenta); }
.sticker--purple { --c: var(--purple); }
.sticker--amber { --c: var(--amber); color: var(--ink); }
.sticker:hover { transform: rotate(calc(var(--rot) * -1)) scale(1.06); }

.sticker--heading { position: absolute; top: -.2em; left: 1.6em; font-size: clamp(12px, 1.2vw, 16px); z-index: 2; }

.shape { display: block; }
.shape--burst polygon, .shape--star polygon { fill: var(--c, var(--orange)); }
.shape--flower ellipse { fill: var(--c, var(--magenta)); }
.shape--flower .shape-core { fill: var(--ink); }
.shape--pixel .px-a { fill: var(--orange); }
.shape--pixel .px-b { fill: var(--blue); }
.shape--pixel .px-c { fill: var(--teal); }
.shape--squiggle path { stroke: var(--c, var(--blue)); }
.shape--arrow path { stroke: currentColor; }

.badge { position: relative; display: inline-block; width: 1em; aspect-ratio: 1; flex: none; }
.badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge .badge-bg { fill: var(--peach); stroke: var(--ink); stroke-width: 2; }
.badge text { font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.badge img { position: absolute; left: 50%; top: 50%; width: 36%; transform: translate(-50%, -50%); }

@keyframes spin { to { transform: rotate(360deg); } }

.checker {
	height: 28px;
	background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 28px 28px;
}

.note-arrow { width: 72px; display: inline-block; vertical-align: middle; }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 248, 236, .92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 0 var(--ink); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: auto; height: 58px; }

.site-nav { display: flex; align-items: stretch; }
.site-nav .menu { display: flex; border: 2px solid var(--ink); border-right: 0; background: var(--bg); }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: flex; align-items: center; height: 100%;
	padding: 12px 16px 11px;
	font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current_page_parent > a { background: var(--ink); color: var(--bg); }
.site-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: -2px; min-width: 260px; padding: 8px 0;
	background: var(--bg); border: 2px solid var(--ink); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 10px 18px; font-size: 15px; }
.site-nav .sub-menu a:hover { background: var(--peach); }
.btn--nav { box-shadow: none; font-size: 16px; padding: 12px 18px 11px; }
.btn--nav:hover { box-shadow: none; transform: none; }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.nav-toggle {
		display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
		position: relative; z-index: 2;
		background: var(--orange); border: 2px solid var(--ink); box-shadow: var(--shadow); cursor: pointer;
	}
	/* backdrop-filter would make the header the containing block of the fixed menu. */
	.site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -7px; }
	.nav-toggle__bars::after { top: 7px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--ink); color: var(--bg);
		overflow-y: auto;
		clip-path: circle(0 at calc(100% - 50px) 42px);
		transition: clip-path .5s var(--ease);
	}
	.site-nav.is-open { clip-path: circle(150% at calc(100% - 50px) 42px); }
	.site-nav .menu { display: block; border: 0; background: none; }
	.site-nav .menu a { display: block; height: auto; font-size: clamp(36px, 9vw, 56px); padding: 6px 0; }
	.site-nav .menu > li > a:hover, .site-nav .menu > .current-menu-item > a { background: none; color: var(--orange); }
	.site-nav .sub-menu { display: none; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.nav-open { overflow: hidden; }
}

@media (max-width: 600px) {
	:root { --header-h: 72px; }
	.brand img { height: 46px; }
}

/* Hero ------------------------------------------------------------------- */

.hero { position: relative; padding-top: clamp(24px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 24px; padding-bottom: clamp(32px, 5vw, 64px); }

.hero__title { position: relative; font-size: clamp(64px, 10.4vw, 164px); line-height: .9; margin-bottom: clamp(20px, 3vw, 36px); }
.hero__line { display: block; }
.hero__line--badge { display: flex; align-items: center; gap: .12em; }
.hero__badge { width: .92em; margin-top: -.05em; }

.hero__sticker { position: absolute; font-size: clamp(11px, 1.15vw, 16px); z-index: 2; }
.hero__sticker--a { top: -.32em; left: 46%; }
.hero__sticker--b { top: 40%; right: 2%; }
.hero__sticker--c { bottom: -.18em; left: 34%; }

.hero__text { max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

.hero__art { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero__d { width: 100%; overflow: visible; filter: drop-shadow(8px 8px 0 var(--ink)); }
.hero__d .facet { transform-origin: 160px 130px; transform-box: view-box; }
.hero__d .pixel { transform-box: fill-box; transform-origin: center; animation: float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
.hero__flower { position: absolute; width: 22%; right: -2%; top: -6%; --c: var(--lilac); animation: spin 24s linear infinite; }
.hero__flower ellipse { stroke: var(--ink); stroke-width: 2; }
.hero__star { position: absolute; width: 14%; left: -4%; top: 2%; --c: var(--amber); animation: wobble 4s ease-in-out infinite; }
.hero__squiggle { position: absolute; width: 30%; right: 4%; bottom: -8%; --c: var(--blue); }
.hero__note { position: absolute; left: -30%; bottom: -2%; font-size: 30px; color: var(--magenta); transform: rotate(-6deg); white-space: nowrap; }
.hero__note .note-arrow { transform: rotate(-24deg) translateY(-10px); color: var(--magenta); }

@keyframes float { 50% { transform: translate(-6px, -10px) rotate(8deg); } }
@keyframes wobble { 50% { transform: rotate(14deg) scale(1.08); } }

html.js .hero__d .facet { animation: facet-in .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms + .15s); }
@keyframes facet-in { from { opacity: 0; transform: scale(.4) rotate(-12deg); } }

/* Hero word reveal. */
html.js [data-split] .hero__line { animation: rise .8s var(--ease) both; }
html.js [data-split] .hero__line + .hero__line { animation-delay: .12s; }
html.js .hero__sticker { animation: pop .5s var(--ease) both; }
html.js .hero__sticker--a { animation-delay: .5s; }
html.js .hero__sticker--b { animation-delay: .65s; }
html.js .hero__sticker--c { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(.4em); } }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { justify-self: center; max-width: 340px; order: -1; margin-bottom: 8px; }
	.hero__note { display: none; }
	.hero__sticker--b { right: auto; left: 62%; top: 34%; }
}
@media (max-width: 600px) {
	.hero__title { font-size: clamp(48px, 15.5vw, 72px); }
	.hero__art { max-width: 210px; justify-self: end; margin-bottom: -12px; }
	.hero__badge { display: none; }
	.hero__flower { width: 26%; right: auto; left: -40%; top: 10%; }
	.hero__squiggle { display: none; }
	.hero__sticker--a { left: 40%; }
	.hero__sticker--b { left: 58%; top: 42%; }
	.hero__sticker--c { left: 50%; }
}

/* Intro ---------------------------------------------------------------- */

.intro { position: relative; padding-block: var(--section); text-align: center; }
.intro .container { position: relative; }
.intro__pill {
	display: inline-block; margin-bottom: 28px; padding: 6px 26px;
	border: 2px solid var(--ink); border-radius: 50%;
	transform: rotate(-5deg); font-size: 28px;
}
.intro__text { max-width: 980px; margin-inline: auto; font-size: clamp(32px, 4.8vw, 66px); line-height: 1.06; }
.inline-shape { display: inline-block; width: .82em; height: .82em; vertical-align: -.08em; margin-inline: .06em; }
.inline-shape--orange { --c: var(--orange); }
.inline-shape--magenta { --c: var(--magenta); }

.intro__photos { pointer-events: none; }
.polaroid { position: absolute; width: clamp(130px, 13vw, 190px); padding: 10px 10px 34px; background: #fff; border: 1px solid var(--line); box-shadow: 6px 6px 0 rgba(11, 26, 51, .12); }
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.polaroid figcaption { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 22px; }
.polaroid--left { left: 0; bottom: -20px; transform: rotate(-9deg); }
.polaroid--right { right: 0; top: 10px; transform: rotate(8deg); }

@media (max-width: 1100px) {
	.intro__photos { display: flex; justify-content: center; gap: 24px; margin-top: 48px; }
	.polaroid { position: relative; inset: auto; }
}

/* Marquee ---------------------------------------------------------------- */

.marquees { position: relative; padding-block: 24px; overflow: hidden; }
.marquee { overflow: hidden; border-block: 2px solid var(--ink); }
.marquee--ink { background: var(--ink); color: var(--bg); transform: rotate(-2deg); margin-inline: -20px; position: relative; z-index: 1; }
.marquee--orange { background: var(--orange); color: var(--ink); transform: rotate(1.5deg); margin: -10px -20px 0; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee--orange .marquee__track { animation-direction: reverse; animation-duration: 44s; }
.marquee__item { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .03em; padding: 14px 22px 12px; white-space: nowrap; }
.marquee__sep { width: 22px; height: 22px; flex: none; --c: var(--amber); }
.marquee--orange .marquee__sep { --c: var(--ink); }
@keyframes marquee { to { transform: translateX(-25%); } }
.marquees:hover .marquee__track { animation-play-state: paused; }

/* Services fan ------------------------------------------------------------- */

.services { position: relative; padding-block: var(--section) 0; overflow-x: clip; }
.services__squiggle { position: absolute; width: 90px; left: 6%; top: 40px; --c: var(--blue); transform: rotate(-20deg); }

.fan { position: relative; height: clamp(440px, 46vw, 560px); margin-bottom: 40px; }
.fan__card {
	--offset: 0; --abs: 0;
	position: absolute; left: 50%; bottom: 0;
	display: flex; flex-direction: column; gap: 12px;
	width: clamp(240px, 24vw, 310px); height: clamp(340px, 34vw, 430px);
	margin-left: calc(clamp(240px, 24vw, 310px) / -2);
	padding: 28px 26px;
	border: 3px solid var(--ink);
	box-shadow: var(--shadow-lg);
	text-decoration: none;
	transform-origin: 50% 120%;
	transform: translateX(calc(var(--offset) * clamp(46px, 6.2vw, 92px))) rotate(calc(var(--offset) * 5deg)) translateY(calc(var(--abs) * 12px));
	z-index: calc(20 - var(--abs));
	transition: transform .55s var(--ease), box-shadow .3s;
	background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
	background-size: 22px 22px;
}
.fan__card.is-active { transform: translateY(-24px); box-shadow: 12px 12px 0 var(--ink); }
.fan__card.is-light { background-image: linear-gradient(rgba(11,26,51,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,26,51,.06) 1px, transparent 1px); }
.fan__icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); border-radius: 50%; }
.fan__icon .dm-icon { width: 32px; height: 32px; }
.fan__title { font-size: clamp(30px, 2.8vw, 40px); margin-top: auto; }
.fan__text { font-size: 15px; line-height: 1.5; opacity: .92; }
.fan__more { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.fan__card:not(.is-active) .fan__text, .fan__card:not(.is-active) .fan__more { opacity: 0; transition: opacity .2s; }
.fan__card.is-active .fan__text, .fan__card.is-active .fan__more { opacity: 1; transition: opacity .3s .2s; }

.services__foot { position: relative; display: grid; justify-items: center; gap: 20px; padding-block: 48px var(--section); border-top: 2px solid var(--ink); text-align: center; }
.services__title { font-size: clamp(30px, 3.6vw, 48px); }
.services__flower { position: absolute; width: 64px; right: 8%; top: 36px; --c: var(--lilac); animation: spin 20s linear infinite; }
.services__flower ellipse { stroke: var(--ink); stroke-width: 3; }

@media (max-width: 760px) {
	.fan { height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); }
	.fan__card { position: relative; left: auto; bottom: auto; margin: 0; transform: none !important; flex: 0 0 78%; scroll-snap-align: center; height: 380px; box-shadow: var(--shadow); }
	.fan__card .fan__text, .fan__card .fan__more { opacity: 1 !important; }
	.services__squiggle { display: none; }
}

/* Work ------------------------------------------------------------------- */

.section-dark { background: var(--ink); color: var(--bg); }
.section-dark { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 24px 24px; }

.work { padding-block: var(--section); }
.work__head { position: relative; text-align: center; margin-bottom: clamp(56px, 8vw, 96px); }
.work__title { position: relative; display: inline-block; font-size: clamp(72px, 12vw, 180px); color: var(--bg); }
.work__title .sticker--heading { left: auto; right: 4%; top: -.05em; }
.work__note { position: absolute; left: 4%; bottom: 20%; font-size: 30px; color: var(--amber); transform: rotate(-10deg); }

.work__list { display: grid; gap: clamp(64px, 8vw, 96px); max-width: 1080px; margin-inline: auto; }
.work__all { text-align: center; margin-top: 64px; }
.logo-wall { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: clamp(12px, 2vw, 20px); }
.logo-wall__item { --pad: clamp(16px, 2.5vw, 28px); position: relative; aspect-ratio: 3 / 2; background: #fff; border-radius: 20px; overflow: hidden; }
.logo-wall__img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.logo-wall__name { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--pad); text-align: center; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.05; color: var(--ink); text-transform: uppercase; }
@media (max-width: 480px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

.project {
	position: relative;
	display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: stretch;
	padding: clamp(28px, 4vw, 44px);
	background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
	background-size: 28px 28px;
}
.project.is-light { background-image: linear-gradient(rgba(11,26,51,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,26,51,.07) 1px, transparent 1px); }
.project__tab {
	position: absolute; bottom: 100%; left: clamp(28px, 6vw, 80px);
	padding: 12px 52px 8px 40px;
	background: var(--c);
	clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
	font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.project:nth-child(even) .project__tab { left: auto; right: clamp(28px, 6vw, 80px); }
.project__copy { display: flex; flex-direction: column; gap: 14px; }
.project__meta { font-size: 14px; font-weight: 700; opacity: .85; }
.project__meta:empty { display: none; }
.project__title { font-size: clamp(32px, 3.4vw, 46px); }
.project__title a { text-decoration: none; }
.project__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.project__text { max-width: 38ch; opacity: .92; }
.project__result { font-size: 28px; color: var(--ink); background: var(--bg); align-self: flex-start; padding: 6px 12px 4px; transform: rotate(-2deg); }
.project .link-arrow { margin-top: auto; align-self: flex-start; }
.project__media { position: relative; }
.project__media img, .project__media .ph { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border: 8px solid #fff; }
.project__shape { position: absolute; width: clamp(72px, 9vw, 112px); z-index: 2; transition: transform .5s var(--ease); }
.project:nth-child(4n+1) .project__shape { top: -36px; right: -28px; --c: var(--lilac); }
.project:nth-child(4n+2) .project__shape { bottom: -30px; left: -34px; --c: var(--amber); }
.project:nth-child(4n+3) .project__shape { top: -30px; left: -30px; --c: var(--sky); }
.project:nth-child(4n+4) .project__shape { bottom: -32px; right: -26px; }
.project__shape ellipse, .project__shape polygon { stroke: var(--ink); stroke-width: 3; }
.project:hover .project__shape { transform: rotate(40deg) scale(1.1); }

@media (max-width: 760px) {
	.project { grid-template-columns: 1fr; }
	.project__media { order: -1; }
	.work__note { display: none; }
}

/* Placeholder art ----------------------------------------------------------- */

.ph {
	position: relative; overflow: hidden; aspect-ratio: 4 / 3;
	background-color: var(--c, var(--blue));
	background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 14px, transparent 14px 28px);
}
.ph--orange { --c: var(--orange); } .ph--blue { --c: var(--blue); } .ph--purple { --c: var(--purple); } .ph--magenta { --c: var(--magenta); }
.ph--teal { --c: var(--teal); } .ph--green { --c: var(--green); } .ph--amber { --c: var(--amber); } .ph--crimson { --c: var(--crimson); }
.ph--sky { --c: var(--sky); } .ph--lilac { --c: var(--lilac); } .ph--peach { --c: var(--peach); } .ph--mint { --c: var(--mint); }
.ph-pixel { position: absolute; width: 38%; left: 12%; bottom: 14%; }
.ph-burst { position: absolute; width: 34%; right: 10%; top: 12%; --c: var(--bg); }

/* Why ------------------------------------------------------------------------ */

.why { padding-block: var(--section); }
.why__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 40px); }
.why__title { font-size: clamp(56px, 7vw, 104px); margin-bottom: 24px; }
.why__lead { max-width: 36ch; font-size: 19px; color: var(--muted); }
.why__note { margin-top: 28px; color: var(--blue); transform: rotate(-4deg); }
.why__note .note-arrow { transform: rotate(30deg) translateY(10px); }

.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.know {
	position: relative; padding: 32px 28px 30px;
	border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
	transform: rotate(var(--r, 0deg));
	transition: transform .35s var(--ease);
}
.know:nth-child(1) { --r: -1.5deg; }
.know:nth-child(2) { --r: 1.5deg; margin-top: 56px; }
.know:nth-child(3) { --r: 1deg; margin-top: -24px; }
.know:nth-child(4) { --r: -1deg; margin-top: 32px; }
.know:hover { transform: rotate(0) translateY(-4px); }
.know__shape { position: absolute; width: 58px; top: -26px; right: 18px; }
.know__shape ellipse, .know__shape polygon { stroke: var(--ink); stroke-width: 3; }
.know:nth-child(1) .know__shape { --c: var(--magenta); }
.know:nth-child(2) .know__shape { --c: var(--amber); }
.know:nth-child(3) .know__shape { --c: var(--orange); }
.know__title { font-size: clamp(32px, 3vw, 42px); margin-bottom: 14px; }
.know__title span { display: block; font-family: var(--font-script); text-transform: none; font-size: .62em; color: var(--blue); letter-spacing: 0; }

@media (max-width: 900px) {
	.why__grid { grid-template-columns: 1fr; }
	.why__head { position: static; }
}
@media (max-width: 560px) {
	.why__cards { grid-template-columns: 1fr; }
	.know:nth-child(n) { margin-top: 0; }
}

/* Reviews ------------------------------------------------------------------- */

.reviews { padding-block: var(--section) calc(var(--section) * .7); overflow: hidden; }
.reviews__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.reviews__title { position: relative; font-size: clamp(56px, 8vw, 120px); }
.reviews__title .sticker--heading { left: 1.4em; top: -.18em; }
.reviews__note { color: var(--magenta); transform: rotate(8deg); margin-bottom: 20px; }
.reviews__note .note-arrow { transform: rotate(80deg); }

.reviews__stack { display: flex; padding: 24px 8px 40px; overflow-x: auto; scrollbar-width: none; cursor: grab; }
.reviews__stack::-webkit-scrollbar { display: none; }
.review {
	--r: 12px;
	position: relative; isolation: isolate; flex: 0 0 clamp(270px, 28vw, 340px);
	display: flex; flex-direction: column; gap: 20px;
	min-height: 330px; padding: 44px 36px 36px;
	background: radial-gradient(circle at var(--r) var(--r), var(--c) calc(var(--r) - .5px), transparent var(--r)) 0 0 / calc(var(--r) * 2) calc(var(--r) * 2);
	transform: rotate(var(--rot, -4deg));
	transition: transform .35s var(--ease);
}
.review + .review { margin-left: -36px; }
.review::before { content: ""; position: absolute; inset: var(--r); background: var(--c); z-index: -1; }
.review:nth-child(4n+2) { --rot: 3deg; margin-top: 30px; }
.review:nth-child(4n+3) { --rot: -2deg; }
.review:nth-child(4n+4) { --rot: 5deg; margin-top: 18px; }
.review:hover { transform: rotate(0) translateY(-10px); z-index: 5; }
.review__quote { font-family: var(--font-display); font-size: 72px; line-height: .6; height: 28px; }
.review blockquote { font-size: 18px; line-height: 1.5; }
.review figcaption { margin-top: auto; display: grid; }
.review figcaption strong { font-size: 22px; font-weight: 400; }
.review figcaption span { font-size: 14px; opacity: .85; }

/* Clients ---------------------------------------------------------------- */

.clients { padding-block: 24px var(--section); }
.clients__title { font-family: var(--font-script); font-weight: 600; font-size: 34px; text-align: center; margin-bottom: 28px; color: var(--muted); }
.clients__rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__track { display: flex; gap: 16px; width: max-content; animation: marquee-3 40s linear infinite; }
@keyframes marquee-3 { to { transform: translateX(calc(-100% / 3)); } }
.client-tile {
	display: grid; place-items: center; min-width: 220px; height: 110px; padding: 0 28px;
	font-family: var(--font-display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em;
	border: 2px solid var(--line); background: rgba(255,255,255,.5);
	clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
	color: var(--ink);
}

/* FAQ ------------------------------------------------------------------- */

.faq { padding-block: calc(var(--section) * .6) var(--section); }
.faq__title { position: relative; font-size: clamp(56px, 8vw, 120px); margin-bottom: 40px; }
.faq__title .sticker--heading { left: auto; top: 40%; left: 2.6em; }
.faq__list { display: grid; gap: 36px; }
.bubble { position: relative; width: min(100%, 560px); padding: 26px 30px; }
.bubble--right { margin-left: auto; }
.bubble::after {
	content: ""; position: absolute; top: 100%; width: 44px; height: 26px; background: var(--c);
	clip-path: polygon(0 0, 100% 0, 30% 100%);
}
.bubble--right::after { left: 22%; transform: scaleX(-1); }
.bubble--left::after { left: 46%; }
.bubble summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: clamp(24px, 2.4vw, 32px); }
.bubble summary::-webkit-details-marker { display: none; }
.bubble summary::after { content: "+"; font-family: var(--font-body); font-weight: 700; font-size: 28px; line-height: 1; transition: transform .25s var(--ease); flex: none; }
.bubble[open] summary::after { transform: rotate(45deg); }
.bubble__body { padding-top: 14px; max-width: 52ch; }
.bubble__body p + p { margin-top: .8em; }

/* Latest posts ------------------------------------------------------------------- */

.latest { padding-block: 0 var(--section); }
.latest__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.latest__title { font-size: clamp(48px, 6vw, 88px); }
.latest__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.latest__grid > :first-child { grid-row: span 2; }
.post-card { display: flex; flex-direction: column; border: 2px solid var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.post-card__media { display: block; border-bottom: 2px solid var(--ink); overflow: hidden; }
.post-card__media img, .post-card__media .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.latest__grid > :not(:first-child) { flex-direction: row; }
.latest__grid > :not(:first-child) .post-card__media { flex: 0 0 38%; border-bottom: 0; border-right: 2px solid var(--ink); }
.latest__grid > :not(:first-child) .post-card__media img, .latest__grid > :not(:first-child) .post-card__media .ph { height: 100%; aspect-ratio: auto; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.tag { display: inline-block; padding: 3px 10px; background: var(--ink); color: var(--bg); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.post-card__title { font-size: clamp(24px, 2.2vw, 32px); }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 820px) {
	.latest__grid { grid-template-columns: 1fr; }
	.latest__grid > :first-child { grid-row: auto; }
	.latest__grid > :not(:first-child) { flex-direction: column; }
	.latest__grid > :not(:first-child) .post-card__media { border-right: 0; border-bottom: 2px solid var(--ink); }
	.latest__head, .reviews__head { flex-direction: column; align-items: flex-start; }
}

/* CTA band ------------------------------------------------------------------ */

.cta-band { display: grid; grid-template-columns: 1fr 1fr; border-block: 2px solid var(--ink); background: var(--blue); color: #fff; }
.cta-band__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.cta-band__title { position: relative; font-size: clamp(56px, 7.4vw, 112px); }
.cta-band__title .sticker--heading { left: .3em; top: -.4em; }
.cta-band__copy p { max-width: 42ch; font-size: 18px; opacity: .95; }
.cta-band__art { position: relative; min-height: 420px; border-left: 2px solid var(--ink); overflow: hidden; }
.cta-band__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.cta-band__art { background: var(--peach); }
.cta-band__badge { position: absolute; width: 150px; left: -10px; top: 50%; transform: translateY(-50%); z-index: 2; }
.cta-band__badge .badge-bg { fill: var(--lilac); }
.cta-band__squiggle { position: absolute; width: 120px; right: 24px; top: 24px; --c: var(--orange); }
.cta-band__star { position: absolute; width: 70px; right: 40px; bottom: 30px; --c: var(--amber); animation: wobble 4s ease-in-out infinite; }
.cta-band__star polygon { stroke: var(--ink); stroke-width: 3; }

@media (max-width: 860px) {
	.cta-band { grid-template-columns: 1fr; }
	.cta-band__copy { padding-inline: var(--gutter); }
	.cta-band__art { min-height: 300px; border-left: 0; border-top: 2px solid var(--ink); }
	.cta-band__badge { left: auto; right: 16px; top: auto; bottom: 16px; transform: none; width: 110px; }
}

/* Footer --------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--bg); }
.checker--footer { background: repeating-conic-gradient(var(--bg) 0 25%, var(--ink) 0 50%) 0 0 / 28px 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-footer__brand img { width: 240px; }
.site-footer__brand .script { color: var(--amber); font-size: 30px; }
.footer-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 20px; color: var(--orange); margin-bottom: 16px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; opacity: .9; }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; color: var(--amber); }
.footer-contact { display: grid; gap: 8px; font-style: normal; }
.footer-contact span { opacity: .75; }
.social-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip-link { display: inline-block; padding: 8px 14px 7px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--c); }
.chip-link--lilac { --c: var(--lilac); } .chip-link--peach { --c: var(--peach); } .chip-link--mint { --c: var(--mint); } .chip-link--sky { --c: var(--sky); } .chip-link--amber { --c: var(--amber); }
.chip-link:hover { transform: rotate(-3deg); }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid rgba(255, 248, 236, .15); font-size: 14px; opacity: .75; }
.site-footer__base a { text-decoration: none; }

@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Inner pages ----------------------------------------------------------------- */

.page-hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.page-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: end; }
.page-hero__kicker { margin-bottom: 18px; }
.page-hero__title { position: relative; font-size: clamp(56px, 9vw, 140px); line-height: .92; }
.page-hero__title .sticker--trail { position: relative; top: -1.1em; left: 0; margin-left: .15em; }
.page-hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 44ch; }
.page-hero__shape { position: absolute; width: 72px; right: var(--gutter); bottom: -76px; z-index: 2; --c: var(--amber); animation: wobble 4s ease-in-out infinite; }
.page-hero__shape polygon { stroke: var(--ink); stroke-width: 3; }
.page-hero + .checker { margin-bottom: 0; }
@media (max-width: 820px) { .page-hero__inner { grid-template-columns: 1fr; } }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }

.prose { max-width: 70ch; font-size: clamp(17px, 1.15vw, 19px); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 1.02; margin-top: 1.8em; }
.prose h2 { font-size: clamp(32px, 3.4vw, 48px); }
.prose h3 { font-size: clamp(24px, 2.4vw, 32px); }
.prose a { color: #0A5A96; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--orange); content: "■  "; }
.prose blockquote { padding: 24px 28px; background: var(--peach); border: 2px solid var(--ink); font-size: 1.1em; }
.prose img, .prose figure { border: 2px solid var(--ink); }
.prose figcaption { font-size: 14px; color: var(--muted); padding: 8px 0; }
.prose .wp-block-image { border: 0; }
.prose .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; align-items: start; border: 0; }
.prose .wp-block-gallery.columns-2 { --cols: 2; }
.prose .wp-block-gallery.columns-4 { --cols: 4; }
@media (max-width: 820px) { .prose .wp-block-gallery.has-nested-images { --cols: 2; } }
@media (max-width: 480px) { .prose .wp-block-gallery.columns-2 { --cols: 1; } }
/* :not(#x) matches the ID-level specificity core uses for gallery item sizing. */
.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#x) { width: auto; margin: 0; flex-direction: column; border: 2px solid var(--ink); background: var(--ink); }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#x) img { height: auto; flex: none; border: 0; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#x) figcaption { background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 700; padding: 8px 10px; position: static; max-height: none; overflow: visible; text-align: left; text-shadow: none; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { display: none; }

/* Services archive */
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.service-tile {
	position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 320px;
	padding: 30px 28px; border: 2px solid var(--ink); box-shadow: var(--shadow);
	text-decoration: none; grid-column: span 4;
	transition: transform .25s var(--ease), box-shadow .25s;
}
.service-tile:nth-child(6n+1), .service-tile:nth-child(6n+5) { grid-column: span 7; }
.service-tile:nth-child(6n+2), .service-tile:nth-child(6n+6) { grid-column: span 5; }
.service-tile:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.service-tile .fan__icon { width: 58px; height: 58px; }
.service-tile__title { font-size: clamp(32px, 3vw, 44px); margin-top: auto; }
.service-tile__text { max-width: 44ch; }
.service-tile__more { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .service-tile:nth-child(n) { grid-column: span 6; } }
@media (max-width: 600px) { .service-tile:nth-child(n) { grid-column: span 12; } }

/* Single service */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.aside-card { padding: 28px; border: 2px solid var(--ink); box-shadow: var(--shadow); }
.aside-card h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 14px; }
.aside-card p { margin-bottom: 18px; }
.aside-list { display: grid; gap: 4px; }
.aside-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(11,26,51,.15); text-decoration: none; font-weight: 700; }
.aside-list a:hover, .aside-list .is-current a { color: #C25A00; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; } }

/* Work archive */
.work-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.work-archive .work__list { max-width: none; }

/* Project single */
.project-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 56px); border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.project-hero .ph, .project-hero img { width: 100%; border: 8px solid #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 2px solid var(--ink); margin-block: 40px; background: var(--surface); }
.facts div { padding: 18px 22px; border-right: 2px solid var(--ink); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; }
@media (max-width: 820px) { .project-hero { grid-template-columns: 1fr; } .facts div { border-right: 0; border-bottom: 2px solid var(--ink); } .facts div:last-child { border-bottom: 0; } }

/* About */
.about-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-story__media { position: relative; }
.about-story__media img { border: 3px solid var(--ink); box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.about-story__media .shape { position: absolute; width: 90px; right: -24px; top: -30px; --c: var(--amber); }
.about-story__media .shape polygon { stroke: var(--ink); stroke-width: 3; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value { padding: 26px 24px; border: 2px solid var(--ink); }
.value h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin-bottom: 10px; }
.big-quote { font-size: clamp(40px, 6vw, 92px); text-align: center; max-width: 1000px; margin-inline: auto; }
.big-quote em { font-style: normal; color: var(--orange); }
@media (max-width: 820px) { .about-story { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.field input, .field textarea {
	width: 100%; padding: 13px 14px; background: var(--bg); border: 2px solid var(--ink); border-radius: 0;
	transition: box-shadow .15s, background-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s; }
.chip input:checked + span { background: var(--orange); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.contact-form .btn { justify-self: start; }
.form-note { padding: 16px 20px; border: 2px solid var(--ink); margin-bottom: 20px; }
.form-note--ok { background: var(--mint); }
.form-note--err { background: var(--peach); }
.contact-form .cf-turnstile { min-height: 65px; }
.contact-cards { display: grid; gap: 20px; }
.contact-card { padding: 24px; border: 2px solid var(--ink); box-shadow: var(--shadow); }
.contact-card h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 24px; margin-bottom: 8px; }
.contact-card a { display: block; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; word-break: break-word; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 2px solid var(--ink); filter: grayscale(.4); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.blog-grid .post-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.blog-grid .post-card:first-child .post-card__media { flex: 0 0 55%; border-bottom: 0; border-right: 2px solid var(--ink); }
.blog-grid .post-card:first-child .post-card__media img, .blog-grid .post-card:first-child .post-card__media .ph { height: 100%; }
.blog-grid .post-card:first-child .post-card__title { font-size: clamp(32px, 3.4vw, 52px); }
.blog-grid .post-card:first-child .post-card__body { justify-content: center; padding: 36px; }
@media (max-width: 760px) { .blog-grid .post-card:first-child { flex-direction: column; } .blog-grid .post-card:first-child .post-card__media { border-right: 0; border-bottom: 2px solid var(--ink); } }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cat-filter a { padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; }
.cat-filter a:hover, .cat-filter .is-current { background: var(--ink); color: var(--bg); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 2px solid var(--ink); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--ink); color: var(--bg); }

.article-head { max-width: 980px; }
.article-head .page-hero__title { font-size: clamp(44px, 6.4vw, 96px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; color: var(--muted); font-size: 15px; }
.article-cover { margin-bottom: clamp(40px, 6vw, 72px); }
.article-cover img, .article-cover .ph { width: 100%; max-height: 640px; object-fit: cover; border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.article-body { margin-inline: auto; }
.article-share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); }

/* UK page */
.uk-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.uk-band > * { padding: clamp(28px, 4vw, 48px); }
.uk-band > * + * { border-left: 2px solid var(--ink); }
@media (max-width: 820px) { .uk-band { grid-template-columns: 1fr; } .uk-band > * + * { border-left: 0; border-top: 2px solid var(--ink); } }

/* 404 */
.not-found { text-align: center; padding-block: var(--section); }
.not-found .display { font-size: clamp(120px, 24vw, 340px); line-height: .85; }

/* Reveal ------------------------------------------------------------------- */

html.js .reveal { opacity: 0; translate: 0 32px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--n, 0) * 70ms); }
html.js .reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	html.js .reveal { opacity: 1; translate: none; }
	.marquee__track, .clients__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Project galleries break out of the reading column. */
.single-dm_project .prose > .wp-block-gallery { width: min(1160px, calc(100vw - 32px)); margin-left: 50%; transform: translateX(-50%); }

/* Elementor ------------------------------------------------------------------ */

/* Containers that hold DigiMonde sections run edge to edge with no padding or gap. */
.e-con:has(> .elementor-widget[class*="elementor-widget-dm_"]) {
	--padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0;
	--gap: 0; --row-gap: 0; --column-gap: 0;
	padding: 0; gap: 0;
}
.elementor-widget[class*="elementor-widget-dm_"] { width: 100%; max-width: 100%; }

/* Elementor resets every image; restore the ones the design depends on. */
.elementor .project__media img { height: 100%; border: 8px solid #fff; }
.elementor .cta-band__art img { height: 100%; }
.elementor .polaroid img { aspect-ratio: 1; object-fit: cover; }
.elementor .latest__grid > :not(:first-child) .post-card__media img { height: 100%; }

/* In the editor, show reveal content straight away. */
.elementor-editor-active .reveal { opacity: 1 !important; translate: none !important; }

.editor-empty {
	margin-block: 24px; padding: 18px 22px;
	border: 2px dashed var(--ink); background: var(--peach);
	font-weight: 700;
}
