/* =========================================================
   ARS Construction — Premium Design System
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --fg: #f5f2ec;
  --fg-muted: #b8b1a3;
  --fg-dim: #7a7368;
  --gold: #c9a961;
  --gold-2: #e2c988;
  --gold-deep: #a8893e;
  --line: rgba(201,169,97,0.18);
  --line-soft: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-gold: 0 10px 40px -10px rgba(201,169,97,0.35);
  --shadow-deep: 0 30px 80px -20px rgba(0,0,0,0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--gold); color: #000; }

/* ---------- Utility ---------- */
.container { width: min(1240px, 92vw); margin: 0 auto; }
.section { position: relative; padding: 120px 0; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.italic { font-family: "Cormorant Garamond", "Fraunces", serif; font-style: italic; font-weight: 400; }
.gold { color: var(--gold); }
.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12; font-weight: 600; letter-spacing: -0.01em;
}
.section-sub { color: var(--fg-muted); font-size: 1.05rem; max-width: 52ch; margin-top: 18px; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.lead { font-size: 1.15rem; color: var(--fg); line-height: 1.6; margin-bottom: 18px; }
.body-text { color: var(--fg-muted); margin-bottom: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; cursor: none; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-deep));
  color: #0a0a0a; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 15px 50px -10px rgba(201,169,97,0.6); }
.btn-ghost {
  background: transparent; color: var(--fg); border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-dark { background: var(--bg-3); color: var(--fg); border-color: var(--line); }
.btn-dark:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn.full { width: 100%; justify-content: center; }
.services .btn, .contact .btn { cursor: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: padding 0.4s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 44px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand-logo { height: 36px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 4px 0; color: var(--fg-muted); transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; margin-left: 8px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: none; }
.menu-toggle span { width: 26px; height: 1.5px; background: var(--fg); transition: 0.3s var(--ease); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,10,10,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transform: translateY(-20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a { font-family: "Fraunces", serif; font-size: 2rem; color: var(--fg); }
.mobile-menu a:hover { color: var(--gold); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.preloader-mark { animation: pulseMark 1.6s var(--ease) infinite; }
@keyframes pulseMark { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.preloader-bar { width: 200px; height: 1px; background: rgba(255,255,255,0.1); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--gold); animation: loadBar 1.6s var(--ease) forwards; }
@keyframes loadBar { to { width: 100%; } }
.preloader-text { font-size: 0.7rem; letter-spacing: 0.4em; color: var(--fg-dim); }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transition: transform 0.08s linear; will-change: transform; }
.cursor {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(201,169,97,0.6);
  transform: translate(-50%, -50%); transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.08s linear;
}
.cursor.hover { width: 64px; height: 64px; border-color: var(--gold); background: rgba(201,169,97,0.08); }
.cursor-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); }
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } body { cursor: auto; } }

/* ---------- Grain ---------- */
.grain, .hero-grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
}
.grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-grain { position: absolute; opacity: 0.07; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.12); will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.72) 48%, rgba(10,10,10,0.35) 100%);
}
.hero-mesh {
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 30%, rgba(201,169,97,0.18), transparent 70%),
              radial-gradient(40% 40% at 20% 80%, rgba(201,169,97,0.12), transparent 70%);
  mix-blend-mode: screen;
}
.hero-content { position: relative; z-index: 2; max-width: 920px; padding-bottom: 90px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: 500; margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px var(--gold); animation: dotPulse 1.8s var(--ease) infinite;
}
@keyframes dotPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }
.hero-title {
  font-family: "Fraunces", serif; font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 6.2rem); line-height: 1.02; letter-spacing: -0.02em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.hero-title .word.show { transform: translateY(0); opacity: 1; }
.hero-title .gold {
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .italic { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 400; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--fg-muted);
  max-width: 58ch; margin: 32px 0 38px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--line-soft);
  max-width: 720px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: "Fraunces", serif; font-size: 2.2rem; font-weight: 600; line-height: 1; }
.stat-plus, .stat-suffix { color: var(--gold); font-size: 1.4rem; font-weight: 600; line-height: 1; margin-left: 2px; }
.stat { flex-direction: row; align-items: baseline; gap: 2px; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin-left: 12px; align-self: flex-end; padding-bottom: 3px; }
.stat-divider { width: 1px; height: 40px; background: var(--line-soft); }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--fg-dim); font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase;
  z-index: 2; cursor: none;
}
.scroll-cue-line { width: 1px; height: 44px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.scroll-cue-line span { position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* Particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particles span {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold); opacity: 0.4; animation: floatParticle var(--d, 8s) ease-in-out infinite;
}
@keyframes floatParticle {
  0%,100% { transform: translate(0,0); opacity: 0.2; }
  50% { transform: translate(var(--x,20px), var(--y,-30px)); opacity: 0.7; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-media { position: relative; min-height: 560px; }
.about-image-main {
  position: relative; width: 78%; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-image-main:hover img { transform: scale(1.06); }
.image-frame {
  position: absolute; inset: -14px; border: 1px solid var(--gold); border-radius: var(--radius-lg);
  pointer-events: none; opacity: 0.5;
}
.about-image-float {
  position: absolute; right: 0; bottom: 60px; width: 46%; aspect-ratio: 4/5;
  border-radius: var(--radius); overflow: hidden; border: 4px solid var(--bg);
  box-shadow: var(--shadow-deep);
}
.about-image-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}
.badge-num { font-family: "Fraunces", serif; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.badge-text { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: var(--fg-muted); margin-top: 6px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0; }
.feature { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--glass); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.feature:hover { border-color: var(--line); transform: translateY(-4px); }
.feature-icon { width: 40px; height: 40px; flex: 0 0 40px; color: var(--gold); }
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
.feature p { font-size: 0.85rem; color: var(--fg-muted); }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; position: relative; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow-deep); }
.service-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.1); }
.service-number {
  position: absolute; top: 14px; right: 16px; font-family: "Fraunces", serif;
  font-size: 2.4rem; color: rgba(255,255,255,0.18); font-weight: 700; line-height: 1;
  mix-blend-mode: overlay;
}
.service-body { padding: 26px; }
.service-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 14px; }
.service-icon svg { width: 100%; height: 100%; }
.service-body h3 { font-family: "Fraunces", serif; font-size: 1.35rem; margin-bottom: 10px; font-weight: 600; }
.service-body p { color: var(--fg-muted); font-size: 0.92rem; margin-bottom: 16px; }
.service-list { list-style: none; margin-bottom: 20px; }
.service-list li {
  font-size: 0.82rem; color: var(--fg-dim); padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft); display: flex; align-items: center; gap: 8px;
}
.service-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.service-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold);
  transition: gap 0.3s var(--ease);
}
.service-link:hover { gap: 14px; }

/* ---------- Marquee band ---------- */
.marquee-band {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 22px 0; background: var(--bg-2); overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 60px; align-items: center;
  animation: marquee 32s linear infinite; font-family: "Fraunces", serif;
  font-size: 1.2rem; letter-spacing: 0.2em; color: var(--fg-muted);
}
.marquee-track .sep { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.filter-tab {
  background: transparent; border: 1px solid var(--line-soft); color: var(--fg-muted);
  padding: 10px 22px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: none; transition: all 0.3s var(--ease);
}
.filter-tab.active, .filter-tab:hover { border-color: var(--gold); color: #0a0a0a; background: var(--gold); }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  grid-auto-rows: 280px;
}
.project-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--bg-3); }
.project-tall { grid-row: span 2; }
.project-wide { grid-column: span 2; }
.project-media { position: relative; width: 100%; height: 100%; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.12); filter: brightness(0.55); }
.project-overlay {
  position: absolute; inset: 0; padding: 24px;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.9) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transform: translateY(20px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-meta { margin-bottom: 12px; }
.project-cat { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.project-meta h3 { font-family: "Fraunces", serif; font-size: 1.35rem; margin: 6px 0; }
.project-meta p { font-size: 0.82rem; color: var(--fg-muted); }
.project-zoom {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(10,10,10,0.6); backdrop-filter: blur(8px);
  color: var(--gold); display: grid; place-items: center; cursor: none;
  opacity: 0; transform: scale(0.8); transition: all 0.3s var(--ease);
}
.project-card:hover .project-zoom { opacity: 1; transform: scale(1); }

/* ---------- Process ---------- */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.process-line { position: absolute; top: 34px; left: 5%; right: 5%; height: 1px; background: var(--line-soft); }
.process-line span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 200% 100%; animation: shimmer 3s linear infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.process-step { text-align: center; position: relative; padding-top: 20px; }
.step-dot {
  width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line); display: grid; place-items: center;
  font-family: "Fraunces", serif; font-size: 1rem; color: var(--gold);
  position: relative; z-index: 2;
}
.process-step h3 { font-family: "Fraunces", serif; font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
.process-step p { color: var(--fg-muted); font-size: 0.88rem; max-width: 26ch; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-2); }
.testimonial-slider { max-width: 900px; margin: 0 auto; }
.slides { position: relative; min-height: 260px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none;
}
.slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.quote-mark {
  font-family: "Cormorant Garamond", serif; font-size: 7rem; color: var(--gold);
  line-height: 0.7; margin-bottom: 8px;
}
.slide p { font-family: "Fraunces", serif; font-size: 1.5rem; line-height: 1.5; font-weight: 400; margin-bottom: 28px; }
.slide-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold);
  color: #0a0a0a; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}
.author-name { font-weight: 600; }
.author-role { font-size: 0.82rem; color: var(--fg-muted); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.slider-controls button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-soft);
  background: var(--glass); color: var(--fg); cursor: none; font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}
.slider-controls button:hover { border-color: var(--gold); color: var(--gold); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-dim); transition: all 0.3s var(--ease); }
.slider-dots span.active { background: var(--gold); width: 28px; border-radius: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.contact-card {
  display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line-soft);
  border-radius: var(--radius); background: var(--glass); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-card:hover { border-color: var(--line); transform: translateY(-3px); }
.contact-icon { width: 36px; height: 36px; color: var(--gold); flex: 0 0 36px; }
.contact-icon svg { width: 100%; height: 100%; }
.contact-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; }
.contact-value { font-size: 0.92rem; font-weight: 500; }
.contact-form {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1px solid var(--line-soft); color: var(--fg);
  padding: 14px 16px; border-radius: 10px; font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}
.form-note { font-size: 0.75rem; color: var(--fg-dim); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding-top: 0; }
.footer-marquee { border-bottom: 1px solid var(--line-soft); padding: 26px 0; overflow: hidden; }
.footer-marquee-track { display: inline-flex; gap: 80px; animation: marquee 40s linear infinite; font-family: "Fraunces", serif; font-size: 1.6rem; letter-spacing: 0.2em; color: var(--fg); white-space: nowrap; }
.footer-marquee-track .sep { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.footer-logo { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: var(--fg-muted); font-size: 0.9rem; margin-bottom: 22px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft);
  display: grid; place-items: center; color: var(--fg-muted); transition: all 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer-col h3 { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--fg-muted); font-size: 0.9rem; transition: color 0.3s var(--ease), transform 0.3s var(--ease); display: inline-block; }
.footer-col ul a:hover { color: var(--gold); transform: translateX(4px); }
.footer-col p { color: var(--fg-muted); font-size: 0.9rem; margin-bottom: 16px; }
.newsletter {
  display: flex; align-items: center; padding: 6px 6px 6px 16px;
  border: 1px solid var(--line-soft); border-radius: 999px; background: var(--bg);
  transition: border-color 0.3s var(--ease);
}
.newsletter:focus-within { border-color: var(--gold); }
.newsletter input { flex: 1; background: none; border: 0; color: var(--fg); font-size: 0.88rem; padding: 6px 0; outline: none; }
.newsletter button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gold);
  color: #0a0a0a; cursor: none; display: grid; place-items: center; transition: transform 0.3s var(--ease);
}
.newsletter button:hover { transform: scale(1.08); }
.footer-bottom { border-top: 1px solid var(--line-soft); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 0; font-size: 0.8rem; color: var(--fg-muted); }

.skip-link {
  position: absolute; top: -40px; left: 16px; z-index: 9999;
  background: var(--gold); color: #0a0a0a; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="0.05"] { transition-delay: 0.05s; }
[data-reveal][data-delay="0.1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="0.15"] { transition-delay: 0.15s; }
[data-reveal][data-delay="0.2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="0.25"] { transition-delay: 0.25s; }
[data-reveal][data-delay="0.3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="0.45"] { transition-delay: 0.45s; }
[data-reveal][data-delay="0.6"] { transition-delay: 0.6s; }

/* ---------- Capabilities ---------- */
.cap-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.cap-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-3); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 12px 20px; flex: 1; max-width: 420px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cap-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,0.15); }
.cap-search svg { color: var(--fg-dim); }
.cap-search input {
  flex: 1; background: none; border: 0; color: var(--fg); font-size: 0.95rem; outline: none;
}
.cap-count { font-family: "Fraunces", serif; font-size: 1.1rem; color: var(--gold); }
.cap-count span { font-weight: 700; }
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px;
}
.cap-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border: 1px solid var(--line-soft);
  border-radius: 12px; background: var(--glass); font-size: 0.9rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  cursor: default;
}
.cap-item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: 0 0 6px;
  box-shadow: 0 0 8px rgba(201,169,97,0.5);
}
.cap-item:hover { border-color: var(--line); background: rgba(201,169,97,0.06); transform: translateX(4px); }
.cap-item.hidden { display: none; }
  position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.92);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-deep); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; background: none; border: 0; color: var(--fg);
  font-size: 1.8rem; cursor: none; transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ---------- Polished accessibility & motion ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--gold); }

.btn:active { transform: translateY(0) scale(0.98); }
.service-card:active { transform: translateY(-4px) scale(0.995); }
.project-card:active { transform: scale(0.99); }

.marquee-track, .footer-marquee-track { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-title .word { transform: none !important; opacity: 1 !important; }
  .scroll-cue-line span { animation: none; }
  .hero-particles { display: none; }
}
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-line { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project-wide, .project-tall { grid-column: auto; grid-row: auto; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .stat { flex-direction: row; }
  .stat-num { font-size: 1.8rem; }
}
