:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #667269;
  --paper: #f7faf6;
  --surface: #ffffff;
  --line: #dfe7df;
  --leaf: #1f6a45;
  --leaf-dark: #154a31;
  --mint: #dff1e5;
  --sun: #f4c95d;
  --shadow: 0 18px 45px rgba(31, 67, 47, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  background: var(--leaf);
  color: white;
}

.about-link {
  color: var(--muted);
  font-weight: 600;
  text-underline-offset: 4px;
}

.hero {
  min-height: 440px;
  padding: 82px clamp(24px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 36px;
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 201, 93, 0.82) 0 8%, transparent 8.3%),
    radial-gradient(circle at 77% 76%, rgba(255, 255, 255, 0.45) 0 15%, transparent 15.3%),
    linear-gradient(135deg, #dcefe2 0%, #b9d9c4 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-dark);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: #31453a;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.disclosure {
  margin: 22px 0 0;
  padding: 18px 24px;
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.925rem;
}

.disclosure strong {
  flex: none;
  color: var(--ink);
}

.catalog {
  padding: 104px 0;
}

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

.result-count {
  margin: 0 0 6px;
  color: var(--muted);
}

.filters {
  margin: 36px 0 30px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.filter-button {
  min-height: 44px;
  flex: none;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

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

.filter-button[aria-pressed="true"] {
  border-color: var(--leaf);
  background: var(--leaf);
  color: white;
}

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

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(23, 35, 29, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-visual {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--visual-color, var(--mint));
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-monogram {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px 28px 28px 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--leaf-dark);
  font-family: "Manrope", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(23, 35, 29, 0.08);
}

.product-content {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.product-meta {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 0.875rem;
  font-weight: 700;
}

.product-content h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.product-description {
  margin: 0 0 24px;
  color: var(--muted);
}

.product-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.product-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.product-link:hover,
.product-link:focus-visible {
  background: var(--leaf);
}

.product-link--secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.product-link--secondary:hover,
.product-link--secondary:focus-visible {
  border-color: var(--leaf);
  background: var(--surface);
  color: var(--leaf);
}

.product-link--pending {
  background: #e8ede9;
  color: var(--muted);
  cursor: default;
}

.product-link--pending:hover {
  background: #e8ede9;
}

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

.approach {
  margin-bottom: 100px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 30px;
  background: var(--ink);
  color: white;
}

.approach .eyebrow {
  color: #9fd4af;
}

.approach h2 {
  max-width: 900px;
  margin-bottom: 20px;
}

.approach-intro > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #cbd7d0;
  font-size: 1.08rem;
}

.principles {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.principle-label {
  display: block;
  margin-bottom: 24px;
  color: #9fd4af;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.principle h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.principle p {
  margin: 0;
  color: #b9c8bf;
  font-size: 0.95rem;
}

.site-footer {
  min-height: 150px;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

.site-footer p {
  margin: 4px 0 0;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .about-link {
    display: none;
  }

  .hero {
    min-height: 420px;
    padding: 58px 24px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .disclosure,
  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog {
    padding: 78px 0;
  }

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

  .site-footer {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
