/* ============================================================
   myVenueLive — Software House
   Design tokens + global styles
   ============================================================ */

:root {
  /* Brand dot palette (sampled from logo mark) */
  --mint: #cde6df;
  --cream: #ecf5e2;
  --teal: #8ac2b2;
  --sage: #d2e7bb;
  --emerald: #56a68f;
  --brightsage: #c0de9c;

  /* Accent (tweakable) */
  --accent: #3f8f78;          /* slightly deepened emerald for AA contrast */
  --accent-soft: #56a68f;
  --accent-tint: #e7f3ee;

  /* Neutrals */
  --ink: #232a27;             /* headings */
  --body: #4b544f;            /* body text */
  --muted: #7d8884;           /* secondary */
  --line: rgba(43, 60, 52, 0.10);

  /* Surfaces */
  --bg: #f6faf7;
  --bg-2: #eef6f0;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.75);

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(35, 42, 39, 0.04), 0 4px 14px rgba(35, 42, 39, 0.05);
  --shadow-md: 0 8px 30px rgba(35, 42, 39, 0.08), 0 2px 8px rgba(35, 42, 39, 0.04);
  --shadow-lg: 0 24px 60px rgba(35, 42, 39, 0.12);
  --glow: 0 18px 50px rgba(86, 166, 143, 0.28);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient page background: soft mint→sage gradient field */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(192, 222, 156, 0.30), transparent 70%),
    radial-gradient(55% 45% at 12% 30%, rgba(138, 194, 178, 0.26), transparent 72%),
    radial-gradient(70% 60% at 90% 90%, rgba(205, 230, 223, 0.40), transparent 70%),
    linear-gradient(180deg, #f7fbf8 0%, #eef6f0 60%, #f2f8f3 100%);
}

/* Decorative drifting dots layer (whole-page) */
.bg-dots {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-dots .drift {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.5;
  will-change: transform;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  font-weight: 600;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ===================== Buttons ===================== */
.btn {
  --pad-y: 14px;
  --pad-x: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}
.btn-ghost {
  background: var(--glass);
  color: var(--ink);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===================== Header ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s, padding 0.35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(247, 251, 248, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(35,42,39,0.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand img { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--body);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 90px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  margin: 22px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--accent) 0%, #6fb89f 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--body);
  margin-top: 22px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-meta .item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .k { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.hero-meta .v { font-size: 0.85rem; color: var(--muted); }
.hero-meta .divider { width: 1px; background: var(--line); }

/* Hero visual stage */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.hero-stage {
  position: absolute;
  inset: 0;
  display: none;
}
.hero-stage.active { display: block; }

/* Glass orb behind visuals */
.hero-orb {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(231,243,238,0.35) 55%, rgba(138,194,178,0.18));
  box-shadow: inset 0 2px 30px rgba(255,255,255,0.8), var(--shadow-lg);
  backdrop-filter: blur(6px);
}

/* Variant dots (shared element class) */
.vdot { position: absolute; border-radius: 50%; will-change: transform; }

/* Variant: GLASS layered cards */
.glass-card {
  position: absolute;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  will-change: transform;
}

/* ===================== Section scaffolding ===================== */
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-top: 16px;
}
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--body); }

/* ===================== Expertise ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px 34px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s, border-color 0.4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(192,222,156,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow);
  border-color: rgba(86,166,143,0.4);
}
.card:hover::before { opacity: 1; }
.card-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.card-icon {
  width: 64px; height: 64px;
  margin: 6px 0 22px;
  display: grid;
  place-items: center;
}
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { font-size: 0.98rem; color: var(--body); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.tag {
  font-size: 0.74rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent);
}

/* ===================== About ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.about-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 16px; }
.about-copy p { margin-top: 20px; font-size: 1.08rem; }
.about-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--body); }
.about-list .dot {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--brightsage), var(--accent));
  margin-top: 3px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  padding: 30px 26px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat .num .suffix { color: var(--accent); }
.stat .lbl { margin-top: 10px; font-size: 0.95rem; color: var(--muted); font-weight: 600; }

/* ===================== Contact ===================== */
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-card::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(192,222,156,0.35), transparent 70%);
  pointer-events: none;
}
.contact-card h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.contact-card .lead { margin-top: 16px; font-size: 1.08rem; max-width: 420px; }
.contact-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.contact-info { display: grid; gap: 22px; position: relative; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
}
.info-row .label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.info-row .val { font-size: 1.05rem; color: var(--ink); font-weight: 600; margin-top: 3px; line-height: 1.4; }
.info-row a.val:hover { color: var(--accent); }

/* ===================== Footer ===================== */
.footer {
  position: relative;
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 30px; flex-wrap: wrap;
}
.footer img { height: 28px; }
.footer-contact { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-contact .blk .label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.footer-contact .blk .v { margin-top: 6px; color: var(--body); font-weight: 500; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--muted);
}

/* ===================== Scroll reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .vdot, .drift, .glass-card { animation: none !important; }
}

/* ===================== Responsive ===================== */
@media (max-width: 940px) {
  .hero { padding-top: 112px; min-height: 0; padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 340px; order: 2; margin-top: 4px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
/* Mobile menu hidden on desktop; shown only in mobile breakpoint */
.mobile-menu { display: none; }

@media (max-width: 720px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 100px; }
  .hero-visual { max-width: 270px; }
  .mobile-menu {
    display: block;
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(247,251,248,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-101%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), visibility 0s linear 0.4s;
    z-index: 49;
    padding: calc(76px + 14px) var(--gutter) 26px;
  }
  .mobile-menu.open { transform: none; visibility: visible; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .mobile-menu a { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
}
