:root {
  --bg: #0f0a07;
  --bg-soft: #1a1410;
  --surface: rgba(255,255,255,.05);
  --surface-strong: rgba(255,255,255,.09);
  --text: #f5f0e8;
  --muted: #c9b8a3;
  --accent: #c9946d;
  --accent-2: #e8d5bf;
  --line: rgba(201, 148, 109, 0.16);
  --shadow: 0 20px 60px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(201, 148, 109, 0.15), transparent 40%),
    linear-gradient(135deg, #0f0a07 0%, #16100a 50%, #1a140f 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

::selection {
  background: rgba(201, 148, 109, 0.35);
  color: white;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 148, 109, 0.8) rgba(15, 10, 7, 0.9);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 10, 7, 0.9);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), #8d6844);
  border-radius: 999px;
  border: 2px solid rgba(15, 10, 7, 0.9);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e8d5bf, var(--accent));
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 10, 7, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8d6844);
  color: #f5f0e8;
  font-size: 0.86rem;
  box-shadow: 0 4px 12px rgba(201, 148, 109, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--accent), #8d6844);
  color: #f5f0e8;
  box-shadow: 0 10px 24px rgba(201, 148, 109, 0.24);
}

.nav-cta:hover, .btn:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 88px 0 72px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}

.hero h1, .section-head h2, .about-copy h2, .contact h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.04;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--accent);
}

.lead {
  max-width: 58ch;
  font-size: 1.06rem;
  color: var(--muted);
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  padding: 13px 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8d5f32);
  color: #22150d;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.hero-panel {
  display: flex;
  justify-content: end;
}

.panel-card {
  width: min(100%, 430px);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top, .panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(184, 139, 90, 0.18);
  color: var(--accent-2);
  font-size: 0.78rem;
}

.panel-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.visual-block {
  aspect-ratio: 1;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}

.visual-block.active {
  background: linear-gradient(135deg, rgba(184, 139, 90, 0.55), rgba(184, 139, 90, 0.18));
  transform: translateY(-2px);
}

.panel-bottom strong {
  font-size: 1.2rem;
  color: var(--text);
}

.panel-bottom p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

section {
  padding: 78px 0;
}

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-head h2, .about-copy h2, .contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0 0 12px;
}

.section-head p, .about-copy p, .contact p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card, .process-step, .about-card, .contact-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 26px;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(184, 139, 90, 0.16);
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card h3, .process-step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.service-card p, .process-step p, .about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.compare-card, .profile-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.compare-block {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.compare-block.highlight {
  background: linear-gradient(135deg, rgba(184, 139, 90, 0.14), rgba(255,255,255,0.03));
  border-color: rgba(184, 139, 90, 0.2);
}

.compare-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--accent-2);
}

.compare-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.compare-card li + li {
  margin-top: 8px;
}

.impact-text {
  margin: 10px 0 0;
  color: var(--muted);
}

.profile-card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(184, 139, 90, 0.16), rgba(255,255,255,0.04));
  color: var(--accent-2);
  border: 1px solid rgba(184, 139, 90, 0.2);
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.linkedin-link:hover {
  color: var(--accent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 24px;
}

.process-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.about-card {
  padding: 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.contact-shell {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, rgba(184, 139, 90, 0.16), rgba(255,255,255,0.05));
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-ghost-light {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #22150d;
  background: linear-gradient(135deg, var(--accent), #8d5f32);
  box-shadow: 0 16px 30px rgba(184, 139, 90, 0.28);
  font-weight: 700;
}

.wa-float svg {
  width: 18px;
  height: 18px;
}

.cursor-orb {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 148, 109, 0.2), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(18px);
  opacity: 0.8;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8d6844);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 40;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid, .about-grid, .impact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .service-grid, .process-grid {
    grid-template-columns: 1fr;
  }

  .compare-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .contact-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 56px;
  }

  .wa-float span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
