/* ==========================================================================
   Kayra — theme styles
   ========================================================================== */

:root {
	--paper: #f4f3ef;
	--paper-2: #eae8e2;
	--ink: #121212;
	--ink-2: #3b3a37;
	--muted: #8a877f;
	--line: rgba(18, 18, 18, .14);
	--dark: #0d0d0c;
	--dark-ink: #ecebe6;
	--serif: "Instrument Serif", "Times New Roman", Georgia, serif;
	--sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
	--gutter: clamp(16px, 3.2vw, 52px);
	--header-h: 76px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.77, 0, .175, 1);
}

.tone-dark {
	--paper: #0d0d0c;
	--paper-2: #171716;
	--ink: #ecebe6;
	--ink-2: #c9c7c0;
	--muted: #8d8a83;
	--line: rgba(236, 235, 230, .14);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color .6s var(--ease), color .6s var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.eyebrow {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted);
}

.link-arrow {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), opacity .3s;
}
.link-arrow:hover { border-color: currentColor; }

.btn {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 16px 26px;
	font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
	background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink);
	transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--dark-ink); color: var(--dark); border-color: var(--dark-ink); }
.btn[disabled] { opacity: .35; pointer-events: none; }

.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { border-bottom: 1px solid var(--line); }
.prose .ka-verse { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; margin-bottom: 2em; }
.prose .ka-verse p { margin-bottom: 1em; }
.prose blockquote, .ka-epigraph { margin: 0 0 1.6em; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; font-style: italic; }
.ka-epigraph cite { display: block; margin-top: .6em; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Reveal & split text ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 60ms + 120ms); }
.is-split.is-in .split-word > span { transform: none; }

/* ---------- Intro ---------- */
.intro { display: none; }
.intro-play .intro {
	display: flex; position: fixed; inset: 0; z-index: 200;
	background: var(--dark); color: var(--dark-ink);
	flex-direction: column; align-items: center; justify-content: center; gap: 22px;
	animation: intro-out 1s var(--ease-io) 1.9s forwards;
}
.intro__name { font-family: var(--serif); font-size: clamp(44px, 8vw, 120px); line-height: 1; display: flex; gap: .25em; overflow: hidden; }
.intro__name span { display: inline-block; transform: translateY(110%); animation: intro-in 1.1s var(--ease-out) forwards; }
.intro__name span + span { animation-delay: .12s; font-style: italic; }
.intro__line { width: 0; height: 1px; background: currentColor; opacity: .5; animation: intro-line 1.5s var(--ease-io) .3s forwards; }
@keyframes intro-in { to { transform: none; } }
@keyframes intro-line { to { width: min(320px, 60vw); } }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 0 var(--gutter);
	color: var(--ink);
	transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), border-color .5s;
	border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.has-hero .site-header:not(.is-scrolled) { color: #f4f3ef; }

.brand { font-size: 13px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }

.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.site-nav__list a, .lang-switch a {
	font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
	position: relative; padding: 6px 0;
}
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav__list a:hover::after, .site-nav__list .is-current a::after { transform: scaleX(1); transform-origin: left; }
.site-nav__list .is-cta a { border: 1px solid currentColor; padding: 9px 18px; border-radius: 40px; transition: background-color .3s, color .3s; }
.site-nav__list .is-cta a::after { display: none; }
.site-nav__list .is-cta a:hover { background: var(--ink); color: var(--paper); }
.has-hero .site-header:not(.is-scrolled) .is-cta a:hover { background: #f4f3ef; color: #121212; }

.site-header__end { display: flex; align-items: center; gap: 22px; }
.lang-switch { display: inline-flex; gap: 10px; }
.lang-switch a { opacity: .45; transition: opacity .3s; }
.lang-switch a.is-active, .lang-switch a:hover { opacity: 1; }

.menu-toggle { display: none; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-toggle__bars i { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .menu-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 55;
	background: var(--paper); color: var(--ink);
	display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
	clip-path: inset(0 0 100% 0);
	transition: clip-path .7s var(--ease-io);
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { color: var(--ink) !important; background: transparent; border-color: transparent; backdrop-filter: none; }
.mobile-menu__list a { display: block; font-family: var(--serif); font-size: clamp(44px, 12vw, 72px); line-height: 1.08; }
.mobile-menu__list .is-cta a { font-style: italic; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }

@media (max-width: 900px) {
	.site-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__end > .lang-switch { display: none; }
	:root { --header-h: 64px; }
}

/* ---------- Hero slideshow ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--dark); color: #f4f3ef; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); z-index: 1; }
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.hero__caption { position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(28px, 6vh, 64px); max-width: min(70vw, 1100px); pointer-events: none; }
.hero__kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: .8; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 9vw, 168px); line-height: .92; letter-spacing: -.01em; transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
.hero__meta { margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; transition: opacity .5s var(--ease); }
.hero.is-changing .hero__title, .hero.is-changing .hero__meta { opacity: 0; transform: translateY(12px); }
.hero__controls { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(28px, 6vh, 64px); display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero__bars { display: flex; gap: 8px; }
.hero__bar { width: 36px; height: 20px; display: flex; align-items: center; }
.hero__bar span { position: relative; display: block; width: 100%; height: 1px; background: rgba(244,243,239,.35); overflow: hidden; }
.hero__bar span::after { content: ""; position: absolute; inset: 0; background: #f4f3ef; transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done span::after { transform: scaleX(1); }
.hero__bar.is-active span::after { animation: bar-fill var(--hero-dur, 6.5s) linear forwards; }
.hero.is-paused .hero__bar.is-active span::after { animation-play-state: paused; }
@keyframes bar-fill { to { transform: scaleX(1); } }
.hero__view { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid rgba(244,243,239,.5); padding-bottom: 4px; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.hero__scroll::after { content: ""; display: block; width: 1px; height: 28px; margin: 8px auto 0; background: currentColor; animation: scroll-line 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) {
	.hero__controls { left: var(--gutter); right: var(--gutter); flex-direction: row; justify-content: space-between; align-items: center; bottom: 22px; }
	.hero__caption { bottom: 84px; max-width: none; right: var(--gutter); }
	.hero__bar { width: 22px; }
	.hero__scroll { display: none; }
}

/* ---------- Sections ---------- */
.intro-statement { padding: clamp(96px, 16vw, 220px) var(--gutter) clamp(64px, 10vw, 140px); text-align: center; }
.intro-statement .eyebrow { margin-bottom: 28px; }
.intro-statement__text { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 88px); line-height: 1.02; max-width: 16ch; margin: 0 auto; font-style: italic; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--gutter) 22px; }

.index-list { padding: 0 0 clamp(80px, 12vw, 180px); }
.index-list__items { border-top: 1px solid var(--line); margin: 0 var(--gutter); }
.index-row { border-bottom: 1px solid var(--line); }
.index-row a { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 20px; padding: clamp(14px, 1.8vw, 24px) 0; transition: opacity .4s var(--ease), padding .5s var(--ease); }
.index-row__num { font-size: 11px; letter-spacing: .18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.index-row__title { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 88px); line-height: 1; transition: transform .6s var(--ease-out), font-style .3s; }
.index-row__meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.index-row__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
	.index-list__items:hover .index-row a { opacity: .28; }
	.index-list__items .index-row a:hover { opacity: 1; }
	.index-row a:hover .index-row__title { transform: translateX(18px); font-style: italic; }
}
@media (max-width: 700px) {
	.index-row a { grid-template-columns: 1fr 72px; grid-template-areas: "title thumb" "meta thumb"; gap: 4px 16px; }
	.index-row__num { display: none; }
	.index-row__title { grid-area: title; }
	.index-row__meta { grid-area: meta; }
	.index-row__thumb { display: block; grid-area: thumb; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; }
	.index-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
}

.hover-preview { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(220px, 20vw, 340px); aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.92); transition: opacity .35s var(--ease), transform .5s var(--ease-out); overflow: hidden; }
.hover-preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (hover: none), (pointer: coarse) { .hover-preview { display: none; } }

.cards-section { padding: 0 0 clamp(80px, 12vw, 180px); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px) var(--gutter); padding: 0 var(--gutter); }
.card { display: flex; flex-direction: column; gap: 10px; }
.card__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.card--wide { grid-column: 1 / -1; }
.card--wide .card__media { aspect-ratio: 16 / 8; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), filter .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; margin-top: 8px; }
.card__meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } .card--wide .card__media { aspect-ratio: 4 / 5; } }

/* ---------- Booking band ---------- */
.book-band { background: var(--dark); color: var(--dark-ink); padding: clamp(80px, 12vw, 180px) var(--gutter); --line: rgba(236,235,230,.16); --muted: #8d8a83; }
.tone-dark .book-band { background: #151514; }
.book-band__inner { max-width: 1400px; margin: 0 auto; }
.book-band__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 110px); line-height: .98; margin: 18px 0 24px; max-width: 14ch; }
.book-band__text { max-width: 56ch; font-size: 17px; color: #bdbab3; margin-bottom: 48px; }
.book-band--compact { padding-block: clamp(64px, 9vw, 130px); }
.book-band--compact .book-band__title { font-size: clamp(36px, 4.6vw, 72px); }
.book-band--compact .book-band__text { margin-bottom: 32px; }
.book-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.book-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 32px 28px 40px 0; border-bottom: 1px solid var(--line); transition: background-color .45s var(--ease), color .45s var(--ease), padding .45s var(--ease); }
.book-card + .book-card { border-left: 1px solid var(--line); padding-left: 28px; }
.book-card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
.book-card span:not(.book-card__icon) { color: #a3a098; font-size: 15px; }
.book-card em { position: absolute; right: 24px; top: 32px; font-style: normal; font-size: 22px; transition: transform .45s var(--ease); }
.book-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.2; margin-bottom: 18px; }
.book-card:hover { background: var(--dark-ink); color: var(--dark); padding-left: 28px; }
.book-card:hover span:not(.book-card__icon) { color: #55534e; }
.book-card:hover em { transform: translateX(6px); }
@media (max-width: 800px) {
	.book-cards { grid-template-columns: 1fr; }
	.book-card + .book-card { border-left: 0; padding-left: 0; }
	.book-card:hover { padding-left: 16px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 9vw, 120px) var(--gutter) 28px; border-top: 1px solid var(--line); }
.site-footer__big { display: inline-flex; align-items: baseline; gap: .3em; font-family: var(--serif); font-size: clamp(56px, 11vw, 200px); line-height: .9; letter-spacing: -.01em; }
.site-footer__big em { font-style: normal; font-size: .6em; transition: transform .6s var(--ease-out); }
.site-footer__big:hover span { font-style: italic; }
.site-footer__big:hover em { transform: translateX(.2em); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: clamp(56px, 8vw, 110px) 0 56px; font-size: 15px; }
.site-footer__grid .eyebrow { margin-bottom: 14px; }
.site-footer__grid p + p { margin-top: 6px; }
.site-footer__grid a:hover { opacity: .55; }
.site-footer__nav li + li { margin-top: 6px; }
.site-footer__nav .is-cta a { font-style: italic; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line); }
.site-footer__base .lang-switch a { font-size: 11px; }
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Project ---------- */
.project__head { padding: calc(var(--header-h) + clamp(56px, 10vw, 150px)) var(--gutter) clamp(40px, 6vw, 80px); }
.project__crumb a:hover { color: var(--ink); }
.project__title { font-family: var(--serif); font-weight: 400; font-size: clamp(58px, 11.5vw, 216px); line-height: .88; letter-spacing: -.015em; margin: 22px 0 28px; max-width: 14ch; }
.project__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.project__subtitle { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; font-style: italic; color: var(--ink); }

.project__statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); padding: 0 var(--gutter) clamp(64px, 10vw, 150px); }
.project__statement-label { grid-column: 1 / 4; padding-top: 8px; }
.project__statement-body { grid-column: 4 / 11; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.65; color: var(--ink-2); position: relative; }
.project__statement.is-collapsible .project__statement-body { max-height: 30em; overflow: hidden; transition: max-height 1s var(--ease-io); }
.project__statement.is-collapsible:not(.is-open) .project__statement-body { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.project__statement.is-open .project__statement-body { max-height: 400em; }
.project__more { grid-column: 4 / 11; justify-self: start; margin-top: 18px; }
@media (max-width: 800px) {
	.project__statement-label, .project__statement-body, .project__more { grid-column: 1 / -1; }
	.project__statement-label { margin-bottom: 16px; }
}

/* Gallery shared */
.gallery { padding: 0 var(--gutter) clamp(80px, 12vw, 180px); }
.g-item { position: relative; }
.g-open { display: block; width: 100%; cursor: zoom-in; overflow: hidden; background: var(--paper-2); }
.g-open img { width: 100%; transition: transform 1.4s var(--ease-out), opacity .6s; }
.g-open:hover img { transform: scale(1.015); }
.g-num { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-num i { font-style: normal; opacity: .6; }

/* Editorial rhythm */
.e-row { margin-bottom: clamp(48px, 9vw, 160px); display: flex; }
.e-full { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); }
.e-full .g-num { padding: 0 var(--gutter); }
.e-inset { width: 66%; }
.e-inset.e-right { margin-left: auto; }
.e-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.e-pair .e-half:nth-child(2) { margin-top: 18%; }
.e-solo { width: 40%; }
.e-solo.e-left { margin-left: 10%; }
.e-solo.e-right { margin-left: auto; margin-right: 10%; }
@media (max-width: 800px) {
	.e-inset, .e-solo { width: 100%; margin: 0 !important; }
	.e-pair { grid-template-columns: 1fr; }
	.e-pair .e-half:nth-child(2) { margin-top: 0; }
}

/* Stack */
.gallery--stack { display: flex; flex-direction: column; align-items: center; gap: clamp(48px, 10vh, 140px); }
.s-land { width: min(100%, 1500px); }
.s-port { width: auto; }
.s-port .g-open img { height: min(92vh, 1400px); width: auto; max-width: 100%; }
.s-port .g-open { width: auto; }
@media (max-width: 800px) { .s-port .g-open img { height: auto; width: 100%; } .s-port { width: 100%; } }

/* Masonry */
.masonry { columns: 4; column-gap: 14px; }
.m-item { break-inside: avoid; margin-bottom: 14px; }
.m-item .g-num { display: none; }
@media (max-width: 1100px) { .masonry { columns: 3; } }
@media (max-width: 700px) { .masonry { columns: 2; column-gap: 8px; } .m-item { margin-bottom: 8px; } }

/* Horizontal cinematic scroll */
.gallery--horizontal { padding-left: 0; padding-right: 0; }
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__track { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); padding: 0 var(--gutter); will-change: transform; }
.h-item { flex: 0 0 auto; height: min(74vh, 900px); width: calc(min(74vh, 900px) * var(--r)); }
.h-item .g-open, .h-item .g-open img { height: 100%; width: 100%; object-fit: cover; }
.h-item .g-num { position: absolute; top: calc(100% + 8px); }
.hscroll__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 1px; background: var(--line); }
.hscroll__progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hscroll.is-native .hscroll__sticky { position: static; height: auto; overflow: visible; }
.hscroll.is-native .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 40px; transform: none !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hscroll.is-native .hscroll__track::-webkit-scrollbar { display: none; }
.hscroll.is-native .h-item { scroll-snap-align: center; height: 62vh; width: calc(62vh * var(--r)); max-width: 88vw; }
.hscroll.is-native .h-item .g-open img { object-fit: cover; }
.hscroll.is-native .hscroll__progress { display: none; }

/* Press */
.press { padding: 0 var(--gutter) clamp(80px, 12vw, 180px); max-width: 1200px; margin: 0 auto; text-align: center; }
.press > .eyebrow { margin-bottom: 40px; }
.press__quote { margin: 0 0 clamp(48px, 6vw, 88px); }
.press__quote p { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 48px); line-height: 1.15; }
.press__quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.project__facts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gutter); padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.project__facts > div { grid-column: span 5; }
.project__facts > div:first-child { grid-column: 4 / 9; }
.project__facts .eyebrow { margin-bottom: 14px; }
.project__facts li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 800px) { .project__facts > div, .project__facts > div:first-child { grid-column: 1 / -1; } }

.next-project { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 86vh; min-height: 480px; overflow: hidden; color: #f4f3ef; padding: var(--gutter); background: var(--dark); }
.next-project__media { position: absolute; inset: 0; }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transform: scale(1.06); transition: transform 2.2s var(--ease-out), opacity .8s; }
.next-project:hover .next-project__media img { transform: scale(1); opacity: .9; }
.next-project__label { position: relative; color: rgba(244,243,239,.8); margin-bottom: 14px; }
.next-project__title { position: relative; font-family: var(--serif); font-size: clamp(52px, 9vw, 170px); line-height: .9; }
.next-project__title em { font-style: normal; display: inline-block; transition: transform .6s var(--ease-out); }
.next-project:hover .next-project__title em { transform: translateX(.15em); }

/* ---------- Work index ---------- */
.work { padding: calc(var(--header-h) + clamp(56px, 9vw, 140px)) var(--gutter) clamp(80px, 12vw, 160px); }
.work__head { margin-bottom: clamp(40px, 6vw, 80px); }
.work__title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 13vw, 240px); line-height: .85; letter-spacing: -.015em; }
.work__tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.tabs { display: flex; gap: 24px; flex-wrap: wrap; }
.tabs a, .view-toggle button { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.tabs a.is-active, .tabs a:hover, .view-toggle button.is-active { color: var(--ink); }
.view-toggle { display: flex; gap: 16px; }

.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 5vw, 72px) var(--gutter); }
.work-item { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "media media media" "num title meta"; gap: 14px 14px; align-items: baseline; }
.work-item__media { grid-area: media; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.work-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.work-item:hover .work-item__media img { transform: scale(1.04); }
.work-item__num { grid-area: num; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.work-item__title { grid-area: title; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; }
.work-item__meta { grid-area: meta; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-item__count { display: none; }
.work__grid .work-item:nth-child(3n+2) { margin-top: 12%; }
@media (max-width: 1100px) { .work__grid { grid-template-columns: repeat(2, 1fr); } .work__grid .work-item:nth-child(3n+2) { margin-top: 0; } .work__grid .work-item:nth-child(2n) { margin-top: 14%; } }
@media (max-width: 640px) { .work__grid { grid-template-columns: 1fr; } .work__grid .work-item:nth-child(n) { margin-top: 0; } }

.work__grid[data-mode="list"] { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.work__grid[data-mode="list"] .work-item { margin-top: 0 !important; grid-template-columns: 64px 1fr auto auto; grid-template-areas: "num title count meta"; padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line); align-items: center; opacity: 1; transform: none; }
.work__grid[data-mode="list"] .work-item__media { display: none; }
.work__grid[data-mode="list"] .work-item__title { font-size: clamp(32px, 4.6vw, 76px); line-height: 1; transition: transform .6s var(--ease-out); }
.work__grid[data-mode="list"] .work-item__count { display: block; grid-area: count; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 32px; }
@media (hover: hover) and (pointer: fine) {
	.work__grid[data-mode="list"]:hover .work-item { opacity: .28; }
	.work__grid[data-mode="list"] .work-item:hover { opacity: 1; }
	.work__grid[data-mode="list"] .work-item:hover .work-item__title { transform: translateX(18px); font-style: italic; }
}
@media (max-width: 640px) { .work__grid[data-mode="list"] .work-item { grid-template-columns: 1fr auto; grid-template-areas: "title meta"; } .work__grid[data-mode="list"] .work-item__num, .work__grid[data-mode="list"] .work-item__count { display: none; } }

/* ---------- About ---------- */
.about { padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) var(--gutter) clamp(64px, 10vw, 140px); }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.about__portrait { position: sticky; top: calc(var(--header-h) + 24px); }
.about__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__lead { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 62px); line-height: 1.04; margin: 22px 0 36px; }
.about__text { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 88px); }
.about__facts .eyebrow { margin-bottom: 14px; }
.about__facts li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.about__facts li span { display: inline-block; min-width: 46px; color: var(--muted); font-variant-numeric: tabular-nums; }
.about__facts li a:hover { opacity: .55; }
.about__wide { margin: clamp(64px, 10vw, 150px) calc(-1 * var(--gutter)) 0; }
.about__wide img { width: 100%; }
@media (max-width: 1000px) { .about__facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; } .about__portrait { position: static; } .about__facts { grid-template-columns: 1fr; } }

/* ---------- Plain pages / 404 ---------- */
.page-plain { padding: calc(var(--header-h) + clamp(56px, 9vw, 140px)) var(--gutter) clamp(80px, 12vw, 160px); max-width: 1000px; }
.page-plain__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: .92; margin-bottom: 40px; }
.page-plain .prose { font-size: 18px; color: var(--ink-2); }
.not-found { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: var(--gutter); background: var(--dark); color: #f4f3ef; }
.not-found__bg { position: absolute; inset: 0; }
.not-found__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(1); }
.not-found__inner { position: relative; }
.not-found__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 150px); line-height: .92; margin: 16px 0 36px; max-width: 12ch; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 5fr 7fr; min-height: 100vh; }
.booking__aside { background: linear-gradient(var(--line), var(--line)) no-repeat right bottom / 1px calc(100% - var(--header-h) - 48px); }
.booking__aside-inner { position: sticky; top: 0; padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) var(--gutter) 48px; }
.booking__title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 120px); line-height: .9; margin: 20px 0 28px; }
.booking__intro { font-size: 17px; color: var(--ink-2); max-width: 44ch; }
.booking__notes { margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.booking__notes li { padding: 10px 0; border-top: 1px solid var(--line); }
.booking__notes a { border-bottom: 1px solid var(--line); }
.booking__image { margin-top: 36px; max-width: 320px; }
.booking__image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(.15); }
.booking__app { padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) var(--gutter) 96px; max-width: 900px; width: 100%; }
.booking__loading { display: flex; justify-content: center; padding: 80px 0; }
.spinner { width: 28px; height: 28px; border: 1px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
	.booking { grid-template-columns: 1fr; }
	.booking__aside { background: none; border-bottom: 1px solid var(--line); }
	.booking__aside-inner { position: static; padding-bottom: 40px; }
	.booking__image { display: none; }
	.booking__app { padding-top: 40px; }
}

.b-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 40px; }
.b-progress span { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.b-progress span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.b-progress span.is-done::after { transform: scaleX(1); }
.b-step { animation: step-in .7s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.b-step__num { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.b-step__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.02; margin-bottom: 32px; }
.b-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-option { text-align: left; border: 1px solid var(--line); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; transition: border-color .3s, background-color .35s var(--ease), color .35s var(--ease); min-height: 116px; }
.b-option strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; }
.b-option span { font-size: 14px; color: var(--muted); }
.b-option:hover { border-color: var(--ink); }
.b-option.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.b-option.is-selected span { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.b-option .b-badge { align-self: flex-start; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 20px; padding: 2px 8px; margin-bottom: 6px; opacity: .8; }
@media (max-width: 600px) { .b-options { grid-template-columns: 1fr; } .b-option { min-height: 0; } }

.b-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.b-back { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.b-back:hover { color: var(--ink); }
.b-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.b-chip { font-size: 12px; border: 1px solid var(--line); border-radius: 30px; padding: 5px 12px; color: var(--ink-2); }
.b-alert { margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper-2); font-size: 14px; }
.b-alert--error { border-color: #b3261e; color: #b3261e; background: transparent; }

.b-cal { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.b-cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.b-cal__month { font-family: var(--serif); font-size: 28px; }
.b-cal__arrows { display: flex; gap: 6px; }
.b-cal__arrows button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; transition: border-color .3s, opacity .3s; }
.b-cal__arrows button:hover { border-color: var(--ink); }
.b-cal__arrows button[disabled] { opacity: .25; pointer-events: none; }
.b-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.b-cal__dow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 8px; }
.b-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; border-radius: 50%; position: relative; color: var(--muted); opacity: .45; pointer-events: none; font-variant-numeric: tabular-nums; }
.b-day.is-available { color: var(--ink); opacity: 1; pointer-events: auto; }
.b-day.is-available::after { content: ""; position: absolute; bottom: 18%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }
.b-day.is-available:hover { background: var(--paper-2); }
.b-day.is-selected { background: var(--ink) !important; color: var(--paper); }
.b-day.is-today { text-decoration: underline; text-underline-offset: 4px; }
.b-slots__title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; min-height: 18px; }
.b-slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 360px; overflow: auto; }
.b-slot { border: 1px solid var(--line); padding: 12px 8px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; transition: border-color .3s, background-color .3s, color .3s; }
.b-slot small { display: block; font-size: 10px; letter-spacing: .06em; color: var(--muted); margin-top: 2px; }
.b-slot:hover { border-color: var(--ink); }
.b-slot.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.b-slot.is-selected small { color: inherit; opacity: .7; }
.b-tz { margin-top: 18px; font-size: 12px; color: var(--muted); }
.b-empty { font-size: 14px; color: var(--muted); padding: 12px 0; }
@media (max-width: 760px) { .b-cal { grid-template-columns: 1fr; } }

.b-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.b-field { display: flex; flex-direction: column; gap: 8px; }
.b-field--full { grid-column: 1 / -1; }
.b-field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.b-field label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.b-field input, .b-field select, .b-field textarea {
	font: inherit; font-size: 17px; color: var(--ink);
	background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	padding: 8px 0 10px; outline: none; transition: border-color .3s; width: 100%;
	-webkit-appearance: none; appearance: none;
}
.b-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; }
.b-field textarea { min-height: 120px; resize: vertical; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus { border-color: var(--ink); }
.b-field.is-invalid input, .b-field.is-invalid textarea { border-color: #b3261e; }
.b-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.b-consent { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .b-form { grid-template-columns: 1fr; } }

.b-done { padding-top: 12px; }
.b-done__title { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 110px); line-height: .92; margin-bottom: 24px; font-style: italic; }
.b-done p { font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.b-done dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px 20px; margin: 32px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.b-done dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.b-done dd { margin: 0; }
.b-done__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: #0b0b0a; color: #ecebe6; display: flex; flex-direction: column; opacity: 0; transition: opacity .45s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--gutter); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; z-index: 3; }
.lightbox__title { flex: 1; text-align: center; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox__count { font-variant-numeric: tabular-nums; min-width: 80px; }
.lightbox__close { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; min-width: 80px; justify-content: flex-end; }
.lightbox__stage { position: absolute; inset: 64px var(--gutter) 96px; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; opacity: 0; transform: scale(.985); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.lightbox__stage img.is-ready { opacity: 1; transform: none; }
.lightbox__nav { position: absolute; top: 64px; bottom: 96px; width: 33%; z-index: 2; display: flex; align-items: center; padding: 0 var(--gutter); font-size: 22px; opacity: 0; transition: opacity .3s; }
.lightbox__nav:hover { opacity: .9; }
.lightbox__nav--prev { left: 0; cursor: w-resize; }
.lightbox__nav--next { right: 0; justify-content: flex-end; cursor: e-resize; }
.lightbox__thumbs { position: absolute; left: 0; right: 0; bottom: 18px; height: 58px; display: flex; gap: 6px; justify-content: safe center; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; z-index: 3; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs button { flex: 0 0 auto; height: 100%; opacity: .35; transition: opacity .3s; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; }
.lightbox__thumbs img { height: 100%; width: auto; }
@media (max-width: 700px) {
	.lightbox__stage { inset: 56px 0 84px; }
	.lightbox__nav { display: none; }
	.lightbox__thumbs { height: 46px; bottom: 16px; }
}
.lb-open { overflow: hidden; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #f4f3ef; color: #121212; display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; transform: translate3d(-200px, -200px, 0) scale(0); transition: transform .12s linear, opacity .3s; mix-blend-mode: difference; opacity: 0; }
.cursor span { mix-blend-mode: normal; color: #121212; }
.cursor.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.split-word > span { transform: none; }
	.hero__slide img { transform: none !important; }
}

.lb-open .cursor { opacity: 0 !important; }
.admin-bar .lightbox { top: 32px; }
@media (max-width: 782px) { .admin-bar .lightbox { top: 46px; } }
