/* Oasis Ecommerce. Tokens follow DESIGN.md. */

@font-face {
	font-family: "Geist";
	src: url("../fonts/geist-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--o-bg: #F5F7FA;
	--o-surface: #FFFFFF;
	--o-ink: #05142D;
	--o-muted: #55627A;
	--o-line: #DCE2EB;
	--o-accent: #005BF0;
	--o-night: #05142D;
	--o-night-ink: #E9EEF6;
	--o-night-muted: #9AA8BF;
	--o-night-line: #1E2E4A;

	--o-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--o-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--o-s1: 8px;
	--o-s2: 16px;
	--o-s3: 32px;
	--o-s4: 64px;
	--o-s5: 128px;

	--o-r-sm: 6px;
	--o-r-md: 12px;

	--o-wrap: 1200px;
	--o-gutter: clamp(20px, 4vw, 40px);
	--o-text: 46rem;
	--o-section: clamp(64px, 7.5vw, 112px);
}

/* ---------- Base: neutralise GeneratePress layout ---------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body.oasis {
	background: var(--o-bg);
	color: var(--o-ink);
	font-family: var(--o-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.oasis #page.grid-container,
body.oasis .site.grid-container {
	max-width: none;
	padding: 0;
	margin: 0;
}

body.oasis .site-content {
	display: block;
	padding: 0;
}

body.oasis .site.container,
body.oasis .site-content {
	background: transparent;
}

body :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--o-font);
	color: inherit;
	margin: 0;
	text-transform: none;
}

body :where(p, ul, ol, figure, blockquote, address) {
	margin: 0;
}

body :where(ul, ol) {
	padding: 0;
	list-style: none;
}

body.oasis a {
	color: var(--o-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.15s ease;
}

body.oasis a:hover {
	color: var(--o-ink);
}

body.oasis :focus-visible {
	outline: 2px solid var(--o-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

body.oasis address {
	font-style: normal;
}

::selection {
	background: var(--o-accent);
	color: #fff;
}

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

.o-wrap--text {
	max-width: calc(var(--o-text) + 2 * var(--o-gutter));
}

.o-accent {
	color: var(--o-accent);
}

/* ---------- Type ---------- */

.o-h1 {
	font-size: clamp(2.4rem, 5.4vw, 4.25rem);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.035em;
	max-width: 18ch;
}

.o-h2 {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
	max-width: 20ch;
}

.o-lead {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.55;
	color: var(--o-muted);
	max-width: 38ch;
	margin-top: var(--o-s3);
}

.o-meta {
	font-family: var(--o-mono);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	color: var(--o-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.25em;
}

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

body.oasis .o-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--o-ink);
	color: #fff;
	font-family: var(--o-font);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.12s ease;
}

body.oasis .o-btn:hover {
	background: var(--o-accent);
	color: #fff;
}

body.oasis .o-btn:active {
	transform: translateY(1px);
}

body.oasis .o-btn--sm {
	min-height: 40px;
	padding: 0 20px;
	font-size: 0.95rem;
}

body.oasis .o-link-arrow,
body.oasis .o-link-back {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-weight: 500;
	color: var(--o-ink);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

body.oasis .o-link-arrow::after {
	content: "";
	width: 0.55em;
	height: 0.55em;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

body.oasis .o-link-arrow:hover {
	color: var(--o-accent);
}

body.oasis .o-link-arrow:hover::after {
	transform: translateX(3px) rotate(45deg);
}

body.oasis .o-link-back {
	border: 0;
	color: var(--o-muted);
	font-size: 0.95rem;
	margin-bottom: var(--o-s3);
}

body.oasis .o-link-back::before {
	content: "";
	width: 0.5em;
	height: 0.5em;
	border-bottom: 1.5px solid currentColor;
	border-left: 1.5px solid currentColor;
	transform: rotate(45deg);
}

body.oasis .o-link-back:hover {
	color: var(--o-ink);
}

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

.o-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--o-bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.o-header.is-scrolled {
	border-bottom-color: var(--o-line);
}

body.admin-bar .o-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .o-header { top: 46px; }
}

.o-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--o-s3);
	min-height: 76px;
}

.o-logo {
	display: block;
	line-height: 0;
}

.o-logo img {
	height: 42px;
	width: auto;
}

.o-nav {
	display: flex;
	align-items: center;
	gap: var(--o-s3);
}

.o-nav__list {
	display: flex;
	gap: 28px;
}

body.oasis .o-nav__list a {
	color: var(--o-ink);
	text-decoration: none;
	font-size: 0.97rem;
	font-weight: 450;
}

body.oasis .o-nav__list a:hover,
body.oasis:not(.home) .o-nav__list .current-menu-item > a,
body.oasis.single-post .o-nav__list .current_page_parent > a {
	color: var(--o-accent);
}

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

@media (max-width: 860px) {
	.o-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-right: -10px;
		padding: 0;
		background: transparent;
		border: 0;
		color: var(--o-ink);
		cursor: pointer;
	}

	.o-nav-toggle:hover,
	.o-nav-toggle:focus {
		background: transparent;
		color: var(--o-ink);
	}

	.o-nav-toggle__bars,
	.o-nav-toggle__bars::before,
	.o-nav-toggle__bars::after {
		display: block;
		width: 22px;
		height: 1.5px;
		background: currentColor;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.o-nav-toggle__bars {
		position: relative;
	}

	.o-nav-toggle__bars::before,
	.o-nav-toggle__bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.o-nav-toggle__bars::before { top: -7px; }
	.o-nav-toggle__bars::after { top: 7px; }

	.o-nav-toggle[aria-expanded="true"] .o-nav-toggle__bars { background: transparent; }
	.o-nav-toggle[aria-expanded="true"] .o-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.o-nav-toggle[aria-expanded="true"] .o-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

	.o-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--o-s3);
		padding: var(--o-s3) var(--o-gutter) var(--o-s4);
		background: var(--o-bg);
		border-bottom: 1px solid var(--o-line);
		display: none;
	}

	.o-nav.is-open {
		display: flex;
	}

	.o-nav__list {
		flex-direction: column;
		gap: var(--o-s2);
	}

	body.oasis .o-nav__list a {
		font-size: 1.5rem;
		font-weight: 500;
		letter-spacing: -0.02em;
	}
}

/* ---------- Sections ---------- */

.o-section {
	padding-block: var(--o-section);
}

.o-section--tint {
	background: var(--o-surface);
	border-block: 1px solid var(--o-line);
}

.o-section--flush {
	padding-top: 0;
}

.o-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--o-s3);
	flex-wrap: wrap;
}

.o-night {
	background: var(--o-night);
	color: var(--o-night-ink);
}

.o-night .o-lead {
	color: var(--o-night-muted);
}

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

.o-hero {
	position: relative;
	overflow: hidden;
	min-height: min(calc(100svh - 76px), 820px);
	display: flex;
	align-items: center;
	padding-block: var(--o-s4);
}

.o-hero__inner {
	position: relative;
	z-index: 1;
}

.o-hero__title {
	font-size: clamp(2.6rem, 6.4vw, 5.6rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.045em;
	max-width: 15ch;
}

.o-hero__lead {
	margin-top: var(--o-s3);
	max-width: 40ch;
	font-size: clamp(1.1rem, 1.7vw, 1.35rem);
	line-height: 1.5;
	color: var(--o-muted);
}

.o-hero__lead strong {
	color: var(--o-ink);
	font-weight: 500;
}

.o-hero .o-btn {
	margin-top: 40px;
}

/* Mobile and tablet: the mark sits whole in the bottom-right corner, below the text. */
.o-hero__mark {
	position: absolute;
	z-index: 0;
	right: -2vw;
	bottom: 24px;
	width: min(34vw, 240px);
	height: auto;
	pointer-events: none;
}

@media (max-width: 1099px) {
	.o-hero {
		align-items: flex-start;
		min-height: 0;
		/* Room for the mark: its height is 1.1 times its width. */
		padding-bottom: calc(48px + min(34vw, 240px) * 1.1);
	}
}

@media (min-width: 1100px) {
	.o-hero__mark {
		right: -6vw;
		width: min(40vw, 640px);
		bottom: -18%;
	}

	.o-hero__title { max-width: 13ch; }
}

/* ---------- Statement ---------- */

.o-statement {
	border-top: 1px solid var(--o-line);
	padding-block: var(--o-section);
}

.o-statement__text {
	font-size: clamp(1.9rem, 4.4vw, 3.6rem);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.035em;
	max-width: 22ch;
}

.o-statement__text em {
	font-style: normal;
	color: var(--o-accent);
}

/* ---------- Principles (2 x 2, hairlines) ---------- */

.o-principles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--o-s4);
	margin-top: var(--o-s4);
}

.o-principles li {
	padding-block: var(--o-s3) 40px;
	border-top: 1px solid var(--o-line);
}

.o-principles h3,
.o-steps h3 {
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.o-principles p,
.o-steps p {
	margin-top: 12px;
	color: var(--o-muted);
	max-width: 40ch;
}

@media (max-width: 860px) {
	.o-principles { grid-template-columns: 1fr; }
}

/* ---------- Scope (night) ---------- */

.o-scope {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--o-s4);
	border-top: 1px solid var(--o-night-line);
	counter-reset: scope;
}

.o-scope li {
	display: flex;
	align-items: baseline;
	gap: var(--o-s2);
	padding: 22px 0;
	border-bottom: 1px solid var(--o-night-line);
	font-size: clamp(1.25rem, 2.3vw, 1.8rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.o-scope li:nth-child(odd) {
	padding-right: var(--o-s3);
}

.o-scope li:nth-child(even) {
	padding-left: var(--o-s3);
	border-left: 1px solid var(--o-night-line);
}

@media (max-width: 860px) {
	.o-scope { grid-template-columns: 1fr; }
	.o-scope li:nth-child(n) { padding-inline: 0; border-left: 0; }
}

/* ---------- What you won't find ---------- */

.o-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: var(--o-s4);
	align-items: start;
}

.o-nots li {
	position: relative;
	padding: 20px 0 20px 44px;
	border-bottom: 1px solid var(--o-line);
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.4;
}

.o-nots li:first-child {
	border-top: 1px solid var(--o-line);
}

.o-nots li::before,
.o-nots li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: calc(20px + 0.7em);
	width: 18px;
	height: 1.5px;
	background: var(--o-accent);
	transform: rotate(45deg);
}

.o-nots li::after {
	transform: rotate(-45deg);
}

@media (max-width: 860px) {
	.o-split { grid-template-columns: 1fr; gap: var(--o-s3); }
}

/* ---------- About ---------- */

.o-about {
	border-top: 1px solid var(--o-line);
}

.o-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	gap: var(--o-s4);
	align-items: end;
}

.o-about__year {
	font-size: clamp(5.5rem, 15vw, 12.5rem);
	font-weight: 600;
	line-height: 0.85;
	letter-spacing: -0.06em;
	color: var(--o-ink);
}

.o-about__year span {
	display: block;
	margin-bottom: 18px;
	font-family: var(--o-mono);
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--o-accent);
}

.o-about__text p {
	margin-top: var(--o-s2);
	max-width: 44ch;
	font-size: 1.1rem;
	color: var(--o-muted);
}

.o-about__text .o-h2 + p {
	margin-top: var(--o-s3);
}

.o-about__text strong {
	color: var(--o-ink);
	font-weight: 600;
}

.o-signature {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: var(--o-s3);
	padding-top: var(--o-s3);
	border-top: 1px solid var(--o-line);
}

.o-signature img {
	flex: none;
	width: 88px;
	height: 88px;
	border-radius: var(--o-r-md);
	object-fit: cover;
}

.o-signature figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.35;
}

body.oasis .o-signature__name {
	font-weight: 600;
	color: var(--o-ink);
	text-decoration: underline;
	text-decoration-color: var(--o-line);
}

body.oasis .o-signature__name:hover {
	color: var(--o-accent);
	text-decoration-color: currentColor;
}

.o-signature__role {
	font-family: var(--o-mono);
	font-size: 0.8rem;
	color: var(--o-muted);
}

@media (max-width: 860px) {
	.o-about__inner { grid-template-columns: 1fr; gap: var(--o-s3); }
}

/* ---------- Steps (connected line) ---------- */

.o-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--o-s3);
	margin-top: var(--o-s4);
	position: relative;
}

.o-steps li {
	position: relative;
	padding-top: 40px;
}

.o-steps li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--o-surface);
	border: 2px solid var(--o-ink);
	z-index: 1;
}

.o-steps li:last-child::before {
	background: var(--o-accent);
	border-color: var(--o-accent);
}

.o-steps li::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 13px;
	right: calc(-1 * var(--o-s3));
	height: 1px;
	background: var(--o-line);
}

.o-steps li:last-child::after {
	display: none;
}

@media (max-width: 860px) {
	.o-steps { grid-template-columns: 1fr; gap: 0; }
	.o-steps li { padding: 0 0 40px 40px; }
	.o-steps li::before { top: 4px; }
	.o-steps li::after { top: 17px; left: 6px; right: auto; bottom: 0; width: 1px; height: auto; }
	.o-steps li:last-child { padding-bottom: 0; }
}

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

.o-posts {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 0 var(--o-s4);
	margin-top: var(--o-s4);
	border-top: 1px solid var(--o-line);
}

.o-post {
	padding-block: var(--o-s3) 40px;
	border-bottom: 1px solid var(--o-line);
}

/* Front page: newest post large on the left, the other two stacked right. */
.o-posts:not(.o-posts--list):not(.o-posts--two) .o-post:first-child {
	grid-row: span 2;
	border-bottom: 0;
	padding-right: 0;
}

.o-posts:not(.o-posts--list):not(.o-posts--two) .o-post:first-child .o-post__title {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	max-width: 18ch;
}

.o-post .o-meta {
	margin-bottom: 14px;
}

.o-post__title {
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	max-width: 30ch;
}

body.oasis .o-post__title a {
	color: var(--o-ink);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.25s ease, color 0.15s ease;
}

body.oasis .o-post__title a:hover {
	color: var(--o-accent);
	background-size: 100% 1px;
}

.o-post__excerpt {
	margin-top: 12px;
	color: var(--o-muted);
	max-width: 52ch;
}

.o-posts--list {
	grid-template-columns: 1fr;
	margin-top: 0;
}

.o-posts--list .o-post {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 4px var(--o-s3);
	padding-block: 36px;
}

.o-posts--list .o-post .o-meta {
	grid-row: span 2;
	flex-direction: column;
	margin: 6px 0 0;
}

.o-posts--list .o-post__excerpt {
	grid-column: 2;
}

.o-posts--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 860px) {
	.o-posts,
	.o-posts--two { grid-template-columns: 1fr; }
	.o-posts:not(.o-posts--list):not(.o-posts--two) .o-post:first-child { grid-row: auto; border-bottom: 1px solid var(--o-line); }
	.o-posts--list .o-post { grid-template-columns: 1fr; padding-block: var(--o-s3); }
	.o-posts--list .o-post .o-meta { grid-row: auto; flex-direction: row; margin-bottom: 8px; }
	.o-posts--list .o-post__excerpt { grid-column: auto; }
}

/* Pagination */
body.oasis .pagination,
body.oasis .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: var(--o-s4);
	font-family: var(--o-mono);
	font-size: 0.85rem;
}

body.oasis .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--o-line);
	border-radius: 999px;
	color: var(--o-ink);
	text-decoration: none;
}

body.oasis .nav-links .page-numbers.current {
	background: var(--o-ink);
	border-color: var(--o-ink);
	color: #fff;
}

/* ---------- Place (map) ---------- */

.o-place {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--o-s4);
	align-items: center;
}

.o-place__address {
	margin-top: var(--o-s3);
	font-size: 1.15rem;
	line-height: 1.55;
}

.o-place__note {
	margin-top: var(--o-s2);
	margin-bottom: var(--o-s3);
	color: var(--o-muted);
}

.o-place__map {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--o-r-md);
	overflow: hidden;
	border: 1px solid var(--o-line);
	background: var(--o-bg);
}

.o-place__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.05) brightness(1.02);
	transition: filter 0.4s ease;
}

.o-place__map:hover iframe,
.o-place__map:focus-within iframe {
	filter: none;
}

@media (max-width: 860px) {
	.o-place { grid-template-columns: 1fr; gap: var(--o-s3); }
}

/* ---------- Contact ---------- */

.o-contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--o-s4);
	align-items: start;
}

.o-contact__intro > p {
	margin-top: var(--o-s3);
	color: var(--o-muted);
	max-width: 34ch;
	font-size: 1.1rem;
}

.o-contact__direct {
	font-size: 1.15rem;
	line-height: 1.8;
}

body.oasis .o-contact__direct a {
	color: var(--o-ink);
}

body.oasis .o-contact__direct a:hover {
	color: var(--o-accent);
}

.o-form {
	background: var(--o-surface);
	border: 1px solid var(--o-line);
	border-radius: var(--o-r-md);
	padding: clamp(24px, 4vw, 48px);
}

.o-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--o-s2);
}

.o-field {
	margin-bottom: 20px;
}

.o-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.92rem;
	font-weight: 500;
}

.o-optional {
	font-weight: 400;
	color: var(--o-muted);
	margin-left: 4px;
}

body.oasis .o-form input[type="text"],
body.oasis .o-form input[type="email"],
body.oasis .o-form input[type="url"],
body.oasis .o-form textarea {
	width: 100%;
	padding: 13px 14px;
	background: var(--o-bg);
	border: 1px solid var(--o-line);
	border-radius: var(--o-r-sm);
	color: var(--o-ink);
	font-family: var(--o-font);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

body.oasis .o-form textarea {
	resize: vertical;
	min-height: 140px;
}

body.oasis .o-form input::placeholder {
	color: var(--o-muted);
}

body.oasis .o-form input:focus,
body.oasis .o-form textarea:focus {
	outline: none;
	background: var(--o-surface);
	border-color: var(--o-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--o-accent) 18%, transparent);
}

.o-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 4px 0 28px;
	font-size: 0.92rem;
	color: var(--o-muted);
	line-height: 1.5;
}

.o-check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--o-accent);
}

.o-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.o-notice {
	margin-bottom: 24px;
	padding: 14px 16px;
	border-radius: var(--o-r-sm);
	font-size: 0.95rem;
	border: 1px solid var(--o-line);
}

.o-notice--ok {
	border-color: var(--o-accent);
	color: var(--o-ink);
	background: color-mix(in srgb, var(--o-accent) 6%, var(--o-surface));
}

.o-notice--error {
	border-color: #B4232C;
	color: #8A1A21;
	background: #FDF3F3;
}

@media (max-width: 860px) {
	.o-contact { grid-template-columns: 1fr; gap: var(--o-s3); }
	.o-form__row { grid-template-columns: 1fr; }
}

/* ---------- Clients (night, sits on the footer) ---------- */

.o-clients__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: var(--o-s4);
	border-top: 1px solid var(--o-night-line);
}

.o-clients__list li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: var(--o-s3);
	border-bottom: 1px solid var(--o-night-line);
}

.o-clients__list li + li {
	border-left: 1px solid var(--o-night-line);
}

.o-clients__list a {
	display: block;
	line-height: 0;
}

.o-clients__list img {
	width: auto;
	height: auto;
	max-width: 220px;
	max-height: 84px;
	filter: grayscale(1);
	opacity: 0.8;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.o-clients__list a:hover img,
.o-clients__list a:focus-visible img {
	filter: none;
	opacity: 1;
}

@media (max-width: 860px) {
	.o-clients__list { grid-template-columns: 1fr; }
	.o-clients__list li { min-height: 132px; }
	.o-clients__list li + li { border-left: 0; }
}

/* ---------- Page heads, articles, prose ---------- */

.o-page-head {
	padding-block: clamp(64px, 9vw, 128px) var(--o-s4);
}

.o-page-head .o-meta {
	margin-top: var(--o-s3);
}

.o-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--o-s4);
}

body.oasis .o-cats a {
	padding: 8px 16px;
	border: 1px solid var(--o-line);
	border-radius: 999px;
	color: var(--o-ink);
	font-size: 0.92rem;
	text-decoration: none;
}

body.oasis .o-cats a:hover {
	border-color: var(--o-ink);
}

body.oasis .o-cats a[aria-current="page"] {
	background: var(--o-ink);
	border-color: var(--o-ink);
	color: #fff;
}

.o-article__title {
	max-width: 22ch;
}

.o-prose {
	padding-bottom: var(--o-s4);
	font-size: 1.1rem;
	line-height: 1.7;
}

.o-prose > * + * {
	margin-top: 1.25em;
}

.o-prose h2 {
	margin-top: 2.2em;
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.o-prose h3 {
	margin-top: 1.8em;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.o-prose h2 + *,
.o-prose h3 + * {
	margin-top: 0.75em;
}

.o-prose ul,
.o-prose ol {
	padding-left: 1.3em;
}

.o-prose ul { list-style: disc; }
.o-prose ol { list-style: decimal; }

.o-prose li + li {
	margin-top: 0.45em;
}

.o-prose li::marker {
	color: var(--o-accent);
}

.o-prose strong {
	font-weight: 600;
}

.o-prose blockquote {
	padding-left: var(--o-s3);
	border-left: 2px solid var(--o-accent);
	font-size: 1.25rem;
	line-height: 1.5;
}

.o-prose code {
	font-family: var(--o-mono);
	font-size: 0.9em;
	background: var(--o-surface);
	border: 1px solid var(--o-line);
	border-radius: 4px;
	padding: 0.1em 0.35em;
}

.o-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.o-prose th,
.o-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--o-line);
	text-align: left;
}

.o-prose--legal {
	font-size: 1rem;
}

.o-prose--legal h2 {
	font-size: 1.3rem;
}

.o-article__end {
	padding-block: var(--o-s3) var(--o-section);
}

.o-article__end p {
	padding-top: var(--o-s3);
	border-top: 1px solid var(--o-line);
	font-size: 1.15rem;
}

.o-404 {
	min-height: 60vh;
}

.o-404 .o-btn {
	margin-top: var(--o-s4);
}

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

.o-footer {
	background: var(--o-night);
	color: var(--o-night-ink);
	padding-block: var(--o-s4) var(--o-s3);
	font-size: 0.95rem;
}

body.oasis .o-footer a {
	color: var(--o-night-ink);
	text-decoration: none;
}

body.oasis .o-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.o-footer__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--o-s2) var(--o-s4);
	padding-bottom: var(--o-s4);
	border-bottom: 1px solid var(--o-night-line);
}

.o-footer__logo img {
	height: 44px;
	width: auto;
}

.o-footer__line {
	color: var(--o-night-muted);
	font-size: 1.05rem;
}

.o-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--o-s3);
	padding-block: var(--o-s3);
	line-height: 1.75;
}

.o-footer__legaldata {
	font-family: var(--o-mono);
	font-size: 0.78rem;
	line-height: 1.9;
	color: var(--o-night-muted);
}

.o-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--o-s2);
	padding-top: var(--o-s3);
	border-top: 1px solid var(--o-night-line);
	color: var(--o-night-muted);
	font-size: 0.85rem;
}

.o-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

body.oasis .o-footer .o-legal a {
	color: var(--o-night-muted);
}

body.oasis .o-footer .o-legal a:hover {
	color: #fff;
}

@media (max-width: 860px) {
	.o-footer__grid { grid-template-columns: 1fr; }
}

/* GeneratePress wraps our footer in .site-footer. */
body.oasis .site-footer {
	background: var(--o-night);
	padding: 0;
}
