/* Ola Bawarshi, v2.
   Limestone page, ink text, Ola's leaf green, canopy green for dark ground.
   One family (Readex Pro). Images square-cornered, controls pill-shaped.
   One motion: pictures grow up from the ground behind a canopy-shaped edge. */

:root {
	--lime: #F5F6F1;
	--ink: #18211A;
	--leaf: #498428;
	--leaf-deep: #3A6B1F;
	--leaf-light: #A9CF8E;
	--canopy: #15301A;
	--canopy-2: #1C3B21;
	--sage: #E3EADB;
	--paper: #FFFFFF;
	--mute: rgba(24, 33, 26, .66);
	--line: rgba(24, 33, 26, .14);
	--on-dark: #F2F4EE;
	--on-dark-mute: rgba(242, 244, 238, .74);
	--line-dark: rgba(242, 244, 238, .2);

	--font: "Readex Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--pad: clamp(20px, 4.4vw, 64px);
	--max: 1440px;
	--header-h: 76px;
	--section: clamp(76px, 10vw, 144px);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-grow: cubic-bezier(.65, 0, .35, 1);

	/* The ground line: transparent above, a soft canopy edge, opaque below. */
	--grow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 300' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeGaussianBlur stdDeviation='1.6'/%3E%3C/filter%3E%3Cpath filter='url(%23b)' d='M-4 304V124c5-9 15-12 21-8s9 7 15 1 11-12 18-6 9 9 16 3 10-11 17-6 10 8 21 2V304z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--lime);
	color: var(--ink);
	font: 400 17px/1.8 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
[data-dark] :focus-visible, .menu :focus-visible, .lightbox :focus-visible { outline-color: var(--leaf-light); }

.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--lime); border-radius: 999px; transform: translateY(-160%); transition: transform .2s; text-decoration: none; }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* Type */
.h1 { font-weight: 300; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.1; text-wrap: balance; }
.h2 { font-weight: 300; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.12; text-wrap: balance; }
.h3 { font-weight: 500; font-size: clamp(21px, 1.6vw, 25px); line-height: 1.35; }

.link {
	color: inherit; font-weight: 500;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
	text-decoration-color: var(--leaf);
	transition: color .25s, text-decoration-color .25s;
}
.link:hover { color: var(--leaf); }
.link--light { text-decoration-color: var(--leaf-light); }
.link--light:hover { color: var(--leaf-light); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border: 1px solid transparent; border-radius: 999px;
	font: 500 16px/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: var(--leaf-deep); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--lime); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }

/* ---------- The grow reveal ---------- */
.js-ready [data-grow]:not(.is-done),
.js-ready .is-entering {
	-webkit-mask-image: var(--grow); mask-image: var(--grow);
	-webkit-mask-size: 100% 300%; mask-size: 100% 300%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: 0 0; mask-position: 0 0;
}
.js-ready [data-grow].is-grown:not(.is-done),
.js-ready .is-entering.is-grown {
	-webkit-mask-position: 0 100%; mask-position: 0 100%;
	transition: -webkit-mask-position 1.5s var(--ease-grow), mask-position 1.5s var(--ease-grow);
}

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; inset-inline: 0; z-index: 50;
	height: var(--header-h);
	display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
	padding-inline: var(--pad);
	color: var(--ink);
	transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease);
}
.site-header.is-over { color: #fff; }
.site-header.is-solid { background: rgba(245, 246, 241, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-open { color: #fff !important; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none !important; }

.brand { display: grid; text-decoration: none; line-height: 1.2; }
.brand__name { font-size: 20px; font-weight: 500; }
.brand__role { font-size: 13px; opacity: .78; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-inline-start: auto; }
.nav a { position: relative; padding-block: 6px; font-size: 16px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 46px; height: 46px; margin-inline-start: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle__bars { position: relative; display: block; width: 24px; height: 12px; margin: auto; }
.menu-toggle__bars i { position: absolute; inset-inline: 0; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 5px; transform: rotate(-45deg); }

.menu {
	position: fixed; inset: 0; z-index: 45;
	display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + 28px) var(--pad) calc(28px + env(safe-area-inset-bottom));
	background: var(--canopy); color: var(--on-dark);
	overflow-y: auto;
}
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { font-size: clamp(34px, 9vw, 48px); font-weight: 300; line-height: 1.35; text-decoration: none; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; }

.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 46px)); }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--canopy); color: #fff; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { visibility: hidden; }
.hero__slide.is-current { visibility: visible; z-index: 2; }
.hero__slide.is-leaving { visibility: visible; z-index: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-current .hero__img { animation: settle 9s var(--ease) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }

.hero__shade {
	position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(10, 22, 12, .5) 0%, rgba(10, 22, 12, 0) 24%),
		linear-gradient(to top, rgba(10, 22, 12, .82) 0%, rgba(10, 22, 12, .42) 36%, rgba(10, 22, 12, 0) 64%),
		linear-gradient(to left, rgba(10, 22, 12, .42) 0%, rgba(10, 22, 12, 0) 58%);
}
.hero__inner {
	position: relative; z-index: 4; height: 100%;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px;
	padding-top: var(--header-h); padding-bottom: clamp(32px, 7vh, 72px);
}
.hero__copy { max-width: 780px; }
.hero__title { font-weight: 300; font-size: clamp(46px, 7.2vw, 116px); line-height: 1.04; margin-bottom: 22px; }
.hero__lede { max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; color: rgba(255, 255, 255, .88); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__now { width: min(300px, 32vw); text-align: left; }
.hero__captions { position: relative; height: 58px; }
.hero__caption { position: absolute; inset: 0; display: grid; align-content: end; gap: 2px; text-decoration: none; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.hero__caption.is-current { opacity: 1; transform: none; pointer-events: auto; }
.hero__project { font-size: 18px; font-weight: 500; line-height: 1.3; }
.hero__place { font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.hero__caption:hover .hero__project { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hero__steps { display: flex; gap: 6px; margin-top: 14px; direction: rtl; }
.hero__step { flex: 1; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero__step i { position: relative; display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .34); overflow: hidden; border-radius: 2px; }
.hero__step i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; }
.hero__step.is-seen i::after { transform: scaleX(1); }
.hero__step.is-current i::after { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__step.is-current i::after { animation-play-state: paused; }
.hero.is-still .hero__step.is-current i::after { animation: none; transform: scaleX(1); }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- In short ---------- */
.proof { border-bottom: 1px solid var(--line); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: clamp(34px, 4vw, 52px); }
.proof p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.7; }
.proof strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.45; }

/* ---------- Work ---------- */
.work { padding-block: clamp(64px, 8vw, 112px) var(--section); }
.work__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 48px; margin-bottom: clamp(34px, 4vw, 56px); }
.work__head .h2, .work__head .h1 { grid-column: 1; }
.work__intro { grid-column: 1; margin: 0; color: var(--mute); font-size: 18px; max-width: 38em; }
.work__head .chips { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; padding: 0 18px;
	border: 1px solid var(--line); border-radius: 999px; background: transparent;
	font-size: 15.5px; cursor: pointer; white-space: nowrap;
	transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.chip__n { font-size: 13px; opacity: .62; }

.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 60px) clamp(16px, 2vw, 28px); }
.tile { grid-column: span 6; }
.tile:not([data-w]):nth-child(7n+1), .tile[data-w="12"] { grid-column: span 12; }
.tile:not([data-w]):nth-child(7n+2), .tile:not([data-w]):nth-child(7n+5), .tile[data-w="7"] { grid-column: span 7; }
.tile:not([data-w]):nth-child(7n+3), .tile:not([data-w]):nth-child(7n+4), .tile[data-w="5"] { grid-column: span 5; }
.tile.is-in { animation: tile-in .6s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; } to { opacity: 1; } }

.tile__link { display: block; text-decoration: none; }
.tile__media { display: block; overflow: hidden; background: var(--sage); aspect-ratio: 3 / 2; }
.tile:not([data-w]):nth-child(7n+1) .tile__media, .tile[data-w="12"] .tile__media { aspect-ratio: 21 / 9; }
.tile:not([data-w]):nth-child(7n+2) .tile__media, .tile:not([data-w]):nth-child(7n+5) .tile__media, .tile[data-w="7"] .tile__media { aspect-ratio: 4 / 3; }
.tile:not([data-w]):nth-child(7n+3) .tile__media, .tile:not([data-w]):nth-child(7n+4) .tile__media, .tile[data-w="5"] .tile__media { aspect-ratio: 20 / 21; }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile__link:hover .tile__img { transform: scale(1.035); }
.tile__text { display: grid; gap: 2px; margin-top: 16px; }
.tile__title { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.3; }
.tile__link:hover .tile__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: var(--leaf); }
.tile__meta { color: var(--mute); font-size: 15.5px; }
.tile__spec { color: var(--leaf); font-size: 15px; font-weight: 500; }

/* ---------- What you receive ---------- */
.deliver { background: var(--sage); padding-block: var(--section); }
.deliver__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 48px); align-items: start; }
.deliver__text { grid-column: 1 / span 5; }
.deliver__intro { margin: 18px 0 30px; color: var(--mute); font-size: 18px; }
.deliver__list { display: grid; }
.deliver__item {
	display: grid; gap: 4px; width: 100%;
	padding: 18px 0 20px; border: 0; border-top: 1px solid var(--line); background: none;
	text-align: start; cursor: pointer;
	transition: border-color .3s;
}
.deliver__name { font-size: 20px; font-weight: 500; transition: color .3s; }
.deliver__desc { color: var(--mute); font-size: 15.5px; line-height: 1.7; }
.deliver__item:hover .deliver__name { color: var(--leaf); }
.deliver__item[aria-pressed="true"] { border-top: 2px solid var(--ink); padding-top: 17px; }
.deliver__item[aria-pressed="true"] .deliver__name { color: var(--leaf); }
.deliver__note { margin: 6px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15.5px; }
.deliver__stage { grid-column: 6 / span 7; position: relative; aspect-ratio: 5 / 4; background: var(--paper); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.deliver__view { position: absolute; inset: 0; visibility: hidden; }
.deliver__view.is-current { visibility: visible; z-index: 2; }
.deliver__view.is-leaving { visibility: visible; z-index: 1; }
.deliver__view img { width: 100%; height: 100%; }
.deliver__view--plan img { object-fit: contain; padding: 4%; }
.deliver__view--render img { object-fit: cover; }

/* ---------- Who it is for ---------- */
.services { padding-block: var(--section); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(20px, 2.4vw, 36px); margin-top: clamp(34px, 4vw, 56px); }
.service__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); margin-bottom: 22px; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__title { font-size: clamp(21px, 1.6vw, 25px); font-weight: 500; line-height: 1.35; margin-bottom: 10px; }
.service p { color: var(--mute); font-size: 16px; }
.service .service__eg { margin: 0; color: var(--ink); font-size: 15.5px; }
.service__eg a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--leaf); }
.service__eg a:hover { color: var(--leaf); }
.services__also { margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 18px; max-width: 46em; }

/* ---------- Process ---------- */
.process { padding-block: 0 var(--section); }
.process .wrap { padding-top: var(--section); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 2.4vw, 36px); margin-top: clamp(34px, 4vw, 56px); }
.step__n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border: 1px solid var(--leaf); border-radius: 50%; color: var(--leaf); font-size: 15px; font-weight: 500; }
.step h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.step p { margin: 0; color: var(--mute); font-size: 16px; }

/* ---------- About ---------- */
.about { padding-block: var(--section); background: var(--paper); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 48px); align-items: start; }
.about__portrait { grid-column: 1 / span 4; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about__text { grid-column: 6 / span 7; }
.about__lead { margin: 22px 0 18px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.6; }
.about__text > p:not(.about__lead) { color: var(--mute); max-width: 40em; }
.creds { margin-top: 30px; border-top: 1px solid var(--line); }
.creds li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

.media { margin-top: clamp(72px, 9vw, 120px); }
.media__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px clamp(20px, 3vw, 48px); align-items: baseline; margin-bottom: 30px; }
.media__title { grid-column: 1 / span 4; font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; }
.media__head p { grid-column: 6 / span 7; margin: 0; color: var(--mute); font-size: 17px; }
.media__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.media__row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--sage); }
.media__row figcaption { margin-top: 10px; color: var(--mute); font-size: 14.5px; line-height: 1.6; }
.media__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.media__links a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; text-decoration: none; direction: ltr; transition: border-color .25s, background-color .25s, color .25s; }
.media__links a:hover { background: var(--ink); border-color: var(--ink); color: var(--lime); }

/* ---------- Questions ---------- */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); }
.faq .h2 { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / span 7; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--leaf); }
.faq details p { margin: 0 0 24px; color: var(--mute); max-width: 40em; }

/* ---------- Start a project ---------- */
.start { background: var(--canopy); color: var(--on-dark); padding-block: var(--section); }
.start__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 48px); align-items: start; }
.start__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
.start__intro > p { margin-top: 18px; color: var(--on-dark-mute); font-size: 18px; }
.start__direct a { color: var(--on-dark); text-decoration-color: var(--leaf-light); text-underline-offset: 6px; }
.brief { grid-column: 6 / span 7; display: grid; gap: 30px; }
.brief__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.brief__q legend { padding: 0; margin-bottom: 12px; font-size: 18px; font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 15.5px; transition: background-color .25s, color .25s, border-color .25s; }
.opt:hover span { border-color: var(--on-dark-mute); }
.opt input:checked + span { background: var(--on-dark); border-color: var(--on-dark); color: var(--canopy); }
.opt input:focus-visible + span { outline: 2px solid var(--leaf-light); outline-offset: 2px; }
.field { display: grid; gap: 10px; }
.field__label { font-size: 18px; font-weight: 500; }
.field__label em { font-style: normal; font-weight: 400; font-size: 15px; color: var(--on-dark-mute); }
.field input, .field textarea {
	width: 100%; padding: 14px 16px;
	border: 1px solid var(--line-dark); border-radius: 16px;
	background: rgba(255, 255, 255, .05); color: var(--on-dark);
	font: 400 16px/1.6 var(--font);
	transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 244, 238, .46); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf-light); box-shadow: 0 0 0 3px rgba(169, 207, 142, .22); }
.brief__preview { padding: 16px 18px; border: 1px dashed var(--line-dark); border-radius: 16px; }
.brief__preview-label { display: block; margin-bottom: 6px; color: var(--on-dark-mute); font-size: 14px; }
.brief__preview p { margin: 0; white-space: pre-line; font-size: 15.5px; line-height: 1.75; }
.brief__error { margin: 0; color: #F2D48E; font-size: 15.5px; }
.brief__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canopy); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); padding-block: clamp(56px, 7vw, 96px); }
.footer__brand { grid-column: 1 / span 6; }
.footer__name { margin: 0 0 8px; font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.2; }
.footer__role { margin: 0; max-width: 26em; color: var(--on-dark-mute); }
.footer__col { grid-column: span 3; display: grid; align-content: start; gap: 6px; }
.footer__label { margin-bottom: 8px; color: var(--on-dark-mute); font-size: 14px; font-weight: 500; }
.footer__col a { text-decoration: none; width: fit-content; }
.footer__col a:hover { color: var(--leaf-light); }
.footer__social { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 28px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line-dark); color: var(--on-dark-mute); font-size: 14px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--on-dark); }

.wa-float {
	position: fixed; z-index: 40; bottom: calc(20px + env(safe-area-inset-bottom)); inset-inline-end: 20px;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--leaf); color: #fff; box-shadow: 0 14px 30px -12px rgba(16, 34, 18, .6);
	transition: opacity .4s, transform .45s var(--ease), background-color .3s, visibility 0s;
}
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.wa-float:hover { background: var(--leaf-deep); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.88); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }

/* ---------- Project page ---------- */
.p-hero { position: relative; height: 88vh; height: 88svh; min-height: 520px; max-height: 980px; overflow: hidden; background: var(--canopy); color: #fff; }
.p-hero__media, .p-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero__media img { animation: settle 9s var(--ease) both; }
.p-hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 22, 12, .5) 0%, rgba(10, 22, 12, 0) 26%), linear-gradient(to top, rgba(10, 22, 12, .8) 0%, rgba(10, 22, 12, .3) 40%, rgba(10, 22, 12, 0) 66%); }
.p-hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 18px); padding-bottom: clamp(32px, 7vh, 72px); }
.p-back { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-bottom: auto; color: rgba(255, 255, 255, .88); font-size: 15px; text-decoration: none; }
.p-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.p-title { font-weight: 300; font-size: clamp(40px, 6.2vw, 100px); line-height: 1.06; text-wrap: balance; }
.p-place { margin: 12px 0 0; font-size: 18px; color: rgba(255, 255, 255, .86); }

.p-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 48px); padding-block: clamp(56px, 7vw, 104px); align-items: start; }
.p-main { grid-column: 1 / span 8; }
.p-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 28px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.p-facts dt { color: var(--mute); font-size: 14px; }
.p-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; line-height: 1.5; }
.p-text { margin-top: 40px; max-width: 40em; font-size: 18px; line-height: 1.9; }
.p-ask { grid-column: 10 / span 3; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; justify-items: start; padding: 28px; background: var(--sage); }
.p-ask p { margin: 0; color: var(--mute); font-size: 15.5px; }
.p-ask .p-ask__title { color: var(--ink); font-size: 22px; font-weight: 500; line-height: 1.35; }

.p-plans, .p-gallery { padding-bottom: clamp(56px, 7vw, 96px); }
.p-plans .h3, .p-gallery .h3 { margin-bottom: 22px; }
.p-plans__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.p-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.p-gallery__grid > :nth-child(3n+1) { grid-column: 1 / -1; }
.lb-link { position: relative; display: block; overflow: hidden; background: var(--sage); cursor: zoom-in; }
.lb-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-gallery__grid > :nth-child(3n+1) img { aspect-ratio: 16 / 9; }
.lb-link.is-plan { background: var(--paper); padding: 3%; }
.lb-link.is-plan img { aspect-ratio: auto; height: auto; object-fit: contain; }
.lb-link:hover img { transform: scale(1.025); }
.lb-link__hint { position: absolute; bottom: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(245, 246, 241, .92); color: var(--ink); opacity: 0; transition: opacity .3s; }
.lb-link__hint .icon { width: 18px; height: 18px; }
.lb-link:hover .lb-link__hint, .lb-link:focus-visible .lb-link__hint { opacity: 1; }

.p-next { position: relative; display: block; height: clamp(340px, 56vh, 560px); overflow: hidden; background: var(--canopy); color: #fff; text-decoration: none; }
.p-next__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform 1.4s var(--ease), opacity .6s; }
.p-next:hover .p-next__media img { transform: scale(1.04); opacity: .82; }
.p-next__inner { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 4px; padding-bottom: clamp(32px, 6vh, 60px); max-width: var(--max); margin-inline: auto; }
.p-next__label { font-size: 15px; color: rgba(255, 255, 255, .85); }
.p-next__title { font-size: clamp(34px, 4.6vw, 68px); font-weight: 300; line-height: 1.12; }
.p-next__place { font-size: 16px; color: rgba(255, 255, 255, .85); }

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px; background: rgba(8, 18, 10, .96); color: #fff; }
.lightbox__figure { grid-column: 2; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100svh - 120px); width: auto; object-fit: contain; }
.lightbox__count { font-size: 14px; color: rgba(255, 255, 255, .75); direction: ltr; }
.lightbox__close, .lightbox__nav { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background-color .25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .16); }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 18px; }
.lightbox .icon { width: 22px; height: 22px; }
.lightbox__prev { grid-column: 1; grid-row: 1; }
.lightbox__next { grid-column: 3; grid-row: 1; }
.has-lightbox { overflow: hidden; }

/* ---------- Archive and plain pages ---------- */
.page-top { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); }
.work--archive { padding-top: 0; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: var(--section); padding-top: 40px; border-top: 1px solid var(--line); }
.cta-band__title { margin: 0; font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; }
.prose { max-width: 820px; padding-bottom: var(--section); }
.prose .h1 { margin-bottom: 24px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav { gap: 18px; }
	.nav a { font-size: 15px; }
	.p-ask { grid-column: 9 / span 4; }
	.p-main { grid-column: 1 / span 8; }
}

@media (max-width: 900px) {
	:root { --header-h: 66px; }
	.nav, .header-cta { display: none; }
	.menu-toggle { display: grid; }
	.brand__name { font-size: 18px; }
	.brand__role { font-size: 12px; }

	.hero { min-height: 560px; }
	.hero__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
	.hero__title { font-size: clamp(42px, 11.5vw, 72px); margin-bottom: 14px; }
	.hero__lede { font-size: 15.5px; margin-bottom: 22px; }
	.hero__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 16px; }
	.hero__now { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
	.hero__captions { flex: 1; height: 50px; text-align: right; }
	.hero__project { font-size: 16px; }
	.hero__place { font-size: 13.5px; }
	.hero__steps { width: 42%; margin-top: 0; }
	.hero__shade { background: linear-gradient(to bottom, rgba(10, 22, 12, .5) 0%, rgba(10, 22, 12, 0) 22%), linear-gradient(to top, rgba(10, 22, 12, .9) 0%, rgba(10, 22, 12, .55) 45%, rgba(10, 22, 12, .1) 72%); }

	.proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }

	.work__head { grid-template-columns: minmax(0, 1fr); }
	.work__head .chips { grid-column: 1; grid-row: auto; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
	.work__head .chips::-webkit-scrollbar { display: none; }
	.work__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.work__grid .tile, .work__grid .tile[data-w] { grid-column: 1 / -1; }
	.work__grid .tile .tile__media, .work__grid .tile[data-w] .tile__media { aspect-ratio: 4 / 3; }

	.deliver__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.deliver__text, .deliver__stage { grid-column: 1; }
	.deliver__stage { position: relative; top: auto; order: -1; aspect-ratio: 1 / 1; }
	.deliver__grid { display: flex; flex-direction: column; align-items: stretch; }
	.deliver__text { display: contents; }
	.deliver__text .h2 { order: -3; }
	.deliver__intro { order: -2; margin: 0; }
	.deliver__list, .deliver__note, .deliver__text .link { order: 1; }
	.deliver__note { margin-top: 0; }

	.services__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.service__img { aspect-ratio: 4 / 3; }

	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.about__grid, .media__head, .faq__grid, .start__grid, .p-intro, .footer__grid { grid-template-columns: minmax(0, 1fr); }
	.about__portrait { grid-column: 1; width: min(100%, 420px); }
	.about__text, .media__title, .media__head p, .faq .h2, .faq__list, .start__intro, .brief, .p-main, .p-ask, .footer__brand, .footer__col { grid-column: 1; }
	.media__row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.start__intro, .p-ask { position: static; }
	.p-ask { padding: 24px; }
	.p-plans__grid { grid-template-columns: minmax(0, 1fr); }
	.footer__bottom { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

	.lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 16px 12px calc(20px + env(safe-area-inset-bottom)); }
	.lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
	.lightbox__figure img { max-height: calc(100svh - 170px); }
	.lightbox__prev { grid-column: 1; grid-row: 2; justify-self: end; }
	.lightbox__next { grid-column: 2; grid-row: 2; justify-self: start; }
}

@media (max-width: 560px) {
	.proof__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 8px; }
	.proof p { padding-block: 18px; border-bottom: 1px solid var(--line); }
	.proof p:last-child { border-bottom: 0; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.p-gallery__grid { grid-template-columns: minmax(0, 1fr); }
	.brief__actions .btn { width: 100%; }
}

@media (hover: none) {
	.lb-link__hint { opacity: 1; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js-ready [data-grow], .js-ready .is-entering { -webkit-mask-image: none !important; mask-image: none !important; }
}

/* ==================== The drawing becomes the garden ==================== */

/* ---------- Opening: drafting paper and the plan, then the garden grows over them ---------- */
.hero { transition: color .28s var(--ease) .62s; }
.hero__lede { transition: color .28s var(--ease) .62s; }
.hero__paper { display: none; }
.js .hero--intro:not(.is-done):not(.is-skip) .hero__paper {
	display: block; position: absolute; inset: 0; z-index: 0;
	background-color: #F1F2E9;
	background-image:
		linear-gradient(rgba(24, 33, 26, .075) 1px, transparent 1px),
		linear-gradient(90deg, rgba(24, 33, 26, .075) 1px, transparent 1px),
		linear-gradient(rgba(24, 33, 26, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(24, 33, 26, .035) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: 50% 0;
}
.hero__sheet {
	position: absolute; top: 50%; inset-inline-end: clamp(28px, 8vw, 132px);
	width: min(33vw, 60vh); padding: clamp(10px, 1.1vw, 16px);
	background: #fff; box-shadow: 0 1px 0 rgba(24, 33, 26, .1), 0 34px 60px -34px rgba(24, 33, 26, .38);
	transform: translateY(-50%) rotate(-2.5deg);
	animation: sheet-in .8s var(--ease) both;
}
.hero__sheet img { width: 100%; height: auto; animation: plot 1.2s .2s var(--ease-grow) both; }
.hero__sheet-note { display: block; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; line-height: 1.5; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-46%) rotate(-.5deg); } }
@keyframes plot { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

.js .hero--intro:not(.is-live) { color: var(--ink); }
.js .hero--intro:not(.is-live) .hero__lede { color: var(--mute); }
.js .hero--intro:not(.is-live) .btn--ghost-light { border-color: rgba(24, 33, 26, .38); color: var(--ink); background: none; }
.js .hero--intro .hero__now { transition: opacity .8s var(--ease) 1.5s; }
.js .hero--intro:not(.is-live) .hero__now { opacity: 0; pointer-events: none; transition: none; }
.js .hero--intro:not(.is-live) .hero__step i::after { animation: none; }
.js .hero--intro:not(.is-live) .hero__img { animation-play-state: paused; }
.js body:has(.hero--intro:not(.is-live)) .site-header.is-over { color: var(--ink); }
.js body:has(.hero--intro.is-live:not(.is-done)) .site-header { transition: background-color .35s, color .3s var(--ease) .95s, box-shadow .35s, transform .45s var(--ease); }

.js .hero--intro:not(.is-done):not(.is-skip) .hero__slides,
.js .hero--intro:not(.is-done):not(.is-skip) .hero__shade {
	-webkit-mask-image: var(--grow); mask-image: var(--grow);
	-webkit-mask-size: 100% 300%; mask-size: 100% 300%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: 0 0; mask-position: 0 0;
}
.js .hero--intro.is-live:not(.is-done):not(.is-skip) .hero__slides,
.js .hero--intro.is-live:not(.is-done):not(.is-skip) .hero__shade {
	-webkit-mask-position: 0 100%; mask-position: 0 100%;
	transition: -webkit-mask-position 2.1s var(--ease-grow), mask-position 2.1s var(--ease-grow);
}

/* The headline rises line by line. */
.hero__title .ln { display: block; overflow: hidden; padding-block: .16em; margin-block: -.16em; }
.js .hero__title .ln > span { display: block; animation: rise .95s var(--ease) both; }
.js .hero__title .ln + .ln > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(112%); } }

/* ---------- What you receive: the stage stays, the steps scroll past it ---------- */
.deliver {
	background-image: linear-gradient(rgba(24, 33, 26, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 33, 26, .045) 1px, transparent 1px);
	background-size: 24px 24px;
}
.deliver__stage { max-height: calc(100vh - var(--header-h) - 48px); box-shadow: 0 34px 60px -40px rgba(24, 33, 26, .4); }
.deliver__list { counter-reset: stage; }
.js .deliver__item { min-height: 62vh; align-content: center; padding: 0; border: 0; opacity: .3; transition: opacity .5s var(--ease); }
.js .deliver__item[aria-pressed="true"] { border: 0; padding: 0; opacity: 1; }
.js .deliver__item::before {
	counter-increment: stage; content: counter(stage, arabic-indic);
	font-size: clamp(64px, 7vw, 116px); font-weight: 200; line-height: 1; color: var(--leaf); margin-bottom: 10px;
}
.js .deliver__name { font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; line-height: 1.3; }
.js .deliver__item[aria-pressed="true"] .deliver__name { color: var(--ink); }
.js .deliver__desc { max-width: 26em; font-size: 17.5px; }

/* ---------- About: the portrait under an arch, the lead read word by word ---------- */
.about__portrait { border-radius: 999px 999px 0 0; }
.about__lead .w { opacity: .2; transition: opacity .4s linear; }
.about__lead .w.is-on { opacity: 1; }

/* ---------- A label that follows the pointer over a project ---------- */
.cursor-tag {
	position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
	padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; white-space: nowrap;
	opacity: 0; translate: var(--x, 0) var(--y, 0); scale: .5; transform-origin: 0 0;
	transition: opacity .25s, scale .3s var(--ease);
}
.cursor-tag.is-on { opacity: 1; scale: 1; }

@media (max-width: 900px) {
	/* On a phone the sheet lies under the buttons, where the garden starts to grow. */
	.hero__sheet { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 50%; width: clamp(96px, calc((100svh - 446px) * .41 + 20px), 46vw); padding: 8px; transform: translateX(-50%) rotate(-2.5deg); }
	.hero__sheet-note { display: none; }
	@keyframes sheet-in { from { opacity: 0; transform: translateX(-50%) translateY(14px) rotate(-.5deg); } }
	.deliver__stage { position: sticky; top: 0; z-index: 3; aspect-ratio: 4 / 3; max-height: none; }
	.js .deliver__item { min-height: 52vh; min-height: 52svh; }
	.js .deliver__item::before { font-size: 60px; }
	.deliver__note { margin-top: 0; }
}
@media (max-width: 900px) and (max-height: 619px) {
	.hero__sheet { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__sheet, .hero__sheet img, .js .hero__title .ln > span { animation: none; }
	.js .deliver__item { opacity: 1; }
	.about__lead .w { opacity: 1; }
}
