/* =====================================================================
   RACHANA BUILDERS — Bhavnagar · Design System
   "Crafting Quality, Building Trust" · Est. 2017
   Royal "Victoria" identity: deep navy + antique gold, regal accents.
   Fonts: Barlow Condensed (display) + Quicksand (body).
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. DESIGN TOKENS                                                    */
/* ------------------------------------------------------------------ */
:root {
  /* Antique royal golds (primary accent) */
  --gold:        #d4af37;
  --gold-light:  #ecd591;
  --gold-soft:   #c9a24a;
  --orange:      #b8862f;   /* deep gold — gradient start */
  --yellow:      #f0d98a;   /* light gold — gradient end */
  --amber:       #d9b24e;

  /* Regal burgundy ("Victoria" wine) — accent */
  --red:         #8c2f4a;
  --red-dark:    #6a2138;
  --red-light:   #b15470;

  /* Wider secondary accents (category coding & variety) */
  --teal:        #167a5d;
  --teal-light:  #2bb089;
  --blue:        #2f5fa6;   /* royal blue */
  --blue-light:  #5f8fce;
  --plum:        #6d2f6b;
  --green:       #1f8f5f;
  --clay:        #b06a39;

  /* Glitch / accent (cyan reads beautifully on navy) */
  --mint:        #7fe8e0;
  --salmon:      #e0a36a;

  /* Inks (deep royal navy) & papers (ivory) */
  --ink:         #0e1c33;
  --ink-2:       #13243f;
  --ink-3:       #1c3357;
  --ink-4:       #284571;
  --paper:       #f6f4ee;
  --paper-2:     #ece4d3;
  --white:       #ffffff;

  /* Text */
  --text:        #1f2a3d;
  --text-soft:   #5d6b7d;
  --text-onDark: #e9eef6;
  --text-onDark-soft: #9fb1c8;

  /* Lines */
  --line:        #e4dcc9;
  --line-dark:   rgba(255,255,255,.10);

  /* Signature gold gradient (metallic) */
  --grad: linear-gradient(115deg, #b8862f 0%, #d9b24e 45%, #f0d98a 100%);
  --grad-soft: linear-gradient(115deg, rgba(184,134,47,.16), rgba(240,217,138,.16));
  --grad-dark: linear-gradient(160deg, #13243f 0%, #1c3357 60%, #0e1c33 100%);
  /* duo + secondary gradients */
  --grad-duo:  linear-gradient(115deg, #2f5fa6 0%, #7a6db0 50%, #d9b24e 100%);
  --grad-red:  linear-gradient(115deg, #8c2f4a, #b15470);
  --grad-teal: linear-gradient(115deg, #14684f, #2bb089);
  --grad-blue: linear-gradient(115deg, #244e8a, #5f8fce);
  --grad-plum: linear-gradient(115deg, #5e2450, #b14a8f);

  /* Typography */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Quicksand", system-ui, -apple-system, sans-serif;

  /* Shape & depth */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(20,19,18,.08);
  --shadow:    0 18px 50px rgba(20,19,18,.14);
  --shadow-gold: 0 18px 44px rgba(212,175,55,.34);

  /* Motion — tuned for "smooth" */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --t-fast: .25s var(--ease);
  --t:      .45s var(--ease);
  --t-slow: .8s  var(--ease-out);

  --container: 1240px;
  --nav-h: 84px;
}

/* ------------------------------------------------------------------ */
/* 2. RESET & BASE                                                     */
/* ------------------------------------------------------------------ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: #2a2926; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--amber)); border-radius: 20px; border: 2px solid var(--ink); }

/* ------------------------------------------------------------------ */
/* 3. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.display { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 700; line-height: .96; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--grad);
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-light); }

.lead { font-size: 1.18rem; color: var(--text-soft); font-weight: 500; }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--text-soft); }
.on-dark .muted, .muted.on-dark { color: var(--text-onDark-soft); }

/* ------------------------------------------------------------------ */
/* 4. LAYOUT UTILITIES                                                 */
/* ------------------------------------------------------------------ */
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 44px, 1440px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section.tight { padding: clamp(48px,6vw,80px) 0; }
.section.dark { background: var(--ink); color: var(--text-onDark); }
.section.dark h1,.section.dark h2,.section.dark h3 { color: var(--white); }
.section.ink2 { background: var(--ink-2); color: var(--text-onDark); }
.section.paper2 { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items: center; }

.center { text-align: center; }
.mt-s{margin-top:14px} .mt-m{margin-top:26px} .mt-l{margin-top:44px}

/* ------------------------------------------------------------------ */
/* 5. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.btn {
  --pad: 16px 34px;
  position: relative;
  display: inline-flex; align-items: center; gap: 11px;
  padding: var(--pad);
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem; letter-spacing: 1.4px;
  text-transform: uppercase;
  border: none; border-radius: 60px;
  cursor: pointer; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), color var(--t);
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(5px); }

.btn-gold { background: var(--grad); color: #241a04; box-shadow: var(--shadow-gold); background-size: 180% 100%; }
.btn-gold:hover { transform: translateY(-3px); background-position: 100% 0; }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-3px); }
.on-dark .btn-ghost:hover { background: var(--gold); color: #241a04; box-shadow: inset 0 0 0 2px var(--gold); }

.btn-sm { padding: 11px 22px; font-size: .9rem; }

/* link with animated underline */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.link-arrow span { background: linear-gradient(var(--gold),var(--gold)) 0 100%/0 2px no-repeat; transition: background-size var(--t); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow svg { width: 16px; transition: transform var(--t); }

/* ------------------------------------------------------------------ */
/* 6. SCROLL PROGRESS + PRELOADER                                      */
/* ------------------------------------------------------------------ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 2000; transition: width .1s linear; }

.preloader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem,7vw,4.2rem); letter-spacing: 3px;
  color: var(--white); text-transform: uppercase;
}
.preloader .pl-bar { width: 200px; height: 3px; background: var(--line-dark); margin: 22px auto 0; border-radius: 3px; overflow: hidden; }
.preloader .pl-bar i { display: block; height: 100%; width: 0; background: var(--grad); animation: plload 1.5s var(--ease-out) forwards; }
@keyframes plload { to { width: 100%; } }

/* ------------------------------------------------------------------ */
/* 7. HEADER / NAV                                                     */
/* ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(20,19,18,.85), rgba(20,19,18,0));
  transition: background var(--t), height var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  height: 70px;
  background: rgba(18,17,16,.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0,0,0,.32);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { width: min(100% - 44px, 1440px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--white); }
.brand-logo { height: 50px; width: auto; display: block; transition: height var(--t); }
.site-header.scrolled .brand-logo { height: 40px; }
.site-footer .brand-logo { height: 54px; }
.brand-mark { width: 50px; height: 50px; flex: none; display: grid; place-items: center; transition: transform var(--t); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark .brand-logo-img { height: 100%; width: auto; object-fit: contain; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.brand:hover .brand-mark { transform: scale(1.06); }
.site-footer .brand-mark { width: 58px; height: 58px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 2px; line-height: 1; text-transform: uppercase; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .56rem; letter-spacing: 3px; color: var(--gold-light); margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 15px; color: var(--text-onDark);
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  letter-spacing: 1px; text-transform: uppercase;
  border-radius: 10px; transition: color var(--t), background var(--t);
}
.nav-menu > li > a:hover { color: var(--white); }
.nav-menu > li > a .caret { width: 9px; opacity: .6; transition: transform var(--t); }
.nav-menu > li:hover > a .caret { transform: rotate(180deg); }
.nav-menu > li.active > a { color: var(--gold-light); }
.nav-menu > li.active > a::after { content:""; position:absolute; left:15px; right:15px; bottom:6px; height:2px; background: var(--grad); border-radius:2px; }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 230px; background: rgba(24,23,21,.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 9px; color: var(--text-onDark-soft); font-weight: 600; font-size: .95rem; transition: background var(--t), color var(--t), padding var(--t); }
.dropdown a:hover { background: rgba(212,175,55,.12); color: var(--white); padding-left: 20px; }
.dropdown a i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { color: var(--text-onDark); display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; letter-spacing: .5px; }
.nav-phone svg { width: 19px; color: var(--gold); }

/* burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 11px; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 999; background: var(--ink); padding: calc(var(--nav-h) + 20px) 26px 40px; transform: translateX(100%); transition: transform .5s var(--ease-out); overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav > a, .mobile-nav .m-group > button { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; padding: 16px 6px; color: var(--text-onDark); font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; }
.mobile-nav .m-sub { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.mobile-nav .m-sub.open { max-height: 400px; }
.mobile-nav .m-sub a { display: block; padding: 11px 18px; color: var(--text-onDark-soft); font-weight: 600; }
.mobile-nav .m-group.open > button { color: var(--gold-light); }
.mobile-nav .caret { width: 18px; height: 18px; flex: none; opacity: .55; transition: transform var(--t); }
.mobile-nav .m-group.open > button .caret { transform: rotate(180deg); }

/* ------------------------------------------------------------------ */
/* 8. GLITCH TEXT EFFECT (signature)                                   */
/* ------------------------------------------------------------------ */
.glitch { position: relative; display: inline-block; color: inherit; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%;
  overflow: hidden; pointer-events: none;
  background: inherit;
}
.glitch::before { color: var(--mint); z-index: -1; }
.glitch::after  { color: var(--orange); z-index: -2; }
.glitch:hover::before, .glitch.glitching::before { animation: glitch-top .5s steps(2,end) 2; }
.glitch:hover::after,  .glitch.glitching::after  { animation: glitch-bot .5s steps(2,end) 2; }
@keyframes glitch-top {
  0%   { transform: translate(0,0); clip-path: inset(0 0 75% 0); }
  20%  { transform: translate(-4px,-2px); clip-path: inset(10% 0 60% 0); }
  40%  { transform: translate(4px,2px);  clip-path: inset(40% 0 30% 0); }
  60%  { transform: translate(-3px,1px); clip-path: inset(20% 0 55% 0); }
  80%  { transform: translate(3px,-1px); clip-path: inset(5% 0 80% 0); }
  100% { transform: translate(0,0); clip-path: inset(0 0 75% 0); }
}
@keyframes glitch-bot {
  0%   { transform: translate(0,0); clip-path: inset(75% 0 0 0); }
  20%  { transform: translate(4px,2px);  clip-path: inset(60% 0 10% 0); }
  40%  { transform: translate(-4px,-2px);clip-path: inset(30% 0 40% 0); }
  60%  { transform: translate(3px,-1px); clip-path: inset(55% 0 20% 0); }
  80%  { transform: translate(-3px,1px); clip-path: inset(80% 0 5% 0); }
  100% { transform: translate(0,0); clip-path: inset(75% 0 0 0); }
}
/* continuous subtle glitch for hero */
.glitch.live::before { animation: glitch-top 3.6s steps(2,end) infinite; animation-delay: 1.2s; }
.glitch.live::after  { animation: glitch-bot 3.6s steps(2,end) infinite; animation-delay: 1.2s; }

/* scanline + flicker on dark heroes */
.scanlines::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0,0,0,.16) 2px 3px);
  mix-blend-mode: overlay; opacity: .35;
}

/* ------------------------------------------------------------------ */
/* 9. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--text-onDark); background: var(--ink); overflow: hidden; padding-top: var(--nav-h); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .mesh { position: absolute; inset: -20%; background:
    radial-gradient(40% 50% at 80% 20%, rgba(212,175,55,.22), transparent 60%),
    radial-gradient(40% 50% at 15% 80%, rgba(127,232,224,.10), transparent 55%),
    var(--grad-dark);
  animation: meshfloat 18s ease-in-out infinite alternate;
}
@keyframes meshfloat { to { transform: translate3d(2%, -2%, 0) scale(1.06); } }
.hero-photo { opacity: .55; z-index: 0; }
.hero-tint { position: absolute; inset: 0; z-index: 1; background:
    linear-gradient(102deg, rgba(15,14,13,.95) 0%, rgba(15,14,13,.74) 46%, rgba(15,14,13,.34) 100%),
    linear-gradient(0deg, rgba(15,14,13,.92), transparent 55%); }
.hero-bg.photo .mesh { z-index: 2; background:
    radial-gradient(42% 52% at 84% 20%, rgba(212,175,55,.30), transparent 62%),
    radial-gradient(34% 44% at 8% 88%, rgba(47,95,166,.18), transparent 62%); }
.page-hero .hero-photo { opacity: .42; }
.hero-bg .grid-lines { position: absolute; inset: 0; opacity: .5; z-index: 2;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 90%); }
.hero-inner { position: relative; z-index: 4; width: min(100% - 44px, var(--container)); margin-inline: auto; padding: 60px 0; }
.hero .display { margin: 18px 0 22px; }
.hero p.lead { max-width: 560px; color: var(--text-onDark-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; color: var(--text-onDark-soft); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-display); letter-spacing: 2px; font-size: .8rem; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; position: relative; }
.scroll-cue .mouse::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 3px; background: var(--gold); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translate(-50%, 12px); opacity: 0; } }

/* page hero (interior pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 70px; background: var(--ink); color: var(--text-onDark); overflow: hidden; }
.page-hero .hero-bg { opacity: .85; }
.page-hero-inner { position: relative; z-index: 4; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--text-onDark-soft); font-family: var(--font-display); letter-spacing: 1.5px; text-transform: uppercase; font-size: .92rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 { margin: 18px 0 12px; }

/* ------------------------------------------------------------------ */
/* 10. MARQUEE / TICKER                                                */
/* ------------------------------------------------------------------ */
.marquee { background: var(--grad); color: #241a04; padding: 16px 0; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 2px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "✦"; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ */
/* 11. STATS / COUNTERS                                                */
/* ------------------------------------------------------------------ */
.stat-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.stat { position: relative; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,4.5vw,3.6rem); line-height: 1; }
.stat .num .text-grad,.stat .num.text-grad { display: inline-block; }
.stat .lbl { margin-top: 8px; font-weight: 600; font-size: .95rem; color: var(--text-soft); letter-spacing: .3px; }
.on-dark .stat .lbl, .stat.on-dark .lbl { color: var(--text-onDark-soft); }
.stat-row.bordered .stat { padding-left: 22px; border-left: 2px solid var(--line); }
.on-dark .stat-row.bordered .stat { border-color: var(--line-dark); }

/* ------------------------------------------------------------------ */
/* 12. SEPARATOR                                                       */
/* ------------------------------------------------------------------ */
.sep { display: flex; align-items: center; gap: 14px; }
.sep::before, .sep::after { content: ""; height: 2px; background: var(--line); flex: 1; }
.sep i { color: var(--gold); }

/* ------------------------------------------------------------------ */
/* 13. CARDS                                                           */
/* ------------------------------------------------------------------ */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.on-dark .card { background: var(--ink-2); border-color: var(--line-dark); }

/* project card */
.project-card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pc-visual { position: relative; aspect-ratio: 4/3.1; overflow: hidden; }
.pc-visual .art { position: absolute; inset: 0; transition: transform var(--t-slow); }
.project-card:hover .pc-visual .art { transform: scale(1.07); }
/* real photography */
.pc-visual .pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow), filter var(--t); background: var(--ink-3); }
.project-card:hover .pc-visual .pc-img { transform: scale(1.07); }
.pc-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,18,.05) 0%, rgba(20,19,18,.12) 55%, rgba(20,19,18,.72) 100%); z-index: 1; }
.pc-tags, .pc-glitch-label { z-index: 2; }
/* generic image-fill helpers */
.img-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-panel .img-fill { transition: transform var(--t-slow); }
.media-panel:hover .img-fill { transform: scale(1.05); }
.cat-tile img.cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow); }
.cat-tile:hover img.cat-img { transform: scale(1.08); }
.pc-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.tag { font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 13px; border-radius: 30px; background: rgba(20,19,18,.72); color: var(--white); backdrop-filter: blur(6px); }
.tag.gold { background: var(--grad); color: #241a04; }
.tag.teal { background: var(--grad-teal); color: #fff; }
.tag.ready { background: #1f8f5f; }
.tag.uc { background: #c8741a; }

/* widened palette — icon tints & accents for category variety */
.ic.c-red  { background: linear-gradient(135deg, rgba(140,47,74,.18), rgba(177,84,112,.10)); color: var(--red); }
.ic.c-teal { background: linear-gradient(135deg, rgba(15,138,122,.16), rgba(43,192,168,.08)); color: var(--teal); }
.ic.c-blue { background: linear-gradient(135deg, rgba(43,92,138,.16), rgba(79,142,192,.08)); color: var(--blue); }
.ic.c-plum { background: linear-gradient(135deg, rgba(122,47,99,.16), rgba(177,74,143,.08)); color: var(--plum); }
.ic.c-clay { background: linear-gradient(135deg, rgba(194,104,58,.16), rgba(194,104,58,.06)); color: var(--clay); }
.ic.c-green{ background: linear-gradient(135deg, rgba(31,143,95,.16), rgba(31,143,95,.06)); color: var(--green); }
.chip.red  { background: rgba(140,47,74,.10); color: var(--red); border-color: rgba(140,47,74,.28); }
.chip.teal { background: rgba(15,138,122,.10); color: var(--teal); border-color: rgba(15,138,122,.25); }
.chip.blue { background: rgba(43,92,138,.10); color: var(--blue); border-color: rgba(43,92,138,.25); }
.text-red  { color: var(--red); }
.text-teal { color: var(--teal); }
.text-blue { color: var(--blue); }
.pc-glitch-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(20,19,18,.88)); color: var(--white); z-index: 2; }
.pc-glitch-label h3 { color: var(--white); font-size: 1.5rem; }
.pc-glitch-label .loc { display: flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--gold-light); font-weight: 600; margin-top: 4px; }
.pc-body { padding: 18px 20px 22px; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
.pc-specs li { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--text-soft); }
.pc-specs li svg { width: 16px; color: var(--gold); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold); }
.price small { font-size: .7rem; color: var(--text-soft); display: block; letter-spacing: 1px; font-weight: 600; }

/* CSS-generated architectural artwork (no external images needed) */
.art-tower { background:
    linear-gradient(160deg, #1c3357, #0b1729);
  position: relative; }
.art-tower::before { content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; }
.art-tower::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 50% at 70% 30%, rgba(212,175,55,.35), transparent 60%); }
.art-1 { background: linear-gradient(140deg,#284571,#0e1c33); }   /* royal blue */
.art-2 { background: linear-gradient(140deg,#13243f,#0b1729); }   /* deep navy */
.art-3 { background: linear-gradient(140deg,#1c3357,#3a2f14); }   /* navy → gold */
.art-4 { background: linear-gradient(140deg,#14463a,#0a1f1c); }   /* emerald-navy */
.art-5 { background: linear-gradient(140deg,#3a2f14,#1a1305); }   /* antique gold */
.art-6 { background: linear-gradient(140deg,#1c3357,#13243f); }   /* navy */
/* skyline silhouette overlay */
.art .sky { position: absolute; inset: 0; opacity: .9; }

/* category tile */
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; padding: 26px; color: var(--white); cursor: pointer; isolation: isolate; }
.cat-tile .art { position: absolute; inset: 0; z-index: -2; transition: transform var(--t-slow); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(20,19,18,.9)); }
.cat-tile:hover .art { transform: scale(1.08); }
.cat-tile h3 { color: var(--white); }
.cat-tile .ct-meta { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.cat-tile .ct-count { font-family: var(--font-display); font-weight: 600; color: var(--gold-light); letter-spacing: 1px; }
.cat-tile .ct-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #241a04; transition: transform var(--t); }
.cat-tile:hover .ct-arrow { transform: rotate(-45deg) scale(1.08); }

/* value / feature card */
.feature { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t), background var(--t); position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ic { width: 60px; height: 60px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; color: var(--gold); margin-bottom: 18px; transition: transform var(--t); }
.feature:hover .ic { transform: rotate(-8deg) scale(1.05); }
.feature .ic svg { width: 28px; }
.ic.ic-img { background: #fff; padding: 11px; box-shadow: var(--shadow-sm); }
.ic.ic-img img { width: 100%; height: 100%; object-fit: contain; }
.feature h4 { margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: .98rem; }
.feature .idx { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--line); line-height: 1; }
.on-dark .feature { background: var(--ink-2); border-color: var(--line-dark); }
.on-dark .feature p { color: var(--text-onDark-soft); }
.on-dark .feature .idx { color: rgba(255,255,255,.07); }

/* ------------------------------------------------------------------ */
/* 14. FILTERS / TABS                                                  */
/* ------------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn { padding: 11px 22px; border-radius: 40px; border: 1.5px solid var(--line); background: transparent; color: var(--text-soft); font-family: var(--font-display); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all var(--t); }
.filter-btn:hover { border-color: var(--gold); color: var(--text); }
.filter-btn.active { background: var(--grad); border-color: transparent; color: #241a04; box-shadow: var(--shadow-gold); }
.on-dark .filter-btn { color: var(--text-onDark-soft); border-color: var(--line-dark); }
.on-dark .filter-btn:hover { color: var(--white); }
.filter-item { transition: opacity var(--t), transform var(--t); }
.filter-item.hide { display: none; }

/* ------------------------------------------------------------------ */
/* 15. TIMELINE                                                        */
/* ------------------------------------------------------------------ */
.timeline { position: relative; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), transparent); }
.tl-item { position: relative; padding: 0 0 38px 60px; }
.tl-item::before { content: ""; position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.14); }
.tl-item .yr { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--gold); }
.tl-item h4 { margin: 4px 0 1px; }
.tl-item .tl-project { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.tl-item p { color: var(--text-soft); }
.on-dark .tl-item p { color: var(--text-onDark-soft); }
.on-dark .tl-item::before { background: var(--ink); }

/* ------------------------------------------------------------------ */
/* 16. TESTIMONIALS                                                    */
/* ------------------------------------------------------------------ */
.testi { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; transition: transform var(--t), box-shadow var(--t); }
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi .quote { font-size: 3.4rem; font-family: var(--font-display); color: var(--gold); line-height: .6; }
.testi p { margin: 10px 0 20px; color: var(--text); font-size: 1.02rem; }
.testi .who { display: flex; align-items: center; gap: 13px; }
.testi .av { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #241a04; font-size: 1.3rem; flex: none; }
.testi .who h5 { font-size: 1.05rem; }
.testi .who span { font-size: .85rem; color: var(--text-soft); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 6px; }
.on-dark .testi { background: var(--ink-2); border-color: var(--line-dark); }
.on-dark .testi p { color: var(--text-onDark); }

/* ------------------------------------------------------------------ */
/* 17. ACCORDION                                                       */
/* ------------------------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text); transition: color var(--t); }
.acc-head:hover { color: var(--gold); }
.acc-head .pm { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; transition: all var(--t); position: relative; }
.acc-head .pm::before, .acc-head .pm::after { content: ""; position: absolute; background: currentColor; }
.acc-head .pm::before { width: 12px; height: 2px; }
.acc-head .pm::after { width: 2px; height: 12px; transition: transform var(--t); }
.acc-item.open .acc-head { color: var(--gold); }
.acc-item.open .pm { background: var(--grad); border-color: transparent; color: #241a04; }
.acc-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.acc-body p { padding: 0 4px 24px; color: var(--text-soft); }
.on-dark .accordion, .on-dark .acc-item { border-color: var(--line-dark); }
.on-dark .acc-head { color: var(--text-onDark); }
.on-dark .acc-body p { color: var(--text-onDark-soft); }

/* ------------------------------------------------------------------ */
/* 18. CTA BAND                                                        */
/* ------------------------------------------------------------------ */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px,6vw,72px); background: var(--ink); color: var(--white); isolation: isolate; }
.cta-band .mesh { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(50% 80% at 85% 10%, rgba(212,175,55,.34), transparent 60%),
    radial-gradient(40% 70% at 10% 90%, rgba(127,232,224,.12), transparent 60%); }
.cta-band .grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .4; background-image: linear-gradient(var(--line-dark) 1px,transparent 1px),linear-gradient(90deg,var(--line-dark) 1px,transparent 1px); background-size: 48px 48px; }
.cta-band h2 { color: var(--white); }

/* ------------------------------------------------------------------ */
/* 19. FORMS                                                           */
/* ------------------------------------------------------------------ */
.form { display: grid; gap: 20px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 18px 16px 16px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--t), box-shadow var(--t); font-weight: 500;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 16px; top: 17px; color: var(--text-soft); pointer-events: none; transition: all var(--t); font-weight: 600; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 12px; font-size: .76rem; color: var(--gold); background: var(--white); padding: 0 7px; letter-spacing: .5px;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.on-dark .field input, .on-dark .field textarea, .on-dark .field select { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.on-dark .field input:focus + label, .on-dark .field input:not(:placeholder-shown) + label,
.on-dark .field textarea:focus + label, .on-dark .field textarea:not(:placeholder-shown) + label { background: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' viewBox='0 0 24 24' fill='none' stroke='%23f09c05' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }

/* tabs */
.tab-panel { display: none; animation: tabin .4s var(--ease); }
.tab-panel.active { display: block; }
@keyframes tabin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Floor-plan button + lightbox gallery ---- */
.fp-btn { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 16px; padding: 9px 16px; border-radius: 30px; border: 1.5px solid var(--line); background: transparent; color: var(--gold-soft); font-family: var(--font-display); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: .82rem; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.fp-btn svg { width: 16px; }
.fp-btn:hover { background: var(--grad); border-color: transparent; color: #241a04; transform: translateY(-2px); }

/* ---- check-list (project spotlight benefits) ---- */
.check-list { display: grid; gap: 13px; margin: 24px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--text); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.on-dark .check-list li { color: var(--text-onDark); }

.lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(6,10,20,.97); backdrop-filter: blur(10px); display: none; flex-direction: column; padding: clamp(12px, 2.5vw, 26px); }
.lightbox.open { display: flex; animation: tabin .35s var(--ease); }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; padding: 4px 2px 14px; flex: none; }
.lb-title { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.7rem); letter-spacing: 1px; text-transform: uppercase; line-height: 1.1; }
.lb-title small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: 3px; color: var(--gold-light); text-transform: uppercase; margin-top: 3px; }
.lb-close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); border: none; color: #fff; cursor: pointer; font-size: 1.7rem; line-height: 1; flex: none; transition: background var(--t), color var(--t); }
.lb-close:hover { background: var(--grad); color: #241a04; }
.lb-stage { flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #fff; cursor: zoom-in; transition: opacity .25s ease; }
.lb-stage.zoomed { overflow: auto; cursor: grab; align-items: flex-start; justify-content: flex-start; }
.lb-stage.zoomed img { max-width: none; max-height: none; width: auto; height: auto; cursor: zoom-out; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 3; transition: background var(--t), color var(--t); }
.lb-nav:hover { background: var(--grad); color: #241a04; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-stage.zoomed .lb-nav { display: none; }
.lb-label { text-align: center; color: var(--gold-light); font-family: var(--font-display); letter-spacing: 2px; text-transform: uppercase; font-size: .92rem; padding: 12px 0 4px; flex: none; }
.lb-thumbs { display: flex; gap: 10px; justify-content: center; padding: 10px 4px 2px; flex-wrap: wrap; flex: none; }
.lb-thumb { width: 86px; height: 60px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .55; transition: opacity var(--t), border-color var(--t), transform var(--t); padding: 0; background: #fff; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: .85; transform: translateY(-2px); }
.lb-thumb.active { border-color: var(--gold); opacity: 1; }
@media (max-width: 560px) { .lb-thumb { width: 60px; height: 44px; } }

/* ------------------------------------------------------------------ */
/* 20. CONTACT / INFO CARDS                                            */
/* ------------------------------------------------------------------ */
.info-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.info-card .ic svg { width: 24px; }
.info-card h5 { font-size: 1.1rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--text-soft); font-weight: 600; }
.info-card a:hover { color: var(--gold); }
.on-dark .info-card { background: var(--ink-2); border-color: var(--line-dark); }

/* ------------------------------------------------------------------ */
/* 21. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--text-onDark-soft); padding: 80px 0 0; border-top: 4px solid transparent; border-image: var(--grad) 1; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: .96rem; }
.footer-social { display: flex; gap: 11px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: var(--text-onDark); transition: all var(--t); }
.footer-social a:hover { background: var(--grad); color: #241a04; transform: translateY(-4px); }
.footer-social a svg { width: 19px; }
.footer-col h5 { color: var(--white); font-size: 1.15rem; letter-spacing: 1px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--grad); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { transition: color var(--t), padding var(--t); display: inline-block; font-weight: 600; }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-weight: 600; }
.footer-contact li svg { width: 19px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.footer-bottom p { font-size: .9rem; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a:hover { color: var(--gold-light); }

/* ------------------------------------------------------------------ */
/* 22. FLOATING ACTIONS                                                */
/* ------------------------------------------------------------------ */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #241a04; display: grid; place-items: center; box-shadow: var(--shadow-gold); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--t); z-index: 900; border: none; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.wa-fab { position: fixed; left: 24px; bottom: 24px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.4); z-index: 900; transition: transform var(--t); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ------------------------------------------------------------------ */
/* 23. REVEAL ANIMATIONS                                               */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.r-left { transform: translateX(-40px); }
.reveal.r-right { transform: translateX(40px); }
.reveal.r-scale { transform: scale(.92); }
.reveal.in.r-left, .reveal.in.r-right, .reveal.in.r-scale { transform: none; }
[data-delay="1"]{transition-delay:.08s}[data-delay="2"]{transition-delay:.16s}
[data-delay="3"]{transition-delay:.24s}[data-delay="4"]{transition-delay:.32s}
[data-delay="5"]{transition-delay:.40s}[data-delay="6"]{transition-delay:.48s}

.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* badge / chip */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 30px; background: var(--grad-soft); color: var(--gold); font-family: var(--font-display); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: .85rem; border: 1px solid rgba(212,175,55,.25); }

/* pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 18px; border-radius: 30px; background: var(--paper-2); font-weight: 600; font-size: .92rem; border: 1px solid var(--line); }
.on-dark .pill { background: var(--ink-2); border-color: var(--line-dark); color: var(--text-onDark); }

/* image-free media panel */
.media-panel { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; position: relative; box-shadow: var(--shadow); }
.media-panel.tall { aspect-ratio: 3/4; }

/* blueprint svg helper sits inside .art */
.blueprint line, .blueprint path, .blueprint rect, .blueprint circle { vector-effect: non-scaling-stroke; }

/* ------------------------------------------------------------------ */
/* 24. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-menu, .nav-phone { display: none; }
  .burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stat-row { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .g-3, .g-4 { grid-template-columns: repeat(2,1fr); }
  .field-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2,1fr); gap: 26px 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .reveal { transform: translateY(24px); }
}
@media (max-width: 560px) {
  :root { --nav-h: 70px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .marquee span { font-size: 1.05rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .glitch::before, .glitch::after { display: none; }
}
