/*
Theme Name: Soutien
Theme URI: https://soutiendata.com
Author: Soutien
Description: Editorial theme for Soutien Atelier: knowledge infrastructure for craftsmanship-led furniture and intentional hospitality. Includes an English/Italian furniture page, an English/Japanese hospitality page and a hidden Studio page.
Version: 1.2.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: soutien
*/

/* ---------------------------------------------------------------
   Fonts (self-hosted, SIL Open Font License)
   ------------------------------------------------------------ */

@font-face {
	font-family: "Archivo Soutien";
	src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
		url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo Soutien";
	src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),
		url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EB Garamond Soutien";
	src: url("assets/fonts/eb-garamond-latin-wght-normal.woff2") format("woff2-variations"),
		url("assets/fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EB Garamond Soutien";
	src: url("assets/fonts/eb-garamond-latin-ext-wght-normal.woff2") format("woff2-variations"),
		url("assets/fonts/eb-garamond-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EB Garamond Soutien";
	src: url("assets/fonts/eb-garamond-latin-wght-italic.woff2") format("woff2-variations"),
		url("assets/fonts/eb-garamond-latin-wght-italic.woff2") format("woff2");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EB Garamond Soutien";
	src: url("assets/fonts/eb-garamond-latin-ext-wght-italic.woff2") format("woff2-variations"),
		url("assets/fonts/eb-garamond-latin-ext-wght-italic.woff2") format("woff2");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------
   Tokens
   ------------------------------------------------------------ */

:root {
	--paper: #f7f6f3;
	--white: #ffffff;
	--ink: #141312;
	--muted: #6f685e;
	--line: rgba(20, 19, 18, 0.14);
	--stone: #e6dfd4;

	--night: #1a1714;
	--night-ink: #ece6dc;
	--night-muted: #a59b8c;
	--night-line: rgba(236, 230, 220, 0.16);

	--f-sans: "Archivo Soutien", "Helvetica Neue", Arial, sans-serif;
	--f-serif: "EB Garamond Soutien", Garamond, "Times New Roman", serif;
	--f-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", serif;

	--gutter: clamp(20px, 2.8vw, 36px);
	--space: clamp(64px, 9vw, 140px);
}

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

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

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Anchored sections stop below the sticky header. */
[id] {
	scroll-margin-top: 96px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-serif);
	font-size: 1.3125rem;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

:lang(ja) {
	font-family: var(--f-ja);
	line-height: 1.9;
	letter-spacing: 0.04em;
	font-feature-settings: "palt" 1;
	line-break: strict;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-color: currentColor;
}

:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

p {
	margin: 0;
}

p + p {
	margin-top: 0.9em;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 400;
}

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip:focus {
	left: var(--gutter);
	top: 8px;
	z-index: 10;
	background: var(--ink);
	color: var(--paper);
	padding: 0.4em 0.8em;
}

/* Bilingual content: only the active language is shown. */
.i18n {
	display: none;
}

html[data-lang="en"] .i18n[lang="en"],
html[data-lang="it"] .i18n[lang="it"],
html[data-lang="ja"] .i18n[lang="ja"] {
	display: revert;
}

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

.wordmark,
.name,
.pill,
.label,
.steps__n,
.domain__name,
.domain__more,
.button,
.field label,
.ledger dt,
.site-footer__mark {
	font-family: var(--f-sans);
	font-stretch: 125%;
	font-variation-settings: "wdth" 125;
}

.name {
	font-size: clamp(1.9rem, 1.2rem + 1.7vw, 3.1rem);
	font-weight: 850;
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0.005em;
}

.name:lang(ja),
.name .i18n:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.meta {
	margin-top: 0.45em;
	font-size: 1.25rem;
	line-height: 1.32;
}

.lede {
	font-size: clamp(1.45rem, 1.05rem + 0.95vw, 2.05rem);
	line-height: 1.24;
}

.lede:lang(ja),
.lede .i18n:lang(ja) {
	font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
	line-height: 1.85;
}

.hero__title,
.display,
.domains__note {
	text-wrap: balance;
}

.lede,
.split__text p,
.steps p,
.principle p,
.service p {
	text-wrap: pretty;
}

.band__grid .lede {
	max-width: 46rem;
}

.band__grid > div > p:not(.lede) {
	max-width: 40rem;
}

html[data-lang="ja"] .display,
html[data-lang="ja"] .hero__title {
	max-width: none;
}

.display .i18n:lang(ja),
.hero__title .i18n:lang(ja) {
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.split__text > * + *,
.band__grid > div > * + * {
	margin-top: 1em;
}

.split__text .lede {
	margin-top: 1.4em;
}

.label {
	margin: 0;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--muted);
}

.label .i18n:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-size: 0.95rem;
	letter-spacing: 0.14em;
}

.display {
	font-size: clamp(2.1rem, 1.1rem + 3.1vw, 4.4rem);
	line-height: 1.04;
	letter-spacing: -0.012em;
	max-width: 17ch;
}

.display--xl {
	font-size: clamp(2.6rem, 1.2rem + 4.4vw, 6.2rem);
	max-width: 14ch;
}

.display .i18n:lang(ja) {
	font-size: 0.72em;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.display .i18n:lang(it) {
	font-size: 0.92em;
}

.pill {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 0.7em 1.2em 0.62em;
	border-radius: 999px;
	background: #f2f1ee;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1;
}

.pill--light {
	background: rgba(247, 246, 243, 0.92);
	color: var(--ink);
}

.pill .i18n:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) auto;
	align-items: start;
	gap: var(--gutter);
	padding: 26px var(--gutter) 30px;
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: padding 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
	padding-top: 14px;
	padding-bottom: 14px;
	border-bottom-color: var(--line);
}

/* WordPress admin bar, shown only to logged-in users. */
.admin-bar .site-header {
	top: 32px;
}

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

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

.wordmark {
	font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.75rem);
	font-weight: 850;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	letter-spacing: 0.005em;
	padding-top: 0.12em;
}

.nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2em 1.15em;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.55rem);
	line-height: 1.1;
}

.nav__list a {
	text-decoration: none;
}

.nav__list a:hover,
.nav__list .current-menu-item > a {
	text-decoration: underline;
}

.lang-switch {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.1em;
}

.lang-switch button {
	border: 0;
	padding: 0;
	background: none;
	color: var(--muted);
	font: inherit;
	font-size: 1.2rem;
	line-height: 1.15;
	cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.lang-switch button:hover {
	color: var(--ink);
}

.menu-toggle {
	display: none;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-size: 1.2rem;
	color: var(--ink);
	cursor: pointer;
}

/* ---------------------------------------------------------------
   Figures and placeholders
   ------------------------------------------------------------ */

.fig {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #cfc6b8;
}

.fig img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ph {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(110% 85% at 16% 32%, rgba(248, 241, 230, 0.6) 0%, rgba(248, 241, 230, 0) 46%),
		radial-gradient(60% 20% at 62% 96%, rgba(255, 250, 240, 0.25) 0%, rgba(255, 250, 240, 0) 70%),
		linear-gradient(172deg, #a99a86 0%, #8b7c69 52%, #6f6254 100%);
}

.fig--dark .ph {
	background:
		radial-gradient(80% 60% at 72% 28%, rgba(222, 196, 154, 0.26) 0%, rgba(222, 196, 154, 0) 55%),
		linear-gradient(165deg, #3c342c 0%, #26211c 60%, #191512 100%);
}

.fig--bw .ph {
	background:
		radial-gradient(70% 50% at 30% 20%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(180deg, #a9a7a2 0%, #6f6d69 100%);
}

.fig--bw img {
	filter: grayscale(1) contrast(1.06);
}

.ph__note {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 0.35em 0.6em;
	background: rgba(247, 246, 243, 0.88);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.fig--hero {
	height: clamp(520px, 86vh, 1100px);
}

.fig--object {
	flex: 1;
	min-height: 0;
	width: 100%;
	background: transparent;
}

.fig--object img {
	object-fit: contain;
}

.fig--object .ph {
	inset: 12% 18% 8%;
	background:
		radial-gradient(46% 7% at 50% 94%, rgba(20, 19, 18, 0.14) 0%, rgba(20, 19, 18, 0) 72%);
}

.fig--object .ph::before {
	content: "";
	position: absolute;
	left: 22%;
	right: 22%;
	top: 18%;
	bottom: 10%;
	border-radius: 46% 46% 8px 8px / 30% 30% 8px 8px;
	background: linear-gradient(180deg, #e9e5de 0%, #d9d3c9 100%);
}

.fig--fill {
	height: 100%;
	min-height: clamp(420px, 66vh, 900px);
}

.fig--card {
	aspect-ratio: 5 / 4;
}

.fig--tall {
	aspect-ratio: 4 / 5;
}

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

.hero {
	position: relative;
	color: #f7f3ec;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(14, 12, 10, 0.5) 0%, rgba(14, 12, 10, 0) 48%);
	pointer-events: none;
}

.hero__text {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: clamp(28px, 5vw, 64px);
	z-index: 1;
}

.hero__title {
	margin-top: 0.6em;
	font-size: clamp(2.2rem, 1.1rem + 3.6vw, 5.2rem);
	line-height: 1.02;
	letter-spacing: -0.012em;
	max-width: 15ch;
}

.hero__title .i18n:lang(ja) {
	font-size: 0.66em;
	line-height: 1.55;
	letter-spacing: 0.08em;
	max-width: none;
}

/* ---------------------------------------------------------------
   Split (text and panel, as on a product page)
   ------------------------------------------------------------ */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--gutter);
	padding: var(--space) var(--gutter);
	align-items: start;
}

.split--top {
	padding-top: 10px;
}

.split__text {
	max-width: 38rem;
}

.split__panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: clamp(480px, 74vh, 980px);
	padding: 18px;
	background: var(--white);
}

.split__panel--bleed {
	padding: 0;
	background: none;
}

.split__panel--pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 0;
	background: none;
}

.split--reverse .split__panel {
	order: -1;
}

/* ---------------------------------------------------------------
   Bands
   ------------------------------------------------------------ */

.band {
	padding: var(--space) var(--gutter);
}

.band--first {
	padding-top: clamp(56px, 7vw, 110px);
}

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

.band--dark .label,
.band--dark .steps__n {
	color: var(--night-muted);
}

.band--stone {
	background: var(--stone);
}

.band__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: var(--gutter);
	align-items: start;
}

.band__grid > .label {
	padding-top: 0.9em;
}

.cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6em clamp(24px, 3vw, 48px);
	max-width: 64rem;
	margin-top: 2.2rem !important;
}

.cols p + p {
	margin-top: 0;
}

/* ---------------------------------------------------------------
   Steps
   ------------------------------------------------------------ */

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gutter);
	margin: clamp(44px, 5.5vw, 80px) 0 0;
	padding: 0;
	list-style: none;
}

.steps li {
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
}

.band--dark .steps li {
	border-color: var(--night-line);
}

.steps__n {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--muted);
}

.steps h3 {
	margin: 0.7em 0 0.45em;
	font-size: 1.65rem;
	line-height: 1.1;
}

.steps h3 .i18n:lang(ja) {
	font-size: 0.82em;
	letter-spacing: 0.08em;
}

.steps p {
	font-size: 1.14rem;
	line-height: 1.42;
}

.steps p:lang(ja) {
	font-size: 1rem;
	line-height: 1.9;
}

/* ---------------------------------------------------------------
   Ledger (a quiet specification sheet)
   ------------------------------------------------------------ */

.ledger {
	margin: clamp(44px, 5.5vw, 80px) 0 0;
	border-top: 1px solid var(--night-line);
}

.ledger__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	gap: var(--gutter);
	padding: 1.15rem 0 1.2rem;
	border-bottom: 1px solid var(--night-line);
	align-items: baseline;
}

.ledger dt {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--night-muted);
}

.ledger dt .i18n:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-size: 1rem;
	letter-spacing: 0.14em;
}

.ledger dd {
	margin: 0;
	font-size: clamp(1.3rem, 1.05rem + 0.6vw, 1.7rem);
	line-height: 1.25;
}

.ledger dd .i18n:lang(ja) {
	font-size: 0.82em;
	line-height: 1.7;
}

.ledger--light {
	border-color: var(--line);
}

.ledger--light .ledger__row {
	border-color: var(--line);
}

.ledger--light dt {
	color: var(--muted);
}

/* ---------------------------------------------------------------
   Archive and principles
   ------------------------------------------------------------ */

.archive {
	padding: var(--space) var(--gutter);
}

.archive__images {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 2.4fr);
	gap: 24px;
}

.archive__images .fig:first-child {
	grid-column-start: 2;
}

.principles {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1.6fr));
	gap: var(--gutter);
	margin-top: clamp(44px, 5.5vw, 80px);
}

.principles .label {
	padding-top: 0.6em;
}

.principle {
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
}

.principle h3 {
	margin-bottom: 0.5em;
	font-size: 1.55rem;
	line-height: 1.12;
}

.principle p {
	font-size: 1.14rem;
	line-height: 1.42;
}

/* ---------------------------------------------------------------
   Domains
   ------------------------------------------------------------ */

.domains {
	padding: 0 var(--gutter) var(--space);
}

.domains__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gutter);
	margin-top: 1.4rem;
}

.domain {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	text-decoration: none;
}

.domain__link {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	text-decoration: none;
}

.domain .fig {
	margin-bottom: 0.6rem;
}

.domain .fig img,
.domain .fig .ph {
	transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.domain:hover .fig img,
.domain:hover .fig .ph {
	transform: scale(1.025);
}

.domain__name {
	font-size: clamp(1.4rem, 1.1rem + 0.8vw, 2rem);
	font-weight: 850;
	text-transform: uppercase;
	line-height: 1;
}

.domain__alt {
	margin-left: 0.4em;
	font-family: var(--f-serif);
	font-stretch: normal;
	font-variation-settings: normal;
	font-weight: 400;
	text-transform: none;
	color: var(--muted);
}

.domain__alt:lang(ja) {
	font-family: var(--f-ja);
	font-size: 0.8em;
	line-height: 1;
	letter-spacing: 0.06em;
}

.domain__text {
	font-size: 1.3rem;
	line-height: 1.3;
	max-width: 30ch;
}

.domain__more {
	display: flex;
	align-items: baseline;
	gap: 0.6em;
	margin-top: 0.3rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.domain__more a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.15em;
}

.domain__more a:hover {
	opacity: 0.6;
}

.domain__more a:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-size: 0.95rem;
	line-height: 1;
	letter-spacing: 0.1em;
}

.domains__note {
	max-width: 46rem;
	margin-top: clamp(40px, 5vw, 72px);
	margin-left: calc((100% - 3 * var(--gutter)) / 4 + var(--gutter));
	font-size: clamp(1.3rem, 1.05rem + 0.6vw, 1.7rem);
	line-height: 1.3;
}

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

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

.contact__text > * + * {
	margin-top: 1rem;
}

.contact__text .display {
	margin-top: 1.2rem;
}

.contact__mail {
	margin-top: 2rem !important;
	font-size: 1.15rem;
}

.contact__mail a {
	margin-left: 0.3em;
}

.band--dark .contact__mail {
	color: var(--night-muted);
}

.band--dark .contact__mail a {
	color: var(--night-ink);
}

.contact__form {
	display: grid;
	gap: 1.4rem;
}

.contact__form p + p {
	margin-top: 0;
}

.field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	opacity: 0.75;
}

.field label .i18n:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-size: 0.9rem;
	letter-spacing: 0.12em;
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.4em 0 0.5em;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.3rem;
	line-height: 1.35;
}

.band--dark .field input,
.band--dark .field textarea {
	border-bottom-color: var(--night-line);
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-bottom-color: currentColor !important;
}

.field textarea {
	resize: vertical;
	min-height: 7.5em;
}

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

.contact__status {
	padding: 0.8em 1em;
	border: 1px solid currentColor;
	font-size: 1.1rem;
}

.button {
	display: inline-block;
	padding: 1em 1.8em 0.92em;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease;
}

.button:hover {
	background: var(--ink);
	color: var(--paper);
	border-color: var(--ink);
}

.band--dark .button:hover,
.button--light:hover {
	background: var(--night-ink);
	color: var(--night);
	border-color: var(--night-ink);
}

.button .i18n:lang(ja) {
	font-family: var(--f-ja);
	font-stretch: normal;
	font-variation-settings: normal;
	font-size: 1.05rem;
	letter-spacing: 0.12em;
}

/* ---------------------------------------------------------------
   Studio
   ------------------------------------------------------------ */

.services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px) var(--gutter);
	margin-top: clamp(44px, 5.5vw, 80px);
}

.service {
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
}

.service h3 {
	margin-bottom: 0.45em;
	font-size: 1.6rem;
	line-height: 1.12;
}

.service p {
	font-size: 1.14rem;
	line-height: 1.42;
}

/* ---------------------------------------------------------------
   Plain pages and journal
   ------------------------------------------------------------ */

.prose {
	max-width: 46rem;
	padding: 10px var(--gutter) var(--space);
}

.prose .name {
	margin-bottom: 1.2em;
}

.prose__body > * + * {
	margin-top: 1em;
}

.prose__body h2 {
	margin-top: 1.8em;
	font-size: 1.8rem;
}

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

.journal li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}

.journal a {
	text-decoration: none;
	font-size: 1.5rem;
}

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

.site-footer {
	padding: clamp(48px, 6vw, 96px) var(--gutter) 28px;
	background: var(--paper);
	overflow: hidden;
}

.site-footer__mark {
	font-size: clamp(3.6rem, 16.2vw, 17rem);
	font-weight: 900;
	line-height: 0.82;
	letter-spacing: -0.012em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
	gap: var(--gutter);
	margin-top: clamp(28px, 3vw, 48px);
	padding-top: 1.1rem;
	border-top: 1px solid var(--line);
	font-size: 1.1rem;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em 1.4em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links a {
	text-decoration: none;
}

.site-footer__links a:hover {
	text-decoration: underline;
}

.site-footer__small {
	color: var(--muted);
}

/* ---------------------------------------------------------------
   Back to top
   ------------------------------------------------------------ */

.to-top {
	position: fixed;
	right: max(var(--gutter), env(safe-area-inset-right));
	bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(247, 246, 243, 0.94);
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(20, 19, 18, 0.06);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms, background-color 200ms ease, color 200ms ease;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 250ms ease, transform 250ms ease, visibility 0s, background-color 200ms ease, color 200ms ease;
}

.to-top:hover {
	background: var(--ink);
	color: var(--paper);
}

.no-js .to-top {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ---------------------------------------------------------------
   Gentle reveal on scroll
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}
	.reveal.is-in {
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------------
   Smaller screens
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: clamp(32px, 4vw, 48px);
	}
	.principles {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.principles .label {
		grid-column: 1 / -1;
	}
	.services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	body {
		font-size: 1.18rem;
	}
	.site-header {
		grid-template-columns: 1fr auto;
		align-items: center;
		column-gap: 18px;
		row-gap: 0;
		padding-top: 18px;
		padding-bottom: 18px;
	}
	.site-header--lang {
		grid-template-columns: 1fr auto auto;
	}
	.site-header.is-scrolled {
		padding-top: 12px;
		padding-bottom: 12px;
	}
	.nav.is-open {
		max-height: calc(100vh - 80px);
		overflow-y: auto;
		padding-bottom: 12px;
	}
	[id] {
		scroll-margin-top: 76px;
	}
	.to-top {
		width: 44px;
		height: 44px;
	}
	.menu-toggle {
		display: block;
		grid-column: 2;
		grid-row: 1;
	}
	.lang-switch {
		grid-column: 3;
		grid-row: 1;
	}
	.lang-switch button {
		font-size: 1.05rem;
	}
	.nav {
		display: none;
		grid-column: 1 / -1;
	}
	.nav.is-open {
		display: block;
	}
	.nav__list {
		flex-direction: column;
		gap: 0.35em;
		padding: 0.6em 0 0.2em;
		font-size: 1.6rem;
	}
	.no-js .nav {
		display: block;
	}
	.no-js .menu-toggle {
		display: none;
	}
	.split,
	.band__grid,
	.contact,
	.domains__grid {
		grid-template-columns: 1fr;
	}
	.split--reverse .split__panel {
		order: 0;
	}
	.split__panel {
		min-height: 70vw;
	}
	.split__panel--pair .fig--fill {
		min-height: 56vw;
	}
	.band__grid > .label {
		padding-top: 0;
	}
	.cols {
		grid-template-columns: 1fr;
	}
	.cols p + p {
		margin-top: 0.9em;
	}
	.ledger__row {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}
	.archive__images {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	.archive__images .fig:first-child {
		grid-column-start: auto;
	}
	.domains__note {
		margin-left: 0;
	}
	.site-footer__cols {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.steps,
	.principles,
	.services {
		grid-template-columns: 1fr;
	}
	.fig--hero {
		height: 78vh;
	}
	.hero__title .i18n:lang(ja) {
		font-size: 0.56em;
	}
}
