:root {
  --stone: #f3f0ea;
  --stone-2: #e7e2d8;
  --white: #fffcf7;
  --ink: #1a211e;
  --ink-soft: #4f5a55;
  --muted: #87918c;
  --forest: #2f5d4a;
  --forest-soft: rgba(47, 93, 74, 0.12);
  --clay: #c4785a;
  --clay-soft: rgba(196, 120, 90, 0.14);
  --line: #ddd6cb;
  --shadow: 0 18px 48px rgba(26, 33, 30, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
  --container: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--stone);
  color: var(--ink);
  line-height: 1.7;
}

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

address {
  font-style: normal;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 240, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--forest);
}

.nav {
  display: flex;
  gap: 0.15rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: var(--white);
}

.header__end {
  display: flex;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--forest {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 6px 20px var(--forest-soft);
}

.btn--clay {
  background: var(--clay);
  color: #fff;
}

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn--line:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.btn--lg {
  padding: 0.75rem 1.45rem;
  font-size: 0.95rem;
}

.btn--light {
  background: var(--white);
  color: var(--forest);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav--mobile {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s, opacity 0.3s;
}

.nav--mobile.open {
  max-height: 360px;
  opacity: 1;
}

.nav--mobile a {
  padding: 0.7rem 0;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.nav--mobile a.active {
  color: var(--forest);
}

/* Split canvas hero */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
}

.hero-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 3.5rem max(1.25rem, calc((100vw - var(--container)) / 2));
  padding-right: 2.5rem;
}

.hero-split__visual {
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-split__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(196, 120, 90, 0.25), transparent 40%);
}

.hero__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clay);
  margin-bottom: 1rem;
}

.hero-split__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  max-width: 12ch;
}

.hero-split__copy h1 em {
  font-style: italic;
  color: var(--forest);
}

.hero__text {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* Pulse board */
.pulse-board {
  position: relative;
  width: min(340px, 90%);
  aspect-ratio: 1;
  z-index: 1;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: pulse-out 4.5s ease-out infinite;
}

.pulse-ring:nth-child(2) {
  inset: 14%;
  animation-delay: 0.8s;
}

.pulse-ring:nth-child(3) {
  inset: 28%;
  animation-delay: 1.6s;
}

@keyframes pulse-out {
  0% { opacity: 0.7; transform: scale(0.96); }
  70% { opacity: 0.15; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(1.08); }
}

.pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.pulse-core strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.pulse-core span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.pulse-node {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  animation: float-soft 5s ease-in-out infinite;
}

.pulse-node--a { top: 6%; left: 38%; animation-delay: 0s; }
.pulse-node--b { top: 38%; right: 2%; animation-delay: 0.7s; }
.pulse-node--c { bottom: 12%; right: 22%; animation-delay: 1.4s; }
.pulse-node--d { bottom: 18%; left: 8%; animation-delay: 2.1s; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.pulse-caption {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  opacity: 0.75;
  z-index: 1;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--white {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section--forest {
  background: var(--forest);
  color: #fff;
}

.section--forest .eyebrow {
  color: #b8d4c6;
}

.section--forest .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clay);
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-desc {
  color: var(--ink-soft);
  margin-top: 0.7rem;
  max-width: 48ch;
}

/* Signal strip */
.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.signal-card {
  padding: 1.6rem;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s;
}

.section--white .signal-card {
  background: var(--stone);
}

.signal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.signal-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.signal-card__dot--warm { background: var(--clay); }
.signal-card__dot--steady { background: var(--forest); }
.signal-card__dot--quiet { background: var(--muted); }

.signal-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.signal-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.section--forest .signal-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.section--forest .signal-card p {
  color: rgba(255, 255, 255, 0.75);
}

/* Zig soft rows */
.zig {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.zig-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.zig-row:nth-child(even) .zig-copy {
  order: 2;
}

.zig-copy {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.zig-copy__n {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--clay);
  margin-bottom: 0.5rem;
}

.zig-copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.zig-copy p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.zig-visual {
  min-height: 160px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--forest-soft), var(--clay-soft));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.mini-lines {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mini-line {
  height: 10px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-line:nth-child(1) { width: 100%; }
.mini-line:nth-child(2) { width: 72%; }
.mini-line:nth-child(3) { width: 88%; }

/* Steps arc */
.arc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.arc-step {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.arc-step__n {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--forest-soft);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.arc-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.arc-step p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Features list */
.feat-soft {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.feat-soft-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.feat-soft-row__id {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--clay);
}

.feat-soft-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.feat-soft-row p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.page-hero {
  padding: 3.25rem 0 2.25rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
}

.page-hero p {
  color: var(--ink-soft);
  margin-top: 0.7rem;
  max-width: 50ch;
}

.cta-soft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2.25rem 2.5rem;
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
}

.cta-soft h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.cta-soft p {
  opacity: 0.85;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-card {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.info-card h3 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.info-card a:hover {
  color: var(--forest);
}

.form-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--forest-soft);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.legal {
  max-width: 700px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.65rem 0 0.5rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal a {
  color: var(--forest);
}

.list {
  list-style: none;
  margin-top: 1rem;
}

.list li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.75rem;
  background: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer__note {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 0.55rem;
  max-width: 28ch;
}

.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.footer__col a:hover {
  color: var(--forest);
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 1.15rem;
}

.reveal {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal--up {
  transform: translateY(22px);
}

.reveal--left {
  transform: translateX(-18px);
}

.reveal--right {
  transform: translateX(18px);
}

.reveal.on {
  opacity: 1;
  transform: none;
}

.cookie-pill {
  position: fixed;
  top: 5.5rem;
  right: 1.15rem;
  z-index: 300;
  width: min(100% - 2rem, 300px);
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  color: var(--ink-soft);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
}

.cookie-pill.show {
  transform: translateX(0);
  opacity: 1;
}

.cookie-pill a {
  color: var(--forest);
  font-weight: 700;
}

.cookie-pill__btns {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .nav,
  .header__end .btn--line {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .nav--mobile {
    display: flex;
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split__copy {
    padding: 2.75rem 1.25rem 2rem;
  }

  .hero-split__visual {
    min-height: 380px;
    order: -1;
  }

  .pulse-caption {
    bottom: 1rem;
  }

  .zig-row,
  .zig-row:nth-child(even) .zig-copy,
  .signal-strip,
  .arc-steps,
  .contact-grid,
  .footer__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .zig-row:nth-child(even) .zig-copy {
    order: 0;
  }
}

@media (max-width: 600px) {
  .arc-steps {
    grid-template-columns: 1fr 1fr;
  }
}
