/*
Theme Name: Orbital Delta
Theme URI: https://orbitaldelta.com
Author: Orbital Delta
Author URI: https://orbitaldelta.com
Description: Custom theme for Orbital Delta — web design & development. Animated orbit hero, no page builder.
Version: 1.0.0
Requires at least: 6.0
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: orbital-delta
*/

/* ==========================================================================
   Fonts — self-hosted (assets/fonts), so no visitor data goes to Google
   ========================================================================== */
@font-face {
	font-family: "Space Grotesk";
	src: url("assets/fonts/space-grotesk-variable.woff2") format("woff2-variations"),
	     url("assets/fonts/space-grotesk-variable.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "OD Mono"; /* IBM Plex Mono, Latin subset */
	src: url("assets/fonts/od-mono-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	/* Tell the browser the site is dark, so its own UI matches: form controls,
	   autofill, scrollbars, the select list and date/colour pickers. */
	color-scheme: dark;
	accent-color: var(--od-red);
	--od-space: #050B18;
	--od-navy: #091C3A;
	--od-navy-2: #13294F;
	--od-red: #D8232C;      /* buttons, rings */
	--od-red-text: #FF4B52; /* red used as text on dark — passes contrast */
	--od-text: #EEF1F7;
	--od-muted: #B9C2D8;
	--od-faint: #8E98B0;
	--od-line: rgba(154, 164, 188, 0.22);
	--od-font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--od-mono: "OD Mono", ui-monospace, Menlo, monospace;
	--od-max: 1280px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--od-space);
	color: var(--od-text);
	font-family: var(--od-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Even line lengths in headings; no one-word last lines in body text. */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }

img { max-width: 100%; height: auto; }

a { color: var(--od-red-text); }
a:hover { color: #FF7A7F; }

:focus-visible { outline: 2px solid var(--od-red-text); outline-offset: 3px; }

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

.od-skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100;
	width: auto; height: auto; clip: auto;
	padding: 10px 16px;
	background: var(--od-text); color: var(--od-navy);
	border-radius: 8px;
}

.od-wrap { width: 100%; max-width: var(--od-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ==========================================================================
   Starfield
   ========================================================================== */
/* overflow: clip (not hidden) so position: sticky still works inside */
.od-site { position: relative; min-height: 100vh; overflow: clip; display: flex; flex-direction: column; }

/* Fixed to the window, so the starfield stays behind every section as you scroll */
.od-stars {
	position: fixed; top: 0; left: 0; z-index: 0;
	width: 100%; height: 100vh; height: 100lvh;
	pointer-events: none;
	animation: od-drift 40s ease-in-out infinite;
	will-change: transform;
}
/* Each layer is a 1px dot whose box-shadows are the stars; layers twinkle out of step */
.od-stars__layer {
	position: absolute; top: 0; left: 0;
	width: 1px; height: 1px; border-radius: 50%;
	animation: od-twinkle 5s ease-in-out infinite;
	will-change: opacity;
}
.od-stars__layer:nth-child(2) { animation-duration: 6.5s; animation-delay: -2s; }
.od-stars__layer:nth-child(3) { animation-duration: 4.2s; animation-delay: -3.1s; }
.od-stars__layer:nth-child(4) { animation-duration: 7.5s; animation-delay: -5s; }

/* ==========================================================================
   Header
   ========================================================================== */
.od-header { position: relative; z-index: 2; }
.od-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding-top: 24px; padding-bottom: 24px;
}

.od-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--od-text); }
.od-brand:hover { color: var(--od-text); }
.od-brand__mark { width: 44px; height: 44px; border-radius: 50%; display: block; }
/* A full logo (with the name in it): natural proportions, sized by height */
.od-brand__logo { display: block; width: auto; height: 44px; max-width: min(240px, 60vw); object-fit: contain; object-position: left center; }
.od-footer .od-brand__logo { height: 48px; }
@media (max-width: 600px) { .od-brand__logo { height: 36px; } }
.od-brand span { font-weight: 700; font-size: 19px; letter-spacing: 0.02em; }

.od-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.od-nav a { color: var(--od-muted); text-decoration: none; }
.od-nav a:hover, .od-nav .current-menu-item > a { color: var(--od-text); }

/* Add the CSS class "od-cta" to a menu item to make it a pill button */
.od-nav .od-cta > a {
	display: inline-block;
	color: var(--od-navy);
	background: var(--od-text);
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 500;
	transition: transform .2s ease;
}
@media (hover: hover) { .od-nav .od-cta > a:hover { transform: translateY(-2px); color: var(--od-navy); } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.od-btn {
	display: inline-block;
	text-decoration: none;
	font-size: 16px;
	border-radius: 999px;
	transition: transform .2s ease, background-color .2s ease;
}
@media (hover: hover) { .od-btn:hover { transform: translateY(-2px); } }
.od-btn--primary { background: var(--od-red); color: #fff; font-weight: 700; padding: 16px 26px; }
.od-btn--primary:hover { background: #E8323B; color: #fff; }
.od-btn--ghost { color: var(--od-text); font-weight: 500; padding: 15px 25px; border: 1px solid rgba(238, 241, 247, 0.28); }
.od-btn--ghost:hover { color: var(--od-text); border-color: rgba(238, 241, 247, 0.6); }

/* ==========================================================================
   Hero
   ========================================================================== */
.od-hero {
	position: relative; z-index: 1; flex: 1;
	display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
	padding-top: 24px; padding-bottom: 64px;
}

.od-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.od-eyebrow {
	margin: 0;
	font-family: var(--od-mono);
	font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--od-red-text);
	opacity: 0; animation: od-rise .7s ease-out .1s forwards;
}

.od-hero__title {
	margin: 0;
	font-size: clamp(44px, 6.4vw, 84px);
	line-height: 1.02; font-weight: 700; letter-spacing: -0.03em;
	display: flex; flex-wrap: wrap; column-gap: 0.25em;
}
.od-hero__title .od-word {
	display: inline-block;
	opacity: 0;
	animation: od-drop .9s cubic-bezier(.2, .8, .2, 1) forwards;
	animation-delay: calc(0.25s + var(--i, 0) * 0.15s);
}
.od-hero__title .od-word--accent { color: var(--od-red-text); }

.od-hero__lead {
	margin: 0; max-width: 34rem;
	font-size: 19px; line-height: 1.6; color: var(--od-muted);
	opacity: 0; animation: od-rise .8s ease-out 1.1s forwards;
}

.od-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: od-rise .8s ease-out 1.3s forwards; }

/* ==========================================================================
   Orbit system
   ========================================================================== */
.od-system {
	position: relative;
	flex: 1 1 380px; min-width: 0; max-width: 580px;
	aspect-ratio: 1 / 1;
	container-type: inline-size; /* lets the orbit parts size themselves in cqi */
	margin: 0 auto;
	opacity: 0; animation: od-rise 1.2s ease-out .5s forwards;
}

/*
 * Every piece of the orbit is sized and placed in cqi (1% of the system's
 * width), never in % of its height, so the rings and the tracks the
 * satellites ride on are always the same circles with the same center.
 * Rings and tracks share one centering method: left/top 50cqi, then a
 * negative margin of half their size.
 */
.od-ring,
.od-orbit,
.od-core-pulse,
.od-core {
	position: absolute;
	left: 50cqi; top: 50cqi;
	width: var(--d); height: var(--d);
	margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
	border-radius: 50%;
}

.od-ring {
	/* The 1px line is drawn as an outline-free inset shadow so it sits
	   exactly on the circle's edge, where the satellites are centered */
	box-shadow: inset 0 0 0 1px var(--od-line);
}
.od-ring--1 { --d: 40cqi; }
.od-ring--2 { --d: 72cqi; box-shadow: none; border: 1px dashed rgba(154, 164, 188, 0.38); }
.od-ring--3 { --d: 94cqi; box-shadow: inset 0 0 0 1px rgba(154, 164, 188, 0.18); }

.od-core-pulse {
	--d: 27cqi;
	border-radius: 50%;
	border: 2px solid var(--od-red);
	animation: od-pulse 3.2s ease-out infinite;
}

.od-core {
	--d: 26cqi;
	display: block;
	max-width: none;
	object-fit: cover;
	box-shadow: 0 0 0 6px var(--od-space);
	opacity: 0;
	animation: od-land 1.4s cubic-bezier(.2, .8, .2, 1) .6s forwards;
}

/* A rotating track the size of its ring; satellites sit on its edge */
.od-orbit { animation: od-spin linear infinite; }

/* The rings, pulse and spinning tracks are full-size layers stacked over
   each other; let taps pass through them so only the call-outs catch clicks */
.od-ring, .od-orbit, .od-core-pulse, .od-core { pointer-events: none; }
.od-sat { pointer-events: auto; }
.od-orbit--1 { --d: 40cqi; animation-duration: 14s; }
.od-orbit--2 { --d: 72cqi; animation-duration: 48s; z-index: 2; } /* call-outs on top */
/* All four service call-outs share the middle ring, a quarter-turn apart;
   the outer ring carries only a small marker, turning the other way */
.od-orbit--3 { --d: 94cqi; animation-duration: 70s; animation-direction: reverse; z-index: 1; } /* white dot passes behind */

.od-slot { position: absolute; transform: translate(-50%, -50%); }
.od-slot--top { left: 50%; top: 0; }
.od-slot--bottom { left: 50%; top: 100%; }
.od-slot--left { left: 0; top: 50%; }
.od-slot--right { left: 100%; top: 50%; }

/* Counter-rotates so labels stay upright */
.od-upright { animation: od-unspin linear infinite; }
.od-orbit--2 .od-upright { animation-duration: 48s; }

.od-system:hover .od-orbit,
.od-system:hover .od-upright { animation-play-state: paused; }

.od-dot { display: block; border-radius: 50%; }
.od-dot--red { width: 10px; height: 10px; background: var(--od-red-text); }
.od-dot--white { width: 8px; height: 8px; background: var(--od-text); }

.od-sat {
	display: flex; align-items: center; gap: 10px;
	white-space: nowrap; text-decoration: none;
	color: var(--od-text);
	background: var(--od-navy);
	border: 1px solid rgba(154, 164, 188, 0.3);
	border-radius: 999px;
	padding: 10px 16px 10px 10px;
	font-size: 14px; font-weight: 500;
	transition: transform .25s ease, border-color .25s ease;
}
.od-sat:focus-visible { color: var(--od-text); transform: scale(1.08); border-color: var(--od-red-text); outline: 2px solid transparent; }
@media (hover: hover) { .od-sat:hover { color: var(--od-text); transform: scale(1.08); border-color: var(--od-red-text); } }

.od-sat__icon {
	display: flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--od-navy-2);
	color: #FFFFFF;
}
.od-sat__label { display: flex; flex-direction: column; line-height: 1.2; }
.od-sat__sub { font-family: var(--od-mono); font-size: 11px; color: #A9B3CA; letter-spacing: 0.06em; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.od-main { position: relative; z-index: 1; flex: 1; padding-top: 48px; padding-bottom: 96px; }
.od-content { max-width: 760px; }
.od-content h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 24px; }
.od-content h2 { font-size: 30px; line-height: 1.2; margin: 48px 0 16px; }
.od-content h3 { font-size: 22px; margin: 32px 0 12px; }
.od-content p, .od-content li { color: var(--od-muted); }
.od-entry + .od-entry { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--od-line); }
.od-entry__title a { color: var(--od-text); text-decoration: none; }
.od-pagination { margin-top: 48px; display: flex; gap: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.od-footer { position: relative; z-index: 1; }
.od-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 32px 48px;
	padding-top: 56px; padding-bottom: 40px;
}
.od-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.od-footer__tagline { margin: 0; max-width: 26rem; color: var(--od-muted); font-size: 15px; }
.od-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; font-size: 15px; }
.od-footer__nav a { color: var(--od-muted); text-decoration: none; }
.od-footer__nav a:hover { color: var(--od-text); }
.od-footer__nav .od-cta > a { padding: 0; background: none; color: var(--od-muted); font-weight: 400; }
.od-footer__meta {
	grid-column: 1 / -1;
	display: flex; flex-wrap: wrap; gap: 8px 24px;
	padding-top: 24px; border-top: 1px solid var(--od-line);
	font-size: 14px; color: var(--od-faint);
}
.od-footer__top { margin-left: auto; color: var(--od-muted); text-decoration: none; }
.od-footer__top:hover { color: var(--od-text); }
@media (max-width: 700px) {
	.od-footer__inner { grid-template-columns: minmax(0, 1fr); }
	.od-footer__nav ul { justify-content: flex-start; }
	.od-footer__top { margin-left: 0; }
}

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width: 600px) {
	.od-wrap { padding-left: 16px; padding-right: 16px; }
	.od-hero { gap: 40px; }
	.od-sat { font-size: 12px; padding: 8px 12px 8px 8px; gap: 8px; }
	.od-sat__icon { width: 24px; height: 24px; }
	.od-sat__sub { display: none; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes od-spin { to { transform: rotate(360deg); } }
@keyframes od-unspin { to { transform: rotate(-360deg); } }
@keyframes od-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes od-pulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.22); opacity: 0; } }
@keyframes od-drop {
	0% { opacity: 0; transform: translate(-40px, -60px) rotate(-8deg); }
	70% { opacity: 1; transform: translate(4px, 6px) rotate(1deg); }
	100% { opacity: 1; transform: none; }
}
@keyframes od-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes od-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-14px, 10px); } }
@keyframes od-land {
	0% { opacity: 0; transform: scale(.6) rotate(-90deg); }
	100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.od-eyebrow, .od-hero__title .od-word, .od-hero__lead, .od-hero__actions, .od-system { opacity: 1; }
	.od-core { opacity: 1; transform: none; }
}

/* ==========================================================================
   Homepage layout: the hero fills the first screen, sections follow
   ========================================================================== */
.od-hero-screen {
	position: relative; z-index: 1;
	display: flex; flex-direction: column;
	min-height: calc(100vh - 92px);
	min-height: calc(100svh - 92px);
}
.od-hero-screen .od-hero { flex: 1; }

.od-eyebrow--static { opacity: 1; animation: none; }

.od-section-title {
	margin: 0;
	font-size: clamp(34px, 4.4vw, 56px);
	line-height: 1.05; font-weight: 700; letter-spacing: -0.02em;
}
.od-section-lead { margin: 0; max-width: 30rem; font-size: 18px; color: var(--od-muted); }

/* ==========================================================================
   Services: mission timeline
   ========================================================================== */
.od-services {
	position: relative; z-index: 1;
	padding: 120px 0 140px;
}
.od-services__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px; }

.od-services__intro {
	flex: 1 1 340px; min-width: 0;
	display: flex; flex-direction: column; gap: 24px;
	position: sticky; top: 120px;
}

.od-mission {
	--pad: 64px;        /* room left of the cards for the trajectory line */
	--rail: 18px;       /* the line's center, measured from the list's left edge */
	--progress: 0;      /* 0 → 1, set by orbital.js as you scroll */
	flex: 1 1 520px; min-width: 0;
	position: relative;
	list-style: none; margin: 0;
	padding: 0 0 0 var(--pad);
	display: flex; flex-direction: column; gap: 28px;
}

/* The trajectory: a faint track, and the red line drawn over it with scroll */
.od-mission::before,
.od-mission::after {
	content: "";
	position: absolute;
	top: var(--line-top, 34px); bottom: 34px;
	height: var(--line-len, auto); /* JS sets this so the line stops at the last node */
	left: calc(var(--rail) - 1px);
	width: 2px; border-radius: 2px;
}
.od-mission::before { background: var(--od-line); }
.od-mission::after {
	background: var(--od-red);
	transform-origin: top;
	transform: scaleY(var(--progress));
}

/* Where supported, the browser draws the line from scroll position itself, off
   the main thread. The track (::before) is the timeline: its inset puts the
   bottom of the "view" 65% of the way down the screen, so the red line's tip
   follows that point, as the JS fallback does. orbital.js still measures where
   the line starts and ends, but no longer listens to scroll. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.od-mission { timeline-scope: --od-trajectory; }
		.od-mission::before {
			view-timeline: --od-trajectory block;
			view-timeline-inset: 0% 35%;
		}
		.od-mission::after {
			animation: od-trajectory linear both;
			animation-timeline: --od-trajectory;
			animation-range: entry-crossing 0% entry-crossing 100%;
		}
	}
}
@keyframes od-trajectory {
	from { transform: scaleY(0); }
	to   { transform: scaleY(1); }
}

.od-mission__item { position: relative; }

.od-mission__node {
	position: absolute; top: 25px;
	left: calc(var(--rail) - var(--pad) - 9px);
	width: 18px; height: 18px; box-sizing: border-box;
	border-radius: 50%;
	background: var(--od-space);
	border: 2px solid rgba(154, 164, 188, 0.45);
	z-index: 1;
	transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.od-mission__item.is-docked .od-mission__node {
	background: var(--od-red);
	border-color: var(--od-red);
	box-shadow: 0 0 0 6px rgba(216, 35, 44, 0.18);
	animation: od-node-pop .5s cubic-bezier(.34, 1.56, .64, 1);
}

.od-card {
	position: relative;
	background: var(--od-navy);
	border: 1px solid rgba(154, 164, 188, 0.2);
	border-radius: 20px;
	padding: 26px 28px 28px;
	display: flex; flex-direction: column; gap: 10px;
	transition: border-color .3s ease;
}
.od-card:hover { border-color: rgba(255, 75, 82, 0.55); }

.od-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.od-card__icon {
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--od-navy-2);
	color: #FFFFFF;
	transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
@media (hover: hover) { .od-card:hover .od-card__icon { transform: rotate(-12deg) scale(1.06); } }
.od-card__num { font-family: var(--od-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--od-faint); }
.od-card__title { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.od-card__text { margin: 0; color: var(--od-muted); font-size: 16px; line-height: 1.6; }

/* Docking: only hidden when JS is running, so the cards never vanish without it.
   Each card flies in on a slight arc and settles with a small overshoot. */
.od-js .od-mission__item .od-card {
	opacity: 0;
	transform: translate(90px, 36px) rotate(4deg);
	transition: transform .95s cubic-bezier(.34, 1.4, .64, 1), opacity .5s ease, border-color .3s ease;
}
.od-js .od-mission__item.is-docked .od-card { opacity: 1; transform: none; }

@keyframes od-node-pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

@media (max-width: 900px) {
	.od-services { padding: 88px 0 104px; }
	.od-services__inner { gap: 48px; }
	.od-services__intro { position: static; }
}

@media (max-width: 600px) {
	.od-mission { --pad: 40px; --rail: 10px; gap: 20px; }
	.od-card { padding: 22px 20px 24px; }
	.od-card__title { font-size: 21px; }
	.od-js .od-mission__item .od-card { transform: translate(40px, 24px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.od-mission { --progress: 1; }
	.od-js .od-mission__item .od-card { opacity: 1; transform: none; }
}

/* ==========================================================================
   Work: project showcase
   Base = stacked cards (phones, and any screen without JS).
   Wide screens with JS = the section pins while projects swap in a browser frame.
   ========================================================================== */
.od-work { position: relative; z-index: 1; padding: 40px 0 120px; }
.od-work__inner { display: flex; flex-direction: column; gap: 48px; }
.od-work__head { display: flex; flex-direction: column; gap: 20px; }

.od-work__stage { display: flex; flex-direction: column; gap: 56px; }
.od-work__frame, .od-work__dots { display: none; }

.od-work__item { display: flex; flex-direction: column-reverse; gap: 24px; }

.od-work__text { display: flex; flex-direction: column; gap: 12px; }
.od-work__count { margin: 0; font-family: var(--od-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--od-faint); }
.od-work__count span { color: var(--od-text); }
.od-work__title { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.od-work__type { margin: 0; font-family: var(--od-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--od-red-text); }
.od-work__desc { margin: 0; max-width: 30rem; color: var(--od-muted); }

.od-work__link {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 8px; padding: 13px 22px;
	border-radius: 999px; border: 1px solid rgba(238, 241, 247, 0.28);
	color: var(--od-text); text-decoration: none; font-weight: 500;
	transition: transform .2s ease, border-color .2s ease;
}
@media (hover: hover) { .od-work__link:hover { color: var(--od-text); border-color: rgba(238, 241, 247, 0.6); transform: translateY(-2px); } }
.od-work__link svg { transition: transform .2s ease; }
@media (hover: hover) { .od-work__link:hover svg { transform: translate(2px, -2px); } }

.od-work__soon {
	align-self: flex-start;
	margin-top: 8px; padding: 8px 14px;
	border-radius: 999px; border: 1px dashed rgba(154, 164, 188, 0.4);
	font-family: var(--od-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--od-faint);
}

/* A screen in its own little browser window (stacked layout) */
.od-work__screen {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	overflow: hidden;
	background: var(--od-navy);
	border: 1px solid rgba(154, 164, 188, 0.22);
	padding-top: 30px;
}
.od-work__screen::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 30px;
	background:
		radial-gradient(circle at 16px 15px, #3A4A6B 4px, transparent 5px),
		radial-gradient(circle at 30px 15px, #3A4A6B 4px, transparent 5px),
		radial-gradient(circle at 44px 15px, #3A4A6B 4px, transparent 5px),
		var(--od-navy);
	border-bottom: 1px solid rgba(154, 164, 188, 0.16);
}
.od-work__img, .od-mock {
	position: absolute; top: 30px; left: 0; right: 0; bottom: 0;
	width: 100%; height: calc(100% - 30px);
}
.od-work__img { object-fit: cover; object-position: top center; max-width: none; }

/* Docking in the stacked layout */
@media (max-width: 900px) {
	.od-js .od-work__item { opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform .8s cubic-bezier(.34, 1.3, .64, 1); }
	.od-js .od-work__item.is-docked { opacity: 1; transform: none; }
}

/* ---------- Pinned showcase (wide screens, JS on) ---------- */
@media (min-width: 901px) {
	.od-js .od-work {
		padding: 0;
		height: calc(100vh + (var(--n) - 1) * 75vh);
		height: calc(100svh + (var(--n) - 1) * 75svh);
	}
	.od-js .od-work__sticky {
		position: sticky; top: 0;
		height: 100vh;
		height: 100svh;
		display: flex; align-items: center;
	}
	.od-js .od-work__inner { gap: 40px; }

	.od-js .od-work__stage {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-rows: auto auto;
		column-gap: 64px; row-gap: 20px;
		align-items: center;
	}
	.od-js .od-work__item { display: contents; }

	/* All texts share one cell; only the active one shows */
	.od-js .od-work__text {
		grid-area: 1 / 1;
		opacity: 0; visibility: hidden;
		transform: translateY(24px);
		transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s;
	}
	.od-js .od-work__item.is-past .od-work__text { transform: translateY(-24px); }
	.od-js .od-work__item.is-active .od-work__text {
		opacity: 1; visibility: visible; transform: none;
		transition-delay: .12s, .12s, 0s;
	}

	/* One shared browser frame; screens swap inside it */
	.od-js .od-work__frame {
		display: block;
		grid-area: 1 / 2;
		aspect-ratio: 16 / 10;
		border-radius: 16px;
		background: var(--od-navy);
		border: 1px solid rgba(154, 164, 188, 0.22);
		box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
	}
	.od-work__bar {
		display: flex; align-items: center; gap: 7px;
		height: 38px; padding: 0 16px;
		border-bottom: 1px solid rgba(154, 164, 188, 0.16);
	}
	.od-work__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A4A6B; }
	.od-work__addr {
		margin-left: 14px; padding: 4px 14px;
		border-radius: 999px; background: var(--od-space);
		font-family: var(--od-mono); font-size: 12px; color: var(--od-faint);
	}

	.od-js .od-work__screen {
		grid-area: 1 / 2;
		align-self: stretch;
		aspect-ratio: auto;
		margin: 39px 1px 1px;
		padding: 0;
		border: 0;
		border-radius: 0 0 15px 15px;
		background: transparent;
		opacity: 0; visibility: hidden;
		transform: translateY(6%) scale(.97);
		transition: opacity .5s ease, transform .8s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .5s;
	}
	.od-js .od-work__screen::before { display: none; }
	.od-js .od-work__screen .od-work__img,
	.od-js .od-work__screen .od-mock { top: 0; height: 100%; }
	.od-js .od-work__item.is-past .od-work__screen { transform: translateY(-6%) scale(.97); }
	.od-js .od-work__item.is-active .od-work__screen {
		opacity: 1; visibility: visible; transform: none;
		transition-delay: 0s;
	}

	.od-js .od-work__dots {
		display: flex; justify-content: center; gap: 4px;
		grid-area: 2 / 2;
	}
	.od-work__dot {
		width: 44px; height: 44px; padding: 0;
		background: none; border: 0; cursor: pointer;
		display: flex; align-items: center; justify-content: center;
	}
	.od-work__dot::before {
		content: ""; display: block;
		width: 8px; height: 8px; border-radius: 999px;
		background: rgba(154, 164, 188, 0.4);
		transition: width .3s ease, background-color .3s ease;
	}
	.od-work__dot.is-active::before { width: 28px; background: var(--od-red); }
	.od-work__dot:hover::before { background: var(--od-text); }
	.od-work__dot.is-active:hover::before { background: var(--od-red); }
}

/* ---------- Placeholder screens (shown until a screenshot is set) ---------- */
.od-mock {
	--bg: #F4EFE6; --ink: #1F2937; --soft: #D9D2C5; --accent: #C2410C; --card: #FFFFFF;
	background: var(--bg);
	display: flex; flex-direction: column; gap: 7%;
	padding: 4% 6%;
	box-sizing: border-box;
	overflow: hidden;
}
.od-mock--2 { --bg: #0F172A; --ink: #E2E8F0; --soft: #334155; --accent: #38BDF8; --card: #1E293B; }
.od-mock--3 { --bg: #ECFDF5; --ink: #064E3B; --soft: #A7F3D0; --accent: #047857; --card: #FFFFFF; }

.od-mock b, .od-mock i, .od-mock u, .od-mock span { display: block; border-radius: 999px; }
.od-mock__nav { display: flex; align-items: center; gap: 4%; }
.od-mock__nav b { width: 14%; height: 10px; background: var(--ink); margin-right: auto; }
.od-mock__nav i { width: 8%; height: 6px; background: var(--soft); }
.od-mock__hero { display: flex; flex-direction: column; gap: 10px; }
.od-mock__hero b { height: 18px; background: var(--ink); }
.od-mock__hero b:first-child { width: 62%; }
.od-mock__hero b:nth-child(2) { width: 44%; }
.od-mock__hero i { width: 52%; height: 7px; background: var(--soft); margin-top: 4px; }
.od-mock__hero u { width: 18%; height: 22px; background: var(--accent); margin-top: 8px; }
.od-mock__grid { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.od-mock__grid span { border-radius: 10px; background: var(--card); box-shadow: 0 2px 0 var(--soft); }
.od-mock--2 .od-mock__hero { align-items: center; text-align: center; }
.od-mock--3 .od-mock__grid { grid-template-columns: 2fr 1fr; }
.od-mock--3 .od-mock__grid span:nth-child(3) { display: none; }

/* ==========================================================================
   Contact band + form
   ========================================================================== */
.od-accent { color: var(--od-red-text); }

.od-contact { position: relative; z-index: 1; padding: 120px 0 120px; }
.od-contact__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px; }
.od-contact__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.od-form { flex: 1 1 520px; min-width: 0; }

/* Small echo of the hero orbit */
.od-mini-orbit { position: relative; width: 132px; height: 132px; margin-bottom: 8px; }
.od-mini-orbit__ring {
	position: absolute; inset: 0; border-radius: 50%;
	border: 1px dashed rgba(154, 164, 188, 0.38);
}
.od-mini-orbit__track { position: absolute; inset: 0; border-radius: 50%; animation: od-spin 12s linear infinite; }
.od-mini-orbit__dot {
	position: absolute; left: 50%; top: 0;
	width: 10px; height: 10px; margin: -5px 0 0 -5px;
	border-radius: 50%; background: var(--od-red-text);
}
.od-mini-orbit__logo {
	position: absolute; left: 50%; top: 50%;
	width: 72px; height: 72px; margin: -36px 0 0 -36px;
	border-radius: 50%; max-width: none;
}

/* Form */
.od-form {
	display: flex; flex-direction: column; gap: 20px;
	background: var(--od-navy);
	border: 1px solid rgba(154, 164, 188, 0.2);
	border-radius: 24px;
	padding: 36px;
}
.od-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.od-field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.od-field > label, .od-field > legend { font-size: 14px; font-weight: 500; color: var(--od-text); padding: 0; }
.od-field__opt { color: var(--od-faint); font-weight: 400; font-family: var(--od-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 6px; }

.od-field input[type="text"],
.od-field input[type="email"],
.od-field input[type="url"],
.od-field textarea,
.od-select select {
	width: 100%;
	font: inherit; font-size: 16px; /* 16px stops iOS zooming in */
	color: var(--od-text);
	background: var(--od-space);
	border: 1px solid rgba(154, 164, 188, 0.3);
	border-radius: 12px;
	padding: 13px 16px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.od-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
@supports (field-sizing: content) {
	.od-field textarea { field-sizing: content; min-height: 0; min-block-size: 6lh; max-block-size: 18lh; }
}
.od-field input::placeholder, .od-field textarea::placeholder { color: #6B7590; }
.od-field input:focus, .od-field textarea:focus, .od-select select:focus {
	/* Transparent, not none: forced-colours mode paints it, since it strips the glow */
	outline: 2px solid transparent; outline-offset: 0;
	border-color: var(--od-red-text);
	box-shadow: 0 0 0 3px rgba(255, 75, 82, 0.2);
}
.od-field.is-invalid input, .od-field.is-invalid textarea { border-color: #FF6B70; }
.od-field__error { margin: 0; font-size: 13px; color: #FF8A8E; }

.od-select { position: relative; }
.od-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.od-select::after {
	content: ""; position: absolute; right: 18px; top: 50%;
	width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--od-muted); border-bottom: 2px solid var(--od-muted);
	transform: rotate(45deg); pointer-events: none;
}
.od-select option { background: var(--od-navy); color: var(--od-text); }

/* Project-type chips */
.od-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.od-chip { position: relative; cursor: pointer; }
.od-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.od-chip span {
	display: inline-flex; align-items: center;
	min-height: 44px; padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(154, 164, 188, 0.3);
	color: var(--od-muted); font-size: 15px;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.od-chip:hover span { border-color: rgba(238, 241, 247, 0.55); color: var(--od-text); }
.od-chip input:checked + span { background: var(--od-red); border-color: var(--od-red); color: #fff; }
.od-chip input:focus-visible + span { outline: 2px solid var(--od-red-text); outline-offset: 3px; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.od-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.od-form__challenge:empty { display: none; }

.od-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.od-form__submit { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font-family: inherit; }
.od-form__submit:disabled { cursor: progress; opacity: .8; transform: none; }
.od-form__spinner {
	display: none; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
	animation: od-spin .8s linear infinite;
}
.od-form.is-sending .od-form__spinner { display: inline-block; }

.od-form__status { margin: 0; font-size: 15px; color: var(--od-muted); }
.od-form__status:empty { display: none; }
.od-form__status.is-ok { color: #7BE0A6; }
.od-form__status.is-error { color: #FF8A8E; }

/* Sent: the form gives way to a confirmation */
.od-form.is-sent > :not(.od-form__foot) { display: none; }
.od-form.is-sent .od-form__submit { display: none; }
.od-form.is-sent .od-form__status { font-size: 20px; color: var(--od-text); }

@media (max-width: 600px) {
	.od-contact { padding: 88px 0; }
	.od-form { padding: 24px 20px; border-radius: 20px; }
	.od-form__row { grid-template-columns: minmax(0, 1fr); }
	.od-mini-orbit { width: 104px; height: 104px; }
	.od-mini-orbit__logo { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}

/* Privacy note beside the submit button */
.od-form__privacy { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--od-faint); }
.od-form__privacy a { color: var(--od-muted); }
.od-form__privacy a:hover { color: var(--od-text); }
.od-form.is-sent .od-form__privacy { display: none; }
.od-footer__meta .privacy-policy-link { color: var(--od-muted); text-decoration: none; }
.od-footer__meta .privacy-policy-link:hover { color: var(--od-text); }

/* ==========================================================================
   Cookie consent banner (EEA / UK / CH visitors)
   ========================================================================== */
.od-consent {
	position: fixed; z-index: 50;
	left: 24px; bottom: 24px;
	width: min(420px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 22px 22px 20px;
	background: var(--od-navy);
	color: var(--od-text);
	border: 1px solid rgba(154, 164, 188, 0.28);
	border-radius: 20px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
	/* Slides in when `hidden` is removed and out when it's added back, in CSS
	   alone: @starting-style gives the entry its first frame, and
	   allow-discrete holds off display:none until the exit has finished.
	   Browsers without these just show and hide it instantly. */
	transition: opacity .3s ease, transform .45s cubic-bezier(.34, 1.3, .64, 1), display .45s allow-discrete;
}
.od-consent[hidden] { display: none; opacity: 0; transform: translateY(24px); }
@starting-style {
	.od-consent { opacity: 0; transform: translateY(24px); }
}
.od-consent__title {
	margin: 0 0 8px;
	font-family: var(--od-mono); font-size: 12px; font-weight: 400;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--od-red-text);
}
.od-consent__text { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--od-muted); }
.od-consent__text a { color: var(--od-text); }
.od-consent__actions { display: flex; gap: 10px; }
.od-consent__btn {
	flex: 1;
	min-height: 44px; padding: 0 18px;
	border-radius: 999px;
	font: inherit; font-size: 15px; font-weight: 500;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
@media (hover: hover) { .od-consent__btn:hover { transform: translateY(-1px); } }
/* Decline and Accept are equally easy to pick */
.od-consent__btn--ghost { background: transparent; color: var(--od-text); border: 1px solid rgba(238, 241, 247, 0.4); }
.od-consent__btn--ghost:hover { border-color: rgba(238, 241, 247, 0.75); }
.od-consent__btn--primary { background: var(--od-red); color: #fff; border: 1px solid var(--od-red); }
.od-consent__btn--primary:hover { background: #E8323B; }

.od-footer__linkbtn {
	padding: 0; border: 0; background: none; cursor: pointer;
	font: inherit; color: var(--od-muted);
}
.od-footer__linkbtn:hover { color: var(--od-text); }

@media (max-width: 600px) {
	.od-consent { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.od-contact--page { padding: 48px 0 120px; }
.od-contact__form { flex: 1 1 520px; min-width: 0; }
.od-contact__form .od-form { flex: none; }

.od-page-title {
	margin: 0;
	font-size: clamp(44px, 6vw, 76px);
	line-height: 1.02; font-weight: 700; letter-spacing: -0.03em;
	opacity: 0; animation: od-drop .9s cubic-bezier(.2, .8, .2, 1) .25s forwards;
}
.od-rise { opacity: 0; animation: od-rise .8s ease-out var(--d, 0s) forwards; }

.od-tips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.od-tips li { display: flex; gap: 14px; align-items: baseline; color: var(--od-muted); font-size: 16px; }
.od-tips__num { flex: none; font-family: var(--od-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--od-red-text); }

@media (min-width: 901px) {
	.od-contact--page .od-contact__intro { position: sticky; top: 48px; }
}
@media (max-width: 600px) {
	.od-contact--page { padding: 24px 0 88px; }
}
@media (prefers-reduced-motion: reduce) {
	.od-page-title, .od-rise { opacity: 1; }
}

/* ==========================================================================
   404 — "Lost in space"
   ========================================================================== */
.od-404 {
	position: relative; z-index: 1; flex: 1;
	display: flex; align-items: center;
	padding: 24px 0 120px;
}
.od-404__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }

.od-404__code {
	display: flex; align-items: center; justify-content: center;
	gap: 0.06em;
	font-size: clamp(120px, 22vw, 260px);
	font-weight: 700; line-height: 1; letter-spacing: -0.04em;
	margin-bottom: 8px;
	opacity: 0; animation: od-rise 1s ease-out .1s forwards;
}
.od-404__digit { display: block; }

/* The zero is an orbit: a ring, a small moon going round, and the logo adrift */
.od-404__zero { position: relative; display: block; width: 0.6em; height: 0.74em; margin: 0 0.05em; } /* same height as the 4s */
.od-404__ring {
	position: absolute; inset: 0;
	border-radius: 50%;
	border: 0.1em solid var(--od-text); /* matches the 4s' stroke weight */
}
.od-404__track { position: absolute; inset: -0.1em; border-radius: 50%; animation: od-spin 9s linear infinite; }
.od-404__moon {
	position: absolute; left: 50%; top: 0;
	width: 0.07em; height: 0.07em; margin-left: -0.035em;
	border-radius: 50%; background: var(--od-red-text);
	box-shadow: 0 0 0.06em rgba(255, 75, 82, 0.7);
}
.od-404__drift {
	position: absolute; left: 50%; top: 50%;
	width: 0.24em; height: 0.24em; margin: -0.12em 0 0 -0.12em;
	animation: od-adrift 7s ease-in-out infinite;
}
.od-404__logo { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

/* Weightless: a slow wander and tumble */
@keyframes od-adrift {
	0%   { transform: translate(0, 0) rotate(-8deg); }
	25%  { transform: translate(0.03em, -0.04em) rotate(4deg); }
	50%  { transform: translate(-0.02em, 0.03em) rotate(12deg); }
	75%  { transform: translate(-0.04em, -0.02em) rotate(2deg); }
	100% { transform: translate(0, 0) rotate(-8deg); }
}

.od-404__title {
	margin: 0;
	font-size: clamp(36px, 5vw, 60px);
	line-height: 1.05; font-weight: 700; letter-spacing: -0.02em;
	opacity: 0; animation: od-rise .8s ease-out .35s forwards;
}
.od-404__lead { max-width: 32rem; opacity: 0; animation: od-rise .8s ease-out .5s forwards; }
.od-404__actions {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px;
	opacity: 0; animation: od-rise .8s ease-out .65s forwards;
}

@media (prefers-reduced-motion: reduce) {
	.od-404__code, .od-404__title, .od-404__lead, .od-404__actions { opacity: 1; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.od-about > section { position: relative; z-index: 1; }

/* Scroll reveals (any element with .od-reveal + data-od-dock) */
.od-js .od-reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease var(--d, 0s), transform .8s cubic-bezier(.34, 1.3, .64, 1) var(--d, 0s); }
.od-js .od-reveal.is-docked { opacity: 1; transform: none; }

/* Intro */
.od-about-intro { padding: 48px 0 96px; }
.od-about-intro__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.od-about-intro__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.od-about-orbit {
	position: relative;
	flex: 1 1 320px; max-width: 460px; min-width: 0;
	aspect-ratio: 1 / 1; margin: 0 auto;
	container-type: inline-size;
}
.od-about-orbit__ring, .od-about-orbit__track { position: absolute; border-radius: 50%; }
.od-about-orbit__ring--outer, .od-about-orbit__track--outer { inset: 2%; }
.od-about-orbit__ring--inner, .od-about-orbit__track--inner { inset: 17%; }
.od-about-orbit__ring--outer { border: 1px solid rgba(154, 164, 188, 0.2); }
.od-about-orbit__ring--inner { border: 1px dashed rgba(154, 164, 188, 0.38); }
.od-about-orbit__track--outer { animation: od-spin 40s linear infinite reverse; }
.od-about-orbit__track--inner { animation: od-spin 18s linear infinite; }
.od-about-orbit__dot {
	position: absolute; left: 50%; top: 0;
	width: 12px; height: 12px; margin: -6px 0 0 -6px;
	border-radius: 50%; background: var(--od-red-text);
	box-shadow: 0 0 12px rgba(255, 75, 82, 0.6);
}
.od-about-orbit__dot--white { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--od-text); box-shadow: none; }
.od-about-orbit__logo, .od-about-orbit__photo {
	position: absolute; left: 50%; top: 50%;
	border-radius: 50%; max-width: none; object-fit: cover;
	box-shadow: 0 0 0 8px var(--od-space);
}
.od-about-orbit__logo { width: 38cqi; height: 38cqi; margin: -19cqi 0 0 -19cqi; }
.od-about-orbit__photo { width: 56cqi; height: 56cqi; margin: -28cqi 0 0 -28cqi; border: 2px solid var(--od-red); }

/* Story + facts */
.od-about-story { padding: 64px 0 96px; }
.od-about-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.od-about-story__text p { margin: 0 0 1.2em; font-size: 18px; line-height: 1.7; color: var(--od-muted); }
.od-about-story__text p:first-child { font-size: 21px; color: var(--od-text); }

.od-stats {
	list-style: none; margin: 56px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.od-stat {
	display: flex; flex-direction: column; gap: 10px;
	padding: 28px; border-radius: 20px;
	border: 1px solid rgba(154, 164, 188, 0.2);
	background: rgba(9, 28, 58, 0.55);
}
.od-stat__value { font-size: clamp(40px, 4.6vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--od-text); }
.od-stat__label { font-size: 15px; color: var(--od-muted); }

/* Principles */
.od-about-values { padding: 64px 0 96px; }
.od-values { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.od-values .od-card__num { margin-bottom: 18px; color: var(--od-red-text); }

/* Process: a trajectory that draws across, with nodes lighting in turn */
.od-about-process { padding: 64px 0 96px; }
.od-steps {
	--rail: 9px;
	position: relative; list-style: none;
	margin: 48px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px;
}
.od-steps::before, .od-steps::after {
	content: ""; position: absolute; top: calc(var(--rail) - 1px);
	left: 9px; right: calc((100% - (var(--n, 4) - 1) * 32px) / var(--n, 4) - 9px); /* first node to last node */
	height: 2px; border-radius: 2px;
}
.od-steps::before { background: var(--od-line); }
.od-steps::after { background: var(--od-red); transform-origin: left; transform: scaleX(1); }
.od-js .od-steps::after { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .2s; }
.od-js .od-steps.is-docked::after { transform: scaleX(1); }

.od-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; }
.od-step__node {
	position: absolute; top: 0; left: 0;
	width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; z-index: 1;
	background: var(--od-red); border: 2px solid var(--od-red);
	box-shadow: 0 0 0 6px rgba(216, 35, 44, 0.18);
}
.od-js .od-step__node { background: var(--od-space); border-color: rgba(154, 164, 188, 0.45); box-shadow: none; transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease; transition-delay: calc(.3s + var(--i) * .4s); }
.od-js .od-steps.is-docked .od-step__node { background: var(--od-red); border-color: var(--od-red); box-shadow: 0 0 0 6px rgba(216, 35, 44, 0.18); }
.od-js .od-step__num, .od-js .od-step__title, .od-js .od-step__text { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s ease; transition-delay: calc(.35s + var(--i) * .4s); }
.od-js .od-steps.is-docked .od-step__num, .od-js .od-steps.is-docked .od-step__title, .od-js .od-steps.is-docked .od-step__text { opacity: 1; transform: none; }
.od-step__num { font-family: var(--od-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--od-faint); }
.od-step__title { margin: 0; font-size: 22px; line-height: 1.2; }
.od-step__text { margin: 0; color: var(--od-muted); font-size: 16px; }

/* Closing */
.od-about-cta { padding: 32px 0 120px; }
.od-cta-band {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
	padding: 64px 32px; border-radius: 28px;
	background: var(--od-navy); border: 1px solid rgba(154, 164, 188, 0.2);
}

@media (max-width: 900px) {
	.od-about-story__grid { grid-template-columns: minmax(0, 1fr); }
	.od-stats, .od-values { grid-template-columns: minmax(0, 1fr); }
	/* Process turns vertical */
	.od-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 40px; }
	/* One connector per step, from its node to the next node, so the line
	   ends exactly on the last dot whatever the text length */
	.od-steps::before, .od-steps::after { display: none; }
	.od-step:not(:last-child)::before,
	.od-step:not(:last-child)::after {
		content: ""; position: absolute;
		left: -32px; width: 2px; border-radius: 2px;
		top: 11px; bottom: -39px; /* this node's centre to the next node's centre (28px gap + 11px) */
	}
	.od-step:not(:last-child)::before { background: var(--od-line); }
	.od-step:not(:last-child)::after { background: var(--od-red); transform-origin: top; }
	.od-js .od-step:not(:last-child)::after { transform: scaleY(0); transition: transform .4s ease-in-out calc(.3s + var(--i) * .4s); }
	.od-js .od-steps.is-docked .od-step:not(:last-child)::after { transform: scaleY(1); }
	.od-step { padding-top: 0; }
	.od-step__node { left: -40px; top: 2px; }
}
@media (max-width: 600px) {
	.od-about-intro { padding: 24px 0 64px; }
	.od-about-story, .od-about-values, .od-about-process { padding: 48px 0 64px; }
	.od-cta-band { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.od-js .od-reveal, .od-js .od-step__num, .od-js .od-step__title, .od-js .od-step__text { opacity: 1; transform: none; }
	.od-js .od-steps::after { transform: none; }
	.od-js .od-step__node { background: var(--od-red); border-color: var(--od-red); }
}

/* ==========================================================================
   Service pages
   ========================================================================== */
.od-service > section { position: relative; z-index: 1; }
.od-service-intro { padding: 48px 0 80px; }
.od-service-intro__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.od-service-intro__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.od-crumb { color: inherit; text-decoration: none; }
.od-crumb:hover { color: var(--od-text); }

/* The service's icon at the centre of a small orbit */
.od-service-orbit { position: relative; flex: 0 1 300px; aspect-ratio: 1 / 1; margin: 0 auto; }
.od-service-orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(154, 164, 188, 0.38); }
.od-service-orbit__track { position: absolute; inset: 0; border-radius: 50%; animation: od-spin 16s linear infinite; }
.od-service-orbit__dot {
	position: absolute; left: 50%; top: 0;
	width: 12px; height: 12px; margin: -6px 0 0 -6px;
	border-radius: 50%; background: var(--od-red-text);
	box-shadow: 0 0 12px rgba(255, 75, 82, 0.6);
}
.od-service-orbit__icon {
	position: absolute; left: 50%; top: 50%;
	width: 46%; height: 46%; transform: translate(-50%, -50%);
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; color: #fff;
	background: var(--od-navy); /* the logo's deeper navy */
	/* Echoes the site logo: navy disc, white ring, red outer ring (then a gap of space) */
	box-shadow: 0 0 0 6px #FFFFFF, 0 0 0 12px var(--od-red), 0 0 0 21px var(--od-space); /* white and red rings, 6px each */
}
.od-service-orbit__icon svg { width: 42%; height: 42%; }
@media (max-width: 900px) {
	.od-service-orbit__icon { box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 10px var(--od-red), 0 0 0 17px var(--od-space); }
}

.od-service-section { padding: 56px 0; }

/* What's included */
.od-checklist {
	list-style: none; margin: 36px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px;
}
.od-checklist li {
	display: flex; align-items: flex-start; gap: 14px;
	padding: 18px 20px; border-radius: 16px;
	background: rgba(9, 28, 58, 0.55); border: 1px solid rgba(154, 164, 188, 0.16);
	font-size: 17px; color: var(--od-text);
}
.od-checklist svg { flex: none; margin-top: 3px; color: var(--od-red-text); }

/* Who it's for */
.od-for {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 56px; align-items: baseline;
	padding: 40px; border-radius: 24px;
	background: var(--od-navy); border: 1px solid rgba(154, 164, 188, 0.2);
}
.od-for__title { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
.od-for__text { margin: 0; font-size: 19px; line-height: 1.6; color: var(--od-muted); }

/* FAQ accordion (native <details>, no script needed) */
.od-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 56px; align-items: start; }
.od-faq { display: flex; flex-direction: column; gap: 12px; }
.od-faq__item { border-radius: 16px; border: 1px solid rgba(154, 164, 188, 0.2); background: rgba(9, 28, 58, 0.55); }
.od-faq__item[open] { border-color: rgba(255, 75, 82, 0.45); }
.od-faq__q {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 44px; padding: 18px 22px;
	font-size: 18px; font-weight: 500; color: var(--od-text);
}
.od-faq__q::-webkit-details-marker { display: none; }
.od-faq__q::after {
	content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px;
	border-right: 2px solid var(--od-muted); border-bottom: 2px solid var(--od-muted);
	transform: rotate(45deg); transition: transform .25s ease, margin .25s ease;
}
.od-faq__item[open] .od-faq__q::after { transform: rotate(-135deg); margin-top: 4px; border-color: var(--od-red-text); }
.od-faq__q:focus-visible { outline: 2px solid var(--od-red-text); outline-offset: 2px; border-radius: 16px; }
.od-faq__a { margin: 0; padding: 0 22px 22px; color: var(--od-muted); font-size: 16px; line-height: 1.65; }

/* Other services */
.od-others { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.od-other {
	height: 100%; box-sizing: border-box;
	display: flex; flex-direction: column; gap: 12px;
	padding: 26px; border-radius: 20px;
	background: var(--od-navy); border: 1px solid rgba(154, 164, 188, 0.2);
	color: var(--od-text); text-decoration: none;
	transition: border-color .3s ease, transform .3s ease;
}
@media (hover: hover) { .od-other:hover { color: var(--od-text); border-color: rgba(255, 75, 82, 0.55); transform: translateY(-3px); } }
.od-other .od-card__icon { color: #fff; }
.od-other__title { font-size: 22px; font-weight: 700; }
.od-other__text { color: var(--od-muted); font-size: 15px; line-height: 1.55; flex: 1; }
.od-other__more { font-size: 15px; color: var(--od-red-text); }

/* "Learn more" on the homepage service cards */
.od-card__more { align-self: flex-start; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--od-red-text); text-decoration: none; }
.od-card__more:hover { color: #FF7A7F; }

@media (max-width: 900px) {
	.od-checklist, .od-others { grid-template-columns: minmax(0, 1fr); }
	.od-for, .od-faq-wrap { grid-template-columns: minmax(0, 1fr); }
	.od-service-orbit { flex-basis: 220px; max-width: 220px; }
}
@media (max-width: 600px) {
	.od-service-intro { padding: 24px 0 56px; }
	.od-service-section { padding: 40px 0; }
	.od-for { padding: 28px 22px; }
}

/* Footer bottom row: copyright on the left, links evenly spaced on the right;
   on phones the copyright sits on its own line above the links. */
.od-footer__meta { align-items: center; justify-content: space-between; gap: 12px 32px; }
.od-footer__legal { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.od-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.od-footer__links > a, .od-footer__links > button, .od-footer__nav a {
	display: inline-flex; align-items: center; min-height: 44px; /* comfortable tap targets */
}
.od-footer__links .od-footer__top { margin-left: 0; }
@media (max-width: 700px) {
	.od-footer__meta { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
	.od-footer__links { gap: 0 28px; }
	.od-footer__nav ul { gap: 0 32px; }
	.od-footer__inner { gap: 24px; }
}

/* ==========================================================================
   Plain pages (page.php): header, readable text, "On this page" sidebar
   ========================================================================== */
.od-page { position: relative; z-index: 1; flex: 1; padding: 48px 0 112px; }
.od-page__head { margin-bottom: 48px; }
.od-page__head .od-page-title { max-width: 18ch; }

.od-page__body { display: block; }
.od-page:not(.od-page--toc) .od-prose { max-width: 760px; margin: 0 auto; }
.od-page:not(.od-page--toc) .od-page__head { text-align: center; }
.od-page:not(.od-page--toc) .od-page__head .od-page-title { margin: 0 auto; }

@media (min-width: 1000px) {
	.od-page--toc .od-page__body {
		display: grid;
		grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
		grid-template-areas: "prose toc";
		justify-content: space-between;
		gap: 64px;
		align-items: start;
	}
	.od-page--toc .od-prose { grid-area: prose; }
	.od-page--toc .od-toc { grid-area: toc; position: sticky; top: 32px; }
}

/* "On this page" */
.od-toc {
	padding: 24px; border-radius: 20px;
	background: rgba(9, 28, 58, 0.55); border: 1px solid rgba(154, 164, 188, 0.2);
	margin-bottom: 40px;
}
@media (min-width: 1000px) { .od-toc { margin-bottom: 0; } }
.od-toc__title {
	margin: 0 0 12px;
	font-family: var(--od-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--od-red-text);
}
.od-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: od-toc; }
.od-toc__list li { counter-increment: od-toc; }
.od-toc__list a {
	display: flex; gap: 12px; align-items: baseline;
	padding: 7px 0; min-height: 30px;
	color: var(--od-muted); text-decoration: none; font-size: 15px; line-height: 1.4;
	border-left: 2px solid transparent; margin-left: -24px; padding-left: 22px;
	transition: color .2s ease, border-color .2s ease;
}
.od-toc__list a::before {
	content: counter(od-toc, decimal-leading-zero);
	font-family: var(--od-mono); font-size: 11px; color: var(--od-faint); flex: none;
}
.od-toc__list a:hover { color: var(--od-text); }
.od-toc__list a[aria-current="true"] { color: var(--od-text); border-left-color: var(--od-red); }
.od-toc__list a[aria-current="true"]::before { color: var(--od-red-text); }
@media (max-width: 999px) {
	.od-toc__list { columns: 2; column-gap: 24px; }
	.od-toc__list li { break-inside: avoid; }
}
@media (max-width: 600px) { .od-toc__list { columns: 1; } }

/* Readable long-form text */
.od-prose { font-size: 17px; line-height: 1.75; color: var(--od-muted); }
.od-prose > :first-child { margin-top: 0; }
.od-prose p, .od-prose ul, .od-prose ol, .od-prose blockquote, .od-prose .od-table { margin: 0 0 1.2em; }
.od-prose h2 {
	margin: 2.4em 0 0.7em; padding-top: 1.2em;
	border-top: 1px solid var(--od-line);
	font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -0.01em;
	color: var(--od-text);
	scroll-margin-top: 24px;
}
.od-prose > h2:first-child { border-top: 0; padding-top: 0; }
.od-prose h3 { margin: 1.8em 0 0.5em; font-size: 20px; line-height: 1.3; color: var(--od-text); }
.od-prose strong, .od-prose b { color: var(--od-text); font-weight: 700; }
.od-prose a { color: var(--od-red-text); text-underline-offset: 3px; }
.od-prose a:hover { color: #FF7A7F; }
/* Links that open a new tab: a small arrow out of a box (blog.php adds the
   class and the hidden "(opens in a new tab)" text). Drawn as a mask so it
   takes the link colour. */
.od-newtab:not(.od-newtab--media)::after {
	content: ""; display: inline-block;
	inline-size: 0.78em; block-size: 0.78em; margin-inline-start: 0.28em; vertical-align: -0.04em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4 10 14'/%3E%3Cpath d='M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4 10 14'/%3E%3Cpath d='M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (forced-colors: active) {
	.od-newtab:not(.od-newtab--media)::after { forced-color-adjust: none; background-color: LinkText; }
}
.od-prose ul, .od-prose ol { padding-left: 1.3em; }
.od-prose li { margin: 0.35em 0; }
.od-prose li::marker { color: var(--od-red-text); }
.od-prose code { font-family: var(--od-mono); font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: rgba(154, 164, 188, 0.14); color: var(--od-text); }
.od-prose blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--od-red); color: var(--od-text); }
.od-prose hr { border: 0; border-top: 1px solid var(--od-line); margin: 2.4em 0; }
.od-prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
/* Wide tables scroll sideways inside this box; the table itself stays a
   real table so screen readers keep reading it as one (see blog.php). */
.od-table { max-inline-size: 100%; overflow-x: auto; border-radius: 4px; }
.od-table:focus-visible { outline-offset: 2px; }
.od-prose .wp-block-table { margin: 0 0 1.2em; overflow: visible; }
.od-prose .wp-block-table .od-table { margin: 0; }
.od-prose .wp-block-table figcaption { margin-top: 8px; font-size: 14px; color: var(--od-faint); }
.od-prose th, .od-prose td { padding: 10px 12px; border-bottom: 1px solid var(--od-line); text-align: left; }
.od-prose th { color: var(--od-text); }
.od-prose img { border-radius: 12px; }

@media (max-width: 600px) {
	.od-page { padding: 24px 0 88px; }
	.od-page__head { margin-bottom: 32px; }
	.od-prose { font-size: 16px; }
}

/* FAQ answers and the "On this page" box slide open (Chrome/Edge; others open instantly) */
@supports (interpolate-size: allow-keywords) {
	.od-faq__item::details-content, .od-toc__box::details-content {
		interpolate-size: allow-keywords; overflow: clip; contain: layout;
	}
	.od-faq__item:not([open])::details-content, .od-toc__box:not([open])::details-content { block-size: 0; }
	@media (prefers-reduced-motion: no-preference) {
		.od-faq__item::details-content, .od-toc__box::details-content {
			transition: block-size .3s ease-in-out, content-visibility .3s allow-discrete;
		}
	}
}

/* "On this page" collapses to a tap-to-open box below 1000px; always open beside the text above it */
.od-toc__box > summary { list-style: none; }
.od-toc__box > summary::-webkit-details-marker { display: none; }
@media (min-width: 1000px) {
	.od-toc__box > summary { pointer-events: none; }
}
@media (max-width: 999px) {
	.od-toc { padding: 0; }
	.od-toc__box > summary {
		cursor: pointer; margin: 0;
		display: flex; align-items: center; justify-content: space-between;
		min-height: 52px; padding: 0 22px;
	}
	.od-toc__box > summary::after {
		content: ""; width: 9px; height: 9px; margin-top: -4px;
		border-right: 2px solid var(--od-muted); border-bottom: 2px solid var(--od-muted);
		transform: rotate(45deg); transition: transform .25s ease, margin .25s ease;
	}
	.od-toc__box[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
	.od-toc__box .od-toc__list { padding: 0 24px 18px; }
	.od-toc__box .od-toc__list a { margin-left: -24px; }
}

/* ==========================================================================
   Services overview (page-services.php)
   ========================================================================== */
/* The four services orbiting the mark */
.od-hub-orbit { position: relative; flex: 0 1 340px; aspect-ratio: 1 / 1; margin: 0 auto; }
.od-hub-orbit__ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(154, 164, 188, 0.4); }
.od-hub-orbit__track { position: absolute; inset: 9%; border-radius: 50%; animation: od-spin 48s linear infinite; }
.od-hub-orbit__slot { position: absolute; transform: translate(-50%, -50%); }
.od-hub-orbit__slot--top { left: 50%; top: 0; }
.od-hub-orbit__slot--right { left: 100%; top: 50%; }
.od-hub-orbit__slot--bottom { left: 50%; top: 100%; }
.od-hub-orbit__slot--left { left: 0; top: 50%; }
.od-hub-orbit__icon {
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--od-navy); color: #fff;
	box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--od-red), 0 0 0 12px var(--od-space);
	animation: od-unspin 48s linear infinite; /* keeps each icon upright */
}
.od-hub-orbit__mark {
	position: absolute; left: 50%; top: 50%;
	width: 34%; height: 34%; transform: translate(-50%, -50%);
	border-radius: 50%; max-width: none;
}

/* Service cards */
.od-hub-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.od-hub-card {
	position: relative; height: 100%; box-sizing: border-box;
	display: flex; flex-direction: column; gap: 14px;
	padding: 32px; border-radius: 24px;
	background: var(--od-navy); border: 1px solid rgba(154, 164, 188, 0.2);
	transition: border-color .3s ease, transform .3s ease;
}
.od-hub-card:focus-within { border-color: rgba(255, 75, 82, 0.55); transform: translateY(-3px); }
@media (hover: hover) { .od-hub-card:hover { border-color: rgba(255, 75, 82, 0.55); transform: translateY(-3px); } }
.od-hub-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.od-hub-card__icon {
	display: flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; border-radius: 50%;
	background: var(--od-navy); color: #fff;
	box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--od-red);
	margin: 6px;
}
.od-hub-card__title { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
/* The title link covers the whole card, so anywhere on it is clickable */
.od-hub-card__title a { color: var(--od-text); text-decoration: none; }
.od-hub-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.od-hub-card__title a:focus-visible { outline: none; }
.od-hub-card__title a:focus-visible::after { outline: 2px solid var(--od-red-text); outline-offset: 3px; }
.od-hub-card__text { margin: 0; color: var(--od-muted); font-size: 16px; line-height: 1.6; }
.od-hub-card__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.od-hub-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--od-text); }
.od-hub-card__list svg { flex: none; margin-top: 4px; color: var(--od-red-text); }
.od-hub-card__more { margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--od-red-text); }

@media (max-width: 900px) {
	.od-hub-cards { grid-template-columns: minmax(0, 1fr); }
	.od-hub-orbit { flex-basis: 260px; max-width: 260px; }
	.od-hub-orbit__icon { width: 46px; height: 46px; }
	.od-hub-orbit__icon svg { width: 18px; height: 18px; }
}
@media (max-width: 600px) {
	.od-hub-card { padding: 24px 22px; }
	.od-hub-card__title { font-size: 24px; }
}

/* ==========================================================================
   Mobile menu: on phones the links fold into a menu button beside the logo
   (only when JS is running — without it the links simply wrap below)
   ========================================================================== */
.od-menu-toggle { display: none; }

@media (max-width: 760px) {
	.od-js .od-header__inner { flex-wrap: nowrap; }
	.od-js .od-menu-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		flex: none; width: 48px; height: 48px; margin-right: -8px;
		padding: 0; border: 0; border-radius: 50%;
		background: transparent; color: var(--od-text); cursor: pointer;
	}
	.od-js .od-menu-toggle:focus-visible { outline: 2px solid var(--od-red-text); outline-offset: 2px; }
	.od-menu-toggle__bars { position: relative; display: block; width: 24px; height: 16px; }
	.od-menu-toggle__bars span {
		position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
		transition: transform .3s ease, opacity .2s ease, top .3s ease;
	}
	.od-menu-toggle__bars span:nth-child(1) { top: 0; }
	.od-menu-toggle__bars span:nth-child(2) { top: 7px; }
	.od-menu-toggle__bars span:nth-child(3) { top: 14px; width: 65%; left: auto; right: 0; }
	/* Bars turn into an X when open */
	.od-header.is-open .od-menu-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
	.od-header.is-open .od-menu-toggle__bars span:nth-child(2) { opacity: 0; }
	.od-header.is-open .od-menu-toggle__bars span:nth-child(3) { top: 7px; width: 100%; transform: rotate(-45deg); }

	/* The panel drops down under the header */
	.od-js .od-nav {
		position: absolute; left: 16px; right: 16px; top: calc(100% - 8px); z-index: 20;
		padding: 12px 20px 20px; border-radius: 20px;
		background: var(--od-navy); border: 1px solid rgba(154, 164, 188, 0.25);
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s;
	}
	.od-js .od-header.is-open .od-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.od-js .od-nav ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 20px; }
	.od-js .od-nav li + li { border-top: 1px solid var(--od-line); }
	.od-js .od-nav a { display: flex; align-items: center; min-height: 56px; color: var(--od-text); }
	.od-js .od-nav .od-cta { border-top: 0; margin-top: 12px; }
	.od-js .od-nav .od-cta > a { justify-content: center; padding: 0 20px; color: var(--od-navy); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
	.od-js .od-nav, .od-menu-toggle__bars span { transition: none; }
}

/* Work with a single project: no pinned scroll stretch — it simply sits on the page */
@media (min-width: 901px) {
	.od-js .od-work--single { height: auto; padding: 96px 0 120px; }
	.od-js .od-work--single .od-work__sticky { position: static; height: auto; }
}

/* ==========================================================================
   Blog (home.php, archive.php, search.php, single.php)
   ========================================================================== */
.od-blog { position: relative; z-index: 1; flex: 1; padding: 48px 0 120px; }
.od-blog__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 56px; }
.od-blog__head .od-page-title { max-width: 16ch; }
.od-blog__lead p { margin: 0; }
.od-blog__lead { max-width: 36rem; }

/* Category filter row and tags */
.od-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.od-filter {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border-radius: 999px; border: 1px solid rgba(154, 164, 188, 0.3);
	color: var(--od-muted); text-decoration: none; font-size: 15px;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.od-filter:hover { color: var(--od-text); border-color: rgba(238, 241, 247, 0.6); }
.od-filter[aria-current="page"] { background: var(--od-red); border-color: var(--od-red); color: #fff; }

/* Post cards */
/* Cards fade in quicker than other sections */
.od-js .od-post-cards .od-reveal { transform: translateY(16px); transition-duration: .45s, .55s; }
.od-post-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.od-post-cards__feature { grid-column: 1 / -1; }
.od-post-card {
	position: relative; height: 100%; box-sizing: border-box;
	display: flex; flex-direction: column;
	border-radius: 24px; overflow: hidden;
	background: var(--od-navy); border: 1px solid rgba(154, 164, 188, 0.2);
	transition: border-color .3s ease, transform .3s ease;
}
.od-post-card:focus-within { border-color: rgba(255, 75, 82, 0.55); transform: translateY(-3px); }
@media (hover: hover) { .od-post-card:hover { border-color: rgba(255, 75, 82, 0.55); transform: translateY(-3px); } }
.od-post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--od-navy-2); }
.od-post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .od-post-card:hover .od-post-card__media img { transform: scale(1.04); } }
.od-post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; flex: 1; }
.od-post-card__cat {
	margin: 0; font-family: var(--od-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--od-red-text);
}
.od-post-card__title { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.od-post-card__title a { color: var(--od-text); text-decoration: none; }
/* The title link covers the whole card */
.od-post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.od-post-card__title a:focus-visible { outline: none; }
.od-post-card:has(.od-post-card__title a:focus-visible) { outline: 2px solid var(--od-red-text); outline-offset: 3px; }
.od-post-card__excerpt {
	margin: 0; color: var(--od-muted); font-size: 16px; line-height: 1.6;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.od-post-card--feature .od-post-card__excerpt { -webkit-line-clamp: 4; line-clamp: 4; }
.od-post-card .od-post-meta { margin-top: auto; padding-top: 6px; }

/* The large first card on the blog page */
@media (min-width: 900px) {
	.od-post-card--feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
	.od-post-card--feature .od-post-card__media { aspect-ratio: auto; min-height: 340px; }
	.od-post-card--feature .od-post-card__body { justify-content: center; padding: 48px; gap: 16px; }
	.od-post-card--feature .od-post-card__title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; }
	.od-post-card--feature .od-post-card__excerpt { font-size: 17px; }
	.od-post-card--feature .od-post-meta { margin-top: 8px; }
}

/* No featured image: a small orbit instead */
.od-post-card__placeholder {
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 50% 50%, rgba(216, 35, 44, 0.16), transparent 42%),
		linear-gradient(135deg, var(--od-navy-2), var(--od-navy) 70%);
}
.od-post-card__ring {
	position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 2.4 / 1;
	border: 1px dashed rgba(154, 164, 188, 0.45); border-radius: 50%;
	transform: translate(-50%, -50%) rotate(-14deg);
}
.od-post-card__ring--outer { width: 76%; border-style: solid; border-color: rgba(154, 164, 188, 0.18); transform: translate(-50%, -50%) rotate(-14deg); }
.od-post-card__planet {
	position: absolute; left: 50%; top: 50%; width: 11%; aspect-ratio: 1;
	border-radius: 50%; transform: translate(-50%, -50%);
	background: var(--od-navy); box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--od-red);
}
.od-post-card__planet::after {
	content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%;
	left: 50%; top: 50%; background: var(--od-red-text);
	transform: rotate(var(--od-a, 40deg)) translateX(260%) translate(-50%, -50%);
	transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) { .od-post-card:hover .od-post-card__planet::after { transform: rotate(calc(var(--od-a, 40deg) + 200deg)) translateX(260%) translate(-50%, -50%); } }
.od-post-cards > li:nth-child(3n+2) .od-post-card__ring { transform: translate(-50%, -50%) rotate(12deg); }
.od-post-cards > li:nth-child(3n+2) .od-post-card__planet { --od-a: 200deg; }
.od-post-cards > li:nth-child(3n+3) .od-post-card__ring { transform: translate(-50%, -50%) rotate(-30deg); }
.od-post-cards > li:nth-child(3n+3) .od-post-card__planet { --od-a: 120deg; }

/* Date · reading time */
.od-post-meta {
	display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0;
	font-family: var(--od-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--od-faint);
}
.od-post-meta__item + .od-post-meta__item::before { content: "·"; margin: 0 10px; }

/* Page numbers */
.od-pages { margin-top: 56px; }
.od-pages .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.od-pages .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px;
	border: 1px solid rgba(154, 164, 188, 0.3); color: var(--od-muted);
	text-decoration: none; font-family: var(--od-mono); font-size: 14px;
}
.od-pages a.page-numbers:hover { color: var(--od-text); border-color: rgba(238, 241, 247, 0.6); }
.od-pages .page-numbers.current { background: var(--od-red); border-color: var(--od-red); color: #fff; }
.od-pages .page-numbers.dots { border-color: transparent; }

/* No posts yet */
.od-blog-empty {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
	padding: 64px 32px; border-radius: 28px;
	background: var(--od-navy); border: 1px dashed rgba(154, 164, 188, 0.35);
}
.od-blog-empty .od-mini-orbit { margin-bottom: 0; }
.od-blog-empty__text { margin: 0; max-width: 34rem; color: var(--od-muted); font-size: 18px; }
.od-blog-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* A single post */
.od-post { padding-bottom: 0; }
.od-post__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 48px; }
.od-post:not(.od-page--toc) .od-post__head { max-width: calc(760px + 64px); }
.od-post__title { font-size: clamp(36px, 5vw, 62px); line-height: 1.06; max-width: 22ch; }
.od-post__lead { max-width: 40rem; }
.od-post__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 2.4em 0 0 !important; padding: 0 !important; }
.od-post__tags li { margin: 0; }
.od-post__tags li::marker { content: none; }
.od-post__parts { margin-top: 2em; display: flex; gap: 10px; font-family: var(--od-mono); font-size: 14px; }

.od-post-more { padding: 96px 0 0; }
.od-post-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.od-post-more__title { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; }
.od-post-more__all { text-decoration: none; white-space: nowrap; }
.od-post-more + .od-about-cta { padding-top: 96px; }

@media (max-width: 999px) {
	.od-post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.od-post-cards--more > li:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
	.od-blog { padding: 24px 0 88px; }
	.od-blog__head, .od-post__head { margin-bottom: 36px; }
	.od-post-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.od-post-cards--more > li:nth-child(3) { display: list-item; }
	.od-post-meta__updated { display: none; } /* keeps the meta on one line */
	.od-post-card__body { padding: 22px 22px 24px; }
	.od-post-more { padding-top: 64px; }
	.od-post-more + .od-about-cta { padding-top: 64px; }
	.od-blog-empty { padding: 48px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.od-post-card, .od-post-card__media img, .od-post-card__planet::after { transition: none; }
	.od-post-card:hover { transform: none; }
	.od-post-card:hover .od-post-card__media img { transform: none; }
}

/* ==========================================================================
   Print
   Black on white, no motion or decoration, so service and About pages
   print as clean reading copies. Forms and navigation are left out.
   ========================================================================== */
@media print {
	@page { margin: 18mm 16mm; }

	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		text-shadow: none !important;
		box-shadow: none !important;
	}
	html, body, .od-site {
		background: #fff !important;
		color: #111 !important;
	}
	body { font-size: 11pt; line-height: 1.5; }

	/* Everything hidden until scrolled into view must show on paper. */
	.od-js .od-reveal, .od-js .od-mission__item .od-card, .od-js .od-work__item,
	.od-rise, .od-page-title, .od-eyebrow, .od-hero__title .od-word,
	.od-hero__lead, .od-hero__actions,
	.od-js .od-step__num, .od-js .od-step__title, .od-js .od-step__text {
		opacity: 1 !important;
		transform: none !important;
	}

	/* Not useful on paper. */
	.od-stars, .od-skip-link, .od-nav, .od-menu-toggle, .od-consent,
	.od-system, .od-orbit, .od-mini-orbit, .od-about-orbit, .od-service-orbit,
	.od-hub-orbit, .od-hero-screen, .od-toc, .od-btn, .od-hero__actions,
	.od-form, .od-contact__form, .od-cta-band, .od-about-cta,
	.od-footer__nav, .od-footer__links, .od-footer__linkbtn,
	.od-filters, .od-pages, .od-post-more, .od-post__tags, .od-blog-empty__actions {
		display: none !important;
	}

	/* Pinned and sticky layouts become plain flow. */
	.od-js .od-work, .od-js .od-work__sticky, .od-js .od-work__stage,
	.od-contact--page .od-contact__intro {
		position: static !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}
	.od-js .od-work__item { display: block !important; }

	/* Colour: dark text, keep one accent for headings' highlighted word. */
	h1, h2, h3, h4, p, li, dt, dd, span, summary, strong, blockquote, code, figcaption, time, .od-section-lead, .od-muted {
		color: #111 !important;
	}
	.od-eyebrow, .od-word--accent, .od-tips__num, .od-card__num { color: #B3141C !important; }

	/* No dark fills on paper (the Work mock-ups keep theirs). Icon discs
	   are white-on-navy artwork, so they're left out. */
	main :not(img, svg, .od-mock, .od-mock *) { background: transparent !important; }
	.od-card__icon, .od-hub-card__icon { display: none !important; }
	.od-card, .od-hub-card, .od-other, .od-for, .od-faq__item, .od-checklist li, .od-stat {
		border: 1px solid #ccc !important;
		break-inside: avoid;
	}

	/* FAQ answers print open (orbital.js also opens them on beforeprint). */
	.od-faq__item::details-content { content-visibility: visible; height: auto; block-size: auto; }
	.od-faq__q::marker, .od-faq__q::after { content: none !important; }
	h1, h2, h3 { break-after: avoid; }
	img { max-width: 100% !important; break-inside: avoid; }
	.od-table { overflow: visible !important; }
	/* On paper the icon gives way to the printed address (rule above). */
	.od-newtab::after { -webkit-mask: none !important; mask: none !important; background: none !important; inline-size: auto !important; block-size: auto !important; margin: 0 !important; display: inline !important; }
	.od-newtab .screen-reader-text { display: none; }

	/* Show where links in written page copy go. */
	.od-page__body a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		color: #555;
		word-break: break-all;
	}
	a { color: inherit !important; }

	/* Footer: brand line and legal text only. */
	.od-footer { border-top: 1px solid #ccc; margin-top: 24pt; padding-top: 12pt; }
}
