/* ==========================================================
   Atoosa Design — main stylesheet
   ========================================================== */
:root {
	--bg: #0e0f11;
	--bg-2: #15171a;
	--line: rgba(236, 233, 226, .12);
	--text: #ece9e2;
	--muted: #9a978f;
	--accent: #c4a882;
	--font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(16px, 4vw, 56px);
	--max: 1360px;
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--bg); }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -100px; z-index: 999; background: var(--text); color: var(--bg); padding: 8px 14px; }
.skip-link:focus { top: 8px; }
html, body { overflow-x: clip; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow a:hover { color: #fff; }
.label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.section-title { font-size: clamp(34px, 5vw, 64px); }
.section-sub { color: var(--muted); max-width: 46ch; margin: 0; font-size: 18px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--text); font-weight: 300; }
.lead strong { font-weight: 600; color: var(--accent); }
.note { margin-top: 28px; padding-left: 18px; border-left: 1px solid var(--accent); color: var(--muted); font-size: 15px; }
.link-line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); word-break: break-word; }
.link-line:hover { background-size: 100% 1px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 15px 26px; border: 1px solid var(--text); background: var(--text); color: var(--bg);
	font: 500 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
	cursor: pointer; border-radius: var(--radius);
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); background: transparent; color: var(--accent); }
.btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn--light:hover { background: #fff; color: #111; border-color: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
	border-bottom: 1px solid transparent;
}
body:not(.has-hero) .site-header, .site-header.is-scrolled {
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: .01em; color: var(--hfg); }
.brand__mark { width: 18px; height: 18px; border: 1.5px solid var(--accent); transform: rotate(45deg); position: relative; }
.brand__mark::after { content: ""; position: absolute; inset: 4px; background: var(--accent); }
.site-nav .menu { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.site-nav a { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--hfg-soft); position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--hfg); }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 60; }
.nav-toggle__bar { display: block; width: 26px; height: 1.5px; background: var(--hfg); margin: 7px auto; transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; align-items: center; gap: 28px; }
	.site-nav a { font-family: var(--font-display); font-size: 34px; letter-spacing: 0; text-transform: none; color: var(--text); }
	body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img, .hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.78) 100%); }
.hero__content { padding-bottom: clamp(56px, 10vh, 120px); padding-top: calc(var(--header-h) + 40px); }
.hero__title { font-size: clamp(44px, 8.4vw, 128px); max-width: 13ch; line-height: .95; letter-spacing: -.035em; }
.hero__sub { font-size: clamp(17px, 1.5vw, 21px); max-width: 44ch; margin: 26px 0 34px; color: rgba(255,255,255,.85); font-weight: 300; }
.hero > .hero__content > * { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.hero > .hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero > .hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero > .hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(56px, 10vh, 120px); width: 1px; height: 90px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
.hero--project { min-height: 86svh; }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--row { grid-template-columns: 1fr auto; align-items: end; }
.section-foot { margin-top: 64px; display: flex; justify-content: center; }
@media (max-width: 720px) { .section-head--row { grid-template-columns: 1fr; } }

/* ---------- Project grid ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 48px); }
.project-grid.is-stagger .project-card:nth-child(even) { margin-top: clamp(0px, 9vw, 140px); }
.project-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .project-grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.project-grid, .project-grid--three { grid-template-columns: 1fr; }
	.project-grid .project-card:nth-child(even) { margin-top: 0 !important; }
}
.project-card__link { display: block; }
.project-card__media { overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.project-grid--three .project-card__media { aspect-ratio: 4 / 5; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); filter: saturate(.92); }
.project-card__link:hover .project-card__media img { transform: scale(1.05); filter: saturate(1.05); }
.project-card__body { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding-top: 22px; }
.project-card__num { font-family: var(--font-display); font-size: 13px; color: var(--accent); padding-top: 6px; }
.project-card__title { font-size: clamp(22px, 2.2vw, 30px); transition: color .3s; }
.project-card__link:hover .project-card__title { color: var(--accent); }
.project-card__sub { color: var(--muted); margin: 8px 0 0; font-size: 15px; max-width: 48ch; }
.project-card__meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 0 0; opacity: .8; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: none; border: 1px solid var(--line); color: var(--muted); padding: 9px 16px; font: 500 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border-radius: 40px; transition: all .3s; }
.filter:hover, .filter.is-active { color: var(--bg); background: var(--text); border-color: var(--text); }
.filter-item[hidden] { display: none; }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: clamp(24px, 6vw, 120px); }
.split + .split { margin-top: clamp(64px, 9vw, 130px); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.work-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .work-cards { grid-template-columns: 1fr; } }
.work-card { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); transition: border-color .4s; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.work-card:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.work-card h3 { font-size: 22px; margin-bottom: 18px; }
.work-card p { color: var(--muted); font-size: 16px; }

/* ---------- Banner ---------- */
.banner { overflow: hidden; height: clamp(260px, 42vw, 640px); }
.banner__img, .banner img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

/* ---------- Feature ---------- */
.feature__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.feature__title { font-size: clamp(36px, 5.2vw, 76px); max-width: 12ch; margin-bottom: 24px; }
.feature__text p { color: var(--muted); max-width: 42ch; }
.feature__media { overflow: hidden; }
.feature__media img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; }
@media (max-width: 820px) { .feature__grid { grid-template-columns: 1fr; } }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry__item { display: block; margin-bottom: 18px; break-inside: avoid; overflow: hidden; cursor: zoom-in; position: relative; background: var(--bg-2); }
.masonry__item img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.masonry__item:hover img { transform: scale(1.04); opacity: .9; }

/* ---------- Page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(40px, 6vw, 80px); }
.page-hero__title { font-size: clamp(40px, 6.4vw, 96px); max-width: 16ch; letter-spacing: -.03em; }
.page-hero__intro { margin-top: 30px; max-width: 62ch; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; }
.page-hero--404 { min-height: 80vh; }

/* Process steps */
.process-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-steps li { padding: 20px 16px 0 0; font-family: var(--font-display); font-size: 18px; position: relative; }
.process-steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.process-steps span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-family: var(--font-body); letter-spacing: .14em; }
@media (max-width: 640px) { .process-steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } }

/* Timeline */
.timeline { display: grid; gap: 48px; }
.timeline__item { border-left: 1px solid var(--line); padding-left: 28px; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -4px; top: 10px; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.timeline__item h3 { font-size: clamp(22px, 2.2vw, 30px); }
.timeline__period { color: var(--accent); font-size: 14px; letter-spacing: .06em; margin: 10px 0 18px; }
.timeline__item ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.timeline__item li { color: var(--muted); padding-left: 22px; position: relative; }
.timeline__item li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--muted); }

/* ---------- Project single ---------- */
.project-layout { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 110px); }
.project-meta { margin: 0; display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.project-meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-meta dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.project-meta dd { margin: 0; text-align: right; }
@media (max-width: 820px) { .project-layout { grid-template-columns: 1fr; } }
.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.next-project { position: relative; display: block; height: clamp(320px, 50vw, 620px); overflow: hidden; color: #fff; isolation: isolate; }
.next-project__media { position: absolute; inset: 0; z-index: -1; }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); filter: brightness(.55); }
.next-project:hover .next-project__media img { transform: scale(1.05); }
.next-project__text { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.next-project h2 { font-size: clamp(34px, 6vw, 88px); }
.next-project h2 span { display: inline-block; transition: transform .5s var(--ease); }
.next-project:hover h2 span { transform: translateX(14px); }

/* ---------- Entry content ---------- */
.entry { font-size: 18px; color: var(--text); }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 34px; margin-top: 1.6em; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry img, .entry figure { margin-left: auto; margin-right: auto; }
.entry figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.entry blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--accent); font-family: var(--font-display); font-size: 24px; line-height: 1.35; }
.entry .wp-block-gallery { gap: 14px; }
.post-cover img { width: 100%; max-height: 72vh; object-fit: cover; }
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-item a { display: block; padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 30px; transition: color .3s; }
.post-item a:hover h2 { color: var(--accent); }
.post-item p:last-child { color: var(--muted); margin: 10px 0 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.contact-grid__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid__media { order: -1; } .contact-grid__media img { aspect-ratio: 16 / 10; } }
.contact-form { display: grid; gap: 22px; margin-top: 40px; max-width: 620px; }
.contact-form.is-compact { margin-top: 0; gap: 14px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
	font: 400 17px/1.5 var(--font-body); padding: 10px 0; border-radius: 0; transition: border-color .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: 15px; color: var(--accent); min-height: 1.4em; }
.form-status.is-error { color: #e88a7d; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.info p:not(.label) { font-size: 18px; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; gap: 28px; } }
.map { margin-top: 56px; overflow: hidden; filter: grayscale(1); }
.scheme-dark .map { filter: grayscale(1) invert(.9) contrast(.85); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(80px, 11vw, 150px) 0 32px; background: var(--bg); }
.footer-cta__title { font-size: clamp(38px, 6.6vw, 104px); max-width: 15ch; letter-spacing: -.03em; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; margin-top: clamp(56px, 8vw, 110px); }
.footer-col p:not(.label) { margin-bottom: 22px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--form { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social a { display: inline-flex; gap: 8px; align-items: center; color: var(--text); transition: color .3s; }
.social a span { font-size: 12px; opacity: .5; transition: transform .3s var(--ease), opacity .3s; }
.social a:hover { color: var(--accent); }
.social a:hover span { transform: translate(2px, -2px); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 90px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.to-top:hover { color: var(--text); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,9,10,.96); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; animation: rise .5s var(--ease); }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: background .3s, border-color .3s; }
.lightbox button:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.lightbox__close { top: 18px; right: 18px; font-size: 26px !important; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 60px 10px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Pagination ---------- */
.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); }
.pagination .current { background: var(--text); color: var(--bg); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero > .hero__content > * { opacity: 1; transform: none; }
}

/* WordPress core alignment */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { color: var(--muted); font-size: 14px; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ==========================================================
   v1.1 — new sections & features
   ========================================================== */
.site-header__right { display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; color: var(--hfg-soft); }
.lang-switch a { color: var(--hfg-soft); padding: 4px 2px; }
.lang-switch a:hover, .lang-switch a.is-active { color: var(--hfg); }
.lang-switch a.is-active { border-bottom: 1px solid var(--accent); }
@media (max-width: 820px) {
	.site-nav { flex-direction: column; gap: 40px; }
	.lang-switch { font-size: 20px; }
	.lang-switch a { color: var(--text); }
}
.admin-preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--accent); color: #111; text-align: center; padding: 10px 16px; font-size: 14px; }
.admin-preview-bar a { text-decoration: underline; font-weight: 600; }

.hero--plain { min-height: 70svh; color: var(--text); }
.section--tight-top { padding-top: 0; }
.feature__grid--text { grid-template-columns: 1fr; }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Private project */
.project-card.is-private .project-card__media img { filter: blur(14px) saturate(.6); transform: scale(1.1); }
.project-card__media { position: relative; }
.project-card__lock { position: absolute; top: 14px; left: 14px; display: inline-flex; gap: 6px; align-items: center; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border-radius: 30px; }
.private-screen { min-height: 70vh; }
.post-password-form { display: grid; gap: 22px; max-width: 420px; margin-top: 36px; }
.post-password-form .btn { justify-self: start; }
.private-screen__ask { margin-top: 28px; color: var(--muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--bg); padding: clamp(28px, 3vw, 44px); min-height: 260px; display: flex; flex-direction: column; transition: background .4s; }
.service-card:hover { background: var(--bg-2); }
.service-card__num, .service-row__num { font-family: var(--font-display); color: var(--accent); font-size: 14px; }
.service-card h3 { font-size: 24px; margin: 40px 0 14px; }
.service-card p { color: var(--muted); font-size: 15px; margin: 0; }
.services-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(20px, 4vw, 64px); padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-row--noimg { grid-template-columns: 80px 1fr; }
.service-row h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 20px; }
.service-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .service-row, .service-row--noimg { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 26px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border: 1px solid var(--accent); transform: rotate(45deg); }

/* CTA band */
.cta-band { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(32px, 4.6vw, 64px); max-width: 16ch; margin-bottom: 16px; }
.cta-band .btn-row { margin-top: 0; }

/* Awards */
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.awards__item { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.awards__year { font-family: var(--font-display); color: var(--accent); }
.awards__body h3 { font-size: 20px; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.awards__body h3 a:hover { color: var(--accent); }
.awards__body p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.awards__type { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 5px 10px; border-radius: 30px; white-space: nowrap; }
@media (max-width: 640px) { .awards__item { grid-template-columns: 64px 1fr; } .awards__type { grid-column: 2; justify-self: start; } }

/* About */
.about-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 100px); align-items: end; }
.about-hero__grid--text { grid-template-columns: 1fr; }
.about-hero__role { color: var(--accent); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; margin-top: 22px; }
.about-hero__bio { margin-top: 34px; max-width: 60ch; }
.about-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.2); }
@media (max-width: 900px) { .about-hero__grid { grid-template-columns: 1fr; } .about-hero__photo { order: -1; max-width: 420px; } }
.skill-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 48px; }
@media (max-width: 820px) { .skill-grid { grid-template-columns: 1fr; } }
.tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); padding: 8px 14px; border-radius: 40px; font-size: 14px; }
.tags--post { margin-top: 48px; }

/* Journal */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card a { display: block; }
.post-card__media { overflow: hidden; margin-bottom: 20px; aspect-ratio: 4 / 3; background: var(--bg-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card a:hover img { transform: scale(1.05); }
.post-card h3 { font-size: 24px; margin: 6px 0 10px; transition: color .3s; }
.post-card a:hover h3 { color: var(--accent); }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.filters--links { margin-top: 36px; }
.page-hero__title--post { font-size: clamp(36px, 5vw, 72px); max-width: 20ch; }

/* Story / design process */
.story { list-style: none; padding: 0; margin: clamp(40px, 6vw, 80px) 0 0; display: grid; gap: clamp(48px, 8vw, 120px); counter-reset: s; }
.story__step { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.story__step:nth-child(even) .story__text { order: 2; }
.story__step--noimg { grid-template-columns: minmax(0, 720px); }
.story__num { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.story__text h3 { font-size: clamp(24px, 2.6vw, 36px); margin: 14px 0 16px; }
.story__text p { color: var(--muted); }
.story__media { display: block; overflow: hidden; cursor: zoom-in; }
.story__media img { width: 100%; transition: transform 1s var(--ease); }
.story__media:hover img { transform: scale(1.03); }
@media (max-width: 820px) { .story__step { grid-template-columns: 1fr; } .story__step:nth-child(even) .story__text { order: 0; } }

/* Before / after */
.compare { position: relative; margin-top: clamp(32px, 5vw, 64px); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-2); user-select: none; }
.compare__img { position: absolute; inset: 0; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 15px; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: rgba(0,0,0,.55); color: #fff; padding: 6px 12px; border-radius: 30px; pointer-events: none; }
.compare__tag--before { left: 16px; }
.compare__tag--after { right: 16px; }

/* 3D / 360 */
.immersive { display: grid; gap: 28px; margin-top: clamp(32px, 5vw, 64px); }
.immersive__item { position: relative; }
model-viewer, .pano, .tour { width: 100%; height: clamp(340px, 60vw, 640px); background: radial-gradient(ellipse at center, #22252a, var(--bg)); border: 0; display: block; }
.immersive__hint { margin: 10px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Map */
.projects-map { height: clamp(360px, 52vw, 560px); background: var(--bg-2); border: 1px solid var(--line); z-index: 0; }
.map-pin span { display: block; width: 18px; height: 18px; background: var(--accent); transform: rotate(45deg); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--bg-2) !important; color: var(--text) !important; border-radius: 2px !important; }
.leaflet-popup-content { margin: 12px !important; }
.map-pop { display: grid; gap: 4px; width: 200px; color: var(--text) !important; }
.map-pop img { width: 100%; height: 110px; object-fit: cover; margin-bottom: 6px; }
.map-pop strong { font-family: var(--font-display); font-size: 16px; }
.map-pop small { color: var(--muted); }
.map-pop em { font-style: normal; color: var(--accent); font-size: 12px; margin-top: 4px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted) !important; }

/* Forms: request & booking */
.request-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.request-grid__direct { margin-top: 40px; }
@media (max-width: 900px) { .request-grid { grid-template-columns: 1fr; } }
.request-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field select {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
	font: 400 17px/1.5 var(--font-body); padding: 10px 0; border-radius: 0; appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field select:focus { outline: none; border-color: var(--accent); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #e88a7d; }
.field--file input { border: 1px dashed var(--line); padding: 16px; font-size: 14px; color: var(--muted); }
.field--file input::file-selector-button { background: var(--text); color: var(--bg); border: 0; padding: 8px 14px; margin-inline-end: 14px; cursor: pointer; font: 500 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.request-form .btn, .booking .btn { justify-self: start; }

.booking { display: grid; gap: clamp(40px, 5vw, 64px); }
.booking__label { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.booking__label span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.booking__types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.type-card input { position: absolute; opacity: 0; }
.type-card__box { display: grid; gap: 6px; border: 1px solid var(--line); padding: 22px; cursor: pointer; transition: border-color .3s, background .3s; height: 100%; }
.type-card__box strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.type-card__box em { font-style: normal; color: var(--accent); font-size: 14px; }
.type-card__box small { color: var(--muted); font-size: 14px; }
.type-card input:checked + .type-card__box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.type-card input:focus-visible + .type-card__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.booking__when { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 760px) { .booking__when { grid-template-columns: 1fr; } }
.cal { border: 1px solid var(--line); padding: 18px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__head strong { font-family: var(--font-display); font-weight: 600; text-transform: capitalize; }
.cal__nav { background: none; border: 1px solid var(--line); color: var(--text); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__wd { font-size: 11px; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal__day { aspect-ratio: 1; background: none; border: 1px solid transparent; color: var(--text); font: 500 14px var(--font-body); cursor: pointer; border-radius: 2px; transition: all .2s; }
.cal__day:hover:not(:disabled) { border-color: var(--accent); }
.cal__day:disabled { color: var(--muted); opacity: .35; cursor: default; }
.cal__day.is-active { background: var(--accent); color: var(--bg); }
.slots { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.slots__hint { color: var(--muted); }
.slot { background: none; border: 1px solid var(--line); color: var(--text); padding: 11px 18px; font: 500 15px var(--font-body); cursor: pointer; border-radius: 2px; transition: all .2s; }
.slot:hover { border-color: var(--accent); }
.slot.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.booking__summary { border-inline-start: 2px solid var(--accent); padding: 10px 16px; margin: 8px 0 22px; color: var(--text); background: var(--bg-2); }
.booking__step .form-row { margin-bottom: 22px; }
.booking__done { text-align: center; padding: 60px 0; }
.booking__check { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 30px; margin-bottom: 24px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(8,9,10,.82); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__box { position: relative; background: var(--bg-2); border: 1px solid var(--line); width: min(480px, 100%); padding: clamp(28px, 5vw, 48px); animation: rise .4s var(--ease); }
.modal__box h2 { font-size: 30px; margin-bottom: 12px; }
.modal__text { color: var(--muted); }
.modal__close { position: absolute; top: 12px; inset-inline-end: 12px; background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; width: 40px; height: 40px; }
.modal__close:hover { color: var(--text); }
.lead-form { display: grid; gap: 20px; margin-top: 24px; }
.lead-form .btn { justify-self: start; }
button.btn { font-family: var(--font-body); }

.process-steps { grid-template-columns: repeat(var(--cols, 4), 1fr); }
@media (max-width: 640px) { .process-steps { grid-template-columns: 1fr 1fr; } }
.contact-grid--single { grid-template-columns: minmax(0, 720px); }
.project-layout--single { grid-template-columns: minmax(0, 860px); }
.atoosa-note { color: var(--muted); }

/* ---------- Right-to-left (Arabic / Persian) ---------- */
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .hero__title, [dir="rtl"] .page-hero__title, [dir="rtl"] .section-title { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .eyebrow, [dir="rtl"] .label, [dir="rtl"] .btn, [dir="rtl"] .site-nav a, [dir="rtl"] .field span, [dir="rtl"] .project-card__meta, [dir="rtl"] .booking__label, [dir="rtl"] .story__num { letter-spacing: 0; }
[dir="rtl"] .arrow, [dir="rtl"] .arrow-back, [dir="rtl"] .next-project h2 span { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .next-project:hover h2 span { transform: scaleX(-1) translateX(14px); }
[dir="rtl"] .note { padding-left: 0; padding-right: 18px; border-left: 0; border-right: 1px solid var(--accent); }
[dir="rtl"] .timeline__item { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 28px; }
[dir="rtl"] .timeline__item::before { left: auto; right: -4px; }
[dir="rtl"] .timeline__item li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .timeline__item li::before { left: auto; right: 0; }
[dir="rtl"] .process-steps li { padding: 20px 0 0 16px; }
[dir="rtl"] .process-steps li::before { left: auto; right: 0; }
[dir="rtl"] .hero__scroll { right: auto; left: var(--gutter); }
[dir="rtl"] .project-card__lock { left: auto; right: 14px; }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .entry blockquote { padding-left: 0; padding-right: 24px; border-left: 0; border-right: 1px solid var(--accent); }
[dir="rtl"] .project-meta dd { text-align: left; }
[dir="rtl"] .field select { background-position: 12px 55%, 17px 55%; }
[dir="rtl"] .story__step:nth-child(even) .story__text { order: 2; }
[dir="rtl"] .link-line { background-position: 100% 100%; }
[dir="rtl"] .compare { direction: ltr; }
/* Untranslated (English) text inside an RTL page keeps its own direction */
[dir="rtl"] p, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] li, [dir="rtl"] dd, [dir="rtl"] dt, [dir="rtl"] .field span, [dir="rtl"] .btn span:not(.arrow), [dir="rtl"] strong, [dir="rtl"] small, [dir="rtl"] em { unicode-bidi: plaintext; }

/* ==========================================================
   v1.2 — colour schemes, header colours, aligned layouts
   ========================================================== */
:root { --hfg: var(--text); --hfg-soft: var(--muted); }
body.scheme-dark { --bg: #0e0f11; --bg-2: #15171a; --line: rgba(236,233,226,.12); --text: #ece9e2; --muted: #9a978f; --accent: #c4a882; --hfg: #fff; --hfg-soft: rgba(255,255,255,.78); }
body.scheme-light { --bg: #ffffff; --bg-2: #f5f4f1; --line: rgba(17,17,17,.12); --text: #151515; --muted: #6c6a65; --accent: #9b7a4e; --hfg: var(--text); --hfg-soft: #4a4946; }
html { background: var(--bg); }
/* Over the big hero image the header stays white until you scroll */
body.has-hero .site-header:not(.is-scrolled) { --hfg: #fff; --hfg-soft: rgba(255,255,255,.82); }
body.nav-open .site-header { --hfg: var(--text); --hfg-soft: var(--text); }
.scheme-light .site-header.is-scrolled, .scheme-light:not(.has-hero) .site-header { box-shadow: 0 1px 0 var(--line); }
.scheme-light .hero--plain { color: var(--text); }
.scheme-light .work-card { background: var(--bg-2); border-color: transparent; }
.scheme-light .cta-band { background: var(--bg-2); }
.scheme-light .project-card__media, .scheme-light .masonry__item, .scheme-light .post-card__media { background: var(--bg-2); }
.scheme-light ::selection { color: #fff; }
.scheme-light .btn:hover { color: #fff; }
.scheme-light .btn--ghost:hover { color: var(--accent); }
.scheme-light .btn--light:hover { color: #111; }
.scheme-light .cal__day.is-active, .scheme-light .slot.is-active, .scheme-light .filter:hover, .scheme-light .filter.is-active { color: #fff; }
.scheme-light .modal { background: rgba(20,20,20,.45); }
.scheme-light .modal__box { background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.scheme-light .map-pin span { border-color: #fff; }
.scheme-light .projects-map, .scheme-light model-viewer, .scheme-light .pano, .scheme-light .tour { background: var(--bg-2); }
.scheme-light .field select option { background: #fff; }
.scheme-light .site-footer { background: var(--bg-2); border-top: 0; }
.scheme-light .field--file input::file-selector-button { color: #fff; }
.scheme-light .wa-float { box-shadow: 0 10px 30px rgba(0,0,0,.18); }

/* Aligned project grid: equal image boxes, titles start on one line */
.project-grid { align-items: start; }
.project-card__media img { position: absolute; inset: 0; }
.project-card__media { aspect-ratio: 4 / 3; }

/* Aligned gallery grid */
.masonry--grid { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.masonry--grid .masonry__item { margin: 0; aspect-ratio: 4 / 3; }
.masonry--grid .masonry__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .masonry--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .masonry--grid { grid-template-columns: 1fr; } }

/* Hero — drawing on white */
body.hero-light .site-header:not(.is-scrolled) { --hfg: var(--text); --hfg-soft: var(--muted); }
.hero--sketch { color: var(--text); background: #fff; align-items: center; min-height: 94svh; }
.hero--sketch .hero__img, .hero--sketch .hero__media img { animation: none; transform: none; object-position: 72% 55%; }
.hero--sketch .hero__shade { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,0) 62%); }
.hero--sketch .hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero--sketch .hero__title { color: #151515; max-width: 11ch; font-size: clamp(40px, 5.4vw, 86px); }
.hero--sketch .hero__sub { max-width: 36ch; }
.hero--sketch .hero__sub { color: #5d5b57; }
.hero--sketch .eyebrow { color: #8a6b42; }
.hero--sketch .btn { background: #151515; border-color: #151515; color: #fff; }
.hero--sketch .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero--sketch .hero__scroll { background: rgba(0,0,0,.12); }
.hero--sketch .hero__scroll span { background: #151515; }
[dir="rtl"] .hero--sketch .hero__shade { background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,0) 62%); }
[dir="rtl"] .hero--sketch .hero__img { object-position: 28% 55%; transform: scaleX(-1); }
.scheme-dark.hero-light .site-header:not(.is-scrolled) { --hfg: #151515; --hfg-soft: #4a4946; }
@media (max-width: 820px) {
	.hero--sketch { flex-direction: column; align-items: stretch; min-height: 0; }
	.hero--sketch .hero__media { position: relative; inset: auto; order: 2; height: 62vw; min-height: 240px; }
	.hero--sketch .hero__img { object-position: 78% 60%; }
	.hero--sketch .hero__shade { display: none; }
	.hero--sketch .hero__content { padding-bottom: 8px; }
	.hero--sketch .hero__scroll { display: none; }
}

/* Featured project — complete image, never cropped */
.featured__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.featured__media { background: var(--bg-2); display: flex; justify-content: center; }
.featured__media a { display: block; }
.featured__media img, .featured__img { width: auto; max-width: 100%; height: auto; max-height: 88vh; object-fit: contain; margin: 0 auto; }
.featured__title { font-size: clamp(36px, 5vw, 72px); max-width: 12ch; margin-bottom: 22px; }
.featured__text .lead { color: var(--muted); margin-bottom: 32px; }
@media (max-width: 820px) { .featured__grid { grid-template-columns: 1fr; } }
