:root {
  --ivory: #F5F0EB;
  --charcoal: #1A1A1A;
  --warm-black: #0D0D0D;
  --gold: #C9A96E;
  --gold-light: #D4BA8A;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --slate: #6B6B6B;
  --light-border: rgba(201, 169, 110, 0.2);
  --text-secondary: #9A9A9A;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-black);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(13, 13, 13, 0.7);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
  transition: all 0.4s ease;
}

.logo-link { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--warm-black);
}

/* ── Buttons ── */
.btn-primary {
  padding: 16px 40px;
  background: var(--gold);
  color: var(--warm-black);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.2);
}

.btn-secondary {
  padding: 16px 40px;
  background: transparent;
  color: var(--ivory);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 235, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Section Headers ── */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
}

/* ── Footer ── */
footer {
  padding: 48px 60px;
  border-top: 1px solid rgba(245, 240, 235, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 0.78rem;
  color: var(--slate);
  letter-spacing: 0.05em;
}

.footer-right {
  display: flex;
  gap: 32px;
}

.footer-right a {
  font-size: 0.78rem;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-right a:hover { color: var(--gold); }

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Service Page Styles ── */
.service-hero {
  padding: 180px 60px 100px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.service-hero-bg {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.service-hero .section-eyebrow {
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.service-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.service-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.service-hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 620px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

/* ── Problem / Solution Section ── */
.problem-section {
  padding: 100px 60px;
  border-top: 1px solid rgba(245, 240, 235, 0.05);
  background: rgba(245, 240, 235, 0.015);
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.problem-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--ivory);
}

.problem-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.problem-col .highlight-text {
  color: var(--gold);
  font-weight: 500;
}

/* ── Capabilities Grid ── */
.capabilities {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.cap-card {
  padding: 44px 36px;
  background: rgba(245, 240, 235, 0.02);
  border: 1px solid rgba(245, 240, 235, 0.05);
  transition: all 0.5s ease;
  position: relative;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s ease;
}

.cap-card:hover {
  background: rgba(201, 169, 110, 0.04);
  border-color: rgba(201, 169, 110, 0.12);
}

.cap-card:hover::before { width: 100%; }

.cap-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: block;
  color: var(--gold);
  opacity: 0.7;
}

.cap-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--ivory);
}

.cap-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Use Cases ── */
.use-cases {
  padding: 120px 60px;
  background: rgba(245, 240, 235, 0.015);
  border-top: 1px solid rgba(245, 240, 235, 0.05);
  border-bottom: 1px solid rgba(245, 240, 235, 0.05);
}

.use-cases-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.use-case-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.use-case-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(245, 240, 235, 0.06);
  align-items: start;
}

.use-case-item:first-child {
  border-top: 1px solid rgba(245, 240, 235, 0.06);
}

.use-case-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: 4px;
}

.use-case-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--ivory);
}

.use-case-content p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ── Deliverables ── */
.deliverables {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.del-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
}

.del-item {
  padding: 40px 32px;
  border-right: 1px solid rgba(245, 240, 235, 0.06);
  position: relative;
}

.del-item:last-child { border-right: none; }

.del-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: rgba(201, 169, 110, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.del-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--ivory);
}

.del-item p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Service CTA ── */
.service-cta {
  padding: 120px 60px;
  text-align: center;
  border-top: 1px solid rgba(245, 240, 235, 0.05);
  position: relative;
}

.service-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
}

.service-cta-content {
  position: relative;
  z-index: 2;
}

.service-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 20px;
}

.service-cta h2 em {
  font-style: italic;
  color: var(--gold);
}

.service-cta p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Back Link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.back-link:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 960px) {
  nav { padding: 20px 28px; }
  .nav-links { display: none; }
  .service-hero { padding: 130px 28px 60px; }
  .problem-section { padding: 60px 28px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .capabilities { padding: 60px 28px; }
  .cap-grid { grid-template-columns: 1fr; }
  .use-cases { padding: 60px 28px; }
  .use-case-item { grid-template-columns: 1fr; gap: 12px; }
  .deliverables { padding: 60px 28px; }
  .del-grid { grid-template-columns: 1fr 1fr; }
  .del-item { border-right: none; border-bottom: 1px solid rgba(245, 240, 235, 0.06); }
  .service-cta { padding: 60px 28px; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 28px; }
}

@media (max-width: 600px) {
  .del-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
}
