/* Page 1 - Brutalist Editorial Hero */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Space+Mono:wght@400;700&display=swap');

:root {
  --clr-bg: #0a0a0a;
  --clr-surface: #111111;
  --clr-text: #f0ece4;
  --clr-muted: #7a756d;
  --clr-accent: #e8ff47;
  --clr-accent-dim: rgba(232, 255, 71, 0.15);
  --font-display: 'Playfair Display', serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-mono);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-mark {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.top-bar-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.top-bar-links a {
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.top-bar-links a:hover {
  color: var(--clr-text);
}

/* Hero section */
.hero {
  position: relative;
  z-index: 2;
  padding: 120px 48px 80px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 1100px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-title .accent {
  color: var(--clr-accent);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--clr-accent);
  transform-origin: left;
  animation: lineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
  transform: scaleX(0);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--clr-muted);
  max-width: 540px;
  margin-top: 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

/* Divider line */
.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--clr-accent);
  margin: 48px 0;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--clr-accent);
  color: var(--clr-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 255, 71, 0.2);
}

.btn-primary .arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: var(--clr-text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* Stats strip */
.stats-strip {
  display: flex;
  gap: 0;
  margin: 0 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}

.stat-item {
  flex: 1;
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stat-item:last-child { border-right: none; }
.stat-item:nth-child(1) { animation-delay: 1.3s; }
.stat-item:nth-child(2) { animation-delay: 1.45s; }
.stat-item:nth-child(3) { animation-delay: 1.6s; }
.stat-item:nth-child(4) { animation-delay: 1.75s; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--clr-accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: 12px;
}

/* Services section */
.services-section {
  padding: 120px 48px;
  position: relative;
  z-index: 2;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 64px;
  max-width: 640px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}

.service-card {
  background: var(--clr-bg);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--clr-surface);
}

.service-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-dim);
  border-radius: 0;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-muted);
}

.service-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 14px;
}

/* Footer */
.hero-footer {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
  margin-bottom: 80px;
}

.hero-footer-text {
  font-size: 12px;
  color: var(--clr-muted);
  letter-spacing: 0.1em;
}

/* Diagonal accent line */
.diagonal-accent {
  position: fixed;
  top: -20%;
  right: 8%;
  width: 1px;
  height: 140%;
  background: linear-gradient(180deg, transparent, var(--clr-accent-dim), transparent);
  transform: rotate(15deg);
  z-index: 0;
  pointer-events: none;
}

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

@keyframes lineGrow {
  to { transform: scaleX(1); }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; }
}

@media (max-width: 768px) {
  .top-bar { padding: 16px 24px; }
  .top-bar-links { display: none; }
  .hero { padding: 80px 24px 60px; }
  .stats-strip { margin: 0 24px; flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .services-section { padding: 80px 24px; }
  .hero-footer { padding: 32px 24px; flex-direction: column; gap: 16px; }
}
