:root {
  --bg: #f4f6f3;
  --text: #0f1412;
  --muted: #6b756f;
  --accent: #355f49;
  --line: rgba(15, 20, 18, 0.08);
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 243, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  padding: 10px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
}

.logo {
  height: 150px;
  width: auto;
  display: block;
  transform: translateY(8px);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 1rem;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 92px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.hero-aurora {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #f4f6f3 0%, #f3f5f1 100%);
}

/* Aurora layers */
.aurora-layer {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: blur(58px);
  opacity: 0.34;
  mix-blend-mode: multiply;
}

.aurora-one {
  width: 620px;
  height: 190px;
  top: 150px;
  right: -40px;
  background: linear-gradient(
    90deg,
    rgba(71, 131, 102, 0) 0%,
    rgba(71, 131, 102, 0.18) 26%,
    rgba(147, 198, 173, 0.28) 54%,
    rgba(231, 226, 191, 0.20) 100%
  );
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  transform: rotate(-8deg);
  animation: auroraFlowOne 14s ease-in-out infinite alternate;
}

.aurora-two {
  width: 480px;
  height: 140px;
  top: 245px;
  right: 70px;
  background: linear-gradient(
    90deg,
    rgba(99, 153, 126, 0) 0%,
    rgba(99, 153, 126, 0.18) 30%,
    rgba(184, 216, 200, 0.24) 62%,
    rgba(233, 228, 202, 0.16) 100%
  );
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  transform: rotate(-10deg);
  animation: auroraFlowTwo 16s ease-in-out infinite alternate;
}

.aurora-three {
  width: 340px;
  height: 100px;
  top: 205px;
  right: 170px;
  background: linear-gradient(
    90deg,
    rgba(122, 176, 150, 0) 0%,
    rgba(122, 176, 150, 0.14) 32%,
    rgba(235, 226, 186, 0.14) 100%
  );
  border-radius: 50%;
  transform: rotate(-6deg);
  animation: auroraFlowThree 18s ease-in-out infinite alternate;
}

@keyframes auroraFlowOne {
  0% {
    transform: translateX(0) translateY(0) rotate(-8deg);
    opacity: 0.28;
  }
  50% {
    transform: translateX(26px) translateY(-12px) rotate(-5deg);
    opacity: 0.38;
  }
  100% {
    transform: translateX(-14px) translateY(8px) rotate(-10deg);
    opacity: 0.30;
  }
}

@keyframes auroraFlowTwo {
  0% {
    transform: translateX(0) translateY(0) rotate(-10deg);
    opacity: 0.24;
  }
  50% {
    transform: translateX(-18px) translateY(8px) rotate(-7deg);
    opacity: 0.32;
  }
  100% {
    transform: translateX(16px) translateY(-10px) rotate(-11deg);
    opacity: 0.25;
  }
}

@keyframes auroraFlowThree {
  0% {
    transform: translateX(0) translateY(0) rotate(-6deg);
    opacity: 0.14;
  }
  50% {
    transform: translateX(12px) translateY(-4px) rotate(-3deg);
    opacity: 0.20;
  }
  100% {
    transform: translateX(-8px) translateY(7px) rotate(-7deg);
    opacity: 0.15;
  }
}

/* TYPOGRAPHY */

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.96;
  font-weight: 700;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  max-width: 820px;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 14px;
}

.hero-text,
.lead,
.page-section p,
.capability p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 720px;
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

/* SECTIONS */

.statement {
  padding: 84px 0 32px;
}

.statement h2 {
  margin: 0 auto;
}

.capabilities {
  padding: 28px 0 96px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.capability {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 32px 28px;
}

.contact-preview {
  padding: 96px 0 116px;
  border-top: 1px solid var(--line);
}

/* INNER PAGES */

.page {
  min-height: calc(100vh - 132px);
}

.page-hero {
  padding: 44px 0 28px;
}

.page-section {
  padding: 0 0 100px;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 18px;
}

.lead {
  margin-top: 24px;
}

.email-link {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(15, 20, 18, 0.16);
}

.email-link.large {
  font-size: 1.38rem;
}

/* MOBILE */

@media (max-width: 980px) {
  .aurora-one {
    width: 420px;
    height: 140px;
    right: -20px;
    top: 170px;
  }

  .aurora-two {
    width: 320px;
    height: 100px;
    right: 40px;
    top: 250px;
  }

  .aurora-three {
    width: 220px;
    height: 70px;
    right: 80px;
    top: 215px;
  }
}

@media (max-width: 800px) {
  .nav {
    min-height: 110px;
    padding: 8px 0 6px;
  }

  .logo {
    height: 110px;
    transform: translateY(4px);
  }

  .nav-links {
    gap: 18px;
  }

  .hero {
    padding: 56px 0 68px;
  }

  .page-hero {
    padding: 30px 0 22px;
  }

  .statement {
    padding: 64px 0 24px;
  }

  .capabilities {
    padding: 20px 0 64px;
  }

  .contact-preview,
  .page-section {
    padding-bottom: 72px;
  }

  .grid-two {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .capability {
    padding: 24px 22px;
  }

  .hero-text,
  .lead,
  .page-section p,
  .capability p {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .aurora-layer {
    opacity: 0.22;
    filter: blur(40px);
  }
}
