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

:root {
  --black: #080808;
  --deep: #0e0e0e;
  --card: #141414;
  --border: rgba(255,255,255,0.07);
  --white: #f4f0eb;
  --muted: rgba(244,240,235,0.45);
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Barlow', sans-serif;
  --font-label: 'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.6); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  opacity: 0;
}
body:hover .cursor,
body:hover .cursor-ring { opacity: 1; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.5s, padding 0.4s;
}
nav.scrolled {
  background: rgba(8,8,8,0.93);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 400; letter-spacing: 0.12em;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--font-label); font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: var(--font-label); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 10px 24px; text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* HERO */
.service-hero {
  position: relative; height: 90vh; min-height: 600px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.service-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,8,8,0.25) 0%, rgba(8,8,8,0.1) 30%, rgba(8,8,8,0.7) 70%, rgba(8,8,8,1) 100%),
    var(--hero-img) center/cover no-repeat;
  animation: heroZoom 10s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}
.service-hero-content {
  position: relative; z-index: 2;
  padding: 0 60px 80px;
  opacity: 0; animation: fadeUp 1s ease 0.3s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.back-link {
  font-family: var(--font-label); font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 24px; transition: gap 0.3s;
}
.back-link:hover { gap: 14px; }
.hero-eyebrow {
  font-family: var(--font-label); font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300; line-height: 0.95;
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-size: 1rem; font-weight: 300; color: var(--muted);
  max-width: 520px; line-height: 1.75;
}

/* SHARED SECTION STYLES */
.section-eyebrow {
  font-family: var(--font-label); font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 30px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.05; margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-body {
  font-size: 0.97rem; font-weight: 300;
  color: var(--muted); line-height: 1.8;
}

/* INTRO */
.service-intro { padding: 100px 60px; background: var(--black); }
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.intro-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 8px;
}
.stat-block {
  background: var(--card); border: 1px solid var(--border);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.3s;
}
.stat-block:hover { border-color: rgba(201,168,76,0.3); }
.stat-num {
  font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 300; color: var(--gold-light); line-height: 1;
}
.stat-label {
  font-family: var(--font-label); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* DELIVERABLES */
.deliverables-section {
  padding: 100px 60px; background: var(--deep);
  border-top: 1px solid var(--border);
}
.section-header { margin-bottom: 60px; }
.deliverables-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.deliverable-card {
  background: var(--card); border: 1px solid var(--border);
  padding: 36px 30px; position: relative; overflow: hidden;
  transition: border-color 0.4s, transform 0.3s;
}
.deliverable-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s;
}
.deliverable-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-3px); }
.deliverable-card:hover::after { transform: scaleX(1); }
.d-icon { font-size: 1.8rem; display: block; margin-bottom: 18px; }
.deliverable-card h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 400; margin-bottom: 12px;
}
.deliverable-card p {
  font-size: 0.87rem; color: var(--muted); line-height: 1.7;
}

/* USE CASES */
.use-cases-section {
  padding: 100px 60px; background: var(--black);
  border-top: 1px solid var(--border);
}
.use-cases-inner { max-width: 860px; }
.tags-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px;
}
.tag {
  font-family: var(--font-label); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.3);
  padding: 9px 18px; transition: background 0.3s, color 0.3s;
  cursor: default;
}
.tag:hover { background: var(--gold-dim); }

/* CTA */
.cta-section {
  padding: 120px 60px; background: var(--deep);
  border-top: 1px solid var(--border); text-align: center;
}
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-inner .section-eyebrow { justify-content: center; }
.cta-inner .section-eyebrow::before { display: none; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.05; margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-inner p {
  font-size: 0.97rem; color: var(--muted); line-height: 1.8; margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  font-family: var(--font-label); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 14px 32px; text-decoration: none; display: inline-block;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  font-family: var(--font-label); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(244,240,235,0.3);
  padding: 14px 32px; text-decoration: none; display: inline-block;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* FOOTER */
.service-footer {
  background: #050505; border-top: 1px solid var(--border);
  padding: 40px 60px;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-inner p {
  font-family: var(--font-label); font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--muted);
}
.footer-links {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-label); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav, nav.scrolled { padding: 20px 32px; }
  .service-hero-content { padding: 0 32px 60px; }
  .service-intro, .deliverables-section,
  .use-cases-section, .cta-section { padding: 80px 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .service-footer { padding: 32px; }
}
/* HAMBURGER BUTTON */
.nav-toggle, #navToggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.nav-toggle span, #navToggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #f4f0eb;
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Hide cursor elements on touch devices */
@media (hover: none), (max-width: 768px) {
  .cursor, .cursor-ring { display: none !important; opacity: 0 !important; }
  body { cursor: auto !important; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px !important; }
  nav.scrolled { padding: 12px 20px !important; }
  .nav-links, .nav-cta { display: none !important; }
  .nav-toggle, #navToggle { display: flex !important; }
  .cursor, .cursor-ring { display: none !important; visibility: hidden !important; opacity: 0 !important; }
  body { cursor: auto !important; }
  .service-hero-content { padding: 0 24px 50px; }
  .service-intro, .deliverables-section,
  .use-cases-section, .cta-section { padding: 60px 24px; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 16px; }
}
