:root {
  --bg: #09121f;
  --surface: #0e1a2e;
  --raise: #13233b;
  --text: #e2e8f0;
  --mut: #8292a8;
  --gold: #d4af37;
  --line: #1c2a40;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, .logo, .stat b { font-family: var(--font-serif); font-weight: 500; }
h1 { font-size: clamp(3.2rem, 6.5vw, 6rem); line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.01em; color: #fff; }
h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.15; margin-bottom: 1rem; color: #fff; }
h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: #fff; }
p { color: var(--mut); font-weight: 400; font-size: 1.05rem; }
.lead { font-size: 1.25rem; max-width: 650px; color: var(--text); line-height: 1.7; }
.eyebrow { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 1rem; font-weight: 500;}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #09121f;
  text-decoration: none;
  padding: 1rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--gold);
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s;
}
.btn:hover { background: transparent; color: var(--gold); }

/* Header */
.header {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.5rem 5vw; z-index: 10;
}
.logo { font-size: 1.8rem; letter-spacing: 0.05em; color: #fff; }
.logo span { color: var(--gold); font-style: italic; }
.nav { display: flex; gap: 3rem; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s; font-weight: 500;}
.nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex; align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.hero-content {
  max-width: 700px;
  position: relative; z-index: 1;
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stat {
  padding: 5rem 5vw;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; text-align: center;
}
.stat:last-child { border-right: none; }
.stat b { font-size: 4rem; color: #fff; line-height: 1; }
.stat span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 500;}

/* Approach */
.approach {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  min-height: 80vh;
  border-bottom: 1px solid var(--line);
}
.text-block {
  padding: 8rem 5vw;
  display: flex; flex-direction: column; justify-content: center;
}
.chart-container {
  background: var(--surface);
  position: relative;
  border-left: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 3rem;
}

/* Graph Animation */
.anim-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 3s ease-in-out forwards;
}
.anim-fill {
  opacity: 0;
  animation: fadeFill 2s ease-in forwards;
  animation-delay: 1.5s;
}
.anim-dot {
  opacity: 0;
  animation: popDot 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeFill {
  to { opacity: 1; }
}
@keyframes popDot {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Services */
.services { padding: 8rem 5vw; border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 5rem; max-width: 600px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.grid article { background: var(--bg); padding: 5rem 4rem; transition: background 0.4s; }
.grid article:hover { background: var(--surface); }
.grid article h3 { color: var(--gold); }

/* Contact */
.contact {
  padding: 10rem 5vw;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface);
}
.contact p { max-width: 500px; margin-bottom: 4rem; }
form { width: 100%; max-width: 500px; display: flex; flex-direction: column; gap: 1.5rem; }
input, textarea {
  width: 100%; padding: 1.2rem;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-sans);
  font-size: 1rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
#formMsg { margin-top: 1rem; font-size: 1rem; color: var(--gold); }

/* Footer */
footer { padding: 3rem 5vw; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--mut); background: var(--bg);}
.f-inner { display: flex; justify-content: space-between; }
footer a { color: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 500;}
footer a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 3rem 5vw; }
  .approach { grid-template-columns: 1fr; }
  .chart-container { min-height: 400px; border-left: none; border-top: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
