/* Liorènne House · direction Luce: the house from first light to last guest */

@property --cx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --cy { syntax: '<percentage>'; inherits: true; initial-value: 40%; }

:root {
	--calce: #EDECE8;
	--calce-2: #E3E0DA;
	--pietra: #CFCAC1;
	--pietra-2: #B9B1A5;
	--fumo: #6B645E;
	--fumo-2: #5F5852;
	--fumo-3: #4A443F;
	--ink: #26221F;
	--ink-2: #3B3631;
	--umber: #3A322C;
	--noce: #1F1915;
	--cera: #E3C99A;
	--cera-2: #F3E3C2;
	--night-text: #CFC6BA;
	--night-quiet: #B3AA9F;
	--error: #8C2F23;

	--serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, Charter, 'Bitstream Charter', Georgia, serif;
	--wrap: 1240px;
	--wrap-wide: 1440px;
	--narrow: 760px;
	--gutter: clamp(20px, 5vw, 64px);
	--band-y: clamp(72px, 9vw, 128px);

	--t-small: 15px;
	--t-body: 18px;
	--t-lead: clamp(19px, 1.5vw, 21px);
	--t-h4: clamp(22px, 2vw, 27px);
	--t-h3: clamp(26px, 2.5vw, 32px);
	--t-h2: clamp(36px, 4.6vw, 58px);
	--t-display: clamp(52px, 8.2vw, 118px);

	--arch: 999px 999px 0 0;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--calce);
	color: var(--ink);
	font-family: var(--serif);
	font-size: var(--t-body);
	line-height: 1.65;
	font-optical-sizing: auto;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--fumo); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; text-wrap: balance; }
ul, ol { margin: 0; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--calce); }
.skip:focus { top: 12px; }

/* Layout */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--wrap-wide); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

/* Type */
.display { font-size: var(--t-display); font-weight: 300; line-height: .98; letter-spacing: -.015em; font-variation-settings: 'opsz' 72; }
.display--page { font-size: clamp(44px, 6.4vw, 88px); max-width: 14em; }
.display--article { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; }
.h2 { font-size: var(--t-h2); font-weight: 300; line-height: 1.08; }
.h3 { font-size: var(--t-h3); line-height: 1.18; }
.h4 { font-size: var(--t-h4); line-height: 1.22; }
.lead { font-size: var(--t-lead); line-height: 1.6; max-width: 34em; text-wrap: pretty; }
.muted { color: var(--fumo); }
.small { font-size: var(--t-small); }
.kicker { font-size: var(--t-small); color: var(--fumo); letter-spacing: .01em; }
.plain { text-decoration: none; }
.plain:hover { text-decoration: underline; color: inherit; }

/* Bands */
.band { padding-block: var(--band-y); }
.band--day { background: var(--calce); color: var(--ink); }
.band--day2 { background: var(--calce-2); color: var(--ink); }
.band--stone { background: var(--pietra); color: var(--ink); }
.band--dusk { background: var(--umber); color: var(--calce); }
.band--night { background: var(--noce); color: var(--night-text); }
.band--day2 .muted { color: var(--fumo-2); }
.band--stone .muted, .band--stone .kicker { color: var(--fumo-3); }
.band--dusk .muted, .band--night .muted, .band--dusk .kicker, .band--night .kicker { color: var(--night-quiet); }
.band--dusk a:hover, .band--night a:hover { color: var(--cera); }

/* Monogram */
.mono path { fill: none; stroke: currentColor; stroke-width: 2.5; }
.mono--small path { stroke-width: 6; }
.mono .mono-inner { stroke-width: 1.2; }
.mono .mono-light, .mono .mono-key { fill: currentColor; stroke: none; }
.mono--lit .mono-light { fill: var(--cera-2); }

/* Buttons and links */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px;
	border: 1px solid transparent; border-radius: 26px 26px 3px 3px;
	font-size: 18px; line-height: 1.2; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--calce); }
.btn--primary:hover { background: var(--umber); color: var(--calce); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--calce); border-color: var(--ink); }
.btn--light { background: var(--calce); color: var(--ink); }
.btn--light:hover { background: var(--cera); color: var(--noce); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 16px; border-radius: 22px 22px 3px 3px; }
.link { font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(237, 236, 232, .92);
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(38, 34, 31, .08);
	color: var(--ink);
	transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.site-header.is-night { background: rgba(31, 25, 21, .9); color: var(--calce); border-bottom-color: rgba(237, 236, 232, .08); }
.site-header.is-night .btn--primary { background: var(--cera); color: var(--noce); }
.site-header.is-night .mono-light { fill: var(--cera-2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand .mono { width: 24px; }
.brand-name { font-size: 23px; line-height: 1; letter-spacing: .005em; white-space: nowrap; }
.nav ul { display: flex; gap: 30px; list-style: none; padding: 0; }
.nav a { display: inline-block; padding: 10px 0; font-size: 17px; text-decoration: none; }
.nav a:hover { color: inherit; text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; letter-spacing: .04em; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
	position: absolute; right: 0; top: calc(100% + 8px);
	min-width: 180px; padding: 10px 0; list-style: none;
	background: var(--calce); color: var(--ink);
	border: 1px solid var(--pietra); box-shadow: 0 12px 32px rgba(31, 25, 21, .12);
}
.lang a { display: block; padding: 8px 18px; text-decoration: none; }
.lang a:hover { background: var(--calce-2); color: var(--ink); }
.lang a[aria-current] { font-style: italic; }
.menu-toggle { display: none; min-height: 44px; padding: 0 4px; background: none; border: 0; color: inherit; font-size: 17px; cursor: pointer; }
.menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: inline; }
.menu-panel { background: var(--calce); color: var(--ink); border-top: 1px solid rgba(38, 34, 31, .08); padding: 16px 0 40px; max-height: calc(100vh - 72px); overflow-y: auto; }
.menu-list { list-style: none; padding: 0; }
.menu-list a { display: block; padding: 14px 0; font-size: 30px; font-weight: 300; text-decoration: none; border-bottom: 1px solid var(--pietra); }
.menu-list a[aria-current="page"] { font-style: italic; }
.menu-langs { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; }
.menu-langs a { display: inline-block; padding: 8px 0; text-decoration: none; }
.menu-langs a[aria-current] { text-decoration: underline; }
@media (max-width: 1020px) {
	.nav, .lang { display: none; }
	.menu-toggle { display: inline-flex; align-items: center; }
}
@media (max-width: 560px) {
	.header-cta { display: none; }
	.brand-name { font-size: 21px; }
}

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero-text { display: flex; flex-direction: column; gap: 32px; }
.hero-text .display { max-width: 7.5em; }
.arch { position: relative; aspect-ratio: 3 / 4; max-width: 460px; margin-left: auto; overflow: hidden; border-radius: var(--arch); border: 1px solid var(--pietra); background: var(--pietra); }
.arch-media { width: 100%; height: 100%; object-fit: cover; }
.arch .plate { position: absolute; inset: 0; min-height: 0; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.arch { margin: 0; max-width: 420px; aspect-ratio: 4 / 5; }
}
.hero .arch { animation: lh-dawn 2.6s var(--ease) both; }
.hero-text > * { animation: lh-rise 1.1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .18s; }
.hero-text > :nth-child(3) { animation-delay: .36s; }
@keyframes lh-dawn { from { filter: brightness(.6) saturate(.7); } to { filter: none; } }
@keyframes lh-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Plates: drawn stand-ins until photographs are chosen */
.plate { position: relative; display: block; width: 100%; height: 100%; min-height: 220px; overflow: hidden; background: var(--pietra); }
.plate--dawn { background: linear-gradient(180deg, #F8F6F1 0%, #E6E1D8 58%, #D2CCC2 100%); }
.plate-mullion { position: absolute; background: rgba(38, 34, 31, .14); }
.plate-mullion--v { left: 50%; top: 0; bottom: 0; width: 1px; }
.plate-mullion--h { left: 0; right: 0; top: 56%; height: 1px; }
.plate--linen { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .32) 0 2px, transparent 2px 7px), linear-gradient(180deg, #F2F0EB, #D9D4CA); }
.plate--silver { background: linear-gradient(118deg, #8F9394 0%, #E7E8E6 36%, #B9BCBB 52%, #F4F4F2 68%, #A2A6A6 100%); }
.plate--garden { background: linear-gradient(180deg, #E1DED3 0%, #C8C2B0 100%); }
.plate--tone { background: var(--calce-2); }
.plate--portrait { background: linear-gradient(180deg, #DAD5CC, #C4BDB1); }
.plate--lamp { background: radial-gradient(circle at 50% 46%, rgba(243, 227, 194, .95) 0 3px, rgba(227, 201, 154, .38) 4px, rgba(227, 201, 154, .10) 22%, rgba(23, 18, 15, 0) 48%), #17120F; }
.plate--table { background: radial-gradient(circle at 50% 50%, rgba(227, 201, 154, .22) 0, rgba(227, 201, 154, .05) 32%, transparent 62%), var(--noce); display: grid; place-items: center; }
.plate-art { width: 86%; max-width: 620px; opacity: .78; }
.plate-art * { fill: none; stroke: var(--cera); stroke-width: 1.2; stroke-linecap: round; }
.plate-art .fill { fill: var(--cera); stroke: none; }
.plate-mono { position: absolute; left: 50%; top: 50%; width: clamp(34px, 8%, 72px); transform: translate(-50%, -50%); color: rgba(38, 34, 31, .28); }
.plate-label { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: 14px; color: var(--fumo); }
.plate--book { background: none; display: grid; place-items: center; }
.plate-book { width: 100%; height: 100%; padding: 22px; background: var(--pietra); border-left: 14px solid var(--pietra-2); }
.plate-book-inner { height: 100%; border: 1px solid rgba(38, 34, 31, .28); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--fumo-3); }
.plate-book .mono { width: 54px; }
.plate-book span { font-size: 20px; }

/* A day in the house */
.day .band { padding-block: 0; }
.day-head { padding-top: clamp(16px, 2vw, 24px); padding-bottom: 32px; }
.day-band { padding-block: clamp(28px, 3.4vw, 44px) !important; }
.day > .band:first-child + .day-band .day-row { position: relative; padding-top: clamp(28px, 3.4vw, 44px); }
.day > .band:first-child + .day-band .day-row::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--pietra); }
.day > .band:first-child + .day-band { padding-top: 0 !important; }
.day-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 300px); gap: 16px 56px; align-items: center; }
.day-time { font-size: clamp(40px, 5vw, 64px); font-weight: 300; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.day-text { display: flex; flex-direction: column; gap: 8px; }
.day-text p { max-width: 36em; color: var(--fumo); }
.band--day2 .day-text p { color: var(--fumo-2); }
.band--stone .day-text p { color: var(--fumo-3); }
.band--dusk .day-text p { color: var(--night-text); }
.band--night .day-time, .band--night .day-text h3 { color: var(--cera); }
.band--night .day-text p { color: var(--night-quiet); }
.day-visual { aspect-ratio: 4 / 3; overflow: hidden; }
.day-visual > img, .day-visual > .plate { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
@media (max-width: 900px) {
	.day-row { grid-template-columns: 1fr; }
	.day-visual { max-width: 520px; }
}

/* Evening: the candle follows the pointer */
.evening {
	background-color: var(--noce);
	background-image: radial-gradient(circle at var(--cx) var(--cy), rgba(227, 201, 154, .30) 0, rgba(227, 201, 154, .10) 14%, rgba(31, 25, 21, 0) 34%);
	color: var(--night-text);
	padding-block: clamp(88px, 10vw, 150px);
}
.evening-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.evening .plate--table { background: none; min-height: 0; width: min(100%, 620px); }
.evening-quote { text-wrap: balance; max-width: 15em; margin-inline: auto; font-size: clamp(40px, 5.6vw, 78px); font-style: italic; font-weight: 300; line-height: 1.08; color: var(--cera); text-align: center; font-variation-settings: 'opsz' 72; }
.evening-text { max-width: 34em; margin-inline: auto; font-size: 19px; color: var(--night-quiet); text-align: center; }
.evening--quiet .evening-quote { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 28px; }
.evening--quiet .evening-text + .evening-text { margin-top: 16px; }
@media (hover: none) {
	.evening { animation: lh-candle 9s ease-in-out infinite; }
}
@keyframes lh-candle {
	0%, 100% { --cx: 47%; --cy: 40%; }
	50% { --cx: 54%; --cy: 44%; }
}

/* Section heads and ruled grids */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 64px; margin-bottom: 48px; }
.section-intro { max-width: 26em; font-size: 19px; color: var(--fumo); }
.band--day2 .section-intro { color: var(--fumo-2); }
.band--stone .section-intro { color: var(--fumo-3); }
.ruled-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 48px; border-top: 1px solid var(--pietra); }
.ruled-grid--four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ruled-item { display: flex; flex-direction: column; gap: 12px; padding: 32px 0 36px; border-bottom: 1px solid var(--pietra); }
.ruled-item p { font-size: 17px; color: var(--ink-2); }
.ruled-item .link { margin-top: auto; padding-top: 6px; font-size: 17px; }
.ruled-item h3 a { text-decoration: none; }
.ruled-item h3 a:hover { text-decoration: underline; color: inherit; }
.ruled-grid--strong { border-top-color: rgba(38, 34, 31, .45); }
.ruled-grid--strong .ruled-item { border-bottom-color: rgba(38, 34, 31, .22); }
.price { font-size: 20px; }
.price--big { font-size: 30px; font-weight: 300; }

/* Splits */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 96px; }
.split-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.split-visual { flex: 1 1 320px; max-width: 420px; }
.book-visual { aspect-ratio: 4 / 5; }
.book-visual > img { width: 100%; height: 100%; object-fit: cover; }
.split--form { align-items: flex-start; }
.split-form { flex: 1 1 480px; min-width: 0; }
.split-form > .h3 { margin-bottom: 28px; }
.portraits { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.portraits figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.portraits img, .portraits .plate { width: 100%; aspect-ratio: 4 / 5; height: auto; min-height: 0; object-fit: cover; }
figcaption { font-size: 18px; }
figcaption span { color: var(--fumo); margin-left: 6px; }

.register-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(38, 34, 31, .3); }
.register-row > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.register-row p { max-width: 38em; }
.wrap.register-row { margin-top: 0; padding-top: 0; border-top: 0; }

.closing-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.closing-inner .h2 { max-width: 14em; color: var(--calce); }
.band--dusk .lead { color: var(--night-text); }
.band--night .display { color: var(--cera); }

/* Inner pages */
.page-hero { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.page-hero-inner { display: flex; flex-direction: column; gap: 28px; }
.page-hero + .band { padding-top: clamp(24px, 3vw, 48px); }
.page-hero-visual { margin-top: clamp(40px, 5vw, 72px); }
.page-hero-visual > img, .page-hero-visual > .plate { width: 100%; aspect-ratio: 21 / 9; height: auto; min-height: 0; object-fit: cover; }
@media (max-width: 700px) {
	.page-hero-visual > img, .page-hero-visual > .plate { aspect-ratio: 4 / 3; }
}

.service, .product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--pietra); scroll-margin-top: 96px; }
.service:first-of-type, .product:first-of-type { padding-top: 0; }
.service--flip .service-visual, .product--flip .product-visual { order: 2; }
.service-visual > img, .service-visual > .plate { width: 100%; aspect-ratio: 4 / 3; height: auto; min-height: 0; object-fit: cover; }
.product { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.product--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.product-visual > img, .product-visual > .plate { width: 100%; aspect-ratio: 4 / 5; height: auto; min-height: 0; object-fit: cover; }
.service-text, .product-text { display: flex; flex-direction: column; gap: 18px; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
@media (max-width: 900px) {
	.service, .product { grid-template-columns: 1fr; }
	.service--flip .service-visual, .product--flip .product-visual { order: 0; }
	.product-visual { max-width: 440px; }
}

.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: currentColor; opacity: .6; }
.ticks--large li { font-size: 20px; }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px 40px; }
.step { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--fumo-3); }
.step::before { content: counter(step); font-size: 44px; font-weight: 300; line-height: 1; color: var(--fumo); }
.step p { color: var(--ink-2); }
.steps--compact { grid-template-columns: 1fr; gap: 0; }
.steps--compact .step { flex-direction: row; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--pietra); }
.steps--compact .step::before { font-size: 24px; min-width: 24px; }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 48px; }
.region { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--pietra); }
.region p { color: var(--fumo); }

.role-list { flex: 1 1 360px; list-style: none; padding: 0; columns: 2 220px; column-gap: 40px; }
.role-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid rgba(38, 34, 31, .16); font-size: 20px; }

.faq .h2 { margin-bottom: 32px; }
.faq-item { border-top: 1px solid var(--pietra); }
.faq-item:last-child { border-bottom: 1px solid var(--pietra); }
.faq-item summary { position: relative; padding: 22px 44px 22px 0; font-size: 21px; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq-a { display: flex; flex-direction: column; gap: 12px; max-width: 40em; padding-bottom: 26px; color: var(--ink-2); }

.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; margin-top: 48px; }
.founder { display: flex; flex-direction: column; gap: 14px; }
.founder-visual > img, .founder-visual > .plate { width: 100%; aspect-ratio: 4 / 5; height: auto; min-height: 0; object-fit: cover; margin-bottom: 10px; }
.founder p { color: var(--ink-2); }

.contact-aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.contact-aside .h4 { margin-top: 12px; }

/* Long text */
.prose-block { display: flex; flex-direction: column; gap: 20px; }
.prose-block p { font-size: 19px; line-height: 1.72; color: var(--ink-2); }
.prose-block .lead { color: var(--ink); }
.legal-doc .h4 { margin-top: 24px; }
.prose { font-size: 19px; line-height: 1.72; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { text-wrap: pretty; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { text-decoration-color: var(--pietra-2); }
.prose a:hover { color: var(--ink); text-decoration-color: currentColor; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 300; line-height: 1.18; letter-spacing: -.005em; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: clamp(22px, 2.2vw, 25px); line-height: 1.25; color: var(--ink); margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .75em; }
.prose h2 + h3 { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { padding-left: .25em; }
.prose li + li { margin-top: .5em; }
.prose li > ul, .prose li > ol { margin-top: .5em; }
.prose li::marker { color: var(--fumo); }
.prose ol > li::marker { font-variant-numeric: lining-nums tabular-nums; font-size: .9em; }
.prose blockquote { margin: 1.8em 0; padding: 2px 0 2px 28px; border-left: 1px solid var(--fumo); font-size: clamp(21px, 2vw, 24px); line-height: 1.5; font-style: italic; color: var(--ink); }
.prose blockquote p + p { margin-top: .8em; }
.prose blockquote cite { display: block; margin-top: .8em; font-size: var(--t-small); font-style: normal; color: var(--fumo); }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: 15px; color: var(--fumo); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--pietra); }
/* Tables: thin stone rules, a quiet header, figures that line up; they scroll sideways on a phone. */
.prose .table-scroll {
	margin-top: 1.6em;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	background:
		linear-gradient(to right, var(--calce) 30%, rgba(237, 236, 232, 0)) left / 32px 100% no-repeat local,
		linear-gradient(to left, var(--calce) 30%, rgba(237, 236, 232, 0)) right / 32px 100% no-repeat local,
		radial-gradient(farthest-side at 0 50%, rgba(38, 34, 31, .14), transparent) left / 10px 100% no-repeat scroll,
		radial-gradient(farthest-side at 100% 50%, rgba(38, 34, 31, .14), transparent) right / 10px 100% no-repeat scroll;
}
.prose .table-scroll + * { margin-top: 1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; font-variant-numeric: lining-nums tabular-nums; border-top: 1px solid var(--pietra-2); }
.prose th, .prose td { text-align: left; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--pietra); vertical-align: top; }
.prose th:last-child, .prose td:last-child { padding-right: 0; }
.prose thead th { padding-block: 11px; font-size: 14px; font-weight: 500; letter-spacing: .02em; line-height: 1.35; color: var(--fumo-2); border-bottom-color: var(--pietra-2); }
.prose tbody th, .prose td:first-child { color: var(--ink); }
.prose caption { caption-side: bottom; padding-top: 10px; text-align: left; font-size: 15px; color: var(--fumo); }
/* Sources: set smaller, after a rule. */
.prose .sources-title { margin-top: 2.6em; padding-top: 28px; border-top: 1px solid var(--pietra); font-size: 22px; font-weight: 400; }
.prose .sources { padding-left: 0; list-style: none; font-size: 15px; line-height: 1.55; color: var(--fumo-2); }
.prose .sources li { padding-left: 0; }
.prose .sources li + li { margin-top: .6em; }
.prose .sources a { overflow-wrap: anywhere; }
.journal-note { max-width: 40em; margin-bottom: 32px; font-size: var(--t-small); color: var(--fumo); }
@media (max-width: 640px) {
	.prose { font-size: 18px; }
	.prose .table-scroll { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); background-origin: border-box; }
	.prose .table-scroll table { min-width: 34em; font-size: 15px; }
	.prose blockquote { padding-left: 20px; }
}
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; }
.article-head .wrap.narrow { display: flex; flex-direction: column; gap: 18px; }
.article-visual { margin-top: 48px; }
.article-visual img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-body { padding-top: 0; }

.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--pietra); }
.post-card-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pager { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; text-decoration: none; }
.pager .current { text-decoration: underline; }

/* Forms */
.form-wrap { scroll-margin-top: 110px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 16px; color: var(--ink-2); }
.field-opt { font-size: 14px; color: var(--fumo); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 10px 0;
	border: 0; border-bottom: 1px solid var(--fumo); border-radius: 0;
	background: transparent; color: inherit; font: inherit; font-size: 18px;
	-webkit-appearance: none; appearance: none;
}
.field select { padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B645E' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field textarea { min-height: 140px; padding: 12px 14px; border: 1px solid var(--pietra-2); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field textarea:focus { border-color: var(--ink); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field--error label { color: var(--error); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 26px; }
.field--check input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 3px 0 0; padding: 0; border: 1px solid var(--fumo); -webkit-appearance: auto; appearance: auto; accent-color: var(--ink); }
.field--check label { font-size: 15px; line-height: 1.5; color: var(--fumo-2); }
.form-actions { margin-top: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-bottom: 24px; padding: 20px 24px; border-left: 2px solid var(--ink); background: rgba(255, 255, 255, .35); }
.form-note--error { border-left-color: var(--error); }
.form-note-title { margin-bottom: 6px; font-size: 22px; }
@media (max-width: 640px) {
	.form-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { padding-block: 72px 32px; }
.site-footer a { color: var(--calce); text-decoration: none; }
.site-footer a:hover { color: var(--cera); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.brand--night, .site-footer .brand--night { color: var(--cera); }
.brand--night .mono { width: 26px; }
.footer-brand p { max-width: 22em; }
.footer-h { margin-bottom: 14px; font-size: 15px; font-weight: 500; color: var(--night-quiet); }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a[aria-current] { text-decoration: underline; }
.footer-letter { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 64px; margin-top: 64px; padding-top: 40px; align-items: start; }
.footer-letter::before, .footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(237, 236, 232, .12); }
.footer-letter-title { margin-bottom: 8px; font-size: 26px; color: var(--cera); }
.footer-letter .form-grid { grid-template-columns: 1fr; }
.footer-letter .field label { color: var(--night-text); }
.footer-letter .field input { border-bottom-color: var(--night-quiet); color: var(--calce); }
.footer-letter .field input:focus { border-bottom-color: var(--cera); box-shadow: 0 1px 0 0 var(--cera); }
.footer-letter .field--check label { color: var(--night-quiet); }
.footer-letter .field--check a { text-decoration: underline; }
.footer-letter .btn--primary { background: var(--cera); color: var(--noce); }
.footer-letter .btn--primary:hover { background: var(--cera-2); color: var(--noce); }
.footer-letter .form-note { background: rgba(255, 255, 255, .04); border-left-color: var(--cera); }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; font-size: 15px; color: var(--night-quiet); }
.footer-base ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 900px) {
	.footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-letter { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.footer-top { grid-template-columns: 1fr; }
}

/* Consent */
.consent { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 60; max-width: 560px; margin-left: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; background: var(--calce); color: var(--ink); border: 1px solid var(--pietra-2); box-shadow: 0 10px 40px rgba(31, 25, 21, .18); }
.consent[hidden] { display: none; }
.consent p { font-size: 16px; line-height: 1.55; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

@media print {
	.site-header, .site-footer, .consent, .actions, .form-wrap { display: none !important; }
	.band { padding-block: 24px; background: #fff !important; color: #000 !important; }
}
