/* =============================================================
   Vargar — fonts (self-hosted, SIL Open Font License)
   ============================================================= */
@font-face {
	font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800;
	src: url(../fonts/sora-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Sora"; font-style: normal; font-display: swap; font-weight: 100 800;
	src: url(../fonts/sora-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
	src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
	src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
	src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
	src: url(../fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* =============================================================
   Design tokens
   ============================================================= */
:root {
	--pine-950: #0e1b16;
	--pine-900: #13241e;
	--pine-850: #172b24;
	--pine-800: #1c342c;
	--pine-700: #2a463c;
	--snow-50:  #f7f5f0;
	--snow-100: #efece3;
	--snow-200: #e7e3d7;
	--ink-900:  #16211d;
	--slate-600:#4f5f5a;
	--slate-500:#6b7a75;
	--ice-400:  #7fa3ad;
	--ice-300:  #a9c6cd;
	--ice-200:  #c9dcdf;
	--ember-600:#cf6f2c;
	--ember-500:#e2833f;
	--ember-400:#ec9a5c;
	--ember-100:#fbe8d9;
	--line-200: #e2ddd0;
	--line-800: #24352e;

	/* logo colours, overridden on dark grounds */
	--ink: var(--pine-950);
	--ember: var(--ember-500);
	--cut: var(--snow-50);

	--font-display: "Sora", "Avenir Next", "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono", monospace;

	--wrap: min(1200px, 100% - 3rem);
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(14,27,22,0.06), 0 1px 1px rgba(14,27,22,0.04);
	--shadow-md: 0 1px 2px rgba(14,27,22,0.05), 0 12px 32px -14px rgba(14,27,22,0.22);
	--shadow-lg: 0 2px 4px rgba(14,27,22,0.05), 0 28px 60px -24px rgba(14,27,22,0.35);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dark grounds recolour the logo and anything else using --ink/--cut */
.hero, .page-hero, .section--dark, .site-footer, .cta-band {
	--ink: var(--snow-50);
	--cut: var(--pine-950);
	--ember: var(--ember-400);
}

/* =============================================================
   Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
	margin: 0;
	background: var(--snow-50);
	color: var(--ink-900);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 {
	font-family: var(--font-display); font-weight: 650; line-height: 1.1;
	margin: 0 0 0.5em; letter-spacing: -0.025em; text-wrap: balance;
}
h3 { letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
::selection { background: var(--ember-400); color: var(--pine-950); }

.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;
}

.skip-link {
	position: fixed; top: -3rem; left: 1rem; z-index: 200;
	background: var(--pine-950); color: var(--snow-50);
	padding: 0.6rem 1rem; border-radius: 0 0 8px 8px; transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 0.7rem;
	font-family: var(--font-mono);
	font-size: 0.74rem; font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ember-600);
	margin: 0 0 1.1em;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; flex: none; }
.section__head--light .eyebrow,
.hero .eyebrow, .page-hero .eyebrow, .site-footer .eyebrow { color: var(--ember-400); }
.contact-card .eyebrow::before, .site-footer .eyebrow::before { display: none; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	background: var(--ember-500); color: var(--pine-950);
	font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; line-height: 1.2;
	text-decoration: none; text-align: center;
	padding: 0.9rem 1.5rem; border-radius: 999px;
	border: 1px solid var(--ember-500);
	box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 20px -10px rgba(226,131,63,0.7);
	transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}
.btn::after {
	content: "→"; font-family: var(--font-body); display: inline-block;
	transition: transform 0.2s var(--ease);
}
.btn:hover { background: var(--ember-400); border-color: var(--ember-400); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 28px -12px rgba(226,131,63,0.75); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
	background: rgba(247,245,240,0.04); color: var(--snow-50); border-color: rgba(247,245,240,0.22); box-shadow: none;
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: rgba(247,245,240,0.1); border-color: rgba(247,245,240,0.5); box-shadow: none; }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--sm::after { display: none; }
.btn--outline { background: transparent; color: var(--pine-950); border-color: var(--line-200); box-shadow: none; }
.btn--outline:hover { background: var(--pine-950); color: var(--snow-50); border-color: var(--pine-950); box-shadow: none; }

/* =============================================================
   Header
   ============================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(247,245,240,0.82);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
	background: rgba(247,245,240,0.92);
	border-bottom-color: var(--line-200);
	box-shadow: 0 10px 30px -20px rgba(14,27,22,0.35);
}
.site-header__inner {
	display: flex; align-items: center; gap: 1.75rem;
	padding: 0.95rem 0;
}
.brand {
	display: inline-flex; align-items: center;
	text-decoration: none; color: var(--ink-900);
	margin-right: auto; flex: none;
	border-radius: 6px;
}
.brand__lockup { height: 34px; width: auto; }
.brand__mark { width: 30px; height: 30px; }
/* The prompt cursor blinks where the page animates; at rest and in every
   static use it is shown solid. */
@media (prefers-reduced-motion: no-preference) {
	.pack__mark .cursor, .brand:hover .cursor, .brand:focus-visible .cursor { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 0.25rem; }
.nav__list a {
	display: block; text-decoration: none; font-weight: 500; font-size: 0.94rem; color: var(--slate-600);
	padding: 0.45rem 0.8rem; border-radius: 999px;
	transition: color 0.15s ease, background 0.15s ease;
}
.nav__list a:hover { color: var(--ink-900); background: rgba(14,27,22,0.05); }
.nav__list .current-menu-item a { color: var(--ink-900); background: rgba(14,27,22,0.07); }

.site-header__cta { flex: none; }

.nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 42px; height: 42px; background: #fff; border: 1px solid var(--line-200);
	border-radius: 12px; cursor: pointer; flex: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink-900); margin-inline: auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	display: none; flex-direction: column; gap: 1.25rem;
	padding: 1rem 1.5rem 1.75rem;
	border-top: 1px solid var(--line-200);
	background: var(--snow-50);
}
.mobile-nav__list { list-style: none; display: flex; flex-direction: column; }
.mobile-nav__list a { display: block; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; padding: 0.7rem 0; border-bottom: 1px solid var(--line-200); }
.mobile-nav__list .current-menu-item a { color: var(--ember-600); }
.mobile-nav .btn { align-self: flex-start; }
.mobile-nav.is-open { display: flex; animation: drop 0.25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1100px) {
	.nav, .site-header__cta, .site-header__inner > .lang-switch { display: none; }
	.nav-toggle { display: flex; }
	.brand__lockup { height: 30px; }
}

/* =============================================================
   Shared dark-hero atmosphere
   ============================================================= */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--pine-950); color: var(--snow-50); }
.hero::before, .page-hero::before {
	/* fine engineering grid, faded out towards the edges */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(169,198,205,0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(169,198,205,0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: -1px -1px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero::after, .page-hero::after {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(226,131,63,0.22), rgba(226,131,63,0.06) 55%, transparent);
}
.hero__bg {
	position: absolute; z-index: -1; pointer-events: none;
	width: 640px; height: 640px; left: -260px; bottom: -340px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(127,163,173,0.16), transparent);
}

/* =============================================================
   Hero (home)
   ============================================================= */
.hero__inner {
	display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
	gap: 3rem; padding: 5.5rem 0 4.5rem;
}
.hero__title {
	font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.1rem);
	font-weight: 650;
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--snow-50);
	max-width: 15ch;
	margin-bottom: 0.45em;
}
.hero__title em, .page-hero h1 em { font-style: normal; color: var(--ember-400); }
.hero__lede { font-size: 1.15rem; line-height: 1.6; color: var(--ice-300); max-width: 48ch; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero__facts {
	list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(169,198,205,0.14);
	font-size: 0.88rem; color: var(--ice-300);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__facts li::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ec48a;
	box-shadow: 0 0 0 3px rgba(94,196,138,0.18);
}
.hero__graphic { display: flex; justify-content: center; }

.pack { width: min(460px, 100%); overflow: visible; }
.pack__orbit { fill: none; stroke: rgba(169,198,205,0.16); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 240px 210px; }
.pack__orbit--outer { stroke: rgba(169,198,205,0.09); stroke-dasharray: 1 10; }
.pack__lines path { fill: none; stroke: rgba(169,198,205,0.32); stroke-width: 1.25; }
.pack__pulses circle { fill: var(--ember-400); filter: drop-shadow(0 0 6px rgba(236,154,92,0.9)); }
.pack__node circle { fill: var(--pine-900); stroke: rgba(169,198,205,0.55); stroke-width: 1.25; }
.pack__node .pack__core { fill: var(--ice-300); stroke: none; }
.pack__node--hub .pack__halo { fill: rgba(226,131,63,0.08); stroke: rgba(236,154,92,0.45); stroke-width: 1; }
.pack__mark { filter: drop-shadow(0 10px 28px rgba(226,131,63,0.35)); }
.pack__node text { fill: var(--ice-300); font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

@media (prefers-reduced-motion: no-preference) {
	.pack__orbit { animation: spin 60s linear infinite; }
	.pack__orbit--outer { animation-duration: 90s; animation-direction: reverse; }
	.pack__lines path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: pack-draw 0.8s var(--ease) 0.15s forwards; }
	.pack__lines path:nth-child(2) { animation-delay: 0.25s; }
	.pack__lines path:nth-child(3) { animation-delay: 0.35s; }
	.pack__lines path:nth-child(4) { animation-delay: 0.45s; }
	.pack__node { animation: pack-fade 0.6s var(--ease) both; }
	.pack__node:nth-of-type(2) { animation-delay: 0.1s; }
	.pack__node:nth-of-type(3) { animation-delay: 0.2s; }
	.pack__node:nth-of-type(4) { animation-delay: 0.3s; }
	.pack__halo { animation: pack-glow 3.6s ease-in-out 1s infinite; transform-box: fill-box; transform-origin: center; }
	.hero__text > * { animation: rise 0.7s var(--ease) both; }
	.hero__text > :nth-child(2) { animation-delay: 0.06s; }
	.hero__text > :nth-child(3) { animation-delay: 0.12s; }
	.hero__text > :nth-child(4) { animation-delay: 0.18s; }
	.hero__text > :nth-child(5) { animation-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) { .pack__pulses { display: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pack-draw { to { stroke-dashoffset: 0; } }
@keyframes pack-fade { from { opacity: 0; transform: scale(0.92); } }
@keyframes pack-glow { 50% { transform: scale(1.12); opacity: 0.55; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.pack__node { transform-box: fill-box; transform-origin: center; }

.ticker {
	position: relative;
	border-top: 1px solid rgba(169,198,205,0.12);
	overflow: hidden; white-space: nowrap;
	padding: 1rem 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
	display: inline-flex; gap: 0.9rem; align-items: center;
	font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--ice-400);
	animation: ticker-scroll 40s linear infinite;
}
.ticker__dot { color: var(--ember-500); margin-right: 0.3rem; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; padding: 3rem 0 3.5rem; gap: 1.5rem; }
	.hero__graphic { order: -1; }
	.pack { width: min(320px, 85%); }
}

/* =============================================================
   Page hero (interior pages)
   ============================================================= */
.page-hero { padding: 5.5rem 0 4.5rem; }
.page-hero::after { width: 620px; height: 620px; top: -300px; right: -160px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.06; max-width: 20ch; }
.page-hero__lede { color: var(--ice-300); max-width: 58ch; font-size: 1.1rem; }
.page-hero__lede a { color: var(--snow-50); }
.page-hero .hero__actions { margin-top: 2rem; }
.page-hero--404 .hero__actions { margin: 1.5rem 0; }
@media (max-width: 640px) { .page-hero { padding: 3.5rem 0 3rem; } }

/* =============================================================
   Sections
   ============================================================= */
.section { padding: 7rem 0; position: relative; }
.section--alt { background: var(--snow-100); }
.section--dark { background: var(--pine-950); color: var(--snow-50); overflow: hidden; isolation: isolate; }
.section--dark::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 60% 80% at 0% 100%, rgba(127,163,173,0.12), transparent 70%),
	            radial-gradient(ellipse 50% 70% at 100% 0%, rgba(226,131,63,0.12), transparent 70%);
}
.section--dark h2, .section--dark h3 { color: var(--snow-50); }
.section--dark p { color: var(--ice-300); }

.section__head { max-width: 64ch; margin-bottom: 3.5rem; }
.section__head h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.9rem); max-width: 22ch; }
.section__intro { color: var(--slate-600); font-size: 1.1rem; max-width: 60ch; }
.section__intro a { color: var(--ink-900); }
.section__head--light .section__intro { color: var(--ice-300); }

@media (max-width: 640px) {
	.section { padding: 4.5rem 0; }
	.section__head { margin-bottom: 2.25rem; }
}

/* Grids */
.grid { display: grid; gap: 1.25rem; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid--services { grid-template-columns: 1fr; } }

/* Cards */
.card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line-200);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d9d2c1; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--slate-600); font-size: 0.97rem; }
.grid--services .card { display: flex; flex-direction: column; }
.grid--services .card p { flex: 1; }
.card__icon {
	width: 52px; height: 52px; padding: 11px; margin-bottom: 1.5rem;
	stroke: var(--pine-950); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
	background: var(--snow-100); border: 1px solid var(--line-200); border-radius: 14px;
	transition: background 0.25s ease, stroke 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.card:hover .card__icon { background: var(--ember-500); border-color: var(--ember-500); transform: rotate(-4deg); }
.card__link {
	display: inline-flex; align-items: center; gap: 0.3rem; align-self: flex-start;
	margin-top: 0.4rem; font-weight: 600; font-size: 0.93rem; text-decoration: none; color: var(--pine-950);
	background-image: linear-gradient(var(--ember-500), var(--ember-500));
	background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
	padding-bottom: 3px; transition: background-size 0.25s var(--ease), color 0.2s ease;
}
.card__link:hover { color: var(--ember-600); }

/* Pillars (why / process) */
.grid--pillars { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 820px) { .grid--pillars { grid-template-columns: 1fr; } }
.pillar {
	position: relative;
	padding: 2rem 1.75rem 1.75rem;
	background: linear-gradient(180deg, rgba(247,245,240,0.05), rgba(247,245,240,0.015));
	border: 1px solid rgba(169,198,205,0.14);
	border-radius: var(--radius);
}
.pillar::before {
	content: ""; position: absolute; left: 1.75rem; top: -1px; width: 40px; height: 2px;
	background: var(--ember-500); border-radius: 0 0 2px 2px;
}
.pillar h3 { font-size: 1.2rem; color: var(--snow-50); }
.pillar p { margin: 0; }

/* CTA band */
.cta-band { padding: 0 0 6rem; background: transparent; color: var(--snow-50); }
.section--alt + .cta-band, .section--alt ~ .cta-band:last-of-type { background: transparent; }
.cta-band__inner {
	position: relative; isolation: isolate; overflow: hidden;
	text-align: center;
	width: var(--wrap); max-width: none;
	padding: 4.5rem 2rem;
	background: var(--pine-950);
	border-radius: 28px;
	box-shadow: var(--shadow-lg);
}
.cta-band__inner::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 55% 90% at 50% 120%, rgba(226,131,63,0.45), transparent 70%),
		linear-gradient(rgba(169,198,205,0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(169,198,205,0.06) 1px, transparent 1px);
	background-size: auto, 44px 44px, 44px 44px;
}
.cta-band h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); color: var(--snow-50); max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--ice-300); max-width: 50ch; margin-inline: auto; font-size: 1.08rem; }
.cta-band .btn { margin-top: 1rem; }
.section + .cta-band { padding-top: 0; }
.section--dark + .cta-band { padding-top: 6rem; }
@media (max-width: 640px) {
	.cta-band { padding-bottom: 4rem; }
	.cta-band__inner { padding: 3.25rem 1.5rem; border-radius: 20px; }
	.section--dark + .cta-band { padding-top: 4rem; }
}

/* Generic prose */
.prose-section { max-width: 70ch; }
.prose-section p, .prose-section li { color: var(--ink-900); font-size: 1.07rem; }
.prose-section > p:first-child { font-size: 1.25rem; line-height: 1.55; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.prose-section h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose-section h3 { margin-top: 1.5em; }
.prose-section ul, .prose-section ol { padding-left: 1.3rem; margin-bottom: 1em; }
.prose-section a { color: var(--ember-600); }

/* Service detail rows */
.service-detail__inner { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 4rem; }
.service-detail__label h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); max-width: 16ch; }
.service-detail__body p { color: var(--slate-600); font-size: 1.05rem; max-width: 62ch; }
.check-list { list-style: none; margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-900); line-height: 1.5; }
.check-list li::before {
	content: ""; position: absolute; left: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--ember-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23cf6f2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.section--dark .check-list li { color: var(--snow-50); }
@media (max-width: 760px) {
	.service-detail__inner { grid-template-columns: 1fr; gap: 1rem; }
}

/* Posts grid */
.grid--posts { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--posts { grid-template-columns: 1fr; } }
.post-card h2 { font-size: 1.2rem; }
.post-card h2 a { text-decoration: none; }
.post-card p { color: var(--slate-600); font-size: 0.95rem; }
.post-card__thumb { display: block; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; }
.pagination { margin-top: 3rem; }

/* Search */
.search-form { display: flex; gap: 0.6rem; margin-top: 1.5rem; max-width: 440px; }
.search-form input { flex: 1; min-width: 0; padding: 0.8rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-200); font: inherit; background: #fff; }
.search-form button { padding: 0.8rem 1.3rem; border-radius: 999px; border: 1px solid var(--ember-500); background: var(--ember-500); color: var(--pine-950); font-weight: 600; cursor: pointer; }

/* =============================================================
   Contact
   ============================================================= */
.contact-section__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.contact-form {
	display: grid; gap: 1.25rem;
	background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius);
	padding: 2.25rem; box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea {
	font: inherit; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line-200); border-radius: 12px;
	background: var(--snow-50); color: var(--ink-900);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:hover, .field textarea:hover { border-color: #d3cbb8; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ember-500); box-shadow: 0 0 0 4px rgba(226,131,63,0.18); }
.field textarea { resize: vertical; min-height: 9rem; }
.hp-field { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; cursor: pointer; }

.form-notice { padding: 0.95rem 1.15rem; border-radius: 12px; font-size: 0.95rem; margin: 0; }
.form-notice--success { background: #e7f3ec; color: #1e5f3f; }
.form-notice--error { background: #fbe9e4; color: #a3402a; }

.contact-section__aside { display: grid; gap: 1rem; align-content: start; }
.contact-card { border: 1px solid var(--line-200); border-radius: var(--radius); padding: 1.4rem 1.5rem; background: var(--snow-50); }
.contact-card .eyebrow { margin-bottom: 0.5em; }
.contact-card p { margin: 0; color: var(--slate-600); }
.contact-card a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.contact-card a:hover { color: var(--ember-600); }

@media (max-width: 860px) {
	.contact-section__inner { grid-template-columns: 1fr; gap: 1.5rem; }
	.contact-form { padding: 1.5rem; }
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer { position: relative; overflow: hidden; background: var(--pine-950); color: var(--ice-300); }
.site-footer__inner {
	display: grid; grid-template-columns: 1.5fr 0.8fr 0.9fr; gap: 3rem;
	padding: 5rem 0 3rem;
}
.site-footer .brand { color: var(--snow-50); }
.site-footer .brand__lockup { height: 36px; }
.site-footer__tag { margin-top: 1.25rem; max-width: 42ch; font-size: 0.95rem; line-height: 1.6; }
.site-footer__list { list-style: none; display: grid; gap: 0.65rem; }
.site-footer__list a { text-decoration: none; font-size: 0.95rem; transition: color 0.15s ease; }
.site-footer__list a:hover { color: var(--snow-50); }
.site-footer__contact { display: grid; gap: 0.6rem; align-content: start; font-size: 0.95rem; }
.site-footer__contact a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--snow-50); letter-spacing: -0.01em; }
.site-footer__contact a:hover { color: var(--ember-400); }
.site-footer__giant { padding-top: 1rem; }
.giant-word { width: 100%; height: auto; fill: none; stroke: rgba(169,198,205,0.16); stroke-width: 0.6; overflow: visible; }
.site-footer__legal {
	display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
	padding: 1.75rem 0 2rem; margin-top: 2rem; font-size: 0.82rem; color: var(--slate-500);
	border-top: 1px solid var(--line-800);
}
.site-footer__legal a { color: var(--ice-300); text-decoration: none; }
.site-footer__legal a:hover { color: var(--snow-50); }

@media (max-width: 760px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; padding-top: 3.5rem; }
	.site-footer__brand { grid-column: 1 / -1; }
}

/* =============================================================
   Own projects
   ============================================================= */
.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; padding: 2.75rem; }
.project:hover { transform: none; }
.project__body { min-width: 0; }
.project__tag { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember-600); margin: 0 0 0.6rem; }
.project h3 { font-size: 2rem; margin-bottom: 0.25rem; letter-spacing: -0.03em; }
.project .project__lede { font-size: 1.15rem; font-weight: 600; color: var(--pine-950); font-family: var(--font-display); letter-spacing: -0.01em; }
.project__stack { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.project__stack li { font-family: var(--font-mono); font-size: 0.78rem; padding: 0.3rem 0.75rem; border: 1px solid var(--line-200); background: var(--snow-50); border-radius: 999px; color: var(--slate-600); }
.project__visual { min-width: 0; }

.code {
	background: var(--pine-950); border-radius: 14px; overflow: hidden;
	box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14,27,22,0.9);
	font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7; color: var(--ice-200);
	transform: rotate(1.2deg);
	transition: transform 0.4s var(--ease);
}
.project:hover .code { transform: rotate(0deg) translateY(-3px); }
.code__bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; background: var(--pine-900); border-bottom: 1px solid var(--line-800); }
.code__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--pine-700); }
.code__bar span:first-child { background: var(--ember-500); }
.code__bar em { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--ice-400); }
.code__body { margin: 0; padding: 1.1rem 1.25rem 0.6rem; overflow-x: auto; white-space: pre; }
.code .c { color: var(--slate-500); }
.code .k { color: var(--ember-400); }
.code .t { color: #8fd3b4; }
.code .n { color: #e8c76f; }
.code__out { padding: 0.6rem 1.25rem 1.2rem; border-top: 1px dashed var(--line-800); }
.code__out ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
.code__out li { padding: 0.25rem 0.65rem; border-radius: 6px; background: rgba(226,131,63,0.14); color: var(--ember-400); border: 1px solid rgba(226,131,63,0.3); }

@media (max-width: 900px) {
	.project { grid-template-columns: 1fr; padding: 1.75rem; gap: 2rem; }
	.code { transform: none; }
}

/* =============================================================
   Language switch
   ============================================================= */
.lang-switch { display: inline-flex; gap: 0.15rem; padding: 0.2rem; border: 1px solid var(--line-200); background: rgba(255,255,255,0.6); border-radius: 999px; flex: none; }
.lang-switch a { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; color: var(--slate-600); padding: 0.3rem 0.6rem; border-radius: 999px; transition: color 0.15s ease, background 0.15s ease; }
.lang-switch a:hover { color: var(--ink-900); }
.lang-switch a.is-active { background: var(--pine-950); color: var(--snow-50); }
.mobile-nav .lang-switch { align-self: flex-start; }

/* =============================================================
   Offers, plans, steps, FAQ (hosting & automation)
   ============================================================= */
.grid--offers { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid--plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.grid--examples { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid--plans, .grid--examples { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid--offers, .grid--plans, .grid--examples { grid-template-columns: 1fr; } }

.offer, .plan { display: flex; flex-direction: column; }
.offer { padding: 2.5rem; }
.offer .check-list, .plan .check-list { flex: 1; align-content: start; }
.offer .btn, .plan .btn { align-self: flex-start; margin-top: 2rem; }
.offer__tag, .plan__badge { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-600); margin: 0 0 0.75rem; }
.offer h3 { font-size: 1.6rem; letter-spacing: -0.025em; }
.offer__price { font-size: 0.95rem; color: var(--slate-600); margin: 0.4rem 0 0.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-200); }
.offer__price strong { font-family: var(--font-display); font-weight: 650; font-size: 2.2rem; letter-spacing: -0.03em; color: var(--pine-950); }
.offer__price span { display: block; font-size: 0.85rem; color: var(--slate-500); margin-top: 0.15rem; }
.card .offer__price { color: var(--slate-600); }

.plan { padding: 2.25rem 2rem; }
.plan h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.plan__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 650; letter-spacing: -0.035em; color: var(--pine-950); line-height: 1.05; margin: 0; }
.card .plan__price { color: var(--pine-950); font-size: 2.5rem; }
.plan__price span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--slate-500); }
.card .plan__year { font-size: 0.88rem; color: var(--slate-500); margin: 0.35rem 0 1rem; }
.plan__lede { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-200); }
.plan--featured {
	background: var(--pine-950); border-color: var(--pine-950); color: var(--snow-50);
	box-shadow: var(--shadow-lg);
}
.plan--featured::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(226,131,63,0.25), transparent 70%);
}
.plan--featured > * { position: relative; }
.plan--featured h3, .card.plan--featured .plan__price { color: var(--snow-50); }
.plan--featured p, .card.plan--featured .plan__year, .plan--featured .plan__price span { color: var(--ice-300); }
.plan--featured .plan__lede { border-color: var(--line-800); }
.plan--featured .check-list li { color: var(--snow-50); }
.plan--featured .check-list li::before { background-color: rgba(226,131,63,0.2); }
.plan--featured .plan__badge {
	align-self: flex-start; color: var(--pine-950); background: var(--ember-400);
	padding: 0.25rem 0.6rem; border-radius: 999px; letter-spacing: 0.1em;
}
.plans__note { margin-top: 2.25rem; color: var(--slate-600); max-width: 70ch; padding: 1.1rem 1.4rem; border: 1px dashed #d3cbb8; border-radius: 12px; }
.plans__note strong { color: var(--ink-900); }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 0; }
.steps li {
	counter-increment: step; position: relative;
	background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius); padding: 1.75rem;
}
.steps li::before {
	content: counter(step); display: grid; place-items: center;
	width: 36px; height: 36px; border-radius: 50%; margin-bottom: 1.1rem;
	font-family: var(--font-display); font-weight: 650; font-size: 0.95rem;
	background: var(--pine-950); color: var(--ember-400);
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--slate-600); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line-200); background: #fff; border-radius: 14px; padding: 0; margin-bottom: 0.75rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq details[open] { border-color: #d9d2c1; box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink-900); list-style: none; position: relative; padding: 1.15rem 3.5rem 1.15rem 1.4rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%;
	width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
	background: var(--snow-100); font-size: 1.1rem; line-height: 1; color: var(--ember-600);
	transition: transform 0.25s var(--ease), background 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ember-100); }
.faq details p { color: var(--slate-600); margin: 0; padding: 0 1.4rem 1.3rem; }

/* =============================================================
   Scroll reveal (only when JS has marked the page as ready)
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
	.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
	.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}
