/* ============================================================
   Nazeer Ahmad — Portfolio
   Dark premium aesthetic · gold accents · mobile-first
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #151517;
  --surface: #161619;
  --line: rgba(212, 165, 55, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d4a537;
  --gold-bright: #f0c65a;
  --gold-deep: #9c771f;
  --text: #f4f1e8;
  --muted: #a8a49a;
  --muted-2: #7d7a72;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: #0a0a0b; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }

.section { padding: 96px 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }

.section-title { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 16px; }
.section-title .gold { color: var(--gold-bright); }
.section-sub { color: var(--muted); max-width: 640px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #141005; box-shadow: 0 8px 30px rgba(212, 165, 55, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(212, 165, 55, 0.4); }

.btn-ghost {
  border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  color: #141005; font-weight: 800; font-size: 19px;
  box-shadow: 0 4px 18px rgba(212, 165, 55, 0.35);
}
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: none; gap: 34px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); position: relative; transition: color 0.2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: none; }

.menu-toggle {
  display: flex; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 10px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto;
  background: rgba(12, 12, 14, 0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 4% 26px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 13px 8px; font-family: var(--font-display); font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 150px 0 90px; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-1 { width: 480px; height: 480px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(212,165,55,0.32), transparent 65%); }
.orb-2 { width: 380px; height: 380px; bottom: -120px; left: -120px; background: radial-gradient(circle, rgba(120,80,180,0.20), transparent 65%); animation-delay: -6s; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 40px) scale(1.08); } }

.hero-inner { position: relative; z-index: 2; max-width: 1080px; display: grid; gap: 48px; align-items: center; }

.hero-photo-wrap { margin: 0 auto; width: 100%; max-width: 400px; }
.hero-photo { position: relative; width: 100%; }
.hero-photo::before {
  content: ""; position: absolute; inset: -24px; border-radius: 32px; z-index: -1;
  background: radial-gradient(circle at 50% 25%, rgba(212,165,55,0.25), transparent 65%);
  filter: blur(12px);
}
.hero-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 8px rgba(212,165,55,0.06);
}
.hero-photo figcaption {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10,10,11,0.72); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.hero-photo figcaption .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: rgba(212, 165, 55, 0.07);
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gold-bright);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(42px, 8vw, 76px); font-weight: 800; margin-bottom: 8px; }
.hero h1 .gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 55%, #b98d2b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .role { font-family: var(--font-display); font-size: clamp(18px, 3vw, 24px); font-weight: 500; color: var(--muted); margin-bottom: 22px; }
.hero .lede { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 620px; margin-bottom: 38px; }
.hero .lede strong { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.stat { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 16px 14px; background: rgba(255,255,255,0.02); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(19px, 3vw, 26px); color: var(--gold-bright); }
.stat span { font-size: 12.5px; color: var(--muted); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted-2); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.scroll-hint::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-inner { display: grid; gap: 48px; align-items: center; }
.about-photo { margin: 0 auto; width: 100%; max-width: 420px; position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: -24px; border-radius: 32px; z-index: -1;
  background: radial-gradient(circle at 50% 25%, rgba(212,165,55,0.18), transparent 65%);
  filter: blur(12px);
}
.about-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.about-text p { color: var(--muted); font-size: 16.5px; margin-bottom: 18px; max-width: 580px; }

/* ---------- Team ---------- */
.team { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.team-grid { display: grid; gap: 22px; margin-top: 54px; grid-template-columns: 1fr; }
.team-grid:has(> :only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.team-card {
  position: relative; border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.team-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  opacity: 0; transition: opacity 0.35s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.team-card:hover::before { opacity: 1; }
.team-photo { margin: 0; aspect-ratio: 4/5; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo--placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(420px 220px at 50% 28%, rgba(212, 165, 55, 0.16), transparent 70%),
    linear-gradient(160deg, #17140c, #101012);
  border-bottom: 1px solid var(--line-soft);
}
.team-monogram {
  width: 112px; height: 112px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: 0.02em; color: #141005;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  border: 1px solid rgba(240, 198, 90, 0.65);
  box-shadow: 0 12px 36px rgba(212, 165, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.team-body { padding: 30px 32px 34px; }
.team-body h3 { font-size: 22px; margin-bottom: 10px; }
.team-role {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-bright); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 15px; margin-bottom: 16px; background: rgba(212, 165, 55, 0.07);
}
.team-body p { color: var(--muted); font-size: 15px; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 22px; margin-top: 54px; grid-template-columns: 1fr; }
.service-card {
  position: relative; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  padding: 36px 32px; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.service-card:hover::before { opacity: 1; }
.service-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 44px; font-weight: 800; color: rgba(255,255,255,0.05); }
.service-icon {
  width: 58px; height: 58px; border-radius: 15px; margin-bottom: 24px;
  background: rgba(212, 165, 55, 0.1); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold-bright);
}
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.service-card ul { display: flex; flex-direction: column; gap: 10px; }
.service-card li { display: flex; gap: 11px; font-size: 14.5px; color: #cfccc2; align-items: flex-start; }
.service-card li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--gold); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.process-steps { position: relative; display: grid; gap: 22px; margin-top: 54px; grid-template-columns: 1fr; }
.process-steps::before {
  content: ""; position: absolute; top: 44px; bottom: 44px; left: 51px; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(212,165,55,0.38) 12%, rgba(212,165,55,0.38) 88%, transparent);
  pointer-events: none;
}
.step {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  padding: 30px 32px 30px 108px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(212,165,55,0.45); box-shadow: 0 18px 44px rgba(0,0,0,0.35); }
.step-ghost {
  position: absolute; top: 4px; right: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: 1;
  color: rgba(212,165,55,0.07); -webkit-text-stroke: 1px rgba(212,165,55,0.28);
  pointer-events: none; user-select: none;
}
.step-marker {
  position: absolute; left: 24px; top: 30px; z-index: 1;
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(212,165,55,0.1); border: 1px solid rgba(212,165,55,0.38);
  display: flex; align-items: center; justify-content: center; color: var(--gold-bright);
  box-shadow: 0 0 26px rgba(212,165,55,0.14);
}
.step-marker svg { width: 26px; height: 26px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 560px; }
.step .step-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.guarantee-strip { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; background: rgba(212,165,55,0.05); }
.guarantee-title { display: block; font-weight: 700; color: var(--gold-bright); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; }
.guarantee-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 28px; grid-template-columns: 1fr; }
.guarantee-strip li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.guarantee-strip li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-bright); margin-top: 2px; }
@media (min-width: 700px) { .guarantee-strip ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Why me ---------- */
.why-grid { display: grid; gap: 22px; margin-top: 54px; grid-template-columns: 1fr; }
.why-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 30px;
  background: rgba(255,255,255,0.015); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.why-card:hover { border-color: var(--line); transform: translateY(-4px); }
.why-card .why-icon {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 20px;
  background: rgba(212,165,55,0.09); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold-bright);
}
.why-card .why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14.5px; }
.honest-note {
  margin-top: 40px; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 24px 28px; color: var(--muted); font-size: 14.5px; background: rgba(212,165,55,0.04);
}
.honest-note strong { color: var(--gold-bright); }

/* ---------- Work / capabilities ---------- */
.work { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.work-grid { display: grid; gap: 22px; margin-top: 54px; grid-template-columns: 1fr; }
.work-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft);
  background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.work-visual { height: 190px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.work-visual svg { width: 64px; height: 64px; color: rgba(212,165,55,0.85); position: relative; z-index: 2; transition: transform 0.4s var(--ease); }
.work-card:hover .work-visual svg { transform: scale(1.12); }
.wv-1 { background: linear-gradient(140deg, #1c1a10, #0e2a30); }
.wv-2 { background: linear-gradient(140deg, #241a2e, #101c33); }
.wv-3 { background: linear-gradient(140deg, #2b1c12, #331418); }
.wv-4 { background: linear-gradient(140deg, #12261a, #10202e); }
.wv-5 { background: linear-gradient(140deg, #1f1a33, #2e1a24); }
.wv-6 { background: linear-gradient(140deg, #14231f, #1c1a10); }
.work-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.work-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(10,10,11,0.75); border: 1px solid var(--line); color: var(--gold-bright);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.work-body { padding: 26px 26px 28px; }
.work-body h3 { font-size: 18.5px; margin-bottom: 10px; }
.work-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.work-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.work-stack span { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-soft); padding: 5px 12px; border-radius: 999px; }
.work-disclaimer { margin-top: 34px; text-align: center; color: var(--muted-2); font-size: 13.5px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 50px; max-width: 780px; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); margin-bottom: 14px; background: rgba(255,255,255,0.015); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; font-family: var(--font-display); font-size: 16.5px; font-weight: 600; text-align: left; }
.faq-q .faq-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold-bright); transition: transform 0.35s var(--ease), background 0.3s; }
.faq-q .faq-icon svg { width: 15px; height: 15px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(212,165,55,0.12); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 24px 24px; color: var(--muted); font-size: 15px; }
.faq-a a { color: var(--gold-bright); font-weight: 600; }

/* ---------- Contact (premium) ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 780px; height: 460px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 165, 55, 0.10), transparent);
}
.contact-head { text-align: center; max-width: 800px; margin: 0 auto; position: relative; }
.contact-head .eyebrow { justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 9px 22px; background: rgba(212, 165, 55, 0.07); }
.contact-head .eyebrow::before { display: none; }
.contact-head .section-sub { margin: 0 auto; }
.contact-box {
  margin-top: 48px; border-radius: 26px; overflow: hidden; position: relative;
  border: 1px solid rgba(212, 165, 55, 0.24);
  background:
    radial-gradient(880px 300px at 12% -40px, rgba(212, 165, 55, 0.10), transparent 60%),
    linear-gradient(150deg, #191408, var(--bg-2) 58%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid; grid-template-columns: 1fr;
}
.contact-box::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--gold-bright) 25%, var(--gold-bright) 75%, transparent);
  opacity: 0.85;
}
.contact-main { padding: 52px 48px; }
.contact-main h3 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 14px; }
.contact-main h3 .gold { color: var(--gold-bright); }
.contact-main > p { color: var(--muted); margin-bottom: 30px; font-size: 16px; max-width: 540px; }
/* Matched premium CTA pair */
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.contact-actions .btn { width: 100%; min-height: 60px; padding: 16px 22px; font-size: 15.5px; }
.contact-rows { margin-top: 26px; border-top: 1px solid var(--line-soft); padding-top: 6px; }
.contact-row {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 15px 18px; margin-top: 12px; font-size: 15px;
  border: 1px solid var(--line-soft); border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.contact-row:hover { border-color: rgba(212, 165, 55, 0.38); background: rgba(212, 165, 55, 0.05); transform: translateX(4px); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(150deg, rgba(212, 165, 55, 0.16), rgba(212, 165, 55, 0.05));
  border: 1px solid rgba(212, 165, 55, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.contact-icon svg { display: block; }
/* Optically normalize: the filled WhatsApp glyph renders smaller than the stroked envelope */
.contact-icon.icon-fill svg { width: 22px; height: 22px; }
.contact-icon.icon-stroke svg { width: 25px; height: 25px; }
.contact-row > div { min-width: 0; }
.contact-row .contact-label { color: var(--muted-2); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; display: block; font-weight: 700; margin-bottom: 3px; }
.contact-row a { font-weight: 600; color: var(--text); transition: color 0.2s; overflow-wrap: break-word; word-break: normal; line-height: 1.5; }
.contact-row a:hover { color: var(--gold-bright); }
/* Whole row is clickable */
.contact-row a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.contact-side {
  padding: 52px 44px; background: rgba(212, 165, 55, 0.045); border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.contact-photo {
  margin: 0; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(212, 165, 55, 0.4);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5), 0 0 0 7px rgba(212, 165, 55, 0.05);
}
.contact-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.contact-photo figcaption { padding: 13px 18px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.02); font-style: italic; border-top: 1px solid var(--line-soft); }
.availability {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: 13.5px; font-weight: 600; color: #3ddc84;
  border: 1px solid rgba(61, 220, 132, 0.3); border-radius: 999px; padding: 9px 18px;
  background: rgba(61, 220, 132, 0.06);
}
.availability .dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 12px #3ddc84; animation: pulse 2s infinite; }
.contact-steps h4 { font-size: 17px; margin-bottom: 6px; }
.contact-steps ol { list-style: none; counter-reset: cstep; }
.contact-steps li {
  position: relative; padding: 12px 0 12px 46px; font-size: 14.5px; color: var(--muted);
  border-bottom: 1px dashed var(--line-soft); counter-increment: cstep;
}
.contact-steps li:last-child { border-bottom: 0; }
.contact-steps li::before {
  content: counter(cstep, decimal-leading-zero); position: absolute; left: 0; top: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--gold-bright);
  border: 1px solid rgba(212, 165, 55, 0.35); background: rgba(212, 165, 55, 0.08);
}

/* ---------- Footer ---------- */
footer { padding: 44px 0 120px; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-inner .brand { font-size: 16px; }
.footer-inner p { color: var(--muted-2); font-size: 13.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-bright); }

/* ---------- Floating / sticky CTA ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 96px; z-index: 90;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: ring 2.2s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.55); opacity: 0; } }

.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 95;
  background: rgba(12, 12, 14, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft); padding: 12px 4%;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.5);
  display: flex; gap: 12px;
}
.sticky-cta .btn { flex: 1; padding: 14px 10px; font-size: 14px; }
.sticky-cta { transition: transform 0.35s var(--ease); }
.sticky-cta.bar-hidden { transform: translateY(110%); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; } .reveal-d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step { transition: none; }
  .step:hover { transform: none; }
  .marquee-track, .orb, .scroll-hint::after, .wa-float::before, .hero-badge .dot, .availability .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* With an odd card count, center the last card across the final row */
  .services-grid .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 620px; width: 100%; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box { grid-template-columns: 1.4fr 1fr; }
  .contact-side { border-top: 0; border-left: 1px solid var(--line-soft); }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero-inner { grid-template-columns: 1.12fr 0.88fr; }
  .about-inner { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .menu-toggle { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  .wa-float { bottom: 28px; }
  footer { padding-bottom: 44px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1200px) {
  /* 5 cards: refined 3 + 2 editorial layout */
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .services-grid .service-card:nth-child(-n+3) { grid-column: span 2; }
  .services-grid .service-card:nth-child(n+4) { grid-column: span 3; max-width: none; margin: 0; }
  .service-card { padding: 32px 26px; }
}

/* ---------- Mobile / Android premium polish ---------- */
@media (max-width: 899px) {
  .section { padding: 72px 0; }
  section[id] { scroll-margin-bottom: 88px; }
  /* Sticky bar already covers WhatsApp action — hide the redundant float */
  .wa-float { display: none; }
  .hero { padding: 128px 0 72px; }
  .hero-inner { gap: 40px; }
  .hero-photo-wrap { max-width: 320px; }
  .hero-ctas { margin-bottom: 40px; }
  .hero-stats { gap: 10px; }
  .services-grid, .why-grid, .work-grid, .process-steps, .team-grid { margin-top: 40px; }
  .faq-list, .contact-box { margin-top: 36px; }
}
@media (max-width: 639px) {
  /* Hero CTAs: full-width stacked matched pair */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; min-height: 52px; }
  /* Contact CTAs: full-width stacked matched pair */
  .contact-main, .contact-side { padding: 32px 24px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions .btn { width: 100%; min-height: 60px; white-space: normal; height: auto; line-height: 1.4; padding: 14px 20px; text-align: center; }
  .contact-row a { font-size: 14.5px; }
  /* Hero stats: cramped 3-col on phones -> clean stacked rows */
  .hero-stats { grid-template-columns: 1fr; max-width: 100%; }
  .stat { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
  .stat b { font-size: 16px; white-space: nowrap; }
  .stat span { font-size: 12.5px; }
  /* Tighter cards & chips on phones */
  .service-card { padding: 30px 24px; }
  .stat { padding: 13px 8px; }
  .stat span { font-size: 11.5px; line-height: 1.45; }
  /* Process timeline: stacked, spine adapts */
  .process-steps { gap: 16px; }
  .process-steps::before { left: 37px; top: 34px; bottom: 34px; }
  .step { padding: 24px 20px 24px 82px; }
  .step-marker { left: 15px; top: 24px; width: 44px; height: 44px; border-radius: 13px; }
  .step-marker svg { width: 22px; height: 22px; }
  .step-ghost { font-size: 62px; top: 2px; right: 12px; }
  .faq-q { font-size: 15.5px; padding: 20px; }
  .faq-a p { padding: 0 20px 20px; }
}

/* ============================================================
   Animation upgrade — choreography, shimmer, stagger, spotlight
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left;
  animation: progressShimmer 3s linear infinite;
}
@keyframes progressShimmer { to { background-position: 200% 0; } }

/* ---------- Hero load choreography (JS-gated) ---------- */
.js .hero-text > *, .js .hero-photo { opacity: 0; }
.js .hero-text > * { transform: translateY(36px); }
.js .hero-photo { transform: translateY(44px) scale(0.96); }
.js body.loaded .hero-text > *, .js body.loaded .hero-photo {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js body.loaded .hero-text > *:nth-child(1) { transition-delay: 0.05s; }
.js body.loaded .hero-text > *:nth-child(2) { transition-delay: 0.16s; }
.js body.loaded .hero-text > *:nth-child(3) { transition-delay: 0.27s; }
.js body.loaded .hero-text > *:nth-child(4) { transition-delay: 0.38s; }
.js body.loaded .hero-text > *:nth-child(5) { transition-delay: 0.49s; }
.js body.loaded .hero-text > *:nth-child(6) { transition-delay: 0.60s; }
.js body.loaded .hero-photo { transition-delay: 0.35s; }
/* After the entrance, hand transform control to the tilt interaction */
.js body.loaded .hero-photo.tilt-live { transition: transform 0.18s ease-out; }

/* ---------- Word-by-word title reveals ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.wi { display: inline-block; transform: translateY(112%); will-change: transform; }
.section-title.visible .wi, body.loaded .hero h1 .wi {
  transform: translateY(0);
  transition: transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- Gold shimmer text ---------- */
.hero h1 .gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 45%, #b98d2b 60%, var(--gold-bright));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 6s linear infinite;
}
.section-title .gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 45%, #c9962e 60%, var(--gold-bright));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 7s linear infinite;
}
@keyframes goldShimmer { to { background-position: 220% center; } }

/* ---------- Button shine sweep ---------- */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: ""; position: absolute; top: -12%; bottom: -12%; left: 0; width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-230%) skewX(-22deg);
  animation: btnShine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%, 52% { transform: translateX(-230%) skewX(-22deg); }
  100% { transform: translateX(430%) skewX(-22deg); }
}

/* ---------- Reveal variants (combine with .reveal) ---------- */
.reveal.reveal-left { transform: translateX(-48px); }
.reveal.reveal-right { transform: translateX(48px); }
.reveal.reveal-scale { transform: scale(0.9); }
.reveal.reveal-clip { transform: none; opacity: 1; clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease); }
.reveal.reveal-clip.visible { clip-path: inset(0 0 0% 0); }
/* Visible state must override the directional offsets (same specificity, later in file) */
.reveal.reveal-left.visible,
.reveal.reveal-right.visible { transform: translate(0, 0); opacity: 1; }
.reveal.reveal-scale.visible { transform: scale(1); opacity: 1; }

/* ---------- Eyebrow line draw ---------- */
.eyebrow::before {
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.9s var(--ease) 0.15s;
}
.eyebrow.visible::before { transform: scaleX(1); }

/* ---------- Process timeline draw + marker pop ---------- */
.process-steps::before {
  transform: scaleY(0); transform-origin: top center;
  transition: transform 1.5s var(--ease) 0.25s;
}
.process-steps.draw::before { transform: scaleY(1); }
.step.visible .step-marker { animation: markerPop 0.55s var(--ease); }
@keyframes markerPop {
  0% { transform: scale(0.35); }
  60% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* ---------- Cursor spotlight on cards ---------- */
.spotlight { position: relative; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 165, 55, 0.13), transparent 65%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }

/* ---------- Image hover zoom ---------- */
.hero-photo img, .about-photo img, .contact-photo img { transition: transform 0.8s var(--ease); }
.hero-photo:hover img, .about-photo:hover img, .contact-photo:hover img { transform: scale(1.045); }

/* ---------- Marquee hover pause ---------- */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Header hide on scroll down ---------- */
.site-header { transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s, transform 0.38s var(--ease); }
.site-header.nav-hidden { transform: translateY(-100%); }

/* ---------- Reduced motion: kill the new animation layer ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero-text > *, .js .hero-photo { opacity: 1; transform: none; }
  .js body.loaded .hero-text > *, .js body.loaded .hero-photo { transition: none; }
  .wi { transform: none; transition: none; }
  .scroll-progress, .btn-gold::after, .hero h1 .gold, .section-title .gold { animation: none; }
  .reveal.reveal-left, .reveal.reveal-right, .reveal.reveal-scale { opacity: 1; transform: none; transition: none; }
  .reveal.reveal-clip { clip-path: none; transition: none; }
  .eyebrow::before { transform: none; transition: none; }
  .process-steps::before { transform: none; transition: none; }
  .step.visible .step-marker { animation: none; }
  .spotlight::after { display: none; }
  .site-header.nav-hidden { transform: none; }
  .hero-photo img, .about-photo img, .contact-photo img { transition: none; }
  .js body.loaded .hero-photo-wrap, .hero-photo::before, .hero-photo::after { animation: none; }
  .hero-photo::after, .team-photo::after { display: none; }
  .to-top { transition: none; }
  .stat { transition: none; }
  .site-header.scrolled .nav { height: 72px; }
}

/* ============================================================
   Stunning layer — float, shine, magnetic, tilt, to-top, glows
   ============================================================ */

/* Hero photo: gentle float on wrapper (tilt still owns the figure) */
.js body.loaded .hero-photo-wrap { animation: floaty 7s ease-in-out 1.8s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero photo: breathing gold glow + periodic shine sweep */
.hero-photo::before { animation: glowPulse 5.5s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.13) 47%, transparent 62%);
  transform: translateX(-130%);
  animation: photoShine 6s ease-in-out 2.4s infinite;
  mix-blend-mode: screen;
}
@keyframes photoShine { 0%, 58% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* Section header stagger: eyebrow -> title -> sub */
h2.section-title.reveal { transition-delay: 0.1s; }
p.section-sub.reveal { transition-delay: 0.22s; }

/* Header intensifies on scroll */
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}
@media (min-width: 900px) {
  .nav { transition: height 0.3s var(--ease); }
  .site-header.scrolled .nav { height: 62px; }
}

/* Team cards: gold glow + photo zoom + shine sweep on hover */
.team-card:hover {
  border-color: rgba(212, 165, 55, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 46px rgba(212, 165, 55, 0.12);
}
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform 1.1s var(--ease);
}
.team-card:hover .team-photo::after { transform: translateX(130%); }

/* Hero stats: subtle premium hover (no transform — entrance owns it) */
.stat { transition: border-color 0.3s, box-shadow 0.3s; }
.stat:hover { border-color: var(--line); box-shadow: 0 0 26px rgba(212, 165, 55, 0.1); }

/* Back-to-top floating button */
.to-top {
  position: fixed; right: 20px; bottom: 100px; z-index: 89;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(20, 20, 22, 0.9); border: 1px solid var(--line); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease), border-color 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--gold); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  /* Hidden on mobile: the sticky bar + footer already cover navigation,
     and the floating button overlaps content while scrolling. */
  .to-top { display: none; }
}
/* Reduced motion + desktop: keep the header height static */
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .site-header.scrolled .nav { height: 72px; }
}
