/* =========================================================================
   FAVORITE HOME — refinement layer (v3)
   Modern type (fonts chosen in Dashboard → Favorite Home → Fonts), a calmer,
   more professional scale, aligned hero, compact grids, new footer, mobile pass.
   ========================================================================= */

:root {
	--fs-xl: clamp(2.6rem, 6vw, 5.8rem);
	--fs-1: clamp(2rem, 3.8vw, 3.8rem);
	--fs-2: clamp(1.7rem, 2.8vw, 2.8rem);
	--fs-3: clamp(1.25rem, 1.7vw, 1.7rem);
	--fs-lead: clamp(1rem, 1.15vw, 1.15rem);
	--sec: clamp(72px, 8.5vw, 136px);
	--gutter: clamp(24px, 6.5vw, 128px);   /* generous side margins (was up to 64px) */
	--max: 1680px;
	--display-weight: 400;
	--display-track: -.025em;
	--display-lh: 1.04;
}
body { font-size: clamp(15px, .95vw, 16px); line-height: 1.7; }

/* ---------- Display typography (modern) ---------- */
.display-xl, .display-1, .display-2, .display-3,
.opening__title, .page-hero__title, .project-hero__title, .article__title, .cine__title, .footer-cta__title,
.pcard__title, .svc-row__title, .col-list__title, .showcase__name, .process__title, .tile__title, .story__title,
.team__name, .stat dd, .build__counter, .build__step-title, .villa__cap-title, .accordion__trigger, .post-card__title,
.mobile-menu__list > li > a, .preloader__mark, .why__cell-title, .svc-feature__num, .materials__tab, .collections__link,
.facts dd, .post-nav__title, .aside-cta p, .testimonials__quote, .cmq__set, .story__end-disc span, .mat-card__title {
	font-family: var(--serif);
	font-weight: var(--display-weight);
	letter-spacing: var(--display-track);
}
.display-xl, .display-1, .display-2, .opening__title, .page-hero__title, .project-hero__title, .cine__title { line-height: var(--display-lh); }
.display-1 { font-size: var(--fs-1); }
.display-2 { font-size: var(--fs-2); line-height: 1.1; }
.display-3 { font-size: var(--fs-3); }
.display-xl { font-size: var(--fs-xl); }
/* Gold accent words: same font by default; optional italic serif (Fonts tab) */
.display-xl em, .display-1 em, .display-2 em, .display-3 em, .opening__title em, .cine__title em, .contact__title em, .footer-cta__title em, .page-hero__title em {
	font-style: var(--accent-style, normal); font-family: var(--accent-font, inherit); font-weight: var(--accent-weight, inherit); color: var(--accent-ink);
}
.display-xl em, .display-1 em, .opening__title em, .cine__title em, .page-hero__title em { text-transform: var(--accent-case, inherit); }
.eyebrow { font-size: .7rem; letter-spacing: .22em; }
/* Logged-in admin bar */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header, .admin-bar .mobile-menu { top: 46px; } }
.lead { font-size: var(--fs-lead); }
.btn { padding: 15px 24px; font-size: .74rem; letter-spacing: .12em; }
.btn--pill { padding: 11px 18px; }
.brand__word { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.brand__word em { font-style: normal; font-weight: 300; margin-left: .3em; }
.site-header.is-scrolled .brand__word { font-size: 1.15rem; letter-spacing: .1em; }

/* Size corrections (things that were too big) */
.svc-row__title { font-size: clamp(1.35rem, 2.4vw, 2.4rem); }
.col-list__title { font-size: clamp(1.5rem, 2.8vw, 2.8rem); }
.stat dd { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
.process__num { font-size: clamp(2rem, 3vw, 3rem); }
.process__title { font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
.build__counter { font-size: clamp(2.4rem, 3.8vw, 3.8rem); }
.build__step-title { font-size: clamp(1rem, 1.2vw, 1.15rem); }
.build__step.is-active .build__step-title { font-size: clamp(1.25rem, 1.7vw, 1.7rem); }
.villa__cap-title { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.showcase__name { font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1; }
.cmq__set { font-size: clamp(2.2rem, 5.6vw, 5.6rem); }
.cine__title { font-size: clamp(2.2rem, 5.2vw, 5.4rem); max-width: 16ch; }
.accordion__trigger { font-size: clamp(1rem, 1.3vw, 1.2rem); padding: 22px 0; }
.tile__title { font-size: clamp(1.25rem, 1.7vw, 1.7rem); }
.story__title { font-size: clamp(1.1rem, 1.4vw, 1.45rem); }
.team__name { font-size: 1.15rem; }
.post-card__title { font-size: clamp(1.3rem, 1.9vw, 1.9rem); }
.post-card--lead .post-card__title { font-size: var(--fs-2); }
.page-hero__title { font-size: var(--fs-1); margin-block: 14px 18px; }
.page-hero--plain .page-hero__title { font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.page-hero--plain { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero--image { min-height: 72svh; }
.mobile-menu__list > li > a { font-size: clamp(1.7rem, 7vw, 2.6rem); }
.preloader__mark { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.preloader__word--b { font-style: normal; font-weight: 300; }
.section-head { margin-bottom: clamp(32px, 4.5vw, 64px); }
.section-head .display-1, .section-head .display-2 { max-width: 20ch; }
.testimonials__quote { font-size: clamp(1.4rem, 2.4vw, 2.3rem); }
.contact__title { font-size: var(--fs-1); }
.facts dd { font-size: 1.2rem; }

/* =========================================================================
   Hero — one aligned column, vertically centred
   ========================================================================= */
.opening { height: 200vh; }
.opening__content { top: 0; bottom: 0; display: flex; align-items: center; padding-top: var(--header-h); padding-bottom: 96px; }
.opening__copy { width: min(640px, 100%); display: flex; flex-direction: column; align-items: flex-start; }
.opening__eyebrow { margin: 0 0 18px; font-size: .7rem; letter-spacing: .24em; }
.opening__title { font-size: clamp(2.6rem, 5.4vw, 5.6rem); margin: 0 0 22px; text-transform: uppercase; }
.opening__title .line { display: block; padding: 0; }
.opening__lede { margin: 0 0 30px; max-width: 40ch; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.opening__ctas { margin-bottom: 34px; }
.opening__nav { position: absolute; z-index: 4; right: var(--gutter); bottom: 36px; }
.opening__sticky::after { background: linear-gradient(90deg, rgba(5,5,5,.82) 0%, rgba(5,5,5,.5) 38%, rgba(5,5,5,.05) 72%), linear-gradient(180deg, rgba(5,5,5,.45), transparent 26%, transparent 68%, rgba(5,5,5,.7)); }

/* =========================================================================
   Services — intro column + compact card rail
   ========================================================================= */
.services__grid { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.services__intro { display: grid; gap: 18px; justify-items: start; padding-left: 24px; border-left: 1px solid var(--gold-line); }
.services__intro .display-2 { margin: 0; }
.srail { min-width: 0; display: grid; gap: 22px; margin-right: calc(var(--gutter) * -1); }
.srail__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; padding: 24px 0 28px; margin: -24px 0 -28px; cursor: grab; outline-offset: 4px; }
.srail__viewport::-webkit-scrollbar { display: none; }
.srail__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.srail__viewport.is-dragging .pcard { pointer-events: none; }
.srail__track { display: flex; gap: 16px; width: max-content; padding-right: var(--gutter); }
.srail__item { flex: none; width: clamp(210px, 18vw, 260px); scroll-snap-align: start; will-change: transform; transform-origin: 50% 50%; }
.srail .pcard { aspect-ratio: 4 / 5; padding: 20px; border-radius: 12px; }
.srail .pcard__num { font-size: 1.1rem; }
.srail .pcard__title { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.2; }
.srail .pcard__points { font-size: .72rem; }
.srail .pcard__arrow { width: 34px; height: 34px; right: 16px; bottom: 18px; }
.srail .pcard__body { padding-right: 40px; gap: 6px; }
.srail__controls { display: flex; align-items: center; gap: 12px; padding-right: var(--gutter); }
.srail__count { display: flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; margin-right: auto; }
.srail__count b { color: var(--accent-ink); font-weight: 600; }
.srail__bar { width: 90px; height: 1px; background: var(--line); overflow: hidden; }
.srail__bar i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(.08); }
.srail__controls .round-btn { width: 44px; height: 44px; }

/* =========================================================================
   Why — compact icon grid
   ========================================================================= */
.why--icons .why__grid { display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why--icons .why__head { display: grid; gap: 18px; justify-items: start; margin: 0; }
.why--icons .why__head .display-2 { margin: 0; }
.why__icons { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why__cell { padding: clamp(20px, 2vw, 28px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: background .5s; }
.why__cell:hover { background: rgba(201,163,106,.05); }
.why__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--gold-line); border-radius: 50%; }
.why__icon svg { width: 22px; height: 22px; }
.why__cell-title { font-size: 1.05rem; line-height: 1.25; margin: 0; }
.why__cell p { font-size: .86rem; color: var(--ink-2); line-height: 1.55; }

/* Odometer counters */
/* Each digit cell is taller than the glyph (serif numerals exceed 1em), so no digit bleeds into its neighbours */
.odo { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.18em; line-height: 1.18em; vertical-align: bottom;
	-webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
/* flex:none + height:auto — the column must keep its full 20-cell height, otherwise yPercent rolls by the wrong amount */
.odo__col { display: flex; flex-direction: column; flex: none; height: auto !important; align-self: flex-start; }
.odo__col span { display: block; height: 1.18em; line-height: 1.18em; text-align: center; }
.stat dd { line-height: 1.18; display: flex; align-items: flex-start; gap: 2px; }
.stat dd sup { line-height: 1; margin-top: .25em; }

/* =========================================================================
   Grids — tighter, more professional proportions
   ========================================================================= */
.intro__grid { grid-template-columns: 1fr minmax(0, .9fr); }
.intro__img-main { aspect-ratio: 4 / 4.6; }
.intro__media { max-width: 560px; justify-self: end; width: 100%; }
.expertise__grid { grid-template-columns: minmax(0, .9fr) 1fr; }
.bp { max-width: 540px; }
.story__card--xl { width: clamp(300px, 36vw, 620px); }
.story__card--lg { width: clamp(260px, 28vw, 480px); }
.story__card--md { width: clamp(230px, 22vw, 380px); }
.story__card--sm { width: clamp(200px, 16vw, 280px); }
.portfolio__grid { gap: clamp(28px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.tile--xl .tile__media { aspect-ratio: 2.4 / 1; }
.tile--sm { margin-top: 10%; }
.tile--md:nth-child(even) { margin-top: 6%; }
.svc-feature { grid-template-columns: 1fr 1fr; padding-block: clamp(32px, 4vw, 64px); }
.svc-feature__media { aspect-ratio: 16 / 11; }
.team__grid { grid-template-columns: repeat(5, 1fr); }
.team__member:nth-child(n) { margin-top: 0; }
.compare { max-height: 72vh; }
.villa { height: 340vh; }
.build { height: 520vh; }
.showcase { height: calc(var(--n, 5) * 60vh + 100vh); }
.mat-card { width: clamp(130px, 11vw, 180px); }
.stats--wide .stat { padding: 8px 20px; }

/* =========================================================================
   Footer v2
   ========================================================================= */
.site-footer--v2 { position: relative; background: var(--deep); padding: clamp(64px, 8vw, 104px) 0 calc(22px + env(safe-area-inset-bottom, 0px)); overflow: hidden; box-shadow: inset 0 1px 0 var(--gold-line); }
.footer-glow { position: absolute; width: 720px; height: 720px; left: -260px; top: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(201,163,106,.14), transparent 62%); pointer-events: none; animation: fh-glow 22s ease-in-out infinite alternate; }
@keyframes fh-glow { to { transform: translate(55vw, 140px); } }
.footer-cta { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(36px, 4.5vw, 60px); border-bottom: 1px solid var(--line); }
.footer-cta__title { font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.08; max-width: 20ch; margin-top: 14px; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-main { position: relative; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 5vw, 68px); }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 340px; }
.footer-brand__about { color: var(--ink-2); font-size: .92rem; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 42px; height: 42px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.footer-social a:hover { background: var(--gold-grad); color: #0A0A0A; border-color: transparent; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col__title { font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-link { color: var(--ink-2); font-size: .92rem; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); padding-bottom: 2px; }
.footer-link:hover, .footer-link:focus-visible { color: var(--ink); background-size: 100% 1px; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--ink-2); font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.footer-contact small { color: rgba(163,155,143,.75); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-right: 80px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.footer-bottom__tag { color: var(--accent); letter-spacing: .06em; }
.back-top { width: 44px; height: 44px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s; }
.back-top:hover { background: var(--gold-grad); color: #0A0A0A; }
.back-top svg { width: 18px; height: 18px; }
/* Reveal: the page lifts away to show the footer (only when it fits the screen) */
.js .wa-float:not(.is-visible) { opacity: 0; transform: translateY(16px); pointer-events: none; }
.footer-reveal .site-main { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.footer-reveal .site-footer--v2 { position: sticky; bottom: 0; z-index: 0; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
	.footer-main { grid-template-columns: 1fr 1fr; }
	.team__grid { grid-template-columns: repeat(3, 1fr); }
	.why__icons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
	:root { --gutter: 24px; }
	.opening { height: 140vh; }
	.opening__content { align-items: flex-end; padding-bottom: 104px; }
	.opening__title { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
	.opening__ctas { width: 100%; flex-direction: column; }
	.opening__ctas .btn { justify-content: space-between; }
	.opening__nav { left: var(--gutter); right: var(--gutter); bottom: 24px; justify-items: stretch; }
	.opening__controls { justify-content: space-between; }
	.opening__caption { display: none; }
	.opening__sticky::after { background: linear-gradient(180deg, rgba(5,5,5,.5), rgba(5,5,5,.25) 30%, rgba(5,5,5,.85) 75%); }

	.services__grid, .why--icons .why__grid, .expertise__grid, .intro__grid { grid-template-columns: 1fr; }
	.services__intro { padding-left: 16px; }
	.srail__item { width: 70vw; max-width: 280px; }
	.intro__media { justify-self: stretch; max-width: none; }
	.bp { max-width: none; }
	.why__icons { grid-template-columns: 1fr 1fr; }
	.why__cell { padding: 18px 14px; }
	.villa { height: 240vh; }
	.build { height: 400vh; }
	.team__grid { grid-template-columns: 1fr 1fr; }
	.svc-feature { grid-template-columns: 1fr; }
	.cine { height: 150vh; }
	.cine__title { font-size: clamp(2rem, 9vw, 3rem); }

	.footer-cta { flex-direction: column; align-items: flex-start; }
	.footer-cta__actions { width: 100%; }
	.footer-cta__actions .btn { flex: 1 1 auto; justify-content: space-between; }
	.footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer-brand { grid-column: 1 / -1; max-width: none; }
	.footer-col:last-child { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; align-items: flex-start; padding-right: 70px; }
	.footer-bottom__tag { display: none; }
}
@media (max-width: 420px) {
	.why__icons { grid-template-columns: 1fr; }
	.btn { padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) { .footer-glow { animation: none; } }

/* =========================================================================
   v3.1 — centered page heroes (Dashboard → Fonts → Page hero text alignment)
   ========================================================================= */
/* Homepage hero */
.hero-center .opening__content { justify-content: center; }
.hero-center .opening__copy { align-items: center; text-align: center; width: min(900px, 100%); margin-inline: auto; }
.hero-center .opening__lede { margin-inline: auto; }
.hero-center .opening__ctas { justify-content: center; }
.hero-center .opening__sticky::after {
	background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(5,5,5,.66), rgba(5,5,5,.28) 75%),
		linear-gradient(180deg, rgba(5,5,5,.5), transparent 24%, transparent 70%, rgba(5,5,5,.8));
}
/* Inner page, project, article and 404 heroes */
.hero-center :is(.page-hero__content, .project-hero__content, .article__head, .notfound .container) { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-center :is(.page-hero, .project-hero, .article__head, .notfound) .crumbs ol { justify-content: center; }
.hero-center :is(.page-hero, .project-hero, .article__head, .notfound) .eyebrow { justify-content: center; }
.hero-center :is(.page-hero, .project-hero, .article__head, .notfound) .eyebrow::before { display: block; content: ""; width: 46px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.hero-center :is(.page-hero__title, .project-hero__title, .article__title) { margin-inline: auto; max-width: 20ch; }
.hero-center .page-hero--plain .page-hero__title { max-width: none; }
.hero-center .page-hero__lede { margin-inline: auto; }
.hero-center .page-hero--image { align-items: center; }
.hero-center .page-hero--image .page-hero__content { padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-center .page-hero--image::after { background: radial-gradient(ellipse 70% 65% at 50% 55%, rgba(8,8,8,.68), rgba(8,8,8,.32) 80%), linear-gradient(180deg, rgba(8,8,8,.5), transparent 30%, rgba(8,8,8,.55)); }
.hero-center .project-hero { align-items: center; }
.hero-center .project-hero .hero__shade { background: radial-gradient(ellipse 65% 55% at 50% 52%, rgba(8,8,8,.72), rgba(8,8,8,.3) 80%), linear-gradient(180deg, rgba(8,8,8,.5), transparent 30%, rgba(8,8,8,.55)); }
.hero-center .project-hero__content { padding-top: var(--header-h); }
.hero-center .notfound__links { justify-content: center; }
.hero-center .notfound__search { width: min(520px, 100%); }
.hero-center .search-form { margin-inline: auto; }
.hero-center .page-hero .scroll-cue { right: 50%; transform: translateX(50%); bottom: 22px; writing-mode: horizontal-tb; flex-direction: row; }
.hero-center .page-hero .scroll-cue i { width: 40px; height: 1px; }
.hero-center .page-hero .scroll-cue i::after { width: 40%; height: 100%; animation-name: cue-x; }
@keyframes cue-x { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* Centered section heads (process timeline, team) */
.head--center { display: flex; flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }
.head--center .eyebrow::before { display: block; content: ""; width: 46px; height: 1px; background: currentColor; opacity: .55; flex: none; transform: scaleX(var(--rule, 1)); transform-origin: right; }
.head--center :is(.display-1, .display-2) { max-width: 22ch; margin-inline: auto; }
.head--center::before { display: none; }
.process__head.head--center { margin-bottom: clamp(48px, 6vw, 90px); }
.section--dark .eyebrow { color: var(--accent); }

/* =========================================================================
   Villa walkthrough — cinematic photographic fly-through
   ========================================================================= */
.wt { height: calc(var(--n, 4) * 85vh + 100vh); background: #000; }
.wt .villa__fallback, .wt .villa__canvas { display: none; }
.wt__stage { position: absolute; inset: 0; overflow: hidden; background: #000; }
.wt__scene { position: absolute; inset: 0; overflow: hidden; }
.motion:not(.fh-fallback) .wt__scene + .wt__scene { clip-path: inset(50% 50% 50% 50%); }
.wt__media { position: absolute; inset: 0; transform-origin: 50% 54%; will-change: transform; }
.wt__media img { width: 100%; height: 100%; object-fit: cover; }
/* Scene 1 drawing: the same photograph rendered as gold linework on black */
.wt__sketch { background: #050505; will-change: opacity; }
.wt__sketch img { filter: url(#fh-sketch) invert(1) sepia(1) saturate(2.4) hue-rotate(-8deg) brightness(.95) contrast(1.15); }
.wt__frame { position: absolute; z-index: 4; border: 1px solid rgba(237,208,154,.95); box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 40px rgba(237,208,154,.25); pointer-events: none; opacity: 0; }
.wt__frame::before, .wt__frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #EDD09A; }
.wt__frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.wt__frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.wt__leak { position: absolute; inset: -20% -40%; z-index: 60; pointer-events: none; opacity: 0; mix-blend-mode: screen;
	background: radial-gradient(ellipse 30% 60% at 50% 50%, rgba(255,196,120,.55), rgba(255,160,80,.15) 45%, transparent 70%); }
.wt__shade { position: absolute; inset: 0; z-index: 61; pointer-events: none;
	background: radial-gradient(ellipse 120% 90% at 60% 50%, transparent 45%, rgba(0,0,0,.55) 100%),
		linear-gradient(90deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.35) 34%, transparent 58%),
		linear-gradient(180deg, rgba(5,5,5,.55), transparent 22%, transparent 70%, rgba(5,5,5,.6)); }
.wt__grain { position: absolute; inset: -50%; z-index: 62; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: wt-grain 1.2s steps(6) infinite; }
@keyframes wt-grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-2%,6%)} 80%{transform:translate(5%,-2%)} 100%{transform:translate(0,0)} }
.wt .villa__ui { z-index: 70; }
.wt .villa__cap { background: rgba(8,8,8,.55); border-color: rgba(201,163,106,.35); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.wt__credit { color: rgba(242,237,228,.75); letter-spacing: .18em; }
/* No motion / reduced motion: first photograph, all captions readable */
html:not(.motion) .wt, .fh-fallback .wt { height: auto; }
html:not(.motion) .wt__scene + .wt__scene, .fh-fallback .wt__scene + .wt__scene, html:not(.motion) .wt__sketch, .fh-fallback .wt__sketch { display: none; }
@media (prefers-reduced-motion: reduce) { .wt__grain { animation: none; } }
@media (max-width: 899px) {
	.wt { height: calc(var(--n, 4) * 70vh + 100vh); }
	.wt__shade { background: linear-gradient(180deg, rgba(5,5,5,.75), rgba(5,5,5,.15) 34%, rgba(5,5,5,.2) 55%, rgba(5,5,5,.85)); }
}

/* Walkthrough — WebGL cinematic layer + chapter index */
.wt__gl { position: absolute; inset: 0; z-index: 55; pointer-events: none; }
.wt__gl canvas { display: block; width: 100% !important; height: 100% !important; }
.wt.is-gl .wt__scene, .wt.is-gl .wt__leak, .wt.is-gl .wt__grain { visibility: hidden; }
.wt.is-gl .wt__shade { background:
	linear-gradient(90deg, rgba(5,5,5,.7) 0%, rgba(5,5,5,.28) 32%, transparent 55%, transparent 74%, rgba(5,5,5,.55) 100%),
	linear-gradient(180deg, rgba(5,5,5,.5), transparent 22%, transparent 72%, rgba(5,5,5,.55)); }
.wt .villa__dots { display: none; }
.wt__index { grid-column: 3; grid-row: 1 / -1; align-self: center; justify-self: end; position: relative; display: grid; gap: 4px; padding-left: 22px; pointer-events: auto; }
.wt__index-bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: rgba(242,237,228,.18); overflow: hidden; }
.wt__index-bar i { display: block; width: 100%; height: 100%; background: var(--gold-grad); transform-origin: top; transform: scaleY(0); }
.wt__chapter { text-shadow: 0 1px 12px rgba(0,0,0,.7); display: flex; align-items: baseline; gap: 10px; padding: 7px 0; text-align: left; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,237,228,.45); transition: color .5s, transform .6s var(--ease); }
.wt__chapter span { font-size: .66rem; color: rgba(201,163,106,.6); font-variant-numeric: lining-nums tabular-nums; }
.wt__chapter:hover { color: rgba(242,237,228,.85); }
.wt__chapter.is-done { color: rgba(242,237,228,.62); }
.wt__chapter.is-active { color: #fff; transform: translateX(6px); }
.wt__chapter.is-active span { color: var(--accent); }
.wt__chapter.is-active::before { content: ""; position: absolute; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(201,163,106,.8); margin-top: 4px; }
.wt__hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(242,237,228,.8); pointer-events: none; transition: opacity .3s; }
.wt__hint i { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: wt-hint 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes wt-hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
html:not(.motion) .wt__index, .fh-fallback .wt__index, html:not(.motion) .wt__hint, .fh-fallback .wt__hint { display: none; }
@media (max-width: 899px) {
	.wt__index { display: none; }
	.wt__hint { bottom: auto; top: calc(var(--header-h) + 140px); }
}

/* =========================================================================
   v3.5 — Framed panels: every full-width section (except page heroes) sits inside
   side margins with rounded corners, so content never touches the screen edge.
   ========================================================================= */
:root { --frame: clamp(10px, 2.2vw, 36px); --frame-r: clamp(14px, 1.5vw, 26px); }
.wt__stage { inset: 12px var(--frame); border-radius: var(--frame-r); }
.showcase__backdrops { inset: 12px var(--frame); border-radius: var(--frame-r); overflow: hidden; }
.story__viewport { margin-inline: var(--frame); border-radius: var(--frame-r); overflow: hidden; }
.story__track { padding-inline: calc(var(--gutter) - var(--frame)); }
.cmq { margin-inline: var(--frame); border-radius: var(--frame-r); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.next-project { margin: 0 var(--frame) var(--frame); border-radius: var(--frame-r); }
.build__stage { border-radius: var(--frame-r); }
/* Services rail now stays inside the margins, fading softly at its right edge */
.srail { margin-right: 0; }
.srail__track { padding-right: 0; }
.srail__controls { padding-right: 0; }
.srail__viewport { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.wt .wt__index { margin-right: calc(var(--frame) * .5); }

/* Walkthrough (CSS fallback): the next room opens from the previous scene's window
   as a soft, feathered aperture instead of a framed doorway. */
.motion:not(.fh-fallback) .wt__scene + .wt__scene {
	clip-path: none; --r: 0%;
	-webkit-mask-image: radial-gradient(circle at var(--ax, 50%) var(--ay, 50%), #000 calc(var(--r) - 22%), transparent var(--r));
	mask-image: radial-gradient(circle at var(--ax, 50%) var(--ay, 50%), #000 calc(var(--r) - 22%), transparent var(--r));
}
.wt__frame { display: none; }

/* =========================================================================
   v3.5 — Editorial typography for paragraphs
   ========================================================================= */
/* Lead paragraphs: refined display serif */
.lead, .intro__body .lead {
	font-family: var(--serif); font-weight: 500; font-size: clamp(1.22rem, 1.5vw, 1.52rem);
	line-height: 1.48; letter-spacing: .004em; color: #EFE8DC;
}
/* Supporting copy under headings: italic serif in warm ivory */
.services__intro .muted, .why--icons .why__head .muted, .faq__head .muted, .section-head__text,
.page-hero__lede, .opening__lede, .cine__sub p, .contact__lede, .showcase__text {
	font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.08rem, 1.3vw, 1.32rem);
	line-height: 1.5; letter-spacing: .01em; color: #D2C8B9;
}
.opening__lede { color: rgba(255,255,255,.92); font-size: clamp(1.15rem, 1.45vw, 1.45rem); }
/* Body text: lighter weight, airier tracking and leading */
.intro__body p:not(.lead), .expertise__text > p, .why__cell p, .svc-feature__body > p, .prose p, .prose li,
.accordion__content p, .villa__cap p, .build__step p, .footer-brand__about, .team__role, .tile__loc, .story__meta {
	font-weight: 300; letter-spacing: .02em; line-height: 1.85; color: #B9B0A3;
}
/* Gold drop-cap on the opening paragraph of introductions */
.intro .intro__body > .lead:first-child::first-letter {
	float: left; font-family: var(--serif); font-style: normal; font-weight: 500; color: var(--accent);
	font-size: 3.7em; line-height: .8; padding: .08em .12em 0 0; text-shadow: 0 0 24px rgba(201,163,106,.35);
}
/* Fine gold rule leading into body copy blocks */
.intro__body > p:not(.lead):first-of-type, .expertise__text > p { position: relative; padding-left: 22px; }
.intro__body > p:not(.lead):first-of-type::before, .expertise__text > p::before { content: ""; position: absolute; left: 0; top: .75em; width: 12px; height: 1px; background: var(--accent); }

/* Ambient warm light that follows the cursor (desktop) */
.ambient-light { position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; z-index: 450; mix-blend-mode: screen; opacity: 0; transition: opacity .8s;
	background: radial-gradient(circle, rgba(232,196,140,.11) 0%, rgba(201,163,106,.05) 38%, transparent 68%); will-change: transform; }
.ambient-light.is-on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .ambient-light { display: none; } }

/* =========================================================================
   v3.6 — Centered section headings on every page
   ========================================================================= */
.section-head, .story__head, .showcase__head, .faq__head, .why--icons .why__head, .services__intro, .process__head {
	display: flex !important; flex-direction: column; align-items: center; text-align: center;
	max-width: 900px; margin-left: auto !important; margin-right: auto !important;
}
.section-head::before, .why__head::before { display: none !important; }
.section-head .eyebrow, .story__head .eyebrow, .showcase__head .eyebrow, .faq__head .eyebrow, .why__head .eyebrow, .services__intro .eyebrow { justify-content: center; }
:is(.section-head, .story__head, .showcase__head, .faq__head, .why__head, .services__intro) .eyebrow::before {
	display: block; content: ""; width: 46px; height: 1px; background: currentColor; opacity: .55; flex: none; transform: scaleX(var(--rule, 1)); transform-origin: right;
}
:is(.section-head, .story__head, .showcase__head, .faq__head, .why__head, .services__intro) :is(.display-1, .display-2, .section-head__text, p) { margin-left: auto; margin-right: auto; }
.section-head :is(.display-1, .display-2) { max-width: 22ch; }
:is(.faq__head, .why__head, .services__intro, .story__head, .showcase__head) :is(.display-1, .display-2) { max-width: 22ch !important; }
.section-head__text, .faq__head .muted, .why__head .muted, .services__intro .muted { max-width: 54ch; }
.section-head__link { justify-self: auto; margin-top: 6px; }
.section-head { gap: 18px; }
/* Progress bar under the gallery heading */
.story__head { gap: 16px; }
.story__progress { align-self: center; }
/* Side-by-side sections now stack: centered heading above the content */
.services__grid { grid-template-columns: 1fr !important; gap: clamp(32px, 4vw, 56px); }
.services__intro { padding-left: 0; border-left: 0; gap: 18px; }
.why--icons .why__grid { grid-template-columns: 1fr !important; gap: clamp(36px, 4.5vw, 64px); }
.why--icons .why__head { gap: 18px; }
.faq__grid { grid-template-columns: 1fr !important; gap: clamp(32px, 4vw, 56px); }
.faq__head { position: static !important; gap: 18px; }
.accordion { width: 100%; max-width: 920px; margin-inline: auto; }
/* Showcase copy (current material) centered too */
.showcase__inner { justify-items: center; text-align: center; }
.showcase__now { margin-inline: auto; justify-self: center; }
.showcase__now-item { justify-items: center; }
.showcase__text { margin-inline: auto; }
.showcase__cards { justify-content: center; }
/* Collections list + offices + split CTA on inner pages */
.split-cta { grid-template-columns: 1fr !important; justify-items: center; text-align: center; max-width: 820px; margin-inline: auto; }
.split-cta .materials__actions { justify-content: center; }
.offices { text-align: center; }
.offices > div { justify-items: center; }
.offices p:not(.eyebrow) { margin-inline: auto; }
.offices .eyebrow { justify-content: center; }
/* Footer CTA centered */
.footer-cta { flex-direction: column; align-items: center !important; text-align: center; }
.footer-cta__text .eyebrow { justify-content: center; }
.footer-cta__title { margin-inline: auto; }
.footer-cta__actions { justify-content: center; }

/* =========================================================================
   v3.6 — Insights: one article after another, single centered column
   ========================================================================= */
.posts { grid-template-columns: 1fr !important; max-width: 880px; margin-inline: auto; gap: 0 !important; }
.post-card, .post-card--lead { grid-column: auto; border-top: 1px solid var(--line); }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card__link, .post-card--lead .post-card__link { display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: clamp(40px, 5vw, 68px); }
.post-card__media, .post-card--lead .post-card__media { width: 100%; margin: 0; aspect-ratio: 16 / 8; border-radius: 10px; }
.post-card__body { justify-items: center; gap: 14px; }
.post-card__body .eyebrow { justify-content: center; }
.post-card__body .eyebrow::before { display: block; content: ""; width: 46px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.post-card__title, .post-card--lead .post-card__title { font-size: clamp(1.7rem, 2.8vw, 2.7rem); max-width: 24ch; }
.post-card__body .muted { max-width: 60ch; }
.post-card__link:hover .post-card__title { color: var(--accent-ink); }
.post-card__title { transition: color .4s; }
.pagination { margin-top: 56px; }

/* =========================================================================
   v3.6 — Team: 4 per row, inset from both sides, last row centered
   ========================================================================= */
.team .container { padding-inline: clamp(24px, 9vw, 200px); }
.team__grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3vw, 48px) clamp(18px, 2.2vw, 36px); max-width: 1180px; margin-inline: auto; }
.team__member { flex: 0 0 calc((100% - 3 * clamp(18px, 2.2vw, 36px)) / 4); margin-top: 0 !important; text-align: center; }
.team__photo { aspect-ratio: 4 / 5; }
.team__name { margin-top: 4px; }
@media (max-width: 899px) {
	.team .container { padding-inline: var(--gutter); }
	.team__member { flex-basis: calc((100% - clamp(18px, 2.2vw, 36px)) / 2); }
}

/* =========================================================================
   v3.7 — Text + image sections: text moved in from the edges
   ========================================================================= */
.intro .container, .expertise .container { padding-inline: clamp(24px, 9vw, 200px); }
.intro__grid, .expertise__grid { gap: clamp(40px, 6vw, 110px); align-items: center; }
.intro__text { padding-left: clamp(0px, 3vw, 56px); }
.intro__text .display-1 { max-width: 16ch; }
.intro__body { max-width: 52ch; }
.expertise__text { padding-right: clamp(0px, 3vw, 56px); }
@media (max-width: 899px) {
	.intro .container, .expertise .container { padding-inline: var(--gutter); }
	.intro__text, .expertise__text { padding: 0; }
}

/* =========================================================================
   v3.7 — "Why choose us": staggered gold plaques
   ========================================================================= */
.why__icons { counter-reset: why; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 32px);
	border: 0 !important; max-width: 1180px; margin-inline: auto; padding-bottom: 48px; }
.why__cell {
	counter-increment: why; position: relative; overflow: hidden; isolation: isolate;
	display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 14px;
	padding: clamp(34px, 3.4vw, 52px) clamp(22px, 2.4vw, 36px) clamp(30px, 3vw, 44px) !important;
	border: 1px solid rgba(201,163,106,.18) !important; border-radius: 14px;
	background: linear-gradient(160deg, rgba(201,163,106,.07), rgba(255,255,255,.012) 45%, rgba(0,0,0,.25));
	transition: translate .7s var(--ease), border-color .5s, box-shadow .7s, background .6s;
}
.why__cell:nth-child(3n+2) { margin-top: 48px; margin-bottom: -48px; }
/* large faded numeral */
.why__cell::before {
	content: counter(why, decimal-leading-zero); position: absolute; z-index: -1; right: 16px; top: 8px;
	font-family: var(--serif); font-size: clamp(2.6rem, 3.4vw, 3.6rem); line-height: 1; font-weight: 500;
	color: transparent; -webkit-text-stroke: 1px rgba(201,163,106,.3); transition: -webkit-text-stroke-color .6s, transform .8s var(--ease);
}
/* top gold line that draws across on hover */
.why__cell::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad);
	transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
/* icon in a gold diamond */
.why__icon {
	position: relative; width: 58px !important; height: 58px !important; border: 0 !important; border-radius: 0 !important;
	display: grid; place-items: center; color: var(--accent); margin-bottom: 8px;
}
.why__icon::before {
	content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201,163,106,.55); transform: rotate(45deg);
	background: rgba(201,163,106,.06); transition: transform .8s var(--ease), background .5s, border-color .5s;
}
.why__icon svg { position: relative; width: 22px !important; height: 22px !important; }
.why__cell-title { font-size: clamp(1.15rem, 1.4vw, 1.35rem) !important; letter-spacing: .02em; }
.why__cell p { font-size: .9rem; max-width: 28ch; margin: 0 auto; }
/* corner brackets */
.why__cell .why__icon::after {
	content: ""; position: fixed; display: none;
}
.why__cell:hover { border-color: rgba(201,163,106,.55) !important; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 50px -20px rgba(201,163,106,.35);
	background: linear-gradient(160deg, rgba(201,163,106,.14), rgba(255,255,255,.02) 50%, rgba(0,0,0,.25)); }
.why__cell:hover { translate: 0 -8px; }
.why__cell:hover::after { transform: scaleX(1); }
.why__cell:hover::before { -webkit-text-stroke-color: rgba(201,163,106,.5); transform: translateY(6px) scale(1.04); }
.why__cell:hover .why__icon::before { transform: rotate(135deg); background: rgba(201,163,106,.16); border-color: var(--accent); }
@media (max-width: 1180px) {
	.why__icons { grid-template-columns: repeat(2, 1fr); padding-bottom: 0; }
	.why__cell:nth-child(n) { margin-top: 0; margin-bottom: 0; }
}
@media (max-width: 560px) { .why__icons { grid-template-columns: 1fr; } }

/* =========================================================================
   v3.8 — Process: vertical zig-zag journey with a gold spine
   ========================================================================= */
.process--zig { overflow-x: clip; }
.zig { position: relative; max-width: 1080px; margin: clamp(20px, 3vw, 40px) auto 0; padding: 0; list-style: none; display: grid; gap: clamp(28px, 4vw, 56px); }
.zig__spine { position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; margin-left: -.5px; background: rgba(242,237,228,.12); }
.zig__spine span { display: block; width: 100%; height: 100%; background: linear-gradient(#EDD09A, #A47B3C); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(201,163,106,.55); }
.zig__step { position: relative; display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; }
.zig__node { grid-column: 2; grid-row: 1; justify-self: center; position: relative; width: 22px; height: 22px; }
.zig__node i { position: absolute; inset: 0; transform: rotate(45deg); border: 1px solid rgba(242,237,228,.35); background: #070707; transition: background .6s, border-color .6s, box-shadow .6s, transform .8s var(--ease); }
.zig__node::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(201,163,106,.5); opacity: 0; transform: scale(.4); }
.zig__card {
	grid-row: 1; position: relative; padding: clamp(24px, 2.6vw, 36px) clamp(24px, 2.8vw, 40px);
	border: 1px solid rgba(201,163,106,.16); border-radius: 14px;
	background: linear-gradient(150deg, rgba(201,163,106,.06), rgba(255,255,255,.015) 50%, rgba(0,0,0,.3));
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	transition: border-color .6s, box-shadow .8s, background .6s;
}
.zig__num { grid-row: 1; font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 7vw, 7rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201,163,106,.35); font-variant-numeric: lining-nums; transition: color .8s, -webkit-text-stroke-color .8s, text-shadow .8s; }
.zig__step--l .zig__card { grid-column: 1; text-align: right; }
.zig__step--l .zig__num { grid-column: 3; justify-self: start; padding-left: 10px; }
.zig__step--r .zig__card { grid-column: 3; text-align: left; }
.zig__step--r .zig__num { grid-column: 1; justify-self: end; padding-right: 10px; }
/* little arm connecting card to the spine */
.zig__card::before { content: ""; position: absolute; top: 50%; width: 45px; height: 1px; background: rgba(201,163,106,.25); transition: background .6s; }
.zig__step--l .zig__card::before { right: -45px; }
.zig__step--r .zig__card::before { left: -45px; }
.zig__kicker { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.zig__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.1; margin: 0 0 10px; color: #F2EDE4; }
.zig__card p { font-size: .94rem; font-weight: 300; line-height: 1.75; color: #B9B0A3; margin: 0; }
/* active state */
.zig__step.is-active .zig__node i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px rgba(201,163,106,.8); transform: rotate(225deg); }
.zig__step.is-active .zig__node::after { animation: zig-pulse 2.4s var(--ease) infinite; }
.zig__step.is-active .zig__num { color: rgba(201,163,106,.9); -webkit-text-stroke-color: transparent; text-shadow: 0 0 40px rgba(201,163,106,.25); }
.zig__step.is-active .zig__card { border-color: rgba(201,163,106,.5); box-shadow: 0 30px 70px -35px rgba(0,0,0,.95), 0 0 50px -25px rgba(201,163,106,.4); }
.zig__step.is-active .zig__card::before { background: var(--accent); }
@keyframes zig-pulse { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
html:not(.motion) .zig__spine span, .fh-fallback .zig__spine span { transform: none; }
@media (prefers-reduced-motion: reduce) { .zig__step.is-active .zig__node::after { animation: none; } }
@media (max-width: 899px) {
	.zig__spine { left: 18px; }
	.zig__step { grid-template-columns: 36px 1fr; gap: 0 18px; }
	.zig__node { grid-column: 1; }
	.zig__step--l .zig__card, .zig__step--r .zig__card { grid-column: 2; text-align: left; }
	.zig__step .zig__num { display: none; }
	.zig__card::before { display: none; }
}

/* =========================================================================
   v3.9 — Collections list (Materials page): inset + centered rows
   ========================================================================= */
.collections-section .container { padding-inline: clamp(24px, 9vw, 200px); }
.col-list { max-width: 980px; margin-inline: auto; border-top: 1px solid var(--line); counter-reset: none; }
.col-list li { border-bottom: 1px solid var(--line); }
.col-list__link {
	position: relative; display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 8px;
	padding-block: clamp(26px, 3vw, 40px) !important; border: 0 !important; overflow: hidden; isolation: isolate;
}
.col-list__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s;
	background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(201,163,106,.12), transparent 70%);
}
.col-list__link::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 160px; height: 1px; margin-left: -80px;
	background: var(--gold-grad); transform: scaleX(0); transition: transform .7s var(--ease);
}
.col-list__num { font-size: .7rem; letter-spacing: .24em; color: var(--accent); }
.col-list__title { font-size: clamp(1.6rem, 3vw, 2.8rem) !important; transition: letter-spacing .7s var(--ease), color .5s !important; transform: none !important; }
.col-list__meta { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: color .4s; }
.col-list__link:hover::before { opacity: 1; }
.col-list__link:hover::after { transform: scaleX(1); }
.col-list__link:hover .col-list__title { letter-spacing: .06em; color: var(--accent-ink); font-style: normal !important; }
.col-list__link:hover .col-list__meta { color: var(--accent); }

/* =========================================================================
   v3.9 — Services hub + service pages: padded, centered text
   ========================================================================= */
.page-template-default .section .container:has(.svc-feature),
.section .container:has(> .svc-feature) { padding-inline: clamp(24px, 8vw, 180px); }
.svc-feature { gap: clamp(32px, 5vw, 80px); }
.svc-feature__body { justify-items: center !important; text-align: center; padding-inline: clamp(0px, 2vw, 32px); }
.svc-feature__body > p { margin-inline: auto; }
.svc-feature__body .tags { justify-content: center; }
.svc-feature__body .aside-links { text-align: center; }
.svc-feature__more summary { text-align: center; }
/* Service detail: overview stacked + centered, article area inset */
.service-overview .container { padding-inline: clamp(24px, 9vw, 200px); }
.service-overview__grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 28px; }
.service-overview__lede { max-width: 40ch; margin-inline: auto; text-wrap: balance; }
.content-grid > .prose { max-width: 780px; justify-self: center; width: 100%; }
.service-overview__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; border-top: 0 !important; }
.service-overview__points li { border: 1px solid var(--gold-line) !important; border-radius: 999px; padding: 9px 18px !important; font-size: .85rem; }
.service-overview__points li::before { display: none !important; }
.content-grid { padding-inline: clamp(0px, 5vw, 120px); }
.content-grid .prose h2, .content-grid .prose h3 { text-align: center; }
.content-grid .prose > h2 + p, .content-grid .prose > h3 + p { text-align: center; }
.aside-cta { justify-items: center; text-align: center; }
@media (max-width: 899px) {
	.collections-section .container, .service-overview .container, .section .container:has(> .svc-feature) { padding-inline: var(--gutter); }
	.content-grid { padding-inline: 0; }
}

/* =========================================================================
   v4.0 — Services mega-menu
   ========================================================================= */
.dropdown { width: min(860px, 80vw); padding-top: 22px; }
.dropdown__inner {
	grid-template-columns: 1fr 1fr !important; gap: 36px !important; padding: 34px !important;
	background: linear-gradient(150deg, rgba(22,20,17,.96), rgba(8,8,8,.97)) !important;
	backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(201,163,106,.3) !important; border-radius: 16px;
	box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.02) inset !important;
}
.dropdown__inner::before { content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.dropdown__inner { position: relative; }
.dropdown__list a {
	display: grid !important; grid-template-columns: 30px 1fr 18px; align-items: center; gap: 10px !important;
	padding: 12px 10px !important; border-bottom: 1px solid rgba(242,237,228,.07) !important; border-radius: 8px;
	font-size: .92rem; color: #D9D1C4; transition: background .4s, color .3s, padding .5s var(--ease) !important;
}
.dropdown__list li:last-child a { border-bottom: 0 !important; }
.dropdown__num { color: var(--accent) !important; font-size: .68rem; }
.dropdown__go { color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.dropdown__list a:hover, .dropdown__list a:focus-visible, .dropdown__list a.is-hot { background: rgba(201,163,106,.08); color: #fff !important; padding-left: 16px !important; }
.dropdown__list a:hover .dropdown__go, .dropdown__list a.is-hot .dropdown__go { opacity: 1; transform: none; }
.dropdown__preview { position: relative; aspect-ratio: 4 / 5 !important; border-radius: 12px; overflow: hidden; align-self: stretch; }
.dropdown__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease); }
.has-dropdown.is-open .dropdown__preview img { transform: scale(1.04); }
.dropdown__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.85)); }
.dropdown__caption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 6px; }
.dropdown__cap-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1.1; }
.dropdown__cap-lede { font-size: .78rem; line-height: 1.55; color: rgba(242,237,228,.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================================================
   v4.0 — Service detail: single centered column, related pages as pills
   ========================================================================= */
.content-grid { grid-template-columns: 1fr !important; justify-items: center; gap: clamp(48px, 6vw, 80px) !important; max-width: 1000px; margin-inline: auto; }
.content-grid > .prose { text-align: center; }
.content-grid .prose ul { list-style: none; padding: 0; display: grid; justify-items: center; gap: 10px; }
.content-grid .prose ul li { padding-left: 0 !important; }
.content-grid .prose ul li::before { position: static !important; display: inline-block; vertical-align: middle; margin-right: 10px; }
.content-grid .prose ol { list-style-position: inside; padding: 0; }
.content-aside { width: 100%; }
.content-aside__sticky { position: static !important; display: grid; justify-items: center; gap: 36px; }
.content-aside .eyebrow { justify-content: center; text-align: center; }
.content-aside .eyebrow::before { display: block; content: ""; width: 46px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.aside-links { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px; border-top: 0 !important; margin-top: 18px !important; }
.aside-links li { list-style: none; }
.aside-links a { border: 1px solid var(--gold-line) !important; border-radius: 999px; padding: 10px 18px !important; font-size: .85rem !important; transition: background .4s, color .3s, border-color .4s !important; }
.aside-links a:hover { padding-left: 18px !important; background: rgba(201,163,106,.1); border-color: var(--accent) !important; color: #fff; }
.aside-links a.is-current { background: var(--gold-grad); color: #0A0A0A !important; border-color: transparent !important; padding-left: 18px !important; }
.aside-cta { width: min(560px, 100%); padding: 36px !important; border-radius: 16px; background: linear-gradient(150deg, rgba(201,163,106,.1), rgba(0,0,0,.3)) !important; }
.aside-cta p { font-size: 1.7rem !important; }

/* =========================================================================
   v4.1 — "More services" gallery (service pages)
   ========================================================================= */
.other-services .container { padding-inline: clamp(24px, 8vw, 180px); }
.svc-gallery { list-style: none; padding: 0; margin: 0 auto; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.svc-card {
	position: relative; display: flex !important; flex-direction: column; justify-content: space-between; align-items: center;
	aspect-ratio: 3 / 4; padding: 22px 20px 24px !important; border-radius: 14px; overflow: hidden; isolation: isolate; text-align: center;
	border: 1px solid rgba(201,163,106,.2) !important; background: #0d0d0d !important; color: #fff;
}
.svc-card__img { position: absolute; inset: 0; z-index: -2; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.85); transform: scale(1.03); transition: transform 1.4s var(--ease), filter .8s; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.88)); }
.svc-card__num { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .1em; color: var(--accent); }
.svc-card__num::before, .svc-card__num::after { content: ""; display: inline-block; vertical-align: middle; width: 18px; height: 1px; background: rgba(201,163,106,.6); margin: 0 10px; }
.svc-card__body { display: grid; justify-items: center; gap: 8px; }
.svc-card__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; }
.svc-card__points { font-size: .76rem; font-weight: 300; letter-spacing: .03em; color: rgba(242,237,228,.75); line-height: 1.5; }
.svc-card__go { margin-top: 8px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); display: grid; place-items: center; font-size: .95rem; transition: background .5s, color .4s, border-color .4s, transform .6s var(--ease); }
.svc-card__here { position: absolute; top: 14px; right: 14px; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--gold-grad); color: #0A0A0A; font-weight: 600; }
.svc-card:hover .svc-card__img img { transform: scale(1.12); filter: brightness(.68) saturate(1); }
.svc-card:hover .svc-card__go { background: var(--gold-grad); color: #0A0A0A; border-color: transparent; transform: rotate(-45deg); }
.svc-card.is-current { border-color: rgba(201,163,106,.65) !important; }
.svc-card .pcard__media, .svc-card .pcard__base { display: none; }
@media (max-width: 1100px) { .svc-gallery { grid-template-columns: repeat(2, 1fr); } }
.svc-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-gallery > li { min-width: 0; }
@media (max-width: 1100px) { .svc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.svc-gallery { gap: 12px; }
	.svc-card { aspect-ratio: 3 / 4.3; padding: 14px 10px 16px !important; }
	.svc-card__title { font-size: .92rem; letter-spacing: .01em; overflow-wrap: anywhere; hyphens: auto; }
	.svc-card__points { display: none; }
	.svc-card__go { width: 32px; height: 32px; }
	.svc-card__here { top: 8px; right: 8px; font-size: .5rem; padding: 4px 7px; }
	.other-services .container { padding-inline: var(--gutter); }
}

/* =========================================================================
   v4.2 — Motion polish: sheen, ripple, project tile overlay
   ========================================================================= */
.has-sheen { position: relative; }
.has-sheen .tile__media::before, .has-sheen .post-card__media::before, .svc-feature__media.has-sheen::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255,236,200,.28) 50%, transparent 65%) -180% 0 / 250% 100% no-repeat;
	transition: background-position 1.1s var(--ease);
}
.has-sheen:hover .tile__media::before, .has-sheen:hover .post-card__media::before, .svc-feature__media.has-sheen:hover::before { background-position: 180% 0; }
.fh-ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(255,232,190,.7), rgba(201,163,106,.25) 45%, transparent 70%); }
/* Project tiles: "View project" pill rises on hover; gold frame */
.tile__media { border: 1px solid rgba(201,163,106,.12); transition: border-color .6s; }
.tile__media::after { content: "View project →"; position: absolute; left: 50%; bottom: 22px; z-index: 4; opacity: 0;
	transform: translate(-50%, 18px); padding: 10px 20px; border-radius: 999px; background: var(--gold-grad); color: #0A0A0A;
	font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; white-space: nowrap;
	inset: auto auto 22px 50%; transition: opacity .5s, transform .7s var(--ease); background-color: transparent; }
.tile__link:hover .tile__media { border-color: rgba(201,163,106,.6); }
.tile__link:hover .tile__media::after { opacity: 1; transform: translate(-50%, 0); }
.tile__title { transition: color .4s, letter-spacing .7s var(--ease); }
.tile__link:hover .tile__title { color: var(--accent-ink); letter-spacing: .01em; }
@media (hover: none) { .tile__media::after { display: none; } }

/* =========================================================================
   v4.3 — "Sketch to reality" pop-up
   ========================================================================= */
.sk { position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 20px; }
.sk[hidden] { display: none !important; }
.sk__backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s; }
.sk__card {
	position: relative; width: min(760px, 100%); border-radius: 18px; overflow: hidden;
	background: linear-gradient(160deg, #15130f, #080807); border: 1px solid rgba(201,163,106,.4);
	box-shadow: 0 50px 120px -30px rgba(0,0,0,.95), 0 0 60px -20px rgba(201,163,106,.3);
	opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.sk.is-open .sk__backdrop { opacity: 1; }
.sk.is-open .sk__card { opacity: 1; transform: none; }
.sk__close { position: absolute; z-index: 5; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,10,.75); color: #fff; font-size: 1.3rem; border: 1px solid var(--gold-line); }
.sk__close:hover { background: var(--accent); color: #0a0a0a; }
.sk__stage { position: relative; aspect-ratio: 16 / 10; background: #0d0c0a; }
.sk__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sk__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.sk.is-done .sk__photo, .sk.is-static .sk__photo { opacity: 1; }
.sk__pencil { position: absolute; left: 0; top: 0; width: 34px; height: 34px; pointer-events: none; transition: opacity .6s; filter: drop-shadow(0 0 8px rgba(237,208,154,.6)); }
.sk.is-static .sk__pencil { display: none; }
.sk__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.sk__progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
.sk__foot { display: flex; align-items: center; gap: 18px; padding: 20px 24px 22px; }
.sk__designer { position: relative; flex: none; width: 64px; height: 64px; }
.sk__designer svg { width: 100%; height: 100%; }
.sk__arm { transform-origin: 44px 48px; animation: sk-draw .5s ease-in-out infinite alternate; }
.sk.is-done .sk__arm { animation: none; }
@keyframes sk-draw { from { transform: rotate(-6deg) translateX(-1px); } to { transform: rotate(5deg) translateX(1px); } }
.sk__live { position: absolute; right: 2px; bottom: 4px; width: 12px; height: 12px; border-radius: 50%; background: #0a0a0a; display: grid; place-items: center; }
.sk__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: sk-pulse 1.4s ease-in-out infinite; }
@keyframes sk-pulse { 50% { opacity: .3; } }
.sk__copy { display: grid; gap: 6px; min-width: 0; }
.sk__kicker { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.sk__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; color: #F2EDE4; margin: 0; }
.sk__ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .8s var(--ease), opacity .6s .2s; }
.sk.is-done .sk__ctas { max-height: 80px; opacity: 1; }
.sk__ctas .btn { padding: 12px 20px; }
.sk__wa { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 560px) {
	.sk { padding: 12px; align-items: end; }
	.sk__foot { padding: 14px 16px 16px; gap: 12px; }
	.sk__designer { width: 50px; height: 50px; }
}

/* =========================================================================
   v4.4 — Spotlight corner card
   ========================================================================= */
.spot { position: fixed; z-index: 960; left: calc(var(--gutter) * .5 + 12px); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); width: min(380px, calc(100vw - 110px)); }
.spot[hidden] { display: none !important; }
.spot__item {
	display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 12px 40px 14px 12px;
	border-radius: 14px; border: 1px solid rgba(201,163,106,.35); color: #F2EDE4;
	background: linear-gradient(150deg, rgba(24,21,17,.97), rgba(8,8,8,.97)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 30px 70px -25px rgba(0,0,0,.95), 0 0 40px -18px rgba(201,163,106,.35);
	opacity: 0; transform: translate(-30px, 20px) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease), border-color .4s;
}
.spot.is-in .spot__item { opacity: 1; transform: none; }
.spot__item:hover { border-color: rgba(201,163,106,.7); }
.spot__media { width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: #111; display: grid; place-items: center; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.spot__item:hover .spot__media img { transform: scale(1.14); }
.spot__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); position: relative; }
.spot__icon::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201,163,106,.55); transform: rotate(45deg); background: rgba(201,163,106,.08); }
.spot__icon svg { position: relative; width: 22px; height: 22px; }
.spot__body { display: grid; gap: 4px; min-width: 0; }
.spot__kicker { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.spot__title { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.spot__sub { font-size: .76rem; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot__cta { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #EDD09A; margin-top: 2px; }
.spot__close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; color: rgba(242,237,228,.7); font-size: 1rem; opacity: 0; transition: opacity .4s, background .3s; }
.spot.is-in .spot__close { opacity: 1; }
.spot__close:hover { background: rgba(201,163,106,.2); color: #fff; }
.spot__timer { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: rgba(255,255,255,.06); overflow: hidden; border-radius: 1px; opacity: 0; transition: opacity .4s; }
.spot.is-in .spot__timer { opacity: 1; }
.spot__timer i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; }
@media (max-width: 560px) { .spot { left: 12px; width: calc(100vw - 96px); } .spot__item { grid-template-columns: 64px 1fr; } .spot__media { width: 64px; height: 64px; } .spot__sub { display: none; } }

/* =========================================================================
   v4.6 — Project filter: centered, sliding gold pill
   ========================================================================= */
.filter { position: relative; display: flex !important; flex-wrap: wrap; justify-content: center; gap: 6px !important; width: fit-content; max-width: 100%;
	margin: 0 auto clamp(40px, 5vw, 72px) !important; padding: 6px; border-radius: 999px;
	border: 1px solid rgba(201,163,106,.25); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.filter__btn { position: relative; z-index: 1; border: 0 !important; background: transparent !important; padding: 11px 20px !important; border-radius: 999px;
	display: inline-flex; align-items: center; gap: 8px; color: rgba(242,237,228,.75); transition: color .45s !important; }
.filter__btn:hover { color: #fff; }
.filter__btn.is-active { color: #0A0A0A !important; }
.filter__btn sup { position: static; font-size: .62rem; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
	background: rgba(201,163,106,.15); color: var(--accent); opacity: 1; transition: background .45s, color .45s; }
.filter__btn.is-active sup { background: rgba(10,10,10,.85); color: #EDD09A; }
.filter__pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 999px; background: var(--gold-grad);
	box-shadow: 0 8px 26px -8px rgba(201,163,106,.65); pointer-events: none; transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease); }
@media (max-width: 560px) { .filter { border-radius: 22px; } .filter__btn { padding: 9px 14px !important; } }

/* =========================================================================
   v4.7 — Projects page redesign
   ========================================================================= */
/* stats strip under the hero */
.pj-stats { padding-block: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.pj-stats .container { padding-inline: clamp(24px, 8vw, 180px); }
.pj-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.pj-stats__row > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 6px 12px; }
.pj-stats__row > div + div { border-left: 1px solid var(--line); }
.pj-stats__row dd { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; color: var(--accent-ink); display: flex; justify-content: center; align-items: flex-start; gap: 2px; margin: 0; }
.pj-stats__row dd sup { font-size: .45em; color: var(--accent); margin-top: .2em; }
.pj-stats__row dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
/* featured project */
.pj-feature .container { padding-inline: clamp(24px, 8vw, 180px); }
.pj-feature__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pj-feature__media { display: block; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; border: 1px solid rgba(201,163,106,.25); }
.pj-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pj-feature__media:hover img { transform: scale(1.06); }
.pj-feature__text { position: relative; display: grid; gap: 18px; justify-items: start; }
.pj-feature__num { position: absolute; z-index: -1; right: 0; top: -120px; font-family: var(--serif); font-size: clamp(5rem, 9vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201,163,106,.3); pointer-events: none; }
/* toolbar */
.pj .container { padding-inline: clamp(24px, 6vw, 140px); }
.pj__bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.pj__bar .filter { margin: 0 !important; }
.pj__views { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid rgba(201,163,106,.25); gap: 4px; }
.pj__view { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: .8rem; color: rgba(242,237,228,.7); transition: background .4s, color .4s; }
.pj__view.is-active { background: rgba(201,163,106,.16); color: #fff; }
.pj__view:hover { color: #fff; }
/* views */
.pj[data-view="grid"] .pj-list { display: none; }
.pj[data-view="list"] .pj-grid { display: none; }
/* gallery mosaic */
.pj-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(180px, 17vw, 270px); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 22px); }
.pj-tile { grid-column: span 4; grid-row: span 1; margin: 0 !important; }
.pj-tile--big { grid-column: span 8; grid-row: span 2; }
.pj-tile--tall { grid-column: span 4; grid-row: span 2; }
.pj-tile--wide { grid-column: span 8; }
.pj-tile.is-filtered-out { display: none; }
.pj-tile__link { position: relative; display: block; height: 100%; border-radius: 14px; overflow: hidden; isolation: isolate; border: 1px solid rgba(201,163,106,.15); transition: border-color .5s; }
.pj-tile__img { position: absolute; inset: 0; z-index: -2; }
.pj-tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.82); }
.pj-tile__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 50%, rgba(0,0,0,.85)); transition: opacity .6s; }
.pj-tile__num { position: absolute; top: 16px; left: 18px; font-family: var(--serif); font-size: 1.1rem; color: #EDD09A; letter-spacing: .08em; }
.pj-tile__info { position: absolute; left: 20px; right: 64px; bottom: 18px; display: grid; gap: 5px; transform: translateY(6px); transition: transform .7s var(--ease); }
.pj-tile__cat { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pj-tile__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.15; color: #fff; }
.pj-tile--big .pj-tile__title { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
.pj-tile__loc { font-size: .8rem; color: rgba(242,237,228,.75); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.pj-tile__go { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; color: #fff; transition: background .5s, color .4s, border-color .4s, transform .6s var(--ease); }
.pj-tile__link:hover { border-color: rgba(201,163,106,.65); }
.pj-tile__link:hover .pj-tile__img img { transform: scale(1.12); filter: brightness(1); }
.pj-tile__link:hover .pj-tile__info { transform: none; }
.pj-tile__link:hover .pj-tile__loc { max-height: 2em; opacity: 1; }
.pj-tile__link:hover .pj-tile__go { background: var(--gold-grad); color: #0a0a0a; border-color: transparent; transform: rotate(-45deg); }
.pj-tile .tile__media, .pj-tile .tile__media::after { display: none; }
/* index list */
.pj-list ol { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; border-top: 1px solid var(--line); }
.pj-row { border-bottom: 1px solid var(--line); margin: 0 !important; }
.pj-row.is-filtered-out { display: none; }
.pj-row a { position: relative; display: grid; grid-template-columns: 60px 1fr 150px 220px 40px; gap: 18px; align-items: center; padding: 22px 12px; transition: background .5s, padding .6s var(--ease); }
.pj-row a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pj-row__num { font-size: .72rem; letter-spacing: .18em; color: var(--accent); }
.pj-row__title { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.1; color: #F2EDE4; transition: color .4s, letter-spacing .7s var(--ease); }
.pj-row__meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pj-row__go { color: var(--accent); opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .6s var(--ease); }
.pj-row a:hover { background: rgba(201,163,106,.05); padding-left: 22px; }
.pj-row a:hover::before { transform: scaleX(1); }
.pj-row a:hover .pj-row__title { color: var(--accent-ink); letter-spacing: .01em; }
.pj-row a:hover .pj-row__go { opacity: 1; transform: none; }
@media (max-width: 1000px) {
	.pj-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
	.pj-tile, .pj-tile--wide { grid-column: span 1; grid-row: span 1; }
	.pj-tile--big { grid-column: span 2; grid-row: span 1; }
	.pj-tile--tall { grid-column: span 1; grid-row: span 2; }
	.pj-feature__grid { grid-template-columns: 1fr; }
	.pj-row a { grid-template-columns: 44px 1fr 32px; }
	.pj-row__meta { display: none; }
}
@media (max-width: 560px) {
	.pj-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
	.pj-tile, .pj-tile--big, .pj-tile--wide, .pj-tile--tall { grid-column: span 1; grid-row: span 1; }
	.pj-stats__row { grid-template-columns: 1fr 1fr; row-gap: 22px; }
	.pj-stats__row > div:nth-child(3) { border-left: 0; }
	.pj-tile__loc { max-height: 2em; opacity: 1; }
}

/* =========================================================================
   v4.8 — Logo
   ========================================================================= */
/* Original black logo on a white badge */
.brand__badge { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 12px; background: #fff;
	box-shadow: 0 10px 30px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(201,163,106,.35); transition: padding .6s var(--ease), box-shadow .4s; }
.brand:hover .brand__badge { box-shadow: 0 12px 34px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(201,163,106,.8); }
.brand__logo { display: block; height: 30px; width: auto; transition: height .6s var(--ease); }
.site-header.is-scrolled .brand__badge { padding: 7px 13px; }
.site-header.is-scrolled .brand__logo { height: 26px; }
.footer-brand .brand__badge { padding: 12px 20px; }
.footer-brand .brand__logo { height: 38px; }
@media (max-width: 560px) { .brand__logo { height: 22px; } .brand__badge { padding: 7px 11px; border-radius: 10px; } }

/* =========================================================================
   v4.8 — Framed cinematic inner-page hero
   ========================================================================= */
.page-hero--framed { min-height: 0 !important; padding: calc(var(--header-h) + 10px) var(--frame) 0; display: block !important; color: #fff; }
.page-hero--framed::after { display: none !important; }
.ph-frame { position: relative; height: clamp(520px, 78svh, 820px); border-radius: var(--frame-r); overflow: hidden; isolation: isolate;
	display: flex; align-items: center; justify-content: center; border: 1px solid rgba(201,163,106,.22); box-shadow: 0 50px 120px -50px rgba(0,0,0,.95); }
.page-hero--framed .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--framed .page-hero__img { animation: ph-zoom 22s ease-out both; }
@keyframes ph-zoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.ph-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 65% 60% at 50% 52%, rgba(8,8,8,.62), rgba(8,8,8,.3) 70%, rgba(8,8,8,.55)), linear-gradient(180deg, rgba(8,8,8,.55), transparent 30%, transparent 70%, rgba(8,8,8,.75)); }
/* giant outline page name behind the title */
.ph-ghost { position: absolute; left: 50%; top: 50%; z-index: -1; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
	font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 13vw, 13rem); line-height: 1; letter-spacing: .04em;
	color: transparent; -webkit-text-stroke: 1px rgba(237,208,154,.16); animation: ph-ghost 2.4s var(--ease) both .3s; }
@keyframes ph-ghost { from { opacity: 0; letter-spacing: .3em; } to { opacity: 1; letter-spacing: .04em; } }
/* gold architectural corners drawing in */
.ph-corner { position: absolute; width: clamp(40px, 5vw, 72px); height: clamp(40px, 5vw, 72px); pointer-events: none; }
.ph-corner::before, .ph-corner::after { content: ""; position: absolute; background: linear-gradient(90deg, #EDD09A, #A47B3C); animation: ph-line 1.4s var(--ease) both .6s; }
.ph-corner::before { height: 1px; width: 100%; transform-origin: left; }
.ph-corner::after { width: 1px; height: 100%; transform-origin: top; animation-name: ph-line-v; }
@keyframes ph-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ph-line-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ph-corner--tl { top: 22px; left: 22px; }
.ph-corner--tr { top: 22px; right: 22px; transform: scaleX(-1); }
.ph-corner--bl { bottom: 22px; left: 22px; transform: scaleY(-1); }
.ph-corner--br { bottom: 22px; right: 22px; transform: scale(-1, -1); }
.ph-corner::before, .ph-corner::after { left: 0; top: 0; }
.page-hero--framed .page-hero__content { position: relative; z-index: 2; padding: 0 var(--gutter) !important; }
.page-hero--framed .page-hero__title { font-size: clamp(2.4rem, 5.4vw, 5.2rem) !important; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.page-hero--framed .page-hero__lede { max-width: 50ch; color: rgba(242,237,228,.88); }
/* bottom strip */
.ph-foot { position: absolute; left: 0; right: 0; bottom: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(70px, 7vw, 110px); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(242,237,228,.65); }
.ph-foot__place { justify-self: end; }
.ph-foot__scroll { display: inline-flex; align-items: center; gap: 10px; color: #EDD09A; }
.ph-foot__scroll i { position: relative; width: 44px; height: 1px; background: rgba(237,208,154,.3); overflow: hidden; }
.ph-foot__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 40%; height: 100%; background: #EDD09A; animation: cue-x 2s var(--ease-io) infinite; }
.page-hero--framed .scroll-cue { display: none !important; }
/* project + article heroes share the framed look */
.project-hero { margin: calc(var(--header-h) + 10px) var(--frame) 0; height: clamp(520px, 78svh, 820px) !important; border-radius: var(--frame-r); border: 1px solid rgba(201,163,106,.22); }
@media (max-width: 899px) {
	.ph-frame { height: clamp(440px, 70svh, 620px); }
	.ph-foot { padding: 0 24px; grid-template-columns: 1fr; justify-items: center; }
	.ph-foot__brand, .ph-foot__place { display: none; }
	.ph-corner--tl, .ph-corner--tr { top: 14px; } .ph-corner--bl, .ph-corner--br { bottom: 14px; }
	.ph-corner--tl, .ph-corner--bl { left: 14px; } .ph-corner--tr, .ph-corner--br { right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .page-hero--framed .page-hero__img, .ph-ghost, .ph-corner::before, .ph-corner::after { animation: none; } }

/* =========================================================================
   v4.9 — FAQ: numbered gold cards, two columns
   ========================================================================= */
.faq .container { padding-inline: clamp(24px, 7vw, 160px); }
.faq .accordion { max-width: 1180px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; border-top: 0 !important; }
.faq .accordion__item { border: 1px solid rgba(201,163,106,.18) !important; border-radius: 14px; overflow: hidden;
	background: linear-gradient(150deg, rgba(201,163,106,.05), rgba(255,255,255,.01) 50%, rgba(0,0,0,.25));
	transition: border-color .5s, box-shadow .6s, background .6s; }
.faq .accordion__item::after { display: none !important; }
.faq .accordion__item:hover { border-color: rgba(201,163,106,.45) !important; }
.faq .accordion__trigger { display: grid !important; grid-template-columns: 38px 1fr 34px; align-items: center; gap: 14px; padding: 20px 22px !important; font-size: clamp(1rem, 1.2vw, 1.15rem) !important; text-align: left; }
.faq__n { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: transparent; -webkit-text-stroke: 1px rgba(201,163,106,.65); transition: color .5s, -webkit-text-stroke-color .5s; }
.faq .accordion__icon { width: 34px !important; height: 34px !important; border-radius: 50%; border: 1px solid rgba(201,163,106,.45); position: relative; transition: transform .6s var(--ease), background .5s, border-color .5s; }
.faq .accordion__icon::before, .faq .accordion__icon::after { left: 10px !important; right: 10px !important; background: #EDD09A !important; }
.faq .accordion__content { padding: 0 22px 22px 74px !important; }
.faq .accordion__content p { font-size: .92rem; }
.faq .accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(90deg) !important; }
.faq .accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(135deg); background: var(--gold-grad); border-color: transparent; }
.faq .accordion__trigger[aria-expanded="true"] .accordion__icon::before, .faq .accordion__trigger[aria-expanded="true"] .accordion__icon::after { background: #0a0a0a !important; }
.faq .accordion__item:has(.accordion__trigger[aria-expanded="true"]) { border-color: rgba(201,163,106,.7) !important; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 40px -18px rgba(201,163,106,.45); background: linear-gradient(150deg, rgba(201,163,106,.12), rgba(0,0,0,.3)); }
.faq .accordion__item:has(.accordion__trigger[aria-expanded="true"]) .faq__n { color: var(--accent); -webkit-text-stroke-color: transparent; }
@media (max-width: 899px) { .faq .accordion { grid-template-columns: 1fr; } .faq .accordion__content { padding-left: 22px !important; } }

/* =========================================================================
   v4.9 — Nav letter roll + gold heading sweep
   ========================================================================= */
.nav__link .roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.25em; line-height: 1.25em; }
.nav__link .roll > span { display: inline-block; position: relative; transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.nav__link .roll > span::after { content: attr(data-c); position: absolute; left: 0; top: 100%; color: var(--accent-ink); }
.nav__link:hover .roll > span { transform: translateY(-100%); }
.sweep-line { display: block; width: min(220px, 50%); height: 1px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, #EDD09A, transparent); transform: scaleX(0); transition: transform 1.6s var(--ease); }
.sweep-line.is-in { transform: scaleX(1); }

/* =========================================================================
   v4.9 — Flight pop-up (airplane → interior reveal)
   ========================================================================= */
.flp { position: fixed; inset: 0; z-index: 985; pointer-events: none; }
.flp[hidden] { display: none !important; }
.flp__plane { position: absolute; top: 46%; left: 0; width: 120px; height: 60px; will-change: transform; filter: drop-shadow(0 0 14px rgba(237,208,154,.55)); }
.flp__trail { position: absolute; top: calc(46% + 33px); height: 2px; left: 0; width: 0; background: linear-gradient(90deg, rgba(237,208,154,0), rgba(237,208,154,.85)); border-radius: 2px; will-change: transform, width; }
.flp__card { position: absolute; left: 50%; top: 50%; width: min(720px, calc(100vw - 32px)); transform: translate(-50%, -50%); pointer-events: auto;
	border-radius: 18px; overflow: hidden; border: 1px solid rgba(201,163,106,.45); background: #0b0a09;
	box-shadow: 0 50px 120px -30px rgba(0,0,0,.95), 0 0 70px -20px rgba(201,163,106,.35); clip-path: circle(0% at 50% 50%); }
.flp__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.flp__media img { width: 100%; height: 100%; object-fit: cover; }
.flp__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.75)); }
.flp__tag { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: #EDD09A; }
.flp__body { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 22px 22px; }
.flp__kicker { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.flp__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.2; color: #F2EDE4; margin: 4px 0 0; }
.flp__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(10,10,10,.7); color: #fff; border: 1px solid var(--gold-line); font-size: 1.2rem; }
.flp__bar { height: 2px; background: rgba(255,255,255,.06); }
.flp__bar i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
.flp__backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.5); opacity: 0; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }

/* Wrappers around cover images must fill their frame (images now carry intrinsic sizes) */
.intro__img-small > div, .team__photo > div, .gallery__item > span { width: 100%; height: 100%; }

/* =========================================================================
   Blueprint thread — gold scroll line + section ticks in the left margin
   ========================================================================= */
.thread { position: fixed; z-index: 400; left: calc(var(--gutter) * .42); top: calc(var(--header-h) + 40px); bottom: 64px; width: 1px; opacity: 0; transition: opacity .6s; pointer-events: none; }
.thread.is-on { opacity: 1; }
.thread__rail { position: absolute; inset: 0; background: rgba(242,237,228,.1); overflow: hidden; }
.thread__rail i { display: block; width: 100%; height: 100%; background: linear-gradient(#EDD09A, #A47B3C); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px rgba(201,163,106,.6); }
.thread__ticks { position: absolute; inset: 0; }
.thread__ticks li { position: absolute; left: 0; transform: translateY(-50%); }
.thread__tick { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 12px; margin-left: -4px; padding: 6px 0; color: rgba(242,237,228,.4); }
.thread__tick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(242,237,228,.35); background: var(--bg); transition: background .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s; flex: none; }
.thread__tick b { font-weight: 500; font-size: .62rem; letter-spacing: .14em; font-variant-numeric: lining-nums tabular-nums; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .5s var(--ease); }
.thread__tick span { position: absolute; left: 44px; white-space: nowrap; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: rgba(10,10,10,.85); border: 1px solid var(--gold-line); padding: 6px 10px; border-radius: 4px; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.is-past > .thread__tick::before { background: var(--accent); border-color: var(--accent); }
.is-active > .thread__tick::before { transform: scale(1.45); box-shadow: 0 0 0 4px rgba(201,163,106,.18), 0 0 14px rgba(201,163,106,.7); }
.is-active > .thread__tick b, .thread__tick:hover b, .thread__tick:focus-visible b { opacity: 1; transform: none; color: var(--accent); }
.thread__tick:hover span, .thread__tick:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 1239px) { .thread { display: none; } }

/* Gold shimmer — a slow light sweep across gold accent words in headings */
:is(.display-1, .display-2, .opening__title, .cine__title, .footer-cta__title, .page-hero__title, .contact__title) em { position: relative; display: inline-block; }
:is(.display-1, .display-2, .opening__title, .cine__title, .footer-cta__title, .page-hero__title, .contact__title) em::after {
	content: ""; position: absolute; inset: -.05em -.12em; pointer-events: none; mix-blend-mode: color-dodge;
	background: linear-gradient(105deg, transparent 38%, rgba(255,236,200,.75) 50%, transparent 62%) -160% 0 / 260% 100% no-repeat;
	animation: fh-shimmer 7s cubic-bezier(.45,.05,.25,1) infinite 1.8s;
}
@keyframes fh-shimmer { 0%, 70% { background-position: -160% 0; } 100% { background-position: 160% 0; } }
@media (prefers-reduced-motion: reduce) { :is(.display-1, .display-2, .opening__title, .cine__title, .footer-cta__title, .page-hero__title, .contact__title) em::after { animation: none; display: none; } }

/* Testimonials — centered */
.testimonials .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.testimonials .eyebrow { justify-content: center; }
.testimonials .eyebrow::before { display: block; content: ""; width: 46px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.testimonials__stage { width: 100%; min-height: 0; margin-block: 32px 36px; }
.testimonials__slide { display: flex; flex-direction: column; align-items: center; }
.testimonials__quote { max-width: 30ch; margin-inline: auto; }
.testimonials__slide figcaption { margin-top: 22px; color: var(--accent-ink); letter-spacing: .08em; }
.testimonials__controls { justify-content: center; }

/* Luxury serif: small headings need a touch more weight to stay crisp */
.pcard__title, .why__cell-title, .story__title, .tile__title, .team__name, .mat-card__title, .villa__cap-title,
.build__step-title, .accordion__trigger, .post-card__title, .footer-cta__title, .process__title { font-weight: 600; letter-spacing: .01em; }
.brand__word { font-weight: 600; letter-spacing: .14em; }
.brand__word em { font-weight: 400; font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1.12em; }
.opening__title { letter-spacing: .01em; }
.opening__title em, .display-1 em, .display-2 em, .cine__title em, .footer-cta__title em, .contact__title em { letter-spacing: 0; }
.stat dd { font-weight: 500; }
/* Lining figures everywhere (Cormorant defaults to old-style numerals) */
body, .pcard__num, .stat dd, .odo, .story__idx, .build__counter, .why__num, .process__num, .villa__num, .srail__count, .opening__count, .mat-card__num { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1; }
@media (max-width: 899px) {
	.hero-center .opening__content { align-items: flex-end; }
	.hero-center .opening__copy { padding-bottom: 6px; }
	.hero-center .page-hero--image { min-height: 64svh; }
}

/* =====================================================================
   v5.0 — Blueprint sheet + real-photo construction sequence
   ===================================================================== */
.bp { position: relative; border-radius: var(--frame-r, 14px); box-shadow: 0 0 0 1px var(--gold-line, rgba(201,163,106,.25)), 0 50px 100px -50px rgba(0,0,0,.85); background: radial-gradient(120% 90% at 30% 20%, #17140F 0%, #0C0B09 70%); }
.bp-photo img { filter: saturate(.92) contrast(1.04); }
.bp-texts { font-family: var(--sans, 'Jost', sans-serif); font-size: 10.5px; letter-spacing: 2px; }
.bp-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3; pointer-events: none; opacity: 0;
	grid-area: 1 / 1; background: linear-gradient(transparent, #F1D29B 18%, #F1D29B 82%, transparent);
	box-shadow: 0 0 18px 4px rgba(241,210,155,.55), 0 0 60px 10px rgba(201,163,106,.25); }
html:not(.motion) .bp-scan, .fh-fallback .bp-scan { display: none; }

.build--real .bs { background: #0C0B09; isolation: isolate; }
.bs__paper { position: absolute; inset: 0; z-index: 0;
	background:
		linear-gradient(rgba(201,163,106,.07) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(201,163,106,.07) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(rgba(201,163,106,.035) 1px, transparent 1px) 0 0 / 8px 8px,
		linear-gradient(90deg, rgba(201,163,106,.035) 1px, transparent 1px) 0 0 / 8px 8px,
		radial-gradient(90% 80% at 50% 45%, #1A1712 0%, #0B0A08 100%); }
.bs__layer, .bs__lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 55%; }
.bs__clay  { z-index: 1; filter: grayscale(1) brightness(1.28) contrast(.6) sepia(.14); }
.bs__mat   { z-index: 2; filter: saturate(.75) sepia(.22) brightness(.86) contrast(.95); }
.bs__final { z-index: 3; }
.bs__glow  { position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen; opacity: 0;
	background: radial-gradient(40% 30% at 50% 22%, rgba(255,214,150,.38), transparent 70%), radial-gradient(70% 50% at 50% 70%, rgba(255,196,120,.12), transparent 70%); }
.bs__lines { z-index: 5; pointer-events: none; filter: drop-shadow(0 0 2px rgba(241,210,155,.45)); }
.bs__scan  { position: absolute; top: 0; bottom: 0; left: 0; z-index: 6; width: 2px; opacity: 0; pointer-events: none;
	background: linear-gradient(transparent, #F6DDAA 15%, #F6DDAA 85%, transparent);
	box-shadow: 0 0 22px 5px rgba(246,221,170,.55), 0 0 90px 18px rgba(201,163,106,.22); }
.bs__marks { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.bs__hud { position: absolute; top: 18px; left: 18px; z-index: 7; display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 10px;
	border: 1px solid rgba(216,180,124,.35); border-radius: 999px; background: rgba(12,11,9,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	color: var(--ink, #F2EDE4); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.bs__hud-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad, #C9A36A); color: #0C0B09; font-weight: 600; letter-spacing: 0; font-size: .74rem; }
.build--real .build__cap { z-index: 7; border-radius: 999px; padding: 7px 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* initial (pre-scroll) states only when motion runs; otherwise the finished room shows */
.motion:not(.fh-fallback) .bs__lines { clip-path: inset(0 100% 0 0); }
.motion:not(.fh-fallback) .bs__clay { clip-path: inset(100% 0 0 0); }
.motion:not(.fh-fallback) .bs__mat { clip-path: circle(0% at 50% 60%); }
.motion:not(.fh-fallback) .bs__final { opacity: 0; }
html:not(.motion) .bs__lines, .fh-fallback .bs__lines, html:not(.motion) .bs__marks, .fh-fallback .bs__marks,
html:not(.motion) .bs__clay, .fh-fallback .bs__clay, html:not(.motion) .bs__mat, .fh-fallback .bs__mat { display: none; }
html:not(.motion) .bs__final, .fh-fallback .bs__final { opacity: 1; }
@media (max-width: 899px) {
	.bs__hud { top: 10px; left: 10px; padding: 6px 12px 6px 6px; font-size: .62rem; }
	.bs__hud-n { width: 24px; height: 24px; }
	.build--real .build__cap { display: none; }
}
/* v5.1 — combined pop-up: airplane flies in, the sketch card opens from it */
.sk__plane { position: absolute; left: 0; top: 50%; margin-top: -30px; z-index: 6; width: 120px; height: 60px; opacity: 0; pointer-events: none; will-change: transform; filter: drop-shadow(0 0 14px rgba(237,208,154,.55)); }
.sk__trail { position: absolute; left: 0; top: 50%; margin-top: 3px; z-index: 5; height: 2px; width: 0; opacity: 0; pointer-events: none; border-radius: 2px; background: linear-gradient(90deg, rgba(237,208,154,0), rgba(237,208,154,.85)); will-change: transform, width; }
.sk.is-fly .sk__backdrop, .sk.is-fly .sk__card { transition: none; }
.sk.is-fly .sk__card { transform: none; }
@media (max-width: 599px) { .sk__plane { width: 84px; height: 42px; margin-top: -21px; } }
.bp-cap { padding: 0 20px 16px; }

/* FAQ — an odd last question sits centred under the pairs */
@media (min-width: 900px) {
	.faq .accordion__item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
/* =====================================================================
   v5.2 — mobile quick-action bar, back-to-top ring, article reading progress, share row
   ===================================================================== */
.totop { position: fixed; right: 34px; bottom: 112px; z-index: 900; width: 50px; height: 50px; display: grid; place-items: center;
	border-radius: 50%; background: rgba(12,11,9,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .45s, transform .55s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 50px; height: 50px; overflow: visible; }
.totop__track { fill: none; stroke: rgba(201,163,106,.18); stroke-width: 1.5; }
.totop__ring { fill: none; stroke: #D8B47C; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .15s linear; }
.totop__arrow { fill: none; stroke: #EDD09A; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.totop:hover .totop__arrow { transform: translateY(-3px); }
.totop:focus-visible { outline: 2px solid #EDD09A; outline-offset: 3px; }

.mbar { display: none; }
@media (max-width: 899px) {
	.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 950; display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 6px; padding: 6px;
		border: 1px solid rgba(201,163,106,.3); border-radius: 18px; background: rgba(12,11,9,.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
		box-shadow: 0 18px 40px -12px rgba(0,0,0,.8); transform: translateY(130%); transition: transform .6s var(--ease); }
	.mbar.is-ready { transform: none; }
	.mbar.is-away, .menu-open .mbar { transform: translateY(130%); }
	.mbar__btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 13px; color: #F2EDE4; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
	.mbar__btn svg { width: 17px; height: 17px; flex: none; }
	.mbar__btn:active { background: rgba(201,163,106,.12); }
	.mbar__btn--gold { background: var(--gold-grad, #C9A36A); color: #0C0B09; font-weight: 600; }
	.wa-float { display: none !important; }       /* WhatsApp is in the bar */
	.totop { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
	.totop svg { width: 44px; height: 44px; }
	.site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
	.spot { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
}

.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: 3px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--gold-grad, #C9A36A); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(237,208,154,.6); }

.share { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: clamp(36px, 5vw, 56px) auto 0; padding-top: 28px; border-top: 1px solid rgba(201,163,106,.18); max-width: 720px; }
.share__label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
.share__btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,163,106,.4); color: #EDD09A; background: transparent; cursor: pointer; transition: background .35s, color .35s, transform .35s var(--ease); }
.share__btn svg { width: 18px; height: 18px; }
.share__btn:hover { background: var(--gold-grad, #C9A36A); color: #0C0B09; transform: translateY(-2px); }
.share__done { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); padding: 4px 10px; border-radius: 999px; background: #EDD09A; color: #0C0B09; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.share__copy.is-copied .share__done { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .totop, .mbar, .totop__ring { transition: none; } }
.totop.is-away { opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; }

/* =====================================================================
   v5.3 — full-screen image viewer, expand buttons, contact map
   ===================================================================== */
.lb { position: fixed; inset: 0; z-index: 1200; display: grid; grid-template-rows: 1fr auto; background: rgba(6,6,5,.96);
	clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .55s cubic-bezier(.7,0,.2,1); }
.lb[hidden] { display: none; }
.lb.is-open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 64px 84px 12px; }
.lb__img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 6px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
	opacity: 0; transform: scale(.97); transition: opacity .45s, transform .6s var(--ease, ease); }
.lb__img.is-in { opacity: 1; transform: none; }
.lb__spin { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(201,163,106,.25); border-top-color: #EDD09A; animation: lb-spin .8s linear infinite; opacity: 0; transition: opacity .3s; }
.lb.is-loading .lb__spin { opacity: 1; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb__bar { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 14px 24px 26px; color: #F2EDE4; text-align: center; }
.lb__count { font-family: var(--serif); font-size: 1.05rem; color: #EDD09A; letter-spacing: .08em; }
.lb__cap { margin: 0; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.lb__link { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #EDD09A; text-decoration: none; border-bottom: 1px solid rgba(237,208,154,.4); padding-bottom: 3px; }
.lb__link[hidden] { display: none; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(201,163,106,.45);
	background: rgba(12,11,9,.6); color: #F2EDE4; font-size: 1.25rem; cursor: pointer; transition: background .3s, color .3s, transform .3s; }
.lb__btn:hover, .lb__btn:focus-visible { background: var(--gold-grad, #C9A36A); color: #0C0B09; }
.lb__close { top: 16px; right: 16px; font-size: 1.5rem; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb.is-single .lb__prev, .lb.is-single .lb__next { display: none; }
.lb-open, .lb-open body { overflow: hidden; }
@media (max-width: 699px) {
	.lb__stage { padding: 60px 10px 8px; }
	.lb__prev, .lb__next { top: auto; bottom: 18px; transform: none; width: 44px; height: 44px; }
	.lb__bar { padding: 10px 70px 24px; gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { .lb, .lb__img { transition: none; } }

.pj-tile { position: relative; }
.pj-tile__zoom, .project-hero__zoom { display: grid; place-items: center; border: 1px solid rgba(237,208,154,.55); background: rgba(12,11,9,.55);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #EDD09A; cursor: zoom-in; transition: background .3s, color .3s, opacity .35s, transform .35s var(--ease); }
.pj-tile__zoom { position: absolute; top: 14px; right: 14px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; opacity: 0; transform: scale(.85); }
.pj-tile:hover .pj-tile__zoom, .pj-tile__zoom:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .pj-tile__zoom { opacity: 1; transform: none; } }
.pj-tile__zoom svg, .project-hero__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pj-tile__zoom:hover, .project-hero__zoom:hover { background: var(--gold-grad, #C9A36A); color: #0C0B09; }
.project-hero__zoom { display: inline-flex; gap: 10px; margin-top: 22px; padding: 11px 20px; border-radius: 999px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; pointer-events: auto; }

.map { position: relative; margin-top: clamp(40px, 6vw, 72px); height: clamp(360px, 46vw, 520px); border-radius: var(--frame-r, 14px); overflow: hidden;
	box-shadow: 0 0 0 1px rgba(201,163,106,.25), 0 50px 100px -50px rgba(0,0,0,.9);
	background: radial-gradient(60% 60% at 50% 45%, #1B1813, #0C0B09),
		linear-gradient(rgba(201,163,106,.06) 1px, transparent 1px) 0 0 / 36px 36px,
		linear-gradient(90deg, rgba(201,163,106,.06) 1px, transparent 1px) 0 0 / 36px 36px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .8s;
	filter: grayscale(1) invert(.92) contrast(.88) sepia(.18) brightness(.95); }   /* dark map in the site palette */
.map.is-loaded iframe { opacity: 1; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #EDD09A; transition: opacity .6s; }
.map.is-loaded .map__placeholder { opacity: 0; pointer-events: none; }
.map__pin svg { width: 34px; height: 34px; animation: map-bob 1.6s ease-in-out infinite; }
@keyframes map-bob { 50% { transform: translateY(-6px); } }
.map__label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.map__card { position: absolute; left: clamp(14px, 3vw, 32px); bottom: clamp(14px, 3vw, 32px); z-index: 2; max-width: 360px; padding: 22px 24px; border-radius: 16px;
	background: rgba(12,11,9,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(201,163,106,.3); }
.map__addr { margin: 6px 0 16px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: #F2EDE4; }
.map__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 599px) { .map { height: auto; display: grid; } .map iframe, .map__placeholder { position: relative; height: 300px; grid-area: 1 / 1; } .map__card { position: relative; left: auto; bottom: auto; max-width: none; border-radius: 0; } }
/* language switcher (shown when Polylang/WPML has 2+ languages) */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(201,163,106,.35); border-radius: 999px; }
.lang__item { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-2, #BDB5A6); text-decoration: none; transition: background .3s, color .3s; }
.lang__item[lang="ar"] { font-family: "Amiri", "Tajawal", serif; font-size: 1rem; letter-spacing: 0; }
.lang__item:hover { color: #EDD09A; }
.lang__item.is-current { background: var(--gold-grad, #C9A36A); color: #0C0B09; }
.site-header__actions .lang { margin-inline-end: 12px; }
.lang--mobile { margin: 22px auto 0; }
@media (max-width: 899px) { .lang--header { display: none; } }
.map::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 30px; height: 30px; margin: -30px 0 0 -15px; pointer-events: none; opacity: 0; transition: opacity .6s .3s;
	border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold-grad, #C9A36A); box-shadow: 0 0 0 6px rgba(237,208,154,.18), 0 10px 24px rgba(0,0,0,.6); }
.map::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 10px; height: 10px; margin: -20px 0 0 -5px; border-radius: 50%; background: #0C0B09; pointer-events: none; opacity: 0; transition: opacity .6s .3s; z-index: 2; }
.map.is-loaded::after, .map.is-loaded::before { opacity: 1; }
@media (max-width: 599px) { .map::after { top: 150px; } .map::before { top: 150px; } }
/* Automatic Arabic: hide Google Translate's own toolbar / tooltips, keep our design */
body { top: 0 !important; }
.skiptranslate iframe, iframe.goog-te-banner-frame, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-te-spinner-pos, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#fh-gt, .skiptranslate:not(body) { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; }   /* wrappers Google inserts around translated text */
html.is-switching-lang body { opacity: .4; transition: opacity .3s; }
.lang button.lang__item { border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.lang button.lang__item.is-current { background: var(--gold-grad, #C9A36A); color: #0C0B09; }
.lang__item[lang="ar"] { min-width: 46px; }
/* Google's own info card (top-left of the embed, e.g. "Place info couldn't load") is cropped out:
   the map is drawn 80px taller and lifted 80px, so its centre — the office — sits 40px above the frame centre. */
.map iframe { top: -80px; height: calc(100% + 80px); }
.map::after { top: calc(50% - 40px); }
.map::before { top: calc(50% - 40px); }
@media (max-width: 599px) {
	.map iframe { top: 0; height: 380px; margin-top: -80px; }
	.map__placeholder { height: 300px; }
	.map::after, .map::before { top: 110px; }
}
/* =====================================================================
   v5.6 — "I love UAE" pop-up
   ===================================================================== */
.uae { position: fixed; inset: 0; z-index: 990; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.uae[hidden] { display: none !important; }
.uae::before { content: ""; position: absolute; inset: 0; background: rgba(4,4,4,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s; pointer-events: auto; }
.uae.is-open::before { opacity: 1; }
.uae__confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.uae__card { position: relative; z-index: 1; width: min(460px, 100%); pointer-events: auto; overflow: hidden; text-align: center;
	border-radius: 22px; border: 1px solid rgba(201,163,106,.45);
	background: radial-gradient(120% 80% at 50% 0%, #1E1A14 0%, #0C0B09 70%);
	box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(201,163,106,.4);
	opacity: 0; transform: translateY(40px) scale(.92) rotateX(12deg); transform-origin: 50% 100%;
	transition: opacity .6s, transform .9s cubic-bezier(.2,1.2,.3,1); }
.uae.is-open .uae__card { opacity: 1; transform: none; }
.uae__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(201,163,106,.45); background: rgba(10,10,10,.6); color: #F2EDE4; font-size: 1.3rem; cursor: pointer; }
.uae__close:hover { background: var(--gold-grad, #C9A36A); color: #0C0B09; }
.uae__flagwrap { position: relative; display: grid; place-items: center; padding: 34px 20px 4px; }
.uae__flag { width: min(300px, 78%); height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.uae__pole { position: absolute; left: calc(50% - min(150px, 39%) - 2px); top: 26px; width: 5px; height: 150px; border-radius: 3px;
	background: linear-gradient(90deg, #8C7556, #EDD09A 45%, #8C7556); box-shadow: 0 0 10px rgba(237,208,154,.4); }
.uae__pole::before { content: ""; position: absolute; left: 50%; top: -9px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF1CF, #C9A36A 60%, #7A6243); }
.uae__body { padding: 6px 28px 26px; }
.uae__kicker { margin: 0 0 6px; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent, #C9A36A); }
.uae__title { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1; color: #F7F2E8; letter-spacing: .02em; direction: ltr; }
.uae__heart { display: inline-grid; width: .9em; height: .82em; }
.uae__heart svg { width: 100%; height: 100%; fill: #FF2A2A; filter: drop-shadow(0 0 14px rgba(255,42,42,.55)); animation: uae-beat 1.1s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes uae-beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.22); } 28% { transform: scale(.98); } 42% { transform: scale(1.14); } 70% { transform: scale(1); } }
.uae__ar { margin: 10px 0 0; font-family: "Amiri", "Tajawal", serif; font-size: 1.35rem; color: #EDD09A; letter-spacing: 0 !important; }
.uae__text { margin: 12px auto 0; max-width: 34ch; font-size: .95rem; line-height: 1.6; color: var(--ink-2, #BDB5A6); }
.uae__bar { height: 3px; background: rgba(255,255,255,.06); }
.uae__bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(0);
	background: linear-gradient(90deg, #FF0000 0 25%, #00732F 25% 50%, #FFFFFF 50% 75%, #D8B47C 75%); }
@media (max-width: 599px) { .uae__pole { height: 118px; } .uae__body { padding: 4px 20px 22px; } }
@media (prefers-reduced-motion: reduce) { .uae__heart svg { animation: none; } .uae__card { transition: opacity .4s; transform: none; } }
.uae__pole { left: calc(50% - min(150px, 39%) - 3px); top: 28px; height: 158px; }
@media (max-width: 599px) { .uae__pole { height: 128px; } }

/* pole fixed to the flag canvas itself, so they line up at every size */
.uae__mast { position: relative; display: inline-block; width: min(300px, 74vw); }
.uae__mast .uae__flag { display: block; width: 100%; }
.uae .uae__mast .uae__pole { left: calc(1.25% - 5px); top: -8px; height: 96%; }
/* =====================================================================
   v5.7 — "I love UAE" pop-up, richer visuals
   ===================================================================== */
@property --uae-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.uae__card { isolation: isolate; }
/* gold light travelling around the card edge */
.uae__ring { position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1.5px; pointer-events: none;
	background: conic-gradient(from var(--uae-a), transparent 0 62%, rgba(237,208,154,.15) 70%, #FFE7B0 80%, rgba(237,208,154,.15) 88%, transparent 94%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	animation: uae-spin 3.2s linear infinite; }
@keyframes uae-spin { to { --uae-a: 360deg; } }
/* soft light rays behind the flag */
.uae__rays { position: absolute; left: 50%; top: 110px; z-index: -1; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none; opacity: 0;
	background: repeating-conic-gradient(from 0deg, rgba(237,208,154,.10) 0 6deg, transparent 6deg 18deg);
	-webkit-mask: radial-gradient(closest-side, #000 20%, transparent 75%); mask: radial-gradient(closest-side, #000 20%, transparent 75%);
	transition: opacity 1.2s .2s; animation: uae-rays 26s linear infinite; }
.uae.is-open .uae__rays { opacity: 1; }
@keyframes uae-rays { to { transform: rotate(360deg); } }
.uae__flagwrap::after { content: ""; position: absolute; left: 50%; top: 38px; width: 260px; height: 140px; margin-left: -130px; z-index: -1;
	background: radial-gradient(closest-side, rgba(255,214,150,.22), transparent); filter: blur(6px); pointer-events: none; }

/* title: letters rise in, gold sheen sweeps across */
.uae__title { gap: 12px; }
.uae__w { display: inline-block; opacity: 0; transform: translateY(28px) scale(.9);
	background: linear-gradient(100deg, #F7F2E8 0 38%, #FFE7B0 46%, #C9A36A 50%, #FFE7B0 54%, #F7F2E8 62% 100%) 120% 0 / 260% 100% no-repeat;
	-webkit-background-clip: text; background-clip: text; color: transparent; }
.uae.is-open .uae__w { animation: uae-rise .8s cubic-bezier(.2,1.3,.3,1) forwards, uae-sheen 2.6s .9s ease-in-out infinite;
	animation-delay: calc(.35s + var(--d) * .08s), calc(1.1s + var(--d) * .06s); }
@keyframes uae-rise { to { opacity: 1; transform: none; } }
@keyframes uae-sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -20% 0; } }
.uae__heart { position: relative; opacity: 0; transform: scale(.2); }
.uae.is-open .uae__heart { animation: uae-pop .7s .5s cubic-bezier(.2,1.6,.3,1) forwards; }
@keyframes uae-pop { to { opacity: 1; transform: none; } }
.uae__heart svg { position: relative; z-index: 1; fill: none; filter: drop-shadow(0 0 16px rgba(255,40,40,.6)); }
.uae__ripple { position: absolute; left: 50%; top: 55%; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(255,60,60,.6);
	transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: uae-ripple 1.1s ease-out infinite; }
.uae__ripple--2 { animation-delay: .15s; border-color: rgba(237,208,154,.5); }
@keyframes uae-ripple { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.1); } }
.uae__kicker, .uae__ar, .uae__text { opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .8s var(--ease, ease); }
.uae.is-open .uae__kicker { opacity: 1; transform: none; transition-delay: .25s; }
.uae.is-open .uae__ar { opacity: 1; transform: none; transition-delay: .85s; }
.uae.is-open .uae__text { opacity: 1; transform: none; transition-delay: 1.05s; }

/* gold Dubai skyline that draws itself along the bottom */
.uae__body { position: relative; z-index: 1; padding-bottom: 54px; }
.uae__skyline { position: absolute; left: 0; right: 0; bottom: 3px; z-index: 0; width: 100%; height: 70px; pointer-events: none; }
.uae__skyline path { fill: none; stroke: #D8B47C; stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; }
.uae__skyline .uae__ground { stroke: rgba(216,180,124,.35); }
.uae.is-open .uae__skyline path { animation: uae-draw 2.4s .5s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes uae-draw { to { stroke-dashoffset: 0; } }
.uae__skyline::after { content: none; }
.uae__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 0; pointer-events: none;
	background: linear-gradient(transparent, rgba(201,163,106,.08)); }

/* closing: the card folds down */
.uae.is-closing .uae__card { opacity: 0; transform: translateY(26px) scale(.94) rotateX(-10deg); transition: opacity .55s, transform .65s cubic-bezier(.6,0,.4,1); }

@media (max-width: 599px) { .uae__rays { width: 420px; height: 420px; margin: -210px 0 0 -210px; top: 96px; } .uae__body { padding-bottom: 46px; } .uae__skyline { height: 56px; } }
@media (prefers-reduced-motion: reduce) {
	.uae__ring, .uae__rays, .uae__ripple { animation: none; }
	.uae .uae__w, .uae .uae__heart { opacity: 1; transform: none; animation: none; color: #F7F2E8; }
	.uae .uae__skyline path { stroke-dashoffset: 0; animation: none; }
}
/* =====================================================================
   v5.9 — Materials page on phones
   ===================================================================== */
@media (max-width: 899px) {
	/* card row: starts at the left edge (centred rows overflow off-screen when they scroll) */
	.showcase__cards { justify-content: flex-start !important; padding: 26px var(--gutter, 16px) 8px !important; margin-inline: calc(-1 * var(--gutter, 16px)); scroll-padding-inline: var(--gutter, 16px); }
	.showcase__cards li { scroll-snap-align: center; }
	.mat-card { width: 46vw; max-width: 220px; }
	.showcase__sticky { padding-bottom: 18px; }
	.showcase__dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0 6px; }
	.showcase__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(237,208,154,.28); transition: width .45s var(--ease, ease), background .45s; }
	.showcase__dots i.is-on { width: 26px; background: var(--gold-grad, #C9A36A); }
	.showcase__now { min-height: 0; }
}
.showcase__dots { display: none; }
@media (max-width: 899px) { .showcase__dots { display: flex; } }

/* scroll-driven list previews on touch screens */
.svc-index__float { pointer-events: none; }
@media (hover: none), (pointer: coarse) { .svc-index__float { display: none !important; } }
.is-touch-preview a[data-image] { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; transition: padding .6s var(--ease, ease); }
.is-touch-preview .tp-img { position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: inset(50% 0 50% 0 round 14px); transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
.is-touch-preview .tp-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.is-touch-preview .tp-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.55), rgba(10,9,8,.78)); }
.is-touch-preview a.is-near .tp-img { clip-path: inset(0 0 0 0 round 14px); }
.is-touch-preview a.is-near .tp-img img { transform: scale(1); }
.is-touch-preview a[data-image] :is(.col-list__title, .pj-row__title) { transition: color .5s, letter-spacing .7s var(--ease, ease); }
.is-touch-preview a.is-near :is(.col-list__title, .pj-row__title) { color: #EDD09A; letter-spacing: .04em; }
.is-touch-preview a[data-image] :is(.col-list__meta, .col-list__num) { transition: color .5s, transform .6s var(--ease, ease); }
.is-touch-preview a.is-near .col-list__meta { color: #F2EDE4; transform: translateY(-2px); }
.is-touch-preview a.is-near .col-list__num { color: #EDD09A; }
@media (max-width: 899px) {
	/* the row is exactly screen-wide and scrolls inside itself */
	.showcase .showcase__cards { box-sizing: border-box; width: 100vw !important; max-width: 100vw !important; min-width: 0; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; justify-self: stretch; align-self: stretch; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
	.showcase .showcase__cards li { flex: 0 0 auto; }
}

/* hero photos: gentle settle, no heavy zoom */
@keyframes ph-zoom { from { transform: scale(1.05); } to { transform: scale(1); } }

/* =====================================================================
   v6.0 — previous / next page arrows, event pop-up variants
   ===================================================================== */
.pnav { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 12px; }
.pnav__btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid rgba(201,163,106,.4); color: #EDD09A; background: rgba(12,11,9,.35); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease, ease); }
.pnav__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease, ease); }
.pnav__btn:hover, .pnav__btn:focus-visible { background: var(--gold-grad, #C9A36A); color: #0C0B09; border-color: transparent; }
.pnav__btn--prev:hover svg { transform: translateX(-2px); }
.pnav__btn--next:hover svg { transform: translateX(2px); }
/* page name appears under the arrow on hover */
.pnav__btn::after { content: attr(data-label); position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px); padding: 5px 11px; border-radius: 999px;
	white-space: nowrap; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #0C0B09; background: #EDD09A; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.pnav__btn:hover::after, .pnav__btn:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 899px) {
	.pnav { margin-inline-end: 6px; gap: 4px; }
	.pnav__btn { width: 34px; height: 34px; }
	.pnav__btn::after { display: none; }
}
html[dir="rtl"] .pnav__btn svg { transform: scaleX(-1); }

/* event pop-up: own picture / no picture / letter spacing in multi-word titles */
.uae__pic { margin: 22px 22px 6px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.uae__pic img { width: 100%; height: 100%; object-fit: cover; }
.uae--none .uae__body { padding-top: 46px; }
.uae__word { display: inline-flex; align-items: baseline; }
.uae__sp { display: inline-block; width: .28em; }
.uae__title { flex-wrap: wrap; }
.uae__noskyline { display: block; height: 10px; }
.uae__body:has(+ .uae__noskyline) { padding-bottom: 24px; }
.uae[data-colors="gold"] .uae__bar i { background: var(--gold-grad, #C9A36A); }
.uae[data-colors="green"] .uae__bar i { background: linear-gradient(90deg, #00732F, #3FB06B 55%, #D8B47C); }

/* =====================================================================
   v6.1 — heroes: no heavy zoom, no darkening on scroll
   ===================================================================== */
.opening { --hero-dim: 1; }
.opening__bg { inset: -1% !important; }                                       /* was 3% oversize on every side */
.opening__sticky::after { opacity: var(--hero-dim, 1); }                      /* text overlay fades out as the text scrolls away */
@keyframes ph-zoom { from { transform: scale(1.02); } to { transform: scale(1); } }
/* inner-page heroes with portrait/square photos: the whole photo, no hard crop */
.page-hero__blur { position: absolute; inset: -40px; z-index: -3; background-size: cover; background-position: center; filter: blur(34px) brightness(.55) saturate(1.1); transform: scale(1.1); }
.page-hero--fit .page-hero__media { background: transparent !important; }
.page-hero--fit .page-hero__img { object-fit: contain !important; animation: none !important; transform: none !important; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.page-hero--fit .ph-frame { overflow: hidden; }
/* walkthrough chapter labels: bright and readable over the linework */
.wt__index { padding: 14px 18px 14px 26px; border-radius: 16px; background: rgba(10,9,8,.58); backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); border: 1px solid rgba(201,163,106,.22); }
.wt__index-bar { left: 12px; }
.wt__chapter { color: rgba(250,246,238,.82) !important; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.85); font-weight: 500; }
.wt__chapter span { color: #D8B47C !important; }
.wt__chapter.is-done { color: rgba(250,246,238,.9) !important; }
.wt__chapter.is-active { color: #FFFFFF !important; }
.wt__chapter.is-active span { color: #EDD09A !important; }
.wt__chapter.is-active::before { left: -15px; }
/* "View all projects" disc: text always straight */
.story__end-disc, .story__end-disc span { rotate: 0deg; }
/* =====================================================================
   v6.2 — hero photos never over-cropped (see utility.js "hero-fit")
   ===================================================================== */
.hero-fit { background: #0C0B09 !important; }
.hero-fit__blur { position: absolute; inset: -40px; z-index: 0; background-size: cover; background-position: center; filter: blur(32px) brightness(.5) saturate(1.1); transform: scale(1.08); pointer-events: none; }
.hero-fit > img { position: relative; z-index: 1; object-fit: contain !important; animation: none !important; }
.opening__slide.hero-fit > img { position: absolute; inset: 0; }
.page-hero__media.hero-fit > img, .project-hero__media.hero-fit > img { filter: drop-shadow(0 24px 50px rgba(0,0,0,.55)); }
.hero-fit__blur { filter: blur(30px) brightness(.72) saturate(1.15); }

/* =====================================================================
   v6.4 — real material textures + framed material view
   ===================================================================== */
.mat-tex--oak        { background-image: url("../img/tex/oak.webp") !important; }
.mat-tex--walnut     { background-image: url("../img/tex/walnut.webp") !important; }
.mat-tex--marble     { background-image: url("../img/tex/marble.webp") !important; }
.mat-tex--travertine { background-image: url("../img/tex/travertine.webp") !important; }
.mat-tex--plaster    { background-image: url("../img/tex/plaster.webp") !important; }
.mat-card .mat-tex--oak        { background-image: url("../img/tex/oak-sm.webp") !important; }
.mat-card .mat-tex--walnut     { background-image: url("../img/tex/walnut-sm.webp") !important; }
.mat-card .mat-tex--marble     { background-image: url("../img/tex/marble-sm.webp") !important; }
.mat-card .mat-tex--travertine { background-image: url("../img/tex/travertine-sm.webp") !important; }
.mat-card .mat-tex--plaster    { background-image: url("../img/tex/plaster-sm.webp") !important; }
.mat-tex { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
.mat-tex::after { background: radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.14), transparent 55%), linear-gradient(180deg, transparent 60%, rgba(0,0,0,.08)) !important; }

/* material view: a framed card with margins instead of edge-to-edge */
.mat-panel { inset: 0 !important; width: min(1180px, calc(100vw - 48px)) !important; height: auto !important; max-height: calc(100dvh - 48px) !important;
	margin: auto !important; border-radius: 22px !important; border: 1px solid rgba(201,163,106,.45) !important; overflow: auto !important;
	background: #0C0B09 !important; box-shadow: 0 60px 140px -40px rgba(0,0,0,.95), 0 0 0 8px rgba(201,163,106,.06); }
.mat-panel::backdrop { background: rgba(4,4,4,.72) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mat-panel__item { min-height: 0 !important; grid-template-columns: 1fr 1.05fr !important; }
.mat-panel__tex { min-height: 0 !important; aspect-ratio: 4 / 5; max-height: calc(100dvh - 50px); margin: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.mat-panel__copy { padding: clamp(28px, 4vw, 64px) !important; gap: 18px !important; }
.mat-panel__copy .display-1 { font-size: clamp(2rem, 3.6vw, 3.4rem) !important; }
.mat-panel__close { position: absolute !important; top: 16px !important; right: 16px !important; }
@media (max-width: 899px) {
	.mat-panel { width: calc(100vw - 24px) !important; max-height: calc(100dvh - 24px) !important; border-radius: 18px !important; }
	.mat-panel__item { grid-template-columns: 1fr !important; grid-template-rows: auto auto !important; }
	.mat-panel__tex { aspect-ratio: 16 / 10; margin: 10px 10px 0; }
}
.mat-panel[open] { height: fit-content !important; }
.mat-panel__item:not([hidden]) { align-items: center; }
.mat-panel__tex { max-height: min(640px, calc(100dvh - 76px)); }

/* walkthrough chapter labels — maximum readability */
.wt__index { background: rgba(8,7,6,.82) !important; border-color: rgba(216,180,124,.4) !important; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); padding: 16px 22px 16px 28px !important; }
.wt__chapter { color: #FFFFFF !important; font-size: .84rem !important; letter-spacing: .14em !important; font-weight: 600 !important; padding: 8px 0 !important; opacity: 1 !important; text-shadow: 0 1px 3px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,.9) !important; }
.wt__chapter span { color: #EDD09A !important; font-size: .78rem !important; font-weight: 600; }
.wt__chapter:not(.is-active) { color: rgba(255,255,255,.92) !important; }
.wt__chapter.is-active { color: #FFE7B0 !important; }
/* hover photo preview: landscape frame so wide room photos show whole, not a narrow slice */
.svc-index__float { width: clamp(360px, 30vw, 480px) !important; aspect-ratio: 3 / 2 !important; border-radius: 14px !important; border: 1px solid rgba(201,163,106,.35); }
.svc-index__float img { object-position: center 55%; }
/* phones: the photo behind a list row shows its middle band, slightly less zoomed */
.is-touch-preview a.is-near .tp-img img { object-position: center 55%; }

/* inner-page heroes: lighter shading so the photo reads brighter (text keeps a soft shadow for legibility) */
.ph-frame::before { background: radial-gradient(ellipse 60% 55% at 50% 52%, rgba(8,8,8,.42), rgba(8,8,8,.14) 70%, rgba(8,8,8,.3)), linear-gradient(180deg, rgba(8,8,8,.38), transparent 28%, transparent 72%, rgba(8,8,8,.5)) !important; }
.page-hero--framed .page-hero__img { filter: brightness(1.08) saturate(1.04); }
.page-hero--framed .page-hero__title, .page-hero--framed .page-hero__lede, .page-hero--framed .crumbs, .page-hero--framed .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }

/* logo badge: soft warm off-white instead of bright white */
.brand__badge { background: #E9E3D8 !important; }
/* logo badge: dimmer warm stone tone */
.brand__badge { background: #D6CEC1 !important; }

/* logo badge: bright white again */
.brand__badge { background: #FFFFFF !important; }

/* hero text readable on every page: a soft dark pool behind the centred text, photo edges stay bright */
.ph-frame::before { background: radial-gradient(ellipse 52% 46% at 50% 50%, rgba(6,6,6,.66), rgba(6,6,6,.38) 55%, rgba(6,6,6,.12) 80%), linear-gradient(180deg, rgba(6,6,6,.45), transparent 26%, transparent 74%, rgba(6,6,6,.55)) !important; }
.page-hero--framed .page-hero__title { text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 4px 30px rgba(0,0,0,.7) !important; }
.page-hero--framed .page-hero__lede, .page-hero--framed .crumbs, .page-hero--framed .eyebrow { text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 2px 18px rgba(0,0,0,.75) !important; color: #FAF6EE; }
.page-hero--framed .page-hero__lede { font-weight: 500; }
.opening__copy, .opening__content { text-shadow: 0 2px 6px rgba(0,0,0,.5), 0 4px 30px rgba(0,0,0,.65); }

/* interactive map */
.map.is-leaflet .map__leaflet { position: absolute; inset: 0; z-index: 0; background: #0C0B09; }
.map.is-leaflet::before, .map.is-leaflet::after { display: none !important; }
.map__marker span { display: block; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold-grad, #C9A36A);
	box-shadow: 0 0 0 6px rgba(237,208,154,.2), 0 10px 24px rgba(0,0,0,.6); position: relative; }
.map__marker span::after { content: ""; position: absolute; left: 10px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: #0C0B09; }
.map .leaflet-control-zoom a { background: rgba(12,11,9,.85) !important; color: #EDD09A !important; border-color: rgba(201,163,106,.35) !important; }
.map .leaflet-control-zoom a:hover { background: var(--gold-grad, #C9A36A) !important; color: #0C0B09 !important; }
.map .leaflet-control-zoom { border: 1px solid rgba(201,163,106,.35) !important; border-radius: 10px; overflow: hidden; margin: 16px !important; }
.map .leaflet-control-attribution { background: rgba(12,11,9,.7) !important; color: #9b927f !important; font-size: 10px; }
.map .leaflet-control-attribution a { color: #c9b48c !important; }
.map.is-leaflet .map__card { z-index: 500; }
/* OpenStreetMap tiles tinted dark-gold to match the site (pin and controls stay untouched) */
.map.is-leaflet .leaflet-tile-pane { filter: grayscale(1) invert(.92) contrast(.9) sepia(.22) brightness(.92); }

/* homepage hero: shorter scroll + ~20% smaller headline */
.opening { height: 150vh !important; }
.opening__title { font-size: clamp(2.2rem, 4.3vw, 4.5rem) !important; }
@media (max-width: 899px) {
	.opening { height: 120vh !important; }
	.opening__title { font-size: clamp(1.9rem, 8.4vw, 2.6rem) !important; }
}
html:not(.motion) .opening, .fh-fallback .opening { height: 100svh !important; }

/* homepage hero: side margins + rounded frame, like the other pages' heroes */
.opening { background: #0A0A0A !important; }
.opening__sticky { margin-inline: var(--frame, clamp(14px, 2.4vw, 36px)); width: auto !important; border-radius: 0 0 var(--frame-r, 18px) var(--frame-r, 18px); overflow: hidden; }
@media (max-width: 899px) { .opening__sticky { margin-inline: 10px; border-radius: 0 0 14px 14px; } }
/* homepage hero: also spaced from the top (below the menu) and the bottom — a fully framed panel */
.opening { padding-top: calc(var(--header-h, 84px) + 6px); }
.opening__sticky { top: calc(var(--header-h, 84px) + 6px) !important; height: calc(100svh - var(--header-h, 84px) - 30px) !important; border-radius: var(--frame-r, 18px) !important; }
@media (max-width: 899px) { .opening__sticky { height: calc(100svh - var(--header-h, 70px) - 20px) !important; border-radius: 14px !important; } }
.opening__sticky { overflow: clip !important; isolation: auto !important; }

/* header menu: labels never shrink or get clipped; tighter spacing on laptops */
.nav__item, .nav__link { flex-shrink: 0; white-space: nowrap; }
.nav__link .roll { overflow: visible !important; clip-path: inset(0 -6px 0 -6px); }
.site-header__bar > *, .site-header__actions { flex-shrink: 0; }
.nav { min-width: 0; }
@media (max-width: 1440px) {
	.site-header__bar { gap: 16px; }
	.nav__list { gap: clamp(12px, 1.4vw, 22px) !important; }
	.nav__link { font-size: .82rem; }
	.site-header__actions { gap: 8px; }
	.pnav { margin-inline-end: 4px; }
	.site-header__actions .btn--pill { padding-inline: 16px; }
}
@media (max-width: 1240px) and (min-width: 900px) {
	.pnav--header { display: none; }                     /* page arrows hide to make room; menu stays complete */
	.nav__list { gap: 12px !important; }
	.lang--header .lang__item { min-width: 30px; padding: 0 7px; }
}