:root {
  --navy: #0d1526;
  --navy-soft: #1a2740;
  --teal: #009681;
  --teal-deep: #007a6a;
  --teal-soft: rgba(0, 150, 129, 0.12);
  --ink: #121826;
  --muted: #5b6577;
  --line: #d7dde8;
  --bg: #f3f6f8;
  --bg-elev: #ffffff;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, #f7fafb 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  animation: drop-in 0.7s ease both;
}

.brand img {
  width: min(188px, 52vw);
  height: auto;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7fafb;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("/hero-workspace.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 12s ease-out both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(13, 21, 38, 0.82) 0%,
      rgba(13, 21, 38, 0.55) 42%,
      rgba(0, 150, 129, 0.28) 100%
    ),
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(0, 150, 129, 0.25), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: clamp(6.5rem, 14vh, 9rem) clamp(1.1rem, 5vw, 3rem) clamp(2.5rem, 8vh, 4.5rem);
  animation: rise 0.9s 0.15s ease both;
}

.hero-logo {
  width: min(280px, 70vw);
  margin-bottom: 1.4rem;
  filter: brightness(0) invert(1);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: color-mix(in srgb, #fff 88%, #9fdad2);
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.btn.primary:hover {
  background: var(--teal-deep);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 55%, transparent);
}

.btn.ghost:hover {
  background: color-mix(in srgb, #fff 12%, transparent);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 5vw, 3rem);
}

.section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy);
}

.lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  background:
    linear-gradient(180deg, #eef5f4 0%, var(--bg) 40%, #fff 100%);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.service-list article {
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.service-list article:nth-child(2) {
  animation-delay: 0.05s;
}
.service-list article:nth-child(3) {
  animation-delay: 0.1s;
}
.service-list article:nth-child(4) {
  animation-delay: 0.15s;
}
.service-list article:nth-child(5) {
  animation-delay: 0.2s;
}
.service-list article:nth-child(6) {
  animation-delay: 0.25s;
}

.service-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, var(--teal-soft), transparent 55%),
    linear-gradient(180deg, #fff, #e9f3f1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-facts {
  margin: 0;
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.contact-facts div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-facts dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--navy);
}

.contact-facts a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.contact-facts a:hover {
  color: var(--teal);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1.1rem, 5vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer img {
  opacity: 0.9;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@media (max-width: 860px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav a:last-child {
    display: none;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
  .hero-content {
    align-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
