/* Maluq Builtworks — public site
   Black & charcoal + champagne gold, Cormorant Garamond headings, Montserrat UI type. */
:root {
  --char-950: #0a0a0b;
  --char-900: #111113;
  --char-800: #17171a;
  --char-700: #1f1f23;
  --char-600: #2a2a2f;
  --gold: #8a6d3b;        /* champagne gold, darkened for text on white (WCAG AA) */
  --gold-600: #6f5630;
  --gold-300: #d2b27a;    /* champagne gold for use on black/charcoal */
  --gold-fill: #c9a96e;   /* champagne gold for buttons and rules */
  --cream: #ffffff;
  --cream-2: #f6f4f0;
  --white: #fff;
  --ink: #141416;
  --ink-soft: #4a4a50;
  --muted: #7a7a80;
  --line: #e6e2da;
  --line-dark: rgba(255, 255, 255, .1);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1220px;
  --header-h: 80px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .3);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink-soft); font: 400 15.5px/1.85 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--char-800); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--char-800); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 500; }
h3 { font-size: 1.55rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--char-900); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-lg { margin-top: 3rem; }
.muted { color: var(--muted); }
.plain { list-style: none; padding: 0; }
.lead { font-size: 1.08rem; max-width: 62ch; }

/* Labels & rules */
.eyebrow { font: 600 .72rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .32em; color: var(--gold); margin: 0 0 1rem; }
.rule { display: block; width: 60px; height: 2px; background: var(--gold-fill); margin: 1.4rem 0 0; }
.section-title { margin-bottom: 3.5rem; }
.section-title h2 { margin: 0; }
.section-title.center { text-align: center; }
.section-title.center .rule { margin-left: auto; margin-right: auto; }
.section-dark .section-title h2, .section-dark h3 { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 1.05em 2.1em; font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold-fill); color: var(--char-950); border-color: var(--gold-fill); }
.btn-primary:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--char-950); }
.btn-notch { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); padding-right: 2.5em; }
.btn-dark { background: var(--char-800); color: #fff; border-color: var(--char-800); }
.btn-dark:hover { background: var(--char-900); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--char-900); }
.btn-outline { color: var(--char-800); border-color: var(--char-800); }
.btn-outline:hover { background: var(--char-800); color: #fff; }
.link-arrow { font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: .6em; }
.link-arrow::after { content: ''; width: 26px; height: 1px; background: currentColor; transition: width .2s; }
.link-arrow:hover::after { width: 40px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(17, 17, 19, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); transition: background .3s; }
.header-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font: 600 1.55rem/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; color: #fff; }
.brand-sub { font: 600 .6rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-300); margin-top: .45rem; }
.site-nav ul { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font: 500 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .85); text-decoration: none; padding: .5rem 0; position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold-300); transition: right .25s; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 960px) {
  .header-inner { padding: 0 20px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--char-900); border-bottom: 1px solid var(--line-dark); padding: .5rem 20px 1.5rem; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
  .site-nav a::after { display: none; }
}

/* Shared photo placeholder (shown until a real image is uploaded) */
.ph { display: block; width: 100%; height: 100%; min-height: 100%; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px),
  linear-gradient(150deg, #34343a 0%, #1f1f23 55%, #111113 100%); }
.ph-alt { background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px), linear-gradient(150deg, #d2b27a, #8a6d3b); }

/* Hero */
.hero { position: relative; min-height: max(680px, 100vh); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--char-900); }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(10, 10, 11, .92) 0%, rgba(17, 17, 19, .72) 45%, rgba(17, 17, 19, .35) 100%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px),
  var(--hero-img, linear-gradient(150deg, #34343a 0%, #1f1f23 50%, #0a0a0b 100%)) center / cover no-repeat; }
.hero[style*="--hero-img"] .hero-bg { background:
  linear-gradient(100deg, rgba(10, 10, 11, .9) 0%, rgba(17, 17, 19, .65) 45%, rgba(17, 17, 19, .3) 100%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px),
  var(--hero-img) center / cover no-repeat; }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 9rem; }
.hero h1 { color: #fff; margin: 0; line-height: .98; }
.h-italic { display: block; font-style: italic; font-weight: 300; font-size: .8em; color: rgba(255, 255, 255, .88); }
.h-main { display: block; font-weight: 600; }
.hero-tagline { display: flex; align-items: center; gap: 1.2rem; margin: 2rem 0 1.6rem; font: 500 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-300); }
.hero-tagline .line { width: 80px; height: 1px; background: var(--gold-300); }
.hero-lead { max-width: 500px; color: rgba(255, 255, 255, .78); font-size: 1.02rem; font-weight: 300; }
.hero .eyebrow { color: var(--gold-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-strip { position: relative; background: var(--char-800); padding: 20px 40px; }
.strip-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip-item { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem 1.8rem; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); text-decoration: none; transition: background .2s, border-color .2s; }
.strip-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(210, 178, 122, .5); }
.strip-num { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgba(210, 178, 122, .55); font: 500 1.15rem/1 var(--serif); color: var(--gold-300); }
.strip-item strong { display: block; color: #fff; font: 600 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.strip-item small { display: block; color: rgba(255, 255, 255, .55); font-size: .78rem; line-height: 1.4; margin-top: .15rem; }
@media (max-width: 1000px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hero-strip { padding: 16px; } .strip-grid { grid-template-columns: 1fr; gap: 10px; } .strip-item { padding: 1rem 1.2rem; } .hero-inner { padding-bottom: 4rem; } }

/* Inner page banner */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 4.5rem) 0 4.5rem; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px),
  radial-gradient(ellipse at 85% 0%, rgba(201, 169, 110, .18), transparent 55%),
  linear-gradient(160deg, var(--char-800), var(--char-950)); }
.page-hero.has-image { background:
  linear-gradient(100deg, rgba(10, 10, 11, .93), rgba(17, 17, 19, .7)),
  var(--hero-img) center / cover no-repeat; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0; }
.page-hero .eyebrow { color: var(--gold-300); margin-top: 1.6rem; }
.page-hero .lead { color: rgba(255, 255, 255, .75); margin-top: 1.4rem; margin-bottom: 0; font-weight: 300; }
.page-hero .price { margin: 1rem 0 0; color: rgba(255, 255, 255, .8); }
.page-hero .price strong { color: var(--gold-300); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; font: 500 .7rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.breadcrumbs li { color: rgba(255, 255, 255, .5); }
.breadcrumbs li + li::before { content: '/'; margin-right: .5rem; color: rgba(255, 255, 255, .25); }
.breadcrumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.facts-bar { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.facts { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; margin: 0; }
.facts dt { font: 600 .66rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: .2rem 0 0; color: var(--ink); font-weight: 500; }
.post-meta { margin: 0; font-size: .85rem; letter-spacing: .04em; }

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--char-900); color: rgba(255, 255, 255, .68); position: relative; }
.section-dark::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; }
.section-dark > .container { position: relative; }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.band-head .section-title { margin-bottom: 0; }
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* Portfolio mosaic */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 270px; gap: 12px; }
.mosaic-item { position: relative; overflow: hidden; display: block; background: var(--char-700); }
.mosaic-lg { grid-row: span 2; }
.mosaic-item img, .mosaic-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.mosaic-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 11, .85)); opacity: .75; transition: opacity .3s; }
.mosaic-item:hover img, .mosaic-item:hover .ph { transform: scale(1.06); }
.mosaic-item:hover::after { opacity: 1; }
.mosaic-caption { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; z-index: 1; color: #fff; }
.mosaic-caption small { display: block; font: 600 .64rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }
.mosaic-caption strong { display: block; color: #fff; font: 600 1.45rem/1.2 var(--serif); }
.mosaic-lg .mosaic-caption strong { font-size: 2rem; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } .mosaic-lg { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 520px) { .mosaic { grid-template-columns: 1fr; } .mosaic-lg { grid-column: auto; } }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
.split-media { position: relative; padding: 20px 90px 70px 20px; }
.media-main { aspect-ratio: 4 / 5; overflow: hidden; }
.media-main img, .media-main .ph { width: 100%; height: 100%; object-fit: cover; }
.media-inset { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; border: 8px solid var(--cream); box-shadow: var(--shadow); overflow: hidden; }
.media-inset img, .media-inset .ph { width: 100%; height: 100%; object-fit: cover; }
.years-badge { position: absolute; left: 0; top: 0; width: 128px; height: 128px; background: var(--char-800); color: rgba(255, 255, 255, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font: 600 .6rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.years-badge strong { font: 600 2.8rem/1 var(--serif); color: var(--gold-300); margin-bottom: .2rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2.2rem 0 2.4rem; }
.value { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); background: var(--white); }
.value-num { font: 500 1.25rem/1.2 var(--serif); color: var(--gold); }
.value strong { display: block; font: 600 .74rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.value small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { max-width: 560px; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .split-media { padding: 14px 50px 50px 14px; } .years-badge { width: 100px; height: 100px; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); }
.service-card { position: relative; padding: 2.4rem 2rem 2.6rem; border-right: 1px solid var(--line-dark); transition: background .25s; display: flex; flex-direction: column; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: rgba(255, 255, 255, .04); }
.service-num { position: absolute; top: 1.6rem; right: 1.6rem; font: 600 3.2rem/1 var(--serif); color: var(--gold); }
.service-card h3 { font-size: 1.6rem; padding-right: 3.6rem; margin-bottom: 1rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card p { font-size: .9rem; line-height: 1.8; flex: 1; }
.service-card .link-arrow { color: var(--gold-300); margin-top: .6rem; }
.services-grid.light { border-color: var(--line); background: var(--white); }
.services-grid.light .service-card { border-color: var(--line); }
.services-grid.light .service-card:hover { background: var(--cream); }
.services-grid.light .service-card .link-arrow { color: var(--gold); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr; } .service-card:nth-child(2n) { border-right: 0; } .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } .services-grid.light .service-card:nth-child(-n+2) { border-bottom-color: var(--line); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card { border-right: 0; border-bottom: 1px solid var(--line-dark); } .services-grid.light .service-card { border-bottom-color: var(--line); } .service-card:last-child { border-bottom: 0; } }

/* Stats */
.stats-band { background: var(--char-700); padding: 4.5rem 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 1.8rem 1rem; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat-value { display: block; font: 600 clamp(2.8rem, 5vw, 4rem)/1 var(--serif); color: #fff; }
.stat-value sup { font-size: .42em; color: var(--gold-300); font-family: var(--sans); font-weight: 400; vertical-align: top; position: relative; top: .3em; margin-left: .1em; }
.stat-label { display: block; margin-top: .9rem; font: 500 .68rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.step { padding: 2.2rem 1.8rem 2.4rem; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-num { display: inline-grid; place-items: center; width: 58px; height: 50px; border: 1px solid var(--gold); font: 600 1.15rem/1 var(--serif); color: var(--gold); margin-bottom: 1.6rem; }
.step h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.step p { font-size: .88rem; margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } .step:nth-child(2n) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.testimonial { position: relative; margin: 0; background: var(--white); padding: 2.6rem 2.4rem 2.4rem; box-shadow: 0 10px 40px -24px rgba(10, 10, 11, .3); }
.testimonial::before { content: '\201C'; position: absolute; top: -.1em; left: .35em; font: 400 7rem/1 var(--serif); color: var(--cream-2); }
.stars { position: relative; color: var(--gold); letter-spacing: .2em; font-size: .85rem; }
.testimonial blockquote { position: relative; margin: 1.1rem 0 1.8rem; font-style: italic; font-weight: 300; font-size: .98rem; line-height: 1.85; color: var(--ink-soft); }
.testimonial figcaption { display: flex; align-items: center; gap: .9rem; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--char-800); color: #fff; font: 600 .78rem/1 var(--sans); letter-spacing: .08em; flex-shrink: 0; }
.testimonial figcaption strong { display: block; font-size: .9rem; color: var(--char-800); }
.testimonial figcaption small { display: block; font-size: .72rem; letter-spacing: .12em; color: var(--muted); }

/* Cards (blog, portfolio listing) */
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--char-700); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.7rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { margin-bottom: .7rem; font-size: .64rem; }
.card-body h3 { font-size: 1.55rem; }
.card-body h3 a { color: var(--char-800); text-decoration: none; }
.card-body h3 a:hover { color: var(--gold); }
.card-body p { font-size: .9rem; }
.card-body .link-arrow { margin-top: auto; }

/* Prose */
.prose { font-size: 1rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose img { margin: 2em 0; }
.prose blockquote { border-left: 2px solid var(--gold); margin: 2em 0; padding: .2em 1.4em; font: italic 400 1.45rem/1.5 var(--serif); color: var(--char-800); }
.feature-img { margin: 0 0 2.4rem !important; width: 100%; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; align-items: start; }
.aside-card { background: var(--char-800); color: rgba(255, 255, 255, .75); padding: 2.4rem 2.2rem; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h2 { font-size: 1.8rem; color: #fff; }
.aside-card a:not(.btn) { color: var(--gold-300); }
.aside-card address { font-style: normal; }
.aside-card .muted { color: rgba(255, 255, 255, .55); margin-top: 1rem; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }
.tags a { display: inline-block; border: 1px solid var(--line); padding: .25em .9em; text-decoration: none; font-size: .8rem; margin: 0 .3em .4em 0; }
.tags a:hover { border-color: var(--gold); }
.share { display: flex; flex-wrap: wrap; gap: 1.2rem; padding-top: 1.6rem; margin-top: 2.4rem; border-top: 1px solid var(--line); font: 500 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.share a { text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.8rem; }
.filters a { padding: .8em 1.5em; border: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: var(--white); }
.filters a:hover { border-color: var(--gold); color: var(--gold); }
.filters a[aria-current] { background: var(--char-800); color: #fff; border-color: var(--char-800); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .7em 1.1em; border: 1px solid var(--line); text-decoration: none; font-size: .85rem; background: var(--white); }
.pagination span { background: var(--char-800); color: #fff; border-color: var(--char-800); }

/* FAQ */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font: 600 1.35rem/1.3 var(--serif); color: var(--char-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.6rem/1 var(--sans); color: var(--gold); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: .9rem 0 0; }

/* CTA band */
.cta { position: relative; padding: clamp(5rem, 9vw, 7.5rem) 0; color: rgba(255, 255, 255, .7); background:
  radial-gradient(ellipse at 30% 0%, rgba(201, 169, 110, .22), transparent 55%),
  linear-gradient(160deg, var(--char-800), var(--char-950)); }
.cta .eyebrow { color: var(--gold-300); }
.cta h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.cta h2 em { display: block; color: var(--gold-300); font-weight: 400; }
.cta-text { max-width: 620px; margin: 1.4rem auto 2.4rem; font-weight: 300; }

/* Forms */
.form { margin-top: 1.5rem; }
.form-row { margin-bottom: 1.3rem; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 600px) { .form-cols { grid-template-columns: 1fr; } }
.form label { display: block; font: 600 .68rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.form input, .form textarea { display: block; width: 100%; margin-top: .55rem; padding: 1rem 1.1rem; border: 1px solid var(--line); background: var(--white); font: 400 .95rem/1.5 var(--sans); color: var(--ink); letter-spacing: normal; text-transform: none; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 110, .12); }
.form [aria-invalid] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .85rem; margin: .4rem 0 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1.1rem 1.3rem; margin-bottom: 1.6rem; border-left: 3px solid; }
.notice-success { background: #f3efe6; color: #5b4524; border-color: #c9a96e; }

/* Footer */
.site-footer { background: #0d0d0f; color: rgba(255, 255, 255, .68); padding: 4.5rem 0 0; font-size: .88rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .6rem; }
.footer-brand { font: 600 2rem/1 var(--serif); color: var(--gold-300) !important; display: inline-block; margin-bottom: 1rem; }
.footer-title { font: 600 .9rem/1.4 var(--sans); color: var(--gold-300); margin: .3rem 0 1.2rem; }
.social { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem !important; }
.contact-list { font-style: normal; display: grid; gap: .7rem; }
.contact-list > * { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .3rem; fill: none; stroke: var(--gold-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 3.5rem; padding-top: 1.6rem; padding-bottom: 1.6rem; text-align: center; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.error-page { padding-top: calc(var(--header-h) + 5rem); }
.error-page h2 { margin-top: 3rem; font-size: 1.8rem; }
.error-page .hero-actions { justify-content: center; }

/* Scroll reveal (only when JS is on, so content is always visible to crawlers) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Mosaic adapts to how many projects exist */
.mosaic-1 { grid-template-columns: 1fr; grid-auto-rows: 480px; }
.mosaic-1 .mosaic-lg { grid-row: auto; }
.mosaic-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 460px; }
.mosaic-2 .mosaic-lg { grid-row: auto; }
.mosaic-3 { grid-template-columns: 2fr 1fr; }
.mosaic-4 .mosaic-item:nth-child(4) { grid-column: span 2; }
@media (max-width: 900px) {
  .mosaic-1, .mosaic-2, .mosaic-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .mosaic-1 .mosaic-lg, .mosaic-3 .mosaic-lg { grid-column: span 2; }
}
@media (max-width: 520px) { .mosaic[class*="mosaic-"] { grid-template-columns: 1fr; } .mosaic[class*="mosaic-"] .mosaic-item { grid-column: auto; } }



/* Plain .btn (no variant) defaults to the primary style; legacy .btn-ghost = outline */
.btn:not([class*="btn-"]) { background: var(--gold-fill); color: var(--char-950); border-color: var(--gold-fill); }
.btn:not([class*="btn-"]):hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--char-950); }
.btn-ghost { background: transparent; color: var(--char-800); border-color: var(--char-800); }
.btn-ghost:hover { background: var(--char-800); color: #fff; }
.aside-card .btn { width: 100%; margin-top: .4rem; }

/* ---- Maluq brand additions ---- */
.brand { flex-direction: row; align-items: center; gap: .8rem; }
.brand-mark { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.45rem; letter-spacing: .3em; }
.brand-sub { font-size: .52rem; letter-spacing: .26em; color: var(--gold-300); }
.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav ul { gap: 2rem; }
.btn-small { padding: .85em 1.4em; font-size: .66rem; }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta { color: var(--char-950); }
.site-nav .nav-cta:hover { color: var(--char-950); }
@media (max-width: 1100px) { .site-nav ul { gap: 1.3rem; } .brand-sub { display: none; } }
@media (max-width: 960px) { .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 1rem; } .site-nav.open { display: flex; } .brand-sub { display: block; } }

.hero-mark { position: absolute; right: 7%; top: 50%; transform: translateY(-58%); width: clamp(260px, 30vw, 460px); height: auto; opacity: .1; pointer-events: none; user-select: none; }
@media (max-width: 760px) { .hero-mark { display: none; } }
.hero h1 .h-main { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: .01em; }
.strip-num { font-size: 1rem; }

.split-intro { align-items: start; }
.split-intro .section-title { margin-bottom: 0; }

.philosophy .section-title h2 { letter-spacing: .04em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-dark); }
.pillar { padding: 2.8rem 2.4rem 3rem; border-right: 1px solid var(--line-dark); position: relative; }
.pillar:last-child { border-right: 0; }
.pillar-num { font: 500 .8rem/1 var(--sans); letter-spacing: .3em; color: var(--gold-300); }
.pillar h3 { font-size: 2.6rem; font-weight: 500; color: #fff; margin: 1.2rem 0 1rem; letter-spacing: .02em; }
.pillar h3::after { content: '.'; color: var(--gold-300); }
.pillar p { margin: 0; color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--line-dark); } .pillar:last-child { border-bottom: 0; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.tl-step { position: relative; padding: 2.2rem 1.8rem 2rem 0; }
.tl-step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-fill); }
.tl-num { display: block; font: 600 2.2rem/1 var(--serif); color: var(--gold-300); margin-bottom: 1rem; }
.tl-step h3 { font-size: 1.45rem; color: #fff; margin-bottom: .6rem; }
.tl-step p { font-size: .88rem; margin: 0; color: rgba(255, 255, 255, .65); }
.link-arrow.light { color: var(--gold-300); }

.assistant-invite { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.invite-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.invite-inner > div { max-width: 700px; }
.invite-inner h2 { margin-bottom: .6rem; }
.invite-inner p:last-child { margin: 0; }

.stats-1, .stats-2, .stats-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.footer-logo img { width: 170px; height: auto; margin-bottom: 1.2rem; }
.footer-tagline { font: 600 .72rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-300); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
body.has-assistant .wa-float { bottom: 88px; }

/* Process page */
.lead-prose { font-size: 1.1rem; margin-bottom: 3rem; }
.process-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; padding: 0 0 2.6rem 0; position: relative; }
.process-item::before { content: ''; position: absolute; left: -6px; top: .9rem; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-fill); }
.process-num { font: 600 2.6rem/1 var(--serif); color: var(--gold); padding-left: 1.6rem; }
.process-item h2 { font-size: 1.8rem; margin-bottom: .4rem; }
.process-item p { margin: 0; }

/* Project galleries */
.gallery-group + .gallery-group { margin-top: 3.5rem; }
.gallery-title { font-size: 1.9rem; margin-bottom: 1.4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.gallery-item { margin: 0; background: var(--white); }
.gallery-item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item a:hover img { transform: scale(1.04); }
.gallery-drawing .gallery-item img { object-fit: contain; background: #fff; }
.gallery-item figcaption { font-size: .82rem; padding: .6rem .8rem; color: var(--ink-soft); }

/* Enquiry form */
.form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0 0 1.4rem; padding: 1.4rem 0 0; }
.form legend { font: 600 1.5rem/1.2 var(--serif); color: var(--char-800); padding-right: .8rem; }
.form select { display: block; width: 100%; margin-top: .55rem; padding: 1rem 1.1rem; border: 1px solid var(--line); background: var(--white); font: 400 .95rem/1.5 var(--sans); color: var(--ink); border-radius: 0; }
.form .label { display: block; font: 600 .68rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.form .checks { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.form .check { display: flex; align-items: flex-start; gap: .55rem; font: 400 .92rem/1.5 var(--sans); letter-spacing: normal; text-transform: none; color: var(--ink-soft); }
.form .check input { width: auto; margin: .25rem 0 0; }
.form input[type=file] { padding: .8rem; }
.field-help { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }
.form-heading { margin-top: 2.5rem; }
.consent { background: var(--cream-2); padding: 1rem 1.2rem; }
.assistant-nudge { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; background: var(--char-900); color: rgba(255,255,255,.8); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.assistant-nudge p { margin: 0; flex: 1 1 320px; }
.assistant-nudge strong { color: var(--gold-300); }

/* ---- AI project assistant widget ---- */
.mbw-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem .7rem .8rem; background: var(--char-900); color: #fff; border: 1px solid rgba(210, 178, 122, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); cursor: pointer; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.mbw-launcher:hover, .mbw-launcher.is-open { border-color: var(--gold-fill); }
.mbw-launcher img { width: 28px; height: auto; }
.mbw-panel { position: fixed; right: 20px; bottom: 84px; z-index: 70; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.mbw-panel[hidden] { display: none; }
.mbw-head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: var(--char-900); color: #fff; }
.mbw-head img { width: 34px; height: auto; }
.mbw-head strong { display: block; font: 600 1.15rem/1.2 var(--serif); }
.mbw-head span { display: block; font-size: .7rem; color: var(--gold-300); letter-spacing: .06em; }
.mbw-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.mbw-body { flex: 1; overflow-y: auto; padding: 1rem; background: var(--cream-2); display: flex; flex-direction: column; gap: .7rem; }
.mbw-msg { max-width: 86%; padding: .7rem .9rem; font-size: .88rem; line-height: 1.6; background: #fff; border: 1px solid var(--line); color: var(--ink); word-wrap: break-word; }
.mbw-msg p { margin: 0 0 .55em; } .mbw-msg p:last-child { margin: 0; }
.mbw-msg ul { margin: .2em 0 .55em; padding-left: 1.1em; }
.mbw-msg a { color: var(--gold); }
.mbw-you { align-self: flex-end; background: var(--char-800); color: #fff; border-color: var(--char-800); }
.mbw-you a { color: var(--gold-300); }
.mbw-staff { border-left: 3px solid var(--gold-fill); }
.mbw-who { display: block; font: 600 .62rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.mbw-notice { align-self: center; font-size: .75rem; color: var(--muted); text-align: center; }
.mbw-typing { display: inline-flex; gap: 4px; padding: .9rem 1rem; }
.mbw-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-fill); animation: mbw-dot 1.2s infinite ease-in-out; }
.mbw-typing span:nth-child(2) { animation-delay: .15s; } .mbw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mbw-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.mbw-consent { padding: 1.1rem 1.2rem 1.3rem; font-size: .85rem; border-top: 1px solid var(--line); }
.mbw-consent p { margin: 0 0 .7rem; }
.mbw-check { display: flex; gap: .5rem; align-items: center; margin: .4rem 0 .9rem; font-weight: 500; }
.mbw-lang { display: flex; gap: .5rem; flex-wrap: wrap; }
.mbw-start { flex: 1; padding: .8rem .6rem; background: var(--gold-fill); color: var(--char-950); border: 0; cursor: pointer; font: 600 .7rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.mbw-start[data-lang="sw"] { background: var(--char-900); color: #fff; }
.mbw-err { color: #b3261e; font-size: .8rem; margin: .6rem 0 0 !important; }
.mbw-input { display: flex; align-items: flex-end; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line); background: #fff; }
.mbw-input[hidden], .mbw-foot[hidden], .mbw-consent[hidden] { display: none; }
.mbw-input textarea { flex: 1; resize: none; border: 1px solid var(--line); padding: .6rem .7rem; font: 400 .9rem/1.45 var(--sans); max-height: 140px; color: var(--ink); }
.mbw-input textarea:focus { outline: 0; border-color: var(--gold-fill); }
.mbw-input.is-busy { opacity: .6; pointer-events: none; }
.mbw-attach, .mbw-send { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; cursor: pointer; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.mbw-attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mbw-send { background: var(--char-900); border-color: var(--char-900); }
.mbw-attach svg, .mbw-send svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mbw-send svg { stroke: var(--gold-300); }
.mbw-foot { display: flex; justify-content: space-between; padding: .45rem .8rem .6rem; background: #fff; }
.mbw-foot button { background: none; border: 0; padding: 0; cursor: pointer; font: 600 .66rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.mbw-foot .mbw-new { color: var(--muted); }
@media (max-width: 520px) {
  .mbw-launcher span { display: none; }
  .mbw-launcher { padding: .7rem; }
  .mbw-panel { right: 12px; left: 12px; width: auto; bottom: 80px; height: calc(100vh - 100px); }
}
.mbw-head strong { color: #fff; }
.mbw-you strong { color: #fff; }
.site-nav .nav-cta { padding: .95em 1.5em; line-height: 1; }
.timeline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1240px) { .timeline:has(> :nth-child(7):last-child) { grid-template-columns: repeat(7, 1fr); } .timeline .tl-step { padding-right: 1.2rem; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.team-card { background: var(--white); border: 1px solid var(--line); }
.team-photo { aspect-ratio: 5 / 6; background: var(--char-800); display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { font: 500 3.4rem/1 var(--serif); color: var(--gold-300); }
.team-card h3 { margin: 1.3rem 1.4rem .3rem; font-size: 1.5rem; }
.team-card .eyebrow { margin: 0 1.4rem .8rem; font-size: .62rem; }
.team-card p:last-child { margin: 0 1.4rem 1.5rem; font-size: .9rem; }

/* Optional hero background video (sits under the dark overlay) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video ~ .hero-inner, .hero-video ~ .hero-strip { z-index: 2; }
.hero:has(.hero-video) .hero-bg { z-index: 1; background: linear-gradient(100deg, rgba(10, 10, 11, .88) 0%, rgba(17, 17, 19, .6) 50%, rgba(17, 17, 19, .3) 100%); }
