/* Design DNA: Centered minimalism hero with oversized furniture wordmark and subtle wood-grain media below; walnut + warm ivory; refined furniture atelier mood */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,500;0,600;0,700;1,400&family=Karla:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --bm-walnut: #5A3825;
  --bm-walnut-dark: #4A2E1E;
  --bm-ivory: #F7F1E8;
  --bm-brass: #B08D57;
  --bm-brass-dark: #9A7A4A;
  --bm-charcoal: #25211E;
  --bm-charcoal-muted: #5A544C;
  --bm-white: #FDFCF9;
  --bm-border: #E5DDD0;
  --bm-font-display: 'Cormorant', serif;
  --bm-font-body: 'Karla', sans-serif;
  --bm-max: 1180px;
  --bm-radius: 8px;
  --bm-shadow: 0 8px 32px rgba(37, 33, 30, 0.1);
  --bm-transition: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--bm-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bm-charcoal);
  background: var(--bm-white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bm-walnut); text-decoration: none; transition: color var(--bm-transition); }
a:hover { color: var(--bm-brass); }

h1, h2, h3, h4 {
  font-family: var(--bm-font-display);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.bm-container {
  width: min(100% - 2.5rem, var(--bm-max));
  margin-inline: auto;
}

/* Cookie — bottom pill */
.bm-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1.5rem);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: min(640px, calc(100% - 2rem));
  background: var(--bm-charcoal);
  color: rgba(253, 252, 249, 0.85);
  border-radius: 999px;
  padding: 0.85rem 1.25rem 0.85rem 1.5rem;
  font-size: 0.88rem;
  box-shadow: 0 8px 32px rgba(37, 33, 30, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--bm-transition), transform var(--bm-transition), visibility var(--bm-transition);
}

.bm-cookie.bm-cookie--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.bm-cookie p { margin: 0; flex: 1; }

.bm-cookie a { color: var(--bm-brass); text-decoration: underline; }

.bm-cookie__btn {
  background: var(--bm-brass);
  color: var(--bm-charcoal);
  border: none;
  padding: 0.45rem 1.15rem;
  font-family: var(--bm-font-body);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--bm-transition);
  flex-shrink: 0;
}

.bm-cookie__btn:hover { background: var(--bm-brass-dark); }

/* Header — minimal centered */
.bm-header {
  background: var(--bm-ivory);
  border-bottom: 1px solid var(--bm-border);
  padding: 1.25rem 0 0;
  position: sticky;
  top: 0;
  z-index: 900;
}

.bm-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  position: relative;
}

.bm-logo {
  font-family: var(--bm-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bm-charcoal);
  letter-spacing: 0.02em;
}

.bm-logo:hover { color: var(--bm-walnut); }

.bm-logo span { color: var(--bm-walnut); }

.bm-logo__sub {
  display: block;
  font-family: var(--bm-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-charcoal-muted);
  margin-top: 0.15rem;
}

.bm-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: 0.35rem;
}

.bm-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bm-charcoal);
  border-radius: 2px;
}

.bm-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.bm-nav a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bm-charcoal-muted);
  border-radius: 999px;
  transition: background var(--bm-transition), color var(--bm-transition);
}

.bm-nav a:hover,
.bm-nav__active {
  color: var(--bm-walnut);
  background: rgba(90, 56, 37, 0.08);
}

/* Centered minimalism hero */
.bm-hero {
  text-align: center;
  background: var(--bm-ivory);
  padding: 4.5rem 1.25rem 0;
}

.bm-hero__wordmark {
  font-family: var(--bm-font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--bm-walnut);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.bm-hero__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bm-brass);
  margin-bottom: 1.25rem;
}

.bm-hero__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--bm-charcoal);
  max-width: 580px;
  margin: 0 auto 1rem;
  line-height: 1.35;
}

.bm-hero__sub {
  color: var(--bm-charcoal-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.bm-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.bm-hero__media {
  position: relative;
  max-width: var(--bm-max);
  margin: 0 auto;
  overflow: hidden;
}

.bm-hero__media img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.bm-hero__grain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(90, 56, 37, 0.03) 2px,
    rgba(90, 56, 37, 0.03) 4px
  );
  pointer-events: none;
}

.bm-hero__caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37, 33, 30, 0.75);
  color: var(--bm-ivory);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Buttons */
.bm-btn {
  display: inline-block;
  background: var(--bm-walnut);
  color: var(--bm-ivory);
  padding: 0.75rem 1.75rem;
  font-family: var(--bm-font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--bm-walnut);
  border-radius: var(--bm-radius);
  cursor: pointer;
  transition: background var(--bm-transition), color var(--bm-transition), border-color var(--bm-transition);
}

.bm-btn:hover {
  background: var(--bm-walnut-dark);
  border-color: var(--bm-walnut-dark);
  color: var(--bm-ivory);
}

.bm-btn--outline {
  background: transparent;
  color: var(--bm-walnut);
}

.bm-btn--outline:hover {
  background: var(--bm-walnut);
  color: var(--bm-ivory);
}

.bm-btn--brass {
  background: var(--bm-brass);
  border-color: var(--bm-brass);
  color: var(--bm-charcoal);
}

.bm-btn--brass:hover {
  background: var(--bm-brass-dark);
  border-color: var(--bm-brass-dark);
  color: var(--bm-charcoal);
}

/* Sections */
.bm-section {
  padding: 5rem 0;
}

.bm-section--alt {
  background: var(--bm-ivory);
}

.bm-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.bm-section__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-brass);
  margin-bottom: 0.65rem;
}

.bm-section__head h2 { margin-bottom: 0.75rem; }

.bm-section__head p { color: var(--bm-charcoal-muted); }

/* Features */
.bm-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bm-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  background: var(--bm-white);
}

.bm-feature__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.bm-feature h3 { margin-bottom: 0.65rem; color: var(--bm-walnut); }

.bm-feature p { color: var(--bm-charcoal-muted); font-size: 0.95rem; }

/* Product cards */
.bm-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bm-product-card {
  border-radius: var(--bm-radius);
  overflow: hidden;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  transition: box-shadow var(--bm-transition);
}

.bm-product-card:hover { box-shadow: var(--bm-shadow); }

.bm-product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.bm-product-card__body {
  padding: 1.35rem;
}

.bm-product-card__body h3 { margin-bottom: 0.4rem; }

.bm-product-card__body p {
  color: var(--bm-charcoal-muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.bm-product-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bm-brass);
}

.bm-product-card__link:hover { color: var(--bm-walnut); }

/* Stats */
.bm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.bm-stat__num {
  font-family: var(--bm-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--bm-walnut);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.bm-stat__label {
  font-size: 0.88rem;
  color: var(--bm-charcoal-muted);
}

/* Gallery */
.bm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bm-gallery__item {
  position: relative;
  border-radius: var(--bm-radius);
  overflow: hidden;
}

.bm-gallery__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bm-gallery__item:hover img { transform: scale(1.04); }

.bm-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(37, 33, 30, 0.88));
  color: var(--bm-ivory);
}

.bm-gallery__caption h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }

.bm-gallery__caption p { font-size: 0.82rem; opacity: 0.85; margin: 0; }

/* CTA */
.bm-cta {
  position: relative;
  border-radius: var(--bm-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bm-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-cta__overlay {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  background: rgba(37, 33, 30, 0.78);
  color: var(--bm-ivory);
  max-width: 560px;
  border-radius: var(--bm-radius);
  margin: 2rem;
}

.bm-cta__overlay h2 { margin-bottom: 0.75rem; }

.bm-cta__overlay p { opacity: 0.9; margin-bottom: 1.5rem; }

/* About split */
.bm-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bm-about-split img {
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
}

.bm-about-split__text h2 { margin-bottom: 1rem; }

.bm-about-split__text p { color: var(--bm-charcoal-muted); }

.bm-list {
  list-style: none;
  margin: 1.25rem 0;
}

.bm-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  color: var(--bm-charcoal-muted);
}

.bm-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--bm-brass);
  font-size: 0.55rem;
  top: 0.65rem;
}

/* Page hero */
.bm-page-hero {
  background: var(--bm-ivory);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--bm-border);
}

.bm-page-hero h1 { margin-bottom: 0.75rem; }

.bm-page-hero p {
  color: var(--bm-charcoal-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Catalog */
.bm-catalog {
  display: grid;
  gap: 3rem;
}

.bm-catalog__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.bm-catalog__item:nth-child(even) { direction: rtl; }
.bm-catalog__item:nth-child(even) > * { direction: ltr; }

.bm-catalog__item img {
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
}

.bm-catalog__num {
  font-family: var(--bm-font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bm-brass);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bm-catalog__content h2 { margin-bottom: 0.75rem; }

.bm-catalog__content p { color: var(--bm-charcoal-muted); margin-bottom: 1rem; }

.bm-catalog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bm-tag {
  background: rgba(90, 56, 37, 0.1);
  color: var(--bm-walnut);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* Process steps */
.bm-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bm-process__step {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-top: 2px solid var(--bm-brass);
}

.bm-process__num {
  font-family: var(--bm-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bm-walnut);
  margin-bottom: 0.5rem;
}

.bm-process__step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.bm-process__step p { font-size: 0.88rem; color: var(--bm-charcoal-muted); }

/* Contact */
.bm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.bm-contact-info h3 { margin-bottom: 1.5rem; color: var(--bm-charcoal); }

.bm-contact-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bm-border);
  color: var(--bm-charcoal-muted);
  font-size: 0.98rem;
}

.bm-contact-item:last-child { border-bottom: none; }

.bm-contact-item strong {
  display: block;
  color: var(--bm-charcoal);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.bm-contact-form {
  background: var(--bm-ivory);
  padding: 2rem;
  border-radius: var(--bm-radius);
  border: 1px solid var(--bm-border);
}

.bm-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
  color: var(--bm-charcoal);
}

.bm-contact-form input,
.bm-contact-form select,
.bm-contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1.15rem;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  font-family: var(--bm-font-body);
  font-size: 0.95rem;
  background: var(--bm-white);
  color: var(--bm-charcoal);
  transition: border-color var(--bm-transition);
}

.bm-contact-form input:focus,
.bm-contact-form select:focus,
.bm-contact-form textarea:focus {
  outline: none;
  border-color: var(--bm-walnut);
}

.bm-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Legal */
.bm-legal {
  max-width: 760px;
  margin: 0 auto;
}

.bm-legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--bm-charcoal);
}

.bm-legal h2:first-child { margin-top: 0; }

.bm-legal p, .bm-legal li {
  color: var(--bm-charcoal-muted);
  font-size: 0.98rem;
}

.bm-legal ul {
  margin: 0.75rem 0 1rem 1.25rem;
}

.bm-legal li { margin-bottom: 0.4rem; }

/* Footer — 4 columns */
.bm-footer {
  background: var(--bm-charcoal);
  color: rgba(247, 241, 232, 0.75);
  padding: 4rem 0 0;
}

.bm-footer h4 {
  color: var(--bm-ivory);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.bm-footer a { color: rgba(247, 241, 232, 0.75); }
.bm-footer a:hover { color: var(--bm-brass); }

.bm-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.bm-footer__col p { font-size: 0.92rem; line-height: 1.6; }

.bm-footer__col ul { list-style: none; }

.bm-footer__col li { margin-bottom: 0.45rem; font-size: 0.92rem; }

.bm-footer__bottom {
  border-top: 1px solid rgba(247, 241, 232, 0.12);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive — 900px */
@media (max-width: 900px) {
  .bm-features,
  .bm-products,
  .bm-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .bm-stats,
  .bm-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .bm-about-split,
  .bm-catalog__item,
  .bm-contact-grid {
    grid-template-columns: 1fr;
  }

  .bm-catalog__item:nth-child(even) { direction: ltr; }

  .bm-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bm-burger { display: flex; }

  .bm-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    background: var(--bm-ivory);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform var(--bm-transition);
    box-shadow: -4px 0 24px rgba(37, 33, 30, 0.12);
    z-index: 950;
  }

  .bm-nav.bm-nav--open { transform: translateX(0); }

  .bm-nav a { padding: 0.75rem 1rem; }

  .bm-hero__wordmark { font-size: clamp(3.5rem, 12vw, 6rem); }
}

/* Responsive — 560px */
@media (max-width: 560px) {
  .bm-features,
  .bm-products,
  .bm-gallery,
  .bm-stats,
  .bm-process,
  .bm-footer__grid {
    grid-template-columns: 1fr;
  }

  .bm-hero__actions { flex-direction: column; align-items: center; }

  .bm-hero__actions .bm-btn { width: 100%; max-width: 280px; text-align: center; }

  .bm-cookie {
    flex-direction: column;
    border-radius: var(--bm-radius);
    text-align: center;
    padding: 1rem 1.25rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    transform: translateX(0) translateY(1.5rem);
  }

  .bm-cookie.bm-cookie--visible {
    transform: translateX(0) translateY(0);
  }

  .bm-hero { padding-top: 3rem; }

  .bm-hero__caption { font-size: 0.68rem; padding: 0.35rem 0.9rem; }

  .bm-section { padding: 3.5rem 0; }
}
