:root {
	--ink: #0b0b09;
	--paper: #f2f0ea;
	--green: #868b2f;
	--line-light: rgba(242, 240, 234, .36);
	--line-dark: rgba(11, 11, 9, .18);
	--serif: "Bodoni Moda", "Times New Roman", serif;
	--sans: "Manrope", Arial, sans-serif;
	--shell: clamp(20px, 3vw, 52px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-canvas { overflow: clip; }
.shell { padding-left: var(--shell); padding-right: var(--shell); }
.meta {
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-header {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	color: var(--paper);
}
.site-header--dark { position: relative; color: var(--ink); background: var(--paper); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 25px var(--shell);
}
.site-brand { display: inline-flex; width: clamp(138px, 13vw, 242px); }
.site-brand__logo { width: 100%; height: auto; }
.primary-nav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 40px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; border: 0; padding: 0; background: transparent; color: inherit; align-items: center; gap: 12px; cursor: pointer; font: inherit; }
.menu-toggle__label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle__lines { display: grid; gap: 5px; width: 22px; }
.menu-toggle__lines i { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .35s ease; }

.hero {
	position: relative;
	isolation: isolate;
	min-height: 100svh;
	background: var(--ink);
	color: var(--paper);
}
.hero__media { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: #131310; }
.hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--hero-image, none);
	background-position: center;
	background-size: cover;
	filter: saturate(.72) contrast(1.04);
	transform: scale(1.02);
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, rgba(8,8,7,.5) 0%, rgba(8,8,7,.15) 48%, rgba(8,8,7,.6) 100%);
	mix-blend-mode: multiply;
}
.hero__fallback-shape { position: absolute; opacity: 1; transition: opacity .3s ease; }
.hero__fallback-shape--one { width: min(60vw, 980px); aspect-ratio: 1; border-radius: 50%; top: -37%; right: -11%; background: var(--green); filter: blur(1px); }
.hero__fallback-shape--two { width: min(44vw, 640px); aspect-ratio: 1 / 1.35; border: 1px solid rgba(242, 240, 234, .35); border-radius: 50% 50% 0 0; left: 8%; bottom: -32%; }
.hero[style] .hero__fallback-shape { opacity: 0; }
.hero__mark {
	position: absolute;
	width: min(46vw, 800px);
	left: 23%;
	top: 12%;
	filter: invert(1);
	opacity: .92;
	transform: translate3d(0,0,0) rotate(-4deg);
	transform-origin: 50% 50%;
	mix-blend-mode: screen;
	will-change: transform;
	animation: selatoFloatMark 14s ease-in-out infinite;
}
.hero[style] .hero__mark { opacity: .42; }
@keyframes selatoFloatMark {
	0% { transform: translate3d(0, 0, 0) rotate(-4deg) scale(1); }
	25% { transform: translate3d(10px, -10px, 0) rotate(-3.4deg) scale(1.012); }
	50% { transform: translate3d(-8px, 9px, 0) rotate(-4.8deg) scale(0.995); }
	75% { transform: translate3d(7px, 12px, 0) rotate(-3.8deg) scale(1.008); }
	100% { transform: translate3d(0, 0, 0) rotate(-4deg) scale(1); }
}
.hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, transparent 32%, rgba(0,0,0,.38) 100%); }
.hero__content { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: 108px; padding-bottom: 32px; }
.hero__topline, .hero__bottom { display: flex; justify-content: space-between; gap: 30px; }
.hero__bottom { align-items: end; }
.hero__title-wrap { max-width: 850px; }
.hero__eyebrow { margin-bottom: 16px; }
.hero__title { margin: 0; font-family: var(--serif); font-size: clamp(52px, 7.2vw, 132px); font-weight: 500; line-height: .87; letter-spacing: -.065em; max-width: 10ch; }
.hero__side-note { display: grid; justify-items: end; gap: 36px; padding-bottom: 7px; }
.hero__scroll { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; font-size: 20px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.hero__scroll:hover { background: var(--paper); color: var(--ink); transform: translateY(4px); }

.work { background: var(--ink); color: var(--paper); padding: clamp(85px, 11vw, 180px) 0 clamp(90px, 10vw, 150px); }
.section-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-light); }
.project-list { }
.project-line { border-bottom: 1px solid var(--line-light); }
.project-line a { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto 40px; align-items: baseline; gap: 20px; padding: clamp(21px, 3vw, 42px) 0; transition: color .3s ease; }
.project-line h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4.3vw, 75px); font-weight: 500; letter-spacing: -.055em; line-height: .94; }
.project-line__type { justify-self: end; white-space: nowrap; }
.project-line__arrow { font-size: 20px; text-align: right; transition: transform .3s ease; }
.project-line:hover a { color: #bfc47b; }
.project-line:hover .project-line__arrow { transform: translate(5px, -5px); }

.studio { padding: clamp(100px, 14vw, 210px) 0; background: var(--paper); }
.studio__grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 7vw; }
.studio__copy { max-width: 740px; }
.studio__copy p { margin: -12px 0 42px; font-family: var(--serif); font-size: clamp(40px, 5vw, 88px); line-height: .95; letter-spacing: -.06em; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.text-link span { font-size: 17px; transition: transform .3s ease; }
.text-link:hover span { transform: translate(4px, -4px); }

.contact { padding: clamp(95px, 12vw, 180px) 0 clamp(70px, 9vw, 130px); background: var(--green); color: var(--ink); }
.contact__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 7vw; }
.contact h2 { grid-column: 2; margin: -11px 0 48px; font-family: var(--serif); font-size: clamp(56px, 8vw, 148px); font-weight: 500; letter-spacing: -.07em; line-height: .84; }
.contact h2 em { font-weight: 400; }
.contact__email { grid-column: 2; display: inline-flex; justify-content: space-between; align-items: center; width: min(100%, 600px); padding-bottom: 10px; border-bottom: 1px solid rgba(11,11,9,.45); font-size: clamp(16px, 1.5vw, 25px); font-weight: 600; letter-spacing: -.035em; }
.contact__email span { font-size: 22px; }

.site-footer { background: var(--ink); color: var(--paper); }
.site-footer__inner { display: flex; justify-content: space-between; padding: 20px var(--shell); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: #bfc47b; }

.inner-page, .project-single { min-height: 70vh; padding-top: clamp(92px, 14vw, 190px); padding-bottom: clamp(80px, 12vw, 150px); }
.inner-page h1, .project-single h1 { margin: 20px 0 40px; font-family: var(--serif); font-size: clamp(60px, 9vw, 150px); font-weight: 500; letter-spacing: -.07em; line-height: .86; max-width: 10ch; }
.entry-content { max-width: 720px; font-size: 18px; line-height: 1.6; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content a { text-decoration: underline; text-underline-offset: .15em; }
.project-single__image { margin: 0 0 55px; }
.project-single__image img { width: 100%; }
.archive-work { min-height: 80vh; }
.post-card { padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.post-card h1 { font-size: clamp(34px, 4vw, 62px); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero__mark, .hero__scroll, .project-line__arrow, .text-link span {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 760px) {
	.site-header__inner { padding-top: 20px; padding-bottom: 20px; }
	.site-brand { width: 142px; }
	.menu-toggle { position: relative; z-index: 12; display: flex; }
	.primary-nav { position: fixed; z-index: 11; inset: 0; display: grid; place-items: center; padding: 90px 25px 35px; color: var(--ink); background: var(--paper); transform: translateY(-100%); transition: transform .42s cubic-bezier(.76,0,.24,1); }
	.primary-nav.is-open { transform: translateY(0); }
	.primary-nav__list { flex-direction: column; gap: 28px; text-align: center; }
	.primary-nav a { font-family: var(--serif); font-size: 48px; font-weight: 500; letter-spacing: -.06em; text-transform: none; }
	.menu-toggle.is-open .menu-toggle__lines i:first-child { transform: translateY(3px) rotate(45deg); }
	.menu-toggle.is-open .menu-toggle__lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
	.site-header--light.menu-is-open { color: var(--ink); }
	.hero__content { padding-top: 95px; padding-bottom: 25px; }
	.hero__topline { display: none; }
	.hero__bottom { display: block; }
	.hero__title { font-size: clamp(48px, 15vw, 82px); max-width: 8.8ch; }
	.hero__side-note { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding: 0; }
	.hero__mark { width: 82vw; left: 9%; top: 23%; animation-duration: 16s; }
	.hero__fallback-shape--one { width: 92vw; right: -37%; top: -9%; }
	.hero__fallback-shape--two { width: 75vw; left: -24%; bottom: -16%; }
	.section-head { padding-bottom: 18px; }
	.project-line a { grid-template-columns: 36px minmax(0, 1fr) 22px; gap: 12px; padding: 25px 0; }
	.project-line__type { display: none; }
	.project-line h2 { font-size: clamp(35px, 10vw, 53px); }
	.studio__grid, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
	.studio__copy p { margin-top: -4px; font-size: clamp(46px, 13vw, 62px); }
	.contact h2, .contact__email { grid-column: 1; }
	.contact h2 { margin: -5px 0 40px; font-size: clamp(66px, 17vw, 96px); }
	.contact__email { font-size: 16px; }
	.site-footer__inner { gap: 20px; flex-wrap: wrap; }
	.inner-page h1, .project-single h1 { font-size: clamp(55px, 15vw, 90px); }
}
