:root {
  --sand-50: #f8f5eb;
  --sand-100: #f1ebdb;
  --sand-200: #e7dcc4;
  --ink-900: #0d2317;
  --ink-700: #214434;
  --moss-600: #3f7a4f;
  --moss-500: #57a764;
  --moss-300: #9ecf99;
  --clay-500: #c77849;
  --clay-300: #d8a07b;
  --stone-200: #dfe4dc;
  --white: #ffffff;
  --shadow-soft: 0 20px 50px -26px rgba(13, 35, 23, 0.35);
  --shadow-card: 0 24px 40px -28px rgba(11, 31, 21, 0.5);
  --font-display: "Sora", "Trebuchet MS", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  font-family: var(--font-display);
  background: var(--sand-50);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-gradient,
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-gradient {
  background:
    radial-gradient(1200px 620px at 8% -10%, rgba(199, 120, 73, 0.28), transparent 65%),
    radial-gradient(920px 520px at 88% 10%, rgba(87, 167, 100, 0.3), transparent 60%),
    linear-gradient(180deg, #f7f2e6 0%, #f3ecdd 50%, #efe8d7 100%);
}

.bg-grain {
  z-index: -1;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.7) 1px, transparent 1.2px),
    radial-gradient(circle at 72% 48%, rgba(33, 68, 52, 0.2) 0.8px, transparent 1px),
    radial-gradient(circle at 39% 88%, rgba(199, 120, 73, 0.18) 0.9px, transparent 1.2px);
  background-size: 170px 170px, 210px 210px, 190px 190px;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 242, 230, 0.72);
  border-bottom: 1px solid rgba(33, 68, 52, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink-700), var(--moss-600));
  box-shadow: var(--shadow-soft);
}

.brand-name {
  font-size: 1.02rem;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.site-nav a {
  color: rgba(13, 35, 23, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(145deg, var(--moss-600), #295d3b);
  box-shadow: var(--shadow-soft);
}

.btn-dark {
  color: var(--white);
  background: linear-gradient(145deg, #123022, #26513d);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  color: var(--ink-900);
  border-color: rgba(13, 35, 23, 0.2);
  background: rgba(255, 255, 255, 0.65);
}

.btn-ghost-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

main {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.2rem;
  padding: 5.2rem 0 4.4rem;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(33, 68, 52, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  margin-top: 0.95rem;
  font-size: clamp(2.4rem, 5.8vw, 4.5rem);
  font-weight: 700;
  max-width: 14ch;
}

h1 span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-700);
}

.lead {
  margin: 1.15rem 0 0;
  max-width: 54ch;
  color: rgba(13, 35, 23, 0.86);
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.proof-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.proof-points li {
  font-size: 0.93rem;
  color: rgba(13, 35, 23, 0.88);
  padding-left: 1.2rem;
  position: relative;
}

.proof-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--clay-500), var(--moss-500));
}

.hero-visual {
  min-height: 440px;
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 9% 8% 7%;
  border-radius: 26px;
  background:
    linear-gradient(142deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 218, 0.9)),
    repeating-linear-gradient(
      90deg,
      rgba(33, 68, 52, 0.05) 0,
      rgba(33, 68, 52, 0.05) 1px,
      transparent 1px,
      transparent 24px
    );
  border: 1px solid rgba(33, 68, 52, 0.12);
  box-shadow: var(--shadow-card);
  z-index: -1;
}

.mini-stage {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(13, 35, 23, 0.16);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.mini-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mini-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(8, 19, 13, 0), rgba(8, 19, 13, 0.62));
  pointer-events: none;
}

.mini-stage .label {
  position: absolute;
  left: 0.65rem;
  bottom: 0.6rem;
  z-index: 1;
  margin: 0;
  padding: 0.3rem 0.48rem;
  border-radius: 999px;
  background: rgba(13, 35, 23, 0.76);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-stage-before {
  width: 56%;
  height: 50%;
  left: 0;
  top: 10%;
  transform: rotate(-4deg);
  animation: floatOne 5.5s ease-in-out infinite;
}

.mini-stage-before img {
  object-position: center 60%;
}

.mini-stage-massing {
  width: 51%;
  height: 46%;
  right: 3%;
  top: 17%;
  transform: rotate(4deg);
  animation: floatTwo 6.2s ease-in-out infinite;
}

.mini-stage-massing img {
  object-position: center;
}

.mini-stage-render {
  width: 66%;
  height: 44%;
  left: 18%;
  bottom: 2%;
  animation: floatThree 6.8s ease-in-out infinite;
}

.mini-stage-render img {
  object-position: center;
}

.dimension-chip {
  position: absolute;
  right: 4%;
  bottom: 0;
  padding: 0.55rem 0.78rem;
  border-radius: 12px;
  background: rgba(13, 35, 23, 0.9);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
}

.metric-band {
  border-top: 1px solid rgba(33, 68, 52, 0.16);
  border-bottom: 1px solid rgba(33, 68, 52, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(243, 235, 215, 0.88)),
    repeating-linear-gradient(
      90deg,
      rgba(33, 68, 52, 0.04) 0,
      rgba(33, 68, 52, 0.04) 1px,
      transparent 1px,
      transparent 33px
    );
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  padding: 1.2rem 0;
}

.metric {
  padding: 0.7rem 0.3rem;
}

.metric-value {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--ink-700);
  line-height: 1;
}

.metric-label {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: rgba(13, 35, 23, 0.75);
  max-width: 30ch;
}

.workflow {
  padding: 5.2rem 0;
}

.section-head h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 16ch;
}

.stage-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stage-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.9), rgba(246, 239, 225, 0.92));
  border: 1px solid rgba(33, 68, 52, 0.14);
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.9rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.stage-art {
  aspect-ratio: 1.3 / 1;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(13, 35, 23, 0.12);
  position: relative;
  overflow: hidden;
  background: #d9decd;
}

.stage-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.stage-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 50%,
    rgba(9, 25, 16, 0.18) 100%
  );
  pointer-events: none;
}

.art-raw img {
  object-position: center;
}

.art-clean img {
  object-position: center;
}

.art-massing {
  background: #8eab74;
}

.art-massing img {
  object-position: center;
}

.art-render img {
  object-position: center;
}

.stage-step {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(33, 68, 52, 0.72);
}

.stage-card h3 {
  margin-top: 0.35rem;
  font-size: 1.08rem;
}

.stage-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(13, 35, 23, 0.82);
}

.precision {
  padding: 0 0 5.4rem;
}

.precision-wrap {
  background: linear-gradient(150deg, rgba(20, 54, 38, 0.96), rgba(27, 76, 51, 0.94));
  color: var(--white);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  display: block;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.precision-wrap .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.precision-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 16ch;
}

.precision-copy > p {
  margin: 0.95rem 0 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.feature-list li {
  padding: 0.78rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.testimonial {
  margin-top: 4.8rem;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(33, 68, 52, 0.15);
  background:
    linear-gradient(146deg, rgba(255, 255, 255, 0.85), rgba(245, 239, 223, 0.9)),
    radial-gradient(circle at 10% 15%, rgba(199, 120, 73, 0.15), transparent 42%);
  box-shadow: var(--shadow-soft);
}

.quote-mark {
  margin: 0;
  font-size: 2.8rem;
  line-height: 0.8;
  color: rgba(33, 68, 52, 0.5);
}

blockquote {
  margin: 0.55rem 0 0;
  font-size: clamp(1.24rem, 2.8vw, 2rem);
  max-width: 28ch;
  font-family: var(--font-serif);
}

.quote-meta {
  margin-top: 0.68rem;
  font-size: 0.85rem;
  color: rgba(13, 35, 23, 0.68);
  font-family: var(--font-mono);
}

.cta {
  margin-top: 4rem;
  padding: 0 0 5rem;
}

.cta-wrap {
  border-radius: 28px;
  padding: clamp(1.5rem, 3.5vw, 3.1rem);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.26), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(199, 120, 73, 0.3), transparent 42%),
    linear-gradient(145deg, #153a28, #2b6a47);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.cta-wrap h2 {
  margin-top: 0.86rem;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.cta-wrap > p {
  margin: 0.9rem 0 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  border-top: 1px solid rgba(33, 68, 52, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.footer-wrap {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(13, 35, 23, 0.72);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes floatOne {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }

  50% {
    transform: rotate(-5deg) translateY(-9px);
  }
}

@keyframes floatTwo {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}

@keyframes floatThree {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding-top: 4rem;
  }

  .hero-visual {
    order: -1;
    min-height: 390px;
  }

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

  .precision-wrap {
    display: block;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .site-nav {
    display: none;
  }

  .site-header .btn-dark {
    display: none;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .workflow {
    padding: 4.1rem 0;
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 1.2rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 340px;
  }

  .mini-stage-before {
    width: 62%;
  }

  .mini-stage-massing {
    width: 56%;
  }

  .mini-stage-render {
    width: 74%;
    left: 12%;
  }

  .dimension-chip {
    right: 1%;
    font-size: 0.67rem;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
