:root {
  --bg: #FAFAF9;
  --bg-alt: #F1F0EA;
  --ink: #12110F;
  --ink-soft: #58554C;
  --accent: #FF4D2E;
  --accent-ink: #FFFFFF;
  --line: #E4E2DA;
  --radius: 14px;
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0A;
    --bg-alt: #161513;
    --ink: #F5F3EE;
    --ink-soft: #B4B0A6;
    --accent: #FF6A44;
    --line: #2A2825;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

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

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-link { display: flex; align-items: center; }
.logo-link svg { height: 30px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s ease;
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 24px 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.wave-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 260px;
}
.wave-visual span {
  width: 16px;
  border-radius: 999px;
  background: var(--accent);
  animation: bounce 1.6s ease-in-out infinite;
  opacity: 0.9;
}
.wave-visual span:nth-child(1) { height: 40%; animation-delay: -1.2s; }
.wave-visual span:nth-child(2) { height: 75%; animation-delay: -1.0s; background: var(--ink); }
.wave-visual span:nth-child(3) { height: 100%; animation-delay: -0.8s; }
.wave-visual span:nth-child(4) { height: 60%; animation-delay: -0.6s; background: var(--ink); }
.wave-visual span:nth-child(5) { height: 85%; animation-delay: -0.4s; }
.wave-visual span:nth-child(6) { height: 45%; animation-delay: -0.2s; background: var(--ink); }
.wave-visual span:nth-child(7) { height: 65%; animation-delay: 0s; }

@keyframes bounce {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wave-visual span { animation: none; }
}

/* Section shell */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.2s ease;
}
.service-card:hover { background: var(--bg-alt); }
.service-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Audience */
.audience { background: var(--bg-alt); }
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.audience-tags span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 5vw, 56px); max-width: 20ch; margin: 0 auto; }
.cta p { color: var(--ink-soft); font-size: 18px; margin: 20px auto 36px; max-width: 50ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { padding: 48px 0; }
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-tagline { color: var(--ink-soft); font-size: 14px; }
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.footer-social a:hover { color: var(--accent); }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .wave-visual { height: 160px; order: -1; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 20px;
  }
}
