:root {
  --ink: #07130f;
  --ink-soft: #13231c;
  --paper: #f1f7ee;
  --paper-deep: #dcebdd;
  --oxide: #d94f2b;
  --copper: #f0883e;
  --teal: #159a8c;
  --lime: #d6ff6b;
  --mist: rgba(247, 242, 232, 0.72);
  --glass: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.24);
  --shadow: 0 26px 80px rgba(7, 19, 15, 0.24);
  --radius: 8px;
  --radius-lg: 8px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(115deg, rgba(21, 154, 140, 0.18), transparent 38%),
    radial-gradient(circle at 92% 12%, rgba(217, 79, 43, 0.2), transparent 30%),
    linear-gradient(var(--paper), var(--paper-deep));
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  color: white;
  background: rgba(7, 19, 15, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-header.compact {
  color: var(--ink);
  background: rgba(247, 242, 232, 0.84);
  border-color: rgba(7, 19, 15, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.brand-text {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.compact .site-nav a:hover,
.compact .site-nav a:focus-visible {
  background: rgba(7, 19, 15, 0.08);
}

.site-nav .nav-cta {
  color: var(--ink);
  background: var(--lime);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 126px 24px 48px;
  color: white;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
  animation: imageDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 19, 15, 0.9), rgba(7, 19, 15, 0.52) 52%, rgba(7, 19, 15, 0.25)),
    linear-gradient(0deg, rgba(7, 19, 15, 0.82), transparent 44%);
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--oxide);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.6rem, 10vw, 8.6rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 14px 34px rgba(214, 255, 107, 0.24);
}

.button.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.command-panel {
  padding: 24px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.panel-topline,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline {
  justify-content: flex-start;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(214, 255, 107, 0.16);
}

.metric-row {
  margin: 20px 0 8px;
}

.metric-row strong {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.signal-bar {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.signal-bar span {
  display: block;
  width: var(--width);
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--teal));
  border-radius: inherit;
}

.signal-bar.accent span {
  background: linear-gradient(90deg, var(--copper), var(--lime));
}

.panel-card {
  margin-top: 28px;
  padding: 18px;
  background: rgba(7, 19, 15, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.panel-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.panel-card strong {
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1.14;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro-strip {
  width: 100%;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--ink);
}

.intro-strip p {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.9rem);
  line-height: 1.04;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.proof-card,
.contact-card,
.contact-form,
.legal-content article {
  border: 1px solid rgba(7, 19, 15, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 52px rgba(7, 19, 15, 0.08);
}

.service-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.service-card:hover {
  color: white;
  background: var(--ink);
  transform: translateY(-8px);
}

.service-index {
  color: var(--oxide);
  font-family: var(--font-display);
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 1;
}

.service-card p,
.split-copy p,
.proof-card p,
.page-copy p,
.legal-content p,
.contact-card dd,
.site-footer p {
  color: rgba(7, 19, 15, 0.72);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.split-copy p {
  font-size: 1.06rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(7, 19, 15, 0.1);
  border-radius: var(--radius);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-card {
  padding: 26px;
}

.proof-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--oxide);
  font-family: var(--font-display);
  font-weight: 700;
}

.cta-section {
  width: min(1180px, calc(100% - 32px));
  flex-direction: column;
  align-items: flex-start;
  padding: 72px;
  color: white;
  background:
    linear-gradient(135deg, rgba(21, 154, 140, 0.82), rgba(7, 19, 15, 0.94)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=85") center/cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  max-width: 930px;
}

.page-hero {
  min-height: 62svh;
  display: grid;
  align-items: end;
  padding: 148px max(24px, calc((100vw - 1180px) / 2)) 72px;
  color: white;
  background:
    linear-gradient(90deg, rgba(7, 19, 15, 0.9), rgba(7, 19, 15, 0.38)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.privacy-hero {
  background:
    linear-gradient(90deg, rgba(7, 19, 15, 0.9), rgba(7, 19, 15, 0.42)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.page-copy {
  max-width: 900px;
}

.page-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label,
.contact-form span {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 19, 15, 0.14);
  border-radius: var(--radius);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-card dt {
  color: var(--oxide);
  font-weight: 800;
}

.contact-card dd {
  margin: 3px 0 0;
}

.legal-content {
  max-width: 900px;
}

.legal-content article {
  padding: 26px;
}

.legal-content article + article {
  margin-top: 16px;
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--ink);
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes imageDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.8%, -1.2%, 0);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: inherit;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    grid-area: 1 / 1;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle span + span {
    transform: translateY(6px);
  }

  .nav-open .nav-toggle span:first-child {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle span + span {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    color: var(--ink);
    background: rgba(247, 242, 232, 0.94);
    border: 1px solid rgba(7, 19, 15, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(7, 19, 15, 0.08);
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .command-panel {
    max-width: 520px;
  }

  .service-grid,
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-text {
    max-width: 178px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding: 106px 16px 32px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .command-panel,
  .contact-form,
  .contact-card,
  .legal-content article {
    padding: 20px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 70px 0;
  }

  .service-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .split-image img {
    min-height: 360px;
  }

  .cta-section {
    width: min(100% - 24px, 1180px);
    padding: 34px 22px;
  }

  .page-hero {
    min-height: 56svh;
    padding: 122px 18px 52px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}