/*
Theme Name: Devscrate
Theme URI: https://devscrate.com/
Author: Devscrate
Description: A clean, modern portfolio theme for showcasing apps and digital products. Includes a Products post type, platform filters, product pages, blog, contact form and light/dark mode.
Version: 1.1.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: devscrate
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

	--bg: #ffffff;
	--bg-soft: #fafafa;
	--bg-muted: #f4f4f5;
	--surface: #ffffff;
	--surface-2: #fafafa;
	--border: #e8e8ec;
	--border-strong: #d4d4d8;
	--text: #0b0b0f;
	--text-2: #52525b;
	--text-3: #71717a;
	--primary: #18181b;
	--primary-hover: #27272a;
	--primary-fg: #ffffff;
	--brand: #5b5bd6;
	--accent: var(--brand);
	--success: #16a34a;
	--warning: #d97706;
	--danger: #dc2626;
	--ring: color-mix(in srgb, var(--brand) 55%, transparent);

	--shadow-sm: 0 1px 2px rgb(16 16 24 / 0.05);
	--shadow-md: 0 1px 2px rgb(16 16 24 / 0.04), 0 6px 20px -6px rgb(16 16 24 / 0.10);
	--shadow-lg: 0 2px 4px rgb(16 16 24 / 0.04), 0 24px 60px -18px rgb(16 16 24 / 0.22);

	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 18px;
	--radius-xl: 24px;

	--container: 1160px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 64px;

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #09090b;
	--bg-soft: #0c0c0f;
	--bg-muted: #111115;
	--surface: #111114;
	--surface-2: #16161a;
	--border: #222228;
	--border-strong: #303038;
	--text: #f4f4f5;
	--text-2: #a1a1aa;
	--text-3: #8a8a93;
	--primary: #f4f4f5;
	--primary-hover: #ffffff;
	--primary-fg: #09090b;
	--brand: #8b8bf5;
	--shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
	--shadow-md: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px -8px rgb(0 0 0 / 0.6);
	--shadow-lg: 0 2px 4px rgb(0 0 0 / 0.4), 0 30px 70px -20px rgb(0 0 0 / 0.75);
	color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	transition: background-color .25s var(--ease), color .25s var(--ease);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
svg.icon { flex: none; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
	border-radius: 6px;
}

::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	background: var(--primary);
	color: var(--primary-fg);
	font-weight: 600;
}
.skip-link:focus { top: 12px; }

.site-main:focus { outline: none; }

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

/* ==========================================================================
   Buttons, chips, badges
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 550;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn--lg { height: 48px; padding: 0 24px; font-size: 16px; }

.btn--primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); }

.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 8px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 38px; height: 38px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--text-2);
	transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.icon-btn:hover { background: var(--bg-muted); color: var(--text); }

.chip {
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-2);
	font-size: 14px;
	font-weight: 500;
	transition: all .15s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 10px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-2);
	font-size: 12px;
	font-weight: 550;
	white-space: nowrap;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent); }
.badge--beta .badge__dot { background: var(--warning); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 18%, transparent); }
.badge--soon .badge__dot { background: var(--text-3); box-shadow: none; }

.tag {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--bg-muted);
	color: var(--text-2);
	font-size: 12px;
	font-weight: 550;
	transition: color .15s, background-color .15s;
}
.tag:hover { color: var(--text); background: color-mix(in srgb, var(--bg-muted) 70%, var(--border-strong)); }

.kicker {
	margin-bottom: 10px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
}
.kicker a:hover { text-decoration: underline; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-2);
	font-size: 15px;
	font-weight: 550;
	transition: color .15s, gap .15s var(--ease);
}
.link-arrow:hover { color: var(--text); gap: 9px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	border-bottom: 1px solid transparent;
	background: color-mix(in srgb, var(--bg) 80%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 650;
	letter-spacing: -0.02em;
}
.brand-mark {
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 9px;
	background: var(--primary);
	color: var(--primary-fg);
}
.brand-logo { width: auto; max-height: 30px; }

.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-link {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--text-2);
	font-size: 15px;
	font-weight: 500;
	transition: color .15s, background-color .15s;
}
.nav-link:hover { color: var(--text); background: var(--bg-muted); }
.nav-link[aria-current="page"] { color: var(--text); }

.site-header__actions { display: flex; align-items: center; gap: 6px; }

.theme-toggle__moon,
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }

.nav-toggle { display: none; }
.nav-toggle__close { display: none; }

@media (max-width: 820px) {
	.site-header__cta { display: none; }
	.nav-toggle { display: inline-grid; }
	.site-header__actions { margin-left: auto; }

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		margin: 0;
		padding: 12px var(--gutter) 24px;
		border-bottom: 1px solid var(--border);
		background: var(--bg);
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav .nav-link { height: 48px; padding: 0 12px; font-size: 17px; border-radius: var(--radius-sm); }

	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: 0 clamp(24px, 4vw, 48px); }
.section--flush-top { padding-top: 0; }
.section--muted { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--filters { justify-content: flex-start; }

.section-title {
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	letter-spacing: -0.03em;
}

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

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(72px, 12vw, 148px) clamp(56px, 8vw, 96px);
	text-align: center;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, var(--border) 1px, transparent 1px),
		linear-gradient(to bottom, var(--border) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
	opacity: .7;
}
.hero__bg::after {
	content: "";
	position: absolute;
	left: 50%; top: -20%;
	width: min(900px, 120vw); height: 520px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent);
	filter: blur(20px);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 14px;
	margin-bottom: 28px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--surface) 80%, transparent);
	color: var(--text-2);
	font-size: 13px;
	font-weight: 550;
	box-shadow: var(--shadow-sm);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }

.hero__title {
	max-width: 15ch;
	font-size: clamp(2.5rem, 7vw, 4.75rem);
	font-weight: 680;
	line-height: 1.02;
	letter-spacing: -0.045em;
}
.hero__text {
	max-width: 58ch;
	margin-top: 24px;
	color: var(--text-2);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.6;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
}

/* Spotlight -------------------------------------------------------------- */

.spotlight {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
		var(--surface);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}
.spotlight__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.spotlight__label { color: var(--accent); font-size: 13px; font-weight: 600; }
.spotlight__title { font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.03em; }
.spotlight__tagline { color: var(--text-2); font-size: 1.075rem; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.spotlight__fine { margin-top: 16px; color: var(--text-3); font-size: 13px; }
.spotlight__media { min-width: 0; }

.checklist { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.checklist strong { color: var(--text); font-weight: 600; }
.checklist .icon {
	width: 20px; height: 20px;
	margin-top: 1px;
	padding: 3px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	color: var(--accent);
	stroke-width: 2.6;
}

.shot {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--bg-muted);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.shot img { width: 100%; height: auto; }
a.shot:hover, .shot--button:hover { transform: translateY(-3px); }
.shot--button { cursor: zoom-in; }
.shot--empty { display: grid; place-items: center; aspect-ratio: 16 / 10; box-shadow: none; }

@media (max-width: 900px) {
	.spotlight { grid-template-columns: 1fr; }
	.spotlight__media { order: -1; }
}

/* App icon --------------------------------------------------------------- */

.app-icon {
	--size: 48px;
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: var(--size); height: var(--size);
	border-radius: 24%;
	background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 85%, #fff), var(--accent));
	color: #fff;
	overflow: hidden;
	box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 6px 16px -6px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 0 0 1px rgb(255 255 255 / .12);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon:has(img) { background: var(--surface); }
.app-icon__letter { font-size: calc(var(--size) * .44); font-weight: 700; letter-spacing: -0.03em; }
.app-icon--lg { --size: 60px; }
.app-icon--xl { --size: 84px; }
.app-icon--ghost {
	background: var(--bg-muted);
	color: var(--text-3);
	box-shadow: inset 0 0 0 1px var(--border);
}

/* Product grid & card ---------------------------------------------------- */

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 16px;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 236px;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
	opacity: 0;
	transition: opacity .25s var(--ease);
	pointer-events: none;
}
.product-card:not(.product-card--ghost):hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
	box-shadow: var(--shadow-md);
}
.product-card:hover::before { opacity: 1; }
.product-card:focus-within { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.product-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.product-card__title { font-size: 1.2rem; letter-spacing: -0.02em; }
.product-card__title a:focus-visible { outline: none; }
.product-card__text { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.product-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 20px;
	color: var(--text-3);
	font-size: 13px;
	font-weight: 500;
}
.product-card__arrow {
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--bg-muted);
	color: var(--text-2);
	transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.product-card:hover .product-card__arrow { background: var(--accent); color: #fff; transform: translateX(2px); }
.product-card--ghost { border-style: dashed; background: transparent; box-shadow: none; }
.product-card--ghost .product-card__text { color: var(--text-3); }
.product-card.is-hidden { display: none; }

.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched-link:focus-visible::after { outline: 2px solid var(--ring); outline-offset: 2px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-empty { padding: 32px 0; color: var(--text-3); text-align: center; }

/* Values ----------------------------------------------------------------- */

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value {
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.value__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px; height: 40px;
	margin-bottom: 18px;
	border: 1px solid var(--border);
	border-radius: 11px;
	background: var(--surface-2);
	color: var(--text);
}
.value__title { font-size: 1.075rem; }
.value__text { margin-top: 8px; color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Posts ------------------------------------------------------------------ */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 16px;
}
.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--bg-muted); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.post-card__title { font-size: 1.15rem; line-height: 1.3; }
.post-card__excerpt { color: var(--text-2); font-size: 15px; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; font-weight: 500; }

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

.cta-band {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding: clamp(28px, 5vw, 56px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(70% 120% at 100% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
		var(--bg-soft);
	overflow: hidden;
}
.cta-band__title { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; }
.cta-band__text { max-width: 52ch; margin-top: 8px; color: var(--text-2); }
.cta-band__lead { display: flex; align-items: center; gap: 20px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero -------------------------------------------------------------- */

.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.page-hero__title { max-width: 20ch; font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1.05; }
.page-hero__text { max-width: 60ch; margin-top: 16px; color: var(--text-2); font-size: 1.125rem; }

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 420px;
	margin-top: 28px;
}
.search-form .icon { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }
.search-form input {
	width: 100%;
	height: 44px;
	padding: 0 16px 0 42px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: border-color .15s, box-shadow .15s;
}
.search-form input:focus { outline: none; border-color: var(--border-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }

/* Product page ----------------------------------------------------------- */

.product-hero {
	position: relative;
	padding-block: clamp(32px, 5vw, 56px) clamp(40px, 6vw, 64px);
	overflow: hidden;
}
.product-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(60% 70% at 15% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.breadcrumbs { margin-bottom: clamp(28px, 4vw, 44px); }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 14px; font-weight: 500; transition: color .15s; }
.breadcrumbs a:hover { color: var(--text); }

.product-hero__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; margin-bottom: 24px; }
.product-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.product-hero__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 680; letter-spacing: -0.045em; line-height: 1.02; }
.product-hero__tagline { max-width: 52ch; margin-top: 16px; color: var(--text-2); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.facts dt { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 550; }

.product-shot { max-width: 1040px; margin: 0 auto clamp(16px, 3vw, 32px); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.feature__icon {
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	margin-bottom: 16px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	color: var(--accent);
}
.feature__icon .icon { stroke-width: 2.6; }
.feature__title { font-size: 1rem; }
.feature__text { margin-top: 6px; color: var(--text-2); font-size: 15px; }

.shots {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(80%, 560px);
	gap: 16px;
	padding-bottom: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
}
.shots__item {
	scroll-snap-align: start;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-muted);
	overflow: hidden;
	cursor: zoom-in;
}
.shots__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .4s var(--ease); }
.shots__item:hover img { transform: scale(1.02); }

/* Lightbox --------------------------------------------------------------- */

.lightbox {
	width: min(1400px, 94vw);
	max-width: none;
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: transparent;
	overflow: visible;
}
.lightbox::backdrop { background: rgb(0 0 0 / .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; border-radius: var(--radius-lg); }
.lightbox__close { position: absolute; top: -48px; right: 0; background: rgb(255 255 255 / .12); color: #fff; }
.lightbox__close:hover { background: rgb(255 255 255 / .22); color: #fff; }
.lightbox[open] { animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }

/* Article / prose -------------------------------------------------------- */

.article__header { padding-block: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 40px); }
.article__title { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1.08; }
.article__media { margin: 0 auto clamp(32px, 5vw, 56px); }
.article__media img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }

.prose { color: var(--text); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose--narrow { max-width: 720px; }
.prose .has-large-font-size { color: var(--text); font-size: clamp(1.25rem, 2.2vw, 1.5rem) !important; line-height: 1.5; letter-spacing: -0.01em; }
.prose h2 { margin-top: 2em; font-size: 1.6rem; letter-spacing: -0.025em; }
.prose h3 { margin-top: 1.75em; font-size: 1.25rem; }
.prose h4 { margin-top: 1.5em; font-size: 1.075rem; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 50%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--text-3); }
.prose blockquote, .prose .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--brand);
	color: var(--text);
	font-size: 1.15rem;
}
.prose blockquote p { color: var(--text); }
.prose cite { display: block; margin-top: 8px; color: var(--text-3); font-size: .9rem; font-style: normal; }
.prose code {
	padding: .15em .4em;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--bg-muted);
	font-family: var(--font-mono);
	font-size: .875em;
}
.prose pre {
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-muted);
	overflow-x: auto;
	font-size: .9rem;
	line-height: 1.6;
}
.prose pre code { padding: 0; border: 0; background: none; }
.prose img, .prose figure img { border-radius: var(--radius); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 10px; color: var(--text-3); font-size: .875rem; text-align: center; }
.prose hr { margin-block: 2.5em; border: 0; border-top: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { color: var(--text); font-weight: 600; }
.prose .wp-block-button__link {
	display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
	border-radius: 999px; background: var(--primary); color: var(--primary-fg);
	font-size: 15px; font-weight: 550; text-decoration: none;
}
.prose .is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--border); }
.prose .alignwide { margin-inline: calc(-1 * min(120px, (100vw - 720px) / 2 - var(--gutter))); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.prose .alignfull img { border-radius: 0; }
.prose .wp-block-image.aligncenter, .prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .wp-block-columns { gap: 24px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-nav__link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.post-nav__link:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.post-nav__link span { color: var(--text-3); font-size: 13px; font-weight: 500; }
.post-nav__link--next { grid-column: 2; text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: 1; } }

/* Comments --------------------------------------------------------------- */

.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.comments__title, .comment-reply-title { margin-bottom: 20px; font-size: 1.25rem; }
.comment-list { margin: 0 0 40px; padding: 0; list-style: none; }
.comment-list .children { margin-left: 24px; padding: 0; list-style: none; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-meta a, .comment-metadata { color: var(--text-3); font-size: 13px; }
.comment-content { margin-top: 8px; color: var(--text-2); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 550; }

/* Forms ------------------------------------------------------------------ */

.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__aside { display: grid; gap: 24px; }
.contact__card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.contact__card .value__icon { margin: 0; }
.contact__card a { font-weight: 600; word-break: break-all; }
.contact__card a:hover { text-decoration: underline; }
.contact__label { color: var(--text-3); font-size: 13px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact .form { order: -1; } }

.form {
	display: grid;
	gap: 18px;
	padding: clamp(22px, 4vw, 36px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form .btn { justify-self: start; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field label, .comment-form label { display: block; margin-bottom: 6px; color: var(--text); font-size: 14px; font-weight: 550; }
.field input, .field select, .field textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	font-size: 15px;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea, .comment-form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field select:focus, .field textarea:focus,
.comment-form input:focus, .comment-form textarea:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--brand) 60%, var(--border));
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { margin-top: 6px; color: var(--danger); font-size: 13px; }

.notice { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; }
.notice--success { background: color-mix(in srgb, var(--success) 12%, transparent); color: color-mix(in srgb, var(--success) 75%, var(--text)); }
.notice--error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: color-mix(in srgb, var(--danger) 80%, var(--text)); }

/* Empty / 404 ------------------------------------------------------------ */

.empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 64px 24px;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius-xl);
	text-align: center;
}
.empty h1, .empty h2 { font-size: 1.5rem; }
.empty p { max-width: 46ch; color: var(--text-2); }
.empty .btn, .empty .hero__actions { margin-top: 14px; }
.empty__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-muted); color: var(--text-2); }
.empty--page { border: 0; padding-block: clamp(48px, 10vw, 120px); }
.empty--page h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; }
.empty__code { color: var(--accent); font-family: var(--font-mono); font-size: 14px; font-weight: 600; }

/* Pagination ------------------------------------------------------------- */

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--text-2);
	font-size: 14px;
	font-weight: 550;
}
.pagination .page-numbers:hover { border-color: var(--border-strong); color: var(--text); }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

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

.site-footer { padding-block: 64px 32px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand p { max-width: 36ch; margin-top: 14px; color: var(--text-2); font-size: 15px; }
.site-footer__heading { margin-bottom: 14px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.site-footer__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__col a, .site-footer__col .nav-link { display: inline; height: auto; padding: 0; border-radius: 0; color: var(--text-2); font-size: 15px; font-weight: 400; transition: color .15s; }
.site-footer__col a:hover { color: var(--text); background: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
.site-footer__bottom a:hover { color: var(--text); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

.social { display: flex; gap: 4px; margin: 20px 0 0 -8px; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--text-3); transition: color .15s, background-color .15s; }
.social a:hover { color: var(--text); background: var(--bg-muted); }
.contact__aside .social { margin-top: 0; }

/* Motion ----------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.rise { animation: rise .8s var(--ease) both; }
.hero .rise:nth-child(2) { animation-delay: .06s; }
.hero .rise:nth-child(3) { animation-delay: .12s; }
.hero .rise:nth-child(4) { animation-delay: .18s; }
.spotlight.rise { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.values .reveal:nth-child(2), .features .reveal:nth-child(2) { transition-delay: .06s; }
.values .reveal:nth-child(3), .features .reveal:nth-child(3) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core --------------------------------------------------------- */

.wp-caption-text, .gallery-caption { color: var(--text-3); font-size: .875rem; }
.sticky, .bypostauthor { display: block; }

/* ==========================================================================
   Home sections (v1.1)
   ========================================================================== */

.app-icon--xs { --size: 26px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.app-icon--xs .app-icon__letter { font-size: 12px; }

/* Trust strip */
.trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	color: var(--text-3);
	font-size: 14px;
	font-weight: 500;
}
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--success); stroke-width: 2.4; }
.hero .rise:nth-child(5) { animation-delay: .24s; }

/* Stats */
.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background: var(--surface);
	overflow: hidden;
}
.stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(20px, 3vw, 32px); }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__value { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 680; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--text-3); font-size: 14px; font-weight: 500; }
@media (max-width: 760px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

/* What I build */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } }
.cat {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cat:not(.cat--soon):hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.cat--soon { background: transparent; border-style: dashed; }
.cat--soon .cat__title, .cat--soon .value__icon { color: var(--text-2); }
.cat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cat__top .value__icon { margin-bottom: 18px; }
.cat__count { color: var(--text-3); font-size: 13px; font-weight: 500; }
.cat__title { font-size: 1.075rem; }
.cat__text { margin-top: 6px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.cat__list { display: grid; gap: 4px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); list-style: none; }
.cat__list a { display: flex; align-items: center; gap: 10px; margin-inline: -8px; padding: 6px 8px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 550; transition: background-color .15s; }
.cat__list a:hover { background: var(--bg-muted); }
.cat__list a .icon { margin-left: auto; color: var(--text-3); transition: transform .2s var(--ease); }
.cat__list a:hover .icon { transform: translateX(2px); color: var(--text); }

/* Now building */
.now {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: center;
	gap: 32px 56px;
	padding: clamp(28px, 5vw, 48px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(60% 100% at 0% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
		var(--surface);
}
.now__label { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 13px; font-weight: 600; }
.now__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.now__pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.now__title { margin-top: 12px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -0.035em; }
.now__text { max-width: 48ch; margin: 10px 0 24px; color: var(--text-2); font-size: 1.05rem; }
.progress { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.progress__step { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--text-3); font-size: 15px; font-weight: 550; }
.progress__step:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 34px; bottom: -10px; width: 2px; background: var(--border); }
.progress__step.is-done::after { background: var(--brand); }
.progress__dot { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 2px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: #fff; }
.progress__step.is-done { color: var(--text-2); }
.progress__step.is-done .progress__dot { border-color: var(--brand); background: var(--brand); }
.progress__step.is-done .progress__dot .icon { stroke-width: 3; }
.progress__step.is-current { color: var(--text); }
.progress__step.is-current .progress__dot { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.progress__step.is-current .progress__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
@media (max-width: 760px) { .now { grid-template-columns: 1fr; } }

/* Principles (two-column) */
.principles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.principles__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.principles__story { margin-top: 16px; color: var(--text-2); font-size: 1.075rem; }
.principles__intro .link-arrow { margin-top: 28px; }
.principles__list { display: grid; gap: 12px; }
.principle {
	display: flex;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.principle .value__icon { margin: 0; }
.stack { margin-top: 28px; }
.stack__label { margin-bottom: 10px; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.stack__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stack__list li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-2);
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 500;
}
.stack__list .icon { color: var(--text-3); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } .principles__intro { position: static; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.quote {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.quote__mark { position: absolute; top: 10px; right: 22px; color: var(--border-strong); font-family: Georgia, serif; font-size: 64px; line-height: 1; }
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--text); font-size: 1.05rem; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; font-size: 14px; }
.quote figcaption span span { color: var(--text-3); font-size: 13px; }
.quote__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-muted); color: var(--text-2); font-weight: 650; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-wrap__text { margin-top: 14px; color: var(--text-2); }
.faq-wrap__text a { color: var(--text); font-weight: 550; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.faq-wrap__text a:hover { text-decoration-color: var(--text); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	list-style: none;
	cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--text); }
.faq__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-muted); color: var(--text-2); transition: transform .25s var(--ease), background-color .15s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--primary); color: var(--primary-fg); }
.faq__a { padding: 0 48px 22px 0; color: var(--text-2); }
.faq__item[open] .faq__a { animation: faq-in .3s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* Connect: newsletter + contact */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .connect { grid-template-columns: 1fr; } }
.connect__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background: var(--bg-soft);
}
.connect__card--news { background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%), var(--surface); }
.connect__card .cta-band__text { margin-bottom: 24px; }
.connect__actions { margin-top: auto; }
.subscribe { width: 100%; margin-top: auto; }
.subscribe__row { display: flex; gap: 8px; }
.subscribe input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
	font-size: 15px;
	transition: border-color .15s, box-shadow .15s;
}
.subscribe input[type="email"]:focus { outline: none; border-color: color-mix(in srgb, var(--brand) 60%, var(--border)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
.subscribe__msg { margin-top: 10px; font-size: 14px; font-weight: 500; }
.subscribe__msg--success { color: var(--success); }
.subscribe__msg--error { color: var(--danger); }
@media (max-width: 420px) { .subscribe__row { flex-direction: column; } .subscribe .btn { width: 100%; } }
