:root {
  --background: oklch(0.985 0.002 20);
  --foreground: oklch(0.155 0.012 20);
  --primary: oklch(0.6 0.245 27);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.955 0.007 20);
  --muted-foreground: oklch(0.48 0.018 20);
  --border: oklch(0.88 0.01 20);
  --font-sans: "Manrope", sans-serif;
  --font-display: "Sora", sans-serif;
}

* { box-sizing: border-box; border-color: var(--border); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--primary); color: var(--primary-foreground); }

main { overflow: hidden; }

.container { max-width: 80rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 640px) { .container { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container { padding-left: 3rem; padding-right: 3rem; } }

/* Brand */
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 700;
}
.brand-name { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.875rem;
  border: none; cursor: pointer; border-radius: 0;
  transition: background-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); padding: 0 1.5rem; height: 2.75rem; }
.btn-primary:hover { background: oklch(0.54 0.22 27); }
.btn-lg { height: 3.25rem; padding: 0 1.75rem; }

.link-plain { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; transition: color .2s ease; }
.link-plain:hover { color: var(--primary); }

/* Eyebrow labels */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1rem;
}
.eyebrow-line { display: inline-block; width: 2.5rem; height: 1px; background: var(--primary); }

/* Hero */
.hero { position: relative; min-height: 92vh; background: var(--foreground); color: var(--primary-foreground); display: flex; flex-direction: column; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    oklch(0.155 0.012 20 / 92%) 0%,
    oklch(0.155 0.012 20 / 70%) 42%,
    oklch(0.155 0.012 20 / 8%) 78%);
}

/* Mobile: frame the people (right of the photo) and shade the photo
   top-to-bottom so the headline stays readable over the group. */
@media (max-width: 767px) {
  .hero { min-height: 100svh; }
  .hero-img { object-position: 72% center; }
  .hero-overlay {
    background: linear-gradient(180deg,
      oklch(0.155 0.012 20 / 62%) 0%,
      oklch(0.155 0.012 20 / 38%) 38%,
      oklch(0.155 0.012 20 / 88%) 78%,
      oklch(0.155 0.012 20 / 95%) 100%);
  }
}

.site-header { position: relative; z-index: 20; border-bottom: 1px solid oklch(1 0 0 / 20%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.nav-desktop { display: none; align-items: center; gap: 2.25rem; font-size: 0.875rem; font-weight: 600; }
.nav-desktop a:not(.btn) { transition: color .2s ease; }
.nav-desktop a:not(.btn):hover { color: var(--primary); }
@media (min-width: 768px) { .nav-desktop { display: flex; } .menu-toggle { display: none; } }

.menu-toggle {
  background: none; border: none; color: var(--primary-foreground);
  cursor: pointer; padding: 0.5rem; display: grid; place-items: center;
}
.nav-mobile {
  border-top: 1px solid oklch(1 0 0 / 20%);
  background: var(--foreground);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1rem; font-weight: 600;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .accent { color: var(--primary); }
@media (min-width: 768px) { .nav-mobile { display: none; } }

.hero-content { position: relative; z-index: 10; flex: 1; display: flex; align-items: flex-end; padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .hero-content { padding-bottom: 4rem; } }
@media (min-width: 1024px) { .hero-content { padding-bottom: 5rem; } }

.hero-text { max-width: 48rem; }
.hero .eyebrow { margin-bottom: 1.5rem; font-size: 0.75rem; }
@media (min-width: 640px) { .hero .eyebrow { font-size: 0.875rem; } }

h1 { font-size: 3rem; font-weight: 600; line-height: 1.05; max-width: 48rem; }
@media (min-width: 640px) { h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { h1 { font-size: 4.5rem; } }
@media (min-width: 1280px) { h1 { font-size: 6rem; } }

.hero-sub { margin-top: 1.75rem; max-width: 36rem; font-size: 1rem; line-height: 1.75rem; color: oklch(1 0 0 / 80%); }
@media (min-width: 640px) { .hero-sub { font-size: 1.125rem; } }

.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

/* Sections */
.section { padding-top: 5rem; padding-bottom: 5rem; scroll-margin-top: 2.5rem; }
@media (min-width: 640px) { .section { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .section { padding-top: 9rem; padding-bottom: 9rem; } }

.section h2 { font-size: 2.25rem; font-weight: 600; line-height: 1.2; }
@media (min-width: 640px) { .section h2 { font-size: 3rem; } }

.section-head {
  display: grid; gap: 2rem;
  border-bottom: 1px solid var(--border); padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section-head { grid-template-columns: 0.8fr 1.2fr; align-items: end; }
}
.section-lede { max-width: 36rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted-foreground); }
@media (min-width: 1024px) { .section-lede { justify-self: end; font-size: 1.125rem; } }

/* Services */
.services-grid { display: grid; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) {
  .service { border-bottom: none; border-right: 1px solid var(--border); padding: 3.5rem 2rem; }
  .service:first-child { padding-left: 0; }
  .service:last-child { border-right: none; padding-right: 0; }
}
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4rem; }
.service-number { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.service-icon { color: var(--muted-foreground); transition: color .2s ease; }
.service:hover .service-icon { color: var(--primary); }
.service h3 { font-size: 1.5rem; font-weight: 600; }
.service p { margin-top: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }

/* About */
.section-alt { background: var(--secondary); }
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 6rem; } }

.about-lede { font-size: 1.25rem; line-height: 2rem; }
@media (min-width: 640px) { .about-lede { font-size: 1.5rem; line-height: 2.25rem; } }

.about-points { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .about-points { grid-template-columns: 1fr 1fr; } }
.about-point {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border-top: 1px solid var(--border); padding-top: 1.25rem;
  font-size: 0.875rem; font-weight: 600;
}
.about-point svg { color: var(--primary); flex-shrink: 0; }

/* Contact */
.section-dark { background: var(--foreground); color: var(--primary-foreground); }
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 6rem; } }

.contact-sub { margin-top: 1.5rem; max-width: 28rem; line-height: 1.75rem; color: oklch(1 0 0 / 65%); }
.contact-location { margin-top: 2.5rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: oklch(1 0 0 / 80%); }
.contact-location svg { color: var(--primary); }

.contact-form { display: grid; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.contact-form label { display: grid; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.contact-form .optional { font-weight: 400; color: oklch(1 0 0 / 45%); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid oklch(1 0 0 / 25%);
  border-radius: 0;
  color: var(--primary-foreground);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 0 0.875rem;
  height: 3rem;
  outline: none;
  transition: border-color .2s ease;
}
.contact-form textarea { min-height: 9rem; padding: 0.75rem 0.875rem; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: oklch(1 0 0 / 35%); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }

.form-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 640px) { .form-footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-status { font-size: 0.875rem; color: oklch(1 0 0 / 65%); }
.form-status.success { color: oklch(0.75 0.15 150); }
.form-status.error { color: oklch(0.72 0.18 27); }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Footer */
.site-footer { background: var(--foreground); color: var(--primary-foreground); }
.footer-inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 15%);
  padding-top: 2rem; padding-bottom: 2rem;
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-note { font-size: 0.75rem; color: oklch(1 0 0 / 45%); }

/* Animation */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 700ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-fade-up { animation: none; }
}
