:root {
  --ink: #171717;
  --muted: #68635d;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e4e0d8;
  --green: #1f7a68;
  --green-dark: #15584b;
  --coral: #d9654b;
  --amber: #efb75d;
  --blue: #4776a9;
  --shadow: 0 18px 55px rgba(23, 23, 23, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(20px, calc((100% - var(--max)) / 2));
  background: rgba(251, 250, 247, 0.93);
  border-bottom: 1px solid rgba(228, 224, 216, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  background: #f4eddb;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  padding: 8px 12px;
  color: #33302c;
  border-radius: 6px;
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #efebe3;
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 46px;
  align-items: center;
  max-width: var(--max);
  min-height: auto;
  margin: 0 auto;
  padding: 44px 20px 34px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 11ch;
  font-size: 4rem;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.05rem;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #47433d;
  font-size: 1.14rem;
}

.hero-actions,
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.button-primary,
.product-link {
  color: #ffffff;
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible,
.product-link:hover,
.product-link:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #f0ece4;
  outline: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 36px 0 0;
  padding: 0;
}

.hero-stats div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 420px;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: #f3f0ea;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo-large {
  grid-row: 1 / span 2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: block;
  padding: 9px 11px;
  color: #ffffff;
  background: rgba(23, 23, 23, 0.64);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 750;
  content: attr(data-label);
}

.hero-photo-accent::before {
  position: absolute;
  inset: 0;
  background: rgba(239, 183, 93, 0.16);
  content: "";
  pointer-events: none;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 20px;
}

.section-tight {
  padding-top: 42px;
}

.section-contrast {
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: #f0eee8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading > p,
.section-heading div > p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
}

.catalog-heading {
  align-items: center;
}

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

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.05);
}

.product-media {
  position: relative;
  display: grid;
  height: 230px;
  place-items: center;
  background: #f6f4ef;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.product-media.is-empty::before {
  color: var(--muted);
  font-size: 0.9rem;
  content: "B2 Studio";
}

.product-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 16px;
}

.category-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  color: var(--green-dark);
  background: #e6f1ed;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-title {
  display: -webkit-box;
  min-height: 3.4em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-description {
  display: -webkit-box;
  min-height: 4.6em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.94rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-link {
  width: 100%;
  margin-top: 4px;
}

.product-link.is-disabled {
  color: #67615a;
  background: #ece8df;
  cursor: not-allowed;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  display: grid;
  gap: 12px;
  min-height: 138px;
  padding: 18px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: rgba(31, 122, 104, 0.55);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.08);
  outline: none;
}

.category-card strong {
  font-size: 1.04rem;
}

.category-card span {
  color: var(--muted);
}

.category-swatch {
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.category-card:nth-child(2n) .category-swatch {
  background: var(--coral);
}

.category-card:nth-child(3n) .category-swatch {
  background: var(--amber);
}

.category-card:nth-child(4n) .category-swatch {
  background: var(--blue);
}

.search-box {
  width: min(100%, 360px);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-box input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 122, 104, 0.14);
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
  padding-bottom: 6px;
  overflow-x: auto;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  color: #37332e;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--green);
  outline: none;
}

.filter-button.is-active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-actions {
  justify-content: center;
}

.catalog-actions[hidden],
.is-hidden {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.about-copy p {
  max-width: 720px;
  color: #4e4943;
}

.about-points {
  display: grid;
  gap: 12px;
}

.about-points div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-points strong {
  font-size: 1rem;
}

.about-points span {
  color: var(--muted);
}

.store-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto 70px;
  padding: 34px;
  color: #ffffff;
  background: #1d1d1b;
  border-radius: var(--radius);
}

.store-cta .eyebrow {
  color: var(--amber);
}

.store-cta p {
  max-width: 650px;
  color: #dedbd3;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px max(20px, calc((100% - var(--max)) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  min-height: 42px;
  padding: 10px 14px;
  background: #f3f0ea;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: #e8e2d8;
  outline: none;
}

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

  .hero-copy {
    max-width: 820px;
  }

  .hero-media {
    height: 380px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
  }

  .hero {
    gap: 30px;
    padding-top: 30px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

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

  .hero-stats div {
    padding: 12px;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
    height: 300px;
  }

  .hero-photo-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section,
  .section-contrast {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-heading,
  .catalog-heading {
    display: grid;
    align-items: start;
  }

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

  .product-media {
    height: 190px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .store-cta {
    display: grid;
    margin-right: 20px;
    margin-left: 20px;
    padding: 26px;
  }

  .site-footer {
    display: grid;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .hero {
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 22px;
  }

  .brand-text span {
    display: none;
  }

  .hero-stats {
    display: none;
  }

  .section-tight {
    padding-top: 32px;
  }

  .hero-media {
    display: block;
    height: 190px;
  }

  .hero-photo {
    height: 210px;
    min-height: 0;
  }

  #heroPhotoSmallOne,
  #heroPhotoSmallTwo {
    display: none;
  }

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

  .product-media {
    height: 250px;
  }

  .button,
  .product-link {
    width: 100%;
  }
}
