@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --navy:   #0b1628;
  --steel:  #1a2e4a;
  --accent: #2a7fff;
  --ice:    #e8f1ff;
  --white:  #f5f8ff;
  --muted:  #8a9bb5;
  --border: rgba(42,127,255,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Grid texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,127,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,127,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(11,22,40,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--white); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,127,255,0.18) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
  width: fit-content;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #4a90ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(42,127,255,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  margin-left: 1rem;
}

.btn-ghost:hover {
  border-color: rgba(42,127,255,0.5);
  background: rgba(42,127,255,0.07);
}

/* ── Section shared ── */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 4rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 3.5rem;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.service-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}

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

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: rgba(42,127,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Why us ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-points { display: flex; flex-direction: column; gap: 1.5rem; }

.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.why-point:hover {
  border-color: var(--border);
  background: rgba(42,127,255,0.04);
}

.why-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.why-point h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.why-point p {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 300;
}

.why-visual {
  position: relative;
  height: 420px;
  border-radius: 1rem;
  background: var(--steel);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-inner {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(42,127,255,0.08);
  letter-spacing: -0.05em;
  text-align: center;
  line-height: 1;
  user-select: none;
}

.why-stat {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  gap: 1.5rem;
}

.stat-box {
  background: rgba(11,22,40,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  flex: 1;
}

.stat-box strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-box span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Team page ── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 7rem 4rem 4rem;
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,127,255,0.15) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-hero .section-title { max-width: 600px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* When you add a real photo, replace the placeholder div with:
   <img src="images/jesse.jpg" alt="Jesse Holland" style="width:100%;height:100%;object-fit:cover;"> */
.team-photo svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.team-info { padding: 1.75rem; }

.team-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--white); }

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

.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav ul { gap: 1.5rem; }
  .hero, section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { height: 260px; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .page-hero { padding: 5rem 1.5rem 2rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 2rem 1.5rem; }
}
