/* === PulseSanctum — Dark Luxury + Warmth === */
:root {
  --bg-deep: #0a0a0c;
  --bg-card: #131317;
  --bg-elevated: #1a1a20;
  --fg: #e8e4df;
  --fg-muted: #9a9590;
  --accent: #c9a96e;
  --accent-glow: rgba(201, 169, 110, 0.15);
  --accent-bright: #dfc089;
  --rose: #b8707a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 169, 110, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(184, 112, 122, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0d0d10 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-mark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.8rem;
}

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

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-location {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.6;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* === PHILOSOPHY === */
.philosophy {
  padding: 8rem 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.philosophy h2,
.services h2,
.technology h2,
.closing h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 3rem;
}

.philosophy h2 em,
.services h2 em,
.technology h2 em,
.closing h2 em {
  font-style: italic;
  color: var(--accent);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.philosophy-text p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.accent-block {
  padding: 2rem;
  background: var(--bg-card);
  border-left: 2px solid var(--accent);
  margin-bottom: 1.5rem;
}

.accent-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.accent-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === SERVICES === */
.services {
  padding: 8rem 2rem;
  background: var(--bg-card);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  background: var(--bg-deep);
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
}

.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(165deg, var(--bg-deep) 0%, rgba(201, 169, 110, 0.05) 100%);
}

.service-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === TECHNOLOGY === */
.technology {
  padding: 8rem 2rem;
}

.technology-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tech-left p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tech-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-stat {
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.tech-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--rose));
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(201, 169, 110, 0.06) 0%, transparent 70%),
    var(--bg-card);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* === FOOTER === */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.8rem;
}

.footer-sep {
  margin: 0 0.6rem;
  opacity: 0.4;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    min-height: 90vh;
  }

  .philosophy,
  .services,
  .technology,
  .closing {
    padding: 5rem 1.5rem;
  }
}