:root {
  --bg: #f8f4ef;
  --surface: #fffdfa;
  --surface-strong: #ffffff;
  --ink: #101010;
  --ink-soft: #5d5d5d;
  --brand-red: #c61f1f;
  --brand-red-deep: #8f1010;
  --line: rgba(16, 16, 16, 0.12);
  --shadow: 0 24px 60px rgba(16, 16, 16, 0.12);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 31, 31, 0.08), transparent 28%),
    linear-gradient(180deg, #f2ede7 0%, var(--bg) 28%, #f7f2ec 100%);
}

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

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

input,
button,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.site-main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 244, 239, 0.86);
  border-bottom: 1px solid rgba(16, 16, 16, 0.07);
}

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

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

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, #181818, #050505);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
}

.brand__logo-image {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 58px;
}

.brand__meta {
  display: grid;
  gap: 0.1rem;
}

.brand__meta strong,
.section-kicker,
.footer-title,
.product-card__subtitle,
.focus-card__kicker,
.hero-card__eyebrow,
.product-card__eyebrow,
.product-subtitle {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__meta strong {
  font-size: 1rem;
}

.brand__meta small {
  color: var(--ink-soft);
}

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

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-menu a:hover,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button,
.catalog-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-deep));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 35px rgba(198, 31, 31, 0.28);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--small {
  min-height: 46px;
}

.text-link {
  color: var(--brand-red);
  font-weight: 700;
}

.hero,
.page-hero,
.content-section {
  padding: 2.4rem 0;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--brand-red);
  font-size: 0.92rem;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.cta-panel h2,
.content-card h2,
.product-detail__content h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 6vw, 6rem);
  max-width: 13ch;
}

.hero-copy p,
.page-hero p,
.focus-card p,
.feature-band__item p,
.product-card p,
.cta-panel p,
.footer-grid p,
.page-content,
.lead-text {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-actions,
.product-actions,
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.hero-stats li {
  padding: 1.2rem;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.58);
}

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

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

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

.hero-card {
  position: absolute;
  padding: 1.8rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 52%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%);
  pointer-events: none;
}

.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1;
}

.hero-card p,
.hero-card__eyebrow {
  position: relative;
  z-index: 1;
}

.hero-card--large {
  inset: 0 2.4rem 5rem 0;
  background:
    linear-gradient(160deg, rgba(9, 9, 9, 0.95), rgba(34, 34, 34, 0.95)),
    linear-gradient(120deg, rgba(198, 31, 31, 0.4), transparent);
  color: #fff;
}

.hero-card--small {
  right: 0;
  bottom: 0;
  width: min(310px, 86%);
  background:
    linear-gradient(180deg, rgba(198, 31, 31, 0.98), rgba(134, 12, 12, 0.98)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.14), transparent);
  color: #fff;
}

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

.section-heading h2,
.page-hero h1,
.cta-panel h2,
.product-detail__content h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.focus-grid,
.product-grid,
.feature-band__grid,
.footer-grid,
.content-grid {
  display: grid;
  gap: 1.2rem;
}

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

.focus-card {
  position: relative;
  min-height: 280px;
  padding: 2rem;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: var(--shadow);
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.22), transparent 30%);
}

.focus-card > * {
  position: relative;
  z-index: 1;
}

.focus-card--chairs {
  background:
    linear-gradient(135deg, #141414 0%, #2d2d2d 100%),
    linear-gradient(90deg, rgba(198, 31, 31, 0.28), transparent);
  color: #fff;
}

.focus-card--workstations {
  background:
    linear-gradient(135deg, #c61f1f 0%, #881010 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent);
  color: #fff;
}

.feature-band {
  padding: 1.5rem 0 2.5rem;
}

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

.feature-band__item,
.content-card,
.empty-state,
.cta-panel,
.page-content,
.product-detail,
.catalog-toolbar {
  border: 1px solid rgba(16, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.feature-band__item,
.content-card,
.empty-state,
.page-content,
.catalog-toolbar {
  border-radius: 24px;
  padding: 1.5rem;
}

.feature-band__item h3,
.cta-panel h2 {
  margin-top: 0;
}

.content-section--alt {
  background: linear-gradient(180deg, rgba(198, 31, 31, 0.03), transparent);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  display: block;
  min-height: 270px;
  background: linear-gradient(180deg, #fff, #f0ece6);
}

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

.product-card__placeholder,
.product-detail__placeholder {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  height: 100%;
  min-height: inherit;
  padding: 1.6rem;
  background:
    linear-gradient(135deg, rgba(198, 31, 31, 0.16), transparent 40%),
    linear-gradient(180deg, #151515, #2b2b2b);
  color: #fff;
}

.product-card__placeholder::before,
.product-detail__placeholder::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card__placeholder strong,
.product-detail__placeholder strong {
  position: relative;
  z-index: 1;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.product-card__eyebrow,
.product-detail__placeholder span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.product-card__badge,
.chip--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-red);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.45rem;
}

.product-card__subtitle,
.product-subtitle {
  color: var(--brand-red);
  font-size: 0.9rem;
  margin: 0;
}

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

.product-card__specs,
.highlight-panel ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 16, 16, 0.08);
  font-weight: 700;
}

.arrow-link {
  color: var(--brand-red);
}

.page-hero {
  padding-top: 3.2rem;
}

.page-hero--compact {
  padding-bottom: 0.5rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.catalog-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.catalog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
}

.catalog-search input {
  min-height: 54px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.6rem;
  padding: 1.6rem;
  border-radius: 30px;
}

.product-detail__media {
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f2eee9);
}

.product-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__placeholder {
  min-height: 520px;
  padding: 2rem;
}

.product-detail__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.lead-text {
  font-size: 1.05rem;
  margin-top: 1rem;
}

.spec-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.6rem 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.spec-list dt {
  color: var(--ink-soft);
}

.spec-list dd {
  margin: 0;
  font-weight: 600;
}

.highlight-panel {
  margin-top: 1.6rem;
  padding: 1.3rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(198, 31, 31, 0.06), rgba(198, 31, 31, 0.02));
}

.page-content {
  line-height: 1.8;
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content > *:last-child {
  margin-bottom: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(34, 34, 34, 0.96)),
    linear-gradient(120deg, rgba(198, 31, 31, 0.24), transparent);
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 1.6rem;
  border-top: 1px solid rgba(16, 16, 16, 0.08);
}

.footer-title {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--brand-red);
}

.footer-bottom {
  padding-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.pagination-wrap {
  margin-top: 1.4rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.pagination .current {
  background: var(--ink);
  color: #fff;
}

.empty-state {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .feature-band__grid,
  .footer-grid,
  .cta-panel,
  .product-detail,
  .hero-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  body.menu-open .site-nav {
    display: flex;
  }

  .site-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav__cta {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 18vw, 4.7rem);
  }

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

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .content-section {
    padding: 1.7rem 0;
  }

  .hero-card--large {
    inset: 0 0 4.8rem 0;
  }

  .hero-card--small {
    width: 88%;
  }

  .catalog-search {
    grid-template-columns: 1fr;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .product-detail__media,
  .product-detail__placeholder {
    min-height: 340px;
  }
}
