/*
Theme Name: Formex Homes
Theme URI: https://www.formexhomes.com.au
Author: Formex Homes
Description: Luxury architectural theme for Formex Homes — QBCC-licensed residential builders, Brisbane QLD. Editorial Playfair Display / Inter typography, ivory · charcoal · bronze palette, Projects and Services post types, self-hosted fonts.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: formex
*/

/* =========================================================
   1. Fonts (self-hosted)
   ========================================================= */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('assets/fonts/playfair-display-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('assets/fonts/playfair-display-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/playfair-display-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/playfair-display-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 200; font-display: swap; src: url('assets/fonts/inter-latin-200-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }

/* =========================================================
   2. Tokens
   ========================================================= */
:root {
	--font-display: 'Playfair Display', Georgia, serif;
	--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--ivory: #f8f4ee;
	--cream: #ede8df;
	--sand: #e8e2d8;
	--stone: #b8ad9e;
	--taupe: #8c8070;
	--charcoal: #181714;
	--deep: #0e0d0b;
	--panel: #252320;
	--panel-2: #1a1916;
	--bronze: #9a7b4f;
	--gold: #c9a96e;
	--gold-hover: #b8913a;
	--muted: #4a4744;
	--ink: #3d3833;

	--line-dark: rgba(255, 255, 255, .08);
	--line-dark-2: rgba(255, 255, 255, .2);
	--gold-grad: linear-gradient(90deg, #c9a96e, #9a7b4f);
	--ease: cubic-bezier(.16, 1, .3, 1);

	--nav-h: 72px;
	--gutter: 32px;
}
@media (min-width: 1024px) { :root { --gutter: 64px; } }

/* =========================================================
   3. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; line-height: 1.5; }
body {
	font-family: var(--font-sans);
	background: var(--deep);
	color: var(--ivory);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	line-height: 1.5;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; letter-spacing: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--deep); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bronze); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
main:focus { outline: none; }

.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--gold); color: var(--deep); padding: 10px 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* spacing utilities (Tailwind scale) */
.mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; } .mb-7 { margin-bottom: 28px; } .mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; } .mb-12 { margin-bottom: 48px; } .mb-14 { margin-bottom: 56px; } .mb-16 { margin-bottom: 64px; } .mb-20 { margin-bottom: 80px; }
.mt-3 { margin-top: 12px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }
.max-w-sm { max-width: 450px; }
.w-8 { width: 32px; }

/* =========================================================
   4. Typography
   ========================================================= */
.display { font-family: var(--font-display); font-weight: 300; line-height: .92; letter-spacing: 0; }
.display em { font-style: italic; }
.text-white { color: #fff; }
.text-charcoal { color: var(--charcoal); }
.d-brand { font-size: clamp(2.8rem, 6vw, 6rem); }
.d-proj { font-size: clamp(2.4rem, 5vw, 5rem); }
.d-serv { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.d-craft { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.d-feat { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.d-faq { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.d-cta { font-size: clamp(3rem, 6.5vw, 7rem); line-height: .88; }
.d-project { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.25; margin-bottom: 8px; }

.body-copy { font-size: 16px; line-height: 1.9; font-weight: 300; color: var(--taupe); }

/* Editorial label  ── 01 — PHILOSOPHY */
.label { display: flex; align-items: center; gap: 16px; }
.label-line { display: block; width: 24px; height: 1px; background: var(--bronze); flex-shrink: 0; }
.label-text { font-size: 12px; letter-spacing: .45em; text-transform: uppercase; color: var(--bronze); }
.label--gold .label-line { background: var(--gold-grad); }
.label--gold .label-text { color: var(--gold); }
.label--hero .label-line { width: 32px; }
.label--hero .label-text { font-weight: 300; }
.label--sm .label-line { width: 16px; }
.label--sm .label-text { letter-spacing: .35em; }

/* rules */
.gold-rule { height: 1px; width: 40px; background: var(--gold-grad); }
.gold-rule--solid { background: var(--gold); }
.bronze-rule { width: 48px; height: 1px; background: var(--bronze); }
.rule-dark { border-top: 1px solid var(--line-dark); }
.rule-light { border-top: 1px solid var(--sand); }
.gold-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* =========================================================
   5. Buttons & links
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; padding: 16px 40px; transition: background-color .3s, border-color .3s, color .3s; line-height: 1.5; }
.btn-gold { background: var(--gold); color: var(--deep); font-weight: 500; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { color: #fff; border: 1px solid var(--line-dark-2); }
.btn-outline:hover { border-color: rgba(255, 255, 255, .6); }
.btn-arrow { padding: 16px 32px; transition: all .4s; }
.btn-arrow:hover { border-color: var(--gold); background: rgba(201, 169, 110, .1); }
.arrow { display: inline-block; transition: transform .3s; }
a:hover > .arrow, button:hover > .arrow, .post-card-link:hover .arrow { transform: translateX(4px); }

.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; }
.arrow-link-text { padding-bottom: 2px; border-bottom: 1px solid; transition: color .3s, border-color .3s; }
.arrow-link--dark { color: var(--charcoal); }
.arrow-link--dark .arrow-link-text { border-color: rgba(24, 23, 20, .3); }
.arrow-link--dark .arrow { color: var(--bronze); }
.arrow-link--dark:hover .arrow-link-text, .post-card-link:hover .arrow-link-text { color: var(--bronze); border-color: var(--bronze); }
.brand-sec .arrow-link--dark .arrow-link-text { border-color: var(--charcoal); }
.brand-sec .arrow-link--dark .arrow { color: inherit; }
.arrow-link--gold { gap: 16px; color: var(--gold); }
.arrow-link--gold .arrow-link-text { border-color: rgba(201, 169, 110, .4); }
.arrow-link--gold:hover .arrow-link-text { border-color: var(--gold); }
.arrow-link--light { color: #fff; }
.arrow-link--light .arrow-link-text { border-color: rgba(255, 255, 255, .3); }
.arrow-link--light:hover .arrow-link-text { border-color: var(--gold); color: var(--gold); }

.line-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); transition: color .3s; }
.line-link:hover { color: #fff; }
.line-link-bar { width: 20px; height: 1px; background: currentColor; }

.all-link { display: none; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); transition: color .3s; align-self: flex-end; margin-bottom: 8px; }
.all-link:hover { color: var(--charcoal); }
@media (min-width: 1024px) { .all-link { display: flex; } }

/* =========================================================
   6. Media helpers
   ========================================================= */
.media { position: relative; overflow: hidden; }
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-5-4 { aspect-ratio: 5 / 4; }
.ratio-3-4 { aspect-ratio: 3 / 4; } .ratio-2-3 { aspect-ratio: 2 / 3; } .ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-4-3 { aspect-ratio: 4 / 3; } .ratio-3-2 { aspect-ratio: 3 / 2; }
.bg-stone { background: var(--sand); } .bg-panel { background: var(--panel); }
.zoom, .zoom-self { transition: transform 1.5s; }
.zoom-self:hover, a:hover > .zoom, .project-media:hover .zoom, .post-card-link:hover .zoom { transform: scale(1.05); }

.shade { position: absolute; inset: 0; pointer-events: none; }
.shade--b30 { background: linear-gradient(to bottom, transparent, rgba(24, 23, 20, .3)); }
.shade--b40 { background: linear-gradient(to bottom, transparent, rgba(24, 23, 20, .4)); }
.shade--t60 { background: linear-gradient(to top, rgba(14, 13, 11, .6), transparent); }
.shade--tr { background: linear-gradient(to top right, rgba(14, 13, 11, .6), transparent); }
.shade--flat { background: rgba(14, 13, 11, .3); }
.shade--hover { background: linear-gradient(to top, rgba(14, 13, 11, .4), transparent); opacity: 0; transition: opacity .5s; }
.project-media:hover .shade--hover { opacity: 1; }

.admin-note { margin-top: 48px; padding: 14px 18px; border: 1px dashed var(--stone); color: var(--taupe); font-size: 12px; line-height: 1.7; }
.section--charcoal .admin-note, .section--deep .admin-note { border-color: var(--muted); }

/* =========================================================
   7. Motion
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible, .fx-nojs .reveal { opacity: 1; transform: none; }
.js.fx-nojs .hero-copy { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ctaZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   8. Navigation
   ========================================================= */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .7s, border-color .7s, backdrop-filter .7s; border-bottom: 1px solid transparent;  }
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }
.site-nav.is-scrolled, .menu-open .site-nav { background: rgba(0, 0, 0, .98); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: rgba(255, 255, 255, .05); }
.nav-row { max-width: 1440px; margin: 0 auto; padding: 15px var(--gutter); height: auto; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: baseline; gap: 10px; position: relative; z-index: 2; }
.brand-word { font-family: var(--font-display); font-size: 18px; line-height: 28px; color: #fff; letter-spacing: .2em; font-weight: 300; }
.brand-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transition: transform .3s; align-self: center; transform: translateY(1px); }
.brand:hover .brand-dot { transform: translateY(1px) scale(1.25); }
.brand-sub { font-size: 10px; color: var(--taupe); letter-spacing: .3em; text-transform: uppercase; font-weight: 300; }
.brand--logo img { max-height: 44px; width: auto; }

.nav-main { display: none; align-items: center; gap: 48px; }
@media (min-width: 1024px) { .nav-main { display: flex; } }
.nav-main .nav-list { display: flex; align-items: center; gap: 48px; }
.nav-main .nav-list > li { position: relative; }
.nav-main .nav-list > li > a { position: relative; display: inline-block; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: #c9a96e; transition: color .3s; padding: 26px 0; line-height: 1.5; }
.nav-main .nav-list > li > a::after { content: ''; position: absolute; left: 0; bottom: 24px; height: 1px; width: 0; background: var(--gold); transition: width .3s; }
.nav-main .nav-list > li > a:hover, .nav-main .nav-list > li > a.is-current { color: #fff; }
.nav-main .nav-list > li > a:hover::after, .nav-main .nav-list > li > a.is-current::after { width: 100%; }
.nav-cta { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; background: var(--gold); color: var(--deep); padding: 10px 24px; font-weight: 500; transition: background-color .3s; line-height: 1.5; }
.nav-cta:hover { background: var(--gold-hover); }

.dropdown { position: absolute; top: 100%; left: -28px; min-width: 300px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-inner { background: rgba(14, 13, 11, .97); border: 1px solid rgba(255, 255, 255, .06); border-top: 1px solid var(--gold); padding: 12px 0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dropdown a { display: flex; align-items: baseline; gap: 16px; padding: 11px 28px; transition: background-color .3s; }
.dropdown a:hover { background: rgba(255, 255, 255, .03); }
.dd-num { min-width: 22px; font-size: 12px; letter-spacing: .35em; color: rgba(255, 255, 255, .25); transition: color .3s; display: none; }
.dd-title { font-family: var(--font-display); font-size: 17px; color: var(--taupe); transition: color .3s; white-space: nowrap; }
.dropdown a:hover .dd-num { color: var(--gold); }
.dropdown a:hover .dd-title { color: #fff; }

.nav-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; position: relative; z-index: 2; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; height: 1px; background: #fff; transition: all .3s; }
.nav-toggle span:nth-child(1) { width: 24px; }
.nav-toggle span:nth-child(2) { width: 16px; }
.nav-toggle span:nth-child(3) { width: 20px; }
.menu-open .nav-toggle span:nth-child(1) { width: 24px; transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { width: 0; }
.menu-open .nav-toggle span:nth-child(3) { width: 24px; transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--deep); opacity: 0; pointer-events: none; transition: opacity .5s; overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open { overflow: hidden; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 110px 40px 48px; gap: 32px; }
.mobile-menu .nav-list { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu .nav-list > li > a { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 300; font-style: italic; color: rgba(255, 255, 255, .9); transition: color .3s; }
.mobile-menu .nav-list > li > a:hover, .mobile-menu .nav-list > li > a.is-current { color: var(--gold); }
.mobile-menu .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; }
.mobile-menu .dropdown-inner { background: none; border: 0; padding: 12px 0 0 4px; }
.mobile-menu .dropdown a { padding: 6px 0; }
.mobile-menu .dd-title { font-size: 16px; font-style: normal; white-space: normal; }
.mobile-cta { display: inline-block; align-self: flex-start; margin-top: 16px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; background: var(--gold); color: var(--deep); padding: 12px 32px; font-weight: 500; }
.mobile-contact { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 300; color: var(--taupe); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* =========================================================
   9. Hero (home) + page hero
   ========================================================= */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--deep); }
.hero { height: 100vh; height: 100svh; min-height: 700px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.is-loaded .hero-img { animation: heroZoom 14s var(--ease) forwards; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade--v { background: linear-gradient(to bottom, rgba(14, 13, 11, .5), rgba(14, 13, 11, .2), rgba(14, 13, 11, .9)); }
.hero-shade--h { background: linear-gradient(to right, rgba(14, 13, 11, .6), transparent, transparent); }

.hero-side { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; align-items: center; gap: 16px; z-index: 2; }
@media (min-width: 1280px) { .hero-side { display: flex; } }
.hero-side-line { width: 1px; height: 80px; background: var(--gold-grad); opacity: .5; }
.hero-side span { font-size: 8px; letter-spacing: .5em; text-transform: uppercase; color: var(--taupe); writing-mode: vertical-rl; }

.hero-inner { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 80px; }
@media (min-width: 1024px) { .hero-inner { padding-bottom: 112px; } }
.js .hero-copy { opacity: 0; transform: translateY(24px); transition: opacity 1s .3s, transform 1s .3s; }
.js .is-loaded .hero-copy { opacity: 1; transform: none; }
.hero-title { color: #fff; line-height: .88; margin-bottom: 40px; font-size: clamp(3.5rem, 9vw, 8.5rem); }
.hero-title em { color: rgba(248, 244, 238, .9); }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; margin-top: 8px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: center; } }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--gold)); animation: pulse 2.5s ease-in-out infinite; }
.hero-scroll span { font-size: 8px; letter-spacing: .45em; text-transform: uppercase; color: var(--taupe); }

/* inner-page hero */
.page-hero { min-height: 640px; height: 82vh; display: flex; }
.page-hero--compact { height: 64vh; min-height: 520px; }
.page-hero-inner { position: relative; z-index: 10; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px; }
@media (min-width: 1024px) { .page-hero-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-bottom: 96px; } }
.page-hero-title { font-family: var(--font-display); font-weight: 300; color: #fff; line-height: .9; font-size: clamp(3rem, 7vw, 6.5rem); }
.page-hero--compact .page-hero-title { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.page-hero-title em { font-style: italic; color: rgba(248, 244, 238, .9); }
.page-hero .label { margin-bottom: 32px; }
.page-hero-lead { margin-top: 32px; max-width: 460px; font-size: 15px; line-height: 1.9; font-weight: 300; color: rgba(248, 244, 238, .72); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 40px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: rgba(248, 244, 238, .75); }
.crumbs-sep { color: rgba(255, 255, 255, .2); }
.hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 24px 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); flex-shrink: 0; }
@media (min-width: 1024px) { .hero-meta { min-width: 360px; margin-bottom: 6px; } }
.hero-meta dt, .meta-grid dt { font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.hero-meta dd { font-size: 13px; color: #fff; font-weight: 300; }

/* =========================================================
   10. Marquee
   ========================================================= */
.marquee { background: var(--gold); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: var(--deep); font-weight: 500; padding: 0 24px; white-space: nowrap; }

/* =========================================================
   11. Sections
   ========================================================= */
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 90px 0; } }
.section--ivory { background: var(--ivory); color: var(--charcoal); }
.section--charcoal { background: var(--charcoal); }
.section--deep { background: var(--deep); }
.section--tight { padding: 80px 0; }
@media (min-width: 1024px) { .section--tight { padding: 128px 0; } }
.section--flush-top { padding-top: 0 !important; }

/* 01 Brand statement */
.brand-sec.section { padding: 68px 0; }
@media (min-width: 1024px) { .brand-sec.section { padding: 68px 0; } }
.brand-grid { display: grid; gap: 64px; align-items: end; }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: 1fr 1.1fr; gap: 128px; } }
.brand-media { position: relative; }
.caption-chip { position: absolute; bottom: 24px; right: 24px; background: rgba(14, 13, 11, .8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 12px 16px; }
.caption-chip p { font-size: 8px; letter-spacing: .35em; text-transform: uppercase; color: var(--taupe); }
.deco-num { position: absolute; top: -24px; left: -16px; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--sand); font-weight: 300; pointer-events: none; user-select: none; z-index: 0; }

/* 02 Featured project */
.featured { position: relative; background: var(--deep); }
.featured-grid { display: grid; }
@media (min-width: 1024px) { .featured-grid { grid-template-columns: 1.2fr 1fr; min-height: 100vh; } }
.featured-media { position: relative; overflow: hidden; background: var(--panel-2); min-height: 70vh; display: block; }
@media (min-width: 1024px) { .featured-media { min-height: 0; } }
.featured-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s; }
.featured-media:hover .featured-img { transform: scale(1.05); }
.shade--feat-h { background: linear-gradient(to right, transparent, rgba(14, 13, 11, .6)); }
.shade--feat-v { background: linear-gradient(to top, rgba(14, 13, 11, .5), transparent); }
.featured-chip { position: absolute; top: 40px; left: 40px; font-size: 8px; letter-spacing: .45em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 169, 110, .3); padding: 6px 12px; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 96px 40px; }
@media (min-width: 1024px) { .featured-copy { padding: 40px 64px; } }
.featured-copy .arrow-link { align-self: flex-start; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.meta-grid dd { font-size: 15px; color: #fff; font-weight: 300; }
span.amp {
    font-family: var(--font-sans);
display: inline-block !important;
}
section.hero.is-loaded::before {
    content: "";
    background: #000000;
    background: linear-gradient(172deg, rgba(0, 0, 0, 1) 4%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
}
/* 03 Projects */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 80px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 128px; } }
.projects-list { display: flex; flex-direction: column; gap: 112px; }
@media (min-width: 1024px) { .projects-list { gap: 176px; } }
.project-row { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
	.project-row { gap: 64px; }
	.project-row.cols-wide-l { grid-template-columns: 1.7fr 1fr; }
	.project-row.cols-wide-r { grid-template-columns: 1fr 1.7fr; }
	.project-row.cols-even { grid-template-columns: 1fr 1fr; }
	.project-row.is-flipped .project-media { order: 2; }
	.project-row.is-flipped .project-copy { order: 1; }
}
.project-media { display: block; }
.project-num { position: absolute; top: 20px; left: 20px; font-family: var(--font-display); font-size: 3.5rem; line-height: 1; font-weight: 300; color: rgba(255, 255, 255, .2); }
.project-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.project-copy h3 a:hover { color: var(--bronze); }
.project-loc { font-size: 14px; letter-spacing: .25em; text-transform: uppercase; color: var(--stone); margin-bottom: 28px; }

/* 04 Services */
.services.section { overflow: hidden; }
.services-grid { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.service-tab { width: 100%; text-align: left; border-top: 1px solid var(--line-dark); padding: 28px 0; display: flex; align-items: center; justify-content: space-between; transition: border-color .3s; }
.service-tab:hover { border-color: var(--line-dark-2); }
.service-tab.is-active { border-color: var(--gold); }
.service-tab-l { display: flex; align-items: baseline; gap: 24px; }
.service-num { font-size: 12px; letter-spacing: .35em; color: rgba(255, 255, 255, .2); transition: color .3s; }
.service-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--taupe); transition: color .3s; line-height: 1.3; }
.service-tab:hover .service-name { color: rgba(255, 255, 255, .8); }
.service-arrow { color: rgba(255, 255, 255, .2); transition: all .3s; }
.service-tab.is-active .service-num, .service-tab.is-active .service-arrow { color: var(--gold); }
.service-tab.is-active .service-name { color: #fff; }
.service-tab.is-active .service-arrow { transform: translateX(4px); }
.service-panes { margin-top: 40px; display: grid; }
.service-pane { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s; }
.service-pane.is-active { opacity: 1; visibility: visible; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 169, 110, .25); padding: 6px 12px; line-height: 1.5; }
.services-media-col { position: sticky; top: 96px; }
.service-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .7s, transform .7s; }
.service-img.is-active { opacity: 1; transform: none; }
.services-caption { position: absolute; left: 32px; right: 32px; bottom: 32px; display: grid; }
.service-caption { grid-area: 1 / 1; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-style: italic; font-weight: 300; color: #fff; margin-bottom: 4px; opacity: 0; transition: opacity .5s; }
.service-caption.is-active { opacity: 1; }
.services-caption .gold-rule { grid-row: 2; }

/* 05 Craftsmanship */
.craft-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .craft-grid { grid-template-columns: 1fr 1.3fr; gap: 80px; } }
.materials { display: flex; flex-direction: column; gap: 20px; }
.materials li { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--sand); font-size: 14px; font-weight: 300; color: var(--charcoal); transition: color .3s; }
.materials li:hover { color: var(--bronze); }
.craft-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px;position: sticky;top: 160px; }
.craft-tall { grid-row: span 2; }
.media-label { position: absolute; bottom: 20px; left: 20px; font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.media-label--sm { bottom: 16px; left: 16px; }

/* 06 Process */
.process-grid { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: 1fr 1.5fr; gap: 96px; } }
.process-list { display: none; }
.process-mobile { display: block; }
@media (min-width: 1024px) { .process-list { display: block; } .process-mobile { display: none; } }
.process-step { width: 100%; text-align: left; border-top: 1px solid var(--line-dark); padding: 32px 0; display: flex; gap: 40px; align-items: flex-start; transition: border-color .3s; }
.process-step:hover { border-color: var(--line-dark-2); }
.process-step.is-active { border-color: var(--gold); }
.process-num { font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 300; margin-top: 4px; flex-shrink: 0; color: rgba(255, 255, 255, .15); transition: color .3s; display: none;}
.process-body { flex: 1; display: block; }
.process-name { display: block; font-family: var(--font-display); font-size: 24px; line-height: 32px; font-weight: 300; margin-bottom: 12px; color: var(--taupe); transition: color .3s; }
.process-step:hover .process-name { color: rgba(255, 255, 255, .7); }
.process-step.is-active .process-num { color: var(--gold); }
.process-step.is-active .process-name { color: #fff; }
.process-desc { display: block; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s, opacity .5s; }
.process-step.is-active .process-desc { max-height: 96px; opacity: 1; }
.process-desc span { display: block; padding-top: 4px; font-size: 13px; line-height: 1.9; font-weight: 300; color: var(--taupe); }
.process-m-item { border-top: 1px solid var(--line-dark); padding: 24px 0; display: flex; gap: 24px; }
.process-m-num { font-family: var(--font-display); font-size: 30px; line-height: 36px; color: var(--gold); font-weight: 300; flex-shrink: 0; }
.process-m-name { font-size: 14px; line-height: 20px; color: #fff; font-weight: 300; margin-bottom: 8px; }

/* 07 About */
.about.section { overflow: hidden; }
.about-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 96px; } }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--sand); padding-top: 40px; }
.stat-num { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 300; color: var(--charcoal); margin-bottom: 4px; }
.stat-lbl { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.about-media { position: relative; }
.frame { position: absolute; width: 60%; height: 40%; border: 1px solid; z-index: 0; pointer-events: none; }
.frame--br { bottom: -20px; right: -20px; border-color: rgba(201, 169, 110, .25); }
.frame--tl { top: -20px; left: -20px; border-color: rgba(201, 169, 110, .1); }

/* 08 Testimonials */
.testi-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: 1fr 1px 1fr; gap: 64px; } }
.testi-stage { display: grid; }
.testi { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease); }
.testi.is-active { opacity: 1; visibility: visible; }
.testi-quote { font-family: var(--font-display); font-style: italic; font-weight: 300; color: #fff; line-height: 1.25; margin-bottom: 40px; font-size: clamp(1.5rem, 3vw, 2.6rem); }
.testi-name { font-size: 14px; line-height: 20px; color: #fff; font-weight: 300; }
.testi-project { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); margin-top: 4px; }
.testi-dots { display: flex; gap: 12px; margin-top: 40px; }
.testi-dot { height: 1px; width: 20px; background: rgba(255, 255, 255, .2); transition: all .4s; padding: 0; position: relative; }
.testi-dot::before { content: ''; position: absolute; inset: -10px 0; }
.testi-dot:hover { background: rgba(255, 255, 255, .4); }
.testi-dot.is-active { width: 40px; background: var(--gold); }
.testi-divider, .testi-img-col { display: none; }
@media (min-width: 1024px) { .testi-divider { display: block; width: 1px; background: var(--line-dark); align-self: stretch; } .testi-img-col { display: block; } }

/* 09 FAQ */
.faq-grid { display: grid; gap: 64px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1.8fr; gap: 96px; } }
.faq-item { border-top: 1px solid var(--sand); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 28px 0; text-align: left; }
.faq-q-inner { display: flex; align-items: baseline; gap: 24px; }
.faq-num { font-size: 12px; letter-spacing: .35em; color: var(--gold); }
.faq-text { font-size: 14px; line-height: 20px; color: var(--charcoal); font-weight: 300; transition: color .3s; }
.faq-q:hover .faq-text { color: var(--bronze); }
.faq-plus { color: var(--bronze); font-size: 20px; line-height: 28px; margin-left: 16px; flex-shrink: 0; transition: transform .3s; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-item.is-open .faq-a { max-height: 300px; }
.faq-a p { font-size: 13px; line-height: 1.9; font-weight: 300; color: var(--taupe); padding: 0 0 28px 40px; }
.faq-a a { color: var(--bronze); border-bottom: 1px solid currentColor; }

/* 10 Contact */
.contact-grid { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.contact-rows { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.contact-rows div { display: flex; gap: 32px; align-items: baseline; }
.contact-rows dt { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); width: 64px; flex-shrink: 0; }
.contact-rows dd { font-size: 14px; color: var(--taupe); font-weight: 300; overflow-wrap: anywhere; }
.contact-rows a:hover { color: #fff; }
.form-panel { background: var(--deep); padding: 40px; }
@media (min-width: 1024px) { .form-panel { padding: 56px; } }

.fx-form { display: flex; flex-direction: column; gap: 28px; }
.fx-input,
.fx-form--plugin input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
.fx-form--plugin select,
.fx-form--plugin textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; border-radius: 0;
	font-size: 13px; line-height: 1.5; color: #fff; font-weight: 300; transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.fx-input::placeholder, .fx-form--plugin ::placeholder { color: rgba(255, 255, 255, .25); }
.fx-input:focus, .fx-form--plugin input:focus, .fx-form--plugin select:focus, .fx-form--plugin textarea:focus { outline: none; border-color: rgba(201, 169, 110, .6); }
.fx-select, .fx-form--plugin select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238c8070'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.fx-select option, .fx-form--plugin option { background: var(--deep); color: #fff; }
.fx-textarea, .fx-form--plugin textarea { resize: none; height: auto; }
.btn-submit,
.fx-form--plugin input[type=submit], .fx-form--plugin button[type=submit] {
	width: 100%; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; background: var(--gold); color: var(--deep); padding: 16px; font-weight: 500; margin-top: 16px; transition: background-color .3s; border: 0; border-radius: 0; cursor: pointer; line-height: 1.5;
}
.btn-submit:hover, .fx-form--plugin input[type=submit]:hover { background: var(--gold-hover); }
.fx-form--plugin form p { margin: 0 0 28px; }
.fx-form--plugin label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.fx-form--plugin .wpcf7-spinner { display: block; margin: 12px auto 0; }
.fx-form--plugin .wpcf7-not-valid-tip { font-size: 11px; color: #d99a7a; margin-top: 6px; }
.fx-form--plugin .wpcf7-response-output { margin: 20px 0 0 !important; border: 1px solid rgba(201, 169, 110, .4) !important; color: var(--stone); font-size: 12px; padding: 12px 16px !important; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: 20px; font-size: 12px; line-height: 1.7; color: #e3b59a; border-left: 1px solid var(--gold); padding-left: 14px; }
.form-sent { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 0; text-align: center; }
.form-sent-icon { width: 48px; height: 48px; border: 1px solid rgba(201, 169, 110, .3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; color: var(--gold); }
.form-sent-title { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-style: italic; font-weight: 300; color: #fff; margin-bottom: 16px; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; background: var(--deep); min-height: 75vh; }
.final-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: ctaZoom 20s ease-in-out alternate infinite; }
.shade--cta-h { background: linear-gradient(to right, rgba(14, 13, 11, .9), rgba(14, 13, 11, .5), rgba(14, 13, 11, .1)); }
.shade--cta-v { background: linear-gradient(to top, rgba(14, 13, 11, .6), transparent); }
.final-cta-inner { position: relative; z-index: 10; min-height: 75vh; display: flex; align-items: center; }
.cta-actions { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* =========================================================
   12. Footer
   ========================================================= */
.site-footer { background: var(--deep); border-top: 1px solid rgba(255, 255, 255, .05); padding: 64px 0; }
@media (min-width: 1024px) { .site-footer { padding: 96px 0; } }
.footer-grid { display: grid; gap: 48px; margin-bottom: 56px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; } }
.footer-word { font-family: var(--font-display); font-size: 24px; line-height: 32px; color: #fff; letter-spacing: .1em; font-weight: 300; }
.footer-sub { font-size: 12px; color: var(--taupe); letter-spacing: .35em; text-transform: uppercase; font-weight: 300; margin-top: 2px; }
.footer-statement { font-size: 14px; color: var(--taupe); font-weight: 300; line-height: 1.9; max-width: 320px; }
.footer-head { font-size: 8px; letter-spacing: .45em; text-transform: uppercase; color: var(--bronze); margin-bottom: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a, .footer-links span { display: block; font-size: 14px; line-height: 16px; color: var(--taupe); font-weight: 300; transition: color .3s; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 20px; margin-top: 28px; }
.footer-social a { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }
.footer-social a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .05); padding-top: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p, .footer-legal a, .footer-legal span { font-size: 14px; line-height: 16px; color: var(--muted); font-weight: 300; transition: color .3s; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-legal a:hover { color: var(--taupe); }

/* =========================================================
   13. Inner pages
   ========================================================= */

/* Split intro (ivory) — About story, services intro, project statement */
.split { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1.1fr; gap: 128px; align-items: end; } }
.split--top { align-items: start; }
@media (min-width: 1024px) { .split--wide-l { grid-template-columns: 1.4fr 1fr; gap: 96px; } }

/* Long-form content (WP editor) */
.prose { font-size: 15px; line-height: 1.9; font-weight: 300; color: var(--ink); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; color: var(--charcoal); margin-top: 2em; }
.prose h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; color: var(--charcoal); margin-top: 1.8em; }
.prose h4 { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--bronze); font-weight: 400; margin-top: 2em; }
.prose a { color: var(--bronze); border-bottom: 1px solid rgba(154, 123, 79, .4); transition: border-color .3s; }
.prose a:hover { border-color: var(--bronze); }
.prose strong { font-weight: 500; color: var(--charcoal); }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-top: .6em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--gold); }
.prose ol { counter-reset: fx; }
.prose ol li { counter-increment: fx; position: relative; padding-left: 36px; margin-top: .6em; }
.prose ol li::before { content: counter(fx, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.prose blockquote { border-left: 1px solid var(--gold); padding: 6px 0 6px 28px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--charcoal); }
.prose blockquote cite { display: block; margin-top: 14px; font-family: var(--font-sans); font-style: normal; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.prose img, .prose figure { margin-left: auto; margin-right: auto; }
.prose figcaption, .prose .wp-caption-text { margin-top: 10px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }
.prose hr { border-top: 1px solid var(--sand); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--sand); }
.prose .alignwide { max-width: none; }
.prose--dark { color: var(--taupe); }
.prose--dark h2, .prose--dark h3, .prose--dark strong, .prose--dark blockquote { color: #fff; }
.prose--body { font-size:16px; color: var(--taupe); }
.prose--body > * + * { margin-top: 1.2em; }

/* Big stat band */
.stats-band { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--sand); }
@media (min-width: 1024px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stats-band > div { padding: 40px 24px 0 0; }
@media (min-width: 1024px) { .stats-band > div { padding: 48px 32px 0 0; } .stats-band > div + div { border-left: 1px solid var(--sand); padding-left: 32px; } }
.big-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; color: var(--charcoal); margin-bottom: 12px; }
.big-num small { font-size: .45em; color: var(--bronze); margin-left: 4px; }

/* Split media (dark) — leadership, next project */
.split-dark { display: grid; background: var(--deep); }
@media (min-width: 1024px) { .split-dark { grid-template-columns: 1fr 1fr; min-height: 90vh; } .split-dark--rev .split-dark-media { order: 2; } }
.split-dark-media { position: relative; overflow: hidden; min-height: 60vh; background: var(--panel-2); display: block; }
@media (min-width: 1024px) { .split-dark-media { min-height: 0; } }
.split-dark-copy { display: flex; flex-direction: column; justify-content: center; padding: 96px 40px; }
@media (min-width: 1024px) { .split-dark-copy { padding: 96px 64px; } }
.split-dark-copy .arrow-link { align-self: flex-start; }

/* Numbered principles grid (values / why) */
.principles { display: grid; gap: 0 64px; }
@media (min-width: 768px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { border-top: 1px solid var(--sand); padding: 36px 0 44px; display: flex; gap: 32px; }
.principle-num { font-family: var(--font-display); font-weight: 300; font-size: 48px; line-height: 1; color: var(--gold); flex-shrink: 0; min-width: 56px; }
.principle-title { font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 32px; color: var(--charcoal); margin-bottom: 10px; }
.section--charcoal .principle, .section--deep .principle { border-color: var(--line-dark); }
.section--charcoal .principle-title { color: #fff; }
.section--charcoal .principle-num { color: rgba(201, 169, 110, .85); }

/* Service listing rows */
.svc-rows { display: flex; flex-direction: column; }
.svc-row { display: grid; gap: 32px; padding: 56px 0; border-top: 1px solid var(--sand); align-items: center; }
.svc-row:last-child { border-bottom: 1px solid var(--sand); }
@media (min-width: 1024px) { .svc-row { grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 64px 0; } .svc-row .svc-media { order: 3; } }
.svc-idx { font-family: var(--font-display); font-weight: 300; font-size: 48px; line-height: 1; color: var(--gold); align-self: start; display: none;}
.svc-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.5rem); line-height: 1.05; color: var(--charcoal); margin-bottom: 16px; transition: color .3s; }
.svc-row:hover .svc-title { color: var(--bronze); }
.svc-tagline { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); line-height: 1.8; margin-bottom: 24px; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.svc-meta .tag { color: var(--bronze); border-color: rgba(154, 123, 79, .3); }

/* Service detail */
.detail-grid { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 1.35fr 1fr; gap: 112px; } }
.detail-statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.12; color: var(--charcoal); margin-bottom: 40px; }
.detail-statement em { font-style: italic; }
.snapshot { position: relative; background: var(--charcoal); color: #fff; padding: 40px; }
@media (min-width: 1024px) { .snapshot { position: sticky; top: 112px; padding: 48px; } }
.snapshot-title { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.15; margin: 24px 0 28px; }
.snapshot-list li { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); padding: 16px 0; font-size: 13px; font-weight: 300; color: var(--stone); }
.snapshot-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.snapshot-list b { font-weight: 300; color: #fff; text-align: right; }
.snapshot .btn { width: 100%; margin-top: 32px; }
.snapshot .btn + .btn { margin-top: 12px; }

.editorial-gallery { display: grid; gap: 12px; }
@media (min-width: 768px) { .editorial-gallery { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; } .editorial-gallery > :first-child { grid-row: span 2; } }
.editorial-gallery .media { min-height: 260px; }
@media (min-width: 768px) { .editorial-gallery > :first-child { min-height: 620px; } }

.quote-block { position: relative; }
.quote-mark { font-family: var(--font-display); font-size: 120px; line-height: .7; color: rgba(201, 169, 110, .35); display: block; margin-bottom: 8px; }

/* Related (dark rows) */
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-top: 1px solid var(--sand); transition: border-color .3s; }
.related-list a:last-child { border-bottom: 1px solid var(--sand); }
.related-list a:hover { border-top-color: var(--gold); }
.related-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--charcoal); line-height: 1.2; }
.related-list a:hover .related-name { color: var(--bronze); }
.related-sub { display: block; margin-top: 6px; font-size: 12px; font-weight: 300; color: var(--taupe); font-family: var(--font-sans); }
.related-list .arrow { color: var(--bronze); }

/* Gallery page */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) {
	.gallery-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 14vw, 210px); grid-auto-flow: dense; }
	.g-item { grid-row: span 2; }
	.g-a { grid-column: span 8; } .g-b { grid-column: span 4; }
	.g-c { grid-column: span 4; }
	.g-d { grid-column: span 5; } .g-e { grid-column: span 7; }
}
.g-item { position: relative; overflow: hidden; background: var(--panel-2); display: block; aspect-ratio: 4 / 3; cursor: zoom-in; }
@media (min-width: 768px) { .g-item { aspect-ratio: auto; } }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(to top, rgba(14, 13, 11, .75), transparent); display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; } }
.g-num { font-size: 12px; letter-spacing: .35em; color: var(--gold); }
.g-title { font-family: var(--font-display); font-size: 18px; font-style: italic; color: #fff; font-weight: 300; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(14, 13, 11, .96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; padding: 72px 24px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-cap { position: absolute; left: 24px; bottom: 24px; font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: var(--taupe); }
.lb-btn { position: absolute; color: #fff; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding: 14px; opacity: .7; transition: opacity .3s, color .3s; }
.lb-btn:hover { opacity: 1; color: var(--gold); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 22px; }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 22px; }

/* Blog */
.post-featured { display: grid; gap: 40px; align-items: center; margin-bottom: 112px; }
@media (min-width: 1024px) { .post-featured { grid-template-columns: 1.3fr 1fr; gap: 80px; margin-bottom: 144px; } }
.post-featured-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.05; color: var(--charcoal); margin: 20px 0 24px; }
.post-featured-title a:hover { color: var(--bronze); }
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.post-featured .post-meta { margin-top: 0; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--stone); display: inline-block; }
.post-grid { display: grid; gap: 72px 48px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: 1fr 1fr 1fr; } }
.post-card-link { display: block; }
.post-card-title { font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1.2; color: var(--charcoal); margin: 14px 0 14px; transition: color .3s; }
.post-card-link:hover .post-card-title { color: var(--bronze); }
.post-card .body-copy { margin-bottom: 22px; }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--sand); padding-top: 48px; margin-bottom: 64px; }

.pagination { margin-top: 96px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--sand); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--taupe); transition: all .3s; }
.pagination a.page-numbers:hover { border-color: var(--bronze); color: var(--charcoal); }
.pagination .page-numbers.current { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold); }
.pagination .dots { border: 0; }

/* Single article */
.article-wrap { max-width: 740px; margin: 0 auto; }
.article-figure { max-width: 1160px; margin: 0 auto 96px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--sand); }
.article-tags a { font-size: 8px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); border: 1px solid rgba(154, 123, 79, .3); padding: 6px 12px; }
.article-tags a:hover { border-color: var(--bronze); }
.author-row { display: flex; gap: 20px; align-items: center; margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.author-row img { border-radius: 50%; width: 52px; height: 52px; }

/* Comments */
.comments { margin-top: 96px; }
.comments .comment-list { margin-top: 32px; }
.comments .comment-body { border-top: 1px solid var(--sand); padding: 24px 0; font-size: 14px; line-height: 1.8; color: var(--ink); }
.comments .comment-meta { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 10px; }
.comments .children { padding-left: 32px; }
.comment-form { display: grid; gap: 16px; margin-top: 32px; }
.comment-form label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border-bottom: 1px solid var(--stone); padding: 12px 0; font-size: 14px; color: var(--charcoal); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--bronze); }
.comment-form .submit { background: var(--charcoal); color: var(--gold); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; padding: 16px 32px; cursor: pointer; }
.comment-reply-title { font-family: var(--font-display); font-weight: 300; font-size: 28px; color: var(--charcoal); }

/* 404 */
.error-page { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--deep); }
.error-page .hero-img { opacity: .25; }
.error-num { position: absolute; right: -2vw; bottom: -6vw; font-family: var(--font-display); font-weight: 300; font-size: 38vw; line-height: 1; color: rgba(255, 255, 255, .035); pointer-events: none; user-select: none; }
.error-inner { position: relative; z-index: 2; padding-top: var(--nav-h); }

/* Search form */
.search-form { display: flex; gap: 12px; max-width: 480px; border-bottom: 1px solid var(--stone); }
.search-form .search-field { flex: 1; padding: 14px 0; font-size: 14px; border: 0; background: transparent; color: inherit; }
.search-form .search-field:focus { outline: none; }
.search-form .search-submit { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }

/* WordPress core classes */
.alignleft { float: left; margin: 6px 32px 20px 0; }
.alignright { float: right; margin: 6px 0 20px 32px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-image img { height: auto; }
.wp-block-button__link { background: var(--charcoal); color: var(--gold); border-radius: 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; padding: 16px 32px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sticky, .bypostauthor { position: relative; }


/* Inner-page additions */
.section-head { gap: 32px; flex-wrap: wrap; }
.head-aside { align-self: flex-end; }
@media (min-width: 1024px) { .section-head { flex-wrap: nowrap; } .head-aside { margin-bottom: 8px; } }
.mt-stats { margin-top: 112px; }
@media (min-width: 1024px) { .mt-stats { margin-top: 160px; } }
.about-quote { margin: 32px 0 12px; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; color: var(--charcoal); max-width: 520px; }
.included-head { display: block; margin: 48px 0 8px; }
.snapshot-single { text-align: left !important; }
.snapshot-tick { color: var(--gold); font-size: 12px; }
.why-row { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line-dark); }
.why-num { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1; color: var(--gold); flex-shrink: 0; min-width: 40px; display: none; }
.why-title { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.3; color: #fff; margin-bottom: 8px; }
.why-quote { align-self: center; }
.why-solo { max-width: 860px; }
.author-name { margin: 4px 0 0; font-size: 22px; }
.contact-page.section { padding-top: calc(var(--nav-h) + 72px); }
@media (min-width: 1024px) { .contact-page.section { padding-top: calc(var(--nav-h) + 112px); } }
.list-head .label { margin: 0; }
.post-featured .featured-chip { top: 24px; left: 24px; background: rgba(14, 13, 11, .55); }
.split-dark-media .featured-chip { z-index: 2; }
.section--ivory .label--gold .label-text { color: var(--bronze); }

/* Small screens */
@media (max-width: 639px) {
	.featured-chip { top: 24px; left: 24px; }
	.deco-num { font-size: 6.5rem; top: -18px; left: -6px; }
	.frame--br { right: -10px; bottom: -10px; }
	.frame--tl { left: -10px; top: -10px; }
	.caption-chip { right: 12px; bottom: 12px; }
	.stat-row { gap: 12px; }
	.stat-num { font-size: 30px; line-height: 36px; }
	.page-hero { height: auto; min-height: 88vh; }
	.page-hero--compact { min-height: 70vh; }
	.form-panel { padding: 32px 24px; }
	.snapshot { padding: 32px 24px; }
	.hero-meta { gap: 20px 28px; }
	.principle { gap: 20px; }
	.principle-num { font-size: 36px; min-width: 40px; }
	.svc-idx { font-size: 36px; }
}