:root {
  --bg: #f5efe6;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fff9f2;
  --surface-dark: #1f1d1a;
  --text: #1f1a17;
  --muted: #62564c;
  --line: rgba(73, 49, 26, 0.12);
  --accent: #be4f28;
  --accent-deep: #8a3217;
  --accent-soft: #efcfba;
  --pods: #d16e37;
  --machines: #2f6d62;
  --accessories: #7b5f2b;
  --shadow: 0 24px 70px rgba(74, 48, 27, 0.11);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(209, 110, 55, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(47, 109, 98, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f2ea 0%, #f3eadf 100%);
  min-height: 100vh;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.info-card,
.category-card,
.page-hero,
.category-sidebar,
.product-card {
  backdrop-filter: blur(18px);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #f1ad6a);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(190, 79, 40, 0.12);
}

.hero,
.page-hero {
  margin-top: 26px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 249, 242, 0.92), rgba(247, 237, 225, 0.72)),
    linear-gradient(120deg, rgba(190, 79, 40, 0.12), rgba(47, 109, 98, 0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.hero h1,
.page-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 18px;
  max-width: 13ch;
}

.hero-text,
.page-hero p,
.info-card p,
.category-card p,
.category-sidebar p,
.product-card p,
.site-footer p,
.stat-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #a93d1a);
  box-shadow: 0 12px 28px rgba(190, 79, 40, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.stat-card,
.feature-strip,
.info-card,
.category-card,
.category-sidebar,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
}

.stat-label,
.product-type {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-family: "Space Grotesk", sans-serif;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
}

.feature-strip div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.feature-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.feature-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.info-grid,
.category-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.info-card {
  padding: 24px;
  border-radius: 24px;
}

.category-section,
.featured-preview {
  margin-top: 42px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border-radius: 28px;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.22;
  background: currentColor;
  filter: blur(2px);
}

.tone-pods {
  color: var(--pods);
}

.tone-machines {
  color: var(--machines);
}

.tone-accessories {
  color: var(--accessories);
}

.category-kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.88;
}

.category-card h3 {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.category-link {
  position: absolute;
  left: 28px;
  bottom: 28px;
  font-weight: 800;
  color: var(--text);
}

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

.category-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.category-sidebar {
  padding: 24px;
  border-radius: 24px;
  align-self: start;
}

.category-sidebar ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
}

.product-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.5rem;
  background: linear-gradient(145deg, rgba(190, 79, 40, 0.16), rgba(241, 173, 106, 0.28));
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-pill {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.site-footer {
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 249, 242, 0.72);
  border: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero,
  .category-layout,
  .info-grid,
  .category-grid,
  .featured-preview .product-grid,
  .category-main .product-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
  }

  .site-header,
  .hero,
  .page-hero,
  .info-card,
  .category-card,
  .category-sidebar,
  .product-card,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }
}
