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

:root {
  --teal: #2EC4B6;
  --teal-dim: rgba(46,196,182,0.12);
  --teal-mid: rgba(46,196,182,0.35);
  --charcoal: #1C1C1E;
  --charcoal-mid: #2A2A2E;
  --charcoal-light: #3A3A3F;
  --off-white: #F0EFEB;
  --muted: #8A8A90;
  --border: rgba(240,239,235,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(28,28,30,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--off-white);
  text-decoration: none;
}
.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal-mid);
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: var(--teal);
  color: var(--charcoal);
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 1;
}

/* ── HOME ── */
#home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 10rem 4rem 6rem;
  gap: 4rem;
}

.home-left { max-width: 580px; }

.home-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.home-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--teal);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

h1 em {
  font-style: italic;
  color: var(--teal);
}

.home-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--charcoal);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--teal); }
.btn-ghost::after { content: '→'; }

/* ── GEO MARK ── */
.home-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.geo-mark {
  position: relative;
  width: 380px;
  height: 380px;
}

.geo-mark svg {
  width: 100%;
  height: 100%;
}

/* ── STATS BAR ── */
.stats-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.stat {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── ABOUT ── */
#about {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--teal);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.about-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: sticky;
  top: 8rem;
}

.about-headline strong {
  font-weight: 600;
  color: var(--teal);
}

.about-body p {
  font-size: 1rem;
  color: rgba(240,239,235,0.75);
  margin-bottom: 1.8rem;
  line-height: 1.85;
}

.about-body p:first-child {
  font-size: 1.15rem;
  color: var(--off-white);
}

.credentials {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cred-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  border: 1px solid var(--teal-mid);
  padding: 0.35rem 0.75rem;
  background: var(--teal-dim);
}

/* ── SERVICES ── */
#services {
  padding: 8rem 4rem;
  background: var(--charcoal-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.services-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 380px;
  align-self: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--charcoal-mid);
  padding: 3rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--teal);
  transition: height 0.4s ease;
}

.service-card:hover { background: var(--charcoal-light); }
.service-card:hover::before { height: 100%; }

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

.service-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(240,239,235,0.4);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
}

/* ── CONTACT ── */
#contact {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.contact-left h2 { margin-bottom: 1.5rem; }

.contact-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(240,239,235,0.6);
}

.contact-line span:first-child {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--teal);
  min-width: 60px;
}

.contact-line a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-line a:hover { color: var(--teal); }

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea, select {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
  appearance: none;
}

input:focus, textarea:focus, select:focus { border-color: var(--teal); }
::placeholder { color: rgba(240,239,235,0.2); }
select option { background: var(--charcoal-mid); }
textarea { min-height: 130px; }

.form-submit {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--charcoal);
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
  width: 100%;
  margin-top: 0.5rem;
}
.form-submit:hover { opacity: 0.85; }

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

.footer-logo {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: rgba(240,239,235,0.35);
}
.footer-logo span { color: var(--teal); }

.footer-note {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(240,239,235,0.25);
}

/* ── DIVIDER ── */
.teal-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.25;
}

/* ── ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }

  #home { grid-template-columns: 1fr; padding: 8rem 2rem 4rem; }
  .home-right { display: none; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }

  #about, #services, #contact { padding: 5rem 2rem; }
  .about-grid, .services-header, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-headline { position: static; }
  .services-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
}
