:root {
  --ink: #14201c;
  --ink-soft: #2a3d35;
  --moss: #1f4a3a;
  --willow: #3d6b54;
  --leaf: #7fa88a;
  --mist: #e8efe9;
  --paper: #f7f5f0;
  --rye: #c4a574;
  --rye-deep: #8a6b3d;
  --white: #ffffff;
  --line: rgba(20, 32, 28, 0.12);
  --shadow: 0 24px 60px rgba(20, 32, 28, 0.12);
  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--moss);
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -9999px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ——— Nav ——— */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1.25rem 1.5rem;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus {
  color: var(--white);
  opacity: 0.88;
}

.wordmark span {
  font-weight: 500;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.page-header .wordmark {
  color: var(--ink);
}

.page-header .wordmark:hover,
.page-header .wordmark:focus {
  color: var(--moss);
  opacity: 1;
}

.page-header .wordmark span {
  color: var(--willow);
  opacity: 1;
}

.page-header .nav-links a {
  color: var(--ink-soft);
}

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

.page-header {
  position: relative;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(127, 168, 138, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(196, 165, 116, 0.2), transparent 50%),
    linear-gradient(165deg, #0d1f19 0%, #1a3a2e 45%, #243f34 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual svg {
  position: absolute;
  right: -5%;
  bottom: 8%;
  width: min(58vw, 34rem);
  height: auto;
  opacity: 0.9;
  animation: drift 12s var(--ease) infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(-1.5%, -2%, 0) rotate(1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 7rem 1.5rem 4.5rem;
}

.brand-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero-lead {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero-sub {
  margin: 0 0 2rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

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

.btn-dark {
  background: var(--moss);
  color: var(--white);
}

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

/* ——— Sections ——— */

.section {
  padding: 5.5rem 1.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--willow);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.section-copy {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

.section-muted {
  background: var(--mist);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ——— What we do ——— */

.offer-list {
  display: grid;
  gap: 2.5rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: offer;
}

@media (min-width: 720px) {
  .offer-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.offer-list li {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  counter-increment: offer;
}

.offer-list li::before {
  content: "0" counter(offer);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rye-deep);
}

.offer-list h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.offer-list p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ——— Products ——— */

.product {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.product:first-of-type {
  padding-top: 2.5rem;
}

.product:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 800px) {
  .product {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }

  .product--flip {
    direction: rtl;
  }

  .product--flip > * {
    direction: ltr;
  }
}

.product-art {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.product-art img {
  width: min(58%, 14rem);
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 18px 40px rgba(13, 31, 25, 0.28);
}

.product-art--bins {
  background:
    radial-gradient(circle at 30% 20%, rgba(196, 165, 116, 0.35), transparent 45%),
    linear-gradient(155deg, #1e4637, #356b52);
}

.product-art--misfit {
  background:
    radial-gradient(circle at 70% 30%, rgba(127, 168, 138, 0.4), transparent 40%),
    linear-gradient(155deg, #243528, #1a2a24);
}

.product-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--willow);
}

.product h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.product p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* ——— Contact ——— */

.contact-block {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 36rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--leaf);
}

.contact-email:hover {
  color: var(--moss);
}

/* ——— Page content ——— */

.page-hero {
  padding: 4.5rem 1.5rem 2.5rem;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  max-width: 46rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38rem;
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

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

.prose p,
.prose ul {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* ——— Footer ——— */

.site-footer {
  padding: 3rem 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand span {
  font-weight: 500;
  opacity: 0.7;
}

.site-footer p {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  max-width: 28rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a:nth-child(n + 3) {
    display: none;
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }

  .hero-visual svg {
    width: min(85vw, 22rem);
    right: -12%;
    bottom: 28%;
    opacity: 0.45;
  }
}
