/* ============================================================
   Shared design system — modern, responsive, light/dark aware.
   Each site overrides the CSS variables in :root to re-theme.
   ============================================================ */

:root {
  /* Brand — override per site */
  --accent:        #6366f1;
  --accent-2:      #8b5cf6;
  --accent-soft:   rgba(99, 102, 241, 0.12);

  /* Surfaces & text (light) */
  --bg:            #ffffff;
  --bg-alt:        #f7f7fb;
  --surface:       #ffffff;
  --border:        #e7e7ee;
  --text:          #16161d;
  --text-muted:    #5b5b6b;
  --shadow:        0 10px 40px -12px rgba(20, 20, 40, 0.18);

  --radius:        18px;
  --radius-sm:     12px;
  --maxw:          1120px;
  --font:          "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0b0b12;
    --bg-alt:      #11111c;
    --surface:     #15151f;
    --border:      #262633;
    --text:        #f2f2f7;
    --text-muted:  #a0a0b2;
    --shadow:      0 10px 40px -12px rgba(0, 0, 0, 0.6);
    --accent-soft: rgba(99, 102, 241, 0.18);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; }

p { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 60ch; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px -8px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--accent); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-2px); }

/* ---- Hero ---- */
.hero { position: relative; padding: 120px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 0 auto 0; height: 620px; z-index: -1;
  background: radial-gradient(60% 60% at 70% 20%, var(--accent-soft), transparent 70%);
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Cards / grid ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.card h3 { margin-bottom: 8px; }

.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.bg-alt { background: var(--bg-alt); }

/* ---- Contact form ---- */
.contact-wrap { max-width: 620px; margin: 0 auto; }
.form { display: grid; gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
/* Honeypot — hidden from real users, catches bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-note { font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: #10b981; }
.form-note.err { color: #ef4444; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { font-size: 0.9rem; }
.social { display: flex; gap: 18px; }
.social a { color: var(--text-muted); transition: color .2s; }
.social a:hover { color: var(--accent); }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 16px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  section { padding: 72px 0; }
}
/* Levolife — amber gold brand (#FFBF00).
   --accent = fills (buttons, icons); --accent-ink = readable text on light surfaces. */
:root {
  --accent:      #FFBF00;
  --accent-2:    #ffce4d;
  --accent-ink:  #b07d00;                 /* deep amber for small text on white */
  --accent-soft: rgba(255, 191, 0, 0.16);
  --radius:      6px;
  --radius-sm:   4px;
}
@media (prefers-color-scheme: dark) {
  :root { --accent-ink: #FFBF00; --accent-soft: rgba(255, 191, 0, 0.24); }
}

/* Light professional refinement */
.eyebrow { letter-spacing: 0.24em; font-size: 0.72rem; color: var(--accent-ink); }
.btn { border-radius: 4px; letter-spacing: 0.03em; }
.btn-primary { background: var(--accent); color: #1a1500; box-shadow: none; }   /* dark text on amber */
.btn-primary:hover { background: var(--accent-2); box-shadow: none; }
.nav-links a.btn-primary { color: #1a1500; }
.card { box-shadow: none; }
.card:hover { box-shadow: 0 18px 40px -24px rgba(40, 30, 0, 0.35); }
.card .icon { color: var(--accent-ink); }
.brand span { color: var(--accent-ink); }
.footer a:hover { color: var(--accent-ink); }
/* Syncopate — wide geometric all-caps brand mark */
.brand { font-family: "Syncopate", system-ui, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.02em; }

/* Project gallery */
.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 6px; }
.proj-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border);
}
@media (max-width: 760px) { .proj-gallery { grid-template-columns: 1fr; } }
/* ---- Hero motion + animated iconography (respects reduced-motion) ---- */
.hero .container { position: relative; z-index: 1; }
.hero-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-aurora::before, .hero-aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.38; will-change: transform;
}
.hero-aurora::before {
  width: 44vw; height: 44vw; max-width: 540px; max-height: 540px; right: 4%; top: -14%;
  background: radial-gradient(circle at center, var(--accent), transparent 68%);
  animation: auroraA 19s ease-in-out infinite alternate;
}
.hero-aurora::after {
  width: 38vw; height: 38vw; max-width: 470px; max-height: 470px; right: 26%; top: 24%;
  background: radial-gradient(circle at center, var(--accent-2), transparent 68%);
  animation: auroraB 24s ease-in-out infinite alternate;
}
@keyframes auroraA { from { transform: translate(0,0) scale(1); } to { transform: translate(-46px,38px) scale(1.16); } }
@keyframes auroraB { from { transform: translate(0,0) scale(1); } to { transform: translate(50px,-30px) scale(1.1); } }

.card .icon { animation: iconFloat 6s ease-in-out infinite; will-change: transform; }
.card:nth-child(2) .icon { animation-delay: 1s; }
.card:nth-child(3) .icon { animation-delay: 2s; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora::before, .hero-aurora::after, .card .icon { animation: none; }
}

/* Video-background hero (abstract amber flow) */
.hero.has-video { min-height: 84vh; display: grid; align-items: center; color: #fff; overflow: hidden; }
.hero.has-video .hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero.has-video::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,7,3,0.86) 0%, rgba(8,7,3,0.52) 52%, rgba(8,7,3,0.34) 100%),
    linear-gradient(180deg, rgba(8,7,3,0.15) 0%, rgba(8,7,3,0.58) 100%);
}
.hero.has-video .container { position: relative; z-index: 1; }
.hero.has-video .eyebrow { color: #ffd24d; }
.hero.has-video h1, .hero.has-video .lead { color: #fff; }
.hero.has-video .lead { color: rgba(255,255,255,0.92); }
.hero.has-video .btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.4); }

/* LEVOLIFE wordmark — Syncopate, all-caps, amber gold, wherever it appears */
.brand, .brand span { color: var(--accent-ink); }
.lv {
  font-family: "Syncopate", system-ui, sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--accent-ink);
}
p .lv, h2 .lv, .footer .lv { font-size: 0.82em; }
.hero h1 .lv { display: inline-block; font-size: clamp(1.7rem, 6vw, 3.2rem); letter-spacing: 0.01em; }
.hero .lv { color: #FFBF00; }
/* anti-scrape: hide interleaved decoy characters */
.dz { display: none !important; }
.contact-info { margin-top: 4px; color: var(--text-muted); font-size: 0.95rem; }
.contact-info span[data-ad], .contact-info span[data-ph] { color: var(--text); }

/* === Amber gold reserved for the LEVOLIFE wordmark; all else neutral === */
:root {
  --accent:      #2b2b30;              /* graphite (neutral general accent) */
  --accent-2:    #45454d;
  --accent-ink:  #2b2b30;              /* neutral text accent on light */
  --accent-soft: rgba(43, 43, 48, 0.10);
  --btn-fg:      #ffffff;
  --gold:        #FFBF00;              /* LEVOLIFE wordmark */
  --gold-ink:    #b07d00;              /* legible gold on light surfaces */
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #e7e7ee; --accent-2: #c6c6cf; --accent-ink: #e7e7ee;
    --accent-soft: rgba(231, 231, 238, 0.14); --btn-fg: #16160f; --gold-ink: #FFBF00;
  }
}
.eyebrow { color: var(--accent-ink); }
.card .icon { color: var(--accent-ink); background: var(--accent-soft); }
.btn-primary, .nav-links a.btn-primary { background: var(--accent); color: var(--btn-fg); }
.btn-primary:hover { background: var(--accent-2); color: var(--btn-fg); }
/* the LEVOLIFE wordmark stays amber gold */
.brand, .brand span, .lv { color: var(--gold-ink); }
.hero .lv { color: var(--gold); }
/* hero over the dark video: neutral eyebrow, white primary button */
.hero.has-video .eyebrow { color: rgba(255,255,255,0.74); }
.hero.has-video .btn-primary { background: #fff; color: #16160f; }
.hero.has-video .btn-primary:hover { background: rgba(255,255,255,0.9); color: #16160f; }
