/* Images keep their shape: width and height attributes reserve space, CSS decides the size */
img { height: auto; }

/* Layout: a bright, friendly single column of sections; the journey map is the one big moment. */
:root {
	--bg: #F4F7FF;
	--surface: #FFFFFF;
	--ink: #1D1B3A;
	--muted: #4F4C70;
	--line: #D9DDF2;
	--accent: #C9302C;
	--accent-ink: #FFFFFF;
	--sun: #FFD25A;
	--mint: #A8EBCB;
	--pink: #FFB3CF;
	--sky: #A9DCFF;
	--sea: #DDEBFF;
	--land: #FFFFFF;
	--land-edge: #C8D3F0;
	--route: #C9302C;
	--shadow: 0 10px 30px rgba(29, 27, 58, .12);
	--font-display: "Fredoka", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
	--font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-hand: "Caveat", "Comic Sans MS", cursive;
	--r-lg: 28px;
	--r-md: 18px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #17152E;
		--surface: #221F42;
		--ink: #F7F4FF;
		--muted: #C9C4E8;
		--line: #3A3666;
		--accent: #FF7A6B;
		--accent-ink: #1D1B3A;
		--sun: #5A4512;
		--mint: #124A38;
		--pink: #5C1E3A;
		--sky: #13405F;
		--sea: #1E1B3C;
		--land: #2C2852;
		--land-edge: #4A4580;
		--route: #FF7A6B;
		--shadow: 0 10px 30px rgba(0, 0, 0, .35);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #17152E;
	--surface: #221F42;
	--ink: #F7F4FF;
	--muted: #C9C4E8;
	--line: #3A3666;
	--accent: #FF7A6B;
	--accent-ink: #1D1B3A;
	--sun: #5A4512;
	--mint: #124A38;
	--pink: #5C1E3A;
	--sky: #13405F;
	--sea: #1E1B3C;
	--land: #2C2852;
	--land-edge: #4A4580;
	--route: #FF7A6B;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 1.0625rem;
	line-height: 1.6;
	padding-top: env(safe-area-inset-top, 0px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding-left: max(20px, env(safe-area-inset-left, 0px));
	padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(56px, 9vw, 104px); }
.eyebrow {
	font-family: var(--font-hand);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 10px;
	display: block;
}
.h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
.lede { color: var(--muted); max-width: 60ch; margin-top: 14px; }

/* Spectrum: the signature detail, used as a thin ribbon only */
.spectrum {
	height: 6px;
	border-radius: 6px;
	background: linear-gradient(90deg, #E5302F 0 16.6%, #F4842B 16.6% 33.3%, #F9D23A 33.3% 50%, #2FB463 50% 66.6%, #2E7FE0 66.6% 83.3%, #8A4FD8 83.3% 100%);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 0 rgba(29, 27, 58, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(29, 27, 58, .25); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(29, 27, 58, .25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transform: none; transition: none; } }

/* Top bar */
body::before {
	content: "";
	position: fixed;
	inset: 0 0 auto;
	height: env(safe-area-inset-top, 0px);
	z-index: 30;
	background: var(--bg);
}
.topbar {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 20;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.mark-badge {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 14px;
	background: var(--sun);
	color: var(--ink);
	font-size: 1rem;
	transform: rotate(-6deg);
}
.mark-logo { width: 40px; height: 40px; border-radius: 50%; display: block; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.mark:hover .mark-logo { transform: rotate(-8deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .mark-logo, .mark:hover .mark-logo { transition: none; transform: none; } }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.navlink { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a.navlink:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
@media (max-width: 760px) { .nav a.navlink { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hi { font-size: clamp(3.2rem, 10vw, 6.4rem); font-weight: 700; letter-spacing: -.01em; }
.hi .wave { display: inline-block; transform-origin: 70% 70%; }
.hero-copy { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink); max-width: 30ch; margin-top: 20px; line-height: 1.45; }
.hero-where { margin-top: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2FB463; box-shadow: 0 0 0 4px color-mix(in srgb, #2FB463 25%, transparent); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.chips b { font-family: var(--font-display); color: var(--accent); font-weight: 700; margin-right: 4px; }

.sticker-wrap { position: relative; justify-self: center; width: min(100%, 380px); }
.sticker {
	position: relative;
	background: var(--surface);
	padding: 14px 14px 18px;
	border-radius: 34px;
	box-shadow: var(--shadow);
	transform: rotate(3deg);
	transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.sticker img { border-radius: 24px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; }
.sticker .spectrum { margin: 14px 6px 0; }
.sticker-wrap:hover .sticker { transform: rotate(-2deg) scale(1.02); }
.sticker-note {
	position: absolute;
	left: -18px;
	bottom: 46px;
	background: var(--sun);
	color: var(--ink);
	font-family: var(--font-hand);
	font-weight: 700;
	font-size: 1.45rem;
	line-height: 1.1;
	padding: 10px 16px;
	border-radius: 16px;
	transform: rotate(-7deg);
	box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: reduce) { .sticker, .sticker-wrap:hover .sticker { transition: none; transform: rotate(3deg); } }
@media (max-width: 820px) {
	.hero-grid { grid-template-columns: 1fr; }
	.sticker-wrap { width: min(52%, 220px); order: -1; }
	.sticker-note { left: -10px; font-size: 1.25rem; }
}

/* Hero full-body cutout */
.hero-figure { width: min(100%, 360px); display: grid; justify-items: center; align-items: end; padding-top: 12px; }
.hero-figure > * { grid-area: 1 / 1; }
.hero-arch { position: relative; width: 100%; height: 76%; align-self: end; background: var(--sun); border-radius: 999px 999px 32px 32px; overflow: hidden; box-shadow: var(--shadow); }
.hero-arch .spectrum { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 0; }
.hero-cutout { position: relative; height: clamp(440px, 64vh, 600px); width: auto; max-width: none; filter: drop-shadow(0 18px 24px rgba(20, 20, 50, .18)); transform-origin: bottom center; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.hero-figure:hover .hero-cutout { transform: scale(1.02) rotate(-1deg); }
.hero-figure .sticker-note { left: -34px; bottom: 34%; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-cutout, .hero-figure:hover .hero-cutout { transition: none; transform: none; } }
@media (max-width: 820px) {
	.hero-figure { order: 0; width: min(78%, 280px); margin-top: 8px; }
	.hero-cutout { height: 420px; }
	.hero-figure .sticker-note { left: -26px; bottom: 30%; }
}

/* Services */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.card {
	border-radius: var(--r-lg);
	padding: 26px 24px 28px;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.card h3 { font-size: 1.45rem; }
.card p { color: var(--ink); opacity: .9; }
.card .icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--surface);
	display: grid;
	place-items: center;
}
.card .icon svg { width: 28px; height: 28px; }
.c-sun { background: var(--sun); }
.c-mint { background: var(--mint); }
.c-pink { background: var(--pink); }
.c-sky { background: var(--sky); }
.card ul { margin: 0; padding-left: 18px; font-size: .97rem; }
@media (max-width: 980px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }

/* Journey map */
.journey { background: var(--surface); border-block: 1px solid var(--line); }
.map-shell { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.map {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1000 / 560;
	background: var(--sea);
	border-radius: var(--r-lg);
	overflow: hidden;
	border: 1.5px solid var(--line);
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .land { fill: var(--land); stroke: var(--land-edge); stroke-width: 2; }
.map .route { fill: none; stroke: var(--route); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; }
.map .place { font-family: var(--font-hand); font-weight: 700; font-size: 30px; fill: var(--muted); }
.map .plane path { fill: var(--ink); }
.pin {
	position: absolute;
	transform: translate(-50%, -100%);
	width: 44px;
	height: 52px;
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	z-index: 2;
}
.pin svg { width: 44px; height: 52px; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .2)); transition: transform .2s ease; }
.pin .pin-body { fill: var(--accent); }
.pin .pin-num { font-family: var(--font-display); font-size: 17px; font-weight: 700; fill: var(--accent-ink); }
.pin:hover svg, .pin[aria-expanded="true"] svg { transform: translateY(-4px) scale(1.08); }
.pin[aria-expanded="true"] .pin-body { fill: var(--ink); }
.pin[aria-expanded="true"] .pin-num { fill: var(--bg); }
@media (prefers-reduced-motion: reduce) { .pin svg { transition: none; } .pin:hover svg, .pin[aria-expanded="true"] svg { transform: none; } }
.bubble {
	position: absolute;
	z-index: 3;
	width: min(280px, 70%);
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--r-md);
	padding: 14px 16px;
	box-shadow: var(--shadow);
	border: 1.5px solid var(--line);
	font-size: .97rem;
	line-height: 1.45;
}
.bubble strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.bubble .yr { font-family: var(--font-hand); color: var(--accent); font-size: 1.3rem; font-weight: 700; }
@media (max-width: 640px) { .bubble { display: none !important; } }

.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: stop; }
.stop {
	background: var(--bg);
	border: 1.5px solid var(--line);
	border-radius: var(--r-md);
	padding: 16px 18px 18px;
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 4px 12px;
	transition: border-color .2s ease, transform .2s ease;
	min-width: 0;
}
.stop .n {
	grid-row: span 2;
	width: 36px;
	height: 36px;
	border-radius: 50% 50% 50% 4px;
	background: var(--accent);
	color: var(--accent-ink);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
}
.stop h3 { font-size: 1.1rem; font-weight: 600; }
.stop h3 .yr { font-family: var(--font-hand); color: var(--accent); font-size: 1.35rem; margin-right: 6px; }
.stop p { grid-column: 2; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.stop.is-on { border-color: var(--accent); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .stop, .stop.is-on { transition: none; transform: none; } }
@media (max-width: 900px) { .stops { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stops { grid-template-columns: 1fr; } }

/* Case study */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.case > * { min-width: 0; }
.browser {
	background: var(--surface);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 12px;
	transform: rotate(-2deg);
	max-width: 480px;
	justify-self: center;
	width: 100%;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.browser-bar span { margin-left: 8px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.browser img { border-radius: 14px; width: 100%; aspect-ratio: 900 / 987; object-fit: cover; object-position: top; }
/* Role collage: the four parts of the Bionic job */
.role-visual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rv { margin: 0; background: var(--surface); border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow); display: grid; gap: 8px; min-width: 0; }
.rv:nth-child(1) { transform: rotate(-1.5deg); }
.rv:nth-child(2) { transform: rotate(1.2deg); }
.rv:nth-child(3) { transform: rotate(1deg); }
.rv:nth-child(4) { transform: rotate(-1.2deg); }
.rv img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; }
.rv-shop img { object-position: top; }
.rv-shop .browser-bar { padding: 0 4px; }
.rv figcaption { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; color: var(--ink); text-align: center; line-height: 1.1; }
@media (prefers-reduced-motion: reduce) { .rv { transform: none !important; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.fact { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; min-width: 0; }
.fact b { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 6px; font-weight: 600; font-size: .97rem; }
.case-story { margin-top: 18px; color: var(--muted); max-width: 56ch; }
.case-story + .case-story { margin-top: 12px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .browser { transform: rotate(-1.5deg); max-width: 400px; } }

.yearly { margin-top: 44px; background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: 26px 28px; display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 20px; align-items: center; }
.yearly > * { min-width: 0; }
.yearly .yl { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: var(--bg); }
.yearly div b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.yearly div span { font-size: .95rem; opacity: .9; }
@media (max-width: 760px) { .yearly { grid-template-columns: repeat(2, 1fr); } .yearly .yl { grid-column: 1 / -1; } }

/* Pinboard */
.board {
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 26px 22px;
	padding: 30px;
	border-radius: var(--r-lg);
	background:
		radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 14%, transparent) 1.5px, transparent 0) 0 0 / 22px 22px,
		var(--surface);
	border: 1.5px solid var(--line);
}
.polaroid {
	margin: 0;
	background: #FFFFFF;
	padding: 10px 10px 12px;
	border-radius: 6px;
	box-shadow: 0 8px 18px rgba(29, 27, 58, .16);
	position: relative;
	transition: transform .25s ease;
	min-width: 0;
}
.polaroid::before {
	content: "";
	position: absolute;
	top: -9px;
	left: 50%;
	width: 18px;
	height: 18px;
	margin-left: -9px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .18);
}
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; color: #2A2850; line-height: 1.1; margin-top: 8px; text-align: center; }
.polaroid:nth-child(5n+1) { transform: rotate(-4deg); }
.polaroid:nth-child(5n+2) { transform: rotate(3deg) translateY(10px); }
.polaroid:nth-child(5n+3) { transform: rotate(-2deg); }
.polaroid:nth-child(5n+4) { transform: rotate(5deg) translateY(-6px); }
.polaroid:nth-child(5n) { transform: rotate(-3deg) translateY(8px); }
.polaroid:hover { transform: rotate(0) scale(1.06); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .polaroid { transition: none; } .polaroid:hover { transform: none; } }
@media (max-width: 980px) { .board { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
	.board { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; padding: 18px 14px; }
	.polaroid, .polaroid:nth-child(n) { transform: none; }
	.polaroid figcaption { font-size: 1.15rem; }
}
.board-note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.board-sub { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; margin-top: 56px; }
.board-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board .polaroid a { display: block; border-radius: 2px; }
.board .polaroid a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.board-3 .polaroid img { object-position: top; }
@media (max-width: 640px) { .board-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.product {
	background: var(--surface);
	border: 1.5px solid var(--line);
	border-radius: var(--r-lg);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }
.status.live { background: var(--mint); color: var(--ink); }
.status.dev { background: var(--sun); color: var(--ink); }
.status.home { background: var(--sky); color: var(--ink); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: block; }
.product h3 { font-size: 1.6rem; }
.product p { color: var(--muted); }
.product .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 8px; }
.product .links a { font-weight: 700; color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.product.spots .spectrum { margin-top: 2px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.also { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }
.also a { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.also a:hover { border-color: var(--accent); }

/* Client websites */
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.site-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.site-shots { position: relative; border-radius: var(--r-md); padding: 22px 22px 34px; margin-bottom: 6px; }
.site-sky { background: var(--sky); }
.site-mint { background: var(--mint); }
.site-pink { background: var(--pink); }
.site-sun { background: var(--sun); }
.site-card .status-row { display: flex; flex-wrap: wrap; gap: 8px; }
.site-desk { transform: rotate(-2deg); }
.site-desk img { height: auto; aspect-ratio: 16 / 10; object-position: top; }
.site-desk figcaption { font-size: 1.15rem; }
.site-phone { position: absolute; height: auto; right: 10px; bottom: 10px; width: 26%; max-width: 92px; aspect-ratio: 520 / 1125; object-fit: cover; object-position: top; border-radius: 12px; border: 3px solid #FFFFFF; box-shadow: var(--shadow); transform: rotate(5deg); }
.site-card h3 { font-size: 1.5rem; }
.site-card p { color: var(--muted); }
.site-card .status { font-size: .8rem; }
.lang-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lang-tags li { font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); }
.site-card .links { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-card .links a { font-weight: 700; color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.site-card:hover .site-desk { transform: rotate(0) scale(1.02); }
@media (prefers-reduced-motion: reduce) { .site-card:hover .site-desk { transform: rotate(-2deg); } }
@media (max-width: 980px) { .sites { grid-template-columns: 1fr; max-width: 560px; } }

/* Kind words placeholder */
.kind {
	border: 2px dashed var(--line);
	border-radius: var(--r-lg);
	padding: 34px clamp(20px, 4vw, 40px);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 36px;
}
.kind-card { background: var(--surface); border-radius: var(--r-md); padding: 20px; color: var(--muted); min-width: 0; }
.kind-card .q { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--line); display: block; height: 26px; }
.kind-card .bar { height: 10px; border-radius: 6px; background: var(--line); margin-top: 10px; }
.kind-card .bar.short { width: 60%; }
.kind-card p { margin-top: 14px; font-size: .95rem; font-weight: 600; }
@media (max-width: 760px) { .kind { grid-template-columns: 1fr; } }

/* Contact */
.contact-card {
	background: var(--sun);
	color: var(--ink);
	border-radius: 36px;
	padding: clamp(32px, 6vw, 64px);
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: clamp(24px, 5vw, 56px);
	align-items: center;
	position: relative;
	overflow: hidden;
}
.contact-card > * { min-width: 0; }
.contact-card h2 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
.contact-card p { margin-top: 14px; font-size: 1.15rem; max-width: 40ch; }
.contact-card .btn-primary { margin-top: 26px; font-size: 1.25rem; min-height: 60px; padding: 14px 32px; }
.reach { display: grid; gap: 12px; }
.mail {
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--r-md);
	padding: 14px 14px 14px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.mail-text { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; user-select: all; overflow-wrap: anywhere; min-width: 0; }
.copy {
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 2px solid var(--ink);
	background: transparent;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease;
}
.copy.is-copied { background: #2FB463; border-color: #2FB463; color: #0B2A18; transform: rotate(-4deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .copy, .copy.is-copied { transition: none; transform: none; } }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social a {
	flex: 1 1 140px;
	min-height: 52px;
	background: var(--surface);
	color: var(--ink);
	border-radius: var(--r-md);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 700;
	text-decoration: none;
}
.social a:hover { outline: 2px solid var(--ink); }
.social svg { width: 22px; height: 22px; }
.contact-card .spectrum { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 0; height: 8px; }
@media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; } }

footer { padding-block: 34px 90px; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Three doors: the visitor says what they need, the page takes them there */
.hero { padding-block: clamp(24px, 3.5vw, 48px) clamp(48px, 6vw, 80px); }
.doors-wrap { margin-top: clamp(28px, 3.5vw, 44px); }
.doors-q { font-size: clamp(1.6rem, 3.4vw, 2.2rem); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.doors-q .hand { font-family: var(--font-hand); font-size: 1.5rem; color: var(--muted); font-weight: 700; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; padding: 0; list-style: none; }
.door { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; height: 100%; padding: 24px; border-radius: var(--r-lg); color: var(--ink); text-decoration: none; border: 2px solid transparent; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.door:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--ink); }
.door:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.door .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--surface); display: grid; place-items: center; }
.door .icon svg { width: 28px; height: 28px; }
.door h3 { font-size: 1.4rem; line-height: 1.15; }
.door p { margin: 0; opacity: .92; }
.door .go { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.door .go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.door:hover .go svg { transform: translateX(4px); }
.doors-or { margin-top: 16px; color: var(--muted); }
.doors-or a { color: var(--ink); font-weight: 700; }
.picked { animation: picked 1.6s ease; }
@keyframes picked { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 30% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 20%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } .door { grid-template-rows: auto; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; } .door .icon { grid-row: span 3; } }
@media (prefers-reduced-motion: reduce) { .door, .door:hover, .door .go svg { transition: none; transform: none; } .picked { animation: none; } }

/* Footer look switcher */
.looks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: 100%; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1.5px solid var(--line); }
.looks span { font-weight: 600; color: var(--ink); }
.looks a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.looks a:hover { border-color: var(--ink); }
.looks a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Shared parts for landing pages ===== */

/* Greek pages: fonts with Greek letters */
:root:lang(el) {
	--font-display: "M PLUS Rounded 1c", "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
	--font-text: "Commissioner", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-hand: "M PLUS Rounded 1c", system-ui, sans-serif;
}
:lang(el) .eyebrow, :lang(el) .hand, :lang(el) .sticker-note, :lang(el) .rv figcaption { font-style: italic; font-weight: 700; }

/* Language switch in the header */
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.lang:hover { border-color: var(--ink); }
.lang:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Breadcrumbs */
.crumbs { padding-top: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* Landing page hero */
.page-hero { padding-block: clamp(20px, 3vw, 36px) clamp(40px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.05; text-wrap: balance; margin-top: 10px; }
.page-hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 36ch; margin-top: 18px; }
.page-hero .hero-actions { margin-top: 26px; }
.page-visual { margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.page-visual img { width: 100%; height: auto; border-radius: 18px; display: block; }
.page-visual figcaption { font-family: var(--font-hand); font-size: 1.3rem; text-align: center; padding-top: 8px; color: var(--ink); }
@media (max-width: 820px) { .page-hero-grid { grid-template-columns: 1fr; } .page-visual { transform: none; max-width: 480px; } }
@media (prefers-reduced-motion: reduce) { .page-visual { transform: none; } }

/* Readable text blocks */
.prose { max-width: 65ch; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.65; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so numbers are fine */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 20px; min-width: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--font-display); font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; }

/* Tick list */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 2px var(--ink); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 24px; max-width: 820px; }
.faq details { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 4px 18px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* Related pages */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.related a { display: grid; gap: 6px; padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; }
.related a:hover { border-color: var(--ink); transform: translateY(-2px); }
.related a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.related b { font-family: var(--font-display); font-size: 1.15rem; }
.related span { color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .related a:hover { transform: none; } }

/* Small "read more" link on cards */
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--ink); }
.more::after { content: "\2192"; }

/* Footer sitemap */
.sitemap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1.5px solid var(--line); }
.sitemap h2 { font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sitemap a { color: var(--muted); text-decoration: none; }
.sitemap a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 820px) { .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Keep header actions on one line on small phones */
.nav .btn, .lang { white-space: nowrap; }
@media (max-width: 440px) {
	.topbar .wrap { gap: 8px; }
	.nav { gap: 6px; }
	.nav .btn { font-size: .88rem; padding: 8px 12px; }
	.lang { padding: 6px 10px; font-size: .85rem; }
	.mark span:last-child { display: none; }
}

/* Greek headings: the Greek rounded face is lighter, so go one step bolder */
:lang(el) h1, :lang(el) h2, :lang(el) .h2, :lang(el) .hi, :lang(el) .doors-q, :lang(el) .card h3, :lang(el) .door h3 { font-weight: 800; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.quote { grid-column: span 2; margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); color: var(--ink); min-width: 0; }
.quote:nth-child(4) { grid-column: 2 / span 2; }
.quote:nth-child(odd) { transform: rotate(-.6deg); }
.quote:nth-child(even) { transform: rotate(.6deg); }
.quote .q { font-family: var(--font-display); font-size: 3.4rem; line-height: .5; height: 22px; opacity: .45; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.1rem; line-height: 1.45; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .95rem; line-height: 1.3; }
.quote figcaption b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.quote .who { object-fit: cover; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 2px solid var(--surface); font-family: var(--font-display); font-weight: 700; }
.quote .who-pop { position: relative; flex: none; width: 64px; height: 64px; margin-top: 12px; }
.quote .who-pop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--surface); }
.quote .who-pop img { position: absolute; left: 0; bottom: 0; width: 64px; height: 77px; object-fit: cover; object-position: top; border-radius: 0 0 32px 32px; }
.c-lav { background: var(--lav, #E3DCFF); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-lav { --lav: #3A2F6B; } }
:root[data-theme="dark"] .c-lav { --lav: #3A2F6B; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } .quote, .quote:nth-child(4) { grid-column: auto; } }
@media (max-width: 600px) { .quotes { grid-template-columns: 1fr; } .quote { transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .quote { transform: none !important; } }

/* iMessage shows only on Apple devices */
html:not(.is-apple) .apple-only, html:not(.is-apple) .apple-inline { display: none !important; }
.quotes.cs-quotes { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-top: 14px; }
.quotes.cs-quotes .quote { grid-column: auto; transform: rotate(-.6deg); }

/* Blog */
.blog-hero h1 { max-width: 20ch; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.blog-chip { font: inherit; font-weight: 600; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.blog-chip:hover { border-color: var(--ink); }
.blog-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.blog-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.blog-list-wrap { padding-top: 0; }
.blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); color: var(--ink); text-decoration: none; min-width: 0; border: 2px solid transparent; transition: transform .2s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.post-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.post-card[hidden] { display: none; }
.post-card-cat { align-self: flex-start; background: var(--surface); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 700; }
.post-card h2 { font-size: 1.3rem; line-height: 1.2; margin: 0; }
.post-card p { margin: 0; font-size: .98rem; flex: 1; }
.post-card-meta { font-weight: 700; font-size: .9rem; }
@media (max-width: 980px) { .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } .post-card:hover { transform: none; } }

.post-hero { padding-block: clamp(24px, 4vw, 48px) 8px; }
.post-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; max-width: 22ch; margin-top: 8px; }
.post-hero .lede { max-width: 60ch; margin-top: 16px; }
.post-meta { color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: 14px; }
.post-layout { padding-bottom: 40px; }
.post-body { max-width: 72ch; }
.post-body > h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 1.8em; }
.post-body > p, .post-body li { font-size: 1.08rem; line-height: 1.7; }
.post-body > p, .post-body > ul, .post-body > ol { margin: 0 0 1em; }
.post-body > h2 + p, .post-body > h3 + p { margin-top: 0.4em; }
.post-body > h3 { margin-top: 1.4em; }
.post-body a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.takeaways { background: var(--sun); border-radius: var(--r-lg); padding: 20px 24px; margin-top: 8px; }
.takeaways h2 { font-size: 1.2rem; margin: 0 0 8px; }
.takeaways ul { margin: 0; }
.takeaways li { font-size: 1.02rem; }
.post-body .tip { background: var(--mint); border-radius: var(--r-md); padding: 14px 18px; margin: 22px 0; }
.post-body .tip p { margin: 0; }
.post-body .faq { margin-top: 14px; }
.post-cta { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; margin-top: 28px; font-weight: 600; }
.sources { font-size: .95rem; color: var(--muted); padding-left: 1.3em; }
.sources li { font-size: .95rem !important; line-height: 1.5 !important; margin-bottom: 6px; overflow-wrap: anywhere; }
.sources a { color: var(--ink); }
.nav a.navlink { white-space: nowrap; }
@media (max-width: 1040px) { .nav a.navlink { display: none; } }

/* Mobile menu */
.menu-btn { display: none; font: inherit; font-weight: 700; min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; }
.menu-ico::before { top: -6px; } .menu-ico::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-ico { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1.5px solid var(--line); background: var(--bg); }
.mobile-menu .wrap { display: grid; padding-block: 8px 16px; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (max-width: 1040px) { .menu-btn { display: inline-flex; } }
@media (min-width: 1041px) { .mobile-menu { display: none !important; } }
@media (max-width: 440px) { .menu-txt { display: none; } .menu-btn { padding: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .menu-ico, .menu-ico::before, .menu-ico::after { transition: none; } }
.topbar .mobile-menu .wrap { display: grid; justify-content: stretch; min-height: 0; gap: 0; }
.post-card-img { width: calc(100% + 48px); max-width: none; align-self: stretch; margin: -24px -24px 6px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; display: block; }
.post-cover { margin: 8px 0 clamp(16px, 3vw, 32px); max-width: 880px; }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); display: block; }
/* Blog slider on the homepage */
.bs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.bs-head > div:first-child { max-width: 640px; }
.bs-controls { display: flex; align-items: center; gap: 12px; }
.bs-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease; }
.bs-btn:hover { background: var(--ink); color: var(--bg); }
.bs-btn:focus-visible, .bs-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bs-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bs-all { font-weight: 700; color: var(--accent); margin-left: 6px; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.bs-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.bs-track::-webkit-scrollbar { display: none; }
.bs-card { scroll-snap-align: start; }
.post-card h3 { font-size: 1.3rem; line-height: 1.2; margin: 0; }
.bs-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.bs-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .25s ease, background .25s ease; }
.bs-dots button.on { background: var(--accent); width: 26px; border-radius: 6px; }
@media (max-width: 900px) { .bs-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .bs-track { grid-auto-columns: 86%; gap: 16px; } .bs-controls .bs-btn { display: none; } .bs-all { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .bs-track { scroll-behavior: auto; } }
/* Little waving flags on the hero sticker */
.sticker-note .flags { position: absolute; left: 12px; bottom: calc(100% - 4px); display: flex; align-items: flex-end; gap: 7px; pointer-events: none; }
.sticker-note .flag { position: relative; display: block; width: 30px; height: 46px; }
.sticker-note .flag::before { content: ""; position: absolute; left: 0; bottom: 0; width: 2px; height: 100%; border-radius: 2px; background: #7A5A33; }
.sticker-note .flag::after { content: ""; position: absolute; left: -1.5px; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: #E2B44A; }
.sticker-note .flag:nth-child(1) { transform: rotate(-9deg); height: 44px; }
.sticker-note .flag:nth-child(2) { transform: rotate(-3deg); height: 50px; }
.sticker-note .flag:nth-child(3) { transform: rotate(4deg); height: 47px; }
.sticker-note .flag:nth-child(4) { transform: rotate(10deg); height: 43px; }
.sticker-note .cloth { position: absolute; left: 2px; top: 1px; width: 27px; height: 18px; overflow: hidden; border-radius: 1px 3px 3px 1px; box-shadow: 0 1px 3px rgba(29, 27, 58, .25); transform-origin: 0 50%; animation: flag-wave 2.6s ease-in-out infinite; }
.sticker-note .cloth svg { display: block; width: 100%; height: 100%; }
.sticker-note .cloth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.28) 18%, rgba(0,0,0,.12) 36%, rgba(255,255,255,0) 52%, rgba(255,255,255,.25) 70%, rgba(0,0,0,.12) 88%, rgba(255,255,255,0) 100%); background-size: 200% 100%; animation: flag-shine 2.6s linear infinite; }
.sticker-note .flag:nth-child(2) .cloth, .sticker-note .flag:nth-child(2) .cloth::after { animation-delay: -.6s; }
.sticker-note .flag:nth-child(3) .cloth, .sticker-note .flag:nth-child(3) .cloth::after { animation-delay: -1.3s; }
.sticker-note .flag:nth-child(4) .cloth, .sticker-note .flag:nth-child(4) .cloth::after { animation-delay: -1.9s; }
@keyframes flag-wave {
	0%, 100% { transform: perspective(60px) rotateY(0deg) skewY(0deg); }
	25% { transform: perspective(60px) rotateY(-14deg) skewY(-4deg); }
	50% { transform: perspective(60px) rotateY(4deg) skewY(2deg); }
	75% { transform: perspective(60px) rotateY(-10deg) skewY(4deg); }
}
@keyframes flag-shine { from { background-position: 0 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sticker-note .cloth, .sticker-note .cloth::after { animation: none; } }
@media (max-width: 820px) { .sticker-note .flags { left: 8px; gap: 5px; transform: scale(.85); transform-origin: 0 100%; } }
.chips li:has(a) { padding: 0; }
.chips a { display: inline-block; padding: 6px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; transition: background .2s ease, color .2s ease; }
.chips a span { color: var(--accent); margin-left: 2px; }
.chips a:hover { background: var(--ink); color: var(--bg); }
.chips a:hover span { color: inherit; }
.chips a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Partnership band */
.partner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); }
.partner .h2 { margin-top: 6px; }
.partner .lede { margin-top: 12px; max-width: 60ch; }
.partner .chips { margin-top: 18px; }
.partner .hero-actions { margin-top: 20px; }
.partner-logo { justify-self: center; display: inline-flex; align-items: center; gap: 16px; background: #FBFAF6; border-radius: var(--r-lg); padding: 22px 30px; text-decoration: none; box-shadow: 0 10px 30px rgba(31, 61, 43, .12); transition: transform .2s ease; }
.partner-logo:hover { transform: translateY(-2px); }
.partner-logo:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.partner-logo svg { width: 64px; height: 64px; flex: none; }
.cult-word { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -0.045em; color: #1F3D2B; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; }
.cult-word span { color: #A8C63F; }
@media (max-width: 820px) { .partner { grid-template-columns: 1fr; } .partner-logo { justify-self: start; order: -1; padding: 14px 20px; } .partner-logo svg { width: 48px; height: 48px; } .cult-word { font-size: 2rem; } }
/* Work page hero: client sites instead of a portrait */
.page-visual.work-visual { padding: 22px 22px 34px; transform: rotate(-1deg); }
.page-visual.work-visual .polaroid img { border-radius: 4px; }
.page-visual.work-visual .site-phone { width: 26%; border-radius: 14px; }
@media (max-width: 820px) { .page-visual.work-visual { transform: none; } }
