/* ==========================================================================
   Odawara Metrology — main stylesheet
   Palette: pastel lavender + survey amber (its warm complement) on deep aubergine ink.
   ========================================================================== */

:root {
	--lav-25: #fbf9fe;
	--lav-50: #f6f2fc;
	--lav-100: #eee7fa;
	--lav-200: #ded1f4;
	--lav-300: #c8b5ec; /* signature pastel purple */
	--lav-400: #ad95df;
	--lav-500: #8f73cc;
	--lav-600: #7154b3;
	--lav-700: #573f91;

	--ink: #221a33;
	--ink-2: #3b3150;
	--ink-3: #1a1427;
	--muted: #625a78;
	--line: #e7e0f4;

	--sun: #ffc94d; /* survey amber */
	--sun-hover: #ffd570;
	--sun-soft: #fff0c8;
	--sun-line: #e6a417;
	--sun-text: #8f5d00;

	--font-sans: "Manrope", "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
	--font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	/* Japanese glyphs in mono labels fall through to Zen Kaku (IBM Plex Mono has none). */
	--font-mono: "IBM Plex Mono", "Zen Kaku Gothic New", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--radius: 20px;
	--radius-lg: 28px;
	--shadow: 0 1px 2px rgba(34, 26, 51, 0.04), 0 18px 40px -18px rgba(34, 26, 51, 0.22);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--section-pad: clamp(88px, 11vw, 150px);
}

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: 0.03em;
	color: var(--ink);
	background: var(--lav-50);
	line-break: strict;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.nav-open body {
	overflow: hidden;
}

h1,
h2,
h3,
p {
	margin: 0;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--lav-600);
}

/* Proportional kana spacing for headings and short labels (not body copy). */
h1,
h2,
h3,
.btn,
.brand-name,
.nav-main,
.eyebrow,
.section-label,
.hero-sub,
.contact-sub,
.stat-label,
.member-role,
.project-tag {
	font-feature-settings: "palt";
}

/* Break Japanese headings and short leads at natural phrase boundaries where supported. */
h1,
h2,
h3,
.section-intro,
.hero-sub,
.contact-sub,
.pillar-text {
	word-break: auto-phrase;
}

::selection {
	background: var(--lav-300);
	color: var(--ink);
}

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

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

.container-narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

.hl {
	background-image: linear-gradient(var(--sun), var(--sun));
	background-repeat: no-repeat;
	background-size: 100% 0.26em;
	background-position: 0 90%;
	padding: 0 0.04em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}

.btn .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn:active {
	transform: translateY(1px);
}

.btn-ink {
	background: var(--ink);
	color: #fff;
}

.btn-ink:hover {
	background: var(--lav-700);
	color: #fff;
}

.btn-sun {
	background: var(--sun);
	color: var(--ink);
}

.btn-sun:hover {
	background: var(--sun-hover);
	color: var(--ink);
	box-shadow: 0 10px 28px -10px rgba(230, 164, 23, 0.8);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.72);
	border-color: var(--lav-300);
	color: var(--ink);
}

.btn-ghost:hover {
	background: #fff;
	border-color: var(--lav-500);
	color: var(--ink);
}

.btn-sm {
	height: 44px;
	padding: 0 20px;
	font-size: 14px;
}

.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

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

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
}

/* Frosted background on a pseudo-element so the fixed mobile menu inside is not trapped by backdrop-filter. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(251, 249, 254, 0.84);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	box-shadow: 0 1px 0 var(--line);
	opacity: 0;
	transition: opacity 0.3s;
}

.site-header.is-scrolled::before {
	opacity: 1;
}

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

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

.header-inner {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.brand-mark {
	flex: none;
	width: 42px;
	height: 42px;
	color: var(--ink);
}

.brand-mark-bg {
	fill: var(--lav-300);
}

.brand-mark-dot {
	fill: var(--sun);
	stroke: var(--ink);
	stroke-width: 1.5;
}

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

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand-name {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.brand-sub {
	margin-top: 5px;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 20px;
}

.nav-list {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 7px 15px;
	border-radius: 999px;
	line-height: 1.3;
	color: var(--ink-2);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.nav-main {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.nav-sub {
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.nav-list a:hover {
	background: var(--lav-100);
	color: var(--ink);
}

.nav-list a.is-active {
	background: var(--lav-200);
	color: var(--ink);
}

.nav-toggle {
	display: none;
}

@media (max-width: 1080px) {
	.nav-toggle {
		position: relative;
		z-index: 2;
		display: inline-grid;
		place-items: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 1px solid var(--lav-300);
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.75);
		cursor: pointer;
	}

	.nav-toggle-bars,
	.nav-toggle-bars::before,
	.nav-toggle-bars::after {
		display: block;
		width: 18px;
		height: 2px;
		border-radius: 2px;
		background: var(--ink);
		transition: transform 0.3s var(--ease), background-color 0.2s;
	}

	.nav-toggle-bars {
		position: relative;
	}

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

	.nav-toggle-bars::before {
		transform: translateY(-6px);
	}

	.nav-toggle-bars::after {
		transform: translateY(6px);
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
		background: transparent;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
		transform: rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
		transform: rotate(-45deg);
	}

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 32px;
		padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
		background: var(--lav-50);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s, visibility 0.25s;
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
	}

	.nav-list {
		flex-direction: column;
		gap: 0;
	}

	.nav-list a {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		padding: 18px 4px;
		border-bottom: 1px solid var(--lav-200);
		border-radius: 0;
	}

	.nav-list a:hover,
	.nav-list a.is-active {
		background: none;
		color: var(--lav-700);
	}

	.nav-main {
		font-size: 22px;
	}

	.nav-sub {
		font-size: 11px;
	}

	.nav-cta {
		align-self: flex-start;
		height: 54px;
		padding: 0 26px;
		font-size: 16px;
	}
}

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

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	/* Spacing and type below scale with the screen height (vh), so the whole hero
	   — headline, buttons and stats — fits in the first screen on short laptops. */
	padding-top: calc(var(--header-h) + clamp(12px, 4.5vh, 80px));
	overflow: hidden;
	background:
		radial-gradient(900px 620px at 76% 42%, rgba(200, 181, 236, 0.45), transparent 70%),
		var(--lav-50);
}

.hero-art {
	position: absolute;
	inset: 0;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.35) 30%, #000 58%);
	mask-image: linear-gradient(90deg, transparent 4%, rgba(0, 0, 0, 0.35) 30%, #000 58%);
}

.hero-topo {
	display: block;
	width: 100%;
	height: 100%;
}

.topo-line {
	fill: none;
	stroke: var(--lav-400);
	stroke-width: 1.1;
	opacity: 0.8;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: om-draw 2.6s var(--ease) forwards;
	animation-delay: calc(var(--i) * 70ms);
}

.topo-index {
	stroke: var(--lav-500);
	stroke-width: 1.9;
}

@keyframes om-draw {
	to {
		stroke-dashoffset: 0;
	}
}

.reticle {
	opacity: 0;
	animation: om-fade 1s ease 1.2s forwards;
}

@keyframes om-fade {
	to {
		opacity: 1;
	}
}

.reticle-ring {
	fill: none;
	stroke: var(--lav-600);
	stroke-width: 1.3;
}

.reticle-spin {
	stroke-dasharray: 2 10;
	stroke-width: 2;
	transform-box: fill-box;
	transform-origin: center;
	animation: om-spin 60s linear infinite;
}

@keyframes om-spin {
	to {
		transform: rotate(360deg);
	}
}

.reticle-cross {
	stroke: var(--lav-600);
	stroke-width: 1.3;
}

.reticle-center {
	stroke: var(--ink);
	stroke-width: 1.6;
}

.reticle-dot {
	fill: var(--sun);
	stroke: var(--ink);
	stroke-width: 1.4;
}

.reticle-pulse {
	fill: none;
	stroke: var(--sun-line);
	stroke-width: 1.6;
	vector-effect: non-scaling-stroke;
	transform-box: fill-box;
	transform-origin: center;
	animation: om-pulse 2.8s ease-out infinite;
}

@keyframes om-pulse {
	from {
		transform: scale(1);
		opacity: 0.9;
	}

	to {
		transform: scale(9);
		opacity: 0;
	}
}

.reticle-leader {
	fill: none;
	stroke: var(--ink-2);
	stroke-width: 1.2;
}

.reticle-readout text {
	font-family: var(--font-mono);
	font-size: 15px;
	letter-spacing: 0.02em;
	fill: var(--ink-2);
}

/* Takes any spare height: the copy sits centred, the stats stay at the bottom. */
.hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: center;
}

.hero-copy {
	max-width: 720px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 10px;
	border: 1px solid var(--lav-200);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.65);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lav-700);
}

.eyebrow-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sun);
	box-shadow: 0 0 0 4px var(--sun-soft);
}

.hero-title {
	margin-top: clamp(10px, 2.2vh, 26px);
	font-size: clamp(30px, min(4.6vw, 6.8vh), 64px);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: 0.02em;
	text-wrap: balance;
}

.hero-sub {
	margin-top: clamp(6px, 1.6vh, 20px);
	font-size: clamp(14px, min(1.6vw, 2.5vh), 21px);
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.12em;
	color: var(--lav-700);
}

.hero-text {
	max-width: 620px;
	margin-top: clamp(6px, 1.1vh, 14px);
	font-size: clamp(13.5px, min(1.15vw, 2.15vh), 17px);
	line-height: 1.8;
	color: var(--muted);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(14px, 3vh, 34px);
}

.hero-actions .btn {
	height: clamp(44px, 6.8vh, 54px);
}

.hero-stats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* 68px bottom + the 16px ruler = room for the floating contact island (76px) plus a small gap. */
	margin: clamp(14px, 3.6vh, 64px) 0 68px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--lav-200);
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: clamp(8px, 1.6vh, 22px) 24px clamp(8px, 1.8vh, 24px) 0;
}

.stat + .stat {
	padding-left: 24px;
	border-left: 1px solid var(--lav-200);
}

.stat-value {
	font-size: clamp(22px, min(2.8vw, 4.2vh), 38px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-variant-numeric: tabular-nums;
}

.stat-label {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.ruler {
	position: relative;
	z-index: 1;
	height: 16px;
	background:
		repeating-linear-gradient(90deg, var(--lav-400) 0 1px, transparent 1px 10px) left bottom / 100% 6px no-repeat,
		repeating-linear-gradient(90deg, var(--lav-500) 0 1px, transparent 1px 50px) left bottom / 100% 10px no-repeat,
		repeating-linear-gradient(90deg, var(--lav-700) 0 1.5px, transparent 1.5px 100px) left bottom / 100% 16px no-repeat;
}

/* ---------- Section scaffolding ---------- */

.section {
	position: relative;
	padding: var(--section-pad) 0;
}

.section-head {
	margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head-split {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	align-items: end;
	gap: 24px 48px;
}

.section-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--lav-700);
}

.section-num {
	display: inline-grid;
	place-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--sun);
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--ink);
}

.section-main {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--ink-2);
}

.section-main::after {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	margin-left: 12px;
	vertical-align: middle;
	background: currentColor;
	opacity: 0.4;
}

.section-sub {
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lav-700);
}

.section-title {
	font-size: clamp(26px, 3.4vw, 46px);
	font-weight: 700;
	line-height: 1.42;
	letter-spacing: 0.03em;
	text-wrap: balance;
}

.section-intro {
	max-width: 560px;
	margin-top: 18px;
	font-size: 16px;
	line-height: 1.95;
	color: var(--muted);
}

.section-head-split .section-intro {
	margin-top: 0;
}

/* ---------- Vision ---------- */

.vision {
	background: #fff;
}

.vision-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 2.6fr;
	gap: 32px clamp(32px, 6vw, 96px);
}

.vision-note {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--muted);
}

/* Owner card: reuses the team portrait styles, fixed 4:5 instead of screen-height based. */
.owner {
	max-width: 300px;
	margin: 32px 0 0;
}

.owner .member-photo {
	height: auto;
	aspect-ratio: 4 / 5;
}

.owner-caption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 16px;
}

.owner-role {
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--lav-700);
}

.owner-name {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.12em;
}

.owner-roman {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.vision-title {
	font-size: clamp(24px, 3.1vw, 42px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.03em;
	text-wrap: balance;
}

.vision-body {
	max-width: 680px;
	margin-top: 26px;
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 2.1;
	color: var(--muted);
}

.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: clamp(60px, 8vw, 104px) 0 0;
	padding: 0;
	list-style: none;
}

.pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 168px 28px 30px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--lav-50);
	isolation: isolate;
}

.pillar:nth-child(2) {
	border-color: var(--lav-300);
	background: var(--lav-300);
}

.pillar:nth-child(3) {
	border-color: #ffe6a6;
	background: var(--sun-soft);
}

.pillar-index {
	position: absolute;
	top: 26px;
	left: 28px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--lav-700);
}

.pillar-kanji {
	position: absolute;
	top: -18px;
	right: 6px;
	z-index: -1;
	font-family: var(--font-ja);
	font-size: 170px;
	font-weight: 700;
	line-height: 1;
	color: var(--lav-200);
	transition: transform 0.6s var(--ease), color 0.3s;
	pointer-events: none;
}

.pillar:nth-child(2) .pillar-kanji {
	color: rgba(255, 255, 255, 0.45);
}

.pillar:nth-child(3) .pillar-kanji {
	color: #ffe3a0;
}

.pillar:hover .pillar-kanji {
	transform: translateY(8px) rotate(-3deg);
}

.pillar-title {
	margin-bottom: 8px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.pillar-text {
	font-size: 15px;
	line-height: 1.9;
	color: var(--muted);
}

.pillar:nth-child(2) .pillar-text {
	color: var(--ink-2);
}

/* ---------- Services ---------- */

.services {
	background: var(--lav-50);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	border: 1px solid var(--lav-200);
	border-radius: var(--radius);
	background: var(--lav-200);
}

.service {
	display: flex;
	flex-direction: column;
	padding: 30px 28px 28px;
	background: #fff;
	transition: background-color 0.25s;
}

.service:hover {
	background: var(--lav-25);
}

.service-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 44px;
}

.service-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--lav-100);
	color: var(--lav-700);
	transition: background-color 0.25s, color 0.25s, transform 0.4s var(--ease);
}

.service:hover .service-icon {
	background: var(--sun);
	color: var(--ink);
	transform: rotate(-6deg);
}

.service-icon .icon {
	width: 28px;
	height: 28px;
}

.service-index {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--muted);
}

.service-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.service-sub {
	margin-top: 6px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lav-700);
}

.service-text {
	flex: 1;
	margin: 16px 0 26px;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--muted);
}

.service-spec {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px dashed var(--lav-300);
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: var(--ink-2);
}

.service-spec::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 1px;
	background: var(--sun-line);
	transform: rotate(45deg);
}

/* ---------- Team ---------- */

.team {
	background: #fff;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-grid[data-count="3"],
.team-grid[data-count="5"],
.team-grid[data-count="6"] {
	grid-template-columns: repeat(3, 1fr);
}

.member {
	display: flex;
	flex-direction: column;
}

/* Photo height follows the screen height, so after jumping to #team the
   portraits and names fit in one screen, clear of the floating contact island. */
.member-photo {
	position: relative;
	overflow: hidden;
	height: clamp(220px, calc(44vh - 48px), 400px);
	height: clamp(220px, calc(44svh - 48px), 400px);
	border-radius: var(--radius);
	background: linear-gradient(160deg, var(--lav-100), var(--lav-200));
	isolation: isolate;
	--topo-c: var(--lav-400);
	--mono-c: var(--ink);
}

.member-photo[data-tone="1"] {
	background: linear-gradient(160deg, var(--sun-soft), #ffe29b);
	--topo-c: #e9b544;
}

.member-photo[data-tone="2"] {
	background: linear-gradient(160deg, var(--lav-200), var(--lav-300));
	--topo-c: var(--lav-500);
}

.member-photo[data-tone="3"] {
	background: linear-gradient(160deg, var(--ink-2), var(--ink));
	--topo-c: var(--lav-600);
	--mono-c: var(--lav-200);
}

.member-photo:not(.has-photo)::before {
	content: "";
	position: absolute;
	inset: -8%;
	z-index: -1;
	background: var(--topo-c);
	-webkit-mask: url("../img/topo.svg") 70% 40% / cover no-repeat;
	mask: url("../img/topo.svg") 70% 40% / cover no-repeat;
	opacity: 0.75;
	transition: transform 1.4s var(--ease);
}

.member:nth-child(2n) .member-photo::before {
	-webkit-mask-position: 20% 80%;
	mask-position: 20% 80%;
}

.member:hover .member-photo::before {
	transform: scale(1.08) rotate(2deg);
}

.member-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
	transition: transform 0.8s var(--ease);
}

.member:hover .member-photo img {
	transform: scale(1.04);
}

.member-monogram {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: clamp(60px, 6.2vw, 92px);
	font-weight: 800;
	letter-spacing: -0.05em;
	color: var(--mono-c);
}

.viewfinder {
	position: absolute;
	inset: 16px;
	color: rgba(34, 26, 51, 0.5);
	pointer-events: none;
	background:
		linear-gradient(currentColor, currentColor) left top / 20px 1.5px,
		linear-gradient(currentColor, currentColor) left top / 1.5px 20px,
		linear-gradient(currentColor, currentColor) right top / 20px 1.5px,
		linear-gradient(currentColor, currentColor) right top / 1.5px 20px,
		linear-gradient(currentColor, currentColor) left bottom / 20px 1.5px,
		linear-gradient(currentColor, currentColor) left bottom / 1.5px 20px,
		linear-gradient(currentColor, currentColor) right bottom / 20px 1.5px,
		linear-gradient(currentColor, currentColor) right bottom / 1.5px 20px;
	background-repeat: no-repeat;
}

.member-photo[data-tone="3"] .viewfinder,
.member-photo.has-photo .viewfinder {
	color: rgba(255, 255, 255, 0.8);
}

.member-years {
	position: absolute;
	left: 26px;
	bottom: 26px;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink);
}

.member-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 4px 0;
}

.member-role {
	margin-bottom: 4px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.6;
	color: var(--lav-700);
}

.member-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

.member-name-roman {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.member-bio {
	margin: 12px 0 18px;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--muted);
}

.member-certs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.member-certs li {
	padding: 4px 11px;
	border: 1px solid var(--lav-200);
	border-radius: 999px;
	background: var(--lav-50);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--ink-2);
}

/* ---------- Projects ---------- */

.projects {
	background: var(--lav-50);
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.project {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.project:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.project-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background-color: var(--lav-25);
	background-image:
		linear-gradient(var(--lav-100) 1px, transparent 1px),
		linear-gradient(90deg, var(--lav-100) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: -1px -1px;
}

.project-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.project:hover .project-media img {
	transform: scale(1.04);
}

.project-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
}

.project-no {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 10px;
	border: 1px solid var(--lav-200);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	font-family: var(--font-mono);
	font-size: 11.5px;
	line-height: 1.3;
	color: var(--lav-700);
}

.project-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.project-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--muted);
}

.project-location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.project-location .icon {
	width: 15px;
	height: 15px;
	color: var(--lav-600);
}

.project-year {
	font-family: var(--font-mono);
}

.project-title {
	font-size: 18.5px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.05em;
}

.project-text {
	flex: 1;
	margin: 10px 0 20px;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--muted);
}

.project-metric {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 9px;
	padding: 7px 12px;
	border-radius: 8px;
	background: var(--sun-soft);
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--sun-text);
}

.project-metric::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	background: radial-gradient(circle, currentColor 0 1.6px, transparent 2px);
}

/* Blueprint drawings */

.ill {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ill-main {
	stroke: var(--ink-2);
	stroke-width: 1.5;
}

.ill-thick {
	stroke-width: 2.4;
}

.ill-fill {
	fill: var(--lav-100);
}

.ill-fill-solid {
	fill: #fff;
}

.ill-soft {
	stroke: var(--lav-400);
	stroke-width: 1.2;
}

.ill-soft-fill {
	fill: var(--lav-300);
}

.ill-faint {
	opacity: 0.55;
}

.ill-dash {
	stroke-dasharray: 4 5;
}

.ill-dim {
	stroke: var(--lav-500);
	stroke-width: 1;
}

.ill-acc {
	stroke: var(--sun-line);
	stroke-width: 1.6;
}

.ill-acc-fill {
	fill: var(--sun-line);
}

.ill-t {
	font-family: var(--font-mono);
	font-size: 12.5px;
	fill: var(--lav-700);
	stroke: var(--lav-25);
	stroke-width: 4px;
	stroke-linejoin: round;
	paint-order: stroke;
}

.ill-t-acc {
	fill: var(--sun-text);
	font-weight: 500;
}

.project:hover .ill-dash {
	animation: om-march 0.9s linear infinite;
}

@keyframes om-march {
	to {
		stroke-dashoffset: -18;
	}
}

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

.contact {
	overflow: hidden;
	background: var(--ink);
	color: #e9e2f6;
}

.contact::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--lav-600);
	-webkit-mask: url("../img/topo.svg") right center / cover no-repeat;
	mask: url("../img/topo.svg") right center / cover no-repeat;
	opacity: 0.22;
	pointer-events: none;
}

.contact-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: stretch;
	gap: 40px clamp(40px, 6vw, 96px);
}

.contact .section-label,
.contact .section-sub {
	color: var(--lav-300);
}

.contact .section-main {
	color: #fff;
}

.contact .section-title {
	color: #fff;
}

.contact .hl {
	background: none;
	color: var(--sun);
}

.contact-sub {
	margin-top: 16px;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.12em;
	color: var(--lav-300);
}

.contact .section-intro {
	color: #c7bcdb;
}

.contact-list {
	display: grid;
	gap: 16px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 16px;
	line-height: 1.6;
}

.contact-list .icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--sun);
}

.contact-list a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: border-color 0.2s, color 0.2s;
}

.contact-list a:hover {
	color: var(--sun);
	border-color: var(--sun);
}

.contact-map {
	position: relative;
	aspect-ratio: 16 / 9;
	margin-top: 36px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: var(--ink-2);
}

.contact-map::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--lav-300);
	mix-blend-mode: multiply;
	pointer-events: none;
	transition: opacity 0.4s;
}

.contact-map:hover::after {
	opacity: 0;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.05);
	transition: filter 0.4s;
}

.contact-map:hover iframe {
	filter: none;
}

.contact .section :focus-visible,
.contact :focus-visible {
	outline-color: var(--sun);
}

.contact-actions {
	margin-top: 36px;
}

/* Map fills the right column, level with the contact details. */
.contact-side {
	display: flex;
}

.contact-side .contact-map {
	flex: 1;
	min-height: 360px;
	margin-top: 0;
	aspect-ratio: auto;
}

.contact-grid-single {
	grid-template-columns: 1fr;
}

/* Form */

.hp-field {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.field label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink-2);
}

.req {
	padding: 1px 7px;
	border-radius: 4px;
	background: var(--lav-600);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.7;
	color: #fff;
}

.field input,
.field textarea,
.contact-plugin-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-plugin-form textarea,
.contact-plugin-form select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--lav-200);
	border-radius: 12px;
	background: var(--lav-25);
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field input:focus,
.field textarea:focus,
.contact-plugin-form input:focus,
.contact-plugin-form textarea:focus,
.contact-plugin-form select:focus {
	outline: none;
	border-color: var(--lav-500);
	background: #fff;
	box-shadow: 0 0 0 4px var(--lav-100);
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field textarea::placeholder {
	color: #9a92ad;
}

.form-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}

.form-note {
	max-width: 260px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}

.form-status {
	margin-bottom: 22px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fdecec;
	font-size: 14.5px;
	color: #8a1f1f;
}

.form-status-sent {
	background: #e6f5ea;
	color: #1d5a32;
}

.contact-plugin-form input[type="submit"] {
	height: 54px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--sun);
	font: inherit;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
}

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

.site-footer {
	/* Extra bottom room so the floating contact island never hides the last line. */
	padding: 72px 0 112px;
	background: var(--ink-3);
	color: #b9aecf;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	align-items: start;
	gap: 40px;
}

.brand-light {
	color: #fff;
}

.brand-light .brand-sub {
	color: #9d92b5;
}

.footer-note {
	max-width: 340px;
	margin-top: 18px;
	font-size: 14.5px;
	line-height: 1.65;
}

.footer-nav ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav a,
.footer-contact a {
	color: #e6def5;
	text-decoration: none;
	transition: color 0.2s;
}

.footer-nav a:hover,
.footer-contact a:hover {
	color: var(--sun);
}

.footer-contact {
	display: grid;
	justify-items: start;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 14px;
}

.footer-ruler {
	height: 14px;
	margin: 56px 0 22px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 10px) left bottom / 100% 6px no-repeat,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 100px) left bottom / 100% 14px no-repeat;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	font-size: 13px;
}

.footer-bottom a {
	color: inherit;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none;
}

.to-top .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.25s var(--ease);
}

.to-top:hover .icon {
	transform: translateY(-3px);
}

/* ---------- News (home page section + shared list rows) ---------- */

/* .section.news, not .news: WordPress also puts a "news" class on each entry's <article>. */
.section.news {
	padding: clamp(64px, 7vw, 100px) 0;
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.news-grid {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 2.4fr;
	align-items: start;
	gap: 28px clamp(32px, 6vw, 96px);
}

.news-head .section-title {
	font-size: clamp(24px, 2.6vw, 34px);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	padding-bottom: 4px;
	border-bottom: 1.5px solid var(--sun);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ink);
	text-decoration: none;
}

.text-link .icon {
	width: 16px;
	height: 16px;
	transition: translate 0.25s var(--ease);
}

.text-link:hover .icon {
	translate: 3px 0;
}

.news-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.news-list li {
	border-bottom: 1px solid var(--line);
}

.news-item {
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	align-items: center;
	gap: 10px 20px;
	padding: 20px 10px;
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.2s;
}

.news-item:hover {
	background: var(--lav-25);
}

.news-date {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.news-cat {
	display: inline-block;
	min-width: 80px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--lav-100);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.8;
	text-align: center;
	text-decoration: none;
	color: var(--lav-700);
}

.news-cat-notice {
	background: var(--sun-soft);
	color: var(--sun-text);
}

.news-cat-none {
	visibility: hidden;
}

.news-title {
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.7;
	transition: color 0.2s;
}

.news-item:hover .news-title {
	color: var(--lav-700);
}

.news-item .icon {
	width: 18px;
	height: 18px;
	color: var(--lav-500);
	transition: translate 0.25s var(--ease);
}

.news-item:hover .icon {
	translate: 4px 0;
}

/* ---------- Inner pages: news list, news entry, privacy policy… ---------- */

.news-page {
	background: #fff;
}

.page-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-h) + 56px) 0 48px;
	border-bottom: 1px solid var(--line);
	background: var(--lav-50);
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--lav-300);
	-webkit-mask: url("../img/topo.svg") right center / cover no-repeat;
	mask: url("../img/topo.svg") right center / cover no-repeat;
	opacity: 0.5;
	pointer-events: none;
}

.page-hero .container {
	position: relative;
}

.container-article {
	max-width: calc(880px + var(--gutter) * 2);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	color: var(--muted);
}

.breadcrumb li + li::before {
	content: "/";
	margin-right: 10px;
	color: var(--lav-400);
}

.breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--lav-700);
	text-decoration: underline;
}

.page-label {
	margin-bottom: 10px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lav-700);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.page-title {
	font-size: clamp(24px, 3.2vw, 38px);
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.04em;
}

.article-body {
	padding-top: 56px;
	padding-bottom: 104px;
}

.article-thumb {
	margin: 0 0 44px;
	overflow: hidden;
	border-radius: var(--radius);
}

.article-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

/* Content written in the block editor. */
.entry-content {
	font-size: 16px;
	line-height: 2;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.4em;
}

.entry-content h2 {
	margin-top: 2.4em;
	padding-left: 16px;
	border-left: 4px solid var(--sun);
	font-size: 22px;
	line-height: 1.6;
	letter-spacing: 0.05em;
}

.entry-content h3 {
	margin-top: 2em;
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: 0.05em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content ul li::marker {
	color: var(--lav-500);
}

.entry-content a {
	color: var(--lav-700);
	text-underline-offset: 3px;
}

.entry-content img {
	border-radius: 12px;
}

.entry-content figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

.entry-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 16px 22px;
	border-left: 4px solid var(--lav-300);
	border-radius: 0 12px 12px 0;
	background: var(--lav-50);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--lav-50);
}

.article-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 72px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.article-nav-link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s;
}

.article-nav-link:hover {
	border-color: var(--lav-300);
	background: var(--lav-25);
}

.article-nav-next {
	grid-column: 2;
	text-align: right;
}

.article-nav-dir {
	font-size: 12px;
	color: var(--muted);
}

.article-nav-title {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.6;
}

.article-back {
	margin-top: 40px;
	text-align: center;
}

.news-archive {
	padding-top: 40px;
	padding-bottom: 104px;
}

.news-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.news-filter a {
	padding: 7px 18px;
	border: 1px solid var(--lav-200);
	border-radius: 999px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ink-2);
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.news-filter a:hover {
	border-color: var(--lav-400);
}

.news-filter a[aria-current] {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.news-empty {
	padding: 48px 0;
	text-align: center;
	color: var(--muted);
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--lav-200);
	border-radius: 999px;
	font-size: 14px;
	color: var(--ink);
	text-decoration: none;
}

.pagination .page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

/* ---------- Floating contact island ---------- */

.island {
	position: fixed;
	/* Bottom-right corner; it opens upward and leftward from there. */
	right: 20px;
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 40;
	width: max-content;
	max-width: calc(100vw - 40px);
	overflow: hidden;
	border-radius: 30px;
	background: rgba(34, 26, 51, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(16px);
	backdrop-filter: saturate(1.4) blur(16px);
	box-shadow: 0 24px 60px -24px rgba(20, 14, 33, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	color: #fff;
	opacity: 0;
	translate: 0 calc(100% + 40px);
	transition: translate 0.7s var(--ease), opacity 0.5s, width 0.5s var(--ease);
	interpolate-size: allow-keywords; /* animates max-content ↔ fixed width where supported */
}

.island.is-ready {
	opacity: 1;
	translate: 0 0;
}

.island.is-open {
	width: min(540px, calc(100vw - 40px));
}

/* Grows upward from the bar; its content never widens the closed pill. */
.island-panel {
	display: grid;
	grid-template-rows: 0fr;
	contain: inline-size;
	visibility: hidden;
	transition: grid-template-rows 0.5s var(--ease), visibility 0s 0.5s;
}

.island.is-open .island-panel {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows 0.5s var(--ease), visibility 0s;
}

.island-panel-inner {
	min-height: 0;
	overflow: hidden;
}

.island-panel-scroll {
	max-height: min(70vh, 680px);
	max-height: min(70svh, 680px);
	margin: 8px 8px 0;
	padding: 22px 22px 18px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 22px;
	background: #fff;
	color: var(--ink);
}

.island-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.island-kicker {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lav-700);
}

.island-title {
	margin-top: 2px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.island-lead {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--muted);
}

.island-close {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--lav-200);
	border-radius: 50%;
	background: var(--lav-25);
	color: var(--ink);
	cursor: pointer;
}

.island-close .icon {
	width: 18px;
	height: 18px;
}

.island .field {
	margin-bottom: 14px;
}

.island .field textarea {
	min-height: 110px;
}

.island .form-foot .btn {
	height: 48px;
}

.island :focus-visible {
	outline-color: var(--lav-600);
}

.island-bar :focus-visible {
	outline-color: var(--sun);
}

.island-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 8px 20px;
}

.island-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sun);
	animation: om-ping 2.4s ease-out infinite;
}

@keyframes om-ping {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 201, 77, 0.55);
	}

	70%,
	100% {
		box-shadow: 0 0 0 10px rgba(255, 201, 77, 0);
	}
}

.island-label {
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.island-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.island-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background-color 0.2s, color 0.2s;
}

.island-icon:hover {
	background: rgba(255, 255, 255, 0.2);
	color: var(--sun);
}

.island-icon .icon {
	width: 19px;
	height: 19px;
}

.island-cta {
	height: 44px;
	margin-left: 4px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--sun);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	white-space: nowrap;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.island-cta:hover {
	background: var(--sun-hover);
}

.island-cta > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.island-cta .icon {
	width: 18px;
	height: 18px;
}

.island-cta-close,
.island.is-open .island-cta-open {
	display: none !important;
}

.island.is-open .island-cta-close {
	display: inline-flex !important;
}

.island.is-open .island-cta {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

/* Without JavaScript the island becomes an ordinary form block above the page end. */
.no-js .island {
	position: static;
	width: auto;
	max-width: none;
	margin: 0;
	border-radius: 0;
	opacity: 1;
	translate: none;
}

.no-js .island-panel {
	grid-template-rows: 1fr;
	visibility: visible;
	contain: none;
}

.no-js .island-panel-scroll {
	max-width: 640px;
	max-height: none;
	margin: 40px auto;
}

.no-js .island-bar,
.no-js .island-close {
	display: none;
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
	opacity: 0;
	translate: 0 28px;
	transition:
		opacity 0.9s var(--ease) calc(var(--d, 0) * 90ms),
		translate 0.9s var(--ease) calc(var(--d, 0) * 90ms),
		transform 0.35s var(--ease),
		box-shadow 0.35s var(--ease),
		background-color 0.25s;
}

.js [data-reveal].is-visible,
.is-customize-preview [data-reveal] {
	opacity: 1;
	translate: none;
}

/* ---------- Responsive ---------- */

/* Below this width the reticle would sit behind the headline; keep only the contour texture. */
@media (max-width: 1180px) {
	.reticle {
		display: none;
	}
}

@media (max-width: 1100px) {
	.team-grid,
	.team-grid[data-count] {
		grid-template-columns: repeat(2, 1fr);
	}

	.service-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.contact-grid,
	.vision-grid,
	.section-head-split {
		grid-template-columns: 1fr;
	}

	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pillars {
		grid-template-columns: 1fr;
	}

	.pillar {
		padding-top: 128px;
	}

	.pillar-kanji {
		font-size: 130px;
	}

	.hero-art {
		opacity: 0.55;
		-webkit-mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, 0.2) 75%);
		mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, 0.2) 75%);
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	:root {
		--header-h: 68px;
	}

	.hero-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.stat:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.stat:nth-child(n + 3) {
		border-top: 1px solid var(--lav-200);
	}

	.stat {
		padding: clamp(6px, 1.4vh, 18px) 16px clamp(6px, 1.6vh, 20px) 0;
	}

	.stat + .stat {
		padding-left: 16px;
	}

	.stat:nth-child(odd) {
		padding-left: 0;
	}

	.project-grid,
	.service-grid {
		grid-template-columns: 1fr;
	}

	.service-top {
		margin-bottom: 28px;
	}
}

@media (max-width: 600px) {
	.team-grid,
	.team-grid[data-count] {
		grid-template-columns: 1fr;
	}

	/* Phones: photo beside role + name, bio and qualifications below. */
	.team-grid,
	.team-grid[data-count] {
		gap: 36px;
	}

	.member {
		display: grid;
		grid-template-columns: 108px 1fr;
		grid-template-areas:
			"photo role"
			"photo name"
			"bio bio"
			"certs certs";
		column-gap: 18px;
	}

	.member-body {
		display: contents;
	}

	.member-photo {
		grid-area: photo;
		height: 132px;
		border-radius: 16px;
	}

	.member-role {
		grid-area: role;
		align-self: end;
	}

	.member-name {
		grid-area: name;
		align-self: start;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.member-bio {
		grid-area: bio;
		margin: 16px 0 12px;
	}

	.member-certs {
		grid-area: certs;
		margin: 0;
	}

	.member-monogram {
		font-size: 34px;
	}

	.viewfinder {
		inset: 8px;
		background-size: 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px;
	}

	.member-years {
		left: 50%;
		bottom: 8px;
		padding: 2px 8px;
		font-size: 10px;
		white-space: nowrap;
		transform: translateX(-50%);
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.form-foot .btn {
		width: 100%;
	}

	.brand-name {
		font-size: 17px;
	}

	.eyebrow {
		font-size: 11.5px;
		letter-spacing: 0.06em;
	}

	.hero-actions .btn {
		flex: 1 1 auto;
	}

	.footer-top {
		grid-template-columns: 1fr;
	}
}

/* News, inner pages and island on smaller screens. */
@media (max-width: 960px) {
	.news-grid {
		grid-template-columns: 1fr;
	}

	.news-head {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: space-between;
		gap: 0 24px;
	}

	.news-head .section-label {
		flex-basis: 100%;
	}

	.news-head .text-link {
		margin-top: 0;
	}

	.contact-side .contact-map {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	/* Owner card: photo beside the name once the vision columns stack. */
	.owner {
		display: grid;
		grid-template-columns: 108px 1fr;
		align-items: center;
		gap: 18px;
		max-width: none;
		margin-top: 24px;
	}

	.owner .member-photo,
	.owner .member-photo[data-tone] {
		grid-area: auto; /* undo the team cards' phone grid placement */
		height: 132px;
		aspect-ratio: auto;
		border-radius: 16px;
	}

	.owner .member-monogram {
		font-size: 34px;
	}

	.owner .viewfinder {
		inset: 8px;
		background-size: 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px, 12px 1.5px, 1.5px 12px;
	}

	.owner-caption {
		margin-top: 0;
	}
}

@media (max-width: 600px) {
	.news-item {
		grid-template-columns: auto 1fr auto;
		padding: 16px 4px;
	}

	.news-item .news-title {
		grid-column: 1 / 3;
		grid-row: 2;
		font-size: 15px;
	}

	.news-item .icon {
		grid-column: 3;
		grid-row: 1 / 3;
	}

	.news-item .news-cat {
		justify-self: start;
	}

	.article-nav {
		grid-template-columns: 1fr;
	}

	.article-nav-next {
		grid-column: 1;
	}

	.page-hero {
		padding-top: calc(var(--header-h) + 32px);
		padding-bottom: 36px;
	}

	/* Island spans the screen width on phones. */
	.island,
	.island.is-open {
		left: 12px;
		right: 12px;
		width: auto;
		max-width: none;
		translate: 0 calc(100% + 40px);
	}

	.island.is-ready {
		translate: 0 0;
	}

	.island-label {
		display: none;
	}

	.island-bar {
		padding-left: 16px;
	}

	.island-cta {
		flex: 1;
	}

	.island-actions {
		flex: 1;
	}

	.island-panel-scroll {
		max-height: min(72vh, 620px);
		max-height: min(72svh, 620px);
		padding: 18px 16px 14px;
	}
}

/*
 * Desktop: the island becomes a slim vertical bar on the right edge, centred in
 * the area below the header, with お問い合わせ set vertically (縦書き). The form
 * slides out to its left. Tablets and phones keep the bottom bar above.
 */
@media (min-width: 1081px) {
	/* Side margins wide enough that page content never runs under the bar
	   (both sides, so the layout stays centred). No change at 1440px and wider. */
	:root {
		--gutter: 84px;
	}

	.island {
		top: calc(50vh + var(--header-h) / 2);
		top: calc(50svh + var(--header-h) / 2);
		right: 12px;
		bottom: auto;
		display: flex;
		align-items: center;
		width: auto;
		max-width: none;
		border-radius: 28px;
		translate: calc(100% + 24px) -50%;
		transition: translate 0.7s var(--ease), opacity 0.5s;
	}

	.island.is-ready {
		translate: 0 -50%;
	}

	.island.is-open {
		width: auto;
	}

	/* Opens sideways out of the bar: the hidden panel takes no width or height,
	   so the closed bar is only as tall as its buttons. */
	.island-panel {
		grid-template-rows: 0fr;
		grid-template-columns: 0fr;
		contain: none;
		transition: grid-template-rows 0.5s var(--ease), grid-template-columns 0.5s var(--ease), visibility 0s 0.5s;
	}

	.island.is-open .island-panel {
		grid-template-rows: 1fr;
		grid-template-columns: 1fr;
		transition: grid-template-rows 0.5s var(--ease), grid-template-columns 0.5s var(--ease), visibility 0s;
	}

	.island-panel-inner {
		min-width: 0;
	}

	.island-panel-scroll {
		width: 440px;
		max-height: min(680px, calc(100vh - var(--header-h) - 48px));
		max-height: min(680px, calc(100svh - var(--header-h) - 48px));
		margin: 8px 0 8px 8px;
	}

	.island-bar {
		flex-direction: column;
		gap: 8px;
		padding: 8px;
	}

	.island-dot,
	.island-label {
		display: none;
	}

	.island-actions {
		flex-direction: column;
		gap: 8px;
		margin-left: 0;
	}

	.island-cta {
		order: -1;
		width: 44px;
		height: auto;
		margin-left: 0;
		padding: 18px 0;
		writing-mode: vertical-rl;
		letter-spacing: 0.24em;
	}

	.island-cta > span {
		gap: 10px;
	}

	/* The bar no longer sits at the bottom, so drop the room reserved for it there. */
	.hero-stats {
		margin-bottom: 24px;
	}

	.site-footer {
		padding-bottom: 40px;
	}
}

/* Short phones (e.g. iPhone SE): tighten the hero so it still fits one screen. */
@media (max-width: 600px) and (max-height: 700px) {
	.hero {
		padding-top: calc(var(--header-h) + 8px);
	}

	.hero-text {
		line-height: 1.7;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.reticle-pulse {
		display: none;
	}
}
