/* ==========================================================================
   BREATHE IN SPACE — main.css
   Quiet, warm, image-first. Cream ground, ink text, generous space.
   ========================================================================== */

:root {
	--bg: #e9e7db;
	--bg-2: #dfdccf;
	--seal: #e2421b;
	--ink: #1e1d1b;
	--ink-2: #57534d;
	--mute: #8c877f;
	--line: rgba(30, 29, 27, .14);
	--over: #fff;
	--font: "Jost", "IBM Plex Sans Thai", system-ui, -apple-system, "Helvetica Neue", sans-serif;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--gut: clamp(16px, 4vw, 56px);
	--max: 1600px;
	--text: 680px;
	--ease: cubic-bezier(.2, .6, .2, 1);
	--head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .6; }
a, .card, .piece, .index__row a { transition: opacity .4s var(--ease); }
h1, h2, h3, h4 { font-weight: 400; margin: 0; line-height: 1.2; }
p { margin: 0 0 1.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { clip: auto; width: auto; height: auto; padding: 8px 12px; background: var(--ink); color: var(--bg); z-index: 100; top: 8px; left: 8px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.eyebrow {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--mute);
}

/* ---------- Brand ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand__word { font-weight: 500; font-size: 22px; letter-spacing: .04em; }
.brand__sub { font-family: var(--serif); font-style: italic; font-size: 12px; letter-spacing: .06em; margin: 3px 0 0 48%; }
.brand__img { height: 34px; width: auto; }
.brand--mark { align-items: center; gap: 4px; }
.brand__word-img { height: 22px; width: auto; }
.brand__sub-img { height: 7px; width: auto; }
.site-header--over .brand__word-img, .site-header--over .brand__sub-img { filter: brightness(0) invert(1); }
.site-header--over.is-scrolled .brand__word-img, .site-header--over.is-scrolled .brand__sub-img, .nav-open .brand__word-img, .nav-open .brand__sub-img { filter: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	transition: background .5s var(--ease), color .5s var(--ease);
}
.site-header__inner {
	max-width: var(--max); margin: 0 auto; height: var(--head-h);
	padding: 0 var(--gut);
	display: flex; align-items: center; justify-content: space-between;
}
.site-header--over { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--over); }
.site-header--over .brand__img { filter: brightness(0) invert(1); }
.site-header--over.is-scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); color: var(--ink); }
.site-header--over.is-scrolled .brand__img { filter: none; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__list a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; }
.nav__list .current-menu-item a, .nav__list a[aria-current] { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.nav-toggle { display: none; width: 28px; height: 20px; position: relative; z-index: 60; }
.nav-toggle span:not(.sr) { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 6px; }
.nav-toggle span:nth-child(2) { top: 13px; }
.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 0; z-index: 55;
		background: var(--bg); color: var(--ink);
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { color: var(--ink); }
	.nav__list { flex-direction: column; align-items: center; gap: 28px; }
	.nav__list a { font-size: 15px; letter-spacing: .24em; }
}

/* ---------- Media ---------- */
.m-img, .m-video { width: 100%; height: auto; background: var(--bg-2); }
.m-video { object-fit: cover; }
.m-video--mob { display: none; }
@media (max-width: 767px) {
	.m-video--desk { display: none; }
	.m-video--mob { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; color: var(--over); }
.hero__media, .hero__media > *, .hero__media picture, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0) 28%, rgba(0,0,0,0) 70%, rgba(0,0,0,.25)); pointer-events: none; }
.hero__media--empty { background: var(--bg-2); }
.hero__media--empty::after { display: none; }
.hero__line { position: absolute; left: var(--gut); bottom: calc(var(--gut) + 8px); margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; z-index: 2; }
.hero__down { position: absolute; right: var(--gut); bottom: calc(var(--gut) + 4px); z-index: 2; font-size: 18px; animation: bob 2.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 140px) var(--gut) 0; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: 16px; }
.link-more { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 96px) clamp(16px, 3vw, 48px); }
.card:nth-child(4n+2) { margin-top: clamp(0px, 10vw, 160px); }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover { opacity: 1; }
.card:hover .card__media img { transform: scale(1.03); }
.card__meta { display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; margin-top: 14px; font-size: 14px; align-items: baseline; }
.card__num, .card__type { font-size: 11px; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; }
@media (max-width: 767px) {
	.cards { grid-template-columns: 1fr; }
	.card:nth-child(4n+2) { margin-top: 0; }
}

.pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px) clamp(12px, 2vw, 32px); }
.pieces--row { grid-template-columns: repeat(4, 1fr); }
.piece__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.piece__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.piece:hover { opacity: 1; }
.piece:hover .piece__media img { transform: scale(1.03); }
.piece__title { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .06em; }
@media (max-width: 767px) { .pieces, .pieces--row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Page heads ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 140px) var(--gut) clamp(32px, 4vw, 56px); }
.page-head--center { text-align: center; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.page-title { font-size: clamp(28px, 4.4vw, 56px); font-weight: 300; letter-spacing: .02em; }
.page-intro { max-width: var(--text); margin-top: 20px; color: var(--ink-2); }

.filter { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.filter__btn { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.filter__btn.is-on, .filter__btn:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Projects index ---------- */
.index { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index__row { border-bottom: 1px solid var(--line); }
.index__row.is-hidden { display: none; }
.index__row a { display: grid; grid-template-columns: 72px 1fr 200px 80px; gap: 16px; align-items: center; padding: 22px 0; }
.index__thumb { display: none; }
.index__num, .index__type, .index__year { font-size: 11px; letter-spacing: .16em; color: var(--mute); text-transform: uppercase; }
.index__year { text-align: right; }
.index__title { font-size: clamp(18px, 2vw, 26px); letter-spacing: .01em; }
.index__list:hover .index__row a { opacity: .35; }
.index__list:hover .index__row a:hover { opacity: 1; }
.index__preview { position: fixed; top: 0; left: 0; width: 280px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.index__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.index__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px), (hover: none) {
	.index__row a { grid-template-columns: 88px 1fr; grid-template-rows: auto auto; gap: 4px 14px; padding: 16px 0; }
	.index__thumb { display: block; grid-row: 1 / 3; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
	.index__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.index__num { display: none; }
	.index__title { font-size: 17px; align-self: end; }
	.index__type { align-self: start; }
	.index__year { display: none; }
	.index__preview { display: none; }
	.index__list:hover .index__row a { opacity: 1; }
}

/* ---------- Single project ---------- */
.cover { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; }
.cover > *, .cover picture, .cover img, .cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.cover::after { content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,0)); pointer-events: none; }

.project__head { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 110px) var(--gut) clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; }
.project__head--plain { padding-top: calc(var(--head-h) + clamp(48px, 7vw, 110px)); }
.project__num { grid-column: 1 / -1; font-size: 11px; letter-spacing: .22em; color: var(--mute); text-transform: uppercase; }
.project__title { font-size: clamp(30px, 5vw, 64px); font-weight: 300; letter-spacing: .01em; }
.project__head .btn { grid-column: 2; justify-self: start; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.facts dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 14px; }
@media (max-width: 767px) {
	.project__head { grid-template-columns: 1fr; }
	.project__head .btn { grid-column: 1; }
}

.prose { max-width: var(--text); margin: 0 auto; padding: 0 var(--gut); font-size: 17px; color: var(--ink-2); }
.page .prose { margin-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); padding: 0; }
.prose h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 2.4em 0 1em; }
.prose .lead, .prose > p:first-child { font-size: clamp(19px, 1.8vw, 23px); color: var(--ink); line-height: 1.55; }
.prose a { border-bottom: 1px solid var(--line); }
.prose img { margin: 2em 0; }
.project__text { margin-bottom: clamp(56px, 8vw, 120px); }

/* Media blocks rhythm */
.blocks { display: flex; flex-direction: column; gap: clamp(40px, 8vw, 140px); padding-bottom: clamp(56px, 8vw, 120px); }
.blk { margin: 0; }
.blk__row { display: grid; gap: clamp(12px, 2vw, 32px); }
.blk--full .blk__row { grid-template-columns: 1fr; }
.blk--pair .blk__row { grid-template-columns: 1fr 1fr; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.blk--inset .blk__row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); grid-template-columns: 5fr 7fr; }
.blk--inset-right .blk__row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); grid-template-columns: 7fr 5fr; }
.blk--inset-right .blk__item { grid-column: 2; }
.blk__cap { max-width: var(--max); margin: 12px auto 0; padding: 0 var(--gut); font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.blk--inset-right .blk__cap { text-align: right; }
@media (max-width: 767px) {
	.blk--pair .blk__row, .blk--inset .blk__row, .blk--inset-right .blk__row { grid-template-columns: 1fr; }
	.blk--inset-right .blk__item { grid-column: 1; }
	.blk--inset .blk__row, .blk--inset-right .blk__row { padding: 0 calc(var(--gut) * 2.5); }
}

.credits { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(56px, 8vw, 120px); font-size: 12px; letter-spacing: .06em; color: var(--mute); }

.next { display: block; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gut); border-top: 1px solid var(--line); }
.next__title { display: block; margin-top: 10px; font-size: clamp(24px, 3.6vw, 44px); font-weight: 300; }

.btn { display: inline-block; margin-top: 24px; padding: 12px 22px; border: 1px solid var(--ink); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: background .4s var(--ease), color .4s var(--ease); }
.btn:hover { background: var(--ink); color: var(--bg); opacity: 1; }

/* ---------- Pages ---------- */
.page__media { margin-bottom: clamp(40px, 6vw, 96px); }
.page__media img { width: 100%; max-height: 80vh; object-fit: cover; }
.contact { max-width: var(--max); margin: clamp(32px, 5vw, 64px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 40px; }
.contact p { margin-top: 10px; font-size: 16px; line-height: 1.8; }
.contact { grid-template-columns: repeat(3, minmax(0, 300px)); }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; } }
.map { max-width: var(--max); margin: clamp(40px, 6vw, 80px) auto 0; padding: 0 var(--gut); }
.map iframe { display: block; width: 100%; height: clamp(280px, 40vw, 460px); border: 0; filter: grayscale(1) contrast(.92) opacity(.92); transition: filter .6s var(--ease); }
.map iframe:hover { filter: none; }
.empty { color: var(--mute); padding: 40px 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(80px, 12vw, 180px); border-top: 1px solid var(--line); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; font-size: 13px; }
.site-footer__name { display: block; font-weight: 500; letter-spacing: .14em; font-size: 12px; }
.site-footer__line { display: block; color: var(--mute); margin-top: 6px; font-size: 12px; }
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.site-footer__legal { grid-column: 1 / -1; font-size: 11px; color: var(--mute); letter-spacing: .04em; }
@media (max-width: 767px) {
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__contact { justify-content: flex-start; flex-direction: column; }
}

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Coming Soon
   ========================================================================== */
.cs { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow-x: hidden; padding: clamp(48px, 8vh, 96px) var(--gut) 120px; }
.cs__bg, .cs__bg > *, .cs__bg picture, .cs__bg img, .cs__bg video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.cs--white .cs__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.cs--white { color: var(--over); }
.cs--white .cs__word, .cs--white .cs__space, .cs--white .cs__eye, .cs--white .cs__gf { filter: brightness(0) invert(1); }
.cs__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cs__lockup { margin: 0; display: flex; flex-direction: column; align-items: center; }
.cs__word { width: clamp(220px, 25vw, 400px); height: auto; animation: csIn 2s var(--ease) both; }
.cs__space { width: clamp(120px, 13vw, 210px); height: auto; margin-top: clamp(14px, 2vw, 26px); animation: csIn 2s .35s var(--ease) both; }
.cs__eye { width: clamp(46px, 4.2vw, 66px); height: auto; margin-top: clamp(34px, 5vh, 60px); animation: csIn 2s .7s var(--ease) both; }
.cs__gf { width: clamp(150px, 15vw, 240px); height: auto; margin-top: clamp(14px, 2vh, 22px); animation: csIn 2s .95s var(--ease) both; }
.cs__seal { width: clamp(120px, 12vw, 200px); height: auto; margin-top: clamp(40px, 6vh, 70px); animation: csIn 2s 1.2s var(--ease) both, spin 90s linear 3s infinite; }
.cs__line { margin: clamp(28px, 4vh, 44px) 0 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); animation: csIn 2s 1.5s var(--ease) both; }
.cs--white .cs__line { color: rgba(255,255,255,.8); }
/* Line under the seal when the background video carries the logo.
   The video is drawn with object-fit: cover, so its rendered height = max(viewport height, 56.25vw);
   the seal's lower edge sits at 86% of the frame (36% below centre). */
.cs__tag {
	position: fixed; left: 0; right: 0; z-index: 2; margin: 0; text-align: center;
	top: min(calc(50vh + .36 * max(100vh, 56.25vw) + clamp(14px, 2.4vh, 28px)), calc(100vh - 84px));
	top: min(calc(50svh + .36 * max(100svh, 56.25vw) + clamp(14px, 2.4svh, 28px)), calc(100svh - 84px));
	font-size: clamp(10px, .78vw, 12px); font-weight: 400; letter-spacing: .36em; padding-left: .36em;
	text-transform: uppercase; color: #2b2a27;
	animation: csIn 3.2s 1.4s var(--ease) both;
}
.cs--white .cs__tag { color: rgba(255,255,255,.88); }
.cs__foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px var(--gut); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 11px; letter-spacing: .12em; color: var(--mute); animation: csIn 2s 1.8s var(--ease) both; }
.cs--white .cs__foot { color: rgba(255,255,255,.75); }
.cs__contact { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.cs--nologo .cs__center { display: none; }
@keyframes csIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 600px) {
	.cs__foot { flex-direction: column; align-items: center; text-align: center; }
	.cs__contact { justify-content: center; flex-direction: column; gap: 4px; }
	.cs--nologo .cs__foot { padding-bottom: 16px; font-size: 10px; }
	.cs--nologo .cs__foot > span:first-child { display: none; }
	.cs--nologo .cs__contact { flex-direction: row; gap: 4px 16px; }
	.cs--nologo .cs__contact a[href^="tel:"] { display: none; }
}

/* Brand assets in pages */
.page-title--gf img { width: clamp(210px, 24vw, 340px); height: auto; }
.site-footer__seal { width: 64px; height: auto; margin-bottom: 14px; }

/* ==========================================================================
   v1.1 — Project storytelling (Karimoku-style sequence)
   ========================================================================== */
.is-hidden { display: none !important; }

/* Slow zoom as images arrive */
.zoom { overflow: hidden; }
.zoom img, .zoom video { transform: scale(1.07); transition: transform 2.6s cubic-bezier(.16, .6, .2, 1); will-change: transform; }
.is-in .zoom img, .is-in .zoom video, .is-in.zoom img, .is-in.zoom video { transform: none; }
.pcard:hover .pcard__media img { transform: scale(1.03); transition-duration: 1.4s; }

/* Cover title overlay */
.cover__title { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gut); color: var(--over); pointer-events: none; aspect-ratio: auto !important; height: auto !important; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(0,0,0,.26), rgba(0,0,0,0) 70%); pointer-events: none; }
.cover__num { font-size: clamp(13px, 1.3vw, 20px); letter-spacing: .42em; padding-left: .42em; font-weight: 300; }
.cover__name { margin: clamp(10px, 1.6vw, 22px) 0 0; font-size: clamp(26px, 3.6vw, 52px); font-weight: 300; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; line-height: 1.25; }
.cover__sub { margin-top: clamp(12px, 1.8vw, 26px); font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; font-weight: 300; }
.cover__num, .cover__name, .cover__sub { text-shadow: 0 1px 24px rgba(0,0,0,.18); animation: csIn 2.2s .3s var(--ease) both; }
.cover__name { animation-delay: .5s; }
.cover__sub { animation-delay: .8s; }
.cover__down { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--gut) + 4px); transform: translateX(-50%); color: var(--over); font-size: 18px; aspect-ratio: auto !important; width: auto !important; height: auto !important; inset: auto auto calc(var(--gut) + 4px) 50% !important; animation: bob 2.8s var(--ease) infinite; }

/* Project head below cover: centred, quiet */
.project .cover + .project__head { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: clamp(80px, 12vw, 180px); }
.project .cover + .project__head .project__title { font-size: clamp(26px, 3.6vw, 48px); letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; }
.project .cover + .project__head .facts { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(120px, 160px)); width: 100%; max-width: 720px; }
.project__text { text-align: center; }
.project__text > p:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; color: var(--ink); }

/* Text block */
.blk--text { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.blk__text { max-width: var(--text); margin: 0 auto; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.prose-block p { margin: 0 0 1.1em; }
.prose-block p:last-child { margin-bottom: 0; }

/* Quote block */
.blk--quote { max-width: 1100px; margin: 0 auto; padding: clamp(24px, 6vw, 100px) var(--gut); text-align: center; }
.blk--quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.45; color: var(--ink); }
.blk--quote blockquote p { margin: 0 0 .6em; }
.blk--quote blockquote p:first-child::before { content: "\201C"; }
.blk--quote blockquote p:last-child::after { content: "\201D"; }
.blk--quote blockquote p:last-child { margin-bottom: 0; }
.blk--quote figcaption { margin-top: clamp(20px, 2.4vw, 34px); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

/* Image + Text */
.blk--split .blk__row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.blk--text-img .blk__item { order: 2; }
.blk__body { max-width: 520px; justify-self: center; text-align: center; }
.blk__heading { font-size: clamp(22px, 2.6vw, 38px); font-weight: 300; letter-spacing: .2em; text-transform: uppercase; margin-bottom: clamp(18px, 2.4vw, 32px); }
.blk__body .prose-block { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.blk__body .prose-block p:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; color: var(--ink); }
@media (max-width: 767px) {
	.blk--split .blk__row { grid-template-columns: 1fr; }
	.blk--text-img .blk__item { order: 0; }
}

/* Related pieces */
.related { padding-bottom: clamp(56px, 8vw, 120px); }

/* Projects grid */
.page-head--grid { padding-bottom: clamp(24px, 3vw, 40px); }
.pgrid-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 5vw, 88px) clamp(16px, 2.4vw, 40px); }
.pcard { display: block; }
.pcard:hover { opacity: 1; }
.pcard__media { aspect-ratio: 16 / 9; background: var(--bg-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__num, .pcard__title { display: block; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.pcard__num { margin-top: 18px; }
.pcard__title { margin-top: 8px; font-size: 14px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .zoom img, .zoom video { transform: none !important; } }

/* ==========================================================================
   v1.2 — Cover sequence, piece order box
   ========================================================================== */
.seq { position: absolute; inset: 0; }
.seq__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
.seq__slide.is-on { opacity: 1; }
.seq__slide > *, .seq__slide picture, .seq__slide img, .seq__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; }
.seq__slide[data-kind="image"] img { transform: scale(1); transition: transform 9s linear; }
.seq__slide[data-kind="image"].is-on img { transform: scale(1.045); }
.seq__dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: calc(var(--gut) + 10px); display: flex; gap: 6px; inset: auto auto calc(var(--gut) + 10px) 50% !important; width: auto !important; height: auto !important; }
.cover .seq__dots { bottom: calc(var(--gut) + 44px) !important; inset: auto auto calc(var(--gut) + 44px) 50% !important; }
.seq__dot { width: 28px; height: 16px; padding: 0; display: grid; place-items: center; cursor: pointer; }
.seq__dot span { display: block; width: 100%; height: 1px; background: rgba(255,255,255,.45); transition: background .4s, height .4s; }
.seq__dot.is-on span { background: #fff; height: 2px; }
.seq__dot:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .seq__slide, .seq__slide img { transition: none !important; transform: none !important; } }

/* Piece head with order box */
.piece-head { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gut) clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.piece-head--plain { padding-top: calc(var(--head-h) + clamp(48px, 7vw, 110px)); }
.piece-head__id { display: grid; gap: 14px; justify-items: start; }
.piece-head .project__title { font-size: clamp(30px, 4.4vw, 58px); }
.piece-price { margin: 0; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.piece-status { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.piece-status--sold { color: var(--ink); text-decoration: line-through; text-decoration-thickness: 1px; }
.piece-head .facts { width: 100%; max-width: 520px; margin-top: 8px; }
.order { display: grid; gap: 18px; align-content: end; max-width: 460px; justify-self: end; width: 100%; }
.order__fields { display: grid; grid-template-columns: 1fr 96px; gap: 12px; }
.order__fields:has(.order__field:only-child) { grid-template-columns: 96px; }
.order__field { display: grid; gap: 6px; }
.order__field span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.order__field select, .order__field input { font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; -webkit-appearance: none; appearance: none; width: 100%; }
.order__field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.order__field select:focus, .order__field input:focus { outline: none; border-bottom-color: var(--ink); }
.order__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order__actions .btn { margin-top: 0; text-align: center; }
.btn--solid { background: var(--ink); color: var(--bg); flex: 1 1 200px; }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost { border-color: var(--line); flex: 0 1 auto; }
.order__note { margin: 0; font-size: 12px; color: var(--mute); line-height: 1.6; }
.piece__meta { display: block; margin-top: 4px; font-size: 12px; color: var(--mute); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
	.piece-head { grid-template-columns: 1fr; align-items: start; }
	.order { justify-self: stretch; max-width: none; }
}

/* v1.2.3: on phones and short screens the stacked contact block flows under the
   logo group instead of sitting on top of it. */
@media (max-width: 600px), (max-height: 720px) {
	.cs { justify-content: flex-start; padding-bottom: 0; }
	.cs__center { margin: auto 0; padding-top: 8px; }
	.cs__foot { position: relative; margin-top: auto; padding-top: 40px; }
	.cs--nologo .cs__foot { margin-top: auto; }
}

/* v1.2.4: Home note (work in progress) */
.wip { text-align: center; padding: clamp(72px, 12vh, 140px) var(--gut) clamp(56px, 9vh, 110px); }
.wip__lead { margin: 0 0 14px; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; color: var(--ink, #2b2a27); }
.wip__line span { display: inline-block; }
.wip__line { margin: 0 auto; max-width: 60em; font-size: 11px; letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; line-height: 2; color: var(--mute); }

/* v1.2.5: small symbol above page titles (eye on Spaces) */
.page-symbol { margin: 0 0 clamp(16px, 2vw, 24px); line-height: 0; }
.page-symbol__img { width: auto; height: clamp(26px, 2.6vw, 38px); max-width: 160px; object-fit: contain; }
.page-head--center .page-symbol { display: flex; justify-content: center; }
/* v1.2.6: Breathtaking carries a small picture (letter rack) instead of a line symbol */
.page-symbol--picture { margin-bottom: clamp(24px, 3vw, 40px); }
.page-symbol--picture .page-symbol__img { height: auto; width: clamp(140px, 15vw, 220px); max-width: none; box-shadow: 0 14px 34px rgba(30, 29, 27, .16); }

/* v1.3.0: page titles - small, medium weight, spaced capitals (Customize > Design) */
.page-title, .title-m .page-title { font-weight: 500; letter-spacing: .34em; text-transform: uppercase; line-height: 1.4; }
.page-title { font-size: clamp(16px, 1.35vw, 20px); }
.title-m .page-title { font-size: clamp(20px, 1.9vw, 28px); }
.title-l .page-title { font-size: clamp(28px, 4.4vw, 56px); font-weight: 300; letter-spacing: .02em; text-transform: none; line-height: 1.2; }
.project__title, .project .cover + .project__head .project__title, .piece-head .project__title { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; letter-spacing: .3em; padding-left: 0; text-transform: uppercase; line-height: 1.45; }
.title-m .project__title, .title-m .project .cover + .project__head .project__title, .title-m .piece-head .project__title { font-size: clamp(22px, 2.4vw, 34px); }
.title-l .project__title, .title-l .piece-head .project__title { font-size: clamp(30px, 4.4vw, 58px); font-weight: 300; letter-spacing: .01em; text-transform: none; }
.title-l .project .cover + .project__head .project__title { font-size: clamp(26px, 3.6vw, 48px); font-weight: 300; letter-spacing: .24em; }

/* Dark background: black brand artwork turns white */
.is-dark .brand__word-img, .is-dark .brand__sub-img, .is-dark .brand__img,
.is-dark .site-header--over.is-scrolled .brand__word-img, .is-dark .site-header--over.is-scrolled .brand__sub-img,
.is-dark .page-title--gf img, .is-dark .page-symbol:not(.page-symbol--picture) img { filter: brightness(0) invert(1); }

/* v1.4.0: Breathtaking board + entries */
.board-wrap { max-width: var(--max); margin: clamp(40px, 6vw, 80px) auto 0; padding: 0 var(--gut) clamp(64px, 8vw, 120px); }
.filter--board { margin: 0 0 clamp(28px, 3vw, 44px); }
.board { columns: 3; column-gap: clamp(18px, 2.4vw, 40px); }
.note { display: block; break-inside: avoid; margin: 0 0 clamp(36px, 4vw, 64px); }
.note.is-hidden { display: none; }
.note:hover { opacity: 1; }
.note__media { position: relative; background: var(--bg-2); overflow: hidden; }
.note__media img { width: 100%; height: auto; transition: transform 1.6s var(--ease); }
.note:hover .note__media img { transform: scale(1.03); }
.note__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.82); backdrop-filter: blur(6px); }
.note__play::after { content: ""; position: absolute; left: 22px; top: 18px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--ink); }
.note--text { padding: clamp(24px, 2.6vw, 40px); background: var(--bg-2); }
.note__excerpt { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink); }
.note__meta { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.note--text .note__meta { margin-top: 0; }
.note__title { display: block; margin-top: 6px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 1100px) { .board { columns: 2; } }
@media (max-width: 640px) { .board { columns: 1; } }

.entry { padding-bottom: clamp(64px, 8vw, 120px); }
.entry__head { max-width: 900px; margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gut) clamp(28px, 3vw, 44px); }
.entry__back { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.entry__back::before { content: "\2190\00a0\00a0"; }
.entry__meta { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.entry__media { max-width: 900px; margin: 0 auto clamp(32px, 4vw, 56px); padding: 0 var(--gut); }
.entry__body { max-width: 900px; margin: 0 auto; padding: 0 var(--gut); font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.entry__body > * { margin: 0 0 1.4em; }
.entry__body > p:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 27px); line-height: 1.5; color: var(--ink); }
.entry__body h2, .entry__body h3 { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-top: 2.6em; }
.entry__body a { border-bottom: 1px solid var(--line); }
.entry__body img, .entry__body video, .entry__body iframe { width: 100%; height: auto; }
.entry__body figure { margin: 2.2em 0; }
.entry__body figcaption { font-size: 12px; letter-spacing: .08em; color: var(--mute); margin-top: 10px; }
.entry__body .wp-block-embed iframe, .entry__body iframe[src*="youtube"], .entry__body iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
.entry__body .alignwide { max-width: 1280px; width: calc(100vw - 2 * var(--gut)); margin-left: 50%; transform: translateX(-50%); }
.entry__body .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry__body blockquote { margin: 2.4em 0; padding: 0; border: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; color: var(--ink); }
.entry__body .wp-block-gallery { gap: 12px; }

/* v1.4.1: page text keeps a right margin on phones */
.page .prose { max-width: min(var(--text), calc(100% - 2 * var(--gut))); }

/* v1.4.2: link preview cards in Breathtaking entries */
.entry__body .lcard { display: grid; grid-template-columns: minmax(0, 42%) 1fr; margin: 2.2em 0; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 60%, transparent); color: var(--ink); }
.entry__body .lcard:hover { opacity: 1; background: var(--bg-2); }
.entry__body a.lcard { border-bottom: 1px solid var(--line); }
.lcard--plain { grid-template-columns: 1fr; }
.lcard__img { display: block; background: var(--bg-2); overflow: hidden; aspect-ratio: 16 / 10; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.lcard__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: clamp(18px, 2.4vw, 32px); }
.lcard__site { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.lcard__title { font-size: 17px; font-weight: 400; line-height: 1.35; }
.lcard__desc { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 640px) { .entry__body .lcard { grid-template-columns: 1fr; } }

/* v1.5.0: new brand logos (own lettering) - proportions from the brand sheet */
.brand__word-img { height: 20px; }
.brand__sub-img { height: 8px; }
.cs__space { width: clamp(108px, 12.2vw, 196px); }
.page-symbol__img { height: clamp(26px, 2.6vw, 38px); }
