:root {
  --ink: #111713;
  --ink-soft: #566059;
  --paper: #f5f2e9;
  --paper-deep: #ece8dc;
  --line: #cbc9bd;
  --accent: #63d6aa;
  --accent-dark: #0d5b43;
  --forest: #15382d;
  --forest-deep: #0d251e;
  --white: #fffef8;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

button,
input,
textarea { font: inherit; }

a { color: inherit; }

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(245 242 233 / 94%);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

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

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

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 17px;
  height: 1px;
  display: block;
  background: var(--ink);
}

.hero { padding: 92px 0 76px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.72fr);
  gap: clamp(56px, 10vw, 136px);
  align-items: center;
}

.label {
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(99 214 170 / 15%);
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 6.5vw, 5.45rem);
  line-height: 0.98;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 19px;
  border: 0;
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

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

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover { background: var(--forest); }

.button-accent {
  color: var(--forest-deep);
  background: var(--accent);
}

.hero-object {
  min-height: 440px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #2d5547;
  color: var(--white);
  background: var(--forest);
  overflow: hidden;
}

.object-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgb(255 254 248 / 60%);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-icon {
  width: 88%;
  position: absolute;
  top: 46%;
  right: -15%;
  transform: translateY(-50%) rotate(-6deg);
  opacity: 0.92;
}

.hero-object > p {
  max-width: 280px;
  position: relative;
  z-index: 2;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 22%);
  color: rgb(255 254 248 / 82%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
}

.services {
  padding: 118px 0 104px;
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(64px, 11vw, 150px);
  align-items: start;
}

.services-sticky {
  position: sticky;
  top: 126px;
}

.services-sticky h2,
.contact h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.services-sticky > p:not(.label):not(.checkpoint-status) {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.checkpoint-track {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
}

.checkpoint-dot {
  width: 30px;
  height: 3px;
  display: block;
  background: var(--line);
  transition: width 220ms ease, background 220ms ease;
}

.checkpoint-dot.is-active {
  width: 52px;
  background: var(--accent-dark);
}

.checkpoint-status {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.checkpoint-list {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.checkpoint {
  min-height: 360px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 48px 30px 48px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.48;
  transition: opacity 240ms ease;
}

.checkpoint:last-child { border-bottom: 0; }

.checkpoint.is-active { opacity: 1; }

.checkpoint-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
  color: var(--accent-dark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.checkpoint h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.checkpoint > p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.contact {
  padding: 112px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(60px, 12vw, 150px);
}

.contact-intro > p:not(.label) {
  max-width: 430px;
  color: var(--ink-soft);
}

.email-link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-underline-offset: 5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.honeypot { display: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
}

.contact-form small {
  color: var(--ink-soft);
  font-size: inherit;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 1px var(--accent-dark);
}

.contact-form .button { align-self: flex-start; }

.site-footer {
  color: rgb(255 254 248 / 70%);
  background: var(--ink);
}

.footer-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
}

.footer-brand { color: var(--white); }

.footer-brand .brand-icon {
  width: 30px;
  height: 30px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-object {
    min-height: 360px;
    max-width: 580px;
  }

  .hero-icon { width: 65%; }

  .services-grid {
    grid-template-columns: minmax(240px, 0.65fr) 1fr;
    gap: 58px;
  }

  .contact-form { max-width: 680px; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 36px, 1160px); }

  .header-inner { min-height: 68px; }

  .nav { display: none; }

  .nav-toggle { display: flex; }

  .nav.nav-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .nav.nav-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.nav-open a:last-child { border-bottom: 0; }

  .hero { padding-top: 68px; }

  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }

  .hero-object { min-height: 330px; }

  .services,
  .contact { padding: 80px 0; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .services-sticky { position: static; }

  .checkpoint-track,
  .checkpoint-status { display: none; }

  .checkpoint {
    min-height: 0;
    padding: 42px 0;
    opacity: 1;
  }

  .checkpoint-meta { margin-bottom: 40px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 28px 0;
  }

  .footer-inner p:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .button,
  .checkpoint,
  .checkpoint-dot { transition: none; }
}
