:root {
  --ink: #121417;
  --ink-soft: #4a5159;
  --paper: #eceff2;
  --paper-lift: #f5f7f9;
  --black: #0a0a0a;
  --charcoal: #16181c;
  --steel: #2a2e34;
  --red: #c4121a;
  --red-deep: #9e0e15;
  --green: #84c225;
  --green-deep: #6a9c1c;
  --gray: #5a6068;
  --white: #ffffff;
  --line: rgba(18, 20, 23, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 72rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(196, 18, 26, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 30%, rgba(132, 194, 37, 0.07), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-lift) 45%, #dde2e8 100%);
  background-attachment: fixed;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.05rem, 4.8vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; }

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* Header — always dark for logo contrast */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--space);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}

.logo {
  display: block;
  text-decoration: none;
  line-height: 0;
  position: relative;
  z-index: 120;
}

.logo img {
  height: 2.35rem;
  width: auto;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--black) !important;
}

.nav-toggle {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.4rem;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

/* Mobile-first: full-screen overlay menu */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: calc(var(--header-h) + 1rem) var(--space) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #0a0a0a;
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  overscroll-behavior: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open .site-header {
  background: #0a0a0a;
  box-shadow: none;
}

body.nav-open .nav-toggle {
  opacity: 0;
  pointer-events: none;
}

body.nav-open .nav-close {
  display: flex;
}

.nav-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: var(--space);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.nav-close span {
  display: block;
  position: absolute;
  height: 2px;
  width: 1.4rem;
  background: #ffffff;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-cta {
  border-color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 721px) {
  .nav-toggle {
    display: none;
  }

  .nav-close {
    display: none !important;
  }

  .site-nav {
    top: 0;
    left: auto;
    right: var(--space);
    width: auto;
    height: var(--header-h);
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.75rem;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.45) 38%, rgba(10, 10, 10, 0.88) 100%),
    linear-gradient(105deg, rgba(196, 18, 26, 0.28) 0%, transparent 42%),
    linear-gradient(300deg, rgba(132, 194, 37, 0.12) 0%, transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  animation: rise 0.9s var(--ease) both;
}

.brand-mark {
  width: min(100%, 22rem);
  height: auto;
  margin: 0 0 1.35rem;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 38ch;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */
.section-intro {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto 3rem;
  max-width: 40rem;
}

.section-intro h2 {
  margin-bottom: 0.75rem;
}

.section-intro p:last-child {
  color: var(--ink-soft);
}

.services {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.service {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto 4.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.service.is-visible {
  opacity: 1;
  transform: none;
}

.service--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.service--reverse .service-visual { order: 2; }
.service--reverse .service-copy { order: 1; }

.service-visual {
  overflow: hidden;
  background: var(--charcoal);
  position: relative;
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
}

.service-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service.is-visible .service-visual img {
  transform: scale(1.02);
}

.service-copy ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.service-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.service-copy p {
  color: var(--ink-soft);
}

/* About */
.about {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(196, 18, 26, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(132, 194, 37, 0.12), transparent 50%),
    linear-gradient(160deg, var(--black) 0%, var(--charcoal) 100%);
  color: var(--white);
}

.about-grid {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about .eyebrow {
  color: var(--green);
}

.about-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
  background: rgba(10, 10, 10, 0.55);
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Contact */
.contact {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.contact-panel {
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.88), rgba(236, 239, 242, 0.96)),
    repeating-linear-gradient(
      -14deg,
      transparent,
      transparent 12px,
      rgba(196, 18, 26, 0.03) 12px,
      rgba(196, 18, 26, 0.03) 13px
    );
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.contact-copy address {
  font-style: normal;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

.contact-copy address p {
  margin-bottom: 0.45rem;
}

.contact-copy a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.contact-copy a:hover {
  color: var(--red-deep);
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(132, 194, 37, 0.22);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.form-note.is-error {
  color: var(--red);
}

/* Footer */
.site-footer {
  padding: 2.5rem var(--space);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.footer-logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.footer-logo img {
  height: 2rem;
  width: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Motion */
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .hero-content,
  .service {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .service,
  .service--reverse {
    grid-template-columns: 1fr;
  }

  .service--reverse .service-visual,
  .service--reverse .service-copy {
    order: unset;
  }

  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-mark {
    width: min(100%, 16rem);
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
