/* ============================================================
   STYLE.CSS — Base styles, variables, layout
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary:  #0a0a0a;
  --bg-surface:  #111111;
  --bg-card:     #141414;
  --text-primary: #ffffff;
  --text-muted:  rgba(255, 255, 255, 0.55);
  --accent:      #4f8ef7;
  --accent-dim:  rgba(79, 142, 247, 0.15);
  --border:      rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --radius:      12px;
  --nav-height:  72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #000;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.display-headline {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  background: transparent;
}

/* ---------- Splash screen ---------- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#splash-text {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.03em;
  line-height: 1.08;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Global fixed band canvas */
#bands-global {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
  animation: navFadeIn 0.6s ease 3.9s both;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn-nav {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s ease-out 2.7s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border-hover);
  cursor: pointer;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 4.5s forwards;
  transition: opacity 0.6s ease;
}

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

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

/* ---------- Section Header ---------- */
.section-header {
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ---------- Services ---------- */
#services {
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Expertise ---------- */
#expertise {
  background: transparent;
}

.expertise-domains {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.domain {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.domain:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.domain-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 8px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: var(--bg-card);
  cursor: default;
  user-select: none;
}

/* ---------- About ---------- */
#about {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: #06060f;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

#yield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-photo-label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(215, 118, 42, 0.7);
  white-space: nowrap;
  z-index: 1;
}

.about-content blockquote {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 28px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-meta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
}

.meta-label {
  color: var(--text-muted);
  min-width: 100px;
}

.meta-value {
  color: var(--text-primary);
  font-weight: 500;
}

.activities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.activity-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
#contact {
  background: transparent;
  text-align: center;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-inner .section-title {
  margin-bottom: 20px;
}

.contact-inner p {
  color: var(--text-muted);
  margin-bottom: 44px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer {
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-logo span { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo {
    max-width: 320px;
  }

  .domain {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 20px 0 32px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .btn-nav { display: none; }

  .nav-mobile-toggle {
    display: flex;
  }

  nav.menu-open .nav-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  nav.menu-open .nav-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  nav.menu-open .nav-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
