:root {
  --navy: #0B1426;
  --navy-deep: #070E1A;
  --navy-mid: #121C2E;
  --slate: #2A3548;
  --gray: #6B7A8F;
  --gray-light: #A8B3C4;
  --off-white: #F4F1EB;
  --white: #FFFFFF;
  --accent: #C9B896;
  --border: rgba(255,255,255,0.08);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ——— Typography ——— */
.logo {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
}
.logo span { font-weight: 400; opacity: 0.85; }
.logo-divider {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  background: currentColor;
  margin: 0 0.55em;
  vertical-align: middle;
  opacity: 0.6;
}
.tagline {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 400;
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* ——— Layout ——— */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-solid {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-solid:hover {
  background: transparent;
  color: var(--white);
}

/* ——— Header ——— */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.35s ease, padding 0.35s ease;
}
header.scrolled {
  background: rgba(7, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav ul {
  display: flex;
  gap: 2.2rem;
}
nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.25s;
}
nav a:hover { color: var(--white); }
.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.4rem;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.3s;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,14,26,0.55) 0%, rgba(7,14,26,0.75) 50%, rgba(7,14,26,0.95) 100%),
    url('../images/hero-mountains.jpg') center/cover no-repeat;
}
/* Tech light layer: survey nodes on peaks and treetops */
.hero-tech {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem 4rem;
}
.hero-logo {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-logo .divider {
  display: inline-block;
  width: 1.5px;
  height: 0.75em;
  background: var(--white);
  margin: 0 0.4em;
  opacity: 0.5;
  vertical-align: middle;
}
.hero-tagline {
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 2.8rem;
}
.hero-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 400;
  color: var(--off-white);
  max-width: 520px;
  margin: 0 auto 2.8rem;
  line-height: 1.45;
  font-style: italic;
  opacity: 0.9;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gray), transparent);
}

/* ——— About / Values ——— */
.section {
  padding: 6.5rem 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--gray-light);
  font-size: 1.05rem;
  font-weight: 300;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 1.4rem;
}
.about-text p {
  color: var(--gray-light);
  margin-bottom: 1.2rem;
  font-weight: 300;
  font-size: 1.02rem;
}
.about-text .lead {
  color: var(--off-white);
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 1.6rem;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--navy-mid);
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,14,26,0.7), transparent 50%);
}

/* Values strip */
.values {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.value-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
}
.value-dot.d1 { background: #0B1426; border: 1px solid var(--gray); }
.value-dot.d2 { background: #4A5568; }
.value-dot.d3 { background: #A0AEC0; }
.value-dot.d4 { background: #E8E4DC; }
.value-item h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: var(--white);
}
.value-item p {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* ——— Services ——— */
.services {
  background: var(--navy-deep);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 2.4rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: rgba(201,184,150,0.35);
  transform: translateY(-4px);
}
.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
  color: var(--white);
}
.service-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ——— Approach / Statement ——— */
.statement {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
}
.statement-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,14,26,0.85) 0%, rgba(7,14,26,0.7) 50%, rgba(7,14,26,0.9) 100%),
    url('../images/statement-night-sky.jpg') center/cover no-repeat;
}
.statement-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.statement-content blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1.8rem;
}
.statement-content cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ——— Contact ——— */
.contact {
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin-bottom: 1.2rem;
}
.contact-info p {
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-weight: 300;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--off-white);
  font-size: 0.95rem;
  transition: color 0.25s;
}
.contact-details a:hover { color: var(--accent); }
.contact-form {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  padding: 2.4rem;
}
.form-row {
  margin-bottom: 1.3rem;
}
.form-row label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.45rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.25s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: rgba(201,184,150,0.5);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ——— Footer ——— */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.footer-brand .logo {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}
.footer-brand p {
  color: var(--gray);
  font-size: 0.85rem;
  max-width: 280px;
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 3.5rem;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-visual {
    aspect-ratio: 16/10;
    max-height: 360px;
  }
  nav ul { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .header-inner { position: relative; }
  nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--navy);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    min-width: 200px;
  }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { flex-direction: column; gap: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
}
