*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b1829;
  --surface: #112238;
  --surface2: #162d47;
  --accent: #a8d8b0;
  --accent2: #7ec8c8;
  --text: #ffffff;
  --muted: #6b8aaa;
  --border: rgba(255,255,255,0.08);
  --r: 'Manrope', sans-serif;
  --s: 'Outfit', sans-serif;
  --d: 'Instrument Serif', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--s);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: screen;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,229,160,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.3s, height 0.3s;
}
body:has(a:hover) #cursor, body:has(button:hover) #cursor { width: 20px; height: 20px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 24px 48px;
  display: flex; justify-content: space-between; align-items: center;
  mix-blend-mode: normal;
}
nav::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 100%);
  pointer-events: none;
}
.nav-name {
  font-family: var(--r);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text); z-index: 1;
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; z-index: 1; }
.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 140px 48px 64px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(126,200,200,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(168,216,176,0.06) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(240,237,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,237,232,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.hero-h1 {
  font-family: var(--r);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 800; line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.9s 0.35s forwards;
}
.hero-h1 .italic {
  color: var(--accent);
}
.hero-h1 .outline {
  -webkit-text-stroke: 1px rgba(240,237,232,0.3);
  color: transparent;
}
.hero-sub {
  max-width: 520px;
  font-size: 1.05rem; line-height: 1.75; color: rgba(240,237,232,0.55);
  margin-bottom: 56px;
  opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center;
  opacity: 0; animation: fadeUp 0.9s 0.65s forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; text-decoration: none;
  font-family: var(--r); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
}
.btn-primary:hover { background: #00ffb3; transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--muted);
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.hero-scroll {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fadeUp 0.9s 0.9s forwards;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--muted);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollPulse 2s 1.5s infinite;
}
.hero-stats-bar {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 48px;
  opacity: 0; animation: fadeLeft 1s 0.8s forwards;
}
.hstat { text-align: right; }
.hstat-n {
  font-family: var(--r); font-size: 2.6rem; font-weight: 800;
  line-height: 1; color: var(--text);
}
.hstat-n span { color: var(--accent); }
.hstat-l {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.hero-divider {
  position: absolute; right: 260px; top: 120px; bottom: 80px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
  opacity: 0; animation: fadeIn 1s 1s forwards;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 20px 0; background: var(--surface);
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 24px;
  padding: 0 32px;
  font-family: var(--r); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.marquee-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

/* ── SECTIONS SHARED ── */
.section { padding: 120px 48px; }
.s-label {
  font-family: var(--r); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.s-label::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.s-title {
  font-family: var(--r); font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 64px;
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.on { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── EXPERTISE ── */
#expertise { background: var(--bg); }
.exp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
}
.exp-card {
  background: var(--bg); padding: 52px 44px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.exp-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.exp-card:hover { background: var(--surface); }
.exp-card:hover::before { transform: scaleX(1); }
.exp-num {
  font-family: var(--r); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--muted); margin-bottom: 28px;
}
.exp-title {
  font-family: var(--r); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 16px; line-height: 1.2;
}
.exp-body { font-size: 0.9rem; line-height: 1.75; color: rgba(240,237,232,0.5); }
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag {
  padding: 4px 12px; border: 1px solid var(--border);
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border-radius: 2px;
}

/* ── ACHIEVEMENTS ── */
#achievements { background: var(--surface); }
.ach-list { display: flex; flex-direction: column; }
.ach-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 48px; align-items: start;
  padding: 52px 0; border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding-left 0.3s;
}
.ach-item::before {
  content: '';
  position: absolute; left: -48px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--accent2), var(--accent));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s;
}
.ach-item:hover::before { transform: scaleY(1); }
.ach-item:hover { padding-left: 12px; }
.ach-idx {
  font-family: var(--r); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; color: var(--muted); padding-top: 6px;
}
.ach-sector {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.ach-title {
  font-family: var(--r); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 14px; line-height: 1.2;
}
.ach-body { font-size: 0.9rem; line-height: 1.8; color: rgba(240,237,232,0.5); max-width: 600px; }
.ach-metric { text-align: right; min-width: 120px; }
.metric-n {
  font-family: var(--r); font-size: 2.4rem; font-weight: 800;
  line-height: 1; color: var(--text);
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.metric-l {
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px; display: block;
}

/* ── APPROACH ── */
#approach { background: var(--bg); }
.approach-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.approach-card {
  background: var(--surface); padding: 48px 40px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.approach-card:hover { border-color: rgba(0,229,160,0.3); transform: translateY(-4px); }
.approach-card-num {
  font-family: var(--r); font-size: 5rem; font-weight: 800;
  line-height: 1; color: rgba(240,237,232,0.04);
  position: absolute; top: 16px; right: 24px;
}
.approach-card-title {
  font-family: var(--r); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 16px; margin-top: 8px;
}
.approach-card-body { font-size: 0.9rem; line-height: 1.8; color: rgba(240,237,232,0.5); }
.approach-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-bottom: 24px;
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--surface); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
}
.testi-card {
  background: var(--surface); padding: 48px 36px;
  transition: background 0.3s;
}
.testi-card:hover { background: var(--surface2); }
.testi-quote-mark {
  font-family: var(--d); font-size: 4rem; line-height: 0.8;
  color: var(--accent); opacity: 0.4; margin-bottom: 20px;
}
.testi-quote {
  font-family: var(--s);
  font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.testi-author {
  font-family: var(--r); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text);
}
.testi-role { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ── CONTACT ── */
#contact {
  background: var(--bg);
  padding: 160px 48px;
  position: relative; overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,216,176,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; max-width: 760px; }
.contact-big {
  font-family: var(--r); font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.contact-big .accent { color: var(--accent); }
.contact-sub {
  font-size: 1.05rem; line-height: 1.75; color: rgba(240,237,232,0.5);
  max-width: 480px; margin-bottom: 52px;
}
.contact-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.contact-email {
  font-family: var(--r); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid var(--border);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }

/* ── FOOTER ── */
footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
footer p { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
.footer-accent { color: var(--accent); }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%   { left: -100%; }
  100% { left: 100%; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { padding: 120px 24px 60px; }
  .hero-stats-bar { display: none; }
  .hero-divider { display: none; }
  .section { padding: 80px 24px; }
  .exp-grid { grid-template-columns: 1fr; }
  .ach-item { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .ach-metric { text-align: left; }
  .approach-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px; }
}
