/* EP-BRAND – PORTED VERBATIM from the main site so the Government wing is the same brand.
   Sources: src/app/globals.css (tokens), src/app/(public)/home.css (lines 86-96, 98-113, 127-141, 239-245, 442-560), src/app/(public)/luxe.css (whole file).
   Generated by build.mjs copy step on 2026-10-30. Do not hand-edit; change the main site and re-copy. */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 160ms;   /* button press feedback */
  --dur-fast: 150ms;    /* tooltips, small popovers */
  --dur-ui: 200ms;      /* dropdowns, cards, most UI */
  --dur-panel: 300ms;   /* modals, drawers - the budget ceiling */
}
:root {
  --black: #0a0a0a;
  --charcoal: #141414;
  --dark-gray: #1e1e1e;
  --medium-gray: #3a3a3a;
  --light-gray: #888;
  --off-white: #f5f5f3;
  --white: #fff;
  --gold: #c9a962;
  --gold-light: #d4bc7d;
  --gold-dark: #a88b4a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--black); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,169,98,0.3); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }

/* SECTIONS */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--white); margin-bottom: 1.5rem; }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 140px; background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 50%, var(--black) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('/images/Hero-bg.webp'); background-position: center; background-size: cover; background-repeat: no-repeat; opacity: 0.15; z-index: 0; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(201,169,98,0.1); border: 1px solid rgba(201,169,98,0.3); font-size: 0.75rem; font-weight: 500; color: var(--gold); margin-bottom: 1.5rem; }
.hero-badge svg { width: 14px; height: 14px; fill: var(--gold); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: 1.1; color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc { font-size: 1.1rem; color: var(--light-gray); max-width: 500px; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--dark-gray); }
.hero-stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--gold); }
.hero-stat-label { font-size: 0.8rem; color: var(--light-gray); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-visual { position: relative; }
.hero-image { width: 100%; height: 500px; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.hero-card { position: absolute; bottom: -20px; left: -20px; background: var(--charcoal); border: 1px solid var(--gold); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.hero-card-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); display: flex; align-items: center; justify-content: center; }
/* CREDENTIALS */
.credentials { background: var(--charcoal); padding: 2rem 0; border-top: 1px solid var(--dark-gray); border-bottom: 1px solid var(--dark-gray); }
.credentials-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 3rem; }
.credential-item { display: flex; align-items: center; gap: 0.75rem; }
.credential-icon { width: 40px; height: 40px; background: rgba(201,169,98,0.1); border: 1px solid rgba(201,169,98,0.3); display: flex; align-items: center; justify-content: center; }
.credential-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
.credential-text strong { display: block; font-size: 0.85rem; color: var(--white); }
.credential-text span { font-size: 0.75rem; color: var(--light-gray); }

/* SERVICES */
.services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.service-card { background: var(--charcoal); border: 1px solid var(--dark-gray); padding: 2.5rem; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, #00d4ff 100%); transform: scaleX(0); transition: var(--transition); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.service-icon { width: 60px; height: 60px; background: rgba(201,169,98,0.1); border: 1px solid rgba(201,169,98,0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 1rem; }
.service-card p { font-size: 0.9rem; color: var(--light-gray); margin-bottom: 1.5rem; }
.service-link { color: var(--gold); text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 0.5rem; }
.service-link:hover { gap: 0.75rem; }
.service-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* PAGE HEADER */
.page-header { padding: 150px 0 80px; background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%); text-align: center; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; color: var(--light-gray); max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; font-size: 0.85rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--light-gray); }
/* Undo Tailwind's preflight resets to match original site behavior */
img { display: inline; vertical-align: baseline; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; font-family: var(--font-body); }
.section h2, .hero h1, .page-header h1, .about-text h2, .service-detail-text h2 { font-family: var(--font-display); font-weight: 500; }

/* HEADER */
.header { position: fixed; top: 36px; left: 0; right: 0; z-index: 1000; background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(201,169,98,0.2); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { display: flex; align-items: center; text-decoration: none; }
/* LOGO: Gold tint overlay + Brightened */
.logo img { height: 55px; width: auto; filter: sepia(40%) saturate(250%) hue-rotate(10deg) brightness(1.25); }
.nav { display: flex; gap: clamp(1.1rem, 1.9vw, 2.5rem); }
.nav a { color: var(--off-white); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; transition: var(--transition); position: relative; white-space: nowrap; }
.nav a:hover { color: var(--gold); }
.nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--off-white); text-decoration: none; font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; stroke: var(--gold); }
.header-phone:hover { color: var(--gold); }

/* MOBILE */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: transparent !important; background-color: transparent !important; border: none; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; width: 44px; max-width: 44px; justify-content: center; align-items: center; flex-shrink: 0; flex-grow: 0; -webkit-appearance: none; -webkit-tap-highlight-color: transparent; }
.mobile-toggle span { width: 25px; height: 2px; background: var(--gold); transition: var(--transition); }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--charcoal); z-index: 2000; transition: var(--transition); padding: 2rem; visibility: hidden; }
.mobile-menu.active { right: 0; visibility: visible; }
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 1999; }
.mobile-overlay.active { display: block; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--dark-gray); }
.mobile-menu-header img { height: 35px; filter: sepia(40%) saturate(250%) hue-rotate(10deg) brightness(1.25); }
.mobile-menu-close { background: none; border: none; color: var(--off-white); font-size: 1.5rem; cursor: pointer; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav a { color: var(--off-white); text-decoration: none; font-size: 1rem; font-weight: 500; transition: var(--transition); padding: 0.75rem 0; min-height: 44px; display: flex; align-items: center; }
.mobile-nav a:hover { color: var(--gold); }

/* FOOTER */
.footer { background: var(--black); padding: 4rem 0 2rem; border-top: 1px solid var(--dark-gray); }
.footer-main { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; color: var(--light-gray); margin: 1rem 0; max-width: 300px; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 40px; height: 40px; background: var(--charcoal); border: 1px solid var(--dark-gray); display: flex; align-items: center; justify-content: center; color: var(--off-white); transition: var(--transition); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; color: var(--light-gray); font-size: 0.85rem; }
.footer-links a { color: var(--light-gray); text-decoration: none; font-size: 0.85rem; transition: var(--transition); display: inline-block; padding: 0.25rem 0; }
.footer-links a:hover { color: var(--gold); }
@media (max-width: 768px) { .footer-links a { padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; } }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--dark-gray); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--light-gray); }
.footer-certifications { font-size: 0.75rem; color: var(--light-gray); }
/* Four two-word links in a non-wrapping flex row: at 390px each one wrapped
   mid-phrase ("Privacy" / "Policy"). Wrap the ROW, never the link. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.footer-legal a { white-space: nowrap; }
.footer-legal a { color: var(--light-gray); text-decoration: none; font-size: 0.8rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* Trust Bar */
.trust-bar { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); padding: 0.5rem 0; text-align: center; z-index: 1002; }
.trust-bar-content { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trust-bar-item { display: flex; align-items: center; gap: 0.5rem; color: var(--black); font-size: 0.85rem; font-weight: 600; }
.trust-bar-item svg { width: 18px; height: 18px; }
@media (max-width: 768px) { .trust-bar-content { gap: 0.75rem; padding: 0 0.5rem; } .trust-bar-item { font-size: 0.75rem; gap: 0.3rem; } .trust-bar-item svg { width: 14px; height: 14px; } .trust-bar-item:nth-child(n+3) { display: none; } .header { top: 30px; } }

/* Sticky CTA Bar (Mobile) */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--gold); padding: 0.75rem; z-index: 998; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 500px; margin: 0 auto; }
.sticky-cta a { flex: 1; text-align: center; padding: 0.6rem 1rem; font-weight: 600; font-size: 0.9rem; text-decoration: none; border-radius: 4px; }
.sticky-cta .cta-call { background: var(--black); color: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.sticky-cta .cta-call svg { width: 16px; height: 16px; stroke: var(--white); fill: none; flex-shrink: 0; }
.sticky-cta .cta-quote { background: transparent; color: var(--black); border: 2px solid var(--black); }
/* ── MOBILE HEADER: hamburger menu ── */
@media (max-width: 768px) {
  .nav { display: none !important; }
  .header-cta { display: none !important; }
  .mobile-toggle { display: flex !important; }
  .logo img { width: 220px; height: auto; max-height: none; }
  .header-inner { padding: 0.75rem 0; }
  .footer-main { grid-template-columns: 1fr !important; gap: 2rem; text-align: center; }
  .footer-main h4 { text-align: center; }
  .footer-links { display: flex; flex-direction: column; align-items: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; align-items: center; }
  .footer-legal { justify-content: center; }
  .footer-certifications { text-align: center; }
  /* Mobile touch target & button sizing */
  .btn { min-height: 48px; font-size: 0.85rem; padding: 0.75rem 1.5rem; }
  .gallery-filter-btn { min-height: 44px; padding: 0.75rem 1.25rem; }
  .gallery-close-btn { min-height: 44px; padding: 0.75rem 1rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 1rem; }
  .quote-input { font-size: 1rem; }
}

@media (max-width: 768px) { .sticky-cta { display: block; } .whatsapp-btn { bottom: 120px !important; left: 15px; width: 48px; height: 48px; } .whatsapp-btn svg { width: 24px; height: 24px; } .back-to-top { bottom: 120px !important; right: 15px; width: 40px; height: 40px; } .back-to-top svg { width: 20px; height: 20px; } .footer-bottom { padding-bottom: 80px; } }

/* Guarantee Badge */
.guarantee-badge { display: inline-flex; align-items: center; gap: 0.75rem; background: rgba(201,169,98,0.1); border: 1px solid var(--gold); padding: 1rem 1.5rem; margin-top: 1.5rem; }
.guarantee-badge svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; flex-shrink: 0; }
.guarantee-badge-text { font-size: 0.9rem; line-height: 1.4; }
.guarantee-badge-text strong { color: var(--gold); display: block; font-size: 1rem; }

/* UTILITIES */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--gold); color: var(--black); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); }
.back-to-top svg { width: 24px; height: 24px; }
.whatsapp-btn { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 999; transition: var(--transition); }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 32px; height: 32px; fill: #fff; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
@media (max-width: 480px) { .container { padding: 0 1rem; } }
/* ═══════════════════════════════════════════════════════════════════════════
   THE LUXE LAYER - Emmanuel Pools public site (Empire Overhaul, Oct 20 2026)

   Grounded in the owner's reference catalogue (Reports/EMPIRE_OVERHAUL_2026-10-20):
   - navbar.design  : sticky glass nav that shrinks on scroll, one accent CTA,
                      full-screen mobile drawer with staggered links
   - easyui.site    : magnetic-button, spotlight-card, animated-number,
                      press-button, not-found proximity displacement
   - footer.design  : the footer as a brand moment (giant wordmark, columns,
                      newsletter, machine-readable links)
   - 404s.design    : a 404 worth finding
   Every transition obeys the motion foundation in globals.css: ease-out on
   entrances, UI under 300ms, reduced-motion floor collapses everything.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --luxe-glass: rgba(10, 10, 10, 0.72);
  --luxe-glass-strong: rgba(10, 10, 10, 0.92);
  --luxe-line: rgba(201, 169, 98, 0.22);
  --luxe-line-strong: rgba(201, 169, 98, 0.55);
  --luxe-glow: rgba(201, 169, 98, 0.35);
  --luxe-radius: 14px;
  --luxe-reveal: 640ms;
}

/* ── 1. REVEAL ON SCROLL (Intersection-driven; the class is added by Luxe.tsx) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--luxe-reveal) var(--ease-out), transform var(--luxe-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: scale(0.96); }
html.js [data-reveal="left"] { transform: translateX(-26px); }
html.js [data-reveal="right"] { transform: translateX(26px); }
/* Children stagger: every direct child of a stagger group is a reveal item. */
html.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--luxe-reveal) var(--ease-out), transform var(--luxe-reveal) var(--ease-out);
}
html.js [data-stagger].is-in > * { opacity: 1; transform: none; }
html.js [data-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
html.js [data-stagger].is-in > *:nth-child(2) { transition-delay: 70ms; }
html.js [data-stagger].is-in > *:nth-child(3) { transition-delay: 140ms; }
html.js [data-stagger].is-in > *:nth-child(4) { transition-delay: 210ms; }
html.js [data-stagger].is-in > *:nth-child(5) { transition-delay: 280ms; }
html.js [data-stagger].is-in > *:nth-child(6) { transition-delay: 350ms; }
html.js [data-stagger].is-in > *:nth-child(n+7) { transition-delay: 400ms; }

/* ── 2. SPOTLIGHT CARD (easyui spotlight-card: pointer-lit border + fill) */
[data-spot] {
  position: relative;
  isolation: isolate;
  --mx: 50%;
  --my: 50%;
}
[data-spot]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 169, 98, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-out);
}
[data-spot]::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(201, 169, 98, 0.9), rgba(201, 169, 98, 0.12) 60%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  [data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }
}
[data-spot] > * { position: relative; z-index: 1; }

/* ── 3. MAGNETIC + PRESS BUTTONS (easyui magnetic-button / press-button) */
[data-magnet] {
  transition: transform 160ms var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
  will-change: transform;
}
[data-magnet]:active { transform: scale(0.97) !important; }
.btn-gold[data-magnet] { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold[data-magnet]:hover { box-shadow: 0 14px 40px var(--luxe-glow); }
}
/* Light that travels the border of the outline button (neon-edge-button) */
.btn-outline { position: relative; overflow: hidden; }
.btn-outline::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: conic-gradient(from var(--edge, 0deg), transparent 0 70%, rgba(201, 169, 98, 0.95) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-out);
}
@property --edge { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover::after { opacity: 1; animation: luxe-edge 1.6s linear infinite; }
}
@keyframes luxe-edge { to { --edge: 360deg; } }

/* ── 4. GLASS NAV THAT SHRINKS ON SCROLL (navbar.design: sticky / glass) */
.header {
  transition: background var(--dur-panel) var(--ease-out), box-shadow var(--dur-panel) var(--ease-out), border-color var(--dur-panel) var(--ease-out);
}
.header-inner { transition: padding var(--dur-panel) var(--ease-out); }
.logo img { transition: height var(--dur-panel) var(--ease-out); }
body.luxe-scrolled .header {
  background: var(--luxe-glass-strong);
  border-bottom-color: var(--luxe-line-strong);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
body.luxe-scrolled .header-inner { padding: 0.55rem 0; }
body.luxe-scrolled .logo img { height: 44px; }
/* The active-page pill: a soft gold capsule behind the current link. */
.nav a { padding: 0.35rem 0.7rem; border-radius: 999px; }
.nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(201, 169, 98, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.25);
}
.nav a[aria-current="page"]::after { display: none; }
.nav a::after { left: 0.7rem; right: 0.7rem; width: auto; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-ui) var(--ease-out); }
.nav a:hover::after { width: auto; transform: scaleX(1); }

/* Full-screen mobile drawer with staggered links (navbar.design: Full Screen) */
.mobile-menu {
  width: min(100vw, 420px);
  background: linear-gradient(160deg, #0a0a0a 0%, #141414 60%, #0a0a0a 100%);
  border-left: 1px solid var(--luxe-line);
  transition: right var(--dur-panel) var(--ease-drawer), visibility 0s linear var(--dur-panel);
}
.mobile-menu.active { transition: right var(--dur-panel) var(--ease-drawer), visibility 0s; }
.mobile-nav a {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out), color var(--dur-ui) var(--ease-out);
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}
.mobile-menu.active .mobile-nav a { opacity: 1; transform: none; }
.mobile-menu.active .mobile-nav a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.active .mobile-nav a:nth-child(2) { transition-delay: 110ms; }
.mobile-menu.active .mobile-nav a:nth-child(3) { transition-delay: 160ms; }
.mobile-menu.active .mobile-nav a:nth-child(4) { transition-delay: 210ms; }
.mobile-menu.active .mobile-nav a:nth-child(5) { transition-delay: 260ms; }
.mobile-menu.active .mobile-nav a:nth-child(6) { transition-delay: 310ms; }
.mobile-menu.active .mobile-nav a:nth-child(7) { transition-delay: 360ms; }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--luxe-line);
  display: grid;
  gap: 0.75rem;
}
.mobile-menu-foot .btn { width: 100%; justify-content: center; min-height: 48px; }
.mobile-menu-foot small { color: var(--light-gray); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-menu { display: flex; flex-direction: column; }

/* ── 5. LIVING HERO (slow gold light sweep + water caustic drift, CSS only) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(201, 169, 98, 0.16), transparent 60%),
    radial-gradient(45% 40% at 80% 70%, rgba(0, 150, 200, 0.12), transparent 60%);
  animation: luxe-drift 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes luxe-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(3%, 3%, 0) scale(1.08); }
}
.hero-visual { transform-style: preserve-3d; }
.hero-image { transition: transform 900ms var(--ease-out), box-shadow 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover .hero-image { transform: translateY(-6px) rotateX(1.5deg) rotateY(-2deg); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--luxe-line); }
}
.hero-card { animation: luxe-float 6s ease-in-out infinite; }
@keyframes luxe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-stat-value { font-variant-numeric: tabular-nums; }

/* ── 6. SERVICE / PROCESS CARDS: lift + spotlight already via data-spot */
.service-card { border-radius: var(--luxe-radius); }
.process-number { transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .process-step:hover .process-number { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 30px var(--luxe-glow); background: rgba(201, 169, 98, 0.18); }
}

/* ── 7. THE FOOTER AS A BRAND MOMENT (footer.design: Large Type / Dark) */
.footer { position: relative; overflow: hidden; }
.footer-wordmark {
  display: block;
  margin: 0 0 3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.95) 0%, rgba(201, 169, 98, 0.35) 60%, rgba(201, 169, 98, 0.08) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}
.footer-wordmark span { display: block; }
.footer-wordmark .tag {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  margin-top: 1rem;
}
.footer-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 70vw;
  height: 40vh;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 169, 98, 0.14), transparent);
  pointer-events: none;
}
.footer-newsletter { margin: 1.25rem 0 0; }
.footer-newsletter p { font-size: 0.8rem; color: var(--light-gray); margin: 0 0 0.5rem; }
.footer-machine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--luxe-line);
}
.footer-machine span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.footer-machine a { font-size: 0.75rem; color: var(--light-gray); text-decoration: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.footer-machine a:hover { color: var(--gold); }
.footer-links a { position: relative; }
.footer-links a::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { transform: translateX(10px); }
  .footer-links a:hover::before { transform: scaleX(1); }
  .footer-links a { transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out); }
}
@media (max-width: 768px) {
  .footer-wordmark { white-space: normal; }
}

/* ── 8. THE 404 WORTH FINDING (404s.design / easyui not-found) */
.luxe-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 7rem 1rem 4rem;
  background:
    radial-gradient(50% 40% at 50% 30%, rgba(201, 169, 98, 0.12), transparent 70%),
    linear-gradient(180deg, #0a0a0a, #141414);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.luxe-404-water {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: 38vh;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(0, 120, 170, 0.35), transparent 70%),
    linear-gradient(180deg, transparent, rgba(0, 90, 130, 0.25));
  animation: luxe-water 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes luxe-water { from { transform: translateY(12px) skewX(-1deg); } to { transform: translateY(-10px) skewX(1deg); } }
.luxe-404-digits {
  display: flex;
  justify-content: center;
  gap: clamp(0.2rem, 2vw, 1.4rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(7rem, 26vw, 19rem);
  line-height: 0.9;
  color: var(--gold);
  text-shadow: 0 30px 80px rgba(201, 169, 98, 0.25);
  margin-bottom: 1rem;
}
.luxe-404-digits span {
  display: inline-block;
  transform: translate(calc(var(--dx, 0) * 1px), calc(var(--dy, 0) * 1px)) rotate(calc(var(--dx, 0) * 0.08deg));
  transition: transform 420ms var(--ease-out);
  will-change: transform;
}
.luxe-404-digits span:nth-child(2) { animation: luxe-float 5s ease-in-out infinite; }
.luxe-404 h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0 0 0.75rem; color: #fff; }
.luxe-404 p { color: var(--light-gray); max-width: 520px; margin: 0 auto 2rem; line-height: 1.6; }
.luxe-404-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.luxe-404-actions .btn { min-height: 48px; }
.luxe-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 640px; margin: 0 auto; }
.luxe-404-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--luxe-line); border-radius: 999px; color: var(--off-white);
  font-size: 0.85rem; text-decoration: none;
  transition: border-color var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
.luxe-404-links a:hover { border-color: var(--gold); background: rgba(201, 169, 98, 0.1); transform: translateY(-2px); }
.luxe-404-code { margin-top: 2.5rem; font-family: ui-monospace, Menlo, monospace; font-size: 0.72rem; color: #555; letter-spacing: 0.1em; }

/* ── 9. ANIMATED NUMBERS (easyui animated-number, count-up driven by Luxe.tsx) */
[data-count] { font-variant-numeric: tabular-nums; }

/* ── 10. REDUCED MOTION FLOOR (the globals.css rule collapses durations; here
   we also drop the transforms so nothing sits invisible waiting for a reveal) */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hero::after, .hero-card, .luxe-404-water, .luxe-404-digits span:nth-child(2) { animation: none !important; }
  .btn-outline:hover::after { animation: none; }
}

/* The drawer also marks the current page (the nav pill rule above only
   targets .nav; measured missing on the phone capture, Oct 20 2026). */
.mobile-nav a[aria-current="page"] { color: var(--gold); padding-left: 0.9rem; border-left: 2px solid var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
