@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --stone-50: #f4f2ec;
  --stone-100: #e9e7df;
  --stone-200: #d5d1c5;
  --stone-300: #bbb6a8;
  --stone-500: #777468;
  --ink: #232721;
  --forest: #4f6652;
  --forest-dark: #344438;
  --moss: #83957c;
  --sage: #b9c4b0;
  --line: rgba(35, 39, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 6%, rgba(131, 149, 124, .17), transparent 28rem),
    var(--stone-50);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(35,39,33,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,39,33,.03) 1px, transparent 1px);
  background-size: 38px 38px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.site-header,
main,
footer {
  position: relative;
  z-index: 2;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.pebble-mark {
  width: 29px;
  height: 24px;
  display: inline-block;
  background: var(--forest);
  border-radius: 61% 39% 54% 46% / 43% 48% 52% 57%;
  transform: rotate(-8deg);
  box-shadow: inset -5px -5px 0 rgba(0,0,0,.08);
}

.pebble-mark.small {
  width: 20px;
  height: 17px;
}

.status {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--stone-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(131,149,124,.13);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 34px;
}

.hero {
  padding: 112px 0 86px;
  max-width: 910px;
}

.eyebrow,
.card-meta {
  font-family: "DM Mono", monospace;
  color: var(--forest);
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 500;
}

.hero h1 {
  margin: 24px 0 24px;
  max-width: 880px;
  font-size: clamp(54px, 8.2vw, 112px);
  line-height: .93;
  letter-spacing: -.07em;
  font-weight: 600;
}

.hero h1 .soft {
  color: var(--forest);
}

.lede {
  max-width: 680px;
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
  color: var(--stone-500);
  letter-spacing: -.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}

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

.primary {
  color: var(--stone-50);
  background: var(--forest-dark);
}

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

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.32);
}

.stone-field {
  height: 190px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.stone {
  position: absolute;
  background: var(--stone-200);
  box-shadow:
    inset -12px -15px 25px rgba(57,63,52,.08),
    0 13px 30px rgba(57,63,52,.06);
}

.stone-a {
  width: 98px;
  height: 74px;
  left: 4%;
  top: 57px;
  border-radius: 52% 48% 43% 57% / 58% 43% 57% 42%;
  transform: rotate(12deg);
}

.stone-b {
  width: 142px;
  height: 103px;
  left: 24%;
  top: 38px;
  background: var(--sage);
  border-radius: 62% 38% 58% 42% / 43% 56% 44% 57%;
  transform: rotate(-7deg);
}

.stone-c {
  width: 70px;
  height: 68px;
  left: 51%;
  top: 62px;
  background: var(--moss);
  border-radius: 48% 52% 61% 39% / 58% 44% 56% 42%;
  transform: rotate(18deg);
}

.stone-d {
  width: 118px;
  height: 83px;
  right: 23%;
  top: 45px;
  border-radius: 42% 58% 47% 53% / 55% 47% 53% 45%;
  transform: rotate(-14deg);
}

.stone-e {
  width: 82px;
  height: 61px;
  right: 3%;
  top: 65px;
  background: var(--forest);
  border-radius: 57% 43% 48% 52% / 44% 53% 47% 56%;
  transform: rotate(10deg);
}

.products,
.manifesto {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: baseline;
  margin-bottom: 38px;
}

.section-heading span {
  font-family: "DM Mono", monospace;
  color: var(--moss);
  font-size: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.card {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured {
  background: var(--forest-dark);
  color: var(--stone-50);
  box-shadow: 0 26px 60px rgba(52,68,56,.16);
}

.featured .card-meta {
  color: var(--sage);
}

.card h3 {
  font-size: clamp(34px, 4vw, 58px);
  margin: 16px 0 12px;
  letter-spacing: -.055em;
  line-height: 1;
}

.card p {
  max-width: 520px;
  color: inherit;
  opacity: .72;
  line-height: 1.6;
  margin: 0;
}

.muted-card {
  background: rgba(255,255,255,.27);
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  margin-top: 44px;
  border-top: 1px solid currentColor;
  border-color: rgba(255,255,255,.18);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  opacity: .62;
}

.muted-card .card-foot {
  border-color: var(--line);
}

.manifesto {
  border-top: 1px solid var(--line);
}

.manifesto-copy {
  margin-left: 52px;
  max-width: 900px;
}

.manifesto-copy p {
  margin: 0;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 500;
}

.manifesto-copy .muted {
  color: var(--stone-300);
}

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 34px 42px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  color: var(--stone-500);
}

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

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    padding-top: 22px;
  }

  .status {
    display: none;
  }

  .hero {
    padding: 84px 0 64px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 74px);
  }

  .stone-field {
    height: 150px;
  }

  .stone-a { left: -4%; }
  .stone-b { left: 21%; width: 104px; height: 83px; }
  .stone-c { left: 52%; }
  .stone-d { right: -2%; }
  .stone-e { display: none; }

  .products,
  .manifesto {
    padding: 72px 0;
  }

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

  .card {
    min-height: 300px;
    padding: 26px;
    border-radius: 22px;
  }

  .manifesto-copy {
    margin-left: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}
