:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #607069;
  --paper: #fbfaf4;
  --panel: #ffffff;
  --line: #d8ded6;
  --fern: #2f6f4e;
  --fern-dark: #1d4d37;
  --coral: #dd6f56;
  --sky: #8cb9c9;
  --gold: #d8ad4f;
  --lavender: #a993c7;
  --shadow: 0 18px 50px rgb(23 32 28 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(251 250 244 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: var(--fern);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

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

.affiliate-disclosure {
  margin: 0;
  padding: 0.55rem clamp(1rem, 3vw, 2rem);
  background: #ecf3ed;
  color: var(--fern-dark);
  border-top: 1px solid #dbe8df;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(760px, calc(100vh - 7rem));
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1.75rem clamp(1rem, 3vw, 2rem) auto auto;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  background:
    linear-gradient(135deg, rgb(140 185 201 / 28%), transparent 58%),
    radial-gradient(circle at 70% 30%, rgb(216 173 79 / 22%), transparent 42%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3.25rem, 12vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1.05rem;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action {
  background: var(--ink);
  color: #fff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 70%);
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 440px;
}

.room-wall {
  position: absolute;
  inset: 0 0 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 86%) 0 64%, rgb(222 229 221 / 66%) 64%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgb(23 32 28 / 5%) 58px 59px);
  box-shadow: var(--shadow);
}

.shelf,
.cabinet,
.plant,
.basket {
  position: absolute;
  display: block;
}

.shelf {
  left: 11%;
  width: 47%;
  height: 0.65rem;
  border-radius: 999px;
  background: #8a6f5a;
  box-shadow: 0 22px 0 rgb(138 111 90 / 24%);
}

.shelf-one {
  top: 22%;
}

.shelf-two {
  top: 42%;
  width: 38%;
}

.cabinet {
  right: 10%;
  bottom: 9%;
  width: 32%;
  height: 55%;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, transparent 49%, rgb(23 32 28 / 10%) 49% 51%, transparent 51%),
    linear-gradient(180deg, var(--sky), #e8f1f4);
  border: 1px solid rgb(23 32 28 / 12%);
}

.plant {
  left: 16%;
  bottom: 11%;
  width: 4.2rem;
  height: 7rem;
  background:
    radial-gradient(ellipse at 35% 24%, #2f6f4e 0 22%, transparent 23%),
    radial-gradient(ellipse at 63% 20%, #5f966f 0 22%, transparent 23%),
    linear-gradient(90deg, transparent 45%, #35533f 45% 55%, transparent 55%);
}

.basket {
  left: 12%;
  bottom: 8%;
  width: 8.5rem;
  height: 3.75rem;
  border-radius: 7px 7px 12px 12px;
  background:
    repeating-linear-gradient(90deg, rgb(141 104 67 / 22%) 0 9px, transparent 9px 18px),
    #d5a76d;
}

.signal-panel {
  position: absolute;
  right: -0.75rem;
  bottom: 0;
  width: min(82%, 320px);
  padding: 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.signal-panel span {
  display: block;
  margin-bottom: 0.2rem;
  color: #bfd7ca;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-panel strong {
  font-size: 1.15rem;
}

.board-strip,
.finds-section,
.pipeline-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem);
}

.section-heading,
.finds-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.board-grid,
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.board-card,
.pipeline-grid article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgb(23 32 28 / 8%);
}

.board-card {
  min-height: 230px;
  padding: 0.8rem;
}

.board-scene {
  position: relative;
  height: 112px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--scene-bg, #e7efe9);
}

.board-scene::before,
.board-scene::after {
  content: "";
  position: absolute;
  border-radius: 7px;
}

.board-scene::before {
  left: 14%;
  bottom: 16%;
  width: 32%;
  height: 52%;
  background: var(--scene-a, var(--fern));
}

.board-scene::after {
  right: 12%;
  bottom: 16%;
  width: 34%;
  height: 68%;
  background: var(--scene-b, var(--gold));
}

.board-card h3 {
  margin: 0.85rem 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.1;
}

.board-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.filter-tab {
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.is-active {
  border-color: var(--fern);
  background: var(--fern);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  min-height: 420px;
}

.product-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgb(255 255 255 / 65%), transparent 18%),
    linear-gradient(135deg, var(--visual-a), var(--visual-b));
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 18px 35px rgb(23 32 28 / 16%);
}

.product-visual::before {
  left: 14%;
  bottom: 16%;
  width: 44%;
  height: 48%;
}

.product-visual::after {
  right: 14%;
  top: 18%;
  width: 27%;
  height: 58%;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  border-radius: 999px;
  background: #eef3ef;
  color: var(--fern-dark);
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.1;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.price-band {
  color: var(--ink);
  font-weight: 900;
}

.product-link,
.pending-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.product-link {
  background: var(--ink);
  color: #fff;
}

.pending-link {
  border: 1px dashed #b5beb8;
  color: var(--muted);
}

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

.pipeline-grid article {
  min-height: 210px;
  padding: 1.1rem;
}

.step-number {
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
}

.pipeline-grid h3 {
  margin: 0.5rem 0;
  font-size: 1.35rem;
}

.pipeline-grid p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

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

  .section-heading,
  .finds-header {
    align-items: start;
    flex-direction: column;
  }

  .filter-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 2.25rem;
  }

  h1 {
    font-size: clamp(3.15rem, 20vw, 5.4rem);
  }

  .hero-actions a {
    width: 100%;
  }

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

  .product-card {
    grid-template-rows: 155px 1fr;
    min-height: 390px;
  }
}
