/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg:         #0a0c0f;
  --bg2:        #0f1215;
  --surface:    #13171c;
  --border:     #1e242c;
  --border2:    #252d38;
  --text:       #d4dae3 ;
  --text-muted: #7a8898 ;
  --accent:     #00c8a0;
  --accent2:    #0090ff;
  --white:      #eef2f7;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --max-w: 1100px;
  --pad:   clamp(1.5rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── Noise overlay ─────────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .025;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ─── Utilities ─────────────────────────────────────────── */
.mono { font-family: var(--font-mono); }
.dot  { color: var(--accent); }

.section-label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem var(--pad);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 12, 15, .85);
  backdrop-filter: blur(12px);
  z-index: 50;
  animation: fadeDown .6s ease both;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: .1em;
  color: var(--white);
}
nav a {
  font-size: 15px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: .4rem 1rem;
  border-radius: 2px;
  transition: color .2s, border-color .2s;
}
nav a:hover { color: var(--accent); border-color: var(--accent); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad) clamp(4rem, 10vw, 7rem);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(0,200,160,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp .7s .1s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeUp .7s .2s ease both;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  font-size: .9em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.75rem;
  animation: fadeUp .7s .3s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .4s ease both;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: .75rem 1.75rem;
  border-radius: 2px;
  letter-spacing: .05em;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }

.btn-secondary {
  font-size: 13px;
  color: var(--text-muted);
  padding: .75rem 1.75rem;
  border: 1px solid var(--border2);
  border-radius: 2px;
  letter-spacing: .05em;
  transition: color .2s, border-color .2s;
}
.btn-secondary:hover { color: var(--white); border-color: var(--text-muted); }

/* ─── Expertise ──────────────────────────────────────────── */
.expertise {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  border-top: 1px solid var(--border);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.expertise-card {
  background: var(--bg);
  padding: 2.25rem 2rem;
  transition: background .25s;
  animation: fadeUp .6s calc(.5s + var(--delay)) ease both;
}
.expertise-card:hover { background: var(--surface); }

.card-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.expertise-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .75rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.expertise-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.card-tags span {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid rgba(0,200,160,.25);
  padding: .2rem .6rem;
  border-radius: 1px;
}

/* ─── Approach ───────────────────────────────────────────── */
.approach {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.approach-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.approach-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.approach-text p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.approach-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 200px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.stat-arrow { color: var(--accent); margin: 0 .1rem; }

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .08em;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.contact-inner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 2px;
  max-width: 380px;
  transition: border-color .2s, color .2s, background .2s;
}
.contact-item:hover {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(0,200,160,.04);
}

.contact-icon {
  font-size: 1rem;
  color: var(--accent);
  width: 1.5rem;
  text-align: center;
  font-style: normal;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem var(--pad);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

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

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .approach-inner {
    grid-template-columns: 1fr;
  }
  .approach-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
