/* ==========================================================================
   Glassify Qatar — design system
   Palette from the logo: rose-copper metal on espresso, with cool "frost"
   light sections that read as glass. Display: Marcellus (engraved, classical,
   echoes the logo lettering). Text: Jost (geometric, echoes the G monogram).
   Motif: the circle (round LED mirror / logo) and the arch (custom mirrors),
   used sparingly — hero, why, about.
   ========================================================================== */

@font-face {
	font-family: "Marcellus";
	src: url("../fonts/marcellus-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Colour */
	--espresso: #15100d;
	--espresso-2: #1e1714;
	--espresso-3: #100c0a;
	--copper: #c8916f;
	--copper-light: #e8c3a6;
	--copper-deep: #8a5638;
	--frost: #eceeec;
	--frost-2: #e0e4e2;
	--white: #fbfbfa;
	--ink: #1a1614;
	--ink-soft: #4f4743;
	--on-dark: #f4eae3;
	--mist: #b8aca4;
	--line-dark: rgba(232, 195, 166, 0.16);
	--line-light: rgba(26, 22, 20, 0.14);
	--danger: #a23b2a;

	/* Type */
	--font-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
	--fs-hero: clamp(2.7rem, 5.4vw + 0.4rem, 5.25rem);
	--fs-h1: clamp(2.35rem, 4.4vw + 0.5rem, 4.4rem);
	--fs-h2: clamp(1.9rem, 2.6vw + 0.8rem, 3.1rem);
	--fs-h3: clamp(1.35rem, 1vw + 1rem, 1.65rem);
	--fs-lead: clamp(1.08rem, 0.35vw + 1rem, 1.25rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.9375rem;
	--fs-xs: 0.8125rem;

	/* Space & layout */
	--container: 1320px;
	--gutter: clamp(20px, 4.5vw, 64px);
	--section: clamp(80px, 9vw, 140px);
	--header-h: 84px;
	--radius: 2px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--espresso);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.site-main:focus { outline: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -80px; z-index: 200;
	background: var(--copper); color: var(--espresso);
	padding: 12px 18px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	border: 1px solid transparent; border-radius: var(--radius);
	font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--copper); color: var(--espresso); }
.btn--primary:hover { background: var(--copper-light); }
.btn--ghost { border-color: rgba(232, 195, 166, 0.42); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { border-color: var(--copper-light); background: rgba(232, 195, 166, 0.07); }
.btn--ghost-dark { border-color: rgba(26, 22, 20, 0.32); color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.btn-row--center { justify-content: center; }

.link {
	display: inline-block;
	color: var(--copper-deep); font-weight: 500; text-decoration: none;
	padding-bottom: 3px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size 0.35s var(--ease);
}
.link:hover { background-size: 40% 1px; }
.link--light { color: var(--copper-light); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .nav-open .site-header {
	background: rgba(21, 16, 13, 0.94);
	border-bottom-color: var(--line-dark);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand, .custom-logo-link { display: block; flex: none; position: relative; z-index: 2; }
.brand-logo--horizontal, .custom-logo-link img { height: 42px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 34px; list-style: none; }
.site-nav__list a {
	position: relative; display: block; padding: 8px 0;
	color: var(--on-dark); text-decoration: none; font-size: 0.9375rem; letter-spacing: 0.02em;
	transition: color 0.2s;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
	background: var(--copper); transform: scaleX(0); transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.site-nav__list a:hover { color: var(--copper-light); }
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current-menu-ancestor > a::after,
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }
.header-wa {
	display: grid; place-items: center; width: 44px; height: 44px;
	color: var(--copper-light); border: 1px solid var(--line-dark); border-radius: 50%;
	transition: border-color 0.25s, color 0.25s;
}
.header-wa:hover { border-color: var(--copper); color: var(--on-dark); }
.header-wa .icon { width: 20px; height: 20px; }
.nav-toggle {
	display: none; width: 44px; height: 44px; padding: 0;
	background: none; border: 1px solid var(--line-dark); border-radius: 50%;
	color: var(--on-dark); cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; display: flow-root; }
.lede > :last-child, .section__head > :last-child { margin-bottom: 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0 clamp(8px, 1vw, 16px); }
.section--light { background: var(--frost); color: var(--ink); }
.section--frost { background: var(--frost-2); color: var(--ink); }
.section--dark { background: var(--espresso); color: var(--on-dark); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section__head--split > div { max-width: 640px; }
.section__title { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.005em; }
.section__text { margin: 18px 0 0; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }
.section--dark .section__text { color: var(--mist); }
.mini-title { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.02em; color: var(--ink-soft); margin: 0 0 14px; }

/* ---------- Hero (home) ---------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 70% at 78% 45%, rgba(200, 145, 111, 0.16), transparent 70%),
		var(--espresso);
	color: var(--on-dark);
	padding: calc(var(--header-h) + clamp(40px, 6vw, 96px)) 0 clamp(64px, 8vw, 120px);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title { font-family: var(--font-display); font-size: var(--fs-hero); line-height: 1.03; letter-spacing: -0.01em; max-width: 12ch; }
.hero__lead { margin: 28px 0 0; font-size: var(--fs-lead); color: var(--mist); max-width: 46ch; }
.hero__services { list-style: none; display: flex; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); max-width: 640px; }
.hero__services li { font-size: var(--fs-small); }
.hero__services li:not(:last-child)::after { content: ""; display: inline-block; width: 1px; height: 12px; margin: 0 16px; background: var(--line-dark); vertical-align: middle; }
.hero__services a { color: var(--copper-light); text-decoration: none; }
.hero__services a:hover { text-decoration: underline; }

/* The mirror: the one orchestrated moment — the halo lights up on load. */
.mirror { position: relative; width: min(100%, 600px); margin-left: auto; aspect-ratio: 1; }
.mirror::before {
	content: ""; position: absolute; inset: -22px; border-radius: 50%;
	border: 1px solid rgba(232, 195, 166, 0.22);
	clip-path: inset(0 50% 0 0);
}
.mirror__halo {
	position: absolute; inset: -12%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(246, 214, 188, 0) 72%, rgba(232, 177, 140, 0.55) 80%, rgba(200, 145, 111, 0.18) 88%, transparent 100%);
	opacity: 0; animation: halo 1.8s var(--ease) 0.35s forwards;
}
.mirror__glass {
	position: relative; height: 100%; border-radius: 50%; overflow: hidden;
	box-shadow: 0 0 0 1px rgba(243, 201, 168, 0.55), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
	isolation: isolate;
}
.mirror__glass img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.2s var(--ease) 0.1s forwards; }
.mirror__glass::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.08) 100%);
	pointer-events: none;
}
@keyframes halo { to { opacity: 1; } }
@keyframes settle { to { transform: scale(1); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: end; }
.intro__title { font-family: var(--font-display); font-size: clamp(1.8rem, 2.4vw + 0.8rem, 2.9rem); line-height: 1.16; }
.intro__body p { color: var(--ink-soft); font-size: 1.0625rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: clamp(56px, 7vw, 96px) 0 0; }
.facts__item { border-top: 1px solid var(--line-light); padding-top: 20px; }
.facts dt { font-weight: 500; font-size: 1.0625rem; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.55; }

/* ---------- Services index (home) ---------- */
.services-index__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.services-index__list { list-style: none; counter-reset: none; }
.services-index__item { border-top: 1px solid var(--line-dark); padding: 30px 0 32px; transition: opacity 0.3s; }
.services-index__item:last-child { border-bottom: 1px solid var(--line-dark); }
.services-index__name { font-family: var(--font-display); font-size: clamp(1.6rem, 1.6vw + 1rem, 2.35rem); line-height: 1.15; }
.services-index__name a { color: var(--on-dark); text-decoration: none; transition: color 0.3s; }
.services-index__item.is-active .services-index__name a, .services-index__name a:hover { color: var(--copper-light); }
.services-index__summary { color: var(--mist); margin: 12px 0 14px; max-width: 52ch; }
.services-index__stage { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; }
.services-index__stage .services-index__media { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); }
.services-index__stage .services-index__media.is-active { opacity: 1; }
.services-index__media img { width: 100%; height: 100%; object-fit: cover; }
.services-index__media--inline { display: none; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px rgba(138, 86, 56, 0.25); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; margin: 48px 0 0; }
.why__item { border-top: 1px solid var(--line-light); padding-top: 18px; }
.why__item dt { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; margin-bottom: 8px; }
.why__item dd { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; }

/* ---------- Project cards ---------- */
.project-card__link { display: block; text-decoration: none; color: inherit; }
.project-card__media { overflow: hidden; background: var(--espresso-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project-card__media--gf-wide { aspect-ratio: 16 / 10; }
.project-card__media--gf-portrait, .project-card__media--gf-card { aspect-ratio: 4 / 5; }
.project-card__media--gf-square { aspect-ratio: 1; }
.project-card__link:hover img, .project-card__link:focus-visible img { transform: scale(1.035); }
.project-card__body { padding-top: 18px; }
.project-card__type { font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--copper-deep); margin: 0 0 6px; }
.section--dark .project-card__type { color: var(--copper); }
.project-card__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; }
.project-card__loc { margin: 6px 0 0; font-size: var(--fs-small); color: var(--ink-soft); }
.section--dark .project-card__loc { color: var(--mist); }
.project-card__link:hover .project-card__title { text-decoration: underline; text-decoration-color: var(--copper); }

.work__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px clamp(28px, 4vw, 56px); }
.work__grid .project-card--feature { grid-row: span 2; }
.project-card--feature .project-card__link { height: 100%; display: flex; flex-direction: column; }
.project-card--feature .project-card__media { flex: 1; min-height: 420px; aspect-ratio: auto; }
.work__grid > .project-card:nth-child(n + 4) { display: none; }
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

/* ---------- Process ---------- */
.process__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(44px, 5vw, 72px); }
.process__step { border-top: 1px solid var(--copper); padding-top: 22px; }
.process__num { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 3vw, 3.2rem); line-height: 1; color: var(--copper-deep); margin-bottom: 20px; }
.process__title { font-family: var(--font-body); font-weight: 500; font-size: 1.15rem; margin-bottom: 8px; }
.process__step p { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.testimonial { margin: 0; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; }
.testimonial figcaption { margin-top: 18px; font-size: var(--fs-small); color: var(--mist); }
.testimonial strong { display: block; color: var(--on-dark); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--espresso-3); color: var(--on-dark); padding: clamp(96px, 11vw, 168px) 0; text-align: center; }
.cta__halo {
	position: absolute; left: 50%; top: 50%; width: min(860px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, transparent 70%, rgba(200, 145, 111, 0.22) 78%, rgba(200, 145, 111, 0.05) 88%, transparent 100%);
	box-shadow: inset 0 0 0 1px rgba(232, 195, 166, 0.1);
	pointer-events: none;
}
.cta__inner { position: relative; }
.cta__title { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw + 0.6rem, 4.1rem); line-height: 1.08; }
.cta__text { margin: 22px auto 0; max-width: 52ch; color: var(--mist); font-size: var(--fs-lead); }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--copper-deep); }
.contact-list__label { display: block; font-size: var(--fs-xs); color: var(--ink-soft); letter-spacing: 0.03em; }
.contact-list a, .contact-list__value { font-size: 1.0625rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--copper); }
.contact-list--compact { gap: 14px; }
.contact-list--compact .contact-list__label { display: none; }
.contact-list--compact a, .contact-list--compact .contact-list__value { font-size: var(--fs-small); color: var(--mist); }
.contact-list--compact .icon { width: 18px; height: 18px; color: var(--copper); margin-top: 4px; }
.contact-preview__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-preview .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.contact-preview .link { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso-3); color: var(--mist); padding: clamp(72px, 8vw, 112px) 0 0; border-top: 1px solid var(--line-dark); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.site-footer__brand .brand-logo--full { width: 164px; height: auto; margin-bottom: 24px; }
.site-footer__brand p { font-size: var(--fs-small); max-width: 40ch; }
.site-footer__title { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500; color: var(--copper-light); letter-spacing: 0.03em; margin-bottom: 18px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer__list a { color: var(--mist); text-decoration: none; font-size: var(--fs-small); }
.site-footer__list a:hover, .site-footer a:hover { color: var(--on-dark); }
.social { list-style: none; display: flex; gap: 12px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--copper-light); transition: border-color 0.25s, background-color 0.25s; }
.social a:hover { border-color: var(--copper); background: rgba(200, 145, 111, 0.1); }
.social .icon { width: 19px; height: 19px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 64px; padding: 24px 0 32px; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: inherit; }

/* ---------- Floating WhatsApp & mobile bar ---------- */
.wa-float {
	position: fixed; right: 28px; bottom: 28px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 20px 12px 14px; border-radius: 999px;
	background: var(--espresso); color: var(--on-dark); text-decoration: none; font-size: var(--fs-small);
	border: 1px solid rgba(200, 145, 111, 0.55); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.25s;
}
.wa-float .icon { width: 22px; height: 22px; color: var(--copper-light); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { border-color: var(--copper-light); }
.mobile-bar { display: none; }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; overflow: hidden;
	background: var(--espresso); color: var(--on-dark);
	padding: calc(var(--header-h) + clamp(48px, 7vw, 104px)) 0 clamp(64px, 7vw, 104px);
}
.page-hero::after {
	content: ""; position: absolute; width: clamp(360px, 46vw, 680px); aspect-ratio: 1;
	right: calc(-1 * clamp(140px, 14vw, 240px)); top: 50%; transform: translateY(-46%);
	border-radius: 50%; border: 1px solid rgba(232, 195, 166, 0.18);
	box-shadow: inset 0 0 120px rgba(200, 145, 111, 0.08);
	pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.06; max-width: 18ch; }
.page-hero__intro { margin: 24px 0 0; max-width: 56ch; color: var(--mist); font-size: var(--fs-lead); }
.page-hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.page-hero__meta li { font-size: var(--fs-small); padding: 6px 14px; border: 1px solid var(--line-dark); color: var(--copper-light); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); color: var(--mist); margin-bottom: 28px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: 0.5; }
.breadcrumbs a { color: var(--mist); text-decoration: none; }
.breadcrumbs a:hover { color: var(--copper-light); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--copper-light); }

/* Cover images that overlap the dark hero on service & project pages */
.single-gf_service .page-hero, .single-gf_project .page-hero, .single-post .page-hero { padding-bottom: clamp(160px, 16vw, 230px); }
.service.section, .project.section { padding-top: 0; }
.service__cover, .project__cover { margin: calc(-1 * clamp(110px, 12vw, 170px)) 0 0; position: relative; z-index: 2; aspect-ratio: 16 / 9; overflow: hidden; background: var(--espresso-2); }
.service__cover img, .project__cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Prose (editor content) ---------- */
.prose { max-width: 68ch; color: #3a3330; font-size: 1.0625rem; line-height: 1.78; }
.prose--center { margin: 0 auto; }
.prose--small { font-size: var(--fs-small); margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2vw + 1.1rem, 2.1rem); line-height: 1.2; color: var(--ink); margin: 2.2em 0 0.6em; }
.prose h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--copper-deep); }
.prose img { height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: 8px; }
.prose .wp-block-gallery { gap: 12px; }
.prose blockquote { margin: 2em 0; padding-left: 24px; border-left: 1px solid var(--copper); font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.lede { max-width: 72ch; font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-soft); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.arch--sticky { position: sticky; top: calc(var(--header-h) + 40px); }

/* ---------- Services page rows ---------- */
.service-row { padding: clamp(64px, 7vw, 112px) 0; background: var(--frost); }
.service-row:nth-child(even) { background: var(--white); }
.service-row__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media { aspect-ratio: 4 / 5; overflow: hidden; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__title { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; }
.service-row__summary { margin: 18px 0 28px; font-size: var(--fs-lead); color: var(--ink-soft); }
.service-row .mini-title { margin-top: 28px; }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 1rem; line-height: 1.5; }
.ticks .icon { width: 20px; height: 20px; color: var(--copper-deep); margin-top: 2px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: var(--fs-small); padding: 6px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, 0.5); }

/* ---------- Single service / project ---------- */
.service__grid, .project__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.service__aside, .project__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 8px; }
.service__aside .chips, .service__aside .ticks, .project__aside .chips { margin-bottom: 28px; }
.service__quote { background: var(--white); border: 1px solid var(--line-light); padding: 28px; display: grid; gap: 12px; }
.service__quote p { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; }

.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__item { border-top: 1px solid var(--line-light); }
.faq__item:last-child { border-bottom: 1px solid var(--line-light); }
.faq__item summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 22px 48px 22px 0; font-weight: 500; font-size: 1.1rem; line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--copper-deep);
	transition: transform 0.3s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p { margin: 0; padding: 0 48px 24px 0; color: var(--ink-soft); }

.other-services { padding: clamp(48px, 5vw, 72px) 0; }
.other-services__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.other-services__list a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; border-top: 1px solid var(--line-light);
	font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); text-decoration: none;
}
.other-services__list .icon { width: 20px; height: 20px; color: var(--copper-deep); transition: transform 0.3s var(--ease); }
.other-services__list a:hover .icon { transform: translateX(4px); }

.pager { padding: 40px 0; }
.pager__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pager__link { display: block; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.pager__link span { display: block; font-family: var(--font-body); font-size: var(--fs-xs); color: var(--ink-soft); margin-bottom: 4px; }
.pager__link--next { text-align: right; grid-column: 2; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.filters__btn {
	min-height: 42px; padding: 0 18px; cursor: pointer;
	background: transparent; border: 1px solid var(--line-light); border-radius: var(--radius);
	font-size: var(--fs-small); color: var(--ink);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filters__btn:hover { border-color: var(--ink); }
.filters__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--frost); }
.masonry { columns: 3 340px; column-gap: clamp(24px, 3vw, 40px); }
.masonry .project-card { break-inside: avoid; margin-bottom: clamp(36px, 4vw, 56px); }
.masonry .project-card[hidden] { display: none; }
.empty { color: var(--ink-soft); }

/* ---------- Contact page & form ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 28px; }
.wa-card { margin-top: 40px; padding: 28px; background: var(--espresso); color: var(--on-dark); }
.wa-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 8px; }
.wa-card p { color: var(--mist); font-size: var(--fs-small); margin-bottom: 20px; }

.quote { background: var(--white); border: 1px solid var(--line-light); padding: clamp(28px, 4vw, 56px); }
.quote:focus { outline: none; }
.quote__title { font-family: var(--font-display); font-size: 1.8rem; }
.quote__hint { color: var(--ink-soft); font-size: var(--fs-small); margin: 8px 0 28px; }
.quote__alert { padding: 14px 16px; border-left: 2px solid var(--danger); background: rgba(162, 59, 42, 0.07); color: var(--danger); font-size: var(--fs-small); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 500; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 14px;
	background: #fff; border: 1px solid #c3c8c5; border-radius: var(--radius);
	font-size: 1rem; color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper-deep); box-shadow: 0 0 0 3px rgba(200, 145, 111, 0.28); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; color: var(--danger); font-size: var(--fs-xs); }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { margin-bottom: 10px; padding: 0; }
.choice__row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__item span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #c3c8c5; border-radius: var(--radius); font-size: var(--fs-small); transition: all 0.2s; }
.choice__item input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--frost); }
.choice__item input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.quote__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.quote__wa { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: var(--fs-small); }
.quote__wa .icon { width: 20px; height: 20px; color: var(--copper-deep); }
.quote__done { text-align: center; padding: 24px 0; }
.quote__done > .icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--copper-deep); }
.quote__done h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.quote__done p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Blog fallback ---------- */
.post-list { display: grid; gap: 40px; max-width: 760px; }
.post-item { border-top: 1px solid var(--line-light); padding-top: 24px; }
.post-item__title { font-family: var(--font-display); font-size: 1.7rem; }
.post-item__title a { text-decoration: none; }
.post-item__meta { font-size: var(--fs-xs); color: var(--ink-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.site-nav__list { gap: 24px; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 1023px) {
	:root { --header-h: 72px; }
	.brand-logo--horizontal, .custom-logo-link img { height: 36px; }

	/* Mobile navigation: full-screen panel */
	.nav-toggle { display: grid; }
	.header-wa { display: none; }
	.site-header__actions { margin-left: auto; }
	/* backdrop-filter would trap the fixed nav panel inside the header */
	.site-header.is-scrolled, .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(21, 16, 13, 0.98); }
	.site-nav {
		position: fixed; inset: 0; z-index: 1;
		background: var(--espresso);
		padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
		display: flex; flex-direction: column; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { font-family: var(--font-display); font-size: 2rem; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
	.site-nav__list a::after { display: none; }
	.site-nav__list .current-menu-item > a { color: var(--copper-light); }
	.site-nav__mobile-extra { display: grid; gap: 12px; margin-top: 36px; }
	.site-nav__contact { margin: 16px 0 0; color: var(--mist); font-size: var(--fs-small); line-height: 2; }
	.site-nav__contact a { color: var(--mist); text-decoration: none; }
	.nav-open { overflow: hidden; }

	/* Mobile action bar */
	.wa-float { display: none; }
	.mobile-bar {
		position: fixed; inset: auto 0 0; z-index: 90;
		display: grid; grid-template-columns: 1fr 1fr 1.6fr;
		background: rgba(16, 12, 10, 0.97); border-top: 1px solid var(--line-dark);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; color: var(--on-dark); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.02em; }
	.mobile-bar a + a { border-left: 1px solid var(--line-dark); }
	.mobile-bar .icon { width: 20px; height: 20px; color: var(--copper-light); }
	.mobile-bar .mobile-bar__quote { background: var(--copper); color: var(--espresso); font-size: 0.9375rem; font-weight: 500; }
	body:has(.mobile-bar) { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
	.nav-open .mobile-bar { display: none; }

	/* Layout collapses */
	.hero__inner { grid-template-columns: 1fr; }
	.hero__mirror { order: -1; }
	.mirror { width: min(64vw, 400px); margin: 0 auto; }
	.hero__title { max-width: 14ch; }
	.intro__grid, .why__grid, .about__grid, .contact__grid, .contact-preview__grid, .faq__grid, .service__grid, .project__grid, .service-row__grid { grid-template-columns: 1fr; }
	.services-index__grid { grid-template-columns: 1fr; }
	.services-index__stage { display: none; }
	.services-index__media--inline { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 22px; }
	.services-index__item { padding: 28px 0 30px; }
	.why__media { max-width: 460px; }
	.arch--sticky { position: static; max-width: 460px; }
	.service-row--flip .service-row__media { order: 0; }
	.service-row__media { aspect-ratio: 4 / 3; }
	.service__aside, .project__aside { position: static; }
	.work__grid { grid-template-columns: 1fr 1fr; }
	.work__grid .project-card--feature { grid-column: 1 / -1; grid-row: auto; }
	.project-card--feature .project-card__media { min-height: 0; aspect-ratio: 4 / 3; }
	.card-row { grid-template-columns: 1fr 1fr; }
	.other-services__list { grid-template-columns: 1fr; }
	.testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
	.site-header__cta { display: none; }
	.hero { padding-top: calc(var(--header-h) + 28px); }
	.hero__services li { width: 100%; padding: 6px 0; }
	.hero__services li:not(:last-child)::after { display: none; }
	.btn-row .btn { flex: 1 1 100%; }
	.facts, .why__list, .process__list, .field-grid, .contact-preview .contact-list { grid-template-columns: 1fr; }
	.work__grid, .card-row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
	.pager__inner { grid-template-columns: 1fr; }
	.pager__link--next { grid-column: 1; text-align: left; }
	.page-hero::after { right: -55%; opacity: 0.6; }
	.service__cover, .project__cover { aspect-ratio: 4 / 3; }
	.quote__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
	.mirror__halo { opacity: 1; }
	.mirror__glass img { transform: none; }
}

@media print {
	.site-header, .mobile-bar, .wa-float, .cta { display: none; }
	body { background: #fff; }
}
