:root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1f261e;
  --muted: #5f665a;
  --line: rgba(31, 38, 30, 0.12);
  --paper: #e7d6b7;
  --paper-deep: #d6b683;
  --sage: #7f8d64;
  --sage-deep: #44513d;
  --accent: #c8672f;
  --accent-soft: #f4d7c6;
  --shadow: 0 18px 50px rgba(41, 39, 23, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --shell: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 182, 131, 0.24), transparent 30%),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 100%);
  color: var(--ink);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.shell--nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 241, 0.88);
  border-bottom: 1px solid rgba(31, 38, 30, 0.08);
}

.site-header .shell {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  background:
    linear-gradient(135deg, var(--accent) 0%, #dd935f 38%, var(--paper-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.brand-mark::before {
  inset: 0.68rem 0.72rem auto;
  height: 0.24rem;
}

.brand-mark::after {
  inset: 1.28rem 0.72rem auto;
  height: 0.24rem;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(127, 141, 100, 0.12);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.hero,
.page-hero {
  padding: 4.5rem 0 2rem;
}

.hero-grid,
.page-hero__grid,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.page-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  align-items: start;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-heading h2,
.cta-panel h2,
.sidebar-card h3,
.contact-panel h2,
.visual-card h2,
.category-card h3,
.feature-card h3 {
  font-family: "Fraunces", serif;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 0.95;
  margin: 0.25rem 0 1rem;
  letter-spacing: -0.05em;
}

.hero-text,
.page-hero p,
.section-heading p,
.feature-card p,
.category-card p,
.cta-panel p,
.visual-card h2,
.page-note p,
.form-note,
.sidebar-card li {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 34px rgba(200, 103, 47, 0.25);
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.text-link {
  font-weight: 700;
  color: var(--sage-deep);
}

.hero-stats,
.feature-grid,
.category-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

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

.hero-stats article,
.feature-card,
.category-card,
.page-note,
.sidebar-card,
.contact-panel,
.catalog-toolbar,
.cta-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 38, 30, 0.08);
  box-shadow: var(--shadow);
}

.hero-stats article,
.feature-card,
.category-card,
.page-note,
.sidebar-card {
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

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

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 8% 8%;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(214, 182, 131, 0.36), rgba(127, 141, 100, 0.16)),
    var(--surface);
  border: 1px solid rgba(31, 38, 30, 0.08);
}

.visual-card {
  position: absolute;
  width: min(88%, 340px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 55px rgba(49, 45, 29, 0.18);
  border: 1px solid rgba(31, 38, 30, 0.08);
}

.visual-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.visual-card h2 {
  margin: 0;
  padding: 1rem 1.1rem 0.8rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.visual-card--primary {
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #fff8ef 0%, #f7efe2 100%);
  transform: rotate(-6deg);
}

.visual-card--secondary {
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #f5fbf4 0%, #e8f0e3 100%);
  transform: rotate(7deg);
}

.visual-label,
.category-chip,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.visual-label,
.badge {
  margin: 1rem 1rem 0;
  background: rgba(68, 81, 61, 0.08);
  color: var(--sage-deep);
}

.category-chip {
  background: var(--accent-soft);
  color: #8a431b;
}

.section {
  padding: 1.8rem 0 4rem;
}

.section--tight {
  padding-top: 1rem;
}

.section--tint {
  background: linear-gradient(180deg, rgba(214, 182, 131, 0.11), rgba(214, 182, 131, 0));
}

.section-heading,
.split-heading {
  margin-bottom: 1.5rem;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.split-heading h2,
.cta-panel h2,
.contact-panel h2 {
  margin: 0.2rem 0 0.65rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.section-heading--compact {
  margin-bottom: 1rem;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

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

.feature-card span {
  display: inline-flex;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3,
.category-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

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

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

.product-card {
  background: var(--surface-strong);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(31, 38, 30, 0.08);
  box-shadow: var(--shadow);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(214, 182, 131, 0.18), rgba(255, 255, 255, 0.2)),
    #f3eee5;
  padding: 1rem;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__body {
  padding: 1.15rem;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.product-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 1rem;
}

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

.product-specs div {
  border-radius: 16px;
  background: rgba(127, 141, 100, 0.08);
  padding: 0.75rem 0.8rem;
}

.product-specs dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.product-specs dd {
  margin: 0;
  font-weight: 700;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  border-radius: var(--radius);
  padding: 1rem;
}

.search-field {
  display: grid;
  gap: 0.55rem;
}

.search-field span,
.contact-form span {
  font-size: 0.9rem;
  font-weight: 700;
}

.search-field input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.95rem 1rem;
  color: var(--ink);
}

.search-field input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(200, 103, 47, 0.22);
  border-color: rgba(200, 103, 47, 0.5);
}

.filter-group {
  display: flex;
  gap: 0.65rem;
  align-items: end;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 3.2rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.filter-button.is-active {
  background: var(--sage-deep);
  color: white;
  border-color: transparent;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.2rem;
}

.page-note {
  border-radius: 24px;
}

.page-note strong {
  display: block;
  margin-bottom: 0.4rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: start;
}

.contact-panel,
.cta-panel {
  border-radius: var(--radius);
  padding: 1.4rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.form-span {
  grid-column: 1 / -1;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.plain-list li {
  position: relative;
  padding-left: 1.2rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(200, 103, 47, 0.08), rgba(127, 141, 100, 0.12)),
    rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-top: 1px solid rgba(31, 38, 30, 0.08);
  padding-top: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero__grid,
  .contact-layout,
  .feature-grid,
  .category-grid,
  .product-grid,
  .product-grid--catalog,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .page-hero__grid,
  .contact-layout,
  .feature-grid,
  .category-grid,
  .product-grid,
  .product-grid--catalog,
  .hero-stats,
  .footer-grid,
  .catalog-toolbar,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .catalog-meta,
  .cta-panel {
    flex-direction: column;
    align-items: start;
  }

  .hero,
  .page-hero {
    padding-top: 3rem;
  }

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

  .visual-card {
    width: min(88%, 300px);
  }

  .visual-card--secondary {
    bottom: -0.5rem;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 1.2rem), var(--shell));
  }

  .site-header .shell {
    min-height: 74px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .section-heading h2,
  .split-heading h2,
  .cta-panel h2,
  .contact-panel h2 {
    font-size: 2rem;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions,
  .form-actions,
  .filter-group {
    width: 100%;
  }
}
